Commit graph

5647 commits

Author SHA1 Message Date
Renovate Bot
559bd1a915 Update dependency mermaid to v8.9.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-23 11:12:58 +01:00
Renovate Bot
34bbd9e307 Update dependency vega to v5.19.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-23 11:11:58 +01:00
Renovate Bot
93d6c1825e Update dependency @types/react-redux to v7.1.16
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-23 11:10:53 +01:00
Renovate Bot
04b901ca1f Update dependency @testing-library/user-event to v12.6.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-23 10:09:38 +00:00
Renovate Bot
9a6704e8af Update dependency i18next-http-backend to v1.0.22
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-23 11:08:55 +01:00
Renovate Bot
e3ca7dde03 Update dependency webpack-bundle-analyzer to v4.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-23 11:07:54 +01:00
Renovate Bot
78dc05cc9e Update typescript-eslint monorepo to v4.14.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-23 11:07:32 +01:00
Tilman Vatteroth
c9168fcaa7
Limit attributes for external links (#950)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-16 09:08:23 +01:00
Renovate Bot
d4b69d5006 Update dependency @types/luxon to v1.25.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-16 09:02:42 +01:00
Renovate Bot
f8cce9ebe2 Update typescript-eslint monorepo to v4.13.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-16 09:02:18 +01:00
renovate[bot]
4b77a795b0
Update dependency @testing-library/jest-dom to v5.11.9 (#954)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-16 02:58:28 +01:00
renovate[bot]
eaa46e5f0b
Pin dependency @types/markdown-it-plantuml to 1.4.0 (#953)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-16 02:57:22 +01:00
Philip Molares
d838b2c2d4
Removed some types as the package comes with it own types now (#949) 2021-01-15 23:16:39 +01:00
Tilman Vatteroth
908a5ce984
Rewrite tests (#948)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-15 21:54:43 +00:00
Tilman Vatteroth
9f6b1a9a46
Fix counter continue in highlighted-fence-replacer.tsx (#943)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-13 11:52:06 +01:00
Philip Molares
7be64bc582
added a spoiler container (#947)
changed toolbar to insert the new spoiler container
changed tests accordingly

References:
https://github.com/markdown-it/markdown-it-container
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-13 11:45:33 +01:00
Philip Molares
9330adf564
fixed title extraction to exclude latex code, but include rendered latex (#946)
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-12 18:18:56 +01:00
Tilman Vatteroth
3db6bcf892
Improve tests (#944)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-11 22:22:11 +00:00
Erik Michelson
e0e5f2a7dd
Add branch info to browserstack runs (#935) 2021-01-11 21:55:25 +01:00
Tilman Vatteroth
cb5283b1bf
Don't show "create table" overlay if modal is showing (#942)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-11 18:49:08 +01:00
Renovate Bot
ec41448867 Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-11 08:45:23 +01:00
Philip Molares
8a33f75cf9
Docs: Add interface documentation for the toolbar
This documentation explains HedgeDoc's toolbar to new users.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-10 21:51:08 +01:00
Renovate Bot
ece4df5aee
Update dependency @nestjs/cli to v7.5.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-17 09:08:29 +00:00
Renovate Bot
949abc21eb
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 21:43:40 +00:00
Philip Molares
ba553f28da
Tests: Rewrote AuthService unit test
The unit test now uses per test mocking of the necessary functions instead of one mock in the beforeEach call.
Also some tests got expanded to cover more error cases.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-06 13:14:26 +01:00
Renovate Bot
41d6121d51
Pin dependency nest-router to 1.0.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 21:07:58 +00:00
Philip Molares
a4075bff54
Config: Fix .env.example file
The old upload path was 'public/uploads'. As there is no public anymore, we should at least keep uploads.
So basically this is a typo fix

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-14 17:37:05 +01:00
Philip Molares
ea4ccc76e4
StaticServe: Fix serving images under uploads/
This did not work until now, because path and prefix were swapped.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-15 07:39:52 +01:00
Philip Molares
698dd1a634
PublicApi: Add correct prefix
Using nest-router for this purpose as it is a rather easy addition to our structure. As we don't add the Router to any e2e tests we don't need to change them.

fixes #523

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-15 10:26:12 +01:00
Philip Molares
0366cb491f
Media E2E Tests: Delete uploaded files after test
Remove uploaded files after media e2e tests ran
Remove /uploads/ folder after all media e2e tests ran
This way the uploads folder doesn't grow while working on other e2e tests

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-13 22:58:44 +01:00
Philip Molares
3ebea8ed77
MediaService: Add unit tests
The file test.zip is used to fail the saveFile test with 'MIME Type not supported'

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-13 22:12:19 +01:00
Philip Molares
c4289c9693
MediaService: Add JS-Docs to media service
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-13 22:06:33 +01:00
Renovate Bot
24a5f2646a
Update dependency typeorm to v0.2.31
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 19:17:45 +00:00
Renovate Bot
4979b9c5bc
Update dependency @types/node to v13.13.42
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 19:14:30 +00:00
Renovate Bot
540aae7dd5
Update dependency class-transformer to v0.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 19:14:45 +00:00
Renovate Bot
96fd807d37
Update linters to v4.15.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 19:09:10 +00:00
Renovate Bot
5d1854483b
Update dependency sqlite3 to v5.0.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 19:08:39 +00:00
Philip Molares
c4875ff8ca
Package.json: Switch yarn format and format:check
Make `yarn format` check the files and `yarn format:fix` do the actually
fixing

fixes #920

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-16 10:28:55 +01:00
Renovate Bot
9b211cec6f
Update dependency eslint to v7.20.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 00:59:10 +00:00
Renovate Bot
9338d2c2cd
Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 22:27:03 +00:00
Renovate Bot
08a02de19b
Update dependency typescript to v4.1.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 22:21:49 +00:00
Renovate Bot
0ee37cf37b
Update dependency ts-jest to v26.5.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 22:21:20 +00:00
Renovate Bot
f3f3708451
Update dependency ts-loader to v8.0.17
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 22:17:13 +00:00
Renovate Bot
d8f3792bf1
Update dependency mkdocs-material to v6.2.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 22:11:16 +00:00
Renovate Bot
be8e06032c
Update dependency joi to v17.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 22:11:05 +00:00
Renovate Bot
8ce096b7f5
Update dependency @types/node to v13.13.41
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 22:03:57 +00:00
Renovate Bot
38151e4702
Update NestJS packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 21:55:30 +00:00
Hugo Peixoto
06bcb4ae1a
Remove license of deleted file
config.json.example was deleted, but the license file was not. This
removes the leftover file.

Signed-off-by: Hugo Peixoto <hugo.peixoto@gmail.com>
2021-02-10 09:57:30 +00:00
Philip Molares
5edf5f1676
Tests: Fix GET /me e2e test
Since the /me route does work now, we should reactivate (and fix) this test, too.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-03 16:20:27 +01:00
Philip Molares
07dc15b127
Dev Docs: Add configuration to navigation
This makes it possible to access the developer documentation about configuration code.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-03 20:58:16 +01:00