Commit graph

6248 commits

Author SHA1 Message Date
Renovate Bot
daba6dc50c Update dependency emoji-picker-element to v1.11.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-27 21:55:41 +02:00
Renovate Bot
2ee02cfb9a Update dependency prettier to v2.6.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-27 20:58:06 +02:00
Renovate Bot
1d90c3e7e5 Update dependency vega to v5.22.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-27 19:40:08 +02:00
Renovate Bot
24dcaf7e9a Update dependency netlify-cli to v9.13.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-27 19:39:14 +02:00
Renovate Bot
e9fe1d47e7 Update dependency abcjs to v6.0.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-27 19:38:50 +02:00
Renovate Bot
2ecad71515 Update dependency @testing-library/jest-dom to v5.16.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-27 19:38:29 +02:00
Renovate Bot
14ea4853b6 Update dependency @fontsource/source-sans-pro to v4.5.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-27 19:38:17 +02:00
Renovate Bot
ddce2481a9 Update definitely typed
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-27 19:37:56 +02: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
Renovate Bot
1d2db38a9b Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-21 15:26:27 +01: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
93d1e5b814 Update dependency katex to v0.15.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-20 22:31:15 +01:00
Tilman Vatteroth
98f40832c6 Regenerate yarn.lock
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-03-20 22:08:44 +01:00
Renovate Bot
fe0b02837c Update linters to v5.15.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-20 22:08:44 +01:00
Renovate Bot
3880129c88 Update dependency sharp to v0.30.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-20 21:06:33 +01:00
Renovate Bot
430ffbfee9 Update dependency netlify-cli to v9.13.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-20 21:02:02 +01:00
Renovate Bot
6283a0cbf9 Update dependency cypress to v9.5.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-20 20:30:20 +01:00
Renovate Bot
52cc654235 Update dependency prettier to v2.6.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-20 20:29:19 +01:00
Renovate Bot
eb23ba2438 Update dependency react-i18next to v11.16.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-20 20:28:47 +01:00
Renovate Bot
1aa405985f Update definitely typed
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-20 20:28:22 +01: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