Philip Molares
33648f1645
Added flowchart diagrams ( #510 )
...
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: mrdrogdrog <mr.drogdrog@gmail.com>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2020-08-29 23:56:27 +02:00
Renovate Bot
6919f5e4fb
Update dependency @cypress/webpack-preprocessor to v5.4.5
2020-08-29 11:18:26 +02:00
Renovate Bot
65f3918fe6
Update dependency @testing-library/user-event to v12.1.3
2020-08-29 11:18:07 +02:00
Renovate Bot
d3ffae5e23
Update dependency @types/react to v16.9.48
2020-08-29 11:17:50 +02:00
Renovate Bot
50c2e4df63
Update dependency react-i18next to v11.7.2
2020-08-29 11:17:31 +02:00
Renovate Bot
5a43796cb7
Update dependency ts-loader to v8.0.3
2020-08-29 11:17:10 +02:00
Renovate Bot
1f80ddbf0f
Update typescript-eslint monorepo to v3.10.1
2020-08-29 11:16:53 +02:00
Renovate Bot
1c046ec123
Pin dependencies
2020-08-29 11:16:20 +02:00
mrdrogdrog
ef36123377
Replace MathJax with KaTeX ( #497 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-27 15:13:35 +02:00
renovate[bot]
d488c8e2ad
Update dependency @testing-library/user-event to v12.1.2 ( #480 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-23 01:50:08 +02:00
Renovate Bot
1af74d5292
Update dependency @testing-library/jest-dom to v5.11.4
2020-08-22 13:32:07 +02:00
Renovate Bot
5031b5eca3
Update dependency cypress to v5
2020-08-22 11:08:33 +02:00
Renovate Bot
a8598476ea
Update dependency i18next-browser-languagedetector to v6.0.1
2020-08-22 11:06:22 +02:00
Renovate Bot
f82130ca25
Update dependency typescript to v4
2020-08-22 10:55:47 +02:00
Renovate Bot
d0e274a201
Update typescript-eslint monorepo to v3.9.1
2020-08-22 10:51:39 +02:00
Renovate Bot
6089c534ef
Update dependency react-i18next to v11.7.1
2020-08-22 10:51:24 +02:00
Renovate Bot
c2c3d4d3ee
Update dependency i18next to v19.7.0
2020-08-22 10:50:32 +02:00
Renovate Bot
85c89eba87
Update dependency codemirror to v5.57.0
2020-08-22 10:50:12 +02:00
Renovate Bot
cc43885193
Update JS test packages
2020-08-22 10:49:24 +02:00
mrdrogdrog
164b5436ae
Use prod build for e2e tests ( #432 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-19 22:43:56 +02:00
Tilman Vatteroth
d6646ac3e9
Add resolution for cypress
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-19 22:22:50 +02:00
renovate[bot]
f9caf0e10c
Update definitelyTyped ( #411 )
...
* Update definitelyTyped
* regenerate yarn.lock
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-15 15:51:06 +02:00
Philip Molares
0200015ec0
removed the unused dependency start-server-and-test
2020-08-15 15:19:39 +02:00
renovate[bot]
fca0c92730
Update dependency start-server-and-test to v1.11.3 ( #417 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-15 02:47:06 +02:00
renovate[bot]
32f60f22ab
Update dependency i18next-http-backend to v1.0.18 ( #414 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-15 02:42:57 +02:00
renovate[bot]
c85511178d
Update dependency @testing-library/jest-dom to v5.11.3 ( #413 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-15 02:34:42 +02:00
renovate[bot]
3e338adc57
Update dependency react-bootstrap-typeahead to v5.1.1 ( #415 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-15 02:34:07 +02:00
renovate[bot]
c5e333a8b2
Update dependency redux-devtools to v3.6.1 ( #416 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-15 02:33:32 +02:00
renovate[bot]
090a5d0799
Update typescript-eslint monorepo to v3.9.0 ( #418 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-15 02:32:46 +02:00
renovate[bot]
5fc37eb839
Update dependency i18next-browser-languagedetector to v6 ( #419 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-15 02:30:59 +02:00
renovate[bot]
f0bf0dc902
Update dependency @cypress/webpack-preprocessor to v5.4.4 ( #412 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-15 02:30:04 +02:00
Philip Molares
c8c5569426
updated react-scripts
2020-08-14 11:35:41 +02:00
Renovate Bot
1dfbc25aff
Update dependency @types/react to v16.9.45
2020-08-08 12:56:34 +02:00
Renovate Bot
0b51722ac1
Update dependency cypress to v4.12.1
2020-08-08 10:41:59 +02:00
Renovate Bot
f207296062
Update typescript-eslint monorepo to v3.8.0
2020-08-08 09:25:38 +02:00
Renovate Bot
0e61034eff
Update JS test packages
2020-08-08 07:17:43 +00:00
Renovate Bot
c7f8ba7836
Update dependency @types/jest to v26.0.9
2020-08-08 09:17:11 +02:00
Renovate Bot
bf2f73cfb8
Update dependency i18next-browser-languagedetector to v5.0.1
2020-08-08 09:16:19 +02:00
Renovate Bot
d725398424
Update dependency bootstrap to v4.5.2
2020-08-08 09:15:33 +02:00
Philip Molares
c410a58573
Add emoji picker ( #329 )
...
* Added emoji-mart as emoji-picker
* Fixed JSON to TypeScript-object parsing
* added fork awesome to emoji-picker
added ForkAwesomeIcons enum, because it's not possible to iterate over a typescript type consisting of strings [1]. This is a bit unfortunate since we now have two lists of all the fork awesome icons, but sadly it can not be done another way.
added fork awesome as a custom category to the emoji picker.
[1]: https://stackoverflow.com/questions/40863488/how-to-iterate-over-a-custom-literal-type-in-typescript
* made picker close, when clicking away
added react-use dependency for useClickAway hook
* Fixed emoji-picker loading images from unpkg instead of using font
* fixed addEmoji function
added tests
* Extract customIcons into useMemo
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-07 18:54:37 +02:00
Philip Molares
fc2e2bd592
Add codemirror keybindings and addons ( #311 )
...
* added codemirror addons
- fullScreen
- autorefresh
added a default:
- extraKeys
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: mrdrogdrog <mr.drogdrog@gmail.com>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2020-08-06 13:43:48 +02:00
Jakob Klepp
fe2f7403aa
Add plantuml support ( #327 )
...
* Add plantuml support
* Enable PlantUML rendering only if plantumlServer config is set
* Show warning box when plantuml is enabled but no server is configured
2020-08-04 11:15:23 +02:00
Renovate Bot
6add1b2f1f
Update definitelyTyped
2020-08-01 16:17:17 +02:00
Renovate Bot
e790ce13b6
Update dependency redux-devtools to v3.6.0
2020-08-01 16:17:05 +02:00
Renovate Bot
1fab8426a4
Update dependency ts-loader to v8.0.2
2020-08-01 16:16:51 +02:00
Renovate Bot
5b9cf083c3
Update JS test packages
2020-08-01 16:16:38 +02:00
Renovate Bot
5138771201
Update typescript-eslint monorepo to v3.7.1
2020-08-01 13:52:03 +00:00
Philip Molares
d0fc96b929
rework how the frontend is started ( #361 )
...
renamed frontend-config to api-url
renamed backend-config to config
removed api call to set frontend-config as the frontend either know where the backend is as it is delivered by it or get's this information via the enviroment variable REACT_APP_BACKEND
always start the client on Port 3001 as the backend will run on 3000 during development. changed the port on multiple occasions to accommodate for this
added package.json script 'start:dev'
changed README to better explain how to run backend and frontend side-by-side
2020-07-29 22:58:01 +02:00
Renovate Bot
affd9354e3
Update dependency react-redux to v7.2.1
2020-07-25 21:24:02 +02:00
Renovate Bot
7b77c5a2ef
Update typescript-eslint monorepo to v3.7.0
2020-07-25 20:42:20 +02:00
Renovate Bot
056209a9d1
Update dependency react-bootstrap to v1.3.0
2020-07-25 20:34:15 +02:00
Renovate Bot
9b4d232b54
Update dependency start-server-and-test to v1.11.2
2020-07-25 19:23:06 +02:00
renovate[bot]
cf536aefa5
Update dependency i18next to v19.6.3 ( #353 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Philip Molares <git@molar.es>
2020-07-25 18:34:46 +02:00
Renovate Bot
5575df00c2
Update dependency highlight.js to v10.1.2
2020-07-25 18:03:40 +02:00
Renovate Bot
c88e2f9c1e
Update dependency codemirror to v5.56.0
2020-07-25 17:54:22 +02:00
Renovate Bot
42fefeb9a2
Update dependency @testing-library/user-event to v12.0.15
2020-07-25 17:52:17 +02:00
Renovate Bot
2a735a15aa
Update dependency @cypress/webpack-preprocessor to v5.4.2
2020-07-25 17:48:45 +02:00
Renovate Bot
0954c40b46
Update definitelyTyped
2020-07-25 17:39:48 +02:00
renovate[bot]
18e165d1ab
Update dependency cypress to v4.11.0 ( #340 )
...
* Update dependency cypress to v4.11.0
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Philip Molares <philip.molares@udo.edu>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-07-25 13:59:56 +02:00
Renovate Bot
6ef505e514
Pin dependency js-yaml to 3.14.0
2020-07-18 22:30:24 +02:00
Renovate Bot
33671f170a
Update dependency ts-loader to v8
2020-07-18 22:25:47 +02:00
Renovate Bot
435ef27641
Update dependency @types/jest to v26.0.5
2020-07-18 22:24:50 +02:00
Philip Molares
29709d2ba4
Add YAML-metadata for notes and change the document title accordingly ( #310 )
...
* Added yaml-frontmatter extracting and error handling
* add tests
* changed document-title, so the editor can change the title to the title of the yaml metadata. closes #303
* extracted first line parsing in a core rule of markdown-it
document title will now be determined like this:
1. yaml metadata title
2. opengraph title
3. first level one heading
4. 'Untitled'
* added documentTitle e2e test
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Philip Molares <philip@mauricedoepke.de>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: mrdrogdrog <mr.drogdrog@gmail.com>
2020-07-18 22:17:36 +02:00
renovate[bot]
07fed5c67e
Update typescript-eslint monorepo to v3.6.1 ( #339 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-18 02:47:31 +02:00
renovate[bot]
9915de86f5
Update dependency typescript to v3.9.7 ( #338 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-18 02:44:49 +02:00
renovate[bot]
67fce02f76
Update dependency @types/codemirror to v0.0.97 ( #335 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-18 02:41:01 +02:00
renovate[bot]
eb7ae240a4
Update dependency i18next-http-backend to v1.0.17 ( #337 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-18 02:39:47 +02:00
renovate[bot]
0577cc4294
Update dependency i18next to v19.6.2 ( #336 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-18 02:38:12 +02:00
renovate[bot]
100c772add
Update JS test packages ( #334 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-18 02:35:35 +02:00
renovate[bot]
bb3b685988
Pin dependencies ( #333 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-18 02:34:34 +02:00
Philip Molares
f0fe7f5ac2
added e2e tests ( #298 )
...
- added e2e tests for
- banner
- history
- intro
- language
- link
- added e2e workflow
- added cypress badge to README
2020-07-16 11:22:53 +02:00
renovate[bot]
1a5d4f6db8
Update dependency react-bootstrap to v1.2.1 ( #320 )
...
* Update dependency react-bootstrap to v1.2.1
* Fixed sort-button event name
With the upgrade to Bootstrap-React 1.2.1 the ButtonProps extend now React.HTMLAttributes which in favor extends the DOMAttributes interface. This interface defines almost every possible attribute for DOM-/HTML-elements.
Our SortButtonProps interface introduced an onChange event handler with a type matching our condition. With the BS-React upgrade the onChange event must not be redefined/overriden with this type and therefore I renamed it.
* updated react-bootstrap to 1.2.2
* fixed wrong prop name in HistoryToolbar
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Philip Molares <philip.molares@udo.edu>
2020-07-15 23:34:34 +02:00
renovate[bot]
12bd76a8c1
Update dependency @testing-library/react to v10.4.5 ( #318 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-12 01:18:49 +02:00
renovate[bot]
a0db095088
Update typescript-eslint monorepo to v3.6.0 ( #321 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-12 01:13:02 +02:00
renovate[bot]
41670a3daa
Update dependency i18next to v19.6.0 ( #319 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-12 01:09:52 +02:00
renovate[bot]
85c3e0b739
Update definitelyTyped ( #317 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-11 23:43:12 +02:00
renovate[bot]
079264bb72
Update dependency i18next-http-backend to v1.0.16 ( #307 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-04 03:40:36 +02:00
renovate[bot]
b1199e726f
Update dependency i18next to v19.5.4 ( #306 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-04 03:38:49 +02:00
renovate[bot]
74cecfc1e9
Update dependency eslint-plugin-flowtype to v5.2.0 ( #305 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-04 03:38:11 +02:00
renovate[bot]
949337e1bc
Update dependency typescript to v3.9.6 ( #308 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-04 03:26:40 +02:00
renovate[bot]
fb008c0634
Update typescript-eslint monorepo to v3.5.0 ( #309 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-04 03:22:19 +02:00
mrdrogdrog
50b04c8403
Add toc sidebar+dropdown ( #272 )
...
* Replace markdown-it-table-of-contents with markdown-it-toc-done-right
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Philip Molares <philip.molares@udo.edu>
Extract render window code
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Philip Molares <philip.molares@udo.edu>
add new package
fix stickyness
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
show toc sidebar only if there is enough space
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* add min height class
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Move markdown toc into own component
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* add sidebar buttons
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Use other button color
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Change name of component
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Fix merge issues and make toc work again
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* pin dependencies
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* remove blank line
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* pin dependency
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Fix anchors
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Add use memo
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Add change log entry for removal of custom slugify
2020-06-29 17:51:40 +02:00
renovate[bot]
17102d7d44
Update JS test packages ( #296 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-27 11:55:27 +02:00
renovate[bot]
fe8a5ed4d2
Update dependency eslint-plugin-import to v2.22.0 ( #295 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-27 11:53:58 +02:00
renovate[bot]
0c078d6d62
Update dependency codemirror to v5.55.0 ( #289 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-27 03:20:10 +02:00
renovate[bot]
6a7d077f02
Update typescript-eslint monorepo to v3.4.0 ( #292 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-27 03:14:33 +02:00
renovate[bot]
a3f5513167
Update dependency i18next to v19.5.1 ( #290 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-27 03:12:38 +02:00
renovate[bot]
63ae582099
Update definitelyTyped ( #285 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-27 03:07:18 +02:00
renovate[bot]
c29be50ce9
Update dependency react-bootstrap-typeahead to v5.1.0 ( #291 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-27 03:06:50 +02:00
renovate[bot]
a501bbcd65
Pin dependencies ( #284 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-27 02:45:45 +02:00
Erik Michelson
6bf214542e
Added image resizing support via markdown-it-imsize ( #262 )
2020-06-23 21:44:16 +02:00
Philip Molares
8133d565cf
added mathjax ( #250 )
...
added markdown-it-mathjax
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Philip Molares <philip@mauricedoepke.de>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-06-23 00:38:06 +02:00
mrdrogdrog
e03da3bd76
Feature/highlightjs ( #242 )
...
* Add highlighting for code blocks
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-06-22 22:39:14 +02:00
Erik Michelson
fd378cf89b
Added TOC and anchors for headings ( #243 )
...
* Added TOC support and anchors for headings
* Moved @types/markdown-it-anchor from devDependencies to dependencies
* Add subnode renderer
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Added node-replacer for toc generation
ul lists may not be nested inside a p element. Therefore replaces this replacer every p that has a div.table-of-contents inside of it with the div directly.
* Add index to replacer function
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Add TOC to example code
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Remove unused import
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Removed unnecessary div wrapper of toc
* Fixed toc-renderer
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-06-21 14:04:37 +02:00
Renovate Bot
2d4ecf6527
Pin dependencies
2020-06-20 21:09:23 +02:00
Philip Molares
ab2a73c6a8
added support for markdown-it-footnote
...
this makes it possible to use footnotes
2020-06-20 20:26:27 +02:00
mrdrogdrog
2c81b746aa
Add Alerts ( #234 )
...
* Add alert banners
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-06-20 20:17:33 +02:00
Philip Molares
4852727f92
added support for markdown-it-abbr ( #238 )
...
this makes it possible to use abbreviations like these
```
*[HTML]: Hyper Text Markup Language
*[W3C]: World Wide Web Consortium
The HTML specification
is maintained by the W3C.
```
Co-authored-by: Philip Molares <philip@mauricedoepke.de>
2020-06-20 19:29:46 +02:00
Philip Molares
09c21e4334
added support for markdown-it-deflist ( #240 )
...
this makes it possible to use definition lists like
```
Term 1
: Definition 1
with lazy continuation.
Term 2 with *inline markup*
: Definition 2
{ some code, part of Definition 2 }
Third paragraph of definition 2.
_Compact style:_
Term 1
~ Definition 1
Term 2
~ Definition 2a
~ Definition 2b
```
Co-authored-by: Philip Molares <philip@mauricedoepke.de>
2020-06-20 19:25:31 +02:00
Philip Molares
7ea5a6a221
added plugins
...
added the plugins:
- markdown-it-mark
- markdown-it-ins
- markdown-it-sub
- markdown-it-sup
2020-06-20 12:52:03 +02:00