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
Erik Michelson
488876e949
Add interface for managing aliases ( #1347 )
...
* Add alias management
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Use React components instead of css classes
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Add tests
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Use notifications hook instead of redux methods
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Use test ids
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Use test ids in other place as well
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-09-21 19:44:26 +02:00
Tilman Vatteroth
7d2c71b392
chore(cypress): Update version of the cypress browsers image
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-21 19:01:20 +02:00
renovate[bot]
a60af614bb
Lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-21 18:09:41 +02:00
Tilman Vatteroth
e3093d1e4f
GITHUB!
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-18 21:54:13 +02:00
Tilman Vatteroth
06f159794b
AHH
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-18 21:54:13 +02:00
Tilman Vatteroth
b41c9b762c
Fix environment variable in netlify deployment
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-18 21:54:13 +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
David Mehren
4188b21685
docs: clarify comments for orphanedRowAction
...
Co-authored-by: Yannick Bungers <git@innay.de>
Signed-off-by: David Mehren <git@herrmehren.de>
2022-09-18 20:57:52 +02:00
David Mehren
a626ace4b9
fix(history-entry): remove composite primary keys
...
TypeORM promises to support composite primary keys,
but that does not work in reality.
This replaces the composite key used in the permission entities with
a single generated primary key and
a unique index on the relation columns.
See https://github.com/typeorm/typeorm/issues/8513
Signed-off-by: David Mehren <git@herrmehren.de>
2022-09-18 20:57:52 +02:00
David Mehren
d1c3058655
fix(permissions): remove composite primary keys
...
TypeORM promises to support composite primary keys,
but that does not work in reality.
This replaces the composite key used in the permission entities with
a single generated primary key and
a unique index on the relation columns.
See https://github.com/typeorm/typeorm/issues/8513
Signed-off-by: David Mehren <git@herrmehren.de>
2022-09-18 20:57:52 +02:00
David Mehren
2689f9f3dc
refactor(media-upload): explicitly use public note ID
...
Signed-off-by: David Mehren <git@herrmehren.de>
2022-09-18 20:42:26 +02:00
David Mehren
2c1e0517ff
refactor: use integer primary keys
...
Closes #1292
Signed-off-by: David Mehren <git@herrmehren.de>
2022-09-18 20:42:26 +02:00
Tilman Vatteroth
877a8c6976
Fix main deployment
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-18 20:25:28 +02:00
Yannick Bungers
499f632d8d
Split methods getAuthTokenAndValidate
and createTokenForUser
...
Signed-off-by: Yannick Bungers <git@innay.de>
2022-09-18 20:11:51 +02:00
renovate[bot]
c835339633
chore(deps): update dependency mkdocs-material to v8.5.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-18 19:14:21 +02:00
renovate[bot]
a3d2c9106e
fix(deps): update dependency sqlite3 to v5.1.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-18 19:06:40 +02:00
renovate[bot]
65d167ccfc
chore(deps): update linters to v5.37.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-18 19:06:13 +02:00
renovate[bot]
7f99f07b7c
Update dependency netlify-cli to v11.8.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-18 16:44:56 +02:00
Tilman Vatteroth
6e1a667d20
Fix yarn.lock by adding a resolution
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-18 16:28:01 +02:00
renovate[bot]
9713afdb7a
Update CodeMirror
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-18 16:28:01 +02:00
renovate[bot]
821e196e9b
Update linters
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-18 14:30:31 +02:00
renovate[bot]
009d057666
Update dependency @testing-library/dom to v8.18.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-18 14:27:27 +02:00
renovate[bot]
3e80c84255
Update dependency cypress to v10.8.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-18 12:13:18 +02:00
renovate[bot]
cef51258f0
Update dependency markdown-it-anchor to v8.6.5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-18 12:11:53 +02:00
renovate[bot]
b9f73c9015
Update dependency mermaid to v9.1.7
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-18 11:50:49 +02:00
renovate[bot]
6bca090fce
Update dependency @types/mermaid to v9
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-18 11:45:44 +02:00
renovate[bot]
e73849cba2
Update dependency csstype to v3.1.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-18 11:41:28 +02:00
renovate[bot]
84ced7d93b
Update definitely typed
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-18 11:40:58 +02:00
renovate[bot]
66956e94e9
chore(deps): update test packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-17 21:23:29 +00:00
renovate[bot]
be7072f580
chore(deps): update dependency mkdocs-material to v8.4.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-17 18:17:37 +00:00
renovate[bot]
b58f5af0bb
chore(deps): update dependency eslint to v8.23.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-17 15:11:07 +00:00
renovate[bot]
916728adce
chore(deps): update dependency @nestjs/cli to v9.1.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-17 12:21:24 +00:00
renovate[bot]
ee2541883b
chore(deps): update definitelytyped
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-17 09:23:46 +00:00
renovate[bot]
4716afe282
chore(deps): update node.js to cf40424
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-17 05:40:45 +00:00
Tilman Vatteroth
39a4125cb0
Refactor handling of environment variables ( #2303 )
...
* Refactor environment variables
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-16 09:03:29 +00:00