* Refactor login components and adjust API routes
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Adjust API /me response and redux state
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Fix moved function
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Update cypress tests
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Adjust mock response
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Integrate new common fields and hook into profile page
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Remove openid
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Fix config mock
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Rework notifications
- dispatchUINotification returns a promise that contains the notification id
- notifications use i18n instead of plain text
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Reformat code
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Change cypress settings in CI job
* Catch error from highlight js chunk loading in auto completion
* Refactor code
* Show notification if highlightjs loading failed
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* 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>
moment.js had a flag that stripped these suffixes from their output, so that we could customize the messages more. luxon does not have this flag and therefore generates double suffixes.
* 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
* 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