Граф коммитов

4094 Коммитов

Автор SHA1 Сообщение Дата
Julius Härtl 3ee6e1bdb1
Merge pull request #3353 from nextcloud/renovate/master-vite-3.x 2022-11-04 08:23:32 +01:00
Julius Härtl 86db99dfb1
Merge pull request #3354 from nextcloud/renovate/master-jest 2022-11-04 08:23:08 +01:00
renovate[bot] 56b2aacc32
chore(deps): update dependency @vue/vue2-jest to ^29.2.0 2022-11-04 03:54:35 +00:00
Nextcloud bot 068fb89431
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-04 02:54:17 +00:00
renovate[bot] c72f35b01f
chore(deps): update dependency vite to ^3.2.2 2022-11-04 01:33:09 +00:00
renovate[bot] 0b2db8b2f6
chore(deps): update dependency @cypress/webpack-preprocessor to ^5.15.3 2022-11-04 01:32:31 +00:00
Jonas 5b086d56fd
Merge pull request #3321 from nextcloud/fix/markdownit_fence_trailing_newline
Remove trailing newline from code blocks
2022-11-02 14:25:36 +01:00
nextcloud-command fe6962ba2c Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-02 12:52:21 +00:00
Jonas e78f78f2e9
Remove trailing newline from code blocks
Markdown-it serialized code blocks to `<pre><code>...\n</pre></code>`,
which leads to trailing newlines in the code blocks as rendered by
 Tiptap.

Let the Tiptap CodeBlock node remove the trailing newline in parseHTML
in order to avoid this.

There's another issue with trailing newlines that got added to code
blocks on purpose being removed by prosemirror-markdown, but that's not
affected by this change.

Fixes: #2344

Signed-off-by: Jonas <jonas@freesources.org>
2022-11-02 13:47:48 +01:00
Jonas ded6b611d6
Merge pull request #3288 from nextcloud/fix/1525
TaskItem: Don't allow toggling while editor is readonly
2022-11-02 11:01:14 +01:00
nextcloud-command d5fe1d5a51 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-02 09:48:13 +00:00
Marcel Klehr 105708e18e TaskItem: Don't allow toggling while editor is readonly
fixes #1525

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2022-11-02 09:15:21 +01:00
Nextcloud bot 308d945cb4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-02 02:54:36 +00:00
Jonas db19ce79d5
Merge pull request #3347 from nextcloud/fix/taskitem_empty_check
Fix inputRegex for TaskItem to not mark empty checkbox as checked
2022-11-01 23:10:55 +01:00
nextcloud-command 0c7d50812e Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-01 19:25:32 +00:00
Jonas 8dc50405cf Fix inputRegex for TaskItem to not mark empty checkbox as checked
Fixes: #3346

Signed-off-by: Jonas <jonas@freesources.org>
2022-11-01 20:14:28 +01:00
Jonas f658afb4cb
Merge pull request #3345 from nextcloud/fix/basereader_update_content
Emit update when setting new editor content in BaseReader
2022-11-01 20:14:14 +01:00
nextcloud-command c80103227d Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-01 17:31:50 +00:00
Jonas daaea8d676
Prepare for 26.0.0-alpha.1 NPM release
Signed-off-by: Jonas <jonas@freesources.org>
2022-11-01 17:54:06 +01:00
Jonas e2f4143ee6
Emit update when setting new editor content in BaseReader
This is required for updateContent event listeners to run, e.g. to
update heading attributes.

Related: #2919

Signed-off-by: Jonas <jonas@freesources.org>
2022-11-01 17:52:51 +01:00
Jonas d6fa069490
Merge pull request #3322 from nextcloud/enh/debug_content_serialization
Add method to log editor content to debugger console
2022-10-31 14:49:05 +01:00
nextcloud-command 3da06f4b53 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-31 13:34:25 +00:00
Jonas 7d7a4c96fe Add method to log editor content to debugger console
Logs editor content in three formats
* In markdown as serialized from editor state by prosemirror-markdown et al
* In HTML as serialized from markdown by markdown-it
* In HTML, as rendered in the browser by Tiptap

This should be useful for debugging issues with the different
serializations happening in Nextcloud Text.

