Commit Graph

53850 Commits

Author SHA1 Message Date
Roeland Jago Douma 7b6b946470
Allow for compression of the PROPFIND responses
For now it just gzip and only for propfind (the 99% case). Already saves
a bunch since the propfinds compress so nicely.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-06 15:55:04 +02:00
Joas Schilling 817eff6cbf
Remove old unit tests as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-06 11:11:11 +02:00
Roeland Jago Douma dba76c04bb
Merge pull request #21253 from nextcloud/bugfix/noid/fix-psr4-namespace
Fix PSR-4 namespace
2020-06-06 09:30:26 +02:00
Roeland Jago Douma 5406a5408f
Merge pull request #21254 from nextcloud/td/js/remove/_capabilities
Actually remove _capabilities
2020-06-06 09:30:04 +02:00
Roeland Jago Douma 00fa50a1dc
Merge pull request #21257 from nextcloud/td/js/systemtags_linter
Fix linting on systemtags and use @nextcloud/router
2020-06-06 09:29:42 +02:00
Nextcloud bot 4cf4ed3697
[tx-robot] updated from transifex 2020-06-06 02:16:00 +00:00
Roeland Jago Douma 6949c29586
Fix linting on systemtags and use @nextcloud/router
Makes the linter happy. And thus me a bit happy since it now is
complaining less.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-05 16:26:58 +02:00
Roeland Jago Douma 8c3c985952
Actually remove _capabilities
Leftover from a previous PR.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-05 15:23:00 +02:00
Joas Schilling bdf0e8d3d4
Fix PSR-4 namespace
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-05 15:11:57 +02:00
Joas Schilling 499278e132
Remove old files from autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-05 15:08:46 +02:00
Roeland Jago Douma 2a845285be
Merge pull request #21240 from nextcloud/enh/theming/js_to_initial_state
Move theming js to initial state
2020-06-05 13:39:41 +02:00
Roeland Jago Douma ef96eff9cb
Merge pull request #21246 from nextcloud/enh/js/maintenance_no_oc_import
Do not import the full OC since we don't need it
2020-06-05 13:01:17 +02:00
Roeland Jago Douma 56d7de6ffa
Merge pull request #21197 from nextcloud/bugfix/noid/app-screenshots
Check if screenshot is available before showing it
2020-06-05 13:01:02 +02:00
Christoph Wurst 31519453de
Bump doctrine/dbal from 2.9.2 to 2.10.2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-05 11:48:33 +02:00
Roeland Jago Douma 3f1b6e2ce9
Move theming js to initial state
A bit more elegant. Plus it will allow us to also write a proper
@nextcloud/theming package. To make life easier down the line for all.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-05 11:01:49 +02:00
Julius Härtl e060d716b2
Check if screenshot is available before showing it
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-05 09:43:40 +02:00
Roeland Jago Douma 22c00295d8
Do not import the full OC since we don't need it
Import what we need. Saves off a bunch of bytes of the bundle (600
kilobytes to be exact)

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-05 09:42:39 +02:00
Roeland Jago Douma 81f83d3c1f
Merge pull request #21225 from nextcloud/techdebt/humanfilesize-getcanonicallocale-package
Move humanFileSize and OC.getCanonicalLocale to npm packages
2020-06-05 09:02:50 +02:00
Roeland Jago Douma 4042236867
Merge pull request #21229 from nextcloud/fix-empty-event-reminder-notifications
Fix empty event UUID reminder notifications
2020-06-05 09:02:01 +02:00
Christoph Wurst eaf4724acc
Move humanFileSize and OC.getCanonicalLocale to npm packages
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-05 08:48:49 +02:00
Nextcloud bot a5232d9805
[tx-robot] updated from transifex 2020-06-05 02:16:34 +00:00
Roeland Jago Douma 72a8e15d3a
Merge pull request #20914 from nextcloud/enh/deprecated_event_log_usage
Log usage of a deprecated event instead of emitting
2020-06-04 19:19:02 +02:00
Roeland Jago Douma 29a096928a
Merge pull request #21232 from nextcloud/bug/20427/use-OC-CLI-instead-of-PHP-SAPI
Use \OC::$CLI instead of PHP_SAPI
2020-06-04 19:03:54 +02:00
Roeland Jago Douma 6a77a34276
Merge pull request #21165 from nextcloud/dependabot/npm_and_yarn/babel/plugin-proposal-class-properties-7.10.1
Bump @babel/plugin-proposal-class-properties from 7.8.3 to 7.10.1
2020-06-04 19:03:30 +02:00
Roeland Jago Douma 3574551862
Merge pull request #21191 from nextcloud/td/js/use_router
OC.routing is just a @nextcloud/routing proxy
2020-06-04 19:01:19 +02:00
Thomas Citharel d1b43d4fc2
Use \OC::$CLI instead of PHP_SAPI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-04 11:31:09 +02:00
Thomas Citharel b61b74e81a
Fix empty event UUID reminder notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-04 11:25:36 +02:00
Roeland Jago Douma 94ae04d303
OC.routing is just a @nextcloud/routing proxy
So lets kill the duplicate code!

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-04 11:11:18 +02:00
Joas Schilling 59c1ff690a
Merge pull request #21199 from nextcloud/bugfix/noid/prevent-harder-sharing-your-root
Prevent harder to share your root
2020-06-04 10:59:22 +02:00
Joas Schilling 7dcb1cdb42
Remove controller and routes which have no UI component anyway
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-04 10:41:08 +02:00
Nextcloud bot 7ef10b2f48
[tx-robot] updated from transifex 2020-06-04 02:16:24 +00:00
Christoph Wurst 497350a7d3
Merge pull request #20938 from nextcloud/fix/share-talk-verification
Fix the Talk verification
2020-06-03 15:47:54 +02:00
dependabot-preview[bot] e32b219ce2
Bump @babel/plugin-proposal-class-properties from 7.8.3 to 7.10.1
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.8.3 to 7.10.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.1/packages/babel-plugin-proposal-class-properties)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-03 13:31:38 +00:00
Roeland Jago Douma 77cbd2702c
Merge pull request #21168 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.10.2
Bump @babel/preset-env from 7.9.6 to 7.10.2
2020-06-03 15:29:20 +02:00
Joas Schilling 69eda9c0f6
Prevent harder to share your root
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-03 14:47:38 +02:00
dependabot-preview[bot] a6f8c77dd0
Bump @babel/preset-env from 7.9.6 to 7.10.2
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.9.6 to 7.10.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.2/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-03 11:13:11 +00:00
Roeland Jago Douma d04aec71f0
Merge pull request #21166 from nextcloud/dependabot/npm_and_yarn/babel/core-7.10.2
Bump @babel/core from 7.9.6 to 7.10.2
2020-06-03 13:10:51 +02:00
Roeland Jago Douma d7b6702ac5
Merge pull request #21167 from nextcloud/dependabot/npm_and_yarn/vue-router-3.3.2
Bump vue-router from 3.2.0 to 3.3.2
2020-06-03 13:10:10 +02:00
Joas Schilling 33f6a26a7d
Merge pull request #21091 from nextcloud/sftp-normalize-path
normalize sftp path in read and write stream
2020-06-03 12:17:38 +02:00
Christoph Wurst 111c8c9e0e
Merge pull request #21181 from nextcloud/fix/remote-share-remove-error-handling
Do not only catch Exceptions but any Throwable during rmt share delete
2020-06-03 11:11:47 +02:00
Julius Härtl 81de9e8e94
Only use background fade if nextcloud blue is set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-03 09:17:15 +02:00
Nextcloud bot f62f23ed1d
[tx-robot] updated from transifex 2020-06-03 02:16:18 +00:00
Roeland Jago Douma 7d33de5599
Merge pull request #21190 from nextcloud/td/js/linter
Fix some linter warning
2020-06-02 16:02:07 +02:00
Roeland Jago Douma 3bca70999a
Fix some linter warning
Part of my ongoing battle against deprecation messages.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-06-02 14:24:55 +02:00
dependabot-preview[bot] e0a47ac6fe Bump vue-router from 3.2.0 to 3.3.2
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.2.0 to 3.3.2.
- [Release notes](https://github.com/vuejs/vue-router/releases)
- [Changelog](https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-router/compare/v3.2.0...v3.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-06-02 11:49:45 +00:00
Roeland Jago Douma 1c7d089434
Merge pull request #21164 from nextcloud/dependabot/npm_and_yarn/nextcloud/dialogs-1.3.1
Bump @nextcloud/dialogs from 1.3.0 to 1.3.1
2020-06-02 13:34:48 +02:00
Christoph Wurst 09a632242d
Do not only catch Exceptions but any Throwable during rmt share delete
When a remote share is deleted, we notify the remove instance. This may
trigger various error conditions, which we want to catch in order to
avoid undeletable shares. The try-catch, however, did only capture
exceptions, so things like TypeErrors were not caught and caused the
process to fail hard.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-02 09:21:09 +02:00
Nextcloud bot 796b454021
[tx-robot] updated from transifex 2020-06-02 02:16:02 +00:00
Daniel Calviño Sánchez fdac2ffe24 Restore previous state when failing to change video verification state
When video verification can not be enabled or disabled the previous
state is set again in the JavaScript share object. This ensures that the
UI will not reflect a misleading state.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-01 18:50:13 +02:00
Christoph Wurst 5d92a6a7c9 Fix the Talk verification
When enabling or disabling Talk verification in mail shares the server
expects also a new password to be set. As we always just update one
property at a time this means the Talk verification was impossible to
activate or deactivate. With this patch, we send the talk option AND the
new password. If there is no new password, the Talk option is disabled
(in mail shares; in link shares it is possible to enable or disable the
video verification without changing the password).

When we finally have descriptive text on ActionCheckbox'es we should
definitely add some explanatory text for the user. Right now this is as
good as it gets.

We'll have to backport to 18.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-01 17:21:42 +02:00