Commit graph

1134 commits

Author SHA1 Message Date
Renovate Bot
f215deae78 Update dependency ts-loader to v9.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-08 22:11:54 +02:00
Renovate Bot
a710683a8b Update dependency cypress-file-upload to v5.0.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-08 22:11:40 +02:00
Renovate Bot
3f498f7b95 Update definitely typed
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-08 22:11:23 +02:00
Tilman Vatteroth
a48b4f60bb
Change schema of url environment variables (#1237)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-05-05 22:33:30 +02:00
Tilman Vatteroth
41e493c8bc
Replace bash dependency with nodejs script (#1238)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-05-05 22:02:18 +02:00
Erik Michelson
3887de4309
The History PR: III - Editor integration (#1158)
* Update history on editor load and title change

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Add pinning to history from sidebar

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Add CHANGELOG entry

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Only update local history entries

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Update property names to match backend ones

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Show error notification on failure

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Apply requested changes from review

- rename use hook to reflect the situation that only local entries will be updated
- extract the update ready check from the hook
- rename vars to make comparison more clear

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-05-04 20:35:08 +02:00
Erik Michelson
726b084509
Fix task list checkboxes for numbered lists (#1233)
* Fix replacer regex

This regex handles the replacement of the [ ] with [x] and reverse.
Until now it was build to check for an unordered list beginning with "*" or "-".
This change permits "+" as well as digits followed by a dot (ordered lists).

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Add cypress tests for task lists

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Add bracket syntax for numbered lists

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-05-04 20:34:16 +02:00
Tilman Vatteroth
eac288cebc Fix spinner visibility on intro-page
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-05-03 22:49:06 +02:00
Tilman Vatteroth
0264e9a420
Fetch banner.txt from public URL instead of config (#1216) 2021-05-03 19:57:55 +00:00
Tilman Vatteroth
e1d096ba1d
Don't show error if no intro.md was found (#1221) 2021-05-03 19:56:44 +00:00
renovate[bot]
fcefb32f1b
Lock file maintenance (#1231)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-03 11:19:54 +02:00
Tilman Vatteroth
2c5a03b3ee
Restructures + New Evironment Variables (#1230)
* Use document base uri for react router

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Rename getAndSetUser to fetchAndSetUser

Getter should be reserved for simple get functions.
Everything that does a bit more logic should use a more meaningful verb.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Rename getFrontPageContent to fetchFrontPageContent

Getter should be reserved for simple get functions.
Everything that does a bit more logic should use a more meaningful verb.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Reformat code

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Use PUBLIC_URL env var in index.html

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Introduce new environment variables

For better testing (especially if you have multiple endpoints) this commit introduces
REACT_APP_BACKEND_BASE_URL, REACT_APP_FRONTEND_ASSETS_URL and REACT_APP_CUSTOMIZE_ASSETS_URL

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Remove redundant license information

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Remove redundant license information

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Fix rebase issues

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Remove unused file

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Correct parameter

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Fix run tasks

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Force use of bash

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Fix link to cypress picture

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* revert change

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* fix url

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Remove license info

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Revert rebase issues

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Add missing banner code

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Fix test url

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Useless change to trigger github

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Don't set backend base url because this break the mock mode detection

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

Co-authored-by: Philip Molares <philip.molares@udo.edu>
2021-05-02 22:38:43 +02:00
Philip Molares
9cf7980334
Fix Communication between frontend and backend (#1201)
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-05-01 21:01:42 +00:00
Renovate Bot
4a18e51c83 Update dependency mermaid to v8.9.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-01 09:47:49 +02:00
Renovate Bot
3582227be4 Update definitely typed
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-01 09:47:30 +02:00
Renovate Bot
940b133c50 Update dependency @craco/craco to v6.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-01 09:47:08 +02:00
Renovate Bot
0617438f4f Update dependency @testing-library/user-event to v13.1.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-01 09:46:37 +02:00
Renovate Bot
34b81d5819 Update dependency cypress to v7.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-01 09:46:16 +02:00
Renovate Bot
0596159262 Update i18next
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-01 09:44:09 +02:00
Tilman Vatteroth
b91ae18f0b Add license for nvmrc
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-28 18:48:53 +02:00
Tilman Vatteroth
71cff91d46 Add .nvmrc with node 15
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-28 18:48:53 +02:00
Renovate Bot
3331686699 Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-26 20:33:51 +02:00
Philip Molares
f01a821810
Reuse: Fix typo in HedgeDoc Icon Usage Guidelines (#1215)
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-25 22:04:43 +02:00
Renovate Bot
f64b151aea Update dependency redux to v4.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-25 15:09:05 +02:00
Renovate Bot
7657d1ebff Update dependency react-redux to v7.2.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-25 15:08:43 +02:00
Renovate Bot
2fcd4c141e Update dependency katex to v0.13.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-24 23:33:35 +02:00
Erik Michelson
003658dc4d
The History PR: II - Add URL params (#1157)
* Add location state dependency

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Split toolbar state into single location states

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Add CHANGELOG entry

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Pin dependency

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Use react state for view because of side-effects

The locationState was resetted on each search or tags filter update because these updates pushed a change to the location thus resulting in loss of the location state for the view.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Remove unneeded import

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Change CHANGELOG entry

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Removed unnecessary typecast

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-04-24 23:25:01 +02:00
Renovate Bot
d6eabae1b1 Update dependency codemirror to v5.61.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-24 22:03:34 +02:00
Renovate Bot
78497fc4c0 Update dependency abcjs to v6.0.0-beta.33
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-24 22:03:06 +02:00
renovate[bot]
94ff43cdf6
Update dependency ts-loader to v9 (#1211)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-24 19:38:36 +02:00
renovate[bot]
9346aa4ad7
Update dependency react-use to v17.2.4 (#1208)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-24 19:24:54 +02:00
renovate[bot]
d397ad67a0
Update jest (#1210)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-24 19:20:33 +02:00
renovate[bot]
d6659f4601
Update dependency eslint-plugin-flowtype to v5.7.2 (#1207)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-24 19:18:27 +02:00
renovate[bot]
9b87a7a0fb
Update definitely typed (#1204)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-24 15:32:05 +02:00
Erik Michelson
8e5a667d18
The History PR: I - Move to redux (#1156) 2021-04-22 22:46:24 +02:00
Philip Molares
bba2b207c4
TablePicker: Change table cells in picker (#1202)
- Fix error that the border of table cells was invisible in dark mode
- Add margin to table cells
- Add full border to table cells
- Change border-color while hovering over table cells

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-22 12:55:51 +02:00
renovate[bot]
9d8ce946e8
Lock file maintenance (#1200)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-19 13:25:50 +02:00
Renovate Bot
523f1d9105 Update actions/cache action to v2.1.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-17 07:49:03 +02:00
Renovate Bot
87de556ace Update definitely typed
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-17 07:48:43 +02:00
Renovate Bot
dcbd833cb5 Update dependency @testing-library/cypress to v7.0.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-17 07:48:27 +02:00
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