Signed-off-by: Jonas <jonas@freesources.org>
2022-10-31 14:31:55 +01:00
Julius Härtl c58a3f666f
Merge pull request #3329 from nextcloud/github/issue-template-markdown 2022-10-31 14:16:55 +01:00
Julius Härtl 6c53e4c9de
Update Markdown.md
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-31 12:56:14 +01:00
Jonas 687e150351
Merge pull request #3290 from nextcloud/fix/579
Fix link opening in readonly mode
2022-10-31 11:29:17 +01:00
nextcloud-command 68544c6e5f Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-31 10:19:03 +00:00
Marcel Klehr 72ac490a54
lint:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2022-10-31 11:13:03 +01:00
Marcel Klehr 36699030e9
Fix link opening in readonly mode
In readonly mode it seems prosemirror doesn't register a click handler override, which is why link clicks go right through to the browser handler.
This commit registers a clickPreventer plugin that preventDefault's clicks when the editor is readonly

fixes #579

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2022-10-31 11:13:03 +01:00
Jonas 497432a495
Merge pull request #3330 from nextcloud/fix/code_block-language
Fix code blocks loosing the language hint on serialization
2022-10-31 11:10:48 +01:00
nextcloud-command 85b4a8e78d Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-31 10:01:29 +00:00
Ferdinand Thiessen b33ea7546a
Fix code blocks loosing the language hint on serialization
`prosemirror-markdown` uses `params` attribute for the language hint
whereas `tiptap` uses the `language` attribute.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-10-31 10:57:00 +01:00
Nextcloud bot 4266d1c098
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-31 02:53:25 +00:00
Julius Härtl 7e0d3db4d3
Merge pull request #3342 from nextcloud/automated/noid/master-update-nextcloud-ocp 2022-10-30 08:37:59 +01:00
nextcloud-command 759addb385 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-10-30 04:50:57 +00:00
Nextcloud bot 03fa6ddc66
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-30 02:56:50 +00:00
Jonas 255f42c3d2
Merge pull request #3332 from nextcloud/fix/noid/workspace-tests
🔥 run all workspace tests
2022-10-29 15:18:06 +02:00
Vinicius Reis 859d8199a7 🔥 run all workspace tests
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-10-29 15:07:10 +02:00
Jonas 9942663243
Merge pull request #3334 from nextcloud/renovate/master-tiptap
fix(deps): update dependency prosemirror-markdown to ^1.10.1 (master)
2022-10-29 15:06:33 +02:00
nextcloud-command bea543bc5b Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-29 12:39:51 +00:00
renovate[bot] 6a4dfa1078 fix(deps): update dependency prosemirror-markdown to ^1.10.1 2022-10-29 14:36:02 +02:00
Jonas 5b0a66cee9
Merge pull request #3333 from nextcloud/renovate/master-vite-3.x
chore(deps): update dependency vite to ^3.2.1 (master)
2022-10-29 14:32:42 +02:00
dependabot[bot] 7057759cf0
Merge pull request #3335 from nextcloud/dependabot/composer/phpunit/phpunit-9.5.26 2022-10-29 04:03:03 +00:00
dependabot[bot] a7f156eda0
Bump phpunit/phpunit from 9.5.25 to 9.5.26
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.25 to 9.5.26.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.25...9.5.26)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-29 02:02:19 +00:00
renovate[bot] f558a06f05
chore(deps): update dependency vite to ^3.2.1 2022-10-29 00:01:50 +00:00
Julius Härtl 79868622df
Add template for markdown issues
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-28 10:01:33 +02:00
Nextcloud bot 4cb7bf37ed
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-28 02:54:13 +00:00
Vinicius Reis 7fd67d7d55
Merge pull request #3269 from nextcloud/fix/noid/invalid-relative-link-rich-workspace
Fix: relative link in RichWorkspace
2022-10-27 14:25:22 -03:00
nextcloud-command cf522aaedf Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-27 17:00:33 +00:00
Julius Härtl f82828e70b
Merge pull request #3320 from nextcloud/renovate/pin_webpack_vue_config_stable23 2022-10-27 18:41:54 +02:00