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

833 Коммитов

Автор SHA1 Сообщение Дата
Ferdinand Thiessen 1ee4b069ca Add support for editing (not creating) FrontMatter
This adds support for parsing files containing FrontMatter and editing
it as like a code block.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-07-29 16:07:53 +02:00
Vinicius Reis 3e1b3ee828
change vite-plugin-vue2 to @vitejs/plugin-vue2
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-07-22 10:53:52 -03:00
Vinicius Reis 2fb781e636
prevent version mismatch
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-07-22 10:27:59 -03:00
Vinicius Reis 048a94ba67
⬆️ Upgrade dependencies.
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-07-22 08:57:07 -03:00
Vinicius Reis 505b2432bf
⬆️ Upgrade dependencies
- removes jest-raw-loader
- add vue-demi

Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-07-22 08:57:07 -03:00
Ferdinand Thiessen 613b6898c0 Fix parsing of whitespace used in task lists
Switch to @hedgedoc/markdown-it-task-lists to fix
parsing of task lists, namely allowing any whitespace
inside the brackets, as by the github markdown specs.
Doing this as markdown-it-task-lists seems orphaned,
while hedgedoc is maintained and the bug is fixed there.
This required adjusting the task-list testcase as the output is slightly different.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-07-15 12:34:00 +02:00
Jonas 4c70b027ac Update prosemirror dependencies
Fixes: #931
Fixes: #2276
Fixes: #2480

Thanks a lot to Ferdinand Thiessen for bug triaging and fixing <3

Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-06 13:26:36 +00:00
Jonas e985205cfa Bump NPM package version
Signed-off-by: Jonas <jonas@freesources.org>
2022-07-05 03:50:33 +00:00
Max 3b72a0b687
Version 25.0.0-alpha.7
* Export the Image Resolver so it can be provided

