Commit graph

1872 commits

Author SHA1 Message Date
renovate[bot]
c334724e1a chore(deps): update node.js to 828424b
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 05:43:22 +00:00
renovate[bot]
b75f80accc chore(deps): update test packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-19 23:15:46 +02:00
renovate[bot]
df00bd7767 chore(deps): update linters to v5.40.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-19 15:54:34 +02:00
renovate[bot]
f960fc8c64 chore(deps): update dependency @types/node to v16.11.66
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-16 01:42:40 +00:00
renovate[bot]
9b64bdf034 chore(deps): update dependency mkdocs to v1.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-15 23:53:55 +00:00
renovate[bot]
8ae3320ff9 chore(deps): update node.js to 38f184d
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-15 18:25:48 +00:00
renovate[bot]
94b6d9efcb fix(deps): update dependency joi to v17.6.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-15 13:37:04 +00:00
renovate[bot]
35014f2c7a chore(deps): update dependency eslint-plugin-jest to v27.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-15 11:57:21 +00:00
renovate[bot]
931c866725 chore(deps): update dependency @types/node to v16.11.65
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-15 09:18:32 +00:00
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