Commit graph

3702 commits

Author SHA1 Message Date
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
David Mehren
bb20735989
Merge pull request #1096 from hedgedoc/twitterBadge
README: Add Twitter Badge
2021-04-06 16:58:02 +02:00
Renovate Bot
b4a9fecfc1
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-06 14:49:32 +00:00
David Mehren
dcf9a8ba34
Merge pull request #1107 from hedgedoc/renovate/develop-linters
Update linters to v4.21.0 (develop)
2021-04-06 16:48:19 +02:00
Renovate Bot
9145c04242
Update linters to v4.21.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-05 18:36:25 +00:00
David Mehren
096a2e3fe0
Merge pull request #1106 from hedgedoc/SISheogorath-delete-question-template
Delete question template
2021-04-05 19:43:30 +02:00
Sheogorath
0d987e5e5e
Delete question template
This patch drops the question template for github issues. This should result in less questions in form of issues.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2021-04-05 14:27:41 +02:00
Yannick Bungers
a319c909a0
Merge pull request #1099 from hedgedoc/renovate/develop-definitelytyped
Update dependency @types/node-fetch to v2.5.9 (develop)
2021-04-02 20:42:04 +02:00
Renovate Bot
4b58381727
Update definitelyTyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-02 18:34:55 +00:00
Yannick Bungers
1842329555
Merge pull request #1090 from hedgedoc/renovate/develop-definitelytyped
Update dependency @types/supertest to v2.0.11 (develop)
2021-04-02 20:34:20 +02:00
Yannick Bungers
f3d53a687b
Merge pull request #1089 from hedgedoc/renovate/develop-typeorm-0.x
Update dependency typeorm to v0.2.32 (develop)
2021-04-02 20:33:53 +02:00
Philip Molares
31b0d797f3 Logging: Add OpenAPI log messages
Let the user know where the OpenAPI docs can be found.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-02 17:40:44 +02:00
Philip Molares
3493a7a26f Logging: Improve mediabackend filesystem log message.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-02 17:38:22 +02:00
Philip Molares
a45109187c README: Add Twitter Badge
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-02 16:16:44 +02:00
Philip Molares
4fb7623225 FileMediaBackend: Fix generated urls
All urls should be of the form `uploads/<filename>.<extension>` regardless of what the uploadDirectory is, because the backend proxies all locally uploaded files.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-01 00:28:13 +02:00
Philip Molares
c821fe6f04 Git: Ignore test_uploads folder
Ignore the uploads folder for tests.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-01 00:28:13 +02:00
Philip Molares
354db0c1a2 MediaConfigMock: Change upload path
This changes the upload path in all test to 'test_uploads' to ensure no real uploads are lost.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-01 00:28:13 +02:00
Philip Molares
2d39160d9e E2EConfig: Remove maxConcurrency
This is not necessary as it only effects `it.concurrent` test and we currently don't use those.

See https://jestjs.io/docs/configuration#maxconcurrency-number

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-01 00:18:24 +02:00