Commit Graph

22835 Commits

Author SHA1 Message Date
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
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
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 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