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
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
Renovate Bot
264013430e
chore(deps): update dependency http-proxy-middleware to v2.0.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-13 18:33:25 +00:00
renovate[bot]
744bcba714
Update dependency eslint-plugin-testing-library to v5.1.0 ( #1912 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-13 16:55:50 +01:00
Renovate Bot
6265ae24c4
Update dependency emoji-picker-element to v1.11.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-12 20:27:59 +01:00
Renovate Bot
cba7988e2c
Update dependency ts-node to v10.7.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-12 15:31:28 +01:00
Renovate Bot
1c7ae45c36
Update dependency netlify-cli to v9.13.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-12 15:28:51 +01:00
Renovate Bot
830eaf62dc
Update i18next
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-12 15:26:27 +01:00
Renovate Bot
91212db4e0
Update dependency @testing-library/react to v12.1.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-12 15:23:47 +01:00
Renovate Bot
075f9d60fb
Update dependency @types/react to v17.0.40
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-12 14:31:39 +01:00
renovate[bot]
6461499229
Update linters ( #1910 )
...
* Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
* Regenerate yarn.lock
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-03-12 13:00:20 +00:00
Renovate Bot
1cd84604ca
Update dependency @fontsource/source-sans-pro to v4.5.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-12 13:28:14 +01:00
Renovate Bot
e8267431a1
Update dependency ts-loader to v9.2.8
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-12 13:28:00 +01:00
Renovate Bot
e2863f7ef7
Update dependency highlight.js to v11.5.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-12 13:27:40 +01:00
Renovate Bot
07c1fdd579
Update dependency vega to v5.22.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-12 13:27:09 +01:00