Commit graph

1813 commits

Author SHA1 Message Date
renovate[bot]
52300e8156 chore(deps): update dependency @trivago/prettier-plugin-sort-imports to v3.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-15 06:45:14 +00:00
renovate[bot]
ba8b151d4c chore(deps): update node.js to 9908621
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-15 04:49:10 +00:00
renovate[bot]
45522a114d chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-10 04:26:06 +00:00
renovate[bot]
ed67b320e3 fix(deps): update dependency bcrypt to v5.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-09 20:48:29 +02:00
renovate[bot]
c675a1a588 chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-09 20:46:14 +02:00
renovate[bot]
7fe4fba66a chore(deps): update dependency supertest to v6.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-09 20:35:52 +02:00
renovate[bot]
0aacb46398 fix(deps): update nestjs packages to v9.1.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-08 15:26:10 +00:00
renovate[bot]
05376cab5f fix(deps): update dependency sqlite3 to v5.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-08 13:49:45 +00:00
renovate[bot]
a52c129091 fix(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-08 11:10:58 +00:00
renovate[bot]
04f06ea938 chore(deps): update yarn to v3.2.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-08 08:47:43 +00:00
renovate[bot]
15fe950e84 chore(deps): update node.js to f829c27
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-08 06:08:31 +00:00
renovate[bot]
57bc701cc6 chore(deps): update dependency @types/jest to v29.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-08 03:06:21 +00:00
Philip Molares
50ea4b5877 fix(note): permissions of purgeNoteRevisions
This should only be allowed to be done by owners.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-03 22:48:00 +02:00
Philip Molares
9bf85a671d test: note length check works on note creation
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-03 22:47:18 +02:00
Philip Molares
5275f6b876 feat: add note length check on note creation
This check throws a MaximumDocumentLengthExceededError, if the configured maxDocumentLength is exceeded by the new note

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-03 22:47:18 +02:00
Tilman Vatteroth
35032eef09 fix(frontend config): Remove origins from frontend configuration
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-03 19:24:56 +02:00
Philip Molares
9b2cc5ceba ci: add paths command to skip unnecessary GitHub actions
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-03 17:16:21 +02:00
Philip Molares
c4e06cfe28 docs: add local auth
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-03 10:36:46 +02:00
Philip Molares
188f206746 test(e2e): add tests for too weak passwords
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-03 10:36:46 +02:00
Philip Molares
3ba9f95f83 test: fix test and use stronger passwords
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-03 10:36:46 +02:00
Philip Molares
6a56ce5541 feat: check password strength for local login
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-03 10:36:46 +02:00
Philip Molares
d7c58b9de5 feat: add PasswordTooWeak error
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-03 10:36:46 +02:00
Philip Molares
ac5e059243 feat: add minimalPasswordStrength to authConfig
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-03 10:36:46 +02:00
Philip Molares
28176cbcca chore(deps): add zxcvbn-ts dependency
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-03 10:36:46 +02:00
renovate[bot]
bc17a31d94 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-03 04:17:38 +00:00
renovate[bot]
8da3f1f361 chore(deps): update dependency @types/node to v16.11.63
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-03 00:52:12 +00:00
Tilman Vatteroth
01d9168819 fix(docs): correct getting started dev documentation
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-02 21:34:54 +02:00
Philip Molares
5dffe35ea1 docs: add documentation about events
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-02 20:51:23 +02:00
Philip Molares
297469b49e test: verify that event system is used
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-02 20:51:23 +02:00
Philip Molares
7798a77f6d test: import EventEmitterModule
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-02 20:51:23 +02:00
Philip Molares
865c70b942 feat: handle note deletion and permission change via event system
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-02 20:51:23 +02:00
Philip Molares
77615f0878 feat: add EventEmitterModule to AppModule
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-02 20:51:23 +02:00
Philip Molares
35149e8a42 feat: add NoteEvent enum
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-02 20:51:23 +02:00
Philip Molares
b127475a12 chore(deps): add @nestjs/event-emitter
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-02 20:51:23 +02:00
renovate[bot]
846cc0b052 chore(deps): update dependency mkdocs-material to v8.5.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-02 18:31:09 +02:00
renovate[bot]
7ecbbaa920 chore(deps): update dependency mkdocs to v1.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-02 17:54:30 +02:00
renovate[bot]
9c90acbbb7 chore(deps): update dependency pymdown-extensions to v9.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-02 17:54:17 +02:00
renovate[bot]
c0442435d6 chore(deps): update test packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-02 17:53:31 +02:00
renovate[bot]
ff27241621 fix(deps): update dependency rxjs to v7.5.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-02 03:19:53 +00:00
renovate[bot]
4803b96812 fix(deps): update dependency joi to v17.6.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-02 00:14:10 +00:00
renovate[bot]
1bc09936f2 chore(deps): update linters to v5.38.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-01 21:17:12 +00:00
renovate[bot]
4e86484a9d chore(deps): update dependency mkdocs-material to v8.5.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-01 18:34:43 +00:00
renovate[bot]
f1386adba3 chore(deps): update dependency ts-jest to v29.0.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-01 15:51:50 +00:00
renovate[bot]
8c1a69b3ce chore(deps): update dependency @types/node to v16.11.62
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-01 12:23:22 +00:00
renovate[bot]
62992abe42 chore(deps): update dependency @nestjs/cli to v9.1.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-01 09:55:11 +00:00
renovate[bot]
63dac1107a chore(deps): update node.js to 7e68e0a
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-01 06:13:55 +00:00
renovate[bot]
1b3eaf20cc chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-26 03:21:00 +00:00
Philip Molares
1aa7dd618e refactor: delete unused function useUnless
This function was introduced by 0da7d01dec to proxy request to the frontend, but it's not used anymore and can therefore be removed.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-09-25 11:12:10 +02:00
renovate[bot]
122de62b93 fix(deps): update nestjs packages to v9.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-25 11:11:09 +02:00
renovate[bot]
244884526e fix(deps): update dependency ws to v8.9.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-24 23:22:23 +02:00