Commit graph

1880 commits

Author SHA1 Message Date
TAKAHASHI Tamotsu
2db114fbff Throw error when noteId is empty
Signed-off-by: Tamotsu Takahashi <ttakah+github@gmail.com>
2022-10-22 12:23:48 +02:00
TAKAHASHI Tamotsu
5704ad9c3b Fails if note id is empty
Signed-off-by: Tamotsu Takahashi <ttakah+github@gmail.com>
2022-10-22 12:23:48 +02:00
renovate[bot]
be04b2d005 chore(deps): update dependency eslint to v8.26.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 12:15:21 +02:00
renovate[bot]
09d0d5f4eb fix(deps): update dependency @azure/storage-blob to v12.12.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 12:15:04 +02:00
renovate[bot]
73df3a3050 chore(deps): update dependency @trivago/prettier-plugin-sort-imports to v3.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 12:14:44 +02:00
renovate[bot]
ec9797d154 chore(deps): update dependency mkdocs-material to v8.5.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 12:14:32 +02:00
renovate[bot]
91260fc559 chore(deps): update dependency eslint-plugin-jest to v27.1.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 08:25:05 +00:00
renovate[bot]
41979c3ab0 chore(deps): update dependency @types/node to v16.11.68
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 05:56:39 +00:00
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