Commit Graph

23368 Commits

Author SHA1 Message Date
Nextcloud bot 7f83150f4a
[tx-robot] updated from transifex 2020-09-28 02:17:48 +00:00
Nextcloud bot 190f0be5fb
[tx-robot] updated from transifex 2020-09-27 02:17:24 +00:00
Nextcloud bot a2c414fa91
[tx-robot] updated from transifex 2020-09-26 02:17:48 +00:00
Joas Schilling deddcbd817
Merge pull request #23034 from nextcloud/bugfix/noid/numeric-folders-thorw-on-mark-dirty
Fix numeric folders throwing on markDirty
2020-09-25 14:52:46 +02:00
Nextcloud bot 02e037174e
[tx-robot] updated from transifex 2020-09-25 02:18:49 +00:00
Daniel Kesselberg a61394d528
Add test case for getDefaultStatusById
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-09-24 22:32:27 +02:00
Julius Härtl 54abcbc2aa
Only load user status script when needed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-24 20:00:21 +02:00
Joas Schilling 6db5f53bc6
Fix numeric folders throwing on markDirty
TypeError: strpos() expects parameter 1 to be string, int given

The problem is that in cacheNode() we strip of any slashes, so
a folder "0/" will be trimmed to "0" and be used as an array key.
Since PHP automatically casts numeric array keys to integers,
you afterwards get $nodePath as int(0). Since it's now a number,
the strpos() function does not accept it anymore. Simply casting
$nodePath to a string again in the foreach solves the issue

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-24 15:02:30 +02:00
Roeland Jago Douma fe30bfd232
Update autloader
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-24 14:59:41 +02:00
Roeland Jago Douma 82ca70a580
Merge pull request #23023 from nextcloud/bugfix/noid/trashbin-size-delete-immediately
Delete files that exceed trashbin size immediately
2020-09-24 14:45:04 +02:00
Roeland Jago Douma 9d67c2a233
Merge pull request #23024 from nextcloud/enh/theming-occ
Add occ command to set theming values
2020-09-24 14:36:26 +02:00
Joas Schilling cea7252874
Fix array to string conversion on event search
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-24 13:52:24 +02:00
Roeland Jago Douma 4d1d4da435
Merge pull request #23014 from nextcloud/fix/22977/reasons-to-use-translation
Make 'Reasons to use Nextcloud' button translatable, fix #22977
2020-09-24 09:24:17 +02:00
Julius Härtl 0daf097af3
Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-24 08:22:07 +02:00
Julius Härtl aa95b3d71b
Add occ command to set theming values
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-24 08:22:07 +02:00
Nextcloud bot 260d0dff3b
[tx-robot] updated from transifex 2020-09-24 02:17:48 +00:00
Iscle ebd734dc86 DirectController: Let users choose the expiration time
Signed-off-by: Iscle <albertiscle9@gmail.com>
2020-09-24 01:27:33 +02:00
Julius Härtl 3c47aaa2b1
Delete files that exceed trashbin size immediately
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-23 16:58:18 +02:00
Robin Appelman a79f9605b4
add option to disable notify self check
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-23 15:16:16 +02:00
Jan C. Borchardt dca0cc9217
Make 'Reasons to use Nextcloud' button translatable, fix #22977
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-23 10:27:42 +02:00
Nextcloud bot 7d06027922
[tx-robot] updated from transifex 2020-09-23 02:17:50 +00:00
Roeland Jago Douma 804ec58011
Merge pull request #22952 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-dashboard-1.0.1
Bump @nextcloud/vue-dashboard from 1.0.0 to 1.0.1
2020-09-22 14:49:25 +02:00
Roeland Jago Douma 4123164155
Merge pull request #22940 from nextcloud/bugfix/noid/never-copy-password-on-enforced-passwords
Never copy the share link when the password is forced
2020-09-22 12:58:35 +02:00
dependabot-preview[bot] 313a0f44fc
Bump @nextcloud/vue-dashboard from 1.0.0 to 1.0.1
Bumps [@nextcloud/vue-dashboard](https://github.com/nextcloud/nextcloud-vue-dashboard) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/nextcloud/nextcloud-vue-dashboard/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue-dashboard/compare/v1.0.0...v1.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-22 12:54:20 +02:00
Roeland Jago Douma 48961823f7
Merge pull request #22964 from nextcloud/Valdnet-patch-7
l10n: Capital letter of the name of the app
2020-09-22 12:12:41 +02:00
Roeland Jago Douma eb3e33076c
Merge pull request #22974 from nextcloud/Valdnet-patch-8
l10n: Rename the directory for translations
2020-09-22 10:58:33 +02:00
Nextcloud bot 60fcb7092c
[tx-robot] updated from transifex 2020-09-22 02:17:47 +00:00
Joas Schilling db36c72f3c
Recompile
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-21 09:09:08 +02:00
Joas Schilling 8b77aa6b4f
Sync all users to the system addresssbook
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-21 09:01:39 +02:00
Nextcloud bot d77d52d257
[tx-robot] updated from transifex 2020-09-21 02:17:24 +00:00
Valdnet cd808a31d0
l10n: Rename the directory for translations
The application gets the translation from l10n for the "Clear status after" text string.
2020-09-20 14:41:50 +02:00
Nextcloud bot bdc60ef9b2
[tx-robot] updated from transifex 2020-09-20 02:17:05 +00:00
Valdnet 1582792081
l10n: Capital letter of the name of the app 2020-09-19 22:06:36 +02:00
Valdnet 18091bd56a
l10n: HTTP in capital letters 2020-09-19 20:24:30 +02:00
Nextcloud bot 58790aadf0
[tx-robot] updated from transifex 2020-09-18 19:05:24 +00:00
Morris Jobke f850bec79d
Add transifex config for all new apps
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-18 20:38:35 +02:00
Joas Schilling 40af51cc9b
Never copy the share link when the password is forced
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-18 14:06:01 +02:00
Roeland Jago Douma bd9af41808
Merge pull request #22868 from nextcloud/fix/unified-search-papercuts
Fix/unified search papercuts
2020-09-18 11:34:35 +02:00
John Molakvoæ (skjnldsv) 23a913892f
Prevent empty search placeholder
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 10:00:59 +02:00
Joas Schilling 48761481eb
Bump versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-18 09:16:45 +02:00
Roeland Jago Douma 2b7c2a0410
Merge pull request #22925 from nextcloud/dashboard/fix-skip-links
Dashboard: Fix accessibility skip links
2020-09-18 08:33:35 +02:00
John Molakvoæ (skjnldsv) 301006af20
Build assets and fix unified search event syntax
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 08:11:54 +02:00
Nextcloud bot f3ec3bfa4a
[tx-robot] updated from transifex 2020-09-18 02:16:56 +00:00
Morris Jobke 45cf49bbca
Merge pull request #22915 from nextcloud/smb-outofspace-handling
improve handling of out of space errors for smb
2020-09-17 20:41:49 +02:00
Jan C. Borchardt caf284dd2e
Dashboard: Fix accessibility skip links
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-17 20:31:21 +02:00
John Molakvoæ (skjnldsv) 6adb19b296
Show filename on share link download
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-17 19:55:47 +02:00
Morris Jobke dada6ec60a
Merge pull request #22919 from J0WI/https-stackoverflow.com
Update urls to stackoverflow.com to "HTTPS"
2020-09-17 18:19:54 +02:00
Morris Jobke 792b3d52cb
Merge pull request #22917 from nextcloud/Valdnet-patch-4
l10n: Add parentheses for unification
2020-09-17 18:10:53 +02:00
Valdnet 2aaae73c72
l10n: Add a dot 2020-09-17 17:40:18 +02:00
J0WI 1639289b95 Update urls to stackoverflow.com to "HTTPS"
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-09-17 17:38:27 +02:00
Valdnet d8f5275277
l10n: Add parentheses for unification 2020-09-17 17:32:25 +02:00
Robin Appelman 43b3049a4f
improve handling of out of space errors for smb
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-17 17:23:33 +02:00
Morris Jobke c9639f3956
Merge pull request #22898 from nextcloud/fix/16696/add-spaces-and-fix-variable-name
Fix variable name and add spaces around path in info log line
2020-09-17 11:55:07 +02:00
Morris Jobke 681e51c0ef
Merge pull request #22902 from nextcloud/fix/16696/proper-target-path-for-share-event
Create proper target path for shared storage fopen event
2020-09-17 11:53:28 +02:00
Morris Jobke 5eb808b763
Create proper target path for shared storage fopen event
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-17 09:52:31 +02:00
Morris Jobke 930c97a0ef
Fix variable name and add spaces around path in info log line
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-17 08:58:10 +02:00
Roeland Jago Douma b0c04a3e0c
Merge pull request #22867 from nextcloud/shared-storage-init-less
Shared storage optimizations
2020-09-17 08:55:35 +02:00
Roeland Jago Douma 05edd1e5d6
Merge pull request #22890 from nextcloud/techdebt/18680/help-static-code-analysis-understand-code
Help static code analysis to understand code
2020-09-17 08:51:20 +02:00
Roeland Jago Douma d788299cbd
Merge pull request #22874 from nextcloud/Valdnet-patch-4
l10n: Add parentheses
2020-09-17 08:39:48 +02:00
Morris Jobke 5a4c7a92de
Merge pull request #22885 from nextcloud/bugfix/noid/show-group-displayname-in-workflows
Show group display name in workflows
2020-09-17 07:47:21 +02:00
Nextcloud bot cbd13a26f4
[tx-robot] updated from transifex 2020-09-17 02:27:04 +00:00
Valdnet 8d3adead4e
l10n: Change the size of the letter 2020-09-16 21:04:15 +02:00
Daniel Kesselberg 46f04106e6
Improve registerService logic for ProvisioningApiMiddleware for static code analysis
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-16 16:58:15 +02:00
Daniel Kesselberg 096fe20611
Help static code analysis to understand code.
It adds proper type hints to private namespace to allow private namespace methods.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-09-16 16:37:17 +02:00
Morris Jobke d3680e682a
Remove not needed semicolon and PHPDoc hint
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-16 16:18:43 +02:00
Morris Jobke 99c9423766
Remove @suppress SqlInjectionChecker
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-16 15:53:56 +02:00
Joas Schilling f9b4084f52
Show group display name in workflows
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-16 15:34:10 +02:00
Morris Jobke 04a3580d19
Remove phan config - was replaced by Psalm
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-16 14:46:29 +02:00
Robin Appelman cfde74442c
optimize View::getPath if we already know the storage id
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-16 13:49:07 +02:00
Morris Jobke f7c59ffdb5
Merge pull request #22865 from nextcloud/dashboard/design-fixing
Dashboard design detail fixing
2020-09-16 13:45:56 +02:00
Valdnet 583bc5505a
l10n: Add parentheses 2020-09-16 10:51:41 +02:00
Nextcloud bot 498684efd6
[tx-robot] updated from transifex 2020-09-16 02:16:50 +00:00
Robin Appelman 244fd6ae49
disable update checking for shared storages
update checking is already handled by the share source

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-15 16:42:40 +02:00
Jan C. Borchardt d2b9382d84
Dashboard recompile
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-15 15:38:40 +02:00
Roeland Jago Douma 2209d0af16
Merge pull request #22859 from nextcloud/fix/reasons-to-use-pdf
Fix duplicate sentence in 'Reasons to use Nextcloud.pdf'
2020-09-15 15:21:13 +02:00
Jan C. Borchardt e67ceee609
Dashboard: Fix 'Get more widgets' button size
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-15 15:06:06 +02:00
Jan C. Borchardt 7e60295d4a
Dashboard: Change heading padding to relative so it adjusts based on screen size, ref #22864
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-15 15:01:49 +02:00
Jan C. Borchardt aef82c0a7c
Fix v-deep overwrite for weather and status buttons, ref #22864
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-15 14:54:03 +02:00
Nextcloud bot 869f3f5895
[tx-robot] updated from transifex 2020-09-15 10:48:26 +00:00
Morris Jobke f6c729a96c
Update .l10nignore for apps to exclude bundled JS files
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-15 12:28:43 +02:00
Roeland Jago Douma 1e67a83d40
Merge pull request #22858 from nextcloud/fix/translations/ignore_assets
Ignore bundled assets in l10n
2020-09-15 11:42:45 +02:00
Roeland Jago Douma 2dbeb58c7a
Merge pull request #22854 from nextcloud/bugfix/noid/unified-search
Bugfix/noid/unified search
2020-09-15 11:35:28 +02:00
Roeland Jago Douma 160046d333
Ignore bundled assets in l10n
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-15 11:28:10 +02:00
Jan C. Borchardt 8917d64e20
Fix duplicate sentence in 'Reasons to use Nextcloud.pdf'
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-15 11:12:23 +02:00
Joas Schilling d37bd2cbab
Use absolute URLs on search results for the clients
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-15 09:20:10 +02:00
Daniel Calviño Sánchez eaeb994a20 Mention in the settings the side effect of outgoing federated shares
Currently outgoing federated shares need to be enabled to allow WebDAV
access to public shares.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-15 02:30:19 +02:00
dependabot-preview[bot] 8f1b8e2c81
Bump @nextcloud/vue-dashboard from 0.1.8 to 1.0.0
Bumps [@nextcloud/vue-dashboard](https://github.com/nextcloud/nextcloud-vue-dashboard) from 0.1.8 to 1.0.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue-dashboard/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue-dashboard/compare/v0.1.8...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 20:46:23 +02:00
Georg Ehrke f4d49758ba
Emit event on status-change
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-14 20:05:27 +02:00
dependabot-preview[bot] 064bedf686
Bump dompurify from 2.0.14 to 2.0.15
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.14 to 2.0.15.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.14...2.0.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-14 19:51:23 +02:00
John Molakvoæ (skjnldsv) 58b19efd74
Add users and apps inner search and add HeaderMenu cancel
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-14 16:05:37 +02:00
Morris Jobke c1ff011990
Merge pull request #22799 from nextcloud/bugfix/noid/dont-log-microsoft-webdav-client-trying-to-tag
Don't log Microsoft WebDAV client trying to tag things
2020-09-14 14:43:54 +02:00
dependabot-preview[bot] e0e7f15b39
Merge pull request #22820 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-2.6.5 2020-09-14 10:46:00 +00:00
dependabot-preview[bot] 9824c82030
Bump @nextcloud/vue from 2.6.4 to 2.6.5
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 2.6.4 to 2.6.5.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v2.6.4...v2.6.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-14 11:50:08 +02:00
John Molakvoæ a68e23a536
Merge pull request #22797 from nextcloud/fix/search/files
Fix files search provider
2020-09-14 09:02:41 +02:00
Roeland Jago Douma 4c0453dc00
Merge pull request #22808 from nextcloud/dashboard/readme-credits
Dashboard: Add photo credits and background picture requirements to Readme
2020-09-14 08:43:40 +02:00
John Molakvoæ 8e22c90946
Merge pull request #22770 from nextcloud/bugfix/noid/urldecode_principal_uri 2020-09-14 08:14:40 +02:00
Jan C. Borchardt d1e279b4e8
Dashboard: Add photo credits and background picture requirements to Readme
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-11 16:07:34 +02:00
Joas Schilling 2dbd6424f7
Don't log Microsoft WebDAV client trying to tag things
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-11 11:52:05 +02:00
Roeland Jago Douma 5724d4c6fe
Fix files search provider
The move to OCS make it so no filesystem is setup.
This makes the static file search code do boom.
Explicitly getting the users filesystem helps.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-11 10:27:02 +02:00
Arthur Schiwon b95e63b8da
announce added user and group backend later as there might be interdeps
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-11 00:14:06 +02:00
John Molakvoæ (skjnldsv) b8c3ee5e96
Compile assets
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-10 18:30:18 +02:00
John Molakvoæ (skjnldsv) a6d343b182
Fix settings chunk loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-10 18:28:32 +02:00
Roeland Jago Douma 4a307c1f5f
Merge pull request #22635 from nextcloud/dependabot/npm_and_yarn/nextcloud/l10n-1.4.1
Bump @nextcloud/l10n from 1.4.0 to 1.4.1
2020-09-10 16:20:59 +02:00
blizzz 40eabfb181
Merge pull request #22771 from nextcloud/fix/noid/ldap-group-add-user-update
switch to typed event for LDAPs user added to group case
2020-09-10 16:02:43 +02:00
Georg Ehrke b5204a78cc
Mitigate encoding issue with user principal uri
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-10 16:00:03 +02:00
Morris Jobke 0aa442220b
Merge pull request #22739 from nextcloud/bugfix/16989
Don't fail if copying a file of 0 byte size
2020-09-10 15:16:19 +02:00
dependabot-preview[bot] 14994808c8
Bump @nextcloud/l10n from 1.4.0 to 1.4.1
Bumps [@nextcloud/l10n](https://github.com/nextcloud/nextcloud-l10n) from 1.4.0 to 1.4.1.
- [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.4.0...v1.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-10 14:38:31 +02:00
npmbuildbot[bot] e092086b94 Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-09-10 11:09:14 +00:00
Arthur Schiwon 263f5bd1d9
switch to typed event for LDAPs user added to group case
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-10 12:57:10 +02:00
Morris Jobke 756254c36a
Merge pull request #22747 from nextcloud/s3-isdir-empty
fix s3 doesDirectoryExist check for empty directories
2020-09-10 12:48:37 +02:00
Morris Jobke bd5a297c93
Merge pull request #22615 from nextcloud/fix/22606/popover-flutter
Change status popover container
2020-09-10 12:41:14 +02:00
Morris Jobke cb151d10d5
Merge pull request #22765 from nextcloud/bugfix/noid/allow-to-get-activities-for-files-by-email-again
Allow to get activities for files by email again
2020-09-10 11:47:20 +02:00
Morris Jobke 42e2068ac7
Merge pull request #22744 from nextcloud/shared-cached-permissions
only get the permissions from the share source if it's not already cached
2020-09-10 10:15:54 +02:00
Joas Schilling 7e1ca73261
Allow to get activities for files by email again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-10 10:08:18 +02:00
Julius Härtl 1dddf6adc7
Properly catch exception from writing to stream when copying a file
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-10 09:03:53 +02:00
Julius Härtl 2004ae4603
Set delimiter so that the CommonPrefixes response can properly be determined
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-10 08:11:55 +02:00
Robin Appelman fc96fa0cc7
fix s3 doesDirectoryExist check for empty directories
if a directory is empty, only the 'marker' object `/` exists.

since not all s3 implementations return just the prefix when listing objects by prefix,
when listing objects by the folder prefix, nothing will be returned if the directory is empty.
by not including the trailing slash in the prefix, the folder marked will always be returned if it exists

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-10 08:11:55 +02:00
Roeland Jago Douma bb06b6cce4
Fix reading empty files from objectstorage
Since we try to do range requests this will fail hard.
However since empty files are not that interesting to read anyways we
just read from an emptry memory stream.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-09 20:45:13 +02:00
Robin Appelman 928cee2ae7
only get the permissions from the share source if it's not already cached
this prevents having to setup the share source when doing metadata stuff on the share root

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-09 13:48:48 +02:00
Joas Schilling f0b46ea605
Merge pull request #22648 from nextcloud/bugfix/noid/transfer-all-shares
Transfer shares if no path provided
2020-09-09 13:32:43 +02:00
Arthur Schiwon f959828616
emit typed event for user management
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-08 22:50:05 +02:00
Roeland Jago Douma b4729ce142
Merge pull request #22647 from nextcloud/fix/noid/depcreated-methods-settings
fix use of removed escapeHTML in settings.js
2020-09-08 10:35:24 +02:00
Joas Schilling 6540c397aa
Merge pull request #22469 from nextcloud/bugfix/noid/oracle-casting-select-distinct
Don't use SELECT DISTINCT when to_char() is used in a WHERE statement
2020-09-08 09:40:11 +02:00
Raimund Schlüßler 6989200147 Change status popover container
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2020-09-08 08:05:15 +02:00
Arthur Schiwon 43ea48c079
fixes use of removed escapeHTML in settings.js
- solves non-working "additional settings" sections (at least)

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-07 22:57:45 +02:00
Morris Jobke 0e6344f543
Merge pull request #22650 from nextcloud/fix/noid/fix-psalm-warning
Only load viewer in settings if the viewer app is enabled
2020-09-07 20:41:49 +02:00
Morris Jobke 6f4ea73e0c
Merge pull request #22644 from nextcloud/fix/license-headers-20-2
Update license headers for Nextcloud 20 (again)
2020-09-07 20:34:36 +02:00
Morris Jobke ce1e873a0a
Only load viewer in settings if the viewer app is enabled
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-07 20:25:57 +02:00
Julius Härtl aa04a26c68
Transfer shares if no path provided
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-07 17:35:29 +02:00
Roeland Jago Douma 99ee00be8c
Merge pull request #22548 from nextcloud/bugfix/noid/improved_status_cleanup
Improved status cleanup
2020-09-07 15:19:42 +02:00
Joas Schilling aa5e4aacc1
Don't use SELECT DISTINCT when to_char() is used in a WHERE statement
Nice bug in Oracle

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-07 15:17:48 +02:00
Christoph Wurst 1f7f93a695
Update license headers for Nextcloud 20 (again)
There are still lots of outdated headers, so time for another round of
updates.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-09-07 14:37:44 +02:00
Georg Ehrke d7ccc616e4
Always use IUserStatus consts
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-07 11:30:18 +02:00
Georg Ehrke 2146950a71
Add MigrationStep to add better Indizes
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-07 11:30:18 +02:00
Georg Ehrke 5be49491d3
Do not display Offline statuses in the Dashboard widget
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-07 11:30:15 +02:00
Joas Schilling 4d60917eb8
Fix weather status icon selector with nextcloud/vue update
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-07 09:51:30 +02:00
Georg Ehrke 7fedd33825
Better cleanup routine for statuses
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-07 09:22:38 +02:00
Georg Ehrke 10df7198fe
HeartbeatController: PHPDoc fixes
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-07 09:22:38 +02:00
Georg Ehrke a352a7c7f3
Introduce consts for statuses
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-07 09:22:34 +02:00
Roeland Jago Douma 16e1d1cb12
Merge pull request #22136 from nextcloud/design/reasons-to-use-nextcloud
Add 'Reasons to use Nextcloud in your organization' call to action in settings
2020-09-07 08:49:05 +02:00
John Molakvoæ 54438c9d26
Merge pull request #21945 from nextcloud/fix-contact-download-picture
Changed Content-Disposition header to download Contact Photo with correct extension
2020-09-07 08:40:23 +02:00
Jan C. Borchardt 4c48d6bf18
Add 'Reasons to use Nextcloud in your organization' call to action in settings
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-07 08:30:01 +02:00
Nextcloud bot da8cff9061
[tx-robot] updated from transifex 2020-09-07 02:16:39 +00:00
Roeland Jago Douma 06a1cfc399
Merge pull request #22583 from nextcloud/fix/noid/remove-unused-code
LDAP: remove unused methods and DB values
2020-09-06 19:55:00 +02:00
Nextcloud bot 27fbab131c
[tx-robot] updated from transifex 2020-09-06 02:16:52 +00:00
Jacob Neplokh e8a4feb1c6
Change Content-Disposition Header
- Make ALLOWED_CONTENT_TYPES public in order to use
- Add $fileName variable which uses "$node->getName()" to get the proper file name and "$file->getMimeType()" along with the ALLOWED_CONTENT_TYPES array in PhotoCache.php to get the proper file extension
- Make "$fileName" the name of the file in the Content-Disposition header when downloading a Contact's photo
- Add filename to the CardDAV integration image export test header
- Change headers in ImageExportPluginTest to reflect changes

Signed-off-by: Jacob Neplokh <me@jacobneplokh.com>
2020-09-05 11:46:25 -07:00
Nextcloud bot 62ab3eb700
[tx-robot] updated from transifex 2020-09-05 02:16:45 +00:00
John Molakvoæ 0ed8d1c2bc
Merge pull request #22531 from nextcloud/fix/save-statuses
Fix dashboard statuses toggling
2020-09-04 21:24:52 +02:00
John Molakvoæ 593d64d935
Merge pull request #17456 from brad2014/feature/brad2014/12391-improve-imip-mail-message-take-2 2020-09-04 19:53:02 +02:00
John Molakvoæ 5483d02b5e
Merge pull request #22543 from nextcloud/bugfix/noid/dont-keep-menu-open-for-next-user-after-delete
Don't keep menu open for next user after deleting one
2020-09-04 19:51:00 +02:00