renovate[bot]
c8e1a99ad1
chore(deps): update dependency eslint-config-prettier to v9
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-06 13:40:55 +02:00
renovate[bot]
db1b3e076a
chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.3
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-06 10:20:00 +00:00
renovate[bot]
ad14c57588
chore(deps): update dependency @types/node to v20.4.8
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-05 16:11:32 +00:00
renovate[bot]
4c0e8fe669
chore(deps): update dependency eslint-config-prettier to v8.10.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-05 17:54:01 +02:00
renovate[bot]
98c41a4e52
fix(deps): update dependency @nestjs/schedule to v3.0.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-04 07:46:19 +00:00
renovate[bot]
68e1b75057
chore(deps): update dependency @types/node to v20.4.7
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-04 02:21:54 +00:00
renovate[bot]
d87612fd0c
chore(deps): update definitelytyped
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 19:55:56 +00:00
renovate[bot]
0c3b6db65a
fix(deps): update dependency pg to v8.11.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 19:54:54 +00:00
renovate[bot]
5024bb91c8
fix(deps): update dependency @nestjs/swagger to v7.1.6
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-01 15:02:24 +00:00
renovate[bot]
2ff3cd2b14
chore(deps): update typescript-eslint monorepo to v6.2.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-31 21:17:13 +02:00
renovate[bot]
218c559d9d
chore(deps): update nestjs packages
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-31 11:42:03 +00:00
renovate[bot]
b115e1e871
chore(deps): update dependency @tsconfig/node18 to v18
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 15:25:27 +02:00
renovate[bot]
3a1da59c16
fix(deps): update dependency @mrdrogdrog/optional to v1.2.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 11:51:05 +02:00
renovate[bot]
65887f4092
fix(deps): update nestjs packages
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 09:52:14 +02:00
renovate[bot]
b016f7127d
chore(deps): update linters
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-29 09:35:29 +02:00
renovate[bot]
6327f7fa16
chore(deps): update test packages to v29.6.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 10:56:59 +00:00
renovate[bot]
15eaadcf18
chore(deps): update dependency @types/node to v20.4.5
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-25 23:11:51 +00:00
renovate[bot]
81691df454
fix(deps): update nestjs packages to v10.1.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-25 09:30:35 +00:00
renovate[bot]
117d42b543
chore(deps): update typescript-eslint monorepo to v6.2.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-24 20:39:36 +02:00
renovate[bot]
354a51fd72
fix(deps): update nestjs packages to v10.1.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-24 10:44:06 +00:00
renovate[bot]
519e7130c2
chore(deps): update dependency @types/node to v20.4.4
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-24 04:06:19 +00:00
renovate[bot]
97e85614a7
chore(deps): update dependency @trivago/prettier-plugin-sort-imports to v4.2.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-22 11:56:48 +02:00
Philip Molares
d185e2e694
refactor: rename HD_AUTH_LDAPS to HD_AUTH_LDAP_SERVERS
...
This was done as LDAPS us both the plural of LDAP and the common abbreviation for secure LDAP connections.
Fixes #4460
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-07-22 11:37:17 +02:00
renovate[bot]
b38a05ca78
chore(deps): update node.js to 49f1c20
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-22 01:09:23 +00:00
renovate[bot]
6c68a87399
chore(deps): update dependency @types/node to v20.4.3
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-22 01:07:45 +00:00
renovate[bot]
a7d7e7f2cb
chore(deps): update node.js to ab25f1a
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-21 22:02:45 +00:00
renovate[bot]
95309ee0f6
chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-20 17:50:42 +00:00
renovate[bot]
ca6de47552
fix(deps): update dependency @nestjs/swagger to v7.1.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-20 11:49:53 +00:00
renovate[bot]
4a1b1b8396
chore(deps): update dependency @nestjs/cli to v10.1.10
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-19 14:49:27 +00:00
Tilman Vatteroth
34bf8f16b1
fix: format code
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-07-19 12:36:32 +02:00
renovate[bot]
d75d406e67
chore(deps): update typescript-eslint monorepo to v6
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-19 12:36:32 +02:00
renovate[bot]
ea2cac3f9f
chore(deps): update dependency yjs to v13.6.7
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-19 10:25:34 +00:00
renovate[bot]
8d30bc5d24
fix(deps): update nestjs packages to v10.1.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-18 23:33:46 +02:00
renovate[bot]
9a478cabaf
fix(deps): update dependency @zxcvbn-ts/core to v3.0.3
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 16:44:12 +00:00
renovate[bot]
cd81cd90be
chore(deps): update dependency @nestjs/cli to v10.1.9
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 09:01:20 +00:00
Tilman Vatteroth
4d70ccafbc
fix: code formatting
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-07-16 10:51:51 +02:00
renovate[bot]
b42a6629ec
chore(deps): update linters
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-16 10:51:51 +02:00
renovate[bot]
7d7c93d554
chore(deps): update dependency eslint to v8.45.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-16 10:41:43 +02:00
renovate[bot]
3a00332373
chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-16 08:22:47 +00:00
renovate[bot]
47c01e9149
chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-16 10:13:37 +02:00
renovate[bot]
2110a34909
fix(deps): update dependency @azure/storage-blob to v12.15.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-14 20:07:21 +02:00
renovate[bot]
a0b9f72636
chore(deps): update dependency eslint-plugin-jest to v27.2.3
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 17:50:26 +00:00
renovate[bot]
7c358c149e
chore(deps): update dependency @types/node to v20.4.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 23:33:03 +00:00
renovate[bot]
663ae970e5
chore(deps): update dependency @nestjs/cli to v10.1.8
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 09:25:32 +00:00
renovate[bot]
a970e565dc
chore(deps): update node.js to 1c411f8
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 00:59:51 +00:00
renovate[bot]
154a2079c4
chore(deps): update node.js to 79be5e5
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-10 23:00:26 +00:00
renovate[bot]
b6ef68d081
chore(deps): update typescript-eslint monorepo to v5.62.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-10 20:49:06 +02:00
renovate[bot]
017afc1f52
chore(deps): update dependency @types/jest to v29.5.3
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-10 18:18:32 +00:00
David Mehren
a5d8c9cc33
refactor(backend): fix nestjs-typed linting errors
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-07-09 21:12:56 +02:00
David Mehren
8daffbb11b
build(backend): add nestjs-typed eslint plugin
...
Signed-off-by: David Mehren <git@herrmehren.de>
2023-07-09 21:12:56 +02:00
renovate[bot]
526e9b5f94
chore(deps): update dependency @types/node to v20.4.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-08 05:00:29 +00:00
renovate[bot]
34360be0dd
chore(deps): update dependency @types/node to v20.4.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-07 10:48:06 +02:00
renovate[bot]
8db1105522
chore(deps): update test packages to v29.6.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-06 18:07:12 +02:00
Yannick Bungers
f362d27d3f
Move session entity to sessions folder
...
Signed-off-by: Yannick Bungers <git@innay.de>
2023-07-06 12:07:44 +02:00
Tilman Vatteroth
eeef0ea025
test: add mocked message transporter
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-07-06 12:07:03 +02:00
Tilman Vatteroth
25ee20c15d
refactor: rename ready function to match its intent
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-07-06 12:07:03 +02:00
renovate[bot]
ddb43c8691
chore(deps): update dependency @nestjs/cli to v10.1.7
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-05 14:06:08 +02:00
renovate[bot]
bd06c2e3cb
chore(deps): update test packages to v29.6.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 21:00:35 +02:00
renovate[bot]
45b96a2e24
chore(deps): update typescript-eslint monorepo to v5.61.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 20:36:25 +02:00
renovate[bot]
7dce3f2ccb
fix(deps): update dependency @nestjs/swagger to v7.1.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 20:35:55 +02:00
renovate[bot]
6ef55b66a5
chore(deps): update dependency @nestjs/cli to v10.1.4
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 16:34:47 +00:00
renovate[bot]
dcf6e9053f
chore(deps): update dependency @nestjs/cli to v10.1.3
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 09:02:48 +00:00
renovate[bot]
178e054938
chore(deps): update nestjs packages
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-03 09:26:39 +00:00
renovate[bot]
1d3a4df622
chore(deps): update dependency @nestjs/cli to v10.1.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-01 22:14:06 +02:00
renovate[bot]
14c42fc09e
chore(deps): update yarn to v3.6.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-01 22:13:54 +02:00
renovate[bot]
b20e29b4d7
chore(deps): update dependency eslint to v8.44.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-01 22:11:35 +02:00
renovate[bot]
5aeee5e118
chore(deps): update dependency @types/node to v20.3.3
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-01 06:59:39 +00:00
renovate[bot]
2276b4205d
chore(deps): update dependency ts-jest to v29.1.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-30 10:51:59 +00:00
renovate[bot]
1c4b253811
fix(deps): update dependency node-fetch to v2.6.12
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-29 22:32:33 +00:00
renovate[bot]
b25634eda2
fix(deps): update nestjs packages
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-29 19:20:12 +00:00
renovate[bot]
00692d8760
chore(deps): update dependency typescript to v5.1.6
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-29 01:13:48 +00:00
Tilman Vatteroth
f4a1999a8b
fix(communication): send ready event when both sides are ready
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-28 21:50:48 +02:00
renovate[bot]
e6b9afc686
fix(deps): update dependency @nestjs/swagger to v7.0.11
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 20:04:29 +02:00
renovate[bot]
e8c959268a
chore(deps): update dependency typescript to v5.1.5
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 04:37:04 +00:00
renovate[bot]
905bcd0e9d
fix(deps): update dependency @nestjs/swagger to v7.0.10
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 15:40:16 +02:00
Tilman Vatteroth
bb54746ccf
fix(backend): prevent realtime connections getting prepared for closed websocket
...
The setAdapter function checks if the websocket is closed.
If this is the case then an error is thrown and the whole process will be canceled. If the adapter isn't set before the realtime connection object is prepared then the connection will subscribe to all the events and THEN the process will be canceled. Because the MessageTransporter has no adapter (and won't get one), the connection will never get a disconnect event and clean up.
This causes the flood of "cant send message over closed websocket" messages.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-27 15:19:49 +02:00
renovate[bot]
f15aed3ed3
fix(deps): update dependency @nestjs/swagger to v7.0.8
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 11:47:46 +02:00
renovate[bot]
dcb79b91cd
fix(deps): update dependency @nestjs/swagger to v7.0.7
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 11:33:15 +02:00
renovate[bot]
b14e711fac
chore(deps): update typescript-eslint monorepo to v5.60.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 22:16:42 +00:00
renovate[bot]
28f04f461c
chore(deps): update dependency @types/node to v20.3.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 21:43:45 +00:00
renovate[bot]
85ba675507
fix(deps): update dependency pg to v8.11.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 19:26:13 +00:00
renovate[bot]
25fb9344af
chore(deps): update nestjs packages
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 16:19:08 +00:00
renovate[bot]
9b1fbea77e
chore(deps): update dependency yjs to v13.6.6
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-25 23:10:44 +02:00
David Mehren
4d50f2ec33
fix(backend): immediately use our custom logger
...
While the DI and database initialization is running, NestJSs default logger is normally used. Our custom logger was only being initialized after DI setup is complete.
Errors encountered during DI setup were buffered and only printed after DI init was complete, or the app exited on error.
This led to the app not printing anything for a minute in certain cases.
This commit replaces the initial logger with our ConsoleLoggerService that logs everything.
After DI init is complete, that logger is replaced with a normal instance of ConsoleLoggerService that uses the real config from DI.
Fixes https://github.com/hedgedoc/hedgedoc/issues/4306
Signed-off-by: David Mehren <git@herrmehren.de>
2023-06-25 21:49:01 +02:00
renovate[bot]
e28b4183db
chore(deps): update dependency @types/node to v20.3.1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-25 14:44:47 +02:00
renovate[bot]
b8bb690a0e
chore(deps): update dependency yjs to v13.6.5
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-23 15:44:40 +02:00
renovate[bot]
1496155b36
fix(deps): update dependency @nestjs/swagger to v7.0.4
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 14:18:53 +00:00
renovate[bot]
cd4d20d09e
chore(deps): update node.js to 77516e1
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 05:01:55 +00:00
renovate[bot]
b7c9c80745
chore(deps): update node.js to 2bc2b33
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 20:24:22 +02:00
Tilman Vatteroth
cf02c35b49
fix: save created revision on realtime note destroy
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-21 14:17:25 +02:00
Avinash
b3eb6e4339
feat: increased test coverage for authService
...
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-06-21 14:07:00 +02:00
Avinash
239e21f4cb
refactor: removed unused userServices
...
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-06-21 14:07:00 +02:00
renovate[bot]
74164e1a72
fix(deps): update nestjs packages
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 12:32:33 +02:00
Tilman Vatteroth
f32bd44091
fix: add @types/markdown-it to backend dev dependencies
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-21 07:28:01 +02:00
renovate[bot]
1fbb5c3b69
fix(deps): update dependency typeorm to v0.3.17
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 01:46:58 +00:00
Tilman Vatteroth
c25c0fac92
fix: don't save revisions on creation
...
sometimes we create revisions for notes that don't exist yet. If we try to persist a revision that is referring to a non-existing note the whole attempt crashes.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00
Tilman Vatteroth
bb355feddc
fix: improve and adjust tests
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00
Tilman Vatteroth
eb986b1504
test: improve select query mock builder
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00
Tilman Vatteroth
f95f5406be
fix: make other services use the revision create method
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00
Tilman Vatteroth
7161ffd5f2
fix: adjust seeding to new revision create signature
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00
Tilman Vatteroth
e84096b5dc
feat: generate metadata from content on revision creation
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00
Tilman Vatteroth
90df9a4e32
feat: move title and description to revision entity
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-20 11:44:38 +02:00
renovate[bot]
9605b46831
chore(deps): update typescript-eslint monorepo to v5.60.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 19:48:45 +02:00
renovate[bot]
73c9079568
chore(deps): update nestjs packages
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 19:45:48 +02:00
renovate[bot]
068c44afde
chore(deps): update dependency eslint-plugin-jest to v27.2.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 17:30:57 +00:00
renovate[bot]
00a7af234c
chore(deps): update dependency eslint to v8.43.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-17 16:23:02 +02:00
renovate[bot]
d0f6bd69f9
fix(deps): update nestjs packages
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-17 16:20:40 +02:00
Tilman Vatteroth
ac825edbe3
fix: replace RouterModule from nest-router with @nestjs/core
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-16 23:00:06 +02:00
renovate[bot]
cf34a19494
chore(deps): update nestjs packages
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-16 23:00:06 +02:00
renovate[bot]
fdfa978299
fix(deps): update dependency yjs to v13.6.4
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-15 16:58:24 +00:00
renovate[bot]
d1e15131a1
chore(deps): update node.js to 0a8a2a2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-15 14:09:52 +00:00
renovate[bot]
fecb5bb993
fix(deps): update dependency @nestjs/config to v2.3.4
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-14 17:49:34 +00:00
renovate[bot]
cc815d76f3
chore(deps): update typescript-eslint monorepo to v5.59.11
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 21:17:16 +00:00
renovate[bot]
07676e09e0
fix(deps): update nestjs packages
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 16:10:27 +00:00
renovate[bot]
a5472a923d
chore(deps): update node.js to 4962384
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-11 18:29:54 +02:00
renovate[bot]
806da7b95e
fix(deps): update dependency @nestjs/schedule to v2.2.3
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 16:29:17 +02:00
renovate[bot]
cc22d9c05c
chore(deps): update definitelytyped
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 09:03:45 +02:00
renovate[bot]
cffab443c0
fix(deps): update dependency yjs to v13.6.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-08 12:01:28 +02:00
renovate[bot]
4254d63a73
fix(deps): update zxcvbn-ts
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-06 19:15:01 +02:00
renovate[bot]
c278df59dc
chore(deps): update dependency @types/pg to v8.10.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-06 10:18:47 +00:00
renovate[bot]
972fc6fb00
chore(deps): update typescript-eslint monorepo to v5.59.9
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-05 22:27:45 +02:00
Philip Molares
0a8945d934
feat(backend): handle username always in lowercase
...
This should make all usernames of new users into lowercase. Usernames are also searched in the DB as lowercase.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-04 21:55:19 +02:00
renovate[bot]
9625900d1c
chore(deps): update node.js to 59ac653
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-04 20:43:09 +02:00
renovate[bot]
16b60ddde7
chore(deps): update dependency typescript to v5.1.3
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-03 11:14:03 +02:00
renovate[bot]
1f292de377
chore(deps): update node.js to f3fe00f
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-03 11:13:04 +02:00
renovate[bot]
222d4b23ae
chore(deps): update dependency eslint to v8.42.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-03 11:12:54 +02:00
Tilman Vatteroth
753c6e593f
refactor: remove isomorphic-ws
...
The package caused some issues while working on other features.
Mostly because bundlers have been unable to determine the correct
websocket constructor.
So I replaced it with a more object-oriented approach.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-02 17:40:25 +02:00
renovate[bot]
fd78605657
chore(deps): update yarn to v3.6.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-02 08:36:15 +02:00
renovate[bot]
c9b98f6185
chore(deps): update dependency @types/jest to v29.5.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-31 20:54:58 +02:00
Tilman Vatteroth
d1ce1cb3e4
refactor: turn random word list source from json to ts
...
This prevents future import issues
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-30 09:17:05 +02:00
renovate[bot]
e510a41496
chore(deps): update typescript-eslint monorepo to v5.59.8
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-29 22:50:19 +00:00
renovate[bot]
2cb5b91d76
fix(deps): update definitelytyped
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-24 21:22:34 +02:00
renovate[bot]
c67e9bef60
fix(deps): update dependency minio to v7.1.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-24 21:08:48 +02:00
renovate[bot]
763cd62bfd
fix(deps): update nestjs packages to v9.4.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-24 00:34:30 +00:00
renovate[bot]
0b025a41ab
chore(deps): update typescript-eslint monorepo to v5.59.7
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-23 17:28:56 +00:00
renovate[bot]
d7663e3090
chore(deps): update dependency eslint to v8.41.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-21 19:47:03 +02:00
Tilman Vatteroth
11ccd678de
test: add test for permissions guard
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-19 19:10:45 +02:00
Tilman Vatteroth
a852c79947
refactor: replace permission check methods with ordered permission enum
...
This commit replaces the "mayWrite", "mayRead" and "checkPermissionOnNote"
functions with one that returns a sortable permission value.
This is done because many places in the code need to do actions based on the fact if
the user has no, read or write access. If done with the may-functions then the permission
data need to be looked through multiple times.
Also, the whole check code is split into more functions that are tested separately and make it easier
to understand the process.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-19 19:10:45 +02:00
Tilman Vatteroth
4e298cccfb
refactor: make class fields of permissions guard read-only
...
They're only read and never written after the construction
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-19 19:10:45 +02:00
Tilman Vatteroth
6e0e63688b
refactor: allow only one required permission in require-permission decorator
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-19 19:10:45 +02:00
Tilman Vatteroth
9ca6485219
refactor: extract permission metadata key
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-19 19:10:45 +02:00
Tilman Vatteroth
488238d854
refactor: rename "Permissions" enum to "RequiredPermission"
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-19 19:10:45 +02:00
Tilman Vatteroth
6b73016583
refactor: rename "Permissions" decorator to "RequirePermission"
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-19 19:10:45 +02:00
Tilman Vatteroth
4c384cc8de
test: add test for get note interceptor
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-19 19:10:45 +02:00
Tilman Vatteroth
b1dc383a7a
refactor: use "extractNoteFromRequest" in permission guard
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-19 19:10:45 +02:00
Tilman Vatteroth
ab5aebc9c4
refactor: extract "extract note from request" logic into separate function
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-19 19:10:45 +02:00
Tilman Vatteroth
65fb110a1e
refactor: move permissions decorator and guard into permissions directory
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-19 19:10:45 +02:00
Tilman Vatteroth
22f0abbfbe
fix: remove redundant permission guard annotations
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-19 19:10:45 +02:00
renovate[bot]
4b44277660
fix(deps): update dependency rimraf to v5.0.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-18 03:43:38 +00:00
renovate[bot]
2707c76fa3
chore(deps): update nestjs packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-17 21:55:02 +02:00
renovate[bot]
0cbcf2f23e
fix(deps): update dependency @nestjs/schedule to v2.2.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-17 16:38:16 +00:00
renovate[bot]
c3806f3e5b
chore(deps): update node.js to 4559bc0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-17 02:21:52 +00:00
renovate[bot]
bf97545b5d
fix(deps): update nestjs packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-16 17:40:26 +02:00
renovate[bot]
a4be190005
fix(deps): update dependency @types/node-fetch to v2.6.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-16 13:31:03 +00:00
renovate[bot]
500ab6d8b9
chore(deps): update typescript-eslint monorepo to v5.59.6
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-16 10:01:00 +00:00
Avinash
e73d28dba1
feat(backend): added test realtime note service
...
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-05-15 20:49:59 +02:00
Avinash
d15a8b18d9
fix(backend): updated realtime connection's acceptEdit, close connection based on permission
...
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-05-15 20:49:59 +02:00
renovate[bot]
c6e283a111
fix(deps): update dependency pg to v8.11.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-15 18:16:52 +02:00
Tilman Vatteroth
e3a3690b58
refactor(realtime): solve circle dependencies in realtime-user-status-adapter.ts
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-15 17:59:28 +02:00
Tilman Vatteroth
39fff87f52
fix: migrate import code
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-12 19:14:34 +02:00
renovate[bot]
a3232a816b
chore(deps): update dependency @tsconfig/node18 to v2.0.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-12 19:14:34 +02:00
renovate[bot]
1af15a1aec
fix(deps): update dependency @zxcvbn-ts/language-common to v3.0.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-12 19:01:27 +02:00
renovate[bot]
994ef52ca7
fix(deps): update zxcvbn-ts to v3.0.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-11 10:02:54 +02:00
Tilman Vatteroth
23901d1454
chore: change recommended and CI node version to v20
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-10 13:43:05 +02:00
renovate[bot]
ef1c59ac51
fix(deps): update dependency typeorm to v0.3.16
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-10 01:13:25 +00:00
renovate[bot]
3e3e574dc6
fix(deps): update dependency node-fetch to v2.6.11
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-09 22:34:15 +02:00
Tilman Vatteroth
d29e840bc6
fix(realtime): allow realtime user status updates from users that have read-only access
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 20:33:23 +02:00
Tilman Vatteroth
b199cdba67
test: increase coverage of constructor tests
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:33:09 +02:00
Tilman Vatteroth
2f59869e12
fix: retrieve read-only state for realtime user status adapter from connection
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:33:09 +02:00
Tilman Vatteroth
f012282a41
fix: restore of test state
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:33:09 +02:00
Tilman Vatteroth
02a3b7f07b
refactor: make displayName readonly
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:33:09 +02:00
Tilman Vatteroth
3c1ea7bda9
fix: allow change of accept edits in realtime connection
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:33:09 +02:00
Tilman Vatteroth
eebbb79d08
fix: retrieve read-only state for y-doc-sync-server-adapter from connection
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:33:09 +02:00
renovate[bot]
0dcfb0524c
chore(deps): update dependency @types/node to v18.16.6
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-09 11:30:41 +02:00
renovate[bot]
efb96bd259
fix(deps): update dependency node-fetch to v2.6.10
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-08 21:58:37 +02:00
renovate[bot]
6698f49af5
chore(deps): update typescript-eslint monorepo to v5.59.5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-08 21:48:54 +02:00
Yannick Bungers
ed3c688e8b
refactor: extract mocking in permissions.service.spec.ts
...
Signed-off-by: Yannick Bungers <git@innay.de>
2023-05-07 20:45:15 +02:00
Yannick Bungers
d73bbcaeff
fix: increase test coverage
...
Signed-off-by: Yannick Bungers <git@innay.de>
2023-05-07 20:45:15 +02:00
Yannick Bungers
dad60a25ea
fix: change logging from id to publicId in media upload
...
Signed-off-by: Yannick Bungers <git@innay.de>
2023-05-07 20:45:15 +02:00
Yannick Bungers
c20e20b30a
refactor: exclude create permission from note permission check
...
Signed-off-by: Yannick Bungers <git@innay.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 20:45:15 +02:00
Yannick Bungers
fad5e1e22e
test: add private api tests for checkPermissionOnNote and checkMediaDeletePermission
...
Signed-off-by: Yannick Bungers <git@innay.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 20:45:15 +02:00
Yannick Bungers
001a49329c
refactor: extract permission checking from controllers and guard
...
Signed-off-by: Yannick Bungers <git@innay.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 20:45:15 +02:00
Yannick Bungers
485f7cd338
feat: Add guest file uploads and add deletion for note owners
...
Signed-off-by: Yannick Bungers <git@innay.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 20:45:15 +02:00
Yannick Bungers
0f464dedfe
fix: clean up decorators in the public notes.controller.ts
...
Signed-off-by: Yannick Bungers <git@innay.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 20:45:15 +02:00
Yannick Bungers
d369132519
fix: add CompleteRequest type to have better type checks for HTTP-Request attribute injection.
...
Signed-off-by: Yannick Bungers <git@innay.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 20:45:15 +02:00
Tilman Vatteroth
0263c09ce1
fix(deps): migrate zxcvbn
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 19:37:41 +02:00
renovate[bot]
2c3e8662f3
fix(deps): update dependency @zxcvbn-ts/language-common to v3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 19:37:41 +02:00
renovate[bot]
53e3be7448
fix(deps): update dependency @zxcvbn-ts/core to v3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-07 19:37:41 +02:00
renovate[bot]
894f65d5ca
fix(deps): update dependency @zxcvbn-ts/language-en to v3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-07 19:18:47 +02:00
renovate[bot]
d734163e5f
chore(deps): update dependency eslint to v8.40.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-06 17:29:35 +02:00
renovate[bot]
c9d0201452
chore(deps): update definitelytyped
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-06 17:29:20 +02:00
renovate[bot]
a21fef5956
chore(deps): update dependency @types/node to v18.16.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-05 08:28:21 +00:00
renovate[bot]
a637556832
chore(deps): update node.js to 6e56967
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-05 08:08:08 +00:00
Tilman Vatteroth
e02221acd2
fix: don't create user permissions for owner
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-04 22:34:24 +02:00
Tilman Vatteroth
825b3b72ff
test: add e2e tests for note permissions
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-04 22:34:24 +02:00
renovate[bot]
122d3e6354
fix(deps): update dependency yjs to v13.6.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-04 17:24:04 +02:00
Tilman Vatteroth
a5e12b9ad0
fix(backend): fix extraction body values in permission controllers
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-04 14:54:37 +02:00
renovate[bot]
9d5ec78696
chore(deps): update node.js to 1d34273
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-03 09:05:57 +00:00
renovate[bot]
993d0e8b7e
chore(deps): update yarn to v3.5.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-02 05:55:25 +00:00
renovate[bot]
d1df704d22
chore(deps): update typescript-eslint monorepo to v5.59.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-02 02:40:39 +00:00
renovate[bot]
1e4c64afaf
chore(deps): update dependency @types/node to v18.16.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-29 10:49:09 +02:00
renovate[bot]
0645af761f
fix(deps): update dependency minio to v7.1.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-28 21:51:28 +02:00
renovate[bot]
291ed7c706
chore(deps): update dependency @types/node to v18.16.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-28 06:21:46 +00:00
renovate[bot]
8aea44ad4d
fix(deps): update dependency rxjs to v7.8.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-27 07:03:52 +00:00
renovate[bot]
026609902b
chore(deps): update dependency @types/node to v18.16.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-26 05:26:21 +00:00
renovate[bot]
2496b983eb
fix(deps): update dependency joi to v17.9.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-25 09:31:31 +02:00
renovate[bot]
138278bb13
chore(deps): update typescript-eslint monorepo to v5.59.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-25 09:31:21 +02:00
renovate[bot]
4e8d79d5b4
chore(deps): update dependency @nestjs/cli to v9.4.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-24 13:17:55 +02:00
renovate[bot]
f5665629af
chore(deps): update node.js to v20
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-24 12:44:53 +02:00
renovate[bot]
745247c04f
chore(deps): update dependency eslint to v8.39.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-23 20:25:57 +02:00
renovate[bot]
fa7b262ad1
fix(deps): update dependency yjs to v13.6.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-23 20:25:43 +02:00
renovate[bot]
a942c374b8
chore(deps): update dependency @types/node to v18.16.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-23 20:25:26 +02:00
renovate[bot]
777e9d7015
chore(deps): update dependency prettier to v2.8.8
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-23 14:46:32 +00:00
renovate[bot]
4c1beef1c9
chore(deps): update dependency @nestjs/cli to v9.4.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-21 18:14:56 +00:00
renovate[bot]
5f0927bf9b
chore(deps): update dependency @types/node to v18.15.13
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-21 13:08:27 +00:00
renovate[bot]
ab3e206081
chore(deps): update definitelytyped
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-20 16:19:07 +02:00
renovate[bot]
d5d8112e8c
chore(deps): update dependency @types/jest to v29.5.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-19 16:16:10 +02:00
renovate[bot]
b962676dad
fix(deps): update dependency yjs to v13.5.53
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-19 16:15:35 +02:00
renovate[bot]
d47da83391
chore(deps): update dependency @tsconfig/node18 to v2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-18 18:27:50 +02:00
renovate[bot]
07c7c97b86
chore(deps): update typescript-eslint monorepo to v5.59.0
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 10:19:15 +02:00
renovate[bot]
5a8026bc90
chore(deps): update dependency @tsconfig/node18 to v1.0.2
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 07:37:52 +00:00
Avinash
bb7a6a74f7
refactor(backend): create mock function for noteRepo and eventemiter
...
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-04-16 20:55:26 +02:00
Tilman Vatteroth
0950e036b0
refactor(s3-backend): use URL object to construct complete URL instead of string template
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
b6db47a9c2
test(s3-backend): add unit test
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
e8d4fc692d
fix(s3-backend): remove redundant parameter
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
baaa41b1e5
fix(media config): expect HD_MEDIA_BACKEND_S3_ENDPOINT to be an uri
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
3c2f59c382
fix(s3-backend): force endpoint to be a uri
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
2016874a3d
fix(s3-backend): let minio lib handle the port fallback
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
a72f695124
fix(s3-backend): correct endpoint
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
renovate[bot]
165cd4c7a3
fix(deps): update dependency typeorm to v0.3.15
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-16 14:40:34 +02:00
renovate[bot]
3529e68511
fix(deps): update dependency @azure/storage-blob to v12.14.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-14 09:43:42 +02:00
renovate[bot]
f47b3c8f12
chore(deps): update dependency @nestjs/cli to v9.4.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-13 14:40:35 +02:00
Tilman Vatteroth
4bd6c1f359
fix: add .env file symlinks
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 10:39:17 +02:00
renovate[bot]
8e8a7ea21a
chore(deps): update node.js to 53741c7
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-12 06:32:11 +00:00
renovate[bot]
1c58a732e4
chore(deps): update typescript-eslint monorepo to v5.58.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-10 20:48:24 +02:00
renovate[bot]
cb03442f5f
fix(deps): update dependency rimraf to v5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-10 11:27:52 +02:00
renovate[bot]
2e275652c2
fix(deps): update dependency typeorm to v0.3.14
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-09 13:20:39 +02:00
renovate[bot]
2f200078ef
chore(deps): update dependency eslint to v8.38.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-08 14:53:57 +02:00
renovate[bot]
143da53e46
chore(deps): update dependency typescript to v5.0.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-07 22:21:41 +02:00
Philip Molares
2fc89a7de5
feat: don't let read-only users send their cursors or selections
...
This was done as it may be used to distract or annoy other users either intentionally or unintentionally.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-06 22:54:50 +02:00
Philip Molares
c2f41118b6
feat: check permissions in realtime code and frontend
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-06 22:54:50 +02:00
renovate[bot]
ca586413d2
fix(deps): update dependency typeorm to v0.3.13
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-06 14:34:21 +00:00
renovate[bot]
5b87029312
fix(deps): update nestjs packages to v9.4.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-05 18:29:11 +02:00
renovate[bot]
e89f7757a3
fix(deps): update dependency @nestjs/schedule to v2.2.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-04 21:17:35 +02:00
Tilman Vatteroth
6fb58d56c2
fix: add missing tests for realtime-user-status-adapter
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-04 18:29:20 +02:00
Tilman Vatteroth
2a2d3756ad
refactor: test code of realtime
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-04 18:29:20 +02:00
renovate[bot]
5d9e220e1f
chore(deps): update typescript-eslint monorepo to v5.57.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-03 20:20:47 +02:00
renovate[bot]
266eaf29e6
chore(deps): update dependency ts-jest to v29.1.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-03 20:06:05 +02:00
renovate[bot]
84ab3ecc58
fix(deps): update dependency yjs to v13.5.52
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 17:08:10 +00:00
Tilman Vatteroth
15374acb93
fix(backend): throw error if key in param decorator is not defined
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-31 15:43:28 +02:00