David Mehren
9f293b4747
Add clear 'getting started' instructions to README
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-04-16 19:22:50 +02:00
Philip Molares
c1d706b350
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
eeaa74b385
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-10 23:31:18 +02:00
Philip Molares
1154894876
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
Philip Molares
fa724c2603
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:15:25 +02:00
Renovate Bot
4377376821
Lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-17 13:01:52 +00:00
Renovate Bot
7ca095b910
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
Philip Molares
9759d85fdd
Tests: Fix eslint errors
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-12 18:05:27 +02:00
Philip Molares
ff44a6567e
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-12 17:06:59 +02:00
Philip Molares
b8d106a4a2
ESLint: Override config for tests
...
This is done to to fix Issue #1098
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-12 17:02:47 +02:00
Philip Molares
1a8ae49e98
Dependency: Add eslint-plugin-jest
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-12 16:59:30 +02:00
Philip Molares
9360d8a26b
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:43:28 +02:00
Renovate Bot
58916ce243
Update dependency @types/node to v13.13.50
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 20:08:26 +00:00
Renovate Bot
f600ec8448
Update dependency ts-jest to v26.5.5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 17:09:46 +00:00
Renovate Bot
fc6ceef9f2
Update linters
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 11:08:16 +00:00
Renovate Bot
484252b29e
Update dependency @types/node to v13.13.49
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-14 21:07:29 +00:00
Renovate Bot
600af87247
Update dependency typescript to v4.2.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-13 20:04:08 +00:00
Renovate Bot
f6a8eb2511
Update dependency mkdocs-material to v7.1.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-13 19:54:24 +00:00
Renovate Bot
b63c28c9cd
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
404f3ed3da
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
c608453e18
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
Philip Molares
1df74df65c
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-03-31 23:01:29 +02:00
Philip Molares
6c1f72f93b
Git: Ignore test_uploads folder
...
Ignore the uploads folder for tests.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-31 22:59:47 +02:00
Philip Molares
e955e204c4
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-03-31 22:58:15 +02:00
Philip Molares
de54bca9c4
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-03-31 23:26:38 +02:00
Philip Molares
de9c219cdf
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-03-31 23:23:15 +02:00
Philip Molares
9f746cb05b
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-03-31 22:44:46 +02:00
Philip Molares
17493a9007
MediaE2E: Fix typo in comments
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-31 22:43:13 +02:00
Philip Molares
be78b9a03d
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-03-31 22:42:56 +02:00
Philip Molares
9b54733ed3
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-03-31 22:41:38 +02:00
Philip Molares
4c02327546
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
Renovate Bot
b2e89187f3
Lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-06 14:49:32 +00:00
Philip Molares
7f596c47ca
README: Add Twitter Badge
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-02 13:57:13 +02:00
Renovate Bot
0248edf872
Update linters to v4.21.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-05 18:36:25 +00:00
Sheogorath
a6ec1d8739
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:21:17 +02:00
Renovate Bot
c0e89b3bd0
Update definitelyTyped
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-02 18:34:55 +00:00
Renovate Bot
4eea0791df
Update dependency @types/supertest to v2.0.11
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-31 20:46:51 +00:00
Renovate Bot
890c222fd9
Update dependency typeorm to v0.2.32
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-31 20:47:05 +00:00
Philip Molares
f78b857aef
Docs: Add footnotes extension
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-28 20:24:45 +02:00
Philip Molares
c272f1e702
Docs: Add hedgedoc flavored markdown reference
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-25 22:20:45 +01:00
Renovate Bot
46a9341d14
Update linters to v4.20.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 21:12:20 +00:00
Renovate Bot
b7b4046dcf
Update dependency mkdocs-material to v7.1.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 21:12:07 +00:00
Renovate Bot
ded9a7b85e
Lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 21:05:15 +00:00
Renovate Bot
5e8d545b11
Update dependency rxjs to v6.6.7
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 00:05:10 +00:00
David Mehren
2d05f0cd77
Add dev docs about user profiles and authentication
...
Closes #463
Closes #451
Signed-off-by: David Mehren <git@herrmehren.de>
2021-03-15 11:19:50 +01:00
Renovate Bot
37f973f800
Update dependency ts-loader to v8.1.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-28 11:20:57 +00:00
Renovate Bot
26e9d1c621
Update dependency mkdocs-material to v7.0.7
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-28 14:19:41 +00:00
Renovate Bot
6b59c08ae9
Update dependency @types/node to v13.13.48
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-27 01:14:20 +00:00
Renovate Bot
5ec4a05a70
Update dependency eslint to v7.23.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-26 21:58:11 +00:00
Renovate Bot
81a5a7c01a
Update NestJS packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-26 11:24:58 +00:00