Commit graph

1859 commits

Author SHA1 Message Date
Philip Molares
9c78f639e0 test(groups): fix 'API requires authentication' test
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-30 20:50:12 +01:00
Philip Molares
965162e1c2 test(config-mocks): extend TestSetupBuilder.create to use mock config object
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-30 20:50:12 +01:00
Philip Molares
cf89ecf29c fix(history): fix updateHistoryEntryTimestamp to handle nullable user
If a user is null it means we're handling a guest user.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-30 20:50:12 +01:00
Philip Molares
8bb74bd34a feat: set guestAllowed on some note calls
These calls are all usable with guests

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-30 20:50:12 +01:00
Philip Molares
b0247b0efb feat: add guestsAllowed to RequestUser
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-30 20:50:12 +01:00
Philip Molares
6b62688824 feat: allow guests in SessionGuard
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-30 20:50:12 +01:00
Yannick Bungers
b384c795d0 Remove all Equal in whereClause in find
Signed-off-by: Yannick Bungers <git@innay.de>
2022-10-30 18:15:55 +01:00
David Mehren
943794aca1 fix(test-utils) Add missing type constraint
TypeScript 4.8 complained about a missing constraint

Signed-off-by: David Mehren <git@herrmehren.de>
2022-10-30 17:44:43 +01:00
renovate[bot]
b29f07e6a8 chore(deps): update dependency typescript to v4.8.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-30 17:44:43 +01:00
Philip Molares
932075a08f fix(config-mocks): adapt all mock config to use create and register functions
This way it's much easier to change the config provided in tests.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-30 17:34:36 +01:00
renovate[bot]
4aadf0bc0d fix(deps): update dependency @mrdrogdrog/optional to v1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-30 17:25:39 +01:00
renovate[bot]
440362e580 chore(deps): update linters to v5.41.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-30 17:06:41 +01:00
renovate[bot]
cd09d69d4c fix(deps): update dependency ws to v8.10.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-30 17:06:16 +01:00
Philip Molares
f63013970f fix(config): use correct keys in media config
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-10-30 16:50:09 +01:00
Tamotsu Takahashi
af0b34efa1 Update HD_DATABASE_*
Fix leftovers from #2278 cd5256da7f

Signed-off-by: Tamotsu Takahashi <ttakah+github@gmail.com>
2022-10-30 16:44:42 +01:00
renovate[bot]
4ef1ffb312 chore(deps): update dependency @types/node to v18
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-29 19:31:41 +02:00
renovate[bot]
7ad7922586 chore(deps): update test packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-29 07:29:05 +00:00
renovate[bot]
140e85602c chore(deps): update nestjs packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-29 05:30:14 +00:00
renovate[bot]
9fa39da8cd chore(deps): update node.js to 1a04e2e
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-29 03:06:05 +00:00
renovate[bot]
910233d35d chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-24 04:44:10 +00:00
renovate[bot]
702a69d4bc chore(deps): update dependency pymdown-extensions to v9.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-23 21:19:09 +02:00
renovate[bot]
f186a0e985 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 20:20:30 +00:00
Tilman Vatteroth
8bbf73cbc9 fix(deps): Add resolution for yjs
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-22 19:40:38 +02:00
renovate[bot]
c741fdc2c9 fix(deps): update dependency yjs to v13.5.42
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 19:40:38 +02:00
renovate[bot]
14eea8beef chore(deps): update node.js to v19
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 14:45:33 +02:00
renovate[bot]
58e9623c05 fix(deps): update dependency joi to v17.6.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 14:44:58 +02:00
renovate[bot]
b138ee3953 fix(deps): update dependency @zxcvbn-ts/core to v2.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 12:34:01 +02:00
renovate[bot]
61006ad705 fix(deps): update nestjs packages to v9.1.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 12:31:22 +02:00
Tamotsu Takahashi
4218d4404e Remove unescaped url from error message
https://github.com/hedgedoc/hedgedoc/pull/2745#discussion_r996485398

Signed-off-by: Tamotsu Takahashi <ttakah+github@gmail.com>
2022-10-22 12:23:48 +02:00
TAKAHASHI Tamotsu
2db114fbff Throw error when noteId is empty
Signed-off-by: Tamotsu Takahashi <ttakah+github@gmail.com>
2022-10-22 12:23:48 +02:00
TAKAHASHI Tamotsu
5704ad9c3b Fails if note id is empty
Signed-off-by: Tamotsu Takahashi <ttakah+github@gmail.com>
2022-10-22 12:23:48 +02:00
renovate[bot]
be04b2d005 chore(deps): update dependency eslint to v8.26.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 12:15:21 +02:00
renovate[bot]
09d0d5f4eb fix(deps): update dependency @azure/storage-blob to v12.12.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 12:15:04 +02:00
renovate[bot]
73df3a3050 chore(deps): update dependency @trivago/prettier-plugin-sort-imports to v3.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 12:14:44 +02:00
renovate[bot]
ec9797d154 chore(deps): update dependency mkdocs-material to v8.5.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 12:14:32 +02:00
renovate[bot]
91260fc559 chore(deps): update dependency eslint-plugin-jest to v27.1.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 08:25:05 +00:00
renovate[bot]
41979c3ab0 chore(deps): update dependency @types/node to v16.11.68
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 05:56:39 +00:00
renovate[bot]
c334724e1a chore(deps): update node.js to 828424b
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-22 05:43:22 +00:00
renovate[bot]
b75f80accc chore(deps): update test packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-19 23:15:46 +02:00
renovate[bot]
df00bd7767 chore(deps): update linters to v5.40.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-19 15:54:34 +02:00
renovate[bot]
f960fc8c64 chore(deps): update dependency @types/node to v16.11.66
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-16 01:42:40 +00:00
renovate[bot]
9b64bdf034 chore(deps): update dependency mkdocs to v1.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-15 23:53:55 +00:00
renovate[bot]
8ae3320ff9 chore(deps): update node.js to 38f184d
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-15 18:25:48 +00:00
renovate[bot]
94b6d9efcb fix(deps): update dependency joi to v17.6.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-15 13:37:04 +00:00
renovate[bot]
35014f2c7a chore(deps): update dependency eslint-plugin-jest to v27.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-15 11:57:21 +00:00
renovate[bot]
931c866725 chore(deps): update dependency @types/node to v16.11.65
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-15 09:18:32 +00:00
renovate[bot]
52300e8156 chore(deps): update dependency @trivago/prettier-plugin-sort-imports to v3.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-15 06:45:14 +00:00
renovate[bot]
ba8b151d4c chore(deps): update node.js to 9908621
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-15 04:49:10 +00:00
renovate[bot]
45522a114d chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-10 04:26:06 +00:00
renovate[bot]
ed67b320e3 fix(deps): update dependency bcrypt to v5.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-09 20:48:29 +02:00