Commit Graph

23350 Commits

Author SHA1 Message Date
Morris Jobke f51c755f61
Merge pull request #22017 from nextcloud/techdebt/noid/fix-psr4-namespace
Fix PSR-4 compatible namespace
2020-07-29 14:24:03 +02:00
Joas Schilling d4a4d5c6ef
When no user is logged in null is used
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-29 09:42:54 +02:00
Nextcloud bot 1f42a8b5cb
[tx-robot] updated from transifex 2020-07-29 02:16:52 +00:00
Nextcloud bot 6c176b064c
[tx-robot] updated from transifex 2020-07-28 02:16:39 +00:00
Joas Schilling faff16f8cb
Fix PSR-4 compatible namespace
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-27 13:18:45 +02:00
Nextcloud bot 4cac0f6895
[tx-robot] updated from transifex 2020-07-27 02:16:32 +00:00
Daniel Kesselberg 89c6a2bc1f
Add setup checks for php default charset and output buffering.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-26 00:54:16 +02:00
Nextcloud bot 34c3d0a977
[tx-robot] updated from transifex 2020-07-25 02:16:36 +00:00
Morris Jobke 1326862d63
Merge pull request #21988 from nextcloud/enh/theming-guest
Combine body-login rules in theming and fix twofactor and guest styling on bright colors
2020-07-24 13:35:06 +02:00
Morris Jobke 340cd81d2f
Use IBootstrap for the app theming
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-24 12:23:16 +02:00
Julius Härtl 074b38d334
Combine body-login rules in theming and fix twofactor and guest styling on bright colors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-24 08:59:28 +02:00
Nextcloud bot c4a6666e6c
[tx-robot] updated from transifex 2020-07-24 02:16:52 +00:00
Morris Jobke e84504c4d6
Use IBootstrap for the files_trashbin app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-23 22:03:14 +02:00
Morris Jobke ce314d9484
Merge pull request #21814 from nextcloud/techdebt/noid/federated_share_added-into-typed-event
Move federated_share_added into a typed event
2020-07-23 21:42:48 +02:00
Morris Jobke a169bd243f
Merge pull request #21972 from nextcloud/techdebt/noid/cleanup-phpunit-warnings
Fix PHPUnit deprecation warnings
2020-07-23 21:38:22 +02:00
Morris Jobke 173f8abc7e
Merge pull request #21628 from nextcloud/external-to-s3-trashbin-fix
fix moving files from external storage to object store trashbin
2020-07-23 21:35:18 +02:00
Simon Spannagel d5b1297b55 Adjust tests to new e-mail layout
Signed-off-by: Simon Spannagel <simonspa@kth.se>
2020-07-23 20:22:48 +02:00
Morris Jobke 1339ea15e2
Replace deprecated assertArraySubset with logic that does the same
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-23 17:11:29 +02:00
Morris Jobke 7e6c0ec284
Use assertEqualsCanonicalizing instead of deprecated assertEquals parameter
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-23 17:11:29 +02:00
Morris Jobke 0123cd0ae3
Use assertStringContainsString instead of assertContains on strings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-23 17:11:29 +02:00
Morris Jobke f8955bd0d1
Merge pull request #21973 from nextcloud/techdebt/noid/fix-risky-2fa-backup-code-test
Fix risky test in twofactor_backupcodes
2020-07-23 17:11:10 +02:00
Robin Appelman fcad692b4a
rollback cache rename if trashbin move fails
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-23 15:24:48 +02:00
Robin Appelman 5949849322
fix moving files from external storage to object store trashbin
having the "cache rename" after the "storage move" caused the target
to get the fileid from the source file, without taking care that the object
is stored under the original file id.

