Commit graph

6259 commits

Author SHA1 Message Date
renovate[bot]
635eec02f7
Update dependency cypress to v5.4.0 (#679)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:24:19 +02:00
renovate[bot]
0008843747
Update dependency @cypress/webpack-preprocessor to v5.4.8 (#676)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:24:08 +02:00
renovate[bot]
f4874d5e41
Update dependency vega-lite to v4.17.0 (#684)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:07:14 +02:00
renovate[bot]
ac781c600f
Update dependency ts-loader to v8.0.5 (#683)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:06:51 +02:00
renovate[bot]
451be4f63a
Update dependency react-bootstrap-typeahead to v5.1.2 (#682)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:06:31 +02:00
renovate[bot]
d8a7a891a0
Update dependency bootstrap to v4.5.3 (#678)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:05:36 +02:00
renovate[bot]
1c1d98cae8
Update dependency @types/react to v16.9.53 (#677)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:05:08 +02:00
renovate[bot]
5afffc55b9
Update JS test packages (#675)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:04:10 +02:00
mrdrogdrog
8a8c043081
Set background or alternative colors for diagrams (#667) 2020-10-13 20:58:39 +02:00
mrdrogdrog
d5ee2f6d54
Update flowchart js (#674) 2020-10-13 15:55:15 +02: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
Philip Molares
36679753d7
updated flowchart.js to 1.14.2 (#671)
using types from the package instead of our own
2020-10-11 21:03:23 +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
renovate[bot]
75a4df27d2
Pin dependencies (#669)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-10 23:28:12 +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
Philip Molares
fe40d7247d
added missing button-inside css file in MarkmapFrame (#663) 2020-10-10 12:24:19 +02:00
Erik Michelson
053edb9ace
Add access token management to profile (#653)
* Add mock-files, API calls and overall tokens-UI

* Added ability to add tokens

* Added token deletion feature (based on timestamp)

* Replace mock-method by real API code

* Add cypress tests

* Added CHANGELOG information

* Un-access-ify i18n

* Set unique react-element key to timestamp of token-creation

* Remove 'now' from changelog

* Use @mrdrogdrog's suggestion for the info label
2020-10-10 11:38:32 +02:00
Renovate Bot
f72380edd1 Update dependency mermaid to v8.8.2 2020-10-10 09:51:35 +02:00
Renovate Bot
883cb1ba89 Update definitelyTyped 2020-10-10 09:51:07 +02:00
Renovate Bot
f2574b6d22 Pin dependency cypress-file-upload to 4.1.1 2020-10-10 09:50:49 +02:00
Renovate Bot
58c30720fe Update dependency copy-webpack-plugin to v6.2.1 2020-10-10 09:49:10 +02:00
Renovate Bot
e527763234 Update dependency i18next to v19.8.2 2020-10-10 09:48:36 +02:00
Renovate Bot
8f4b36e189 Update dependency uuid to v8.3.1 2020-10-10 09:47:55 +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
Philip Molares
c1d4ac1014
Markmap make mouse input toggle (#655)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-10-09 19:32:06 +02:00
Philip Molares
0670cddb0b
markdown-it-configurator (#626)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2020-10-08 22:24:42 +02:00
Erik Michelson
89968387c2
Enforce no warnings during linting (#654) 2020-10-08 21:15:39 +02:00
renovate[bot]
07364ff07b
Update dependency markmap-lib to v0.9.1 (#637)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: mrdrogdrog <mr.drogdrog@gmail.com>
2020-10-07 12:21:03 +02:00
Philip Molares
b094fe1de6
added js as an extra highlighted language (#646) 2020-10-06 14:20:23 +02:00
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
David Mehren
520046f8d4
Remove NoteUtils class, as the planned parsing logic is not needed anymore
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 17:36:01 +02:00
David Mehren
a04d5b29f9
Add missing TagRepository provider in unit tests
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 17:24:42 +02:00
David Mehren
9152f05c61
Add E2E tests for note metadata routes
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 16:45:04 +02:00
David Mehren
67cd8cb0f6
NotesController: Add PUT :noteIdOrAlias/metadata route
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 15:53:30 +02:00
David Mehren
08fd070bcb
NotesService: Implement updateNoteMetadata
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 15:52:49 +02:00
David Mehren
6541cfda4e
NoteEntity: Enable eager loading and cascades for tags
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 15:37:57 +02:00
David Mehren
99ab9f04c2
NotesService: Get metadata from database
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 11:27:15 +02:00
David Mehren
7d5dddaaaf
Add note metadata properties and Tag entity.
These were planned to be parsed at runtime from the note-content in the database, but having to run a markdown parser in the backend was found to be a bad idea. Now the frontend (that already implements the parsing logic) has to set title, description and tags.

Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 11:17:07 +02:00
David Mehren
990742e569
Note.alias should be optional in db schema
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 11:14:41 +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
David Mehren
566e95f95d
Add note metadata to db schema
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 11:02:03 +02:00
David Mehren
e30b16d91d
Public API: Cleanup history schemas
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-24 19:39:34 +02:00
David Mehren
d43bca69b8
Public API: NoteRevisionsMetadata is not an array
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-24 19:39:05 +02:00