Commit graph

5159 commits

Author SHA1 Message Date
Philip Molares
4c1f081399 ABCFrame text-color is always black
fixes #977

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-26 23:57:51 +01:00
Philip Molares
6ac60cfa65 fix under which domain the serve:build script runs the frontend
this makes the iframe work in this mode

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-25 15:49:59 +01:00
Renovate Bot
ddae4a1588 Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-25 13:09:56 +01:00
Tilman Vatteroth
0627e0f551
Replace document bar with sidebar (#937)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-24 21:39:47 +01:00
Tilman Vatteroth
586969f368
Wrap markdown rendering in iframe (#837)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-24 20:50:51 +01:00
Tilman Vatteroth
bd31076928
Update abc js to version 6-beta (#975)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-23 22:12:56 +01:00
Tilman Vatteroth
1777ba848f
Collected minor changes from #837 (#962)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-23 21:01:53 +00:00
Renovate Bot
0ef81eca5d Update dependency codemirror to v5.59.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-23 11:31:25 +01:00
Renovate Bot
381b76c93f Update dependency cypress-file-upload to v5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-23 11:29:22 +01:00
Renovate Bot
bc0eda222f Update dependency cypress to v6.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-23 11:23:30 +01:00
Renovate Bot
3c583e2a92 Update dependency emoji-picker-element to v1.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-23 11:16:06 +01:00
Renovate Bot
ca16843a74 Update dependency bootstrap to v4.6.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-23 11:14:05 +01:00
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