Commit graph

1794 commits

Author SHA1 Message Date
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
renovate[bot]
e55a57be7e fix(deps): update dependency joi to v17.6.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-24 19:34:27 +00:00
renovate[bot]
3a91a4aba9 chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-24 19:09:36 +02:00
renovate[bot]
3d08ee3fdc chore(deps): update dependency ts-jest to v29.0.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-24 15:35:52 +00:00
renovate[bot]
2f5c2a85a4 chore(deps): update dependency mkdocs-material to v8.5.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-24 12:31:04 +00:00
renovate[bot]
2fb936c6b5 chore(deps): update dependency @types/node to v16.11.60
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-24 06:58:46 +00:00
renovate[bot]
8d2473e6fd chore(deps): update node.js to 831d5ec
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-24 04:00:28 +00:00
Philip Molares
d75095bce4 test: add tests for methods in RealtimeNote
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-09-22 14:15:05 +02:00
Philip Molares
331747f61b feat: add realtime announcements for permission changes and note deletion
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-09-22 14:15:05 +02:00
Philip Molares
c363d0834e refactor: rename realtime-note-store.service.ts to realtime-note-store.ts
This was committed by mistake, the store should not have the extension `.service`

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-09-22 14:15:05 +02:00
Philip Molares
fd949a77b8 feat(permission): use new HD_GUEST_ACCESS config
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-09-18 21:29:35 +02:00
Philip Molares
754e725b7f test(e2e): fix notes service
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-18 21:29:35 +02:00
Philip Molares
5cdc0edfb9 feat(group): add helper functions for special groups
This is syntactic sugar.

Co-Authored-By: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-18 21:29:35 +02:00
Philip Molares
f11f3b0931 test: default permissions on newly created notes
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-18 21:29:35 +02:00
Philip Molares
16c6f6e572 feat: add default permissions to newly created notes
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-18 21:29:35 +02:00
Philip Molares
df976b5fe1 feat(config): add config vars for default permissions for special groups
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-09-18 21:29:35 +02:00
Tilman Vatteroth
7dd093a44f test: Add helper functions for creation of mock config
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-18 21:29:35 +02:00
Tilman Vatteroth
290fea2703 refactor(permissions): Add docs and simplify functions
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-18 21:29:35 +02:00
Philip Molares
bdedf783ec refactor: remove additional copyright text
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-09-18 21:29:35 +02:00
Philip Molares
2ea2459c9b test(unit): fix notes service
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-18 21:29:35 +02:00