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
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
Tilman Vatteroth
908a5ce984
Rewrite tests ( #948 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-15 21:54:43 +00: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
Tilman Vatteroth
3db6bcf892
Improve tests ( #944 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-11 22:22:11 +00: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]
faf953d0fa
Update dependency react-bootstrap to v1.4.3 ( #928 )
...
* Update dependency react-bootstrap to v1.4.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
* Fix as ToggleButtons require now enums instead of booleans
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Remove memo
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-09 15:30:20 +01:00
renovate[bot]
1b90cc4c6e
Update dependency js-yaml to v4 ( #934 )
...
* Update dependency js-yaml to v4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
* Replace yaml.safeLoad with yaml.load as its safe now by default
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Update @types/js-yaml
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Regenerate yarn.lock
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-09 15:12:43 +01:00
Philip Molares
bac52ddb7a
fixed toolbarButtonUtils.test.ts ( #920 )
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-07 17:25:16 +01:00
Philip Molares
45cd5a9b89
added shortcut for addLink (ctrl+k) ( #921 )
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-07 17:21:02 +01:00
Tilman Vatteroth
4459dc742f
Move yaml-array warning to documentrenderpane ( #916 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-07 16:24:06 +01:00
Tilman Vatteroth
dc8ac6e3d8
Use yaml-array in demo content
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-07 16:11:21 +01:00
Tilman Vatteroth
28600d6508
Change copyright year from 2020 to 2021 ( #917 )
...
* Change copyright year from 2020 to 2021
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Change copyright year in jetbrains copyright template
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-06 21:37:59 +01:00
Tilman Vatteroth
887c3b9dd3
Feature/browserstack ( #902 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-06 13:09:33 +01:00
Erik Michelson
b2cf2f134e
Add ability to use yaml-array for tags ( #874 )
2021-01-04 13:01:34 +01:00
Tilman Vatteroth
bf42b9c460
Minor fixes ( #911 )
...
* Replace full links
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Use dark mode hook
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Add overflow for graphviz and abc
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Cap max height of toc overlay
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Remove extension from css import
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Fix hook
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-03 00:19:10 +01:00
Tilman Vatteroth
6dc6adf270
Remove first draw hook
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-12-24 10:16:48 +01:00
Tilman Vatteroth
23a1e30c3a
Replace youtube link with a working one
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-12-23 20:38:35 +01:00
Erik Michelson
95c563255d
Add support for editor-mode URL parameters ( #873 )
2020-12-22 21:45:11 +01:00
Erik Michelson
721c8c0e5a
Enhance share dialog ( #860 )
2020-12-22 21:17:40 +01:00
Philip Molares
1b563f7f89
fix pasting text ( #871 )
...
* fix onPast bug in editor
the event was prevented, if event.clipboardData.files was defined. This always the case. Now we check if this filelist object has at least on entry to start the onPaste handler for file uploads.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
* added e2e test that verifies that pasting text still works
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-12-21 11:58:43 +01:00
Philip Molares
0c0841639a
added upload functionality ( #758 )
...
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-12-16 23:07:09 +01:00
Tilman Vatteroth
8ce344512c
Use fira code in editor ( #695 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-12-14 23:58:46 +01:00
Tilman Vatteroth
79171a8456
Move highres image ( #857 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-12-13 16:31:55 +01:00
Philip Molares
48d78d9839
fixed table-picker.tsx ( #836 )
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-12-11 23:41:07 +01:00
Tilman Vatteroth
fee1605636
Add custom language list for highlight js without 1c ( #809 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-12-07 21:36:14 +01:00
Philip Molares
64edb05204
removed the f9 shortcut to sort all lines in a pad ( #814 )
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-12-02 22:45:55 +01:00
Philip Molares
a24ef18dd4
added table overlay to table toolbar button. ( #763 )
...
Co-authored by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-11-29 13:17:40 +01:00
Tilman Vatteroth
74fd6d0630
Split scss vars for themes ( #802 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-11-28 22:08:18 +01:00
renovate[bot]
fda558d649
Update dependency markdown-it-anchor to v6 ( #642 )
...
* Update dependency markdown-it-anchor to v6
* Set initial slug-count offset on duplicate headings to 1 instead of 2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 22:05:17 +01:00
Philip Molares
63de77ccdd
fixed avatar url as we moved it in the reuse pr
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-11-25 14:58:40 +01:00
Philip Molares
c09aaf010c
use types from markdown-it-toc-done-right plugin ( #665 )
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-11-23 12:40:54 +01:00
Philip Molares
f3bf7cd105
Added reuse information ( #782 )
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-11-22 21:50:07 +01:00
mrdrogdrog
42cbb51bfa
Feature/hedgedoc logo ( #606 )
2020-11-15 21:37:39 +01:00
renovate[bot]
8b8eff7b46
Update dependency emoji-picker-element to v1.3.0 ( #744 )
...
* Update dependency emoji-picker-element to v1.3.0
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-11-07 17:41:37 +01:00
mrdrogdrog
e73661d406
Refactor emoji code ( #720 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-11-04 21:33:52 +01:00
Philip Molares
c9fe4e4887
moved alertContainer to basic renderer from full renderer ( #736 )
2020-10-31 20:22:55 +01:00
mrdrogdrog
1690a7bdcf
Improvement/move document content into redux ( #691 )
2020-10-28 22:15:00 +01:00
Tilman Vatteroth
0750695e2f
extract scroll code from renderer into hook
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-10-28 21:49:18 +01:00
mrdrogdrog
4603e3988a
Extract view mode shortcut code into hook ( #688 )
2020-10-28 11:35:24 +01:00
mrdrogdrog
c6d2aa76ca
extract code into useFirstDraw hook ( #689 )
2020-10-28 11:34:21 +01:00
mrdrogdrog
819b36a137
Use editor-preference-select for spell check ( #694 )
2020-10-28 11:32:44 +01:00
mrdrogdrog
460badb97b
Update multiple packages ( #719 )
...
* Update multiple packages
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- eslint-config-react-app
- eslint-config-standard
- react-scripts
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* fix type
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* deduplicate code
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Disable test because it doesn't work
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* repair service worker
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Lazy load mermaid
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* use show error
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* fix tsconfig in cypress
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* fix import integration test
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-10-25 21:17:59 +01:00
mrdrogdrog
0d2c2fe0ee
Replace empty components with hooks ( #666 )
2020-10-12 22:33:23 +02:00
Erik Michelson
9e9108ec9a
Add read-only view (/s/note) ( #563 )
...
* Update Link classes to allow tooltips/titles
* Added read-only-view, Move note title extraction into separate file
(cherry picked from commit be23083ca3966f26b1b841d5cf4f21e299c8a55a)
(cherry picked from commit cbc595d3fc336b0a649c396dfae30fa08082384c)
* Optimized look of document-infobar
(cherry picked from commit 0176668b156da3fd7c534161a839ca0e3495119c)
# Conflicts:
# src/components/editor/document-bar/document-info/document-info-time-line.tsx
* Show help-button only in Editor-variant of AppBar
(cherry picked from commit 3c26e1619c774fe162cb3d8fae9e79ced92c9c3e)
* Update CHANGELOG
(cherry picked from commit d0d29e7d408515cc8f86df45d13fff60d741873e)
* Move motd-banner to top of page
(cherry picked from commit 43a9a274bf5da3fdf640ec905ab38153c81b014b)
* Refactor isInline to size property
(cherry picked from commit cb4ee74b7c97ec9711946f28924e9c890b752ea3)
# Conflicts:
# src/components/editor/document-bar/document-info/document-info-time-line.tsx
* Add size attribute to user-avatar
(cherry picked from commit 9629b58911b9d4f3aed81ef8c271fbc8e5a15aa4)
* Add mode-enum to app-bar
(cherry picked from commit 08f95be58974468c1e2897b475e5e3235b79c230)
* Split DocumentRenderPane into scrollable- and non-scrollable variant
(cherry picked from commit 44dd27edfd967745c548f7ae1fd2047e812cdc22)
* Removed unnecessary className
2020-10-12 21:58:00 +02:00
mrdrogdrog
02ae83ba5e
Updates twemoji.ttf with a new version that is built for twemoji 13 ( #664 )
...
* Updates twemoji.ttf with a new version that is built for twemoji 13
* Rename font
2020-10-11 12:57:19 +02:00
mrdrogdrog
417a5dc798
Activate markdown folding ( #668 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-10-11 12:55:17 +02:00
Erik Michelson
5574f09ef5
Replace emoji-mart with emoji-picker-element ( #620 )
...
* Change dependencies
* Use emoji-picker-element instead of emoji-mart
* Optimize emoji-picker appeareance and data-source
* Add twemoji font to emoji-picker
* Add missing useEffect dependency
* Add emoji-shortcode map
* Include emoji-data into bundle and remove dynamic fetch
* Rename shortcode-map
* Fix emoji-picker being hidden on second attempt to open it
* Add support for skin-tone short-codes
* Remove whitespace line
* Don't reinitialize the picker on every open
* Fixed linting and test issues
* Update CHANGELOG entry
2020-10-10 23:12:17 +02:00
Erik Michelson
729ad652b3
Added markdown-file import ( #645 )
...
* Added markdown-file import
* Reset file input after read, don't add unnecessary blank lines
* Add cypress-file-upload dependency
* Add cypress tests for md file importing
* Added CHANGELOG entry
2020-10-09 21:26:04 +02:00