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

2066 Коммитов

Автор SHA1 Сообщение Дата
Julius Härtl 427c65362e
Merge pull request #1962 from nextcloud/update/floating-marking-bar
Add remove link button
2021-11-24 21:15:09 +01:00
Luka Trovic ae26b8a1d5 add button to remove link
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2021-11-24 18:08:36 +01:00
Nextcloud bot 9919776430
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-23 03:20:00 +00:00
azul b567870a24
Merge pull request #1950 from nextcloud/dependabot/npm_and_yarn/cypress-9.0.0
Bump cypress from 8.7.0 to 9.0.0
2021-11-19 11:04:53 +01:00
dependabot[bot] 37e2ab291b
Bump cypress from 8.7.0 to 9.0.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 8.7.0 to 9.0.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/v8.7.0...v9.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-19 09:55:17 +00:00
Nextcloud bot b8ce21b126
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-14 03:18:50 +00:00
dependabot[bot] 99fc95788a
Merge pull request #1951 from nextcloud/dependabot/npm_and_yarn/regenerator-runtime-0.13.9 2021-11-13 04:58:36 +00:00
dependabot[bot] 7d66385b33
Bump regenerator-runtime from 0.12.1 to 0.13.9
Bumps [regenerator-runtime](https://github.com/facebook/regenerator) from 0.12.1 to 0.13.9.
- [Release notes](https://github.com/facebook/regenerator/releases)
- [Commits](https://github.com/facebook/regenerator/compare/regenerator-runtime@0.12.1...regenerator-runtime@0.13.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-13 03:16:23 +00:00
dependabot[bot] c4402a797a
Merge pull request #1952 from nextcloud/dependabot/composer/psalm/phar-4.12.0 2021-11-13 03:15:07 +00:00
dependabot[bot] b54dbf7c59
Bump psalm/phar from 4.11.2 to 4.12.0
Bumps [psalm/phar](https://github.com/psalm/phar) from 4.11.2 to 4.12.0.
- [Release notes](https://github.com/psalm/phar/releases)
- [Commits](https://github.com/psalm/phar/compare/4.11.2...4.12.0)

---
updated-dependencies:
- dependency-name: psalm/phar
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-13 02:01:43 +00:00
dependabot[bot] 9f84fa64bf
Merge pull request #1945 from nextcloud/dependabot/npm_and_yarn/nextcloud/webpack-vue-config-4.1.4 2021-11-11 22:38:25 +00:00
dependabot[bot] 2ad8fcd483 Bump @nextcloud/webpack-vue-config from 4.1.0 to 4.1.4
Bumps [@nextcloud/webpack-vue-config](https://github.com/nextcloud/webpack-vue-config) from 4.1.0 to 4.1.4.
- [Release notes](https://github.com/nextcloud/webpack-vue-config/releases)
- [Changelog](https://github.com/nextcloud/webpack-vue-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/webpack-vue-config/compare/v4.1.0...v4.1.4)

---
updated-dependencies:
- dependency-name: "@nextcloud/webpack-vue-config"
  dependency-type: direct:development
  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>
2021-11-11 22:30:57 +00:00
Julius Härtl e3bd924cd5
Merge pull request #1948 from nextcloud/feat/package-node-npm-engines-update
Update npm and node engines versions
2021-11-11 23:15:05 +01:00
Joas Schilling 2ee6b8d639
Merge pull request #1947 from nextcloud/update-master-version
Update version on master
2021-11-11 22:58:30 +01:00
Nextcloud bot f0c7224a55 Update npm and node engines versions
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-11 15:03:25 +00:00
Joas Schilling b6f13e1f13
Update version on master
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-11 11:01:31 +01:00
Julius Härtl 16360ef557
Merge pull request #1926 from nextcloud/fix/ci-js-tests 2021-11-11 10:36:45 +01:00
Azul 72fe3c6cb8
fix: handling of preview urls and tests
Preserve urls that start with `core/preview` no matter if `hasPreview` is in there or not.

Also do not add a duplicate `/` in dav urls.
`this.filePath` already starts with a `/`.

Add a test for dav paths and fix some others that were broken by #1800.

Signed-off-by: Azul <azul@riseup.net>
2021-11-11 10:06:12 +01:00
Julius Härtl 04fc4835b8
Mock current user in jest
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-11 10:06:12 +01:00
Julius Härtl ed39392235
Adjust jest setup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-11 10:06:12 +01:00
Julius Härtl 7dc46f8cc3
Use regenerator-runtime for jest tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-11 10:06:11 +01:00
Azul 4824549815
tests: provide current directory to ImageView test as option
We moved away from querying `getCurrentDirectory` and instead
send it to the node as a prop.

Do that in the tests to make sure `ImageViews` have `options.currentDirectory` set.

Signed-off-by: Azul <azul@riseup.net>
2021-11-11 10:06:11 +01:00
Azul 801e540c52
tests: fix dependencies for tests
Tests were failing but we did not notice because they did not run in ci.
In particular:
* jest-environment-jsdom-fourteen is outdated with node 12.
  Use `jest-environment-jsdom` instead.
* `jest-vue` used `babel-core` 6.x instead of babel 7.
  Install `babel-core@bridge` wo make sure babel 7 is available as `babel-core`.
* TipTap wants `prosemirror-tables` > 1.0 but prosemirror usils provides 0.9.6:
  https://github.com/ueberdosis/tiptap/issues/316#issuecomment-801775786
  Fixed by `npm i -S prosemirror-utils@^1.0.0-0`.

Tests are still failing for other reasons.

Signed-off-by: Azul <azul@riseup.net>
2021-11-11 10:06:11 +01:00
Azul b4e9260675
ci: run js tests
Signed-off-by: Azul <azul@riseup.net>
2021-11-11 10:06:06 +01:00
Nextcloud bot ad35e2e1e2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-11 03:18:42 +00:00
dependabot[bot] 518c2e92da
Merge pull request #1921 from nextcloud/dependabot/npm_and_yarn/prosemirror-model-1.15.0 2021-11-05 18:58:23 +00:00
dependabot[bot] 0f4ac449bc Bump prosemirror-model from 1.14.3 to 1.15.0
Bumps [prosemirror-model](https://github.com/prosemirror/prosemirror-model) from 1.14.3 to 1.15.0.
- [Release notes](https://github.com/prosemirror/prosemirror-model/releases)
- [Changelog](https://github.com/ProseMirror/prosemirror-model/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prosemirror/prosemirror-model/compare/1.14.3...1.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-05 18:52:18 +00:00
Julius Härtl a193deeeff
Merge pull request #1918 from nextcloud/dependabot/npm_and_yarn/cypress-8.7.0 2021-11-05 18:13:19 +01:00
dependabot[bot] b000098a02
Bump cypress from 8.6.0 to 8.7.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 8.6.0 to 8.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/v8.6.0...v8.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>
2021-11-05 16:56:10 +00:00
dependabot[bot] bbf20cf328
Merge pull request #1917 from nextcloud/dependabot/npm_and_yarn/prosemirror-view-1.21.0 2021-11-05 16:55:03 +00:00
dependabot[bot] 91c59b48c4 Bump prosemirror-view from 1.20.3 to 1.21.0
Bumps [prosemirror-view](https://github.com/prosemirror/prosemirror-view) from 1.20.3 to 1.21.0.
- [Release notes](https://github.com/prosemirror/prosemirror-view/releases)
- [Changelog](https://github.com/ProseMirror/prosemirror-view/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prosemirror/prosemirror-view/compare/1.20.3...1.21.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-05 16:49:16 +00:00
Julius Härtl 09517c03d6
Merge pull request #1903 from nextcloud/azul/fix-1677-menububble-position 2021-11-05 16:59:47 +01:00
Julius Härtl 8dddfc7b4a
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-05 16:44:51 +01:00
Azul 37cdc49337
Limit height of #editor not .content-wrapper
In rich workspaces scrolling still made the menu-bubble render at the wrong place.

The element that the absolute position of the menu-bubble is relative to needs to grow
with the text so tiptap can position the menu-bubble correctly.

Now we also do not need the margin bottom anymore.

Signed-off-by: Azul <azul@riseup.net>
2021-11-05 16:44:00 +01:00
Azul 82afd6a774
Display menububble below the first line of text
For the rest of the text we keep the position above.

Signed-off-by: Azul <azul@riseup.net>
2021-11-05 16:42:33 +01:00
Azul a07fe2d32b
Position menububble relative to content-wrapper
Add a `position: relative` to `content-wrapper`
to fix misalignment of the menububble.

The menububble has an absolute position
which is calculated by tiptap
based on the position of the highlighted text.

It is styled with `left` and `bottom` attributes.
These are relative to the position of the `.content-wrapper`.

Signed-off-by: Azul <azul@riseup.net>
2021-11-05 16:42:24 +01:00
szaimen 3abef3869d
Merge pull request #1916 from nextcloud/bugfix/noid/trailing-node-syntax
Only register trailing node for rich text editing
2021-10-31 15:57:55 +01:00
Julius Härtl 5fa82e06fb Only register trailing node for rich text editing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-31 15:50:28 +01:00
dependabot[bot] d903aac090
Merge pull request #1920 from nextcloud/dependabot/composer/psalm/phar-4.11.2 2021-10-30 05:17:27 +00:00
dependabot[bot] d0bbf3a20e
Bump psalm/phar from 4.10.0 to 4.11.2
Bumps [psalm/phar](https://github.com/psalm/phar) from 4.10.0 to 4.11.2.
- [Release notes](https://github.com/psalm/phar/releases)
- [Commits](https://github.com/psalm/phar/compare/4.10.0...4.11.2)

---
updated-dependencies:
- dependency-name: psalm/phar
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-30 03:41:09 +00:00
azul 5190221114
Merge pull request #1883 from nextcloud/automatic-line-break-on-txt-files
Add automatic line break on txt files
2021-10-27 13:55:16 +02:00
Luka Trovic e9a0a7d5bc
fix line extending issue for txt file
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2021-10-27 13:38:05 +02:00
Nextcloud bot e5e70f72d9
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-26 03:15:46 +00:00
Julius Härtl c8baca5d19
Merge pull request #1907 from nextcloud/enh/viewer-theme 2021-10-25 18:40:29 +02:00
Julius Härtl 60ef0704f2
Use viewer theme
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-25 17:41:33 +02:00
dependabot[bot] fe38f64165
Merge pull request #1899 from nextcloud/dependabot/npm_and_yarn/prosemirror-view-1.20.3 2021-10-25 09:52:50 +00:00
dependabot[bot] 4070a640f2 Bump prosemirror-view from 1.20.2 to 1.20.3
Bumps [prosemirror-view](https://github.com/prosemirror/prosemirror-view) from 1.20.2 to 1.20.3.
- [Release notes](https://github.com/prosemirror/prosemirror-view/releases)
- [Changelog](https://github.com/ProseMirror/prosemirror-view/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prosemirror/prosemirror-view/compare/1.20.2...1.20.3)

---
updated-dependencies:
- dependency-name: prosemirror-view
  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>
2021-10-25 09:39:29 +00:00
azul dca0e66bae
Merge pull request #1888 from nextcloud/bugfix/1779
Only show image author annotations if needed
2021-10-25 11:05:38 +02:00
Julius Härtl 9f649aa1a3
Only show image author annotations if needed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-25 10:47:07 +02:00
Julius Härtl d7f10f477c
Merge pull request #1908 from nextcloud/tests/noid/cypress-stabilizing 2021-10-25 10:19:12 +02:00