Skip to content

Commit

Permalink
Merge branch '4.3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclofabbro committed Jun 14, 2024
2 parents c762eac + d00311d commit 98699d0
Show file tree
Hide file tree
Showing 241 changed files with 7,934 additions and 7,706 deletions.
5 changes: 4 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
package.json
package-lock.json
package-lock.json
*/**/package.json
*/**/package-lock.json
*/**/*.typegen.*
4 changes: 2 additions & 2 deletions .eslintrc-base
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
}
],
"@typescript-eslint/no-extra-semi": ["off"],
"no-unexpected-multiline": ["off"]
"no-unexpected-multiline": ["off"],
"@typescript-eslint/no-explicit-any": "warn"

/*
"prettier/prettier": ["error"],
Expand All @@ -114,6 +115,5 @@
"import/prefer-default-export": ["off"],

"no-unused-vars": "error", */
// "@typescript-eslint/no-explicit-any": "warn"
}
}
4 changes: 2 additions & 2 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"**/*.+(js|mjs|jsx|ts|mts|tsx|json)": [
"prettier --check --write --ignore-unknown --ignore-path .gitignore",
"eslint --config .eslintrc-base --ignore-path .gitignore"
"prettier --check --write --ignore-unknown",
"eslint --config .eslintrc-base"
]
}
33 changes: 29 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,39 @@

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

-Report users
## [4.3.0]

### Added

- Report users
- Users can now report other users specifying a reason
- Admins can manage reported users, check details and take actions in place
- Introduced react-email: to compose emails as react components
- Inactive web-user management options :
- Email notification after a configured time of inactivity
- Account deletion after a configured time of inactivity
- Optional new `@moodlenet/web-user-auto-publisher` package:
- Engages non-publisher users to create and finalize `n` resources to automatically gain publishing permissions

### Fixed

- User card published resources count
- Various issues related to account deletion cascade relations

- Users can now report other users specifying a reason
- Admins can manage reported users, check details and take actions in place
### Improvements

- Webapp authentication token refresh on page load
- Various UI improvements
- On dev environment configs
- `@moodlenet/openai-autofill`:
- added generation of cc-license and creation-date metadata
- upgrade to model `gpt-4o`

## [4.2.1]

Expand Down
4 changes: 2 additions & 2 deletions bin/install.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async function defaultConfigJson() {
pkgs: {
'@moodlenet/core': {
baseFsFolder: resolve(mnDevDir, 'fs'),
instanceDomain: 'http://localhost:8080',
instanceDomain: 'http://localhost:3000',
npmRegistry,
mainLogger: {
consoleLevel: 'debug',
Expand Down Expand Up @@ -112,7 +112,7 @@ async function defaultConfigJson() {
},
'@moodlenet/react-app': {
noWebappServer: true,
noWebappBuilder: true,
noWebappBuilder: false,
defaultImageUploadMaxSize: '5MB',
},
},
Expand Down
Loading

0 comments on commit 98699d0

Please sign in to comment.