Commit graph

3569 commits

Author SHA1 Message Date
Philip Molares
b490fe3ffc PublicAPI: Add file upload dialog to swagger api
This makes it possible to truly upload a file with swagger api documentation.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-18 21:02:06 +02:00
Yannick Bungers
9e772d83af
Merge pull request #1045 from hedgedoc/docs/notes
Add dev docs about notes
2021-04-18 21:00:55 +02:00
Philip Molares
6c1cda2c9a Config: Add WebDAV to media config
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-18 20:45:39 +02:00
Philip Molares
0ef9a338f3 UnitTests: Add appConfigMock
This is necessary as the Logger needs this config for the loglevel.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-18 18:50:57 +02:00
Philip Molares
a87408009d Logging: Handle calls with 'undefined' context
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-18 18:50:57 +02:00
Philip Molares
327206d60c Logging: Add LogLevels to ConsoleLoggerService
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-18 18:50:57 +02:00
Philip Molares
a039b85ff4 Utils: Add needToLog function
This functions makes it possible to make a partial order of the Loglevel enum. This simplifies the if statements in ConsoleLogger.
This is done, because the Loglevel enum already has a string backing for easy conversion from the config environmental variables and therefore can't also have a ordinal number assigned…

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-18 18:50:55 +02:00
Yannick Bungers
36dd89004b
Merge pull request #1144 from hedgedoc/docs/readme_update 2021-04-18 00:27:11 +02:00
David Mehren
0e5ce048a3
Merge pull request #1127 from hedgedoc/history/entryRename 2021-04-17 19:23:19 +02:00
David Mehren
ff27e988a6
Merge pull request #1136 from hedgedoc/fix/getServerVersion
Utils: Fix getServerVersionFromPackageJson
2021-04-17 16:03:52 +02:00
David Mehren
6668d73ba1
Merge pull request #1129 from hedgedoc/renovate/develop-lock-file-maintenance
Lock file maintenance (develop)
2021-04-17 15:51:42 +02:00
David Mehren
7dd4d41a73
Merge pull request #1146 from hedgedoc/renovate/develop-pin-dependencies
Pin dependency eslint-plugin-jest to 24.3.5 (develop)
2021-04-17 15:50:42 +02:00
David Mehren
5259912d6e
Explicitly state that 1.x is stable
Signed-off-by: David Mehren <git@herrmehren.de>
2021-04-17 15:18:30 +02:00
Renovate Bot
75a4e6a4f3
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-17 13:01:52 +00:00
Renovate Bot
c94beba669
Pin dependency eslint-plugin-jest to 24.3.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-17 13:01:27 +00:00
David Mehren
2192153c30
Merge pull request #1133 from hedgedoc/eslint/tests 2021-04-17 14:18:44 +02:00
David Mehren
b04191f69f
Add clear 'getting started' instructions to README
Signed-off-by: David Mehren <git@herrmehren.de>
2021-04-16 19:28:39 +02:00
David Mehren
97686613df
Merge pull request #1143 from hedgedoc/readme/paragraphSwitch
README: Change order of paragraphs
2021-04-16 19:09:29 +02:00
Philip Molares
608f110c8d README: Change order of paragraphs
With this change our support chat is mentioned before our dev chat. Hopefully that should direct people in the correct chat for them…

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-16 18:46:34 +02:00
Philip Molares
51f1da7083 Tests: Fix eslint errors
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-16 10:14:05 +02:00
Philip Molares
434bc55bab Tests: Removed all eslint-disable lines
As we now disable what we don't need in the eslint config, we don't need this anymore.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-16 10:14:05 +02:00
Philip Molares
5099f0f5c5 ESLint: Override config for tests
This is done to to fix Issue #1098

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-16 10:10:52 +02:00
Philip Molares
091d6ee9b4 Add dev docs about notes
fixes #864

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-15 22:20:27 +02:00
Philip Molares
2e1cbb3543 Dependency: Add eslint-plugin-jest
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-15 22:19:23 +02:00
David Mehren
67474a4777
Merge pull request #1140 from hedgedoc/renovate/develop-definitelytyped
Update dependency @types/node to v13.13.50 (develop)
2021-04-15 22:14:30 +02:00
Renovate Bot
24f4f41121
Update dependency @types/node to v13.13.50
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 20:08:26 +00:00
David Mehren
5f6e38efe0
Merge pull request #1139 from hedgedoc/renovate/develop-ts-jest-26.x
Update dependency ts-jest to v26.5.5 (develop)
2021-04-15 22:07:26 +02:00
Renovate Bot
2425e8c40e
Update dependency ts-jest to v26.5.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 17:09:46 +00:00
Philip Molares
dff5a635e0 Utils: Fix getServerVersionFromPackageJson
The cache is never null, because it defaults to undefined, and therefore this function always returns undefined.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-15 18:39:41 +02:00
Yannick Bungers
186ffda440
Merge pull request #1122 from hedgedoc/renovate/develop-linters
Update linters (develop)
2021-04-15 16:26:30 +02:00
Renovate Bot
15dcbb4878
Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 11:08:16 +00:00
Yannick Bungers
caa4b1c927
Merge pull request #1134 from hedgedoc/renovate/develop-definitelytyped
Update dependency @types/node to v13.13.49 (develop)
2021-04-15 13:06:32 +02:00
Yannick Bungers
ed87a47d13
Merge pull request #1111 from hedgedoc/renovate/develop-typescript-4.x
Update dependency typescript to v4.2.4 (develop)
2021-04-15 13:05:44 +02:00
Renovate Bot
00018a005c
Update dependency @types/node to v13.13.49
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-14 21:07:29 +00:00
Philip Molares
0269b5e87a Logging: Remove NestConsoleLoggerService
This is not necessary anymore, because we can inject ConsoleLoggerService directly.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-13 23:58:17 +02:00
Renovate Bot
ebb7c4738f
Update dependency typescript to v4.2.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-13 20:04:08 +00:00
Yannick Bungers
c0f33d573d
Merge pull request #1124 from hedgedoc/renovate/develop-mkdocs-material-7.x
Update dependency mkdocs-material to v7.1.1 (develop)
2021-04-13 22:00:43 +02:00
Renovate Bot
db7928b389
Update dependency mkdocs-material to v7.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-13 19:54:24 +00:00
Yannick Bungers
3e8bcf5f99
Merge pull request #1121 from hedgedoc/renovate/develop-definitelytyped
Update dependency @types/bcrypt to v3.0.1 (develop)
2021-04-13 21:53:20 +02:00
Philip Molares
adffd68e68 PrivateAPI: Add lastVisited to HistoryEntryImportDto
As the DTO is only for importing an existing history the lastVisited of those entries should also be posted.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-11 12:37:47 +02:00
Philip Molares
4f858c51d2 PrivateAPI: Add pinStatus to HistoryEntryImportDto
As the DTO is only for importing an existing history the pinStatus of those entries should also be posted.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-11 12:37:38 +02:00
Philip Molares
085241999b PrivateAPI: Rename HistoryEntryCreationDto to HistoryEntryImportDto
As the DTO is used to import a whole list of history entries rather than creating a single history entry (there is no way of doing that at the moment)

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-10 23:26:58 +02:00
Renovate Bot
80162b90bc
Update dependency @types/bcrypt to v3.0.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-09 22:42:57 +00:00
David Mehren
b36ce1bb08
Merge pull request #1114 from hedgedoc/docs/changelog_md
Update CHANGELOG.md to point to releases page
2021-04-08 17:20:22 +02:00
David Mehren
96ca1acbeb
Merge pull request #1112 from hedgedoc/renovate/develop-definitelytyped
Update dependency @types/node-fetch to v2.5.10 (develop)
2021-04-08 17:13:48 +02:00
David Mehren
79fa9d063e
Update CHANGELOG.md to point to releases page
Signed-off-by: David Mehren <git@herrmehren.de>
2021-04-08 17:00:50 +02:00
Renovate Bot
5e3fb9fad9
Update dependency @types/node-fetch to v2.5.10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-08 10:57:13 +00:00
Yannick Bungers
ee5a587bcc
Merge pull request #1092 from hedgedoc/fix/e2eTests 2021-04-08 12:06:43 +02:00
David Mehren
5af4f43b6f
Merge pull request #1105 from hedgedoc/renovate/develop-lock-file-maintenance
Lock file maintenance (develop)
2021-04-06 17:33:05 +02:00
David Mehren
edb184f3a3
Merge pull request #1093 from hedgedoc/config/changeMockUploadPath 2021-04-06 16:59:21 +02:00