By doing the "cache rename" first, we trigger the "update existing file"
logic while moving the file to the object store and the object gets stored for the
correct file id

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-23 15:24:44 +02:00
Morris Jobke 49f33ee632
Fix risky test in twofactor_backupcodes
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-23 14:32:58 +02:00
Georg Ehrke be20a494aa
Bump @nextcloud/vue from 2.2.1 to 2.3.0
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-07-23 14:12:28 +02:00
Roeland Jago Douma ba39d7adde
Merge pull request #21963 from nextcloud/fix/sharing/respect_default_share_permissions
Respect default share permissions
2020-07-23 10:53:36 +02:00
Roeland Jago Douma df1fa52ee5
Respect default share permissions
Else we'll always create new shares with the max permissions.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-23 09:30:42 +02:00
Julius Härtl 8af979f56d
Merge pull request #21957 from nextcloud/techdebt/noid/bootstrap-testing
Use IBootstrap for the testing app
2020-07-23 08:50:25 +02:00
Morris Jobke 0763a17332
Move federated_share_added into a typed event
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-23 08:33:17 +02:00
Nextcloud bot 99d0ba5f7e
[tx-robot] updated from transifex 2020-07-23 02:17:03 +00:00
Morris Jobke 153337a5be
Use IBootstrap for the testing app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-22 22:28:04 +02:00
Roeland Jago Douma b573014e2d
Merge pull request #21949 from nextcloud/smb-3.2.6
update icewind/smb to 3.2.6
2020-07-22 21:19:14 +02:00
Roeland Jago Douma 686f369d66
Merge pull request #21950 from nextcloud/bugfix/noid/wipe-translation
Properly fetch translation for remote wipe confirmation dialog
2020-07-22 21:10:28 +02:00
npmbuildbot[bot] 53088de52b Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-22 18:45:33 +00:00
Morris Jobke 346f647962
Merge pull request #21870 from nextcloud/fix/bootstrap-context-container-interfaces
Make the bootstrap context return ContainerInterface instances
2020-07-22 20:38:50 +02:00
Julius Härtl cf3dd5b6bd
Properly fetch translation for remote wipe confirmation dialog
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-22 20:32:01 +02:00
John Molakvoæ c842678f0a
Merge pull request #21948 from nextcloud/bugfix/noid/accesibilityoca
Load accessibilityoca script
2020-07-22 17:47:33 +02:00
Georg Ehrke 387b1d7b13
Recompile JS assets
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-07-22 15:59:31 +02:00
Georg Ehrke f217b11443
Fix breaking changes of nc/vue update
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-07-22 15:55:59 +02:00
Robin Appelman 7f7d361da2
update icewind/smb to 3.2.6
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-22 14:25:33 +02:00
Julius Härtl 57075fa54d
Load accessibilityoca script
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-22 12:04:16 +02:00
Roeland Jago Douma 2166d718d9
Merge pull request #21904 from nextcloud/dependabot/npm_and_yarn/nextcloud/axios-1.3.3
Bump @nextcloud/axios from 1.3.2 to 1.3.3
2020-07-22 09:31:46 +02:00
Nextcloud bot 2e4cc6da17
[tx-robot] updated from transifex 2020-07-22 02:16:38 +00:00
Morris Jobke 7b250db60b
Merge pull request #21658 from nextcloud/trashbin-configurable-size
allow admin to configure the max trashbin size
2020-07-21 20:46:43 +02:00
Morris Jobke 7870ca0663
Use the proper IAppContainer and IServerContainer type hints to know which code runs with which container
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-21 20:44:05 +02:00
Christoph Wurst 91e7f12088
Adjust apps' code to use the ContainerInterface
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-21 20:43:18 +02:00
Morris Jobke 24889128cc
Merge pull request #21929 from nextcloud/bugfix/noid/encryption-transfer-user
Encryption is ready if master key is enabled
2020-07-21 13:42:26 +02:00
Julius Härtl fc1596fada
Encryption is ready if master key is enabled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-21 09:16:43 +02:00
Nextcloud bot baa5e9fcfa
[tx-robot] updated from transifex 2020-07-21 02:17:06 +00:00
Morris Jobke 0716fb9c96
Merge pull request #21864 from nextcloud/techdebt/files-versions-psr-container
Migrate files versions to the PSR container
2020-07-21 00:17:17 +02:00
Morris Jobke 5fc51b33a3
Merge pull request #21865 from nextcloud/techdebt/settings-psr-container
Migrate settigns to the PSR container
2020-07-21 00:16:03 +02:00
dependabot-preview[bot] f6fc63e415 Bump @nextcloud/axios from 1.3.2 to 1.3.3
Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/nextcloud/nextcloud-axios/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-axios/compare/v1.3.2...v1.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-20 15:29:45 +00:00
Morris Jobke 09e6b26bdd
Merge pull request #21875 from nextcloud/techdebt/deprecate-ilogger
Deprecate ILogger in favor of the PSR-3 logger
2020-07-20 16:45:14 +02:00
Morris Jobke 8a229d6035
Merge pull request #21862 from nextcloud/techdebt/files-sharing-psr-container
Migrate files sharing to the PSR container
2020-07-20 16:41:35 +02:00
Morris Jobke f88a4b5604
Merge pull request #21866 from nextcloud/techdebt/ldap-psr-container
Migrate LDAP to the PSR container
2020-07-20 16:28:54 +02:00
Morris Jobke 5563a952ce
Merge pull request #21846 from nextcloud/dependabot/npm_and_yarn/p-limit-3.0.2
Bump p-limit from 2.3.0 to 3.0.2
2020-07-20 15:00:45 +02:00
dependabot-preview[bot] 30a18f6dd9 Bump p-limit from 2.3.0 to 3.0.2
Bumps [p-limit](https://github.com/sindresorhus/p-limit) from 2.3.0 to 3.0.2.
- [Release notes](https://github.com/sindresorhus/p-limit/releases)
- [Commits](https://github.com/sindresorhus/p-limit/compare/v2.3.0...v3.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-20 11:40:20 +00:00
John Molakvoæ (skjnldsv) 6fcd075730
Use DOMContentLoaded and fix sharebymail loading issue
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-20 12:42:08 +02:00
Nextcloud bot d925c45373
[tx-robot] updated from transifex 2020-07-19 02:17:06 +00:00
Nextcloud bot 9f50b19a4d
[tx-robot] updated from transifex 2020-07-18 02:16:57 +00:00
Roeland Jago Douma 79c677e26d
Merge pull request #21859 from nextcloud/techdebt/dav-psr-container
Migrate DAV to the PSR container
2020-07-17 08:21:48 +02:00
Nextcloud bot 2c79083f27
[tx-robot] updated from transifex 2020-07-17 02:17:12 +00:00
Roeland Jago Douma 514dc45468
Merge pull request #21855 from p5n/master
fix typo in revokeShare()
2020-07-16 19:58:49 +02:00
Christoph Wurst b3b856c9db
Migrate contacts interaction to the PSR-3 logger
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-16 19:38:20 +02:00
Christoph Wurst 35e966c38d
Migrate LDAP to the PSR container
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-16 15:57:17 +02:00
Christoph Wurst 090a54adab
Migrate settigns to the PSR container
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-16 15:55:04 +02:00
Christoph Wurst 3b0478773a
Migrate files versions to the PSR container
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-16 15:53:40 +02:00
Christoph Wurst b641f25606
Migrate files sharing to the PSR container
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-16 15:52:46 +02:00
Christoph Wurst 5005510d82
Migrate DAV to the PSR container
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-16 15:44:03 +02:00
Christoph Wurst 9e7426a101
Clean up container usage in files trashbin
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-16 10:29:38 +02:00
Nextcloud bot 89fe5415f8
[tx-robot] updated from transifex 2020-07-16 02:19:30 +00:00
Sergej Pupykin 1655ba9aeb fix typo 2020-07-16 02:19:21 +03:00
Morris Jobke c4b53538af
Better event description for BeforeTemplateRenderedEvent in files and files_sharing
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-15 20:15:51 +02:00
Morris Jobke 16d0ef9576
Merge pull request #21815 from nextcloud/enh/noid/sharing-additional-scripts-event
Add LoadAdditionalScriptsEvent for files_sharing
2020-07-15 20:02:58 +02:00
Morris Jobke 638e9438a9
Merge pull request #21728 from nextcloud/bugfix/noid/s3-external-mtime-cache
Reuse cache for directory mtime/size if filesystem changes can be ignored
2020-07-15 18:26:48 +02:00
Julius Härtl 217a69ebf9
Add BeforeTemplateRenderedEvent for files_sharing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 13:55:26 +02:00
rawtaz 97d82e2a64
Include circle shares when transferring ownership 2020-07-15 13:51:04 +02:00
Robin Appelman 128910ebf1
provide feedback about minimum length needed to trigger search
instead of telling users that there are no results, tell them that search hasn't been triggered yet

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-15 11:19:51 +02:00
Roeland Jago Douma f04f9321df
Merge pull request #21346 from nextcloud/enh/20930/dashboard
Dashboard API
2020-07-15 11:10:15 +02:00
Julius Härtl 6b2bb32f23
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 10:54:34 +02:00
Julius Härtl 0c35218e61
Include name in translatable greeting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:12 +02:00
Julius Härtl 35bdb998ef
Dashboard strict typing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:12 +02:00
Julius Härtl e6fb1b9878
Load more than one panel
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:12 +02:00
Jan-Christoph Borchardt 879b756995
Update Dashboard app icon
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-07-15 09:28:11 +02:00
Julius Härtl b71de68f43
Cleanup public api methods
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:11 +02:00
Julius Härtl 66ce9ede91
Initialize panels early to make sure that scripts can be loaded
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:11 +02:00
Julius Härtl 81e5593133
Move to lazy panel registration during registration context
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:27:57 +02:00
Julius Härtl a0cd760481
Separate icon from translatable text
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:24:51 +02:00
Jan-Christoph Borchardt 829bf1ad11
Fix Dashboard layout, positioning and responsiveness
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-07-15 09:24:51 +02:00
Jan-Christoph Borchardt 4b9d47fa53
Modify dashboard welcome sentences
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-07-15 09:24:51 +02:00
Julius Härtl 5a1874910b
Add dashboard app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:24:51 +02:00
dependabot-preview[bot] 17119b97e2 Bump @babel/plugin-proposal-class-properties from 7.10.1 to 7.10.4
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.10.1 to 7.10.4.
- [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.10.4/packages/babel-plugin-proposal-class-properties)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-15 07:13:52 +00:00
Nextcloud bot 26d018c515
[tx-robot] updated from transifex 2020-07-15 02:19:39 +00:00
Morris Jobke 3e8087bff1
Merge pull request #21838 from nextcloud/enh/dav/do_not_log_invalid_range
Do not log RequestedRangeNotSatisfiable exceptions in DAV
2020-07-14 21:44:49 +02:00
Roeland Jago Douma 68f1283691
Do not log RequestedRangeNotSatisfiable exceptions in DAV
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-14 20:46:33 +02:00
Morris Jobke 2ad95feab6
Merge pull request #21816 from nextcloud/techdebt/noid/federatedfilesharing-to-ibootstrap
Use IBootstrap for the app federatedfilesharing
2020-07-14 20:44:05 +02:00
Morris Jobke 157c652762
Merge pull request #21825 from nextcloud/fix/appframework/services
Fix AppFramework services
2020-07-14 17:07:38 +02:00
Morris Jobke 7e281a07bb
Use IBootstrap for the app federatedfilesharing
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-14 16:34:43 +02:00
Roeland Jago Douma fa9dfd83c9
Fix AppFramework services
* We can't just register an alias as the services need the appId to be
  injected. if we just register an alias this blows up since the main
  container doesn't have the appId.
* Moved the Authtokens over to show the PoC works

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-14 16:01:14 +02:00
npmbuildbot[bot] 6d2f9b3dd5 Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-14 12:34:10 +00:00
Morris Jobke 7b82895982
Merge pull request #21824 from nextcloud/techdebt/noid/bootstrap-user_ldap
Use IBootstrap for the app user_ldap
2020-07-14 09:38:08 +02:00
Roeland Jago Douma 3a1e9076d7
Merge pull request #21357 from nextcloud/feature/21265/personal-share-notes
Add Editing for Link Share Labels
2020-07-14 09:24:29 +02:00
Morris Jobke f42e557fa1
Use IBootstrap for the app user_ldap
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-14 04:47:54 +02:00
Nextcloud bot 5dca062c97
[tx-robot] updated from transifex 2020-07-14 02:17:20 +00:00
Gary Kim a2cedcefee
Add user input for link share labels
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-07-14 10:02:17 +08:00
Morris Jobke c419342c4e
Merge pull request #21820 from nextcloud/techdebt/noid/ldap-do-not-use-custom-DI-names
Do not use custom DI object names for user_ldap
2020-07-13 22:42:06 +02:00
Morris Jobke 37720317fe
Merge pull request #21819 from nextcloud/techdebt/noid/updatenotification-bootstrap
Use IBootstrap for the app updatenotification
2020-07-13 18:52:20 +02:00
Morris Jobke 3203286f52
Do not use custom DI object names for user_ldap
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-13 17:22:19 +02:00
Morris Jobke 81a433d5db
Use IBootstrap for the app updatenotification
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-13 17:09:23 +02:00
Morris Jobke cbbbbee8b1
Merge pull request #21785 from nextcloud/techdebt/noid/remove-classmap-in-files_external
Move OC_Mount_Config to proper classname and remove OC::$CLASSPATH us…
2020-07-13 16:47:12 +02:00
Roeland Jago Douma 615cf6a808
Merge pull request #21792 from nextcloud/dependabot/npm_and_yarn/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19
2020-07-13 13:17:17 +02:00
Joas Schilling d31f5251f1
Merge pull request #21748 from nextcloud/bugfix/noid/improve-error-reporting-with-sharing
Improve error reporting on sharing errors
2020-07-13 11:55:48 +02:00
Morris Jobke 7569bc15bd
Merge pull request #21789 from nextcloud/ftp-filter-hash
filter files containing a hash in the path for ftp storages
2020-07-13 10:56:16 +02:00
dependabot-preview[bot] deacc7f923 Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-13 08:46:04 +00:00
Nextcloud bot 0cfaaf9fac
[tx-robot] updated from transifex 2020-07-13 02:17:04 +00:00
Nextcloud bot af423ebad9
[tx-robot] updated from transifex 2020-07-12 02:16:46 +00:00
rawtaz 6184604771
Include e-mail shares when transferring ownership
E-mail shares weren't included in the processing of shares when using the `occ files:transfer-ownership` command, so they'd be lost (not visible in either the former or the new account). This commit fixes that.
2020-07-11 16:51:40 +02:00
Nextcloud bot 27da68b1a0
[tx-robot] updated from transifex 2020-07-11 02:17:19 +00:00
Robin Appelman e357d46863
filter files containing a hash in the path for ftp storages
the php ftp streamwrapper doesn't handle hashes correctly and will break when it tries to enter a path containing a hash.

By filtering out paths containing a hash we can at least stop the external storage from breaking completely

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-10 14:18:40 +02:00
Nextcloud bot 7868d4e3b2
[tx-robot] updated from transifex 2020-07-10 02:16:48 +00:00
Morris Jobke 065ef14cb0
Move OC_Mount_Config to proper classname and remove OC::$CLASSPATH usage in files_external
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-10 00:02:59 +02:00
Roeland Jago Douma c354f6d2eb
Merge pull request #21777 from nextcloud/search-min-length
lower minimum search length to 2 characters
2020-07-09 19:19:39 +02:00
Roeland Jago Douma 85486a5cc8
Merge pull request #21771 from nextcloud/techdebt/noid/clarify-scopes-for-profile-data
Clarify the scopes for profile data federation
2020-07-09 19:17:48 +02:00
Robin Appelman 68e87c7269
lower minimum search length to 2 characters
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-09 15:00:30 +02:00
Morris Jobke 29ffaa5676
Move files_versions to bootstrap mechanism
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-09 14:13:18 +02:00
Morris Jobke 18acb137d3
Merge pull request #21733 from nextcloud/fix/noid/cache-system-card-etag-during-request
Update system addressbook card only when there was a change based on a cached etag
2020-07-09 13:59:24 +02:00
Joas Schilling 9ce7b60c49
Clarify the scropes for profile data federation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-09 13:59:13 +02:00
Morris Jobke aab646a9d0
Update system addressbook card only when there was a change based on a cached etag
Due to our old and new hook system the card dav backend listens to old and new hooks. This triggers this code multiple times and always causes an update. With this change we cache the etag during a request and only trigger the update if the etag has changed. This does not catches all not needed updates, but it does not need another round trip to the database and still covers most cases where multiple attributes are updated during one single request.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-09 11:43:58 +02:00
Robin Appelman 118965ad98
better cleanup in share tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-09 11:14:45 +02:00
Morris Jobke 8f4d5334f4
Merge pull request #21767 from nextcloud/enh/lazy_register_navigation
Lazy register the navigation
2020-07-09 10:52:19 +02:00
Roeland Jago Douma 1cf3280c8e
Lazy register the navigation
This makes sure that we do not translate unneeded strings on for example
webdav requests.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-09 10:12:53 +02:00
Morris Jobke b2c6e219a2
Merge pull request #21746 from nextcloud/techdebt/noid/cloud_federation_api-bootstrap
Move cloud_federation_api to bootstrap mechanism
2020-07-09 10:00:56 +02:00
Nextcloud bot 5864501d3f
[tx-robot] updated from transifex 2020-07-09 02:17:35 +00:00
Roeland Jago Douma 32927fd470
Merge pull request #21729 from nextcloud/enh/noid/orphaned-mounts
Add removal of mounts without storages to files:cleanup command
2020-07-08 14:17:54 +02:00
Roeland Jago Douma 4a426239a2
Merge pull request #21745 from nextcloud/techdebt/noid/lookup_server_connector-bootstrap
Move lookup server connector to bootstrap mechanism
2020-07-08 14:16:08 +02:00
Morris Jobke a5488c01de
Move contactsinteraction to bootstrap mechanism
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-08 12:23:59 +02:00
Joas Schilling d9f12977d3
Improve error reporting on sharing errors
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-08 11:24:29 +02:00
Julius Härtl c06e69c9dd
Test for proper removal of mount entries
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-08 09:54:26 +02:00
Morris Jobke a6d308ff80
Move cloud_federation_api to bootstrap mechanism
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-08 09:53:05 +02:00
Morris Jobke 1a219ca5e8
Move lookup server connector to bootstrap mechanism
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-08 09:42:30 +02:00
Morris Jobke 54d36c047b
Merge pull request #21741 from nextcloud/debt/noid/url-generator-does-not-implement-i-user-session
Fix type for $urlGenerator
2020-07-08 09:06:56 +02:00
Daniel Kesselberg ba0ef74c06
Fix type for $urlGenerator
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-08 09:06:29 +02:00
Nextcloud bot 8ca1208bbb
[tx-robot] updated from transifex 2020-07-08 02:16:58 +00:00
Robin Appelman 0d6910ac13
disable touch to update mtime for external s3 storage
since updating the mtime requires doing a copy this can have a significant overhead and it messes with versioning

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-07 15:55:38 +02:00
Robin Appelman 050e2fe346
allow admin to configure the max trashbin size
this allows an admin to configure the max trashbin size instead of always relying on the users quota.

The trashbin size can be configured using the `occ trash:size` command and can be set both globally and per-user

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-07 14:45:08 +02:00
Julius Härtl 479aa975d3
Add removal of mounts without storages to files:cleanup command
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-07 12:36:59 +02:00
Julius Härtl f5cc34c9c2
Reuse cache for directory mtime/size if filesystem changes can be ignored
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-07 10:22:22 +02:00
Julius Härtl 6a67f84163
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-07 09:23:32 +02:00
Nextcloud bot 09b9f94c38
[tx-robot] updated from transifex 2020-07-07 02:16:31 +00:00
Morris Jobke 6c6f41ca69
Merge pull request #21460 from nextcloud/enhancement/systemtags-bootstrap
Move systemtags to the new bootstrap mechanism
2020-07-06 23:06:10 +02:00
Morris Jobke 7ad0381e5c
Merge pull request #21639 from nextcloud/techdebt/noid/move-away-from-database-xml
Move away from database xml
2020-07-06 22:42:39 +02:00
Roeland Jago Douma 9c9c6961c2
Fix sharebymail tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-06 21:08:56 +02:00
Joas Schilling 57ccece9e4
Update class loaders
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-06 16:42:37 +02:00
Joas Schilling 556e23e681
Move user_ldap to migrations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-06 16:42:14 +02:00
Joas Schilling 9001438879
Move files_trashbin to migrations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-06 16:42:14 +02:00
Joas Schilling 347ab5241c
Move files_external to migrations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-06 16:42:14 +02:00
Joas Schilling 41d1d6d20e
Move federatedfilesharing to migrations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-06 16:42:14 +02:00
Joas Schilling 77c9ff838a
Move federation to migrations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-06 16:42:13 +02:00
Morris Jobke 08bfd63406
Merge pull request #21704 from nextcloud/fix/18895/fix-unit-tests
Fix unit tests from #18895
2020-07-06 14:10:17 +02:00
Morris Jobke e878c0a054
Merge pull request #21074 from jvsalo/shared-lock-multi-release
Fix releasing a shared lock multiple times
2020-07-06 14:06:41 +02:00
Morris Jobke d72d9ff1f4
Merge pull request #21171 from nextcloud/enh/noid/tidy-up-group-ldap
tidy up Group_LDAP
2020-07-06 14:00:27 +02:00
Morris Jobke db782fefa1
Merge pull request #21222 from nextcloud/bugfix/18965/reduce-contacts-search-load
Reduce contacts search load
2020-07-06 13:56:06 +02:00
Morris Jobke 2b6cadbcd9
Fix unit tests from #18895
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-06 13:32:42 +02:00
Morris Jobke d78449c01c
Merge pull request #18895 from nextcloud/bugfix/noid/fix_birthday_calendar_color
Changes the Birthday calendar color to slightly brighter one
2020-07-06 13:20:55 +02:00
Roeland Jago Douma 2a0c7e258a
Merge pull request #21692 from nextcloud/cleanup/sharebymail
Cleanup share by mail a bit
2020-07-06 10:33:12 +02:00
Roeland Jago Douma 0bcc643d6e
Cleanup share by mail a bit
* Moved to ned IBootstrap
* Register everything via the capabilities api (So clients can use it as
  well)
  - This applies to the enforcing passwords
* Updated the sharing js code to use it
* removed app.php
* removed unused settings now
* typehints
* strict typing

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-06 09:45:08 +02:00
Morris Jobke 3333c885c0
Merge pull request #21264 from stweil/master
build: Fix some typos (most of them found by codespell)
2020-07-05 22:52:28 +02:00
Morris Jobke d3d11cb826
Merge pull request #21626 from nextcloud/enhancement/injectible-callables
Callable parameter injection
2020-07-05 22:03:12 +02:00
Roeland Jago Douma 4d8b4ef3cc
Merge pull request #21533 from nextcloud/techdebt/noid/dedicated-method-to-get-a-users-language
Techdebt/noid/dedicated method to get a users language
2020-07-04 08:56:13 +02:00
Nextcloud bot c52e6c8a47
[tx-robot] updated from transifex 2020-07-04 02:16:15 +00:00
Christoph Wurst 9993a3b839
Use \OCP\IContainer::injectFn to boot the admin_audit app
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-03 14:37:53 +02:00
Christoph Wurst 58b8b00798
Use \OCP\IContainer::injectFn to boot the Accessibility app
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-03 14:37:53 +02:00
Christoph Wurst 8150bcb60c
Use \OCP\IContainer::injectFn to boot the DAV app
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-03 14:37:53 +02:00
Morris Jobke b6bbc709b2
Merge pull request #21280 from nextcloud/dependabot/npm_and_yarn/nextcloud/router-1.1.0
Bump @nextcloud/router from 1.0.2 to 1.1.0
2020-07-03 12:31:35 +02:00
Joas Schilling db8267db26
Use the new method everywhere
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-03 10:59:43 +02:00
dependabot-preview[bot] ec151e17c5 Bump @nextcloud/router from 1.0.2 to 1.1.0
Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/nextcloud/nextcloud-router/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-router/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-router/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-03 06:42:35 +00:00
Nextcloud bot 0825530a1b
[tx-robot] updated from transifex 2020-07-03 02:17:12 +00:00
Roeland Jago Douma 1913b1b91f
Merge pull request #21591 from nextcloud/debt/noid/set-path-for-ocm-permissions
Pass $path to ocmPermissions2ncPermissions
2020-07-02 21:10:19 +02:00
Roeland Jago Douma c97e85c6da
Merge pull request #21547 from nextcloud/enhancement/workflowengine-bootstrap
Migrate WFE to the new bootstrap mechanism
2020-07-02 21:03:14 +02:00
Roeland Jago Douma 2464a60879
Merge pull request #21590 from nextcloud/debt/noid/unused-method
Remove unused method.
2020-07-02 20:58:20 +02:00
Roeland Jago Douma 0157e30ad4
Merge pull request #21599 from nextcloud/debt/noid/type-to-types
Replace TYPE with TYPES
2020-07-02 12:21:01 +02:00
Joas Schilling 47a21fad8c
Merge pull request #21597 from nextcloud/techdebt/noid/return-value-for-commands
Add return value to all commands
2020-07-01 11:52:14 +02:00
Nextcloud bot 40165340f5
[tx-robot] updated from transifex 2020-07-01 02:16:15 +00:00
Daniel Kesselberg 87dd760a89
Replace TYPE with TYPES
As TYPE::* is deprecated.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-30 23:46:22 +02:00
dependabot-preview[bot] 298ece7639 Bump dompurify from 2.0.11 to 2.0.12
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.11 to 2.0.12.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.11...2.0.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-06-30 09:10:48 +00:00
Nextcloud bot c0c841bc93
[tx-robot] updated from transifex 2020-06-30 02:16:10 +00:00
Joas Schilling 10571813db
Merge pull request #21594 from nextcloud/bugfix/21586/precalculate-primary-element-color-for-dark-mode-too
Precalculate the primary element color for dark mode too
2020-06-29 14:05:10 +02:00
Nextcloud bot ec5c305547
[tx-robot] updated from transifex 2020-06-29 02:16:35 +00:00
Nextcloud bot d94ef09998
[tx-robot] updated from transifex 2020-06-28 02:16:10 +00:00
Nextcloud bot a076081c4d
[tx-robot] updated from transifex 2020-06-27 02:16:43 +00:00
Joas Schilling f8641a6e55
Fix PHP CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-26 16:16:06 +02:00
Joas Schilling 3e0cfa6c32
Add missing return
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-26 15:25:33 +02:00
Joas Schilling d7c0b9cced
Also always return in app commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-26 15:12:11 +02:00
Joas Schilling be5176076e
Precalculate the primary element color for dark mode too
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-26 09:58:45 +02:00
Daniel Kesselberg 6b1af4ac8c
Pass $path to ocmPermissions2ncPermissions
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-25 23:42:36 +02:00
Daniel Kesselberg dcee9fbf35
Remove unused method.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-25 23:36:54 +02:00
Roeland Jago Douma ed4afa55c1
Merge pull request #21582 from nextcloud/bugfix/noid/extend-description-on-trusted-servers
Extend descriptioon on trusted servers
2020-06-25 10:03:32 +02:00
Roeland Jago Douma 85ae5a9aa4
Merge pull request #21576 from nextcloud/fix/21464/types
fix strings being passed where arrays where expected
2020-06-25 10:03:11 +02:00
Joas Schilling 03aa8e4eeb
Extend descriptioon on trusted servers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-25 09:07:14 +02:00
Nextcloud bot a29c866292
[tx-robot] updated from transifex 2020-06-25 02:16:42 +00:00
Arthur Schiwon b8bef4ded0
fix strings being passed where arrays where expected
also brought type hints up to internal API level

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-24 23:34:37 +02:00
Roeland Jago Douma 7d4682da40
Merge pull request #21379 from nextcloud/fix-share-permission-checkboxes-enabled-when-permissions-can-not-be-set
Fix share permission checkboxes enabled when permissions can not be set
2020-06-24 21:20:17 +02:00
Roeland Jago Douma b4b7de5a95
Merge pull request #21565 from nextcloud/fix/noid/fix-comment
comment was wrong, block is needed nevertheless
2020-06-24 21:03:52 +02:00
Joas Schilling 85099f5227
Merge pull request #21562 from nextcloud/techdebt/noid/update-share-type-constant-usage
Update share type constant usage
2020-06-24 19:29:01 +02:00
Joas Schilling a2f34f46b2
Fix tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-24 18:13:37 +02:00
Arthur Schiwon 3baa8d22a6
comment was wrong, block is needed nevertheless
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-24 17:51:11 +02:00
Arthur Schiwon b71f52f137
fix obsolete usage of OCdialogs
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-24 17:34:00 +02:00
Joas Schilling 89ed2c37bf
Update share type constant usage
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-24 16:49:16 +02:00
Christoph Wurst 654cd18864
Merge pull request #20916 from nextcloud/feature/unified-search-api
Add unified search API
2020-06-24 15:38:03 +02:00
Christoph Wurst 2c699e0901
Migrate comments to unified search API
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-24 14:20:26 +02:00
Christoph Wurst f8e08a74ba
Implement unified search for Files
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-24 14:20:26 +02:00
Christoph Wurst 4488e846a5
Add unified search API
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-24 14:20:25 +02:00
Roeland Jago Douma e367a3ac1b
Merge pull request #21530 from nextcloud/bugfix/noid/s3-dir-mtime
Remove rescanDelay from directory mtime
2020-06-24 13:42:52 +02:00
Christoph Wurst 1428853c86
Move the event listener into a dedicated class
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-24 10:54:13 +02:00
Christoph Wurst 7c0c180a56
Migrate WFE to new bootstrap mechanism
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-24 10:54:03 +02:00
Nextcloud bot 54c716ec8f
[tx-robot] updated from transifex 2020-06-24 02:16:44 +00:00
Joas Schilling a29359a726
Merge pull request #21545 from nextcloud/bugfix/noid/fix-dark-theme-for-guests
Fix dark mode for guests
2020-06-23 22:00:22 +02:00
Joas Schilling 6e46df26a8
Unify settings middleware with others
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-23 20:18:38 +02:00
Joas Schilling 220423e0a5
Fix dark mode for guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-23 19:54:41 +02:00
Christoph Wurst 284ca3e8a8
Merge pull request #21524 from nextcloud/enhancement/files-bootstrap
Migrate Files to the new bootstrap mechanism
2020-06-23 18:51:50 +02:00
Nextcloud bot 3487ac763d
[tx-robot] updated from transifex 2020-06-23 02:17:10 +00:00
Joas Schilling 64f5a20aea
Merge pull request #21366 from nextcloud/feature/noid/respect-prefers-color-scheme
Respect "prefers-color-scheme" media selector for guests
2020-06-22 15:56:11 +02:00
Julius Härtl 69f4c50032
Remove rescanDelay from directory mtime
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-22 14:15:57 +02:00
blizzz a899b4775d
Merge pull request #21475 from nextcloud/enh/noid/flow-event-dispatcher
flow to not use deprecated event dispatcher methods
2020-06-22 11:18:50 +02:00
Christoph Wurst 2b26bf1408
Migrate Files to the new bootstrap mechanism
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-22 10:19:00 +02:00
Joas Schilling 2e615c0e61
Merge pull request #21478 from nextcloud/bugfix/noid/clarify-email-is-always-shared-in-the-instance
Clarify that the email is always shared within the instance
2020-06-22 08:46:24 +02:00
dependabot-preview[bot] 6bf06fb073 Bump moment from 2.26.0 to 2.27.0
Bumps [moment](https://github.com/moment/moment) from 2.26.0 to 2.27.0.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.26.0...2.27.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-06-21 07:29:27 +00:00
Nextcloud bot 333b6b8ec1
[tx-robot] updated from transifex 2020-06-21 02:16:08 +00:00
Roeland Jago Douma d523925db5
Merge pull request #21467 from nextcloud/enhancement/dav-bootstrap
Move DAV to the new bootstrap mechanism
2020-06-20 16:23:01 +02:00
Nextcloud bot ce9d3b36df
[tx-robot] updated from transifex 2020-06-20 02:16:35 +00:00
Arthur Schiwon 3706eae777
flow to not use deprecated event dispatcher methods
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-19 23:03:07 +02:00
blizzz 976dbf6241
Merge pull request #21421 from nextcloud/fix/noid/cached-missing-dn
getXbyY can still return false, e.g. when using ldap write support
2020-06-19 20:01:06 +02:00
Christoph Wurst 1285be2bd1
Move DAV to the new bootstrap mechanism
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-19 15:10:20 +02:00
Joas Schilling 1fb7cc5efb
Clarify that the email is always shared within the instance
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-19 09:12:23 +02:00
Nextcloud bot dd0b9655b2
[tx-robot] updated from transifex 2020-06-19 02:16:27 +00:00
Roeland Jago Douma 3ac0484ded
Merge pull request #21442 from nextcloud/td/js/accessibilityjs_to_initialstate
Move accessibility js route to static js and initial state
2020-06-18 08:30:16 +02:00
Nextcloud bot e324c90a8d
[tx-robot] updated from transifex 2020-06-18 02:16:35 +00:00
Roeland Jago Douma c30bab34e6
Move accessibility js route to static js and initial state
Yet again another js file that doesn't have to be served via nextcloud.
But can just be done via the webbrowser.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-17 19:37:37 +02:00
Christoph Wurst 5ed54c024d
Move systemtags to the new bootstrap mechanism
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-17 19:07:47 +02:00
Joas Schilling b740d283a9
Don't initialize Application directly
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-17 12:18:15 +02:00
Christoph Wurst a2c8bfadbc
Migrate Two-Factor Backup Codes to new bootstrap mechanism
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-17 09:22:22 +02:00
Christoph Wurst c5d2958ac7
Migrate Settings to new bootstrap mechanism
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-17 09:22:22 +02:00
Christoph Wurst 16ab7986b4
Migrate Admin Audit app to new bootstrap mechanism
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-17 09:22:21 +02:00
Christoph Wurst 0587010dff
Migrate Accessibility app to new bootstrap mechanism
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-17 09:22:21 +02:00
Christoph Wurst 0a24d1f8df
Migrate Comments to the new bootstrap mechanism
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-17 09:22:21 +02:00
Christoph Wurst 69571fb536
Add dedicated API for apps' bootstrapping process
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-17 09:22:21 +02:00
Nextcloud bot d1b03f5adf
[tx-robot] updated from transifex 2020-06-17 02:15:44 +00:00
blizzz 0ab6ee40de
be more clear about the condition
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
2020-06-16 10:55:51 +02:00
Nextcloud bot df18c47b42
[tx-robot] updated from transifex 2020-06-16 02:16:05 +00:00
Arthur Schiwon 0cf57d1ed4
getXbyY can still return false, e.g. when using ldap write support
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-15 21:48:27 +02:00
Roeland Jago Douma 2d262a1a03
Merge pull request #21404 from nextcloud/bugfix/noid/flow-tag-parent-share
Flow: Include root folder for shared storages when fetching system tags
2020-06-15 16:31:50 +02:00
Roeland Jago Douma 13f119d48d
Merge pull request #21394 from nextcloud/dependabot/npm_and_yarn/vue-router-3.3.4
Bump vue-router from 3.3.2 to 3.3.4
2020-06-15 10:18:54 +02:00
dependabot-preview[bot] 3c90d94acb Bump vue-router from 3.3.2 to 3.3.4
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.3.2 to 3.3.4.
- [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.3.2...v3.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-06-15 07:05:09 +00:00
Joas Schilling 00e7b2b956
Reduce load of the contacts search when we know it can't match
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-15 08:47:30 +02:00
Joas Schilling 839f27b501
Merge pull request #21221 from nextcloud/bugfix/20720/fix-pagination-of-contacts-search
Fix pagination of contacts search
2020-06-15 08:46:41 +02:00
Julius Härtl 11329dcb42
Flow: Include root folder for shared storages when fetching system tags
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-15 08:28:12 +02:00
Nextcloud bot 5339d6df02
[tx-robot] updated from transifex 2020-06-15 02:15:55 +00:00
Nextcloud bot f04d526681
[tx-robot] updated from transifex 2020-06-14 02:15:50 +00:00
Daniel Calviño Sánchez 3ffb482b4e Fix share permission checkboxes enabled when permissions can not be set
A sharee can reshare a file and set the edit, create, delete and share
permissions of the reshare only if the received share has edit, create,
delete and share permissions, or if they were revoked in the received
share after being set in the reshare. Therefore, the permission
checkboxes in the share menu should be enabled only if the user can set
them (otherwise trying to check them will lead to an error).

Note that "sharePermissions" has all the permissions if the file is not
a reshare but a file owned by the user.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-12 00:05:36 +02:00
Nextcloud bot e1e7de43c1
[tx-robot] updated from transifex 2020-06-11 02:15:48 +00:00
Joas Schilling 291640273d
Respect "prefers-color-scheme" media selector for guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-10 23:47:01 +02:00
Joas Schilling 83303ef9df
Merge pull request #21185 from nextcloud/bugfix/noid/reflect-unreadable-state-in-ui
Reflect unreadable state in the UI
2020-06-10 10:54:51 +02:00
Roeland Jago Douma 3000148e27
Merge pull request #21347 from nextcloud/fix/21188/pass_share_permissions_to_api_call
Pass the proper share permissions to the create share call
2020-06-10 10:35:48 +02:00
Joas Schilling fdd8c86c60
Fix pagination of contacts search
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-10 09:38:59 +02:00
Joas Schilling 31e9ab4961
Reflect unreadable state in the UI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-10 09:35:36 +02:00
Nextcloud bot 9806dec9b3
[tx-robot] updated from transifex 2020-06-10 02:16:03 +00:00
Roeland Jago Douma d0525df63c
Pass the proper share permissions to the create share call
Fixes #21188

This way we do not run into the share permission issue

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-09 20:59:41 +02:00
Robin Appelman 892589746d
Merge pull request #21252 from nextcloud/smb-3.2.5
update icewind/smb to 3.2.5
2020-06-09 12:27:46 +00:00
Roeland Jago Douma 19712e2773
Merge pull request #21311 from nextcloud/techdebt/noid/make-share-order-reliable
Always sort shares in a reliable way
2020-06-09 10:33:41 +02:00
Roeland Jago Douma 959a0be4aa
Merge pull request #21318 from nextcloud/fix/noid/user-delete-clear-ldap-cache
clear LDAP cache after user deletion
2020-06-09 10:21:45 +02:00
Roeland Jago Douma 57ed519839
Merge pull request #21326 from nextcloud/enh/noid/office-pattern-opendocument
Extends office documents pattern to match open documents.
2020-06-09 09:50:27 +02:00
Roeland Jago Douma 9c2172f27e
Merge pull request #21327 from nextcloud/techdebt/noid/certificates-js
Remove obsolete scripts for certificates ui
2020-06-09 09:42:38 +02:00
Christoph Wurst d0d6cb6ea6
Merge pull request #21302 from nextcloud/techdebt/noid/adjust-to-parent-implementation
Adjust to parent implementation
2020-06-09 08:52:40 +02:00
Nextcloud bot 99e14b5ada
[tx-robot] updated from transifex 2020-06-09 02:15:56 +00:00
Daniel Kesselberg 948769cf7a
Extends office documents pattern to match open documents.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-08 23:56:28 +02:00
Daniel Kesselberg 230b9c4713
Remove obsolete scripts
Leftover from https://github.com/nextcloud/server/pull/21224.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-08 23:43:10 +02:00
Arthur Schiwon 4edf8630c4
clear LDAP cache after user deletion
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-08 17:52:43 +02:00
Joas Schilling 56b04c65f7
Always sort shares in a reliable way
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-08 14:47:15 +02:00
Roeland Jago Douma d67f627eba
Merge pull request #21058 from nextcloud/bug/set_serverBackground_custom_default
Set serverBackground if it is a custom background or default hub
2020-06-08 13:44:47 +02:00
Roeland Jago Douma ea53423b90
Merge pull request #21198 from nextcloud/bugfix/19040
Only use background fade if nextcloud blue is set
2020-06-08 13:43:59 +02:00
Arthur Schiwon 64fe042b0d
tidy up Group_LDAP
* remove unused method
* resolve code duplication
* remove usage of deprectad Util::writeLog
* phpDoc updates
* signature updates

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-08 13:40:24 +02:00
Joas Schilling 03c05d60c0
Adjust to parent implementation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-08 11:30:05 +02:00
GretaD c31c995ff0 Set serverBackground if it is a custom background or default hub
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-06-08 11:23:34 +02:00
Roeland Jago Douma 9a196d12a8
Merge pull request #20272 from nextcloud/enh/sabre/gzip_propfind
Gzip the propfind response
2020-06-08 11:23:30 +02:00
Roeland Jago Douma c5a2caa0fb
Merge pull request #21278 from nextcloud/dependabot/npm_and_yarn/nextcloud/auth-1.3.0
Bump @nextcloud/auth from 1.2.3 to 1.3.0
2020-06-08 08:47:22 +02:00
Nextcloud bot f51c24a70a
[tx-robot] updated from transifex 2020-06-08 02:15:55 +00:00
Roeland Jago Douma ce7a15e804
Merge pull request #21274 from nextcloud/bug/21268/paswordless-for-everyone
Enable passwordless for everyone not only admins.
2020-06-07 15:04:47 +02:00
dependabot-preview[bot] 807e286f42 Bump @nextcloud/auth from 1.2.3 to 1.3.0
Bumps [@nextcloud/auth](https://github.com/nextcloud/nextcloud-auth) from 1.2.3 to 1.3.0.
- [Release notes](https://github.com/nextcloud/nextcloud-auth/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-auth/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-auth/compare/v1.2.3...v1.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-06-07 08:47:37 +00:00
Roeland Jago Douma 8325ab4bf0
Merge pull request #21224 from nextcloud/techdebt/noid/remove-unreachable-controller-and-route
Remove controller and routes which have no UI component anyway
2020-06-07 10:42:19 +02:00
Nextcloud bot e212908cec
[tx-robot] updated from transifex 2020-06-07 02:15:50 +00:00
Daniel Kesselberg 761a7bf6a2
Enable passwordless for everyone not only admins.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-06 21:34:49 +02:00
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
Stefan Weil e8af52001e build: Fix some typos (most of them found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-06 13:03:00 +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
Nextcloud bot 4cf4ed3697
[tx-robot] updated from transifex 2020-06-06 02:16:00 +00: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 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 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
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
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
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
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
Nextcloud bot 0f4de3d353
[tx-robot] updated from transifex 2020-06-01 02:16:00 +00:00
dependabot-preview[bot] c4a7d45b70 Bump @nextcloud/dialogs from 1.3.0 to 1.3.1
Bumps [@nextcloud/dialogs](https://github.com/nextcloud/nextcloud-dialogs) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/nextcloud/nextcloud-dialogs/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-dialogs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-dialogs/compare/v1.3.0...v1.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-31 11:12:07 +00:00
Nextcloud bot a1bb18a837
[tx-robot] updated from transifex 2020-05-31 02:16:19 +00:00
Nextcloud bot 64c15a15d4
[tx-robot] updated from transifex 2020-05-30 02:16:04 +00:00
Roeland Jago Douma 532f4c41da
Merge pull request #20970 from nextcloud/td/js/escape-html-global
Remove the escape-html global
2020-05-29 13:36:55 +02:00
Roeland Jago Douma 251a4d3097
Merge pull request #21143 from nextcloud/fix-password-changes-in-link-and-mail-shares
Fix password changes in link and mail shares
2020-05-29 13:36:09 +02:00
Roeland Jago Douma b9e7fd2418 Remove the escape-html global
Already announced for 19 that it would go. So now it realy does go.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-29 08:34:10 +00:00
Roeland Jago Douma efd025cbc3
Merge pull request #21118 from nextcloud/td/move_systemtags
Move systemtags to a proper location
2020-05-29 09:14:25 +02:00
Roeland Jago Douma ca606cea5c
Merge pull request #21146 from nextcloud/fix-reference-to-wrong-class-name
Fix reference to wrong class name
2020-05-29 08:46:23 +02:00
Nextcloud bot ebd387e89a
[tx-robot] updated from transifex 2020-05-29 02:16:30 +00:00
Daniel Calviño Sánchez 37f231333f Fix reference to wrong class name
\OCP\IShare does not exist; the right name is \OCP\Share\IShare,
although it is already imported as IShare.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-29 01:41:06 +02:00
Daniel Calviño Sánchez e59e283cc2 Fix creating a mail share with a password
When a mail share was created with a password the given password was not
hashed, so it was not possible to open the share with that password.
Moreover, if passwords were enforced the given password was ignored and
a new one was set (although in this case it was hashed so it worked as
expected). Now the given password is properly hashed and not overriden.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-28 21:51:22 +02:00
Daniel Calviño Sánchez a2b0a7c30e Extend mail shares unit tests to check the password and mail template
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-28 21:50:08 +02:00
Roeland Jago Douma 28f8a445e4 Move the systemtags to core/src
* Move to the handlebar loader from webpack

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-28 19:05:09 +00:00
Roeland Jago Douma 77c1aeb84e
Merge pull request #21124 from nextcloud/feature/20612/add-capability-for-file-comments
Add a capability when file comments are enabled
2020-05-28 14:13:48 +02:00
Joas Schilling ff381dda08
Add a capability when file comments are enabled
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-28 12:43:53 +02:00
Nextcloud bot 1d469fc06e
[tx-robot] updated from transifex 2020-05-28 02:16:38 +00:00
Roeland Jago Douma 778ef84ee2
Merge pull request #21123 from nextcloud/fix/noid/fix-retrieval-of-groups
simplify getGroups, fixing wrong chunking logic
2020-05-27 19:36:49 +02:00
Robin Appelman 41fdfc9966
update icewind/smb to 3.2.5
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-05-27 17:44:54 +02:00
Christoph Wurst 069d02aaec
Fix devices & sessions sanitization
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-27 15:06:56 +02:00
Arthur Schiwon aed6f0f71e
simplify getGroups, fixing wrong chunking logic
pagination is taken care of properly in the search logic in Access class

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-05-27 14:41:10 +02:00
Roeland Jago Douma a0771a389a
Merge pull request #21079 from nextcloud/dependabot/npm_and_yarn/moment-2.26.0
Bump moment from 2.25.3 to 2.26.0
2020-05-27 12:55:50 +02:00
Nextcloud bot b9d17cfdec
[tx-robot] updated from transifex 2020-05-27 02:16:10 +00:00
dependabot-preview[bot] 3535204ce8 Bump moment from 2.25.3 to 2.26.0
Bumps [moment](https://github.com/moment/moment) from 2.25.3 to 2.26.0.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.25.3...2.26.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-26 19:40:18 +00:00
Roeland Jago Douma 9bb07d3fbd
Merge pull request #21106 from nextcloud/fix/10809/user-pwd-change-loginname
use the loginname to verify the old password in user password changes
2020-05-26 21:18:57 +02:00
Arthur Schiwon 653162a709
use the loginname to verify the old password in user password changes
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-05-26 16:53:25 +02:00
Roeland Jago Douma 69e2aa029b
Merge pull request #21108 from nextcloud/fix/20745/eor-old-php-api
fixes infinitely repeating LDPA search results with PHP <= 7.2
2020-05-26 11:54:20 +02:00
Nextcloud bot fda71a9979
[tx-robot] updated from transifex 2020-05-26 02:16:03 +00:00
Arthur Schiwon 15008a1798
fixes infinitely repeating LDPA search results with PHP <= 7.2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-05-26 00:37:46 +02:00
Roeland Jago Douma d695bad205
Merge pull request #21078 from nextcloud/dependabot/npm_and_yarn/vue-router-3.2.0
Bump vue-router from 3.1.6 to 3.2.0
2020-05-25 19:45:53 +02:00
Robin Appelman 6f2e920a5b
normalize sftp path in read and write stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-05-25 15:26:04 +02:00
dependabot-preview[bot] 421b7ea254 Bump vue-router from 3.1.6 to 3.2.0
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.1.6 to 3.2.0.
- [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.1.6...v3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-25 13:19:33 +00:00
Nextcloud bot cbde1d102c
[tx-robot] updated from transifex 2020-05-25 02:16:22 +00:00
Jaakko Salo 6886b46ee2 In LockPlugin, only release a lock if it was acquired
When uploading new files, getNodeForPath() will not succeed
yet so the lock cannot be acquired.

In that case, don't try to unlock it either.

Signed-off-by: Jaakko Salo <jaakkos@gmail.com>
2020-05-24 20:26:38 +03:00
Nextcloud bot be7a198762
[tx-robot] updated from transifex 2020-05-24 02:15:55 +00:00
Nextcloud bot 23080fcd9c
[tx-robot] updated from transifex 2020-05-23 02:16:22 +00:00
Roeland Jago Douma 4db4d8fc93
Merge pull request #21001 from rubo77/pngs
compress some images with tinypng.com
2020-05-22 16:37:58 +02:00
Ruben Barkow-Kuder 4ad622a720 compress some images with tinypng.com
Signed-off-by: Ruben Barkow-Kuder <github@r.z11.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-22 13:07:11 +00:00
Nextcloud bot 3b519f776a
[tx-robot] updated from transifex 2020-05-22 02:17:20 +00:00
Nextcloud bot d870e9ece5
[tx-robot] updated from transifex 2020-05-21 02:17:26 +00:00
Nextcloud bot 74e577876c
[tx-robot] updated from transifex 2020-05-20 02:16:28 +00:00
dependabot-preview[bot] 245636cf64 Bump marked from 0.8.2 to 1.1.0
Bumps [marked](https://github.com/markedjs/marked) from 0.8.2 to 1.1.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v0.8.2...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-19 08:55:57 +00:00
dependabot-preview[bot] 70afde16bd Bump moment from 2.24.0 to 2.25.3
Bumps [moment](https://github.com/moment/moment) from 2.24.0 to 2.25.3.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.24.0...2.25.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-19 07:12:30 +00:00
Roeland Jago Douma 187eedf443
Merge pull request #21009 from nextcloud/dependabot/npm_and_yarn/vuex-3.4.0
Bump vuex from 3.1.3 to 3.4.0
2020-05-19 08:42:27 +02:00
Nextcloud bot 1b55119c85
[tx-robot] updated from transifex 2020-05-19 02:17:09 +00:00
dependabot-preview[bot] 75b813b8b9 Bump vuex from 3.1.3 to 3.4.0
Bumps [vuex](https://github.com/vuejs/vuex) from 3.1.3 to 3.4.0.
- [Release notes](https://github.com/vuejs/vuex/releases)
- [Changelog](https://github.com/vuejs/vuex/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuex/compare/v3.1.3...v3.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-18 19:01:02 +00:00
Morris Jobke ca276a9d60
Merge pull request #20846 from nextcloud/fix/link_fed_perm
Link permissions
2020-05-18 15:45:56 +02:00
dependabot-preview[bot] c39e9a855c Bump moment-timezone from 0.5.28 to 0.5.31
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.28 to 0.5.31.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.28...0.5.31)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-18 08:23:45 +00:00
Nextcloud bot a8ac6df1d0
[tx-robot] updated from transifex 2020-05-18 02:16:22 +00:00
Nextcloud bot bf2e3c4619
[tx-robot] updated from transifex 2020-05-17 02:16:59 +00:00
Nextcloud bot a84eec88e8
[tx-robot] updated from transifex 2020-05-16 02:17:14 +00:00
Roeland Jago Douma 91a2d5e012
Merge pull request #20629 from mejo-/files_sharing_preview_text
Don't load text file preview when text app is available (Fixes: #20615)
2020-05-15 19:47:02 +02:00
Morris Jobke 385b060893
Merge pull request #20941 from nextcloud/smb-3.2.4
update icewind/smb to 3.2.4
2020-05-15 14:32:56 +02:00
dependabot-preview[bot] 6df37ec2ed Bump dompurify from 2.0.8 to 2.0.11
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.8 to 2.0.11.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.8...2.0.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-15 07:41:09 +00:00
Julius Härtl 8289565bc7
Fix share update test
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-05-15 08:19:31 +02:00
Roeland Jago Douma ef34f72167
Have share permissions on link shares if it is enabled
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-15 08:18:03 +02:00
Nextcloud bot d132f81d28
[tx-robot] updated from transifex 2020-05-15 02:17:17 +00:00
Christoph Wurst d6bb0911ef
Merge pull request #20949 from nextcloud/dependachristoph/npm_and_yarn/jquery-2.2.4
Bump jQuery to v2.2
2020-05-14 14:26:12 +02:00
Christoph Wurst 4ed6284cdc
Bump jQuery to v2.2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-14 11:53:32 +02:00
dependabot-preview[bot] 5550aff634 Bump p-queue from 6.3.0 to 6.4.0
Bumps [p-queue](https://github.com/sindresorhus/p-queue) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/sindresorhus/p-queue/releases)
- [Commits](https://github.com/sindresorhus/p-queue/compare/v6.3.0...v6.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-14 08:43:05 +00:00
Roeland Jago Douma b8e4992ef1
Merge pull request #20909 from nextcloud/dependabot/npm_and_yarn/babel/core-7.9.6
Bump @babel/core from 7.9.0 to 7.9.6
2020-05-14 10:20:58 +02:00
Nextcloud bot 75d50a55b8
[tx-robot] updated from transifex 2020-05-14 02:16:36 +00:00
dependabot-preview[bot] 3d1836ad34 Bump @babel/core from 7.9.0 to 7.9.6
Bumps [@babel/core](https://github.com/babel/babel) from 7.9.0 to 7.9.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.9.0...v7.9.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-13 18:27:32 +00:00
dependabot-preview[bot] c3274d19fd Bump @babel/preset-env from 7.9.5 to 7.9.6
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.9.5 to 7.9.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.9.5...v7.9.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-13 14:14:11 +00:00
Nextcloud bot ab2df70e3a
[tx-robot] updated from transifex 2020-05-13 02:16:26 +00:00
Robin Appelman 42019c0f4f
update icewind/smb to 3.2.4
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-05-12 14:39:08 +02:00
Nextcloud bot 901110f068
[tx-robot] updated from transifex 2020-05-12 02:16:11 +00:00
Roeland Jago Douma 6e4df4258c
Merge pull request #20910 from nextcloud/dependabot/npm_and_yarn/nextcloud/dialogs-1.3.0
Bump @nextcloud/dialogs from 1.2.2 to 1.3.0
2020-05-11 21:43:28 +02:00
Roeland Jago Douma 68b2102062
Merge pull request #20876 from nextcloud/warn/js/settings
Fix some linter warnings in settings
2020-05-11 20:59:44 +02:00
dependabot-preview[bot] c103f1b406 Bump @nextcloud/dialogs from 1.2.2 to 1.3.0
Bumps [@nextcloud/dialogs](https://github.com/nextcloud/nextcloud-dialogs) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/nextcloud/nextcloud-dialogs/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-dialogs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-dialogs/compare/v1.2.2...v1.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-11 17:44:32 +00:00
Morris Jobke 231a0d332c
Merge pull request #20901 from nextcloud/warn/js/comments
Fix some js linter warnings in comments
2020-05-11 15:16:40 +02:00
Roeland Jago Douma 7daced619b Fix some linter warnings in settings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-11 12:06:29 +00:00
Roeland Jago Douma 6aea539745
Merge pull request #20844 from nextcloud/feature/noid/maintenance-mode-webdav-translated
Translate the maintenance mode message in webdav
2020-05-11 13:10:26 +02:00
Roeland Jago Douma 2ed7c24b0d
Merge pull request #20902 from nextcloud/dependabot/npm_and_yarn/vue-loader-15.9.2
Bump vue-loader from 15.9.1 to 15.9.2
2020-05-11 09:31:37 +02:00
dependabot-preview[bot] 8f8de7f6d0 Bump vue-loader from 15.9.1 to 15.9.2
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.1 to 15.9.2.
- [Release notes](https://github.com/vuejs/vue-loader/releases)
- [Changelog](https://github.com/vuejs/vue-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-loader/compare/v15.9.1...v15.9.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-11 06:56:25 +00:00
Nextcloud bot 90e6b31059
[tx-robot] updated from transifex 2020-05-11 02:16:11 +00:00
Roeland Jago Douma b45dda4ac9
Fix some js linter warnings in comments
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-10 20:23:44 +02:00
Nextcloud bot 70114cfb91
[tx-robot] updated from transifex 2020-05-10 02:15:59 +00:00
Nextcloud bot 10f62eb2a4
[tx-robot] updated from transifex 2020-05-09 02:16:34 +00:00
Roeland Jago Douma 67db893735
Merge pull request #20875 from nextcloud/warn/js/twofactor_backupcodes
Fix linter warnings on twofactor_backupcodes
2020-05-08 15:01:37 +02:00
Georg Ehrke a45f4035e6
Merge pull request #20860 from nextcloud/bugfix/noid/macos_contacts_sync_prefer_personal_over_app-generated
macOS contacts: prefer personal over app generated
2020-05-08 12:03:25 +02:00
Morris Jobke 1d588f67a3
Merge pull request #20719 from nextcloud/fix/fix_languages_empty_array
Fix languages empty array
2020-05-08 11:22:49 +02:00
Roeland Jago Douma d476c7adab
Merge pull request #20867 from nextcloud/warnigns/js/workflowengine
Fix linter warnings in workflowengine
2020-05-08 10:05:53 +02:00
GretaD fce716b905
Fix languages empty array
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-05-08 10:03:58 +02:00
Roeland Jago Douma bc8e107d16 Fix linter warnings on twofactor_backupcodes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-08 07:48:46 +00:00
Morris Jobke 02b142094f
Merge pull request #20868 from nextcloud/warn/js/updatenotification
Fix linter warnings for the updatenotification
2020-05-08 09:47:25 +02:00
Roeland Jago Douma 0f781e35bd Fix linter warnings for the updatenotification
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-08 06:40:07 +00:00
Nextcloud bot 9012f4f906
[tx-robot] updated from transifex 2020-05-08 02:16:07 +00:00
Roeland Jago Douma e3bb6b69ea Fix linter warnings in workflowengine
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-07 19:39:24 +00:00
Georg Ehrke cbbe11fa1f
Rename app-generated to z-app-generated, because macOS Contacts supports only one and will pick the first one alphabetically
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-05-07 16:48:32 +02:00
Georg Ehrke ee0019cdf5
Implement ctag and etag in ContactsInteraction
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-05-07 16:32:56 +02:00
Roeland Jago Douma d730579809
Merge pull request #20849 from nextcloud/version/20
20 in development now
2020-05-07 15:31:10 +02:00
Joas Schilling af1dd9f152
Bump app versions and requirements
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-07 10:29:04 +02:00
Roeland Jago Douma 35a506d50b
Merge pull request #20831 from nextcloud/fix/sidebar-fileinfo-change
Do not process the same FileInfo twice
2020-05-07 09:20:15 +02:00
Nextcloud bot 97f36e62f2
[tx-robot] updated from transifex 2020-05-07 02:16:14 +00:00
John Molakvoæ (skjnldsv) d37c5c3038 Do not process the same FileInfo twice
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-06 19:41:31 +00:00
Robin Appelman 614acc9419
add locking to resolve concurent move to trashbin conflicts
uses a lock to prevent two requests from moving a file to the trashbin concurrently
(causing sql duplicate key errors)

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-05-06 20:36:55 +02:00
Morris Jobke ecbc009e2f
Translate the maintenance mode message in webdav
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-05-06 18:11:54 +02:00
Morris Jobke 06732cf2af
Merge pull request #20832 from nextcloud/fix/sharing-filter-user-shares-only-fix-group-display
Do not filter id matching userId on non-user-share shares
2020-05-06 17:46:21 +02:00
Nextcloud bot 3bf4e7d673
[tx-robot] updated from transifex 2020-05-06 02:16:28 +00:00
John Molakvoæ (skjnldsv) a26ca1e638
Do not filter id matching userId on non-user-share shares
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-05 21:36:46 +02:00
John Molakvoæ (skjnldsv) edecd0931e Fix filtering our owner & current user from shares
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-05 10:28:33 +00:00
Nextcloud bot 09d7854d0e
[tx-robot] updated from transifex 2020-05-05 02:16:14 +00:00
John Molakvoæ (skjnldsv) ff20da637e Fix federated link sharing permissions
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-04 11:48:11 +00:00
Morris Jobke 6aceb39714
Merge pull request #19124 from nextcloud/bug/13647/ignore-delete-groups
Exclude groups from sharing: Skip delete groups
2020-05-04 10:02:32 +02:00
Nextcloud bot 43fefee847
[tx-robot] updated from transifex 2020-05-04 02:16:18 +00:00
Nextcloud bot d2f165e448
[tx-robot] updated from transifex 2020-05-03 02:16:16 +00:00
Gary Kim 8dd23f9854
Fix expiry datepicker allowing all dates
vue2-datepicker expects a `disabled-date` function
rather than `not-before` and `not-after` dates.

This commit updates it so that we now provide
vue2-datepicker with a `disabled-date` function.

Signed-off-by: Gary Kim <gary@garykim.dev>
2020-05-02 18:58:41 +08:00
Nextcloud bot e77e0b0e2f
[tx-robot] updated from transifex 2020-05-02 02:16:32 +00:00
John Molakvoæ (skjnldsv) 31172a0cd9 Process shares only once, better debug and expiration date code
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-01 13:39:57 +00:00
Roeland Jago Douma b7b7b2872c
Fix owner on publicownerwrapper
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-01 10:50:26 +02:00
Roeland Jago Douma c724eb24d5
Merge pull request #20380 from nextcloud/design/notification-mails
Fix design and layout of notification mails
2020-05-01 08:53:39 +02:00
Roeland Jago Douma da9ad9ec78
Merge pull request #20291 from nextcloud/fix/user_menu_not_focused
Fix focus for user actionmenu
2020-05-01 08:42:06 +02:00
Nextcloud bot 9f448d864b
[tx-robot] updated from transifex 2020-05-01 02:16:47 +00:00
Jan-Christoph Borchardt e981669e89
Fix notification mail tests
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-05-01 03:00:42 +02:00
GretaD 9b1f98f6fd Fix the keyboard tab for actionmenu
Signed-off-by: GretaD <gretadoci@gmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-30 19:03:56 +00:00
Roeland Jago Douma b2b8be83f8
Merge pull request #20538 from nextcloud/fix/20520/share-expire
Fix share expiration date not shown
2020-04-30 20:55:05 +02:00
Jan-Christoph Borchardt ae665e2175
Merge pull request #20744 from nextcloud/fix/public-design
Fix public layout header title & description
2020-04-30 19:02:32 +02:00
Gary Kim 02b5ded840
Fix share expiration date not shown
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-04-30 22:35:52 +08:00
Morris Jobke 0f9b88c5a9
Merge pull request #20718 from nextcloud/fix/public_share_owner_activity_mess
Add a wrapper to fall back to the share owner on public shares
2020-04-30 13:46:13 +02:00
John Molakvoæ (skjnldsv) 6e79fb60d8
Fix public layout header title & description
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-30 13:32:28 +02:00
Joas Schilling 5b5550dbba
Merge pull request #20677 from nextcloud/followup/17718/scaling-user-provisioning
Scaling user provisioning for subadmins with many groups
2020-04-30 12:49:57 +02:00
Roeland Jago Douma b8b53a2d9a
Merge pull request #19436 from nextcloud/bugfix/noid/dav-quota-calculation
Do not include mountpoints when calculating quota usage on WebDAV
2020-04-30 09:13:19 +02:00
Roeland Jago Douma a1f3293c06
Merge pull request #19039 from nextcloud/dav-activity-provide-links-to-calendar
Provide links to calendar in event creation/update activities
2020-04-30 09:10:56 +02:00
Roeland Jago Douma bc66bdc072
Add a wrapper to fall back to the share owner on public shares
Else it might happen that we setup a storage that has no real owner and
activities do boom etc (looking at you groupfolders and external
storages!).

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-30 08:57:01 +02:00
Roeland Jago Douma 2df57b270c
Merge pull request #20720 from nextcloud/bugfix/noid/temporary-fix-contacts-search
Temporary fix contacts search
2020-04-30 08:52:50 +02:00
Nextcloud bot 523a8ba5c3
[tx-robot] updated from transifex 2020-04-30 02:17:11 +00:00
Roeland Jago Douma d466a7b808 Allow to navigate to others with access from the sidebar
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-29 17:53:35 +00:00
Joas Schilling f662d3663b
Temporary fix contacts search
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-29 14:48:41 +02:00
Christoph Wurst b219eadb8f
Merge pull request #20714 from nextcloud/fix/license-headers-19
Update license headers for 19
2020-04-29 14:24:27 +02:00
Christoph Wurst cb057829f7
Update license headers for 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-29 11:57:22 +02:00
dependabot-preview[bot] 08296c04c0 Bump webpack from 4.42.1 to 4.43.0
Bumps [webpack](https://github.com/webpack/webpack) from 4.42.1 to 4.43.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.42.1...v4.43.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-29 09:23:51 +00:00
Nextcloud bot 297276baba
[tx-robot] updated from transifex 2020-04-29 02:16:55 +00:00
Morris Jobke 192cf12440
Merge pull request #20636 from nextcloud/tests/noid/tests-for-update-notifications-controller
Add tests for update notification controller for non-default updater …
2020-04-28 16:18:18 +02:00
Morris Jobke 773e9d0554
Add tests for update notification controller for non-default updater server URL
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-04-28 15:28:47 +02:00
blizzz 0c701cec56
Merge pull request #20676 from clementhk/ldap-group
Don't remove last user in ldap group when limit is -1
2020-04-28 12:58:02 +02:00
Roeland Jago Douma c69686a29d
Merge pull request #20673 from nextcloud/enh/tweaks-app-data-scan
Set exit code if something went wrong.
2020-04-28 12:04:25 +02:00
Nextcloud bot ef566a1f40
[tx-robot] updated from transifex 2020-04-28 02:16:22 +00:00
Morris Jobke 31ebc827f7
Merge pull request #20558 from nextcloud/dependabot/npm_and_yarn/vue-click-outside-1.1.0
Bump vue-click-outside from 1.0.7 to 1.1.0
2020-04-27 11:08:21 +02:00
Morris Jobke 1738e17e20
Merge pull request #19793 from nextcloud/bugfix/noid/link-to-federated-reshare
Fix resharing of federated shares that were created out of links
2020-04-27 11:05:34 +02:00
Morris Jobke 3c5c4caa4d
Merge pull request #20632 from nextcloud/bugfix/20624
Only catch anonymous OPTIONS for Office
2020-04-27 10:38:32 +02:00
Nextcloud bot e56ffe5992
[tx-robot] updated from transifex 2020-04-27 02:16:13 +00:00
Clement Wong 9f5f505acf Don't remove last user in ldap group when limit is -1
Signed-off-by: Clement Wong <git@clement.hk>
2020-04-27 02:33:00 +02:00
Daniel Kesselberg 3294f53942
Set exit code if something went wrong.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-04-26 20:37:21 +02:00
Thomas Citharel deb2ea9cea
Provide links to calendar in event creation/update activities
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-04-26 11:11:50 +02:00
Nextcloud bot 0eeb660679
[tx-robot] updated from transifex 2020-04-26 02:16:12 +00:00
Mikael Hammarin 6ffde74928
Patch to optimize for large installations (>5000 users >20000 groups) where subadmins have access to many of groups (>250)
- UsersController:editUser() calls isUserAccessible() even if the user is admin

This fix reduces API calls to editUser (ex change locale/display name) from >2 minutes (!) to ~3 seconds per call in average.

Signed-off-by: Mikael Hammarin <mikael@try2.se>
2020-04-25 14:37:46 +02:00
Nextcloud bot 39f6f1ba34
[tx-robot] updated from transifex 2020-04-25 02:16:01 +00:00
Julius Härtl 902d12555e
Do not include mountpoints when calculating quota usage on WebDAV
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-24 18:15:43 +02:00
Daniel Kesselberg 16f29d81bf
Ignore delete groups
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-04-24 18:10:02 +02:00
dependabot-preview[bot] dc46743ef5 Bump vue-click-outside from 1.0.7 to 1.1.0
Bumps [vue-click-outside](https://github.com/vue-bulma/click-outside) from 1.0.7 to 1.1.0.
- [Release notes](https://github.com/vue-bulma/click-outside/releases)
- [Commits](https://github.com/vue-bulma/click-outside/commits/v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-24 14:58:19 +00:00
Roeland Jago Douma 768b012000
Merge pull request #20570 from nextcloud/fix/20235/use_uploadfile
Use a proper upload file so propfinds return 404
2020-04-24 16:31:38 +02:00
Roeland Jago Douma 4114bce1e5
Merge pull request #17623 from j3l11234/master
Add support for download share on old android browser
2020-04-24 16:01:45 +02:00
Julius Härtl d7161b4eee
Only catch anonymous OPTIONS for Office
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-24 14:46:07 +02:00
Roeland Jago Douma 8c07b6e07a
Merge pull request #20626 from nextcloud/enh/scan-appdata-folder-arg
Add folder argument to files:scan-app-data
2020-04-24 13:07:17 +02:00
blizzz 212138daa1
Merge pull request #19919 from nextcloud/enh/noid/ldpa_group_perf
LDAP Group Backend optimizations
2020-04-24 12:27:27 +02:00
Jonas Meurer afeeb1eb1f
Don't load text file preview when text app is available (Fixes: #20615)
When opening a shared text document, the files_sharing app uses
internal preview support in case no other app to open the text file is
available.

So far, it only checks for the old files_texteditor app, not for the new
new text app. This commit fixes this by checking for both.

Signed-off-by: Jonas Meurer <jonas@freesources.org>
2020-04-24 11:14:21 +02:00
Nextcloud bot 84a3536159
[tx-robot] updated from transifex 2020-04-24 02:27:55 +00:00
blizzz 038045d55e
Merge pull request #18816 from nextcloud/bugfix/noid/paginate-contacts-search
Use paginated search for contacts
2020-04-23 22:20:58 +02:00
Arthur Schiwon 4babdc082b
formatting
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-04-23 21:34:05 +02:00
Julius Härtl 6709833dc7
Use paginated search for contacts
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-23 19:08:16 +02:00
blizzz 24e58947d6
Merge pull request #20618 from nextcloud/bugfix/noid/fix-workflow-ui
Fix workflow UI
2020-04-23 17:16:33 +02:00
Joas Schilling 335b1f15f3
Fix workflow UI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-23 13:52:04 +02:00
Robin Appelman 7a4ea4a6b6
make php-cs happy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-23 13:35:30 +02:00
Nextcloud bot 79e3823d72
[tx-robot] updated from transifex 2020-04-23 02:16:54 +00:00
blizzz 4a8871f5f2
Merge pull request #19399 from nextcloud/smb-read-acl
Add option to check share ACL's when listing directories
2020-04-22 23:16:12 +02:00
Roeland Jago Douma 8c5bb22bc1
Merge pull request #20576 from nextcloud/fix/dav/oc-etag
Make sure that OC-ETag is set again
2020-04-22 22:21:22 +02:00
John Molakvoæ d0a57a33a9
Merge pull request #20595 from nextcloud/fix/ie11-fallback-upload
Fix IE11 upload fallback methods
2020-04-22 22:06:56 +02:00
Morris Jobke f0ad46dec8
Merge pull request #20575 from nextcloud/fix/sharing-suggestions
Fix Sharing recommendation user display
2020-04-22 14:56:01 +02:00
Roeland Jago Douma acdc68e1e2
Merge pull request #20591 from nextcloud/fix/settings
Fix settings routing
2020-04-22 14:45:25 +02:00
Robin Appelman 7f32fe6d50
add tooltip to option
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-22 14:25:33 +02:00
John Molakvoæ (skjnldsv) 754fd40e40
Fix IE11 upload fallback methods
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-22 13:40:23 +02:00
Morris Jobke 8ffa762486
Merge pull request #20536 from nextcloud/fix/noid/ldap-73api-read-wo-pagedresults
do not run paged results against ldap_read ops on PHP7.3+
2020-04-22 13:37:43 +02:00
Roeland Jago Douma e983ae3b06
Add folder argument to files:scan-app-data
If you need to rescan something but don't feel like rescanning your
whole preview stash.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-22 13:27:33 +02:00
Roeland Jago Douma c870b6ab2e
Fix new routing in settings etc
Also prefix resources
Unify the prefix handling
Handle urls with and without slash

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-22 13:09:25 +02:00
Nextcloud bot ac57bbcf99
[tx-robot] updated from transifex 2020-04-22 02:17:06 +00:00
Robin Appelman 23e2baeb95
Add option to check share ACL's when listing directories
If a file or folder in a directory doesn't have read permissions they
will not be shown

Note that enabling this option incurs a performance penalty additional
requests need to be made to get all the acl.

Additionally the acl resolving logic is fairly primitive at the moment
and might not work correctly in all setups (it should error to showing
the entry)

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-21 16:26:12 +02:00
Roeland Jago Douma 8f650feede
Merge pull request #20114 from nextcloud/techdebt/noid/allow-some-apps-to-have-root-urls
Allow some apps to have root URLs in their own routing file
2020-04-21 16:00:34 +02:00
Arthur Schiwon 75c686d825
do not run paged results against ldap_read ops on PHP7.3+
- previously it was needed as the PHP LDAP handling of paged results was
strange
- but now the read operation would fail, e.g. with extra home dir attribute
set ("Home dir attribute can't be read from LDAP for uid: foobar"

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-04-21 15:47:49 +02:00
Julius Härtl 5646f7c761
Link shares have reshare permission if outgoing federated shares are enabled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-21 14:35:29 +02:00
Julius Härtl 45c3ee7f36
Set proper share type when converting link shares to federated shares
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-21 14:35:28 +02:00
Daniel Kesselberg 0e925285b7
Add test that shares and tags are ignored for chunk files.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-04-21 14:00:52 +02:00
Roeland Jago Douma aa79f9ada2
Merge pull request #20577 from nextcloud/bugfix/noid/sabre4_aftermethod
Fix usages of afterMethod -> afterMethod:*
2020-04-21 13:26:13 +02:00
Morris Jobke 89bd8ea449
Merge pull request #20564 from go2sh/fix_fileinfo
Set fileInfo correctly for LegacyTabs
2020-04-21 12:24:54 +02:00
Roeland Jago Douma 8730cc6764
Use a proper upload file so propfinds return 404
Fixes #20235

By using an UploadFile we make sure that we don't need to have another
check everywhere for the path. But we just have ot check (which we have
to anyway) if it is a proper Connector/File (or directory).

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-21 10:33:28 +02:00
Georg Ehrke effcd58e14
Fix usages of afterMethod -> afterMethod:*
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-04-21 10:19:06 +02:00
Roeland Jago Douma 4ee56689a8
Make sure that OC-ETag is set again
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-21 10:14:31 +02:00
John Molakvoæ (skjnldsv) 7eceba7dae Fix Sharing recommendation user display
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-21 07:48:10 +00:00
Nextcloud bot f0c1041d2e
[tx-robot] updated from transifex 2020-04-21 02:16:40 +00:00
Robin Appelman 9735b5d61f
Add method to storage backends to get directory content with metadata
Currently you need to use `opendir` and then call `getMetadata` for
every file, which adds overhead because most storage backends already
get the metadata when doing the `opendir`.

While storagebackends can (and do) use caching to relief this problem,
this adds cache invalidation dificulties and only a limited number of
items are generally cached (to prevent memory usage exploding when
scanning large storages)

With this new methods storage backends can use the child metadata they
got from listing the folder to return metadata without having to keep
seperate caches.

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-20 15:45:04 +02:00
Nextcloud bot b1a90da347
[tx-robot] updated from transifex 2020-04-20 02:16:12 +00:00
Christoph Seitz c9e0ea525b Set fileInfo correctly for LegacyTabs
Watch for changes of the fileInfo prop and propagate it to,
the underlying component.

Fixes #20106.

Signed-off-by: Christoph Seitz <christoph.seitz@posteo.de>
2020-04-19 22:56:30 +02:00
Nextcloud bot e9930aebc7
[tx-robot] updated from transifex 2020-04-19 02:16:10 +00:00
Joas Schilling 1b93d5f1db
PHP CS fixes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling 685d7b0637
Directly use the class to get the service
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling 031b6656d1
Reduce noise in test output
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling 9654a924ab
Fix route definitions of cloud_federation_api
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling e45c87cd2e
Fix creating the share controller
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling 708b4991d9
Fix legacy routes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling f93d55eebd
PHP CS fixes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling 3f8168b6e5
Allow some apps to have root URLs in their own routing file
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Roeland Jago Douma 64196ddd19
Merge pull request #20449 from liamjack/fix/19066/empty_file_versions
Array offset error due to empty file versions array
2020-04-18 10:54:19 +02:00
Roeland Jago Douma ad603fd13a
Merge pull request #20540 from nextcloud/fix/mail-test
Fix mailer test
2020-04-18 10:34:04 +02:00
Roeland Jago Douma 2fc35d10e4
Added trailing space
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-18 10:26:35 +02:00
Nextcloud bot 148bdabd58
[tx-robot] updated from transifex 2020-04-18 02:16:28 +00:00
Arthur Schiwon ab550d682f
do not rerun expensive sanitizer against already processed DNs
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-04-17 12:49:47 +02:00
Arthur Schiwon 32000dd1af
read records from DB for lists at once, not one by one.
Keep a runtime cache of dn-id-mapping

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-04-17 12:39:54 +02:00
Arthur Schiwon cc31c38277
don't circulate with only one backend
- saves some overhead costs
- in some occasions saves LDAP requests

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-04-17 12:38:52 +02:00
Arthur Schiwon e8ddb4718c
consolidate groupsMatchFilter in groupsExist
- less duplication
- profiting of the same cache entry

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-04-17 12:38:07 +02:00
Roeland Jago Douma ed56619a20
Merge pull request #19901 from nextcloud/bugfix/noid/vcard-photo-handling
Improved vcard photo handling
2020-04-17 11:43:20 +02:00
John Molakvoæ 7c4b7e9329
Merge pull request #20529 from nextcloud/fix/Card-multiple
Update list of multiple properties
2020-04-17 10:39:19 +02:00
John Molakvoæ 36f9ad32f2
Merge pull request #20447 from liamjack/fix/13287/welcome_email
Increase max-height on button in welcome email template
2020-04-17 09:42:49 +02:00
John Molakvoæ (skjnldsv) 29541322c1
Update list of multiple properties
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-17 09:38:47 +02:00
Morris Jobke 9bd9c2bf32
Merge pull request #20381 from nextcloud/fix/allow_edit_admin_user
Allow to edit admin user
2020-04-17 09:06:58 +02:00
Nextcloud bot a8809f079b
[tx-robot] updated from transifex 2020-04-17 02:16:31 +00:00
GretaD d17c58eeec
Allow to edit admin user
Signed-off-by: GretaD <gretadoci@gmail.com>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-04-16 11:59:01 +02:00
Roeland Jago Douma 8971403ada
Merge pull request #20511 from nextcloud/fix/cs-fixer-ldap
PHP-CS-Fixer green
2020-04-16 10:37:49 +02:00
Roeland Jago Douma d9990b09b8
PHP-CS-Fixer green
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-16 09:25:17 +02:00
Roeland Jago Douma bb4dedb015
Provide the proper language to the mailer
Else we can't properly translate the footer in the recipients e-mail
language.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-16 09:04:13 +02:00
Nextcloud bot 078ac97939
[tx-robot] updated from transifex 2020-04-16 02:17:30 +00:00
Georg Ehrke fe4527a8e2
Update Contact Size after removing photo
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-04-15 15:49:49 +02:00
Joas Schilling 648c8df516
Don't populate the PHOTO property when it's not an image
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-15 15:49:39 +02:00
Joas Schilling bb754cb363
Always transform the etag and read the data
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-15 15:49:36 +02:00
Joas Schilling 2e9f105786
Use table variable everywhere
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-15 15:49:12 +02:00
Arthur Schiwon 73271aa086
DAV's exception logger should deal with any Throwable
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-04-15 15:28:37 +02:00
blizzz 8bc381f104
Merge pull request #20037 from nextcloud/fix/19127/deprecated-ldap_control_paged_result_1
do not use deprecated API for LDAP paged results
2020-04-15 15:02:51 +02:00
Morris Jobke d8557d0d8a
Merge pull request #19540 from jlutran/fixKeystoneV3Auth
Fix issues with Keystone auth v3 in files_external app
2020-04-15 14:05:32 +02:00
Joas Schilling 5c0637bc90
Merge pull request #20138 from nextcloud/bugfix/noid/make-remote-checking-more-generic
Make remote checking more generic
2020-04-15 12:48:49 +02:00
Roeland Jago Douma 19171d77e2
Merge pull request #19191 from laurisb/patch-1
Improve Opcache detection
2020-04-15 11:03:05 +02:00
Julien Lutran 3e849daf11
Fix issues with Keystone auth v3 in files_external app
Signed-off-by: Julien Lutran <julien.lutran@corp.ovh.com>
2020-04-15 10:33:08 +02:00
Roeland Jago Douma d63abebc93
Merge pull request #19351 from nextcloud/dav-upload-hash
Return hashes of uploaded content for dav uploads
2020-04-15 10:23:22 +02:00
Roeland Jago Douma b212151af1
Merge pull request #20476 from nextcloud/techdebt/php-cs-check-action
Add php-cs check action
2020-04-15 08:30:29 +02:00
Joas Schilling fd0c1a3bb2
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-15 08:06:51 +02:00
Nextcloud bot bccd13ffae
[tx-robot] updated from transifex 2020-04-15 02:17:12 +00:00
Joas Schilling 609b8aff12
Also disallow ; in remote urls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-14 18:56:06 +02:00
Joas Schilling 5e402f8aae
Check all remotes for local access
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-14 18:56:06 +02:00
Christoph Wurst 833d1d2c3b
Fix php-cs formatting
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-14 17:53:44 +02:00
Roeland Jago Douma d7a74d0e35
Merge pull request #20472 from nextcloud/fix/19848/make-sure-destination-is-not-a-directory
Verify that destination is not a directory.
2020-04-14 15:20:46 +02:00
Arthur Schiwon 84619a5b9c
use serverControls directly with LDAP calls, fixes 19127
- adapters for PHP API version to Support PHP < 7.3
- switch to pass only one base per search
- cookie logic is moved from Access to API adapters

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-04-14 12:58:28 +02:00
Daniel Kesselberg 91ab811824
Verify that destination is not a directory.
Otherwise file_put_contents will fail later.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-04-14 12:52:12 +02:00
John Molakvoæ (skjnldsv) 47146a1992 Properly display share error messages
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-14 08:39:40 +00:00
Nextcloud bot 09bb8ac6e2
[tx-robot] updated from transifex 2020-04-14 02:16:50 +00:00
John Molakvoæ 3ea9dd8487
Merge pull request #19852 from nextcloud/dav/provide-dav-setting-for-default-calendar
Provide dav setting for user's default calendar
2020-04-13 17:00:04 +02:00
dependabot-preview[bot] d5ce231c4b Bump marked from 0.8.1 to 0.8.2
Bumps [marked](https://github.com/markedjs/marked) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v0.8.1...v0.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-13 14:10:24 +00:00
Thomas Citharel 0408c37b3d
Only delete the default calendar setting when the default calendar
itself is deleted

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-04-13 15:07:43 +02:00
Thomas Citharel ebdf66b706
Provide dav setting for user's default calendar
And add tests to handle schedule-default-calendar-URL

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-04-13 15:07:42 +02:00
dependabot-preview[bot] ae6e5fb76d Bump @nextcloud/paths from 1.1.1 to 1.1.2
Bumps @nextcloud/paths from 1.1.1 to 1.1.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-13 12:24:37 +00:00
Roeland Jago Douma 21d8a2bfc1
Merge pull request #20446 from nextcloud/dependabot/npm_and_yarn/css-loader-3.5.2
Bump css-loader from 3.4.1 to 3.5.2
2020-04-13 14:11:00 +02:00
Roeland Jago Douma a307d82e1d
Merge pull request #20427 from nextcloud/bug/noid/fix-password-reset-activity
Fix password reset saying Admin changed my password when reset from login page
2020-04-13 13:15:49 +02:00
dependabot-preview[bot] 372d6bf23e Bump css-loader from 3.4.1 to 3.5.2
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.4.1 to 3.5.2.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.4.1...v3.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-13 11:13:09 +00:00
Robin Appelman 57403c7020
dont set headers for cli
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-13 12:57:29 +02:00
Robin Appelman c2677682c4
Return hashes of uploaded content for dav uploads
hashes are set in "X-Hash-MD5", "X-Hash-SHA1" and "X-Hash-SHA256" headers.

these headers are set for file uploads and the MOVE request at the end of a multipart upload.

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-13 12:57:27 +02:00
Nextcloud bot 6187cea304
[tx-robot] updated from transifex 2020-04-13 02:19:45 +00:00
Roeland Jago Douma 1cc793888f
Merge pull request #20421 from nextcloud/fix/20393/recommendend_webauthn_mods
Show setup check for recommended php modules
2020-04-12 15:56:10 +02:00
Liam JACK b6c76f43a1
Fix #19066 - Array offset error due to empty file versions array
Signed-off-by: Liam JACK <liamjack@users.noreply.github.com>
2020-04-12 15:35:17 +02:00
Liam JACK 301335e9e1
Fix #13287 - Increase max-height on button in welcome email template
Signed-off-by: Liam JACK <liamjack@users.noreply.github.com>
2020-04-12 13:07:16 +02:00
John Molakvoæ 8924214299
Merge pull request #20439 from nextcloud/Valdnet-patch-3
Changing the translation catalog for "Share"
2020-04-12 09:08:52 +02:00
Nextcloud bot d32ea71c30
[tx-robot] updated from transifex 2020-04-12 03:09:11 +00:00
Valdnet a50698b3c3 Changing the translation catalog for "Share"
Change "files" to "files_sharing".

Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-12 02:20:14 +00:00
Julius Härtl c20321e7e0 Add tests for encoded group id
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-11 06:36:20 +00:00
Julius Härtl 5252836f44
Make sure the group id parameter gets properly encoded when used in URLs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-11 08:28:15 +02:00
Julius Härtl e7249de145
Make the groupId url encoded
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-11 08:28:15 +02:00
John Molakvoæ e5ac5c7f34
Merge pull request #20185 from azul/open-new_tab
Modify do_action so default ctrl-click opens tab
2020-04-11 08:23:11 +02:00
John Molakvoæ b5a30d5cd6
Merge pull request #20426 from nextcloud/techdebt/psr2
It is done
2020-04-11 08:21:35 +02:00
John Molakvoæ 97de425a17
Merge pull request #20419 from nextcloud/dependabot/npm_and_yarn/various
Bump p-limit from 2.2.2 to 2.3.0, @nextcloud/auth from 1.2.2 to 1.2.3, @babel/preset-env from 7.8.7 to 7.9.5, @nextcloud/event-bus from 1.1.3 to 1.1.4, @nextcloud/password-confirmation from 1.0.0 to 1.0.1, @nextcloud/l10n from 1.2.2 to 1.2.3, @nextcloud/initial-state from 1.1.1 to 1.1.2, core-js from 3.6.4 to 3.6.5 …
2020-04-11 08:18:14 +02:00
Nextcloud bot de52e1cda7
[tx-robot] updated from transifex 2020-04-11 02:18:37 +00:00
Thomas Citharel 18e8af4bb8
Fix password reset saying Admin changed my password when reset from
login page

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-04-10 18:05:43 +02:00
Christoph Wurst 734c62bee0
Format code according to PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 16:56:50 +02:00
Christoph Wurst 28f8eb5dba
Add visibility to all constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 16:54:27 +02:00
Christoph Wurst 1584c9ae9c
Add visibility to all methods and position of static keyword
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 16:51:06 +02:00
Christoph Wurst a7c8d26d31
Add visibility to all properties and move static keyword
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 16:48:31 +02:00
John Molakvoæ (skjnldsv) e24818f6bb Bump core-js from 1.4.1 to 1.5.0
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-10 12:37:20 +00:00
Christoph Wurst caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.

This also removes and empty lines from method/function bodies at the
beginning and end.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 14:19:56 +02:00
Roeland Jago Douma 75836f004d
Show setup check for recommended php modules
Fixes #20393

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-10 13:25:12 +02:00
Christoph Wurst 14c996d982
Use elseif instead of else if
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 10:35:09 +02:00
Roeland Jago Douma 7799eef90e
Merge pull request #20390 from nextcloud/refactor/no-closing-tag
Do not use closing tags
2020-04-10 08:34:18 +02:00
Nextcloud bot 078b12a9b0
[tx-robot] updated from transifex 2020-04-10 02:18:23 +00:00
Christoph Wurst 008e6d7e84
Merge pull request #20391 from nextcloud/refactor/spaces-cleanup
Remove all extra whitespace PSR2 does not like
2020-04-09 20:39:37 +02:00
Azul 43f0d2a3b5 Allow opening files for editing in new tabs
In a file list files with a default action
have an href that will trigger the action.
This way ctrl-click and middle button click open the default action in a new tab.

In order to achieve this a new param `openfile` was introduced to the files app.
It will make the files app trigger the default action for the file in question.
This also allows linking to file content rather than just the details display.

Introduce fileList.getDefaultActionUrl()
to create a link with that param set.
It's overwritten in the trashbin fileList
so that anchors continue to have `#` as a href.

Fix the link generation for subfolders of public shares:
58a87d0 was the last commit that touched the linkTo function in public.js.
It included the params as arguments to the generateUrl function.
Turns out this completely ignores the dir parameter now.
The inclusion was reverted in other places
so revert it here as well.
Also change `dir` to `path` in the param as that is respected
when following the link.

Add Test for the new link url for files with default action.
Remove test for multiple selects with ctrl-click
as that is not what we are doing anymore.

Signed-off-by: Azul <azul@riseup.net>
2020-04-09 16:41:09 +02:00
Christoph Wurst 64510932b8
Merge pull request #20384 from nextcloud/techdebt/lowercase-keywords
Use php keywords in lowercase
2020-04-09 16:25:14 +02:00
Christoph Wurst 3a415e4139
Remove space between switch case and colon
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 16:17:53 +02:00
Christoph Wurst f4c09f299d
Make sure there is exactly one newline after imports
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 16:14:31 +02:00
Christoph Wurst bcd13296de
Make sure every file ends with an empty newline
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 16:11:50 +02:00
Christoph Wurst a8a06a82d2
Remove trailing whitespaces from comments
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 16:09:23 +02:00
Christoph Wurst 44577e4345
Remove trailing and in between spaces
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 16:07:47 +02:00
Christoph Wurst 42625a46be
Remove spaces after method or function call
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 16:05:56 +02:00
Christoph Wurst 709584b853
Do not use closing tags
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 16:01:17 +02:00
Christoph Wurst c56a273b39
Merge pull request #20383 from nextcloud/techdebt/function-spacing
Unify function spacing to PSR2 recommendation
2020-04-09 15:53:09 +02:00
Christoph Wurst 36b3bc8148
Use php keywords in lowercase
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 14:04:56 +02:00
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 13:54:22 +02:00
John Molakvoæ 66b743385e
Merge pull request #20355 from nextcloud/fix/comments/clear-input/19585
Clear comment on successful post
2020-04-09 13:46:20 +02:00
Christoph Wurst 2a529e453a
Use a blank line after the opening tag
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 11:50:14 +02:00
Christoph Wurst 41b5e5923a
Use exactly one empty line after the namespace declaration
For PSR2

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 11:48:10 +02:00
Christoph Wurst 2fbad1ed72
Fix (array) indent style to always use one tab
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 10:16:08 +02:00
John Molakvoæ 732a239cfd
Merge pull request #20363 from nextcloud/smb-3.2.3
update icewind/smb to 3.2.3
2020-04-09 08:16:43 +02:00
Nextcloud bot b537e9fbc7
[tx-robot] updated from transifex 2020-04-09 02:18:26 +00:00
Christoph Wurst 85e369cddb
Fix multiline comments
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-08 22:24:54 +02:00
Azul d2728cbdc1 refactor: fileActions.getCurrentDefaultFileAction()
fileActions.getCurrentDefaultFileAction() returns the default file action
for the currently selected file.

There were a number of places querying for the mime, type and permissions
of that file first to then query for the default action.

Signed-off-by: Azul <azul@riseup.net>
2020-04-08 18:19:58 +02:00
Robin Appelman 2340f4f2d5
update icewind/smb to 3.2.3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-08 17:30:47 +02:00
Joas Schilling 3ea37d0d10
Show the displayname instead of the user id
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-08 16:09:03 +02:00
Joas Schilling f8a5812f98
Try to use the display name of file transfers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-08 15:41:20 +02:00
Roeland Jago Douma 981278a666
Merge pull request #20315 from nextcloud/dependabot/npm_and_yarn/handlebars-4.7.6
Bump handlebars from 4.7.4 to 4.7.6
2020-04-08 15:37:58 +02:00
dependabot-preview[bot] 32209c0d92 Bump handlebars from 4.7.4 to 4.7.6
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.4 to 4.7.6.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.4...v4.7.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-08 12:59:43 +00:00
John Molakvoæ (skjnldsv) 05821ab243 Clear comment on successful post
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-08 06:29:38 +00:00
Nextcloud bot 8146e1988c
[tx-robot] updated from transifex 2020-04-08 02:18:45 +00:00
Roeland Jago Douma e266666380
Merge pull request #20188 from nextcloud/bug/19662/add-default-title-for-event-in-invitatios
Add default titles for titleless events in invitations
2020-04-07 11:22:17 +02:00
Nextcloud bot 9895aff4d9
[tx-robot] updated from transifex 2020-04-07 02:18:10 +00:00
Christoph Wurst 8119e0b18e
Inline usages of OCP.Toast in bundled files
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-06 17:19:57 +02:00
Christoph Wurst 01a70e5d0f
Use external Toast implementation and deprecate the OCP API
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-06 17:00:58 +02:00
Roeland Jago Douma 1d62b9786f
Merge pull request #20276 from nextcloud/files-external-param-tooltop
allow setting tooltips for external storage config options
2020-04-06 16:42:39 +02:00
dependabot-preview[bot] 52f4feca92 Bump @nextcloud/l10n from 1.1.1 to 1.2.2
Bumps [@nextcloud/l10n](https://github.com/nextcloud/nextcloud-l10n) from 1.1.1 to 1.2.2.
- [Release notes](https://github.com/nextcloud/nextcloud-l10n/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-l10n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-l10n/compare/v1.1.1...v1.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-06 13:50:12 +00:00
Roeland Jago Douma 9a4193f557
Merge pull request #19761 from nextcloud/bugfix/19658/add_missing_index_to_original_migration
Add missing index to original migration
2020-04-06 09:44:34 +02:00
Nextcloud bot d25885441e
[tx-robot] updated from transifex 2020-04-06 02:18:03 +00:00
Roeland Jago Douma 513dea13cc
Merge pull request #20309 from nextcloud/rakekniven-patch-2
l10n: Triple dot to ellipsis.
2020-04-05 13:53:41 +02:00
Roeland Jago Douma 4e9cd2b307
Merge pull request #20308 from nextcloud/rakekniven-patch-1
l10n: Changed spelling of WebAuthn
2020-04-05 13:06:56 +02:00
npmbuildbot[bot] 922221bbb3 Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-05 07:29:38 +00:00
Nextcloud bot cac1480bf8
[tx-robot] updated from transifex 2020-04-05 02:18:04 +00:00
rakekniven 531187ce58
l10n: Triple dot to ellipsis.
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
2020-04-04 23:09:12 +02:00
rakekniven a4dc7f772b
l10n: Changed spelling of WebAuthn
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
2020-04-04 23:04:33 +02:00
rakekniven e5b3ee615e
l10n: Changed spelling of WebAuthn
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
2020-04-04 23:02:10 +02:00
rakekniven ee83fc0d2b
l10n: Changed spelling of WebAuthn
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
2020-04-04 23:00:43 +02:00
Roeland Jago Douma 4a292126e5
Merge pull request #20139 from nextcloud/unify-default-value-for-restricting-user-enumeration-with-settings
Unify default value for restricting user enumeration with settings
2020-04-04 10:33:04 +02:00
Roeland Jago Douma 0e53be44d5
Merge pull request #20273 from nextcloud/dependachristoph/npm_and_yarn/handlebars-minimist
Update handlebars to get rid of minimist
2020-04-04 10:27:02 +02:00
Roeland Jago Douma 5c6f9ca278
Merge pull request #20284 from nextcloud/bugfix/noid/catch-no-user-in-cron
Properly catch NoUserException during upload cleanup
2020-04-04 10:25:53 +02:00
Nextcloud bot 3a0b70696c
[tx-robot] updated from transifex 2020-04-04 02:17:51 +00:00
Julius Härtl fba7bcfcc4
Catch NoUserException when running the upload cleanup as cronjob
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-03 23:06:26 +02:00
Robin Appelman 857957b45e
allow setting tooltips for external storage config options
allows explaining non-obvious config options a bit more

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-03 15:44:53 +02:00
Nextcloud bot 4e8bbc4e34
[tx-robot] updated from transifex 2020-04-03 12:08:12 +00:00
Thomas Citharel 058ffa37ff
Add default titles for titleless events in invitations
Closes #19662

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-04-03 13:49:25 +02:00