Renovate Bot
2b7867df3a
Update dependency eslint-plugin-flowtype to v5.7.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-17 07:48:09 +02:00
Renovate Bot
eeda9b1f9a
Update dependency js-yaml to v4.1.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-17 07:47:46 +02:00
Renovate Bot
4fa5dd62ac
Update dependency markdown-it to v12.0.6
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-17 07:41:55 +02:00
Tilman Vatteroth
bfcb617eeb
Use module build of markmap-lib
...
If we use the default import then webpack will use the "browser"
bundle which relies on CDN lazy loading of dependencies.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-15 22:18:12 +02:00
Tilman Vatteroth
64fe7233e7
Fix code highlight indentation
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-15 22:14:02 +02:00
Philip Molares
29d9d49f5a
Change api route to /api/private ( #1189 )
2021-04-15 22:10:15 +02:00
Tilman Vatteroth
344304f329
Update dependencies ( #1190 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-15 19:04:46 +02:00
Renovate Bot
ae255f4bad
Update dependency @testing-library/user-event to v13.1.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 09:23:26 +02:00
Renovate Bot
50a6fa4189
Update dependency @types/node to v12.20.8
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 09:22:55 +02:00
renovate[bot]
b42cb8fc49
Update dependency cypress to v7 ( #1183 )
...
* Update dependency cypress to v7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
* Use global beforeEach for config loading
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2021-04-14 22:28:50 +02:00
Renovate Bot
010d451f78
Update dependency react-i18next to v11.8.13
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-13 22:29:40 +02:00
Tilman Vatteroth
36ac8f113c
Remove browserstack integration
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-13 21:20:03 +02:00
renovate[bot]
d86e246974
Update linters ( #1168 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-13 19:50:28 +02:00
renovate[bot]
90e1c8af11
Lock file maintenance ( #1188 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 11:42:11 +02:00
Philip Molares
8186c96806
PrivateHistoryE2E: Extend POST /me/history
...
Test the correct behaviour in error cases
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-12 10:55:16 +02:00
Erik Michelson
7a21a26166
Disallow data and javascript URIs ( #1186 )
...
* Disallow data and javascript URIs
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-04-11 22:48:31 +02:00
Philip Molares
258a38f8c0
ControllerTests: Add connection to controller tests
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-11 22:06:41 +02:00
Philip Molares
0933b88ff5
ESLint: Add extra rules for tests
...
Add afterEach and beforeAll as additional additionalTestBlockFunctions for jest/no-standalone-expect. This is necessary, because we use expects in those functions for the history service unit tests.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-18 14:02:55 +02:00
Philip Molares
ea7b0cb9c4
HistoryService: Add test for setHistory
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-11 22:06:36 +02:00
Philip Molares
524ad658d8
HistoryService: Add setHistory method
...
This is the transactional reimplementation of the business logic of the history controllers setHistory method (of the private api). This should prevent the problem that the history gets deleted, but a later error in the handling of the list of HistoryEntryImportDto let's the call fail.
See also: https://docs.nestjs.com/techniques/database#transactions
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-11 21:54:50 +02:00
Philip Molares
7c648e7056
HistoryService: Remove extra parameters from createOrUpdateHistoryEntry
...
As the function is now only called with a user and a note and the previous extra parameters are now added into the transactional setHistory method, this is no longer necessary.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-11 21:28:53 +02:00
Philip Molares
6b6aef284c
NotesService: Extract checkNoteIdOrAlias into own method
...
To reuse this functionality in the history services setHistory method, it was extracted into its own exported function.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-11 21:25:41 +02:00
Philip Molares
7e20bb0fef
[Project] Add seed script
...
This script invokes src/seed.ts to create a sqlite DB. The DB already contains some objects to manual test with. This ensures that devs easily can spin up a test instance of HedgeDoc and don't need to fumble around with the DB file.
See https://github.com/typeorm/typeorm#creating-a-connection-to-the-database
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-29 11:53:59 +02:00
Tilman Vatteroth
031e37325c
Change plantuml server url to https
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-10 18:15:24 +02:00
renovate[bot]
ab9f89f39f
Update dependency vega to v5.20.2 ( #1152 )
...
* Update dependency vega to v5.20.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
* Add type to error object
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Add renovate group for vega
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Update vega code
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Regenerate yarn.lock
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-10 15:27:42 +00:00
Tilman Vatteroth
ad10bfa39a
Reformat package.json
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-10 16:57:42 +02:00
Tilman Vatteroth
bcb37269a4
Regenerate yarn.lock
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-10 16:57:42 +02:00
Renovate Bot
6b9c425a9e
Update dependency @cypress/webpack-preprocessor to v5.7.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-10 16:57:42 +02:00
Renovate Bot
a1292de26d
Update dependency @testing-library/user-event to v13.1.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-10 16:57:42 +02:00
Renovate Bot
b997fddaad
Update dependency @types/luxon to v1.26.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-10 16:57:42 +02:00
Renovate Bot
7996bc7adf
Update dependency cypress-file-upload to v5.0.5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-10 16:57:42 +02:00
Renovate Bot
cd3a1fbd20
Update dependency eslint-plugin-flowtype to v5.6.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-10 16:57:42 +02:00
Renovate Bot
a5843c21c5
Update dependency highlight.js to v10.7.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-10 16:57:42 +02:00
Renovate Bot
ca493f1955
Update dependency i18next to v20.2.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-10 16:57:42 +02:00
Renovate Bot
28764b3ff9
Update dependency katex to v0.13.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-10 16:57:42 +02:00
Renovate Bot
2cdb43139e
Update dependency react-use to v17.2.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-10 16:57:42 +02:00
Renovate Bot
dc5beb9e03
Update dependency typescript to v4.2.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-10 16:57:42 +02:00
Renovate Bot
74330086a4
Update typescript-eslint monorepo to v4.21.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-10 16:57:42 +02:00
Renovate Bot
093b817361
Update dependency eslint-plugin-promise to v5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-10 16:57:42 +02:00
Renovate Bot
d7915db5df
Update dependency cypress to v6.9.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-10 16:57:42 +02:00
Tilman Vatteroth
31325a5f49
Improve renovate config by adding new groups
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-10 16:35:59 +02:00
Renovate Bot
8b0c60c4aa
Update dependency d3-graphviz to v3.2.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-08 12:25:13 +02:00
Erik Michelson
c4264c4fa7
Revert "Update dependency d3-graphviz to v4" ( #1160 )
...
This reverts commit 65bdf54579
.
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-04-07 23:38:33 +02:00
Tilman Vatteroth
3fb85fc64c
Add renovate group for vega lite
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-07 23:07:48 +02:00
Tilman Vatteroth
af887877aa
Add context for iframe communicator in editor page ( #1146 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-03 12:59:14 +02:00
Renovate Bot
6e43ec99a3
Update dependency abcjs to v6.0.0-beta.32
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-03 09:59:38 +02:00
Renovate Bot
65bdf54579
Update dependency d3-graphviz to v4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-03 09:58:56 +02:00
Renovate Bot
668ea0ea49
Update JS test packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-03 09:47:39 +02:00
Renovate Bot
3f5a3870c9
Update dependency @types/mermaid to v8.2.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-03 09:47:17 +02:00
Renovate Bot
ef7f3c6888
Update dependency ts-loader to v8.1.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-03 09:38:30 +02:00