Commit graph

3782 commits

Author SHA1 Message Date
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
Philip Molares
19d88e7e8c PackageJson: Add --runInBand to test:e2e scripts
This ensures the e2e tests run in serially and never concurrently.

See https://jestjs.io/docs/cli#--runinband

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-01 00:18:24 +02:00
Philip Molares
70e7318180 NotesE2EPrivate: Fix copy&paste error
Since large parts of this test were copied from the public api e2e test, somethings still used the public api e2e test files.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-01 00:18:24 +02:00
Philip Molares
dbbc73be02 MediaE2E: Fix typo in comments
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-01 00:18:24 +02:00
Philip Molares
a2e7616484 E2ETests: Use recursive for 'uploads/' deletion.
This ensures the folder is always deleted, even if there are still files (from previous broken tests) in it.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-01 00:18:24 +02:00
Philip Molares
5a3ddc28fc MediaE2E: Extract 'uploads' deletion
The deletion of upload was moved to beforeEach and afterEach block in the 'POST /media' > 'fails' tests.
The test if the folder was not created, because there was no file uploaded, now correctly expects the behaviour.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-01 00:18:21 +02:00
Renovate Bot
5c5cb69579
Update dependency typeorm to v0.2.32
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-31 20:47:05 +00:00
Renovate Bot
3c37adeff3
Update dependency @types/supertest to v2.0.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-31 20:46:51 +00:00
Philip Molares
d586b84d8b MediaE2E: Add app.close() to afterAll
This terminates the app after all test have finished.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-31 22:36:14 +02:00
Yannick Bungers
429eff4411
Merge pull request #1066 from hedgedoc/docs/hfm 2021-03-31 21:53:28 +02:00
David Mehren
f178aff205
Merge pull request #1087 from hedgedoc/renovate/develop-linters
Update linters to v4.20.0 (develop)
2021-03-29 23:19:00 +02:00
David Mehren
2a8c81d26c
Merge pull request #1086 from hedgedoc/renovate/develop-mkdocs-material-7.x
Update dependency mkdocs-material to v7.1.0 (develop)
2021-03-29 23:18:18 +02:00
Renovate Bot
f2f929b446
Update linters to v4.20.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 21:12:20 +00:00
Renovate Bot
5dc1a4bf7b
Update dependency mkdocs-material to v7.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 21:12:07 +00:00
David Mehren
c6daf7185a
Merge pull request #1082 from hedgedoc/renovate/develop-lock-file-maintenance
Lock file maintenance (develop)
2021-03-29 23:11:11 +02:00
Renovate Bot
28f77e689a
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 21:05:15 +00:00
David Mehren
0c839c949f
Merge pull request #1081 from hedgedoc/renovate/develop-rxjs-6.x
Update dependency rxjs to v6.6.7 (develop)
2021-03-29 23:03:18 +02:00
Renovate Bot
4d14fcb631
Update dependency rxjs to v6.6.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 00:05:10 +00:00
Philip Molares
c4e5ffbe7a Docs: Add footnotes extension
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-28 22:54:56 +02:00
Yannick Bungers
25bdbf647a
Merge pull request #1032 from hedgedoc/docs/authentication
Add dev docs about user profiles and authentication
2021-03-28 22:41:12 +02:00
David Mehren
f06563941b
Merge pull request #1076 from hedgedoc/renovate/develop-ts-loader-8.x
Update dependency ts-loader to v8.1.0 (develop)
2021-03-28 20:34:27 +02:00