Commit graph

685 commits

Author SHA1 Message Date
Philip Molares
9f7a106834
added markdown export (#627) 2020-10-06 12:43:17 +02:00
Philip Molares
4984008aff
fixed help modal width (#644)
after we added tabs in the help modal, the modal doesn't need to be xl anymore as it has way to much empty space that way.
2020-10-06 12:41:47 +02:00
Erik Michelson
9b6fca29e8
Add common download helper (#628)
* Refactor download functions into a common helper function

* Removed unused import
2020-10-03 22:38:46 +02:00
renovate[bot]
c0d05904b2
Update dependency i18next to v19.8.1 (#643)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 22:27:29 +02:00
Philip Molares
460aef6ffe
added 'gitlab snippet' item to import and export menus (#624) 2020-10-03 20:38:22 +02:00
renovate[bot]
4d28ebe21f
Update definitelyTyped (#630)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 11:04:16 +02:00
renovate[bot]
51612a5286
Update dependency i18next to v19.8.0 (#636)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 11:03:03 +02:00
renovate[bot]
73cbf17aca
Update dependency mermaid to v8.8.1 (#638)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 10:46:09 +02:00
renovate[bot]
0d119b3ab2
Update dependency vega to v5.17.0 (#639)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 10:44:24 +02:00
renovate[bot]
b2d9937b25
Update dependency vega-lite to v4.16.8 (#640)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 10:42:42 +02:00
renovate[bot]
98da6765cb
Update linters (#641)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 10:41:58 +02:00
renovate[bot]
3e6b4379c2
Update dependency highlight.js to v10.2.1 (#635)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 10:40:30 +02:00
renovate[bot]
a5323f0a30
Update dependency cypress to v5.3.0 (#634)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 10:39:31 +02:00
renovate[bot]
6ec56a8bb9
Update dependency copy-webpack-plugin to v6.2.0 (#633)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 10:37:56 +02:00
renovate[bot]
ddb8b20b05
Update dependency @testing-library/user-event to v12.1.7 (#632)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 10:37:09 +02:00
renovate[bot]
e4ca86206a
Update dependency @craco/craco to v5.7.0 (#631)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 10:35:36 +02:00
Philip Molares
20e296cb9b
replaces moment with luxon (#621) 2020-10-02 14:00:29 +02:00
mrdrogdrog
733df9b94a
replace allowedChars with not-whitespace (#617) 2020-09-30 23:58:31 +02:00
Philip Molares
1ab9b58031
Extract clean title from first heading (#616)
* removed first-header-extractor
get first heading from markdown rende
* don't remove editor or renderer just hide them
this way both are always up to date and can be shown very fast
* extracted image alt attribute into first title. too
* added tests as suggested by @mrdrogdrog
2020-09-30 23:50:32 +02:00
Tilman Vatteroth
192f66d169 Use right clear error
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-09-30 23:38:36 +02:00
Erik Michelson
091b225672
Add caching of user-data (#568)
* Add caching of user-data for 600 seconds

* Make cache-entry interface commonly usable

* Extract revision types

* Remove revision-cache rule

* Use seconds as cache-time interval (Date.now uses milliseconds)

* Fix import error

* Extract cache logic into common cache-class

* Add cache class that was forgotten to commit in last commit

* Start adding unit tests

* Fix bug detected during unit-testing

* Add unit tests for cache

* Made entry-limit test more explicit

* Renamed files to lower-case starting letter
2020-09-30 23:37:57 +02:00
Erik Michelson
0f31c3b0b4
Autocompletion and toolbar button for collapsable blocks (#615)
* Add autocompletion for <details construct

* Add toolbar button for <details>-construct

* Added CHANGELOG notice
2020-09-30 23:35:10 +02:00
mrdrogdrog
2b6ba82b4b
Set wasmfolder (#619) 2020-09-30 23:22:17 +02:00
mrdrogdrog
5381f8ed90
Fix render pane scrolling (#613) 2020-09-30 20:31:04 +02:00
Erik Michelson
01a68b1efe
Change element.io links to matrix.to links (#614)
* Change element.io links to matrix.to links

Following to the discussion in codimd/server#496, this commit changes element.io links to matrix.to in the new react-client as well.

* Updated cypress test for new link
2020-09-30 18:19:17 +02:00
Renovate Bot
9f58f93fc6 Update dependency vega-lite to v4.16.7 2020-09-27 00:08:32 +02:00
Renovate Bot
ad81c18c4c Update dependency markmap-lib to v0.8.1 2020-09-26 21:34:05 +02:00
Renovate Bot
85d01ec874 Update dependency @cypress/webpack-preprocessor to v5.4.6 2020-09-26 10:50:13 +02:00
Renovate Bot
25d2518906 Update dependency vega to v5.16.1 2020-09-26 10:12:46 +02:00
Renovate Bot
abeed703ae Update dependency codemirror to v5.58.1 2020-09-26 10:06:57 +02:00
Renovate Bot
7c066c4618 Pin dependency webpack-bundle-analyzer to 3.9.0 2020-09-26 10:06:21 +02:00
Renovate Bot
7706dea5a6 Update JS test packages 2020-09-26 10:05:04 +02:00
Renovate Bot
ade44d0fab Update dependency i18next-http-backend to v1.0.21 2020-09-26 10:03:58 +02:00
Renovate Bot
a602b43e0e Update dependency moment to v2.29.0 2020-09-26 09:59:57 +02:00
Renovate Bot
5c9a073d43 Update dependency react-i18next to v11.7.3 2020-09-26 09:59:04 +02:00
Renovate Bot
4d268c0329 Update dependency vega-lite to v4.16.2 2020-09-26 09:55:14 +02:00
mrdrogdrog
101292da92
Feature/lazy load components (#590) 2020-09-26 09:54:17 +02:00
Philip Molares
9c38655a92
fixed highlight fence in regard to '=' (showLines) and '!' (wrapLines) (#594)
this was just a simple index problem. The 0. entry of a regex result is the whole string and not the first capture group

added e2e tests to fix this in the future
cypress does currently not support copy to clipboard in firefox so this part of the test is commented out (for the time being)
2020-09-22 23:17:19 +02:00
Erik Michelson
23972ffb16
Add webpack-bundle-analyzer as dev-tool (#591)
* Add webpack-bundle-analyzer as dev-tool

* Add README information about bundle analysis
2020-09-20 23:22:37 +02:00
mrdrogdrog
985abe230e
Remove unused prop (#589)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-09-20 22:55:31 +02:00
mrdrogdrog
cece089a54
fix badges in readme (#588) 2020-09-20 16:28:54 +02:00
renovate[bot]
0cebb29ec6
Pin dependencies (#587)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-19 22:28:25 +02:00
Philip Molares
8e8190b800
Add copy-to-clipboard-button to all code blocks (#566)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Co-authored-by: mrdrogdrog <mr.drogdrog@gmail.com>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-09-19 22:24:49 +02:00
Philip Molares
005c80ff55
added markmap support to the markdown-renderer (#572)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-09-19 20:34:44 +02:00
renovate[bot]
204f2deb5a
Pin dependencies (#585)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-19 20:15:33 +02:00
Philip Molares
cac9b7ea37
Expand image button (#570)
added full-screen image modal when clicking on img's

Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2020-09-19 20:12:57 +02:00
Philip Molares
553cd3577d
add vega-lite diagram (#574)
added vega-lite diagrams
Update CHANGELOG.md

Co-authored-by: mrdrogdrog <mr.drogdrog@gmail.com>
2020-09-19 19:34:24 +02:00
Renovate Bot
0f6ea38140 Update dependency copy-webpack-plugin to v6.1.1 2020-09-19 12:25:29 +02:00
Renovate Bot
70eddded41 Update dependency ts-loader to v8.0.4 2020-09-19 12:12:03 +02:00
Renovate Bot
061193afd1 Update dependency typescript to v4.0.3 2020-09-19 12:11:33 +02:00