Signed-off-by: Jonas <jonas@freesources.org>
2022-07-04 11:31:52 +01:00
Jonas e5d86c1364
Bump npm package version to 25.0.0-alpha.5
Signed-off-by: Jonas <jonas@freesources.org>
2022-07-04 10:45:32 +01:00
Max 5fd6b0e702 update: all of tiptap in one go
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-04 08:45:46 +00:00
dependabot[bot] f1f0a5524b build(deps): bump @tiptap/extension-table
Bumps [@tiptap/extension-table](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/extension-table) from 2.0.0-beta.53 to 2.0.0-beta.54.
- [Release notes](https://github.com/ueberdosis/tiptap/releases)
- [Changelog](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-table/CHANGELOG.md)
- [Commits](https://github.com/ueberdosis/tiptap/commits/@tiptap/extension-table@2.0.0-beta.54/packages/extension-table)

---
updated-dependencies:
- dependency-name: "@tiptap/extension-table"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-04 05:49:14 +00:00
Vinicius Reis 62bb1fe127 ⬆️ (#2584): Upgrade dependencies
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-06-30 18:10:21 +00:00
Vinicius Reis 6569c9b5ee
(#2615): add missing dependency
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-06-30 13:46:47 -03:00
Ferdinand Thiessen ff1d6e497e
Clean up cypress tests
1. Clean up lint issues of the cypress tests
2. Fix placed where .find was intended but .get was used
3. Remove duplicated code
4. Remove residues of cypress 10 migration
5. Add some documentation on available commands

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-06-30 13:41:01 -03:00
John Molakvoæ 49ddee6e88
Properly move runtime dependencies out of `devDependencies`
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-06-26 09:55:58 +02:00
John Molakvoæ 8c01f9a42f
Remove unnecessary dependencies
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-06-26 09:52:56 +02:00
Vinicius Reis 5e6b415c0d
📌 define cypress dependency
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-06-20 17:12:11 -03:00
Vinicius Reis 5b5d6cf56f
add missing stylelint dependencies
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-06-20 15:10:37 -03:00
Vinicius Reis fd3e0fed42
add missing eslint dependency
add eslint-plugin-n

Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-06-20 12:42:29 -03:00
Vinicius Reis 4851806471
⬆️ update tiptap and prosemirror
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-06-20 11:54:56 -03:00
Max 9bf8f10862
update: all prosemirror dependencies to latest
Signed-off-by: Max <max@nextcloud.com>
2022-06-20 10:39:39 +02:00
Max 2d3dffe7a8
update: tiptap extensions in one go
@dependabot will open PRs for every single extension which then clutter our CI.
Update a bunch of tiptap extensions in one go.

Signed-off-by: Max <max@nextcloud.com>
2022-06-20 00:19:41 +02:00
dependabot[bot] dd5916ac2b
build(deps-dev): bump vite-plugin-commonjs from 0.4.7 to 0.5.0
Bumps [vite-plugin-commonjs](https://github.com/vite-plugin/vite-plugin-commonjs) from 0.4.7 to 0.5.0.
- [Release notes](https://github.com/vite-plugin/vite-plugin-commonjs/releases)
- [Changelog](https://github.com/vite-plugin/vite-plugin-commonjs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vite-plugin/vite-plugin-commonjs/commits)

---
updated-dependencies:
- dependency-name: vite-plugin-commonjs
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-18 06:14:34 +00:00
Julius Härtl 44ea404ce5 Bring back inline code support
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-06-10 05:36:33 +00:00
Jonas 7af2b9f30d Include prosemirror.css in RichTextReader.vue to bring back styling
Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-06-09 13:16:19 +00:00
Jonas 6608d03382
Prepare for 25.0.0-alpha.1 NPM release
Signed-off-by: Jonas <jonas@freesources.org>
2022-06-08 10:57:10 +02:00
Max 9a8f7613e7
vite: use vite-plugin-commonjs for vue-material-design-icons
Signed-off-by: Max <max@nextcloud.com>
2022-06-07 19:42:05 +02:00
Max 77a499e063
fix: remove nodes/index.js - import directly
`vite dev` will load all imports in imported files.
So for now it is better to not bundle multiple files in indexes.

Signed-off-by: Max <max@nextcloud.com>
2022-06-07 19:42:04 +02:00
Max 72ab4bcfdb
fix: vite-plugin-vue2 is a dev dependency
Signed-off-by: Max <max@nextcloud.com>
2022-06-07 19:42:03 +02:00
Max a7d486474e
package: 0.2.0-beta.3
Signed-off-by: Max <max@nextcloud.com>
2022-06-07 19:42:03 +02:00
Max 9a498eb1cc
package: reduce dependencies where possible
Only list the package dependencies as dependencies in package.json.
Other dependencies of the app are now listed in devDependencies.

Signed-off-by: Max <max@nextcloud.com>
2022-06-07 19:42:02 +02:00
Max 4afca43783
add peer dependencies of @nextcloud/webpack-vue-config
Peer dependencies should be provided by the dependent package.
Add them to our dev dependencies.

Signed-off-by: Max <max@nextcloud.com>
2022-06-07 19:42:02 +02:00
Vinicius Reis 8160c3c21f
🐛 use path-normalize instead of node:path
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
2022-06-07 19:42:02 +02:00
Max aa9f1f13e6
package: 0.2.0-beta.1
Signed-off-by: Max <max@nextcloud.com>
2022-06-07 19:42:01 +02:00
Max 59316d66be
WIP: first take on building package with vite
Signed-off-by: Max <max@nextcloud.com>
2022-06-07 19:41:56 +02:00
dependabot[bot] 3be0edcc5b
build(deps-dev): bump cypress from 10.0.2 to 10.0.3
Bumps [cypress](https://github.com/cypress-io/cypress) from 10.0.2 to 10.0.3.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v10.0.2...v10.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-07 13:05:37 +00:00
Julius Härtl eda6538eb4
Add @tiptap/extension-hard-break to support hard breaks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-06-07 13:55:43 +02:00
Ferdinand Thiessen 324ebe92f8 Fix cypress scripts for local run + Add documentation
Fix the scripts for local cypress runs,
they need to be run within the `npm run` environment,
as the nextcloud webpack config requires the `npm_package_name`
variable to be set.

Also a up-to-date nextcloud instance is required for testing
text at the current git head, so updated the dockerfile
and docker-compose files to create a nextcloud image from current git head.

Additionally updated the tests to use cypress 10.x and
added missing documentation on how to run the cypress tests.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-06-05 12:39:56 +02:00
dependabot[bot] 0ad6a5d89d
build(deps-dev): bump webpack from 5.72.1 to 5.73.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.72.1 to 5.73.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.72.1...v5.73.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-04 02:18:42 +00:00
dependabot[bot] 44f5a916f9
build(deps-dev): bump eslint from 8.16.0 to 8.17.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.16.0 to 8.17.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.16.0...v8.17.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-04 02:06:49 +00:00
dependabot[bot] 503810c993
build(deps): bump prosemirror-inputrules from 1.1.3 to 1.2.0
Bumps [prosemirror-inputrules](https://github.com/prosemirror/prosemirror-inputrules) from 1.1.3 to 1.2.0.
- [Release notes](https://github.com/prosemirror/prosemirror-inputrules/releases)
- [Changelog](https://github.com/ProseMirror/prosemirror-inputrules/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prosemirror/prosemirror-inputrules/compare/1.1.3...1.2.0)

---
updated-dependencies:
- dependency-name: prosemirror-inputrules
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-04 01:03:04 +00:00
Vinicius Reis 705cc1b79a
️ (#2462): remove memory leak from unnecessary listeners
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-05-31 16:15:24 -03:00
Vinicius Reis c99d4cba07
Merge remote-tracking branch 'origin/master' into 2345-migrate-icons-to-vue-material-design-icons 2022-05-30 10:16:41 -03:00
dependabot[bot] 5844fe06e7
build(deps-dev): bump @babel/eslint-parser from 7.17.0 to 7.18.2
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.17.0 to 7.18.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.2/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-28 12:00:21 +00:00
dependabot[bot] 301c6f58f4 build(deps): bump core-js from 3.22.5 to 3.22.7
Bumps [core-js](https://github.com/zloirock/core-js) from 3.22.5 to 3.22.7.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.22.5...v3.22.7)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-05-28 11:47:45 +00:00
dependabot[bot] b372e2b0f3
build(deps-dev): bump cypress from 9.6.1 to 9.7.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.6.1 to 9.7.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v9.6.1...v9.7.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-28 02:13:14 +00:00
dependabot[bot] 541c45ad90
build(deps-dev): bump eslint-plugin-jsdoc from 39.3.0 to 39.3.2
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 39.3.0 to 39.3.2.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v39.3.0...v39.3.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-28 01:00:52 +00:00
Vinicius Reis 57fd2a2e11
Merge remote-tracking branch 'origin/master' into 2345-migrate-icons-to-vue-material-design-icons 2022-05-23 16:02:27 -03:00
dependabot[bot] f06446fa20 build(deps): bump @tiptap/extension-table
Bumps [@tiptap/extension-table](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/extension-table) from 2.0.0-beta.48 to 2.0.0-beta.49.
- [Release notes](https://github.com/ueberdosis/tiptap/releases)
- [Changelog](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-table/CHANGELOG.md)
- [Commits](https://github.com/ueberdosis/tiptap/commits/@tiptap/extension-table@2.0.0-beta.49/packages/extension-table)

---
updated-dependencies:
- dependency-name: "@tiptap/extension-table"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-05-21 14:19:38 +00:00