Philip Molares
2467b1250f
feat: add sanitization to logger service
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-04-14 16:19:48 +02:00
Renovate Bot
f1f1d8cc94
chore(deps): update codecov/codecov-action action to v3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-10 10:06:01 +02:00
Renovate Bot
c879132ab4
chore(deps): update linters
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-10 10:05:44 +02:00
Renovate Bot
25386d5d96
fix(deps): update dependency minio to v7.0.27
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-10 00:00:38 +00:00
Renovate Bot
655f1b0904
chore(deps): update nestjs packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-09 16:27:04 +00:00
Renovate Bot
788514572a
chore(deps): update dependency mkdocs-material to v8.2.9
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-09 13:33:24 +00:00
Renovate Bot
e69e49950a
chore(deps): update dependency eslint-plugin-jest to v26.1.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-09 11:24:48 +00:00
Renovate Bot
8c6656f72b
chore(deps): update node.js to 57106b8
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-09 05:33:07 +00:00
Renovate Bot
6325808b27
chore(deps): update linters to v5.17.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-03 18:10:01 +02:00
Renovate Bot
58bd837dc4
fix(deps): update dependency @nestjs/schedule to v1.1.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-03 18:09:44 +02:00
David Mehren
7d9f795592
ci: hard-code image name in docker cleanup workflow
...
The variable seems to be empty for some reason
Signed-off-by: David Mehren <git@herrmehren.de>
2022-04-03 18:06:07 +02:00
Renovate Bot
8ed6e4ec3a
chore(deps): update dependency prettier to v2.6.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-02 22:39:31 +00:00
Renovate Bot
110ffcba1c
fix(deps): update dependency cli-color to v2.0.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-02 13:14:22 +00:00
Renovate Bot
b3f4167011
chore(deps): update dependency @nestjs/schematics to v8.0.9
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-02 10:14:11 +00:00
Renovate Bot
d50a5990b1
chore(deps): update node.js to 787f03b
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-02 04:56:36 +00:00
Renovate Bot
62d72d2c08
chore(deps): lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-28 04:14:52 +00:00
Renovate Bot
ce14c4a135
chore(deps): update dependency mkdocs-material to v8.2.8
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-27 17:06:56 +00:00
Renovate Bot
60347d7a5b
chore(deps): update linters
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 22:57:56 +01:00
Renovate Bot
007c75a029
chore(deps): update nestjs packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 22:44:13 +01:00
Renovate Bot
02db188376
chore(deps): update dependency mkdocs to v1.3.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 22:43:52 +01:00
Renovate Bot
d0f5753030
chore(deps): update test packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 22:43:04 +01:00
Renovate Bot
e519c5dfb1
chore(deps): update dependency typescript to v4.6.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 21:22:51 +01:00
Renovate Bot
69027e9483
chore(deps): update dependency tsconfig-paths to v3.14.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 20:14:31 +00:00
Renovate Bot
ec0acafff0
chore(deps): update dependency prettier to v2.6.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 18:04:16 +00:00
Renovate Bot
20058d5b5c
chore(deps): update dependency mkdocs-material to v8.2.7
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 11:58:00 +00:00
Renovate Bot
e76d8be25d
chore(deps): update dependency eslint-plugin-jest to v26.1.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 08:50:38 +00:00
Renovate Bot
0d19dc15cf
chore(deps): update node.js to e4a152d
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 04:36:52 +00:00
David Mehren
05b8987747
ci: add docker image cleanup workflow
...
This adds a daily CI workflow to delete old tags from the
'hedgedoc-ci' image.
Signed-off-by: David Mehren <git@herrmehren.de>
2022-03-21 14:57:27 +01:00
David Mehren
5078b863c6
ci: build and test docker image
...
This adds a new workflow performing these steps:
- A development docker image is built and pushed to GHCR as
'hedgedoc-ci' labeled with the commit hash
- Tests are run with the image
- If the tests are successful, a production image is built and
pushed to GHCR as 'hedgedoc' labeled with the branch, version tag
if available and the commit hash
At a later time, the built dev image can also be used to run E2E tests
with the other supported databases. Currently, this is not yet possible,
as the database is always expected to run on localhost, not other hosts.
Signed-off-by: David Mehren <git@herrmehren.de>
2022-03-21 14:57:27 +01:00
Renovate Bot
f02f006359
chore(deps): lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-21 05:49:13 +00:00
Renovate Bot
31b478bda9
chore(deps): update dependency pymdown-extensions to v9.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-20 19:55:19 +01:00
Renovate Bot
713285c1c3
chore(deps): update linters to v5.15.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-20 19:54:47 +01:00
Renovate Bot
d31fd48538
fix(deps): update dependency @nestjs/config to v2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-20 19:54:23 +01:00
Renovate Bot
93a6323bb7
chore(deps): update dependency eslint-plugin-jest to v26.1.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-20 03:25:35 +00:00
Renovate Bot
119a7ee3e0
chore(deps): update node.js to 1ef397a
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-19 09:55:33 +00:00
Renovate Bot
841c978915
chore(deps): update nestjs packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-18 20:10:56 +00:00
Renovate Bot
8479fafca1
chore(deps): update dependency prettier to v2.6.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-18 18:25:30 +01:00
Renovate Bot
a779492867
chore(deps): update dependency tsconfig-paths to v3.14.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-14 09:44:58 +01:00
Renovate Bot
620f51eaa4
fix(deps): update dependency @azure/storage-blob to v12.9.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-14 09:44:50 +01:00
Renovate Bot
8fa7e9cf57
chore(deps): lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-14 04:26:48 +00:00
Yannick Bungers
2650a986a9
Fix e2e test for moved permission functions
...
Signed-off-by: Yannick Bungers <git@innay.de>
2022-03-13 21:33:02 +01:00
Yannick Bungers
a1fd52d8ab
fix param description of updateNotePermissions
...
Signed-off-by: Yannick Bungers <git@innay.de>
2022-03-13 21:33:02 +01:00
Yannick Bungers
f096d706c8
optimize readability of find calls
...
Signed-off-by: Yannick Bungers <git@innay.de>
2022-03-13 21:33:02 +01:00
Yannick Bungers
70d7ca5475
Move permission update functions to permissions controller
...
Signed-off-by: Yannick Bungers <git@innay.de>
2022-03-13 21:33:02 +01:00
Yannick Bungers
e1e3138561
Add permissions service to test-setup
...
Signed-off-by: Yannick Bungers <git@innay.de>
2022-03-13 21:33:02 +01:00
Yannick Bungers
4dd2762be2
Add unit tests for new notes service methods
...
setUserPermission
removeUserPermission
setGroupPermission
removeGroupPermission
changeOwner
Signed-off-by: Yannick Bungers <git@innay.de>
2022-03-13 21:33:02 +01:00
Yannick Bungers
0a3271e4a5
Add GroupsModule import to public API module
...
Signed-off-by: Yannick Bungers <git@innay.de>
2022-03-13 21:33:02 +01:00
Yannick Bungers
647990022b
Add API routes for fine-grained permission manipulation
...
Signed-off-by: Yannick Bungers <git@innay.de>
fix lint
Signed-off-by: Yannick Bungers <git@innay.de>
2022-03-13 21:33:02 +01:00
Yannick Bungers
20ebb41197
Add service functions for fine-grained permission API calls
...
Signed-off-by: Yannick Bungers <git@innay.de>
2022-03-13 21:33:02 +01:00
David Mehren
3e096e9cbe
fix(note-user-permission): ensure whole row gets deleted
...
By default, TypeORM wants to NULL the child-side of a
many-to-one relation, when the relation gets deleted.
This is not possible when the column is not nullable,
so the whole row needs to get deleted.
Signed-off-by: David Mehren <git@herrmehren.de>
2022-03-13 21:33:02 +01:00