Commit graph

5455 commits

Author SHA1 Message Date
Tilman Vatteroth
f12cadbbb7 feat: add renderer type to MarkdownRendererExtensionOptions
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 21:27:45 +02:00
Tilman Vatteroth
0809e01b2d refactor: rename "optional app extensions" into "all app extensions"
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 21:27:45 +02:00
Tilman Vatteroth
c39561f8e2 refactor: extract third party integration extensions into separate array
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 21:27:45 +02:00
Avinash
bb7a6a74f7 refactor(backend): create mock function for noteRepo and eventemiter
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-04-16 20:55:26 +02:00
Tilman Vatteroth
6b3743e6a3 refactor: reorganize props and locations of markdown renderers
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
7abbe79ec9 fix: correct docs
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
d792fd3987 refactor: rename iframe-markdown-renderer to render-page-content
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
6f17b2f554 fix: typo in render page docs
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
29d137afbe fix: send "new lines as breaks" option to the renderer
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
6c55da4e79 refactor: rename "dark mode" iframe message to "additional configuration"
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
1e9e04f829 fix: forced dark mode for iframe
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
419069376a chore: reformat code
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
2e18f7f775 fix: send scroll state if current renderer is ready instead of main renderer
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
86276b0753 refactor: move mockI18n
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:29:45 +02:00
Tilman Vatteroth
3962cafa5d feat: move title extraction into commons package
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:05:24 +02:00
Tilman Vatteroth
8de8a50bec feat: move first heading title extraction into an app extension
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 20:05:24 +02:00
Tilman Vatteroth
d8c1e35819 docs(docs): make clear that the s3 endpoint must be a URL
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
0950e036b0 refactor(s3-backend): use URL object to construct complete URL instead of string template
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
b6db47a9c2 test(s3-backend): add unit test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
e8d4fc692d fix(s3-backend): remove redundant parameter
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
baaa41b1e5 fix(media config): expect HD_MEDIA_BACKEND_S3_ENDPOINT to be an uri
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
3c2f59c382 fix(s3-backend): force endpoint to be a uri
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
2016874a3d fix(s3-backend): let minio lib handle the port fallback
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
a72f695124 fix(s3-backend): correct endpoint
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:41:03 +02:00
Tilman Vatteroth
220bb31f0c fix: disconnect message transporter on editor leave
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-16 18:12:12 +02:00
renovate[bot]
165cd4c7a3 fix(deps): update dependency typeorm to v0.3.15
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-16 14:40:34 +02:00
renovate[bot]
b2ea61ef2e chore(deps): update dependency @codemirror/language-data to v6.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-16 13:47:11 +02:00
renovate[bot]
471559d0c1 fix(deps): update dependency vega-lite to v5.7.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-15 09:07:39 +02:00
renovate[bot]
191dc0131f fix(deps): update dependency react-bootstrap to v2.7.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-15 06:04:57 +00:00
renovate[bot]
c637ce966d fix(deps): update dependency dompurify to v3.0.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-15 00:39:30 +02:00
renovate[bot]
6d599d893e fix(deps): update dependency abcjs to v6.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-15 00:27:30 +02:00
renovate[bot]
3529e68511 fix(deps): update dependency @azure/storage-blob to v12.14.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-14 09:43:42 +02:00
renovate[bot]
e3738a7c33 chore(deps): update dependency @codemirror/autocomplete to v6.5.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-14 09:42:41 +02:00
renovate[bot]
50fcab8383 chore(deps): update node.js to ca5d399
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-14 01:57:21 +00:00
Tilman Vatteroth
e70d1fabc9 fix: missing wait for element in copy-to-clipboard-button.spec.tsx
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 18:24:17 +02:00
Tilman Vatteroth
16bf5bb2af fix: missing wait for element in blockquote-extra-tag-markdown-extension.spec.tsx
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 18:24:17 +02:00
Tilman Vatteroth
b763413108 fix: invalid DOM element nesting in katex tests
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 18:24:17 +02:00
Tilman Vatteroth
eaea86c17d fix: invalid bootstrap icon in bootstrap-icon-markdown-extension.spec.tsx
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 18:24:17 +02:00
Tilman Vatteroth
2abc697e6a fix: unsupported tag name in markdown-to-react.spec.tsx
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 18:24:17 +02:00
Tilman Vatteroth
8402ef13f3 fix: missing key error in html-to-react.spec.tsx
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 18:24:17 +02:00
Tilman Vatteroth
391559bec4 fix: install netlify nextjs plugin manually
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 18:23:43 +02:00
Tilman Vatteroth
3e0874dfb0 chore: update netlify-cli to 13.2.2
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 18:23:43 +02:00
Tilman Vatteroth
c18102f307 fix: workflow file names in renovate.json
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 18:23:43 +02:00
renovate[bot]
baf1f53c55 chore(deps): update github/codeql-action action to v2.2.12
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-13 17:25:29 +02:00
renovate[bot]
ad3dc27e3f chore(deps): update actions/checkout action to v3.5.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-13 17:16:27 +02:00
renovate[bot]
d1498a4861 fix(deps): update dependency reveal.js to v4.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-13 14:41:24 +02:00
renovate[bot]
f47b3c8f12 chore(deps): update dependency @nestjs/cli to v9.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-13 14:40:35 +02:00
Tilman Vatteroth
4bd6c1f359 fix: add .env file symlinks
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 10:39:17 +02:00
Tilman Vatteroth
476aff890e fix: usage of .env file in getting-started dev guide
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 10:39:17 +02:00
Tilman Vatteroth
54ee492411 fix: suppress yjs double import warning
This warning should indicate that you mix cjs and mjs imports.
While this is a nice feature it has a weird side effect:
Jest triggers this check and floods the console every time a test imports yjs.
This happens between all test suites and every time you call jest.resetModules().
Nothing breaks here. Jest does what it should.
Therefore this commit suppresses this warning in test mode.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 10:38:20 +02:00