Commit graph

459 commits

Author SHA1 Message Date
Tilman Vatteroth
8b4e9191e5
Fix smooth scroll and other bugs (#1861)
This PR fixes:

- The wrong clean up of window post message communicators
- The smooth scroll bug in chrome (Fixes Anchor navigation in render view not working #1770)
- Scroll by using touch devices in renderer
- Lazy loading of the editor (code mirror doesn't need to be lazy loaded any more)
2022-02-14 16:37:34 +00:00
Philip Molares
5f228b1bf2
refactor: Deduplicate delete modal (#1734) 2022-02-14 00:44:17 +01:00
Tilman Vatteroth
6a6f6105b9
Upgrade to CodeMirror 6 (#1787)
Upgrade to CodeMirror 6

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-02-13 11:14:01 +00:00
Tilman Vatteroth
57cb6f5b15
Add markdown renderer for motd (#1840)
* Add markdown renderer for motd

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-02-10 08:27:09 +00:00
Philip Molares
566b3009b6
feat: sort tags alphabetically (#1818)
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-01-30 22:10:30 +01:00
Tilman Vatteroth
b30cc5b390
Move toolbar functions into redux reducer (#1763)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-26 17:14:28 +01:00
renovate[bot]
f1386b17d4
Update definitely typed (#1789)
* Update definitely typed

Signed-off-by: Renovate Bot <bot@renovateapp.com>

* Fix type changes

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-22 09:57:50 +00:00
Tilman Vatteroth
1fb32584ab Fix use-on-ref-change.ts
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-21 22:42:26 +01:00
Tilman Vatteroth
a1fab0bb73 Remove unnecessary effect dependency
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-21 22:42:26 +01:00
Tilman Vatteroth
97e00ec10b Add plantuml not configured tag to tag name whiteliste
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-17 19:17:37 +01:00
Tilman Vatteroth
ed76d5307b Remove redundant first headline extraction hook
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-14 13:27:43 +01:00
Tilman Vatteroth
92e86c3564 Remove redundant toc ref
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-14 13:27:43 +01:00
Tilman Vatteroth
9500887ee6 Add condition to modal
This way we prevent unwanted data loading, invisible updates
and visual artifacts when the modal isn't visible.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-07 08:14:08 +01:00
Philip Molares
9fe47b7db0
fix: add translation for app logo title (#1733)
* fix: add translation for app logo title

fixes #1724

Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-02 22:43:23 +01:00
Tilman Vatteroth
194183a7eb
Add browser meta tags for favicon and title (#1746)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-02 19:35:39 +01:00
Tilman Vatteroth
98040cbdaa
Fix autocompletion (#1736)
* Add visibility check for codemirror autocompletion

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Move autocompletion trigger to extended-codemirror

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-31 14:00:33 +01:00
Tilman Vatteroth
20d9a15cff
Add etag header to last modified check of motd (#1739)
* Add etag header to last modified check of motd

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-31 09:30:12 +01:00
Tilman Vatteroth
ca49eb957d
Added NEXT_PUBLIC_IGNORE_IFRAME_ORIGIN_CONFIG (#1738)
* Added NEXT_PUBLIC_IGNORE_IFRAME_ORIGIN_CONFIG

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-30 23:05:02 +00:00
Tilman Vatteroth
4de82b774b Import emojis from scss and work around emoji bug on macos
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-30 23:14:12 +01:00
Philip Molares
1a9a5e815a
fix: use text direction auto
fixes #1725

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-12-30 21:53:09 +01:00
Philip Molares
4089f0c6ed
fix: use actual noteTitle in DeleteNoteSidebarEntry (#1729)
fixes #1728

Signed-off-by: Philip Molares <philip.molares@udo.edu>
Co-Authored-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-30 18:40:52 +01:00
Tilman Vatteroth
af660f78fc
Remove Asciinema (#1730)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-30 14:01:21 +00:00
Renovate Bot
77a60c6c48 Switch the base framework from Create React App to Next.JS
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-30 14:43:25 +01:00
Tilman Vatteroth
6594e1bb86
Move markdown split into redux (#1681)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-14 10:16:25 +01:00
Tilman Vatteroth
03725f5512
Update to cypress 9 and fix firefox upload crash (#1653)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-11 21:17:23 +01:00
Tilman Vatteroth
d4251519e2
Add image placeholder and upload indicating frame (#1666)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Philip Molares <philip.molares@udo.edu>
2021-12-11 15:34:33 +01:00
Erik Michelson
eab189c3c6
Refactor login components and adjust login API routes (#1678)
* 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>
2021-12-11 01:32:38 +01:00
Tilman Vatteroth
a1a0ede574 Remove console.log
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-05 13:40:08 +01:00
Tilman Vatteroth
9874d54404
Refactor table size picker (#1662)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-02 23:55:16 +01:00
Tilman Vatteroth
b68a55aa94
Move frontmatter types (#1664)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-02 22:41:07 +00:00
Tilman Vatteroth
8a23aa1401
Iframe capsule (#1663)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-02 23:35:31 +01:00
Erik Michelson
f1117dbad3
Refactor profile page (#1636) 2021-12-02 22:03:03 +00:00
Tilman Vatteroth
4023acc9d6
Restructure the max-length-warning and the status bar (#1654)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-28 22:21:02 +01:00
Tilman Vatteroth
e0a0c86846
Deduplicate CommonModal Props (#1649)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-26 21:51:12 +01:00
Tilman Vatteroth
1e27263abb Remove useMemo from interval
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-26 11:19:04 +01:00
Tilman Vatteroth
1adb1bd52f use useInterval hook in ui-notification-toast
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-22 07:35:15 +01:00
Tilman Vatteroth
a96b06c95b
Fix renderer type test (#1647)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-21 12:48:30 +01:00
Tilman Vatteroth
abceb356db format code
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-20 19:20:05 +01:00
renovate[bot]
c75978c9a4
Update dependency i18next to v21.5.2 (#1643)
* Update dependency i18next to v21.5.2

Signed-off-by: Renovate Bot <bot@renovateapp.com>

* Fix i18n imports

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-20 12:48:37 +00:00
Erik Michelson
d725b65140
Cypress-IDs and prettier for tests (#1634)
* Add cy.getById method and run prettier

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-11-19 18:04:04 +01:00
Tilman Vatteroth
8a8bacc0aa
Introduce Markdown extensions (#1614)
* Introduce markdown extensions

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-15 17:04:49 +01:00
Tilman Vatteroth
e9defd60dc
Restructure click shield (#1611)
* Rename one-click-embedding to click shield
* Removes the static fallback image from the vimeo frame. The set URL is broken.
* Adds the ability to define background colors for the click shield background


Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-14 18:44:55 +01:00
Philip Molares
79a0ea9602
feat: add a target description to OneClickEmbedding
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-06 11:54:40 +01:00
Tilman Vatteroth
84ee1d9cd9
Add dom purify (#1609)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-02 08:15:33 +01:00
Tilman Vatteroth
c7c7c9ac74 Change scss import of reveal to css
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-29 23:03:01 +02:00
Tilman Vatteroth
68de268515 Fix type error in error-boundary.tsx
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-26 14:49:35 +02:00
Tilman Vatteroth
ec77e672f6
Refactor replacers and line id mapping
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-25 00:13:40 +02:00
Erik Michelson
3591c90f9f
Fix file input field accepting a filename only once (#1547) 2021-10-24 20:46:39 +00:00
Erik Michelson
9118c8310b
Use "untitled" fallback in history entry without title (#1546) 2021-10-24 21:08:28 +02:00
Tilman Vatteroth
a398660c18
Add cypress id attribute only in test mode (#1566)
* Add function for test attribute

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Adjust components

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Fix naming of attribute

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Rename method

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Rename method, interface, attribute and use interface

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Lint and format fix

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-17 21:20:23 +02:00