Compare commits

..

4761 Commits

Author SHA1 Message Date
Roeland Jago Douma 40832acfd5 Merge pull request #24852 from nextcloud/version/21/beta4
21 beta4
2020-12-30 15:09:20 +01:00
Roeland Jago Douma ab21491aea Merge pull request #24909 from nextcloud/fix/ci/psalm-ocp
Fix expceted psalm-ocp.xml file
2020-12-30 15:07:43 +01:00
Roeland Jago Douma 36281c64e1 Merge pull request #24571 from nextcloud/Valdnet-patch-4
l10n: Change to the name of the app
2020-12-30 14:32:44 +01:00
Roeland Jago Douma 81423a2a2f Fix expceted psalm-ocp.xml file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-30 14:32:15 +01:00
Valdnet 403637d773 Change to the name of the app
It should refer to the application name "Files".

Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-30 12:44:52 +00:00
Roeland Jago Douma c96bb21ab9 Merge pull request #24903 from nextcloud/enh/psalm-ocp
Add dedicated baseline for OCP
2020-12-30 13:23:25 +01:00
Christoph Wurst 0df8f4fa16 Merge pull request #24888 from nextcloud/dependabot/composer/nikic/php-parser-4.10.4
Bump nikic/php-parser from 4.3.0 to 4.10.4
2020-12-30 13:16:35 +01:00
Christoph Wurst fe8b86fbda Bump nikic/php-parser from 4.3.0 to 4.10.4
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-30 11:21:37 +01:00
Roeland Jago Douma fe65f8facf Add dedicated baseline for OCP
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-30 11:06:00 +01:00
Roeland Jago Douma 2ac0e89b05 Merge pull request #24895 from nextcloud/make-integration-tests-work-with-both-php-7.3-and-7.4
Make integration tests work with both PHP 7.3 and 7.4
2020-12-30 10:51:58 +01:00
Christoph Wurst b260ef954d Merge pull request #24887 from nextcloud/dependabot/composer/swiftmailer/swiftmailer-6.2.4
Bump swiftmailer/swiftmailer from 6.2.3 to 6.2.4
2020-12-30 10:48:19 +01:00
Roeland Jago Douma 599a9af7d6 Merge pull request #24860 from nextcloud/bugfix/noid/well-known-htaccess
Make sure we properly ass well-known paths to index.php
2020-12-30 10:47:48 +01:00
Christoph Wurst 525ff85594 Bump swiftmailer/swiftmailer from 6.2.3 to 6.2.4
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-30 10:05:51 +01:00
Christoph Wurst c62d73641a Merge pull request #24879 from nextcloud/dependachristoph/composer/symfony-4.4.18
Bump the Symfony family from 4.4.15 to 4.4.18
2020-12-30 08:56:16 +01:00
Roeland Jago Douma 0965599623 Merge pull request #24898 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-12-30 08:32:23 +01:00
Daniel Calviño Sánchez 28f2d0ec7a Make integration tests work with both PHP 7.3 and 7.4
The "Trashbin" and "WebDav" traits were using each other in a circular
dependency ("WebDav" -> "Sharing" -> "Provisioning" -> "BasicStructure"
-> "Trashbin" -> "WebDav"). In PHP 7.3 this worked fine, but in PHP 7.4
the fatal error "Trait 'WebDav' not found in .../Trashbin.php" was
thrown. To solve this now the "TrashBin" trait no longer explicitly uses
"WebDav".

However, due to this change, the class using "TrashBin" is now expected
to also use "WebDav". As the "Trashbin" trait was not needed by most
contexts using the "BasicStructure" trait "Trashbin" was removed from it
and added only to those contexts that actually need it.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-12-30 06:01:38 +01:00
Nextcloud-PR-Bot 4ceeaccdd9 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-12-30 04:42:04 +00:00
Nextcloud bot f9941347e2 [tx-robot] updated from transifex 2020-12-30 02:19:06 +00:00
Roeland Jago Douma 4c01f0da8f Merge pull request #24865 from nextcloud/tests/node-build-clean
Cleanup bundle files before checking the rebuild
2020-12-29 15:46:51 +01:00
Christoph Wurst d27d2a1c13 Bump the Symfony family from 4.4.15 to 4.4.18
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-29 15:02:01 +01:00
Julius Härtl d2e67312bb Merge pull request #22921 from nextcloud/no-root-encryption-wrapper
dont apply encryption wrapper for root mount
2020-12-29 14:08:53 +01:00
Christoph Wurst 83ab996b16 Merge pull request #24873 from nextcloud/dependencies/sabre-II
Bump sabre/dav to 4.1
2020-12-29 14:00:37 +01:00
Christoph Wurst adc5b76831 Bump sabre/dav to 4.1
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-29 13:02:30 +01:00
Robin Appelman 8501cf9b5c dont apply encryption wrapper for root mount
the `shouldEncrypt` already disables encryption for anything thats not in the users data folder,
however the encryption wrapper being applied anyway on the root folder breaks groupfolders

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-12-29 12:29:23 +01:00
dependabot-preview[bot] 04a65121b7 Merge pull request #23958 from nextcloud/dependabot/npm_and_yarn/build/node-sass-5.0.0 2020-12-29 11:21:14 +00:00
Julius Härtl c42385ef0f Cleanup bundle files before checking the rebuild
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-29 12:20:32 +01:00
dependabot-preview[bot] f25826a5cf Merge pull request #24772 from nextcloud/dependabot/npm_and_yarn/dompurify-2.2.6 2020-12-29 11:02:16 +00:00
Roeland Jago Douma c9fcf5f6b1 Merge pull request #24874 from nextcloud/enh/exception_logging
Avoid huge exception argument logging
2020-12-29 11:38:27 +01:00
Julius Härtl 98198e042e Make sure we properly ass well-known paths to index.php
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-29 11:30:53 +01:00
Christoph Wurst 35aa34a1fd Merge pull request #24533 from nextcloud/dependabot/composer/icewind/streams-0.7.2
Bump icewind/streams from 0.7.1 to 0.7.2
2020-12-29 11:24:37 +01:00
dependabot-preview[bot] 594c8fcf23 Bump dompurify from 2.2.3 to 2.2.6
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.2.3 to 2.2.6.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.2.3...2.2.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-29 11:14:05 +01:00
dependabot-preview[bot] 9e5f167d9a Bump node-sass from 4.14.1 to 5.0.0 in /build
Bumps [node-sass](https://github.com/sass/node-sass) from 4.14.1 to 5.0.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.14.1...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 10:01:34 +00:00
Roeland Jago Douma 50d5229c95 Merge pull request #24872 from nextcloud/tests/jsunit-chromium
Run jsunit with chromium/puppeteer
2020-12-29 10:59:49 +01:00
Roeland Jago Douma 179de95f81 Avoid huge exception argument logging
In some cases it might happen that you have an argument that deep down
somewhere has an array with a lot of entries (think thousands). Now
before we would just happily print them all. Which would fill the log.

Now it will just print the first 5. And add a line that there are N
more.

If you are on debug level we will still print them all.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-29 10:50:53 +01:00
Christoph Wurst 73c7d0dc81 Bump icewind/streams from 0.7.1 to 0.7.2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-29 09:07:36 +01:00
Julius Härtl be38b924d1 jsunit: harden avatar tests to pass with fractional scaling of elements
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-29 08:42:34 +01:00
Julius Härtl 1bb81f8f11 jsunit: Remove warnings during test runs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-29 08:42:34 +01:00
Julius Härtl 7f52754fe8 jsunit: Add proper lang tag to document
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-29 08:42:34 +01:00
Julius Härtl c7a320d880 jsunit: Run jsunit with chromium/puppeteer on github actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-29 08:42:27 +01:00
Nextcloud bot 083f3d2373 [tx-robot] updated from transifex 2020-12-29 02:19:50 +00:00
Julius Härtl 14306222df Merge pull request #24856 from nextcloud/psalm/whitelist-apps 2020-12-28 18:33:28 +01:00
Julius Härtl 2d932b6b86 Add whitelist for apps inside of the server repo
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-28 11:26:50 +01:00
Roeland Jago Douma 86e6f07162 Merge pull request #24833 from nextcloud/fix-total-upload-size-overwritten-by-next-upload
Fix total upload size overwritten by next upload
2020-12-28 11:18:48 +01:00
Roeland Jago Douma 4ea1f29f9c Merge pull request #24775 from nextcloud/dependabot/npm_and_yarn/marked-1.2.7
Bump marked from 1.2.6 to 1.2.7
2020-12-28 10:47:55 +01:00
Roeland Jago Douma 7bca3daa8c Merge pull request #24832 from nextcloud/enh/24813/trash-autoid-bigint
Make oc_files_trash.auto_id a bigint
2020-12-28 10:43:16 +01:00
dependabot-preview[bot] 943d95efbe Merge pull request #24843 from nextcloud/dependabot/npm_and_yarn/webpack-cli-4.3.0 2020-12-28 09:39:48 +00:00
Roeland Jago Douma 379acf6e35 21 beta4
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-28 10:22:50 +01:00
Christoph Wurst b981cb0718 Merge pull request #19942 from ACTom/add-mindmap-icon
Add mindmap type file icon
2020-12-28 10:13:38 +01:00
ACTom d9db6ae84e Readd test getOnlyDefaultAliases()
Signed-off-by: ACTom <i@actom.me>
2020-12-28 13:59:10 +08:00
Nextcloud bot a7862479c7 [tx-robot] updated from transifex 2020-12-28 02:19:08 +00:00
Nextcloud bot 3d60c9611f [tx-robot] updated from transifex 2020-12-27 02:24:43 +00:00
dependabot-preview[bot] 46200ce931 Bump webpack-cli from 4.2.0 to 4.3.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.2.0...webpack-cli@4.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-26 03:10:42 +00:00
dependabot-preview[bot] 842689cf1a Merge pull request #24844 from nextcloud/dependabot/npm_and_yarn/webpack-merge-5.7.3 2020-12-26 03:08:07 +00:00
Nextcloud bot cefaeb2eb1 [tx-robot] updated from transifex 2020-12-26 02:19:48 +00:00
dependabot-preview[bot] 537b35e1bb Bump webpack-merge from 5.7.2 to 5.7.3
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 5.7.2 to 5.7.3.
- [Release notes](https://github.com/survivejs/webpack-merge/releases)
- [Changelog](https://github.com/survivejs/webpack-merge/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v5.7.2...v5.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-26 02:17:13 +00:00
Nextcloud bot c15b0b0250 [tx-robot] updated from transifex 2020-12-24 02:20:06 +00:00
Roeland Jago Douma 07f607e148 Merge pull request #24765 from nextcloud/version/21/beta3
21 beta3
2020-12-23 20:08:32 +01:00
Christoph Wurst 4cc85805d6 Merge pull request #24830 from nextcloud/bugfix/noid/readme-mention-autoloader
Add README section for committing back-end code
2020-12-23 20:07:10 +01:00
Roeland Jago Douma be7d582c7e 21 beta3
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-23 19:40:11 +01:00
Daniel Calviño Sánchez fc2069c1dd Fix total upload size overwritten by next upload
The upload progress is based on the "totalToUpload" variable. However,
as the variable is set when an upload is submitted, if another upload is
submitted before the previous one finished the upload progress only took
into account the size of the new upload (although the upload itself
worked fine; the files of the new submitted upload are added to the
active one). Now "totalToUpload" is either increased or set depending on
whether an upload is active or not.

Note that although "data.total" holds the total size of the files being
uploaded "totalToUpload" needs to be used in "fileuploadprogressall"
instead; "totalToUpload" is calculated when the upload is submitted, but
since 7c4c5fe6ae the actual upload of the files, and thus updating the
value of "data.total", may be deferred until the parent folders were
created.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-12-23 18:53:01 +01:00
Vincent Petry bdbec28a8f Make oc_files_trash.auto_id a bigint
Adjusted migration.
Added to occ command to update existing tables.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-23 17:50:50 +01:00
Christoph Wurst b1783ada27 Merge pull request #24812 from nextcloud/dependencies/zipstreamer-2.0.0
Bump deepdiver/zipstreamer to 2.0.0
2020-12-23 17:41:36 +01:00
Vincent Petry eaa1493123 Add README section for committing back-end code
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-23 15:59:38 +01:00
Christoph Wurst 2b93c28e28 Bump deepdiver/zipstreamer to 2.0.0
For PSR-4 compat. The rest is unchanged.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-23 14:45:34 +01:00
Julius Härtl 5b61120491 Merge pull request #24816 from nextcloud/techdept/dead-packages
Drop all dead packages
2020-12-23 14:37:45 +01:00
Roeland Jago Douma 6846a83d56 Merge pull request #24610 from nextcloud/enh/adding-missing-event-on-deleted-shares
adding a ShareDeletedEvent
2020-12-23 12:45:34 +01:00
Julius Härtl d32af39c25 Merge pull request #24824 from nextcloud/enh/catch_heartbeat_error
Catch the error on heartbeat update
2020-12-23 12:18:19 +01:00
Roeland Jago Douma bb411c75c6 Move to single share event. Just emit more if needed
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-23 11:05:29 +01:00
Maxence Lange e0bafb7475 deleteChildren only returns array
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-12-23 11:00:47 +01:00
Maxence Lange 874a1a4c43 cs fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-12-23 11:00:47 +01:00
Maxence Lange 85783e45e9 +ShareDeletedEvent
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-12-23 11:00:45 +01:00
Roeland Jago Douma ea6a9594ca Catch the error on heartbeat update
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-23 09:47:09 +00:00
Christoph Wurst 1e0eaa25d0 Drop all dead packages
Apparently we have plenty of leftover of previous sub-dependencies.
Composer automatically dumps those with any future dependency update, so
I'm dropping them in an atomic step.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-23 09:11:23 +01:00
Nextcloud bot 61791962f2 [tx-robot] updated from transifex 2020-12-23 02:20:11 +00:00
Christoph Wurst 7e9d8a8bd0 Merge pull request #24819 from nextcloud/techdept/update-psalm-baseline
Update the Psalm baseline
2020-12-22 18:31:03 +01:00
Christoph Wurst 3570ca82cf Update the Psalm baseline
Some issues were resolved, hence every CI run shows this diff.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-22 17:44:16 +01:00
Julius Härtl e28d21a6a4 Merge pull request #24770 from nextcloud/fix-dialog-buttons 2020-12-22 15:49:38 +01:00
Roeland Jago Douma ee57ef4903 Merge pull request #22222 from nextcloud/enh/social-index
re-index contacts with social profiles
2020-12-22 14:42:28 +01:00
Marco Ambrosini 23b61de21e Increase horizontal padding
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-22 12:28:47 +00:00
Roeland Jago Douma adc4f1a811 Merge pull request #22916 from J0WI/unifiy-links-to-php.net
Unify links to php.net
2020-12-22 09:53:31 +01:00
call-me-matt 22cf5447cf re-index contacts with social profiles
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2020-12-22 09:48:40 +01:00
Roeland Jago Douma 72fda10333 Merge pull request #22085 from nextcloud/enh/index-socialprofile
adding social profile to search index
2020-12-22 09:43:12 +01:00
Julius Härtl 5094e29ebd Merge pull request #24594 from kofemann/dcache 2020-12-22 09:26:07 +01:00
John Molakvoæ a5c55891f5 Merge pull request #24604 from nextcloud/feat/dav/move-calendar-rename
Allow to force rename a conflicting calendar
2020-12-22 08:33:10 +01:00
Nextcloud bot 8e9af2bb56 [tx-robot] updated from transifex 2020-12-22 02:19:06 +00:00
Tigran Mkrtchyan 4f2dc18f58 storage: update IStorage#file_put_contents docs to match usage
The current phpdoc of IStorage#file_put_contents doesnt corresponds to
it's actual usage in code, e.g.

Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
2020-12-21 19:04:18 +01:00
Christoph Wurst b37397d4fc Merge pull request #24732 from nextcloud/tcitworld-patch-1
Add another of my emails to mailmap
2020-12-21 16:58:11 +01:00
Thomas Citharel 98b89e3ea6 Add another of my emails to mailmap
Because apparently I edited directly from Github and selected default email

Signed-off-by: Thomas Citharel <nextcloud@tcit.fr>
2020-12-21 15:53:49 +01:00
Roeland Jago Douma 5579b1d252 Merge pull request #24796 from nextcloud/fix/set_ttl_on_set_redis
Actually set the TTL on redis set
2020-12-21 14:49:03 +01:00
Roeland Jago Douma 4f0fae8f00 Actually set the TTL on redis set
Else well the keys remain for ever and ever.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-21 13:33:16 +01:00
dependabot-preview[bot] 4621dc5d3c Bump marked from 1.2.6 to 1.2.7
Bumps [marked](https://github.com/markedjs/marked) from 1.2.6 to 1.2.7.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v1.2.6...v1.2.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-21 10:02:57 +01:00
Julius Härtl fbbb48fcc2 Merge pull request #24730 from J0WI/fix-trusted-ipv6
Fix IPv6 localhost regex
2020-12-21 09:59:31 +01:00
Roeland Jago Douma 114b472e71 Merge pull request #23319 from nextcloud/fix/argon2-descriptions
Fix Argon2 descriptions
2020-12-21 09:24:07 +01:00
dependabot-preview[bot] d0fa143f01 Merge pull request #24773 from nextcloud/dependabot/npm_and_yarn/webpack-merge-5.7.2 2020-12-21 08:21:33 +00:00
Roeland Jago Douma 4973f9b952 Merge pull request #24715 from nextcloud/bug/noid/limit-get-incomplete-to-1
Limit getIncomplete query to one row
2020-12-21 09:15:10 +01:00
Julius Härtl 97f2de0262 Merge pull request #24776 from nextcloud/dependabot/npm_and_yarn/vue-loader-15.9.6
Bump vue-loader from 15.9.5 to 15.9.6
2020-12-21 07:36:34 +01:00
Julius Härtl 7f61d78354 Merge pull request #24774 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.12.11
Bump @babel/preset-env from 7.12.10 to 7.12.11
2020-12-21 07:35:45 +01:00
Nextcloud bot 4301fd3a32 [tx-robot] updated from transifex 2020-12-21 02:18:53 +00:00
Nextcloud bot dc426f1e21 [tx-robot] updated from transifex 2020-12-20 02:19:27 +00:00
dependabot-preview[bot] 7f888f33b6 Bump vue-loader from 15.9.5 to 15.9.6
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.5 to 15.9.6.
- [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.5...v15.9.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-19 02:21:19 +00:00
Nextcloud bot d682a642ff [tx-robot] updated from transifex 2020-12-19 02:19:37 +00:00
dependabot-preview[bot] 8cf263a4b3 Bump @babel/preset-env from 7.12.10 to 7.12.11
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.10 to 7.12.11.
- [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.12.11/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-19 02:19:02 +00:00
dependabot-preview[bot] 4629b31a0c Bump webpack-merge from 5.6.1 to 5.7.2
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 5.6.1 to 5.7.2.
- [Release notes](https://github.com/survivejs/webpack-merge/releases)
- [Changelog](https://github.com/survivejs/webpack-merge/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v5.6.1...v5.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-19 02:18:24 +00:00
Marco Ambrosini f2b0afdb60 fix-dialog-buttons
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-12-18 15:39:48 +01:00
Christoph Wurst f37e150d1c Merge pull request #24702 from nextcloud/enhancement/well-known-handler-api
Add well known handlers API
2020-12-18 13:34:04 +01:00
Christoph Wurst fbf25e164d Merge pull request #24515 from nextcloud/fix/noid/dav-share-groups-special-chars
fixes sharing to group ids with characters that are being url encoded
2020-12-18 12:01:49 +01:00
blizzz 7a1b45ab76 Merge pull request #24703 from nextcloud/fix/noid/wfe-filename-mountpoint-check
enables the file name check also to match name of mountpoints
2020-12-18 11:43:40 +01:00
Roeland Jago Douma 2492b448e9 Merge pull request #24685 from nextcloud/version/21/beta2
21 beta2
2020-12-18 08:50:59 +01:00
Roeland Jago Douma 6228cbe852 Merge pull request #24737 from nextcloud/fix/23544/unset_parameter
Also unset the other possible unused paramters
2020-12-18 08:38:45 +01:00
Nextcloud bot de7c54c6ba [tx-robot] updated from transifex 2020-12-18 02:20:09 +00:00
Julius Härtl b9330887ca Merge pull request #24740 from nextcloud/bugfix/24738/improve-phone-region-help
Improve hints for default_phone_region
2020-12-17 15:29:54 +01:00
blizzz cc9cbc56b8 Merge pull request #24717 from nextcloud/enh/noid/memory_limit_to_error
promoted bad memory_limit check from warning to error as it may break updater
2020-12-17 13:07:35 +01:00
Joas Schilling 15956c20c3 Improve hints for default_phone_region
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-17 09:14:21 +01:00
Nextcloud bot acf9aa19da [tx-robot] updated from transifex 2020-12-17 02:20:20 +00:00
Arthur Schiwon 622d02842c fixes sharing to group ids /w chars that are being url encoded, carddav
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-12-16 22:42:57 +01:00
Arthur Schiwon 9abff14e8d fix finding of groups with decodable chars in their id via DAV
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-12-16 22:28:20 +01:00
Arthur Schiwon 1186977589 fixes sharing to group ids with characters that are being url encoded
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-12-16 22:15:02 +01:00
Roeland Jago Douma 484f52bb4d Also unset the other possible unused paramters
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-16 20:31:30 +01:00
Christoph Wurst 3a30ac495b Merge pull request #24731 from nextcloud/fix/license-headers-21
Update all license headers for Nextcloud 21
2020-12-16 19:29:55 +01:00
Christoph Wurst d89a75be0b Update all license headers for Nextcloud 21
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-16 18:48:22 +01:00
Julien Veyssier 15e4f1c181 Merge pull request #24194 from nextcloud/enh/noid/clear-weather-favorites
Add action to clear all weather favorites
2020-12-16 16:37:47 +01:00
Julien Veyssier 777fe3bf18 delete a weather favorite when its icon is clicked
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-16 14:05:53 +00:00
Christoph Wurst bf5aa88956 Merge pull request #24725 from nina-py/24549-fix-untranslated-user-disabled
Fix untranslated "User disabled" on login screen
2020-12-16 14:50:45 +01:00
J0WI 331f30f085 Fix IPv6 localhost regex
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-12-16 14:37:56 +01:00
John Molakvoæ ce9590618c Merge pull request #24721 from nextcloud/bugfix/noid/user-search-cancel 2020-12-16 13:29:15 +01:00
Christoph Wurst 6995223b1e Add well known handlers API
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-16 13:13:05 +01:00
npmbuildbot-nextcloud[bot] 80567c08ff Compile assets
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-16 12:04:36 +00:00
Christoph Wurst 820f9f4f63 Merge pull request #24629 from nextcloud/enh/noid/optional-before-required
Make $vars and $secureRandom required.
2020-12-16 12:43:06 +01:00
Julius Härtl d8a16854d4 Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-16 12:40:00 +01:00
Julius Härtl bde4977288 Only let the infinite handler fetch more results if the limit is hit
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-16 12:38:33 +01:00
Julius Härtl 915d437512 Cancel user search requests to avoid duplicate results being added
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-16 12:38:33 +01:00
dependabot-preview[bot] d613450e4e Merge pull request #24418 from nextcloud/dependabot/npm_and_yarn/vuex-3.6.0 2020-12-16 11:37:53 +00:00
Nina Pypchenko 73407d9ee1 Fix untranslated "User disabled" on login screen
Signed-off-by: Nina Pypchenko <22447785+nina-py@users.noreply.github.com>

Closes #24549.
2020-12-16 22:04:41 +11:00
dependabot-preview[bot] c766ca0ee9 Bump vuex from 3.5.1 to 3.6.0
Bumps [vuex](https://github.com/vuejs/vuex) from 3.5.1 to 3.6.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.5.1...v3.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-16 11:00:36 +00:00
Roeland Jago Douma 1d4c8961ef Merge pull request #24659 from nextcloud/enh/noid/dav-honour-sharing.maxAutocompleteResults
dav principal search to honour sharing.maxAutocompleteResults setting
2020-12-16 10:47:32 +01:00
Roeland Jago Douma 7a77493038 Merge pull request #24706 from nextcloud/bugfix/noid/log-error-on-setting-custom-headers-on-no-content-responses
Log an error when setting a custom header on "Not Modified" responses
2020-12-16 10:28:09 +01:00
Roeland Jago Douma 4c133f2bd2 Merge pull request #24718 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-12-16 09:05:19 +01:00
Nextcloud-PR-Bot 815b39f5bc Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-12-16 04:33:17 +00:00
Nextcloud bot 815ec0b34a [tx-robot] updated from transifex 2020-12-16 02:20:41 +00:00
Arthur Schiwon 1995097cb8 promoted bad memory_limit setting to error as it may break updater
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-12-15 23:50:26 +01:00
blizzz f68cab4e39 Merge pull request #24402 from nextcloud/fix/24252/ldap-ingroup-memberid
LDAP: fix inGroup for memberUid type of group memberships
2020-12-15 22:33:41 +01:00
Daniel Kesselberg e0e76bb784 Limit getIncomplete query to one row
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-12-15 21:42:26 +01:00
Roeland Jago Douma 70a54e135a Merge pull request #24713 from nextcloud/bugfix/noid/upgrade-page-database
Do not include non-required scripts on the upgrade page
2020-12-15 21:39:45 +01:00
Julius Härtl a4b5312729 Do not include non-required scripts on the upgrade page
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-15 21:14:07 +01:00
Julius Härtl 2bedfbd4b0 Merge pull request #24488 from zzkt/patch-1 2020-12-15 15:19:40 +01:00
Julius Härtl d37034f161 Merge pull request #24683 from doc75/federation_confidentiality 2020-12-15 14:35:50 +01:00
Joas Schilling e196cc0e2a Merge pull request #24695 from nextcloud/bugfix/24340/fix-missing-parent-constructor-calls
Add missing parent::__construct() calls to Jobs
2020-12-15 13:48:38 +01:00
npmbuildbot-nextcloud[bot] abad2efb44 Compile assets
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-15 11:05:03 +00:00
Arthur Schiwon d8ad4ef6b5 use a consistent default value for sharing.maxAutocompleteResults
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-12-15 11:53:39 +01:00
Arthur Schiwon 2b017b704a dav search to honour sharing.maxAutocompleteResults setting
- it is being used on frontend by users
- user and big instances benefit from quicker results and less load

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-12-15 11:53:39 +01:00
Arthur Schiwon 04cd1348ec consider local external storages, too
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-12-15 11:50:04 +01:00
Joas Schilling 11c1ce6974 Fix PHP CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-15 11:31:28 +01:00
Joas Schilling 329ffa257e Log an error when setting a custom header on "Not Modified" responses
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-15 11:24:15 +01:00
dependabot-preview[bot] 8506d0864b Merge pull request #24672 from nextcloud/dependabot/npm_and_yarn/core-js-3.8.1 2020-12-15 08:42:43 +00:00
dependabot-preview[bot] 4652b15a3d Bump core-js from 3.8.0 to 3.8.1
Bumps [core-js](https://github.com/zloirock/core-js) from 3.8.0 to 3.8.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.8.0...v3.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-15 07:54:33 +00:00
Roeland Jago Douma 050fa4a746 Merge pull request #24669 from nextcloud/dependabot/npm_and_yarn/webpack-merge-5.6.1
Bump webpack-merge from 5.4.0 to 5.6.1
2020-12-15 08:36:57 +01:00
Roeland Jago Douma 8d3fcdb5b4 Merge pull request #24671 from nextcloud/dependabot/npm_and_yarn/babel/core-7.12.10
Bump @babel/core from 7.12.9 to 7.12.10
2020-12-15 08:34:14 +01:00
Nextcloud bot 1f6537075b [tx-robot] updated from transifex 2020-12-15 02:22:11 +00:00
Arthur Schiwon 14bbec5fa7 enables the file name check also to match name of mountpoints
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-12-15 00:05:42 +01:00
Roeland Jago Douma 83607d227f Merge pull request #24668 from nextcloud/dependabot/npm_and_yarn/marked-1.2.6
Bump marked from 1.2.5 to 1.2.6
2020-12-14 18:33:53 +01:00
John Molakvoæ 1f8237412f Merge pull request #24589 from nextcloud/fix/search-dav
Add tel, note, org and title search
2020-12-14 17:39:37 +01:00
Julius Härtl b56d7f9f4e Merge pull request #23017 from nextcloud/enh/distinguish-users 2020-12-14 16:54:47 +01:00
John Molakvoæ (skjnldsv) 45b3ddd882 Add tel, note, org and title search
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-12-14 16:45:17 +01:00
Joas Schilling 96253c7c1b Add missing parent::__construct() calls to Jobs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-14 16:35:12 +01:00
Joas Schilling 39bee7948d Merge pull request #24631 from nextcloud/bugfix/noid/prevent-select-asterix-and-specifics
Prevent * and other things in the same query for Oracle
2020-12-14 14:31:15 +01:00
dependabot-preview[bot] aaefe68680 Bump marked from 1.2.5 to 1.2.6
Bumps [marked](https://github.com/markedjs/marked) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v1.2.5...v1.2.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-14 12:52:09 +00:00
Roeland Jago Douma 8f4c95f231 Merge pull request #24666 from nextcloud/dependabot/npm_and_yarn/dompurify-2.2.3
Bump dompurify from 2.2.2 to 2.2.3
2020-12-14 13:18:44 +01:00
Julius Härtl 8b13fd4a6c Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-14 11:15:59 +01:00
Julius Härtl 102402bfcb Show unique displayname context in the user share list entries
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-14 11:14:59 +01:00
Julius Härtl 131fcac91e Show unique displayname context in the sharing input
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-14 11:14:59 +01:00
Julius Härtl a86746ea08 Make share results distinguishable if there are more than one with the exact same display name
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-14 11:14:58 +01:00
Joas Schilling 5828f3c4f9 Prevent * and other things in the same query for Oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-14 09:35:50 +01:00
dependabot-preview[bot] cb6c4864fd Bump dompurify from 2.2.2 to 2.2.3
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.2.2...2.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-14 08:25:36 +00:00
Roeland Jago Douma d4811aafb1 21 beta2
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-14 09:17:42 +01:00
Roeland Jago Douma 99a6665888 Merge pull request #24679 from nextcloud/tcitworld-patch-1
Update comment to reflect current CSP policy
2020-12-14 09:11:15 +01:00
Roeland Jago Douma b2ef004969 Merge pull request #24663 from nextcloud/sanitizers
Add sanitizers for JSON output
2020-12-14 09:11:01 +01:00
Nextcloud bot 78ca1819f6 [tx-robot] updated from transifex 2020-12-14 02:19:26 +00:00
Guillaume Virlet 83491c6c58 [Fix #24682]: ensure federation cloud id is retruned if FN property not found
Signed-off-by: Guillaume Virlet <github@virlet.org>
2020-12-13 13:57:41 +01:00
Nextcloud bot ea4fc6b507 [tx-robot] updated from transifex 2020-12-13 02:18:32 +00:00
Thomas Citharel 71cf92697c Update comment to reflect current CSP policy
JS unsafe-eval was removed a long time ago in https://github.com/nextcloud/server/pull/11028
2020-12-12 21:11:42 +01:00
dependabot-preview[bot] dcc3ca55d8 Bump @babel/core from 7.12.9 to 7.12.10
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.9 to 7.12.10.
- [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.12.10/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-12 04:24:39 +00:00
dependabot-preview[bot] 5644795813 Merge pull request #24670 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.12.10 2020-12-12 04:22:04 +00:00
dependabot-preview[bot] 8038f664d3 Merge pull request #24667 from nextcloud/dependabot/npm_and_yarn/sinon-9.2.2 2020-12-12 03:06:55 +00:00
dependabot-preview[bot] a1a9d38e2a Bump @babel/preset-env from 7.12.7 to 7.12.10
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.7 to 7.12.10.
- [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.12.10/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-12 02:19:50 +00:00
dependabot-preview[bot] a9b0a4e307 Bump webpack-merge from 5.4.0 to 5.6.1
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 5.4.0 to 5.6.1.
- [Release notes](https://github.com/survivejs/webpack-merge/releases)
- [Changelog](https://github.com/survivejs/webpack-merge/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v5.4.0...v5.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-12 02:19:03 +00:00
Nextcloud bot 949ae6389b [tx-robot] updated from transifex 2020-12-12 02:18:46 +00:00
dependabot-preview[bot] 82bbbf07bf Bump sinon from 9.2.1 to 9.2.2
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.2.1 to 9.2.2.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/commits/v9.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-12 02:17:18 +00:00
Lukas Reschke 8a8aa4f7dc Add sanitizers for JSON output
Those functions set proper content-types that prevent rendering of
data. Therefore it's safe to mark them as sanitizers.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2020-12-11 21:23:11 +00:00
nik gaffney 794cc3d803 repair text/org MIME types
Signed-off-by: nik gaffney <nik@fo.am>
2020-12-11 18:21:33 +01:00
nik gaffney 0343318248 add text/org mimetype
Signed-off-by: nik gaffney <nik@fo.am>
2020-12-11 18:21:33 +01:00
Roeland Jago Douma 9dd27f923e Merge pull request #24588 from nextcloud/version/21/beta1
21 beta1
2020-12-11 15:34:38 +01:00
Roeland Jago Douma 43e07b36a9 Merge pull request #24635 from nextcloud/bugfix/noid/show-email-recipient
Show email address for shares that were created by other users
2020-12-11 13:04:52 +01:00
John Molakvoæ 32f64b68e4 Merge pull request #24643 from nextcloud/fix/noid/recent-files-has-preview
Indicate preview availability in recent file api responses
2020-12-11 12:35:28 +01:00
Nextcloud bot bda3d01196 [tx-robot] updated from transifex 2020-12-11 02:20:16 +00:00
Roeland Jago Douma 582ce5a6ad Merge pull request #24416 from nextcloud/fix/app-store-check-php-compat
Check php compatibility of app store app releases
2020-12-10 21:42:58 +01:00
dependabot-preview[bot] 55b2b58bf9 Merge pull request #24650 from nextcloud/dependabot/npm_and_yarn/build/ini-1.3.7 2020-12-10 18:48:45 +00:00
dependabot-preview[bot] 78079839be [Security] Bump ini from 1.3.5 to 1.3.7 in /build
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. **This update includes a security fix.**
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-10 18:12:25 +00:00
Daniel Kesselberg 9558734d07 Add $secureRandom to test case
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-12-10 17:06:37 +01:00
Daniel Kesselberg 8ebd31d686 Make $vars and $secureRandom required.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-12-10 17:06:32 +01:00
Richard Steinmetz f56eb82ddd Indicate preview availability in recent file api responses
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2020-12-10 16:37:46 +01:00
Julius Härtl 0c7cc95b4e Show email address for shares that were created by other users
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-10 15:15:20 +00:00
Roeland Jago Douma 27fdc6575d Merge pull request #24630 from nextcloud/enh/noid/unknown_named_parameter
Error: Unknown named parameter $remote_id
2020-12-10 16:02:19 +01:00
Roeland Jago Douma ccd5ca5476 Merge pull request #23044 from nextcloud/migration-10.5
Handle owncloud migration to latest release
2020-12-10 14:32:13 +01:00
Roeland Jago Douma 3c693db0ca Merge pull request #24605 from nextcloud/enh/share-deck
Add deck share provider support
2020-12-10 14:30:08 +01:00
Joas Schilling 16be144aab Merge pull request #24628 from nextcloud/bugfix/noid/ocs-endpoint-load-issues
Fix loading order for OCS endpoints
2020-12-10 10:43:54 +01:00
Daniel Kesselberg 9e4d49d157 Fix variable name for test
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-12-10 10:19:48 +01:00
John Molakvoæ (skjnldsv) fd01d24402 Allow to force rename a conflicting calendar
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-12-10 09:12:28 +01:00
Vincent Petry 5f405e1454 Fix loading order for OCS endpoints
The loading order can have side effects in the way how apps register
plugins, listeners, etc.

Recently the order had been changed as part of cleaning up old code, but
caused apps to break.

This brings back the old app loading order to guarantee that apps won't
break, even though it might not semantically make sense.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-10 08:20:20 +01:00
Nextcloud bot 5fc20e8862 [tx-robot] updated from transifex 2020-12-10 02:20:14 +00:00
Julius Härtl a0444bc69c Merge pull request #24247 from nextcloud/bugfix/noid/ocm-providerId-string 2020-12-09 17:25:59 +01:00
Julius Härtl c4ea37b8a1 Address minor comments
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 15:51:41 +01:00
Julius Härtl 36ffad5ba7 Make sure the migrations table schema is always checked
Signed-off-by: Julius Härtl <jus@bitgrid.net>

Revert "Make sure the migrations table schema is always checked"

This reverts commit 258955ef738a52d9da2ac2fe59466e6093d7e9bc.

Set current vendor during upgrade and perform migrations table change if needed

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 15:24:03 +01:00
Julius Härtl 0befe07127 Change further columns to be nullable with a default of 0
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 15:23:29 +01:00
Julius Härtl 20949d7f48 Properly migrate from new owncloud avatar location
as the files are not scanned we cannot use the OCP\Files api

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 15:23:29 +01:00
Julius Härtl 3749b70699 Merge pull request #24614 from nextcloud/bugfix/noid/fix-imagick-tests
Skip the test if Imagick is misconfigured
2020-12-09 13:56:00 +01:00
Julius Härtl 676d2b7a94 Adjust mountprovider tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:26 +01:00
Julius Härtl b8d2a00b74 Update psalm baseline
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:25 +01:00
Julius Härtl 8286f46ab9 Suppress psalm warnings about app classes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:25 +01:00
Julius Härtl 85e6cbc87a Extend dummy factory in tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:25 +01:00
Julius Härtl edc207b6c7 Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:25 +01:00
Julius Härtl 49a997bc87 Indicate deck shares as shared in the file list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:25 +01:00
Julius Härtl 8131965b74 Allow share results to have a detailed description and share entries to have a link
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:24 +01:00
Julius Härtl f1a54cb6aa Add share type deck to search results
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:24 +01:00
Julius Härtl 53bb44c09f Include deck shares in sharing mounts
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:24 +01:00
Julius Härtl c770d33717 Add internal DECK_USER type to allow unsharing for individual users
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:24 +01:00
Julius Härtl f3150f29a7 Introduce deck share type to ShareAPIController
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:24 +01:00
Julius Härtl bac1651380 Handle deck share type in audit and dav app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:23 +01:00
Julius Härtl f2f3ad733f Dummy general share checks for deck
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:23 +01:00
Julius Härtl e906138d8d Let sharees endpoint properly handle deck shares
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:23 +01:00
Julius Härtl fcc0d35895 Add share type for deck
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:23 +01:00
Julius Härtl fdea545415 Allow apps to register their share providers from outside
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:23 +01:00
Roeland Jago Douma f318423840 Merge pull request #24612 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-12-09 12:58:43 +01:00
Julius Härtl 4ef148a781 Dump autoloader
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 12:14:16 +01:00
Julius Härtl 9fe94f282f Readd repair steps that are relevant when migrating from ownCloud
This reverts commit d9b1492e03.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 12:13:35 +01:00
Julius Härtl 28491ad2d8 Handle oc_dav_properties migration
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 12:13:35 +01:00
Julius Härtl c77e259cfe Add missing index on oc_cards and rename if it previously existed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 12:13:34 +01:00
Julius Härtl 3c9218ab26 Move authtoken login_name column to varchar(255)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 12:13:34 +01:00
Julius Härtl 76addfa44c Add missing mount_id index
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 12:13:34 +01:00
Julius Härtl fe80a65c3e Drop attributes on oc_share table
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 12:13:34 +01:00
Julius Härtl f276ccbbc3 Drop assignable systemtag column
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 12:13:34 +01:00
Julius Härtl de67719d9f Drop oc_dav_job_status table
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 12:13:34 +01:00
Vincent Petry ab43d6a11e Adjust execution duration to 0
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-09 12:13:33 +01:00
Vincent Petry 0d42d996d1 Adjust further columns
- calendarsubscriptions.lastmodified -> not null
- external_config.value -> allow null

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-09 12:13:33 +01:00
Vincent Petry b9836398cc Adjust calendars.components to 64 chars
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-09 12:13:33 +01:00
Julius Härtl 2607ac3fb2 Allow major/minor match for owncloud version
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 12:13:33 +01:00
Julius Härtl f5501ca276 Avoid checking for brute force protection capabilities when upgrading
This might happen a releases that doesn't have this table yet

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 12:13:33 +01:00
Julius Härtl 83f4f480ab Fix missing authtoken scope
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 12:13:32 +01:00
Julius Härtl 7518f67f33 Drop fk constraints on locks table
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 12:13:32 +01:00
Julius Härtl 96071d7b77 Allow upgrade from oc 10.5
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 12:13:32 +01:00
Julius Härtl 9c2e9f2625 Add missing table columns
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 12:13:32 +01:00
Joas Schilling c8e0f3015f Merge pull request #24398 from nextcloud/fix/do-not-update-incompatible-app
Do not update incompatible apps
2020-12-09 09:28:25 +01:00
Joas Schilling d04b7cf03d Skip the test if Imagick is misconfigured
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-09 09:07:20 +01:00
Nextcloud-PR-Bot 59f9e7f340 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-12-09 04:31:11 +00:00
Nextcloud bot 6f83546358 [tx-robot] updated from transifex 2020-12-09 02:19:47 +00:00
Joas Schilling 13a1eb6494 Merge pull request #24598 from nextcloud/techdebt/noid/wrap-the-exception-to-make-debuggin-easier
Make debugging migration exceptions easier
2020-12-08 17:10:20 +01:00
Joas Schilling 86a3b7e7bf Merge pull request #24486 from nextcloud/feature/noid/phone-number-validation
Phone number validation and search
2020-12-08 17:05:38 +01:00
Julius Härtl b7326046c6 Update psalm baseline
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-08 16:06:13 +01:00
Julius Härtl 4f927721b2 Add temporary test for migrating int to string
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-08 16:06:13 +01:00
Julius Härtl aefe826202 Adjust default
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-08 16:06:10 +01:00
Julius Härtl 98deb1bd07 Do not register share menu in cases where the files app has not been registered yet
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-08 16:05:53 +01:00
Julius Härtl 1b52e978e9 Get rid of database.xml in files_sharing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-08 16:05:53 +01:00
Julius Härtl 8f6c2ec357 Move columns to bigint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-08 16:05:53 +01:00
Julius Härtl bb21e87d23 Migrate files_sharing to migrations and move remote_id to a string in share_external
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-08 16:05:52 +01:00
Julius Härtl f68f67f354 Move remoteId of remote reshares to string
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-08 16:03:24 +01:00
Joas Schilling 13a438b322 Fix PHP code style
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-08 13:08:47 +01:00
Roeland Jago Douma fda6ffc866 Merge pull request #23780 from nextcloud/enh/ci/php8
PHP8 CI
2020-12-08 09:39:45 +01:00
Nextcloud bot 7e784afa65 [tx-robot] updated from transifex 2020-12-08 02:20:20 +00:00
Joas Schilling 354c5ff024 Add a repairstep to validate the phone numbers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-07 20:35:54 +01:00
Joas Schilling c1f28f8d35 Make debugging migration exceptions easier
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-07 19:35:01 +01:00
Tigran Mkrtchyan f3513f3fe4 files: Local#writeStream should use it's own file_put_contents
The OC\Files\Storage\Local#writeStream use system provided file_put_contents.
However, it overrides file_put_contents, thus expects that the default behaviour
can be different.

Use Local#file_put_contents in writeStream to benefit from class specific functionality.

Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
2020-12-07 18:11:40 +01:00
Roeland Jago Douma a9ee98e070 Update psalm baseline
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:05 +01:00
Roeland Jago Douma 6a7e849090 php cs fix
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:04 +01:00
Roeland Jago Douma 54ef1a73af Cancel 1 LDAP test for php8
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:04 +01:00
Roeland Jago Douma 7f61535a1a GD images
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:04 +01:00
Roeland Jago Douma bbf66f8637 Harde CapabiltiesTest
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:04 +01:00
Roeland Jago Douma c02e6fcae2 fix appconfig tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:04 +01:00
Roeland Jago Douma b3037dee6a FIXME use default RC4 method
* We should pick better default method!

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:04 +01:00
Roeland Jago Douma b668850aa1 Fix filesystem tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:04 +01:00
Roeland Jago Douma a25b46f494 Make sure we can also run with escapedshell args
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:04 +01:00
Roeland Jago Douma b98fbcb774 We can no longe mock multiple interfaces
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:04 +01:00
Roeland Jago Douma 98eede7f68 Fix encryption test
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:04 +01:00
Roeland Jago Douma 0e10d8cb7c Fix locking logic
The comparrison on php8 return true while <php8 it is false.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:04 +01:00
Roeland Jago Douma b7dd2074ab FIX
the assertAttributeEquals got removed.
So we can't run these tests anymore.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:04 +01:00
Roeland Jago Douma 673beefb41 Fix MoveCalendarTest
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:04 +01:00
Roeland Jago Douma 7f0b2738bf Fix notifier test
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:03 +01:00
Roeland Jago Douma 48679ae39f Make sure we just check for the keys
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:03 +01:00
Roeland Jago Douma d690f90928 Do not run image tests on php8
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:03 +01:00
Roeland Jago Douma 1670eabdb3 Do not run on php8
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:03 +01:00
Roeland Jago Douma 6b7731a852 Move to new phpunit
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:03 +01:00
Roeland Jago Douma 988ce1374c Don't check on php8
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:03 +01:00
Roeland Jago Douma c084008df2 Avatar fixes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:03 +01:00
Roeland Jago Douma 9317e0f0f0 Fix test traits for phpunit 9
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:44:03 +01:00
Roeland Jago Douma b611bc3115 Add php8 CI
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:43:54 +01:00
Joas Schilling d0750df20c Unit tests for searching by phone number
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-07 14:19:38 +01:00
Joas Schilling f648635758 Make the throwing optional, so background tasks don't break
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-07 14:19:38 +01:00
Joas Schilling f0ca76aefb Add and fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-07 14:19:38 +01:00
Joas Schilling 46b073d7ce Add a config for default region of phone numbers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-07 14:19:38 +01:00
Joas Schilling 689e3a502d Add an integration test for the phone search API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-07 14:19:38 +01:00
Joas Schilling 9e04e6f99a Also translate the phone number when coming in via the accounts manager API directly
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-07 14:19:38 +01:00
Joas Schilling fe9c46e595 Add an endpoint to search for accounts based on phone number
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-07 14:19:37 +01:00
Joas Schilling eaba155a09 Add a database table for the accounts data so we can search it better
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-07 14:19:37 +01:00
Joas Schilling efe79f2937 Validate and standardize the phone number on saving
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-07 14:19:37 +01:00
Joas Schilling 570c1bf7c4 Display errors that happen on saving
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-07 14:19:37 +01:00
Joas Schilling e17cd8acb4 Bump 3rdparty to include giggsey/libphonenumber-for-php
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-07 14:19:37 +01:00
Joas Schilling c2913f18d2 Also return the phone number and twitter handle on the API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-07 14:19:37 +01:00
Joas Schilling da9462b482 Make code strict
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-07 14:19:37 +01:00
Roeland Jago Douma f480436c67 21 beta1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 13:14:16 +01:00
John Molakvoæ e02c9ec1bf Merge pull request #24581 from nextcloud/bugfix/noid/setup-js
Do not load nonexisting setup.js
2020-12-07 09:17:06 +01:00
John Molakvoæ 76ffc46c01 Merge pull request #24578 from nextcloud/add-integration-tests-for-avatars 2020-12-07 09:16:52 +01:00
Julius Härtl df769c025a Do not load nonexisting setup.js
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-07 07:39:25 +01:00
Daniel Calviño Sánchez b4b3276a5b Add integration tests for getting guest avatars
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-12-07 04:48:00 +01:00
Daniel Calviño Sánchez 1552add4ca Add integration tests for resized user avatars
Even on solid color images the resizing can cause some small artifacts
that slightly modify the color of certain pixels. Due to this now the
color comparison is no longer strict but fuzzy.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-12-07 04:48:00 +01:00
Daniel Calviño Sánchez 2cc22a06b4 Add integration tests for user avatars
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-12-07 04:47:56 +01:00
Daniel Calviño Sánchez 184742e6ff Make possible to set body in requesttoken requests in integration tests
"sendingAToWithRequesttoken" needs to be used to test some non OCS
endpoints which require the request token to be sent in the request. Now
it is possible to specify the body (or, rather, additional contents
beside the cookies and the request token) for those requests, as it will
be needed for example to upload an avatar.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-12-07 04:32:00 +01:00
Daniel Calviño Sánchez b553b43b68 Make possible to send requests as anonymous users in integration tests
Until now requests always had "auth" headers either for an admin or a
regular user, depending on the value of "currentUser". Now, if
"currentUser" starts by "anonymous" no "auth" header is sent, which
makes possible to also test requests with users not logged in.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-12-07 04:32:00 +01:00
Nextcloud bot eab710c2fd [tx-robot] updated from transifex 2020-12-07 02:20:42 +00:00
Nextcloud bot e41e2fe003 [tx-robot] updated from transifex 2020-12-06 02:19:28 +00:00
Nextcloud bot 9a6569d4f2 [tx-robot] updated from transifex 2020-12-05 02:18:50 +00:00
Christoph Wurst cbb34af53f Do not update incompatible apps
Previously there was no (platform) dependency check for an app that was
installed before. So Nextcloud happily upgraded an app that now requires
a php version newer than the current one. Which means in the lucky case
you see a failing upgrade due to the language incompatibility, or in the
unlucky case you see unexpected errors later in production.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-04 17:05:22 +01:00
Christoph Wurst 24237f1a34 Check php compatibility of app store app releases
Apps might increase the minimum php version requirement, in which case
an update could break the app or even the whole instance. We must not
install those releases, or better, don't even show them for
update/installation. This extends the app fetcher code to filter out the
releases that are not installable.

The filter respects minimum and maximum requirements. E.g. apps that are
still only released for php7.3 won't show up for php7.4 instances. This
behavior is new but if an app lists an explicit version requirement,
then we ought to repect that.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-04 16:52:31 +01:00
Roeland Jago Douma f0862dcfaa Merge pull request #24552 from nextcloud/enh/remember_me_is_not_app_password
Remember me is not an app_password
2020-12-04 16:35:44 +01:00
Morris Jobke 0d7819eb6c Merge pull request #24550 from nextcloud/enh/fix/new_session_id_if_decrypt_fails
Generate a new session id if the decrypting the session data fails
2020-12-04 12:52:59 +01:00
Morris Jobke 5cc348ae72 Fix typo
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-12-04 12:51:45 +01:00
Roeland Jago Douma 48b4b83b5a Remember me is not an app_password
While technically they are stored the same. This session variable is
used to indicate that a user is using an app password to authenticate.
Like from a client. Or when having it generated automatically.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-04 12:40:28 +01:00
Roeland Jago Douma 858f623081 Generate a new session id if the decrypting the session data fails
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-04 11:42:40 +01:00
Joas Schilling cb7b8998e4 Merge pull request #24545 from nextcloud/bugfix/noid/force-composerv2
Always install composer v2
2020-12-04 10:56:35 +01:00
Morris Jobke 3c62d2bcae Merge pull request #24543 from nextcloud/bugfix/noid/dont-log-image-as-string
Don't log params of imagecreatefromstring
2020-12-04 10:42:49 +01:00
Julius Härtl a1a4fa2ac2 Always install composer v2
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-04 10:11:02 +01:00
Vincent Petry 9b3361ce87 Don't log params of imagecreatefromstring
To prevent flooding the log with actual image data.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-04 09:30:20 +01:00
Christoph Wurst 32ded877dc Merge pull request #24474 from nextcloud/enhancement/unified-search-result-attributes
Allow unified search results to have attributes
2020-12-04 08:42:15 +01:00
Nextcloud bot 3f88dbd259 [tx-robot] updated from transifex 2020-12-04 02:19:19 +00:00
Roeland Jago Douma 7d9004c885 Merge pull request #24535 from nextcloud/fix/multiple_file_download
Fix the download of multiple files from the webUI
2020-12-03 18:59:39 +01:00
Christoph Wurst 885dabb761 Add attributes to file search results
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-03 18:24:33 +01:00
Christoph Wurst cc92d5a293 Allow unified search results to have attributes
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-03 18:24:33 +01:00
Morris Jobke fc57f60ece Merge pull request #24358 from nextcloud/dav-storage-copy
use storage copy implementation when doing dav copy
2020-12-03 15:03:13 +01:00
Roeland Jago Douma c9cd633665 Fix the download of multiple files from the webUI
needed a setupFS call

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-03 13:20:01 +01:00
Joas Schilling 64bc7c79e8 Merge pull request #24498 from nextcloud/enhancement/nextcloud-log-normalizer
Replace abandoned log normalizer with our fork
2020-12-03 11:04:49 +01:00
Morris Jobke d7207d838a Merge pull request #24409 from nextcloud/bugfix/24399
Also run repair steps when encryption is disabled but a legacy key is present
2020-12-03 10:54:08 +01:00
Christoph Wurst 0e99d3c1a0 Merge pull request #24516 from nextcloud/enh/23278/add-icon-for-notification
Add icon to user limit notification
2020-12-03 09:58:28 +01:00
Julius Härtl 04d67d558e Also handle legacy cipher support when encryption is disabled but an old master key is present
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-03 09:47:05 +01:00
Christoph Wurst 244c53dea1 Replace abandoned log normalizer with our fork
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-03 09:44:25 +01:00
Morris Jobke 4d64ec9944 Merge pull request #24519 from nextcloud/fix/bug/emailtemplate
Fix vsprint parameter
2020-12-03 09:13:58 +01:00
Christoph Wurst fbc06d39c7 Merge pull request #24429 from nextcloud/3rdparty/closure
[3rdparty] Migrate to Opis/Closure
2020-12-03 08:44:53 +01:00
Roeland Jago Douma 3d315ec64f Fix vsprint parameter
%2\$; is not valid. On php7 this is just ignored but on php8 it gives an
error. %2\$s; works.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-03 08:25:11 +01:00
Morris Jobke b52a1e196e Merge pull request #24524 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-12-03 06:47:11 +01:00
Nextcloud-PR-Bot 3c606cbec3 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-12-03 04:29:05 +00:00
Nextcloud bot 0dcc227a6b [tx-robot] updated from transifex 2020-12-03 02:19:51 +00:00
Morris Jobke 2fb31e9b5d Improve wording
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-12-02 21:42:32 +01:00
Morris Jobke 09754461df Merge pull request #24459 from nextcloud/fix/23096/workflow-fix-mimetype-check-for-directories
Only execute plain mimetype check for directories and do the fallback…
2020-12-02 21:00:05 +01:00
Morris Jobke 40ebe24960 Update psalm-baseline.xml
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-12-02 20:27:14 +01:00
Roeland Jago Douma 04c037ebfd [3rdparty] Migrate to Opis/Closure
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-02 20:16:57 +01:00
Morris Jobke bd0a77269f Add icon to user limit notification
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-12-02 20:13:33 +01:00
Roeland Jago Douma 6f4d3edb5e Merge pull request #24113 from nextcloud/extend-cache-events
extend cache events
2020-12-02 19:48:20 +01:00
Roeland Jago Douma 82cc9c1382 Merge pull request #24501 from nextcloud/personal-external-mount-id
set mountid for personal external storage mounts
2020-12-02 19:48:05 +01:00
Christoph Wurst 4deff37a3c Merge pull request #23278 from nextcloud/enh/noid/user-limits
Allow subscription to indicate that a userlimit is reached
2020-12-02 18:22:13 +01:00
dependabot-preview[bot] dc3e05b69a Merge pull request #24419 from nextcloud/dependabot/npm_and_yarn/underscore-1.12.0 2020-12-02 15:34:57 +00:00
Morris Jobke e580f91143 Merge pull request #23257 from aler9/patch-32bit-filesize-master
Fix file size computation on 32bit platforms
2020-12-02 16:22:24 +01:00
Morris Jobke 32f6bdf067 Merge pull request #24396 from nextcloud/dont-use-system-composer
dont use system composer for autoload checker
2020-12-02 16:15:55 +01:00
Roeland Jago Douma d69407963c Merge pull request #24500 from nextcloud/bugfix/noid/log_query_no_crash
Prevent log_query to mess up regular execution flow
2020-12-02 16:15:26 +01:00
Robin Appelman aef1cdba03 code style and dispatchTyped
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-12-02 16:15:02 +01:00
Morris Jobke c0a05c0412 Add notification for user limit
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-12-02 15:20:03 +01:00
Morris Jobke d87705a894 Allow subscription to indicate that a userlimit is reached
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-12-02 15:20:03 +01:00
dependabot-preview[bot] 3db459565c Bump underscore from 1.11.0 to 1.12.0
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.11.0...1.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-02 14:17:13 +00:00
Morris Jobke e25a62c69d Merge pull request #24348 from hosting-de/feature/console-user-display-name
Wrap display_name similarly to email to allow changes via occ
2020-12-02 15:05:20 +01:00
Robin Appelman ef016f71c3 cleanup after autoloader generation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-12-02 15:02:56 +01:00
Robin Appelman 8d962579db set mountid for personal external storage mounts
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-12-02 14:25:48 +01:00
blizzz 0da8221327 Merge pull request #24499 from nextcloud/fix/noid/harden-setup-checks
Harden setup check for TLS version if host is not reachable
2020-12-02 14:24:43 +01:00
Vincent Petry a50bcdabcc Prevent log_query to mess up regular execution flow
When the "log_query" debug config parameter is set, SQL queries are
logged. However, if an error occurs when converting the values to
string, it will abort the request.

This fix catches the error and continues instead.

Also added handler for DateTime value which is already known to cause
aborts here.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-02 14:10:35 +01:00
Morris Jobke fe79a1ad3e Harden setup check for TLS version if host is not reachable
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-12-02 13:17:05 +01:00
aler9 ac0c7a8fe0 Fix file size computation on 32bit platforms
Signed-off-by: aler9 <46489434+aler9@users.noreply.github.com>
2020-12-02 12:05:14 +01:00
Johannes Leuker 7daef37813 Wrap display_name similarly to email to allow changes via occ
Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
2020-12-02 10:27:57 +01:00
Morris Jobke d8b8c9895b Merge pull request #24376 from nextcloud/existing-dialog-ff
fix loading mtime of new file in conflict dialog in firefox
2020-12-02 07:18:05 +01:00
Nextcloud bot d7a78de2a0 [tx-robot] updated from transifex 2020-12-02 02:20:04 +00:00
dependabot-preview[bot] 9c766c42a5 Merge pull request #24421 from nextcloud/dependabot/npm_and_yarn/p-limit-3.1.0 2020-12-01 23:14:13 +00:00
Robin Appelman e6f1b1033b fix loading mtime of new file in conflict dialog in firefox
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-01 21:45:00 +00:00
dependabot-preview[bot] 771cda3d2d Bump p-limit from 3.0.2 to 3.1.0
Bumps [p-limit](https://github.com/sindresorhus/p-limit) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/sindresorhus/p-limit/releases)
- [Commits](https://github.com/sindresorhus/p-limit/compare/v3.0.2...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-01 22:25:25 +01:00
Roeland Jago Douma dda83950f1 Merge pull request #24456 from Aviortheking/patch-1
Added check on getBackgroundUrl
2020-12-01 13:48:46 +01:00
Roeland Jago Douma 990038aaba Merge pull request #24420 from nextcloud/dependabot/npm_and_yarn/babel-loader-8.2.2
Bump babel-loader from 8.2.1 to 8.2.2
2020-12-01 12:33:41 +01:00
Morris Jobke 15f4b4d32d Merge pull request #24468 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-12-01 06:45:39 +01:00
Nextcloud-PR-Bot 5427acec98 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-12-01 04:28:53 +00:00
Nextcloud bot 7ceb98f63b [tx-robot] updated from transifex 2020-12-01 02:19:46 +00:00
Roeland Jago Douma c97493e0ba Merge pull request #24460 from nextcloud/fix/noid/translations-in-file-list-share
Use correct l10n source in files_sharing JS code
2020-11-30 19:37:29 +01:00
dependabot-preview[bot] 3db4987465 Merge pull request #24274 from nextcloud/dependabot/npm_and_yarn/marked-1.2.5 2020-11-30 17:33:54 +00:00
Morris Jobke def53f4c64 Use correct l10n source in files_sharing JS code
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-30 16:18:47 +00:00
Avior e0e61b8658 Added check on window.Accessibility
It crash the Dashboard when the Accessibility module is not presetn

Signed-off-by: Florian BOUILLON <florian.bouillon@delta-wings.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-30 15:52:42 +00:00
Morris Jobke c44ec8c5d5 Only execute plain mimetype check for directories and do the fallback only for non-directories
Ref #23096

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-30 16:43:57 +01:00
Morris Jobke 3a8bd38ca4 Merge pull request #24451 from nextcloud/fix/noid/external-storage-cfg-groupids
external storages: save group ids not display names in configuration
2020-11-30 15:46:34 +01:00
dependabot-preview[bot] 0f3a0fc74e Bump marked from 1.2.3 to 1.2.5
Bumps [marked](https://github.com/markedjs/marked) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v1.2.3...v1.2.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-30 14:23:24 +00:00
Morris Jobke deb7073724 Merge pull request #24449 from nextcloud/bugfix/noid/theming-scss-apcu
Store scss variables under a different prefix for each theming config version
2020-11-30 14:56:19 +01:00
Arthur Schiwon 5322d30d51 save group ids not display names in configuration
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-30 14:52:37 +01:00
dependabot-preview[bot] bff1f045bb Merge pull request #24422 from nextcloud/dependabot/npm_and_yarn/core-js-3.8.0 2020-11-30 13:38:44 +00:00
Julius Härtl 22e26a7f5e Store scss variables under a different prefix for each theming config version
The main issue with using the general theming- prefix is that with APCu caching
the cache is not shared between processes, so when trying to reset the cache
through the CLI, e.g. when updating the theming config the old cache is never
invalidated.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-30 14:15:17 +01:00
dependabot-preview[bot] 73a1cbde06 Bump core-js from 3.7.0 to 3.8.0
Bumps [core-js](https://github.com/zloirock/core-js) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.7.0...v3.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-30 12:33:42 +00:00
dependabot-preview[bot] 785029d693 Merge pull request #24424 from nextcloud/dependabot/npm_and_yarn/css-vars-ponyfill-2.4.2 2020-11-30 11:31:05 +00:00
dependabot-preview[bot] 2f183b4a95 Merge pull request #24425 from nextcloud/dependabot/npm_and_yarn/babel/core-7.12.9 2020-11-30 11:23:52 +00:00
Christoph Wurst 9a3cc099db Merge pull request #24414 from nextcloud/techdebt/remove-update-php
Remove the deprecated update.php
2020-11-30 12:11:03 +01:00
dependabot-preview[bot] 04eccacbeb Bump css-vars-ponyfill from 2.4.1 to 2.4.2
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/compare/v2.4.1...v2.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-30 10:45:55 +00:00
Morris Jobke 344eacb8d8 Merge pull request #24406 from nextcloud/enhancement/ldap-install-php-to-repair-step
Migrate LDAP's install.php to a repair step
2020-11-30 11:22:35 +01:00
Morris Jobke 356350ffe8 Merge pull request #24440 from nextcloud/techdebt/noid/replace-static-unshare-call-in-test-with-sharemanager
Replace static call to Share::unshare with ShareManager->deleteShare in tests
2020-11-30 11:11:59 +01:00
Morris Jobke 9be5caa937 Merge pull request #24340 from nextcloud/td/psalm/job_execute
Use proper OCP\BackgroundJobs\Job
2020-11-30 10:00:14 +01:00
Morris Jobke 528516b69f Merge pull request #23652 from nextcloud/bug/circles-508/circles-public-shares
Fix public calendars shared to circles
2020-11-30 09:53:53 +01:00
Morris Jobke 83a75c670b Replace static call to Share::unshare with ShareManager->deleteShare in tests
And then cleanup all the code that is dead then...

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-30 09:51:18 +01:00
John Molakvoæ 9409968451 Merge pull request #24439 from nextcloud/techdebt/noid/legacy-share-cleanup 2020-11-30 09:05:02 +01:00
Nextcloud bot c1161e27b4 [tx-robot] updated from transifex 2020-11-30 02:19:45 +00:00
Morris Jobke 6564a95160 Remove now unused methods in Share.php due to the reduced code complexity in Share::getItems
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-29 23:28:16 +01:00
Morris Jobke 10e5ae5e18 Remove unused method Share Helper::generateTarget
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-29 22:52:52 +01:00
Morris Jobke a125d8aaa1 Reduce code complexity in Share::getItems by tracing all remaining callers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-29 22:30:09 +01:00
Morris Jobke 596df8fc6f Remove unused Share::getItemSharedWithBySource()
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-29 22:24:12 +01:00
Roeland Jago Douma f7fa292beb Merge pull request #24405 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-11-29 14:02:36 +01:00
Nextcloud-PR-Bot f94741ddee Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-11-29 04:27:32 +00:00
Nextcloud bot 6e1269d912 [tx-robot] updated from transifex 2020-11-29 02:19:11 +00:00
dependabot-preview[bot] 82c7d3c0f8 Bump @babel/core from 7.12.7 to 7.12.9
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.7 to 7.12.9.
- [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.12.9/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-28 02:22:24 +00:00
Nextcloud bot 099b7590a9 [tx-robot] updated from transifex 2020-11-28 02:18:24 +00:00
dependabot-preview[bot] fa1269f817 Bump babel-loader from 8.2.1 to 8.2.2
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.1 to 8.2.2.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.1...v8.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-28 02:17:57 +00:00
Arthur Schiwon af6b0ecec0 php-cs happyness
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-27 19:34:35 +01:00
Arthur Schiwon e9e61b9537 add unit tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-27 19:24:12 +01:00
Arthur Schiwon 270912848f check number of members after potential resolving of rdns
- the type check is not necessary anymore for the return type of
  _groupMembers()

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-27 18:44:27 +01:00
Arthur Schiwon 1f40ecca86 use faster and less hungry foreach
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-27 18:38:08 +01:00
Christoph Wurst 334f3943ab Migrate LDAP's install.php to a repair step
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-27 15:13:01 +01:00
blizzz 6c513f8b43 Merge pull request #24413 from nextcloud/techdebt/remvoe-ldap-update-php
Remove the obsolete update.php of user_ldap
2020-11-27 14:56:28 +01:00
Christoph Wurst fd649afb1f Remove the deprecated update.php
* It was documented as deprecated.
* The app code checker warned about it
* It's been three years

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-27 13:02:59 +01:00
Christoph Wurst a8437f1b18 Remove the obsolete update.php of user_ldap
This was necessary long time ago for backwards compat with older
instances that were upgraded. Since this script has been run many times
with all the previous major versions, it's finally time to remove this.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-27 12:18:06 +01:00
Tobias Perschon 594370e2f2 moved the array_reduce to fix large search case
also added some additional comments and renamed some vars to make it intuitive whats in them

Signed-off-by: Tobias Perschon <tobias@perschon.at>
2020-11-27 11:12:14 +01:00
Julius Härtl ada55a941e Merge pull request #24395 from nextcloud/techdebt/composer-require-simplexml
Require ext-simplexml via composer
2020-11-27 10:54:17 +01:00
Nextcloud bot 7718a8a4b8 [tx-robot] updated from transifex 2020-11-27 02:18:17 +00:00
Arthur Schiwon 57bfe0d1f9 flatten result array as expected by following code
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-26 23:36:04 +01:00
blizzz fad8dd3933 Merge pull request #24393 from nextcloud/techdebt/unused-updater-check-app-upgrade
Remove dead method \OC\Updater::checkAppUpgrade
2020-11-26 18:11:51 +01:00
Robin Appelman 7956cef622 rebuild autoloader scripts with 2.0.7
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-11-26 15:49:03 +01:00
Robin Appelman 3e2e694ea9 dont use system composer for autoload checker
this ensures that the same composer version is used by everyone (and ci)

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-11-26 15:48:46 +01:00
Robin Appelman 88f35d52d2 rename cache event to follow new naming standards
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-11-26 15:39:46 +01:00
Robin Appelman 23fb497ff5 extend cache events
- adds cache remove event
- expose storage id in event
- emit events during cache move

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-11-26 15:22:03 +01:00
Christoph Wurst ef26c1aedd Require ext-simplexml via composer
This makes phpunit (and static analysis?) happy

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-26 15:16:16 +01:00
Christoph Wurst 7dd39a91ee Remove dead method \OC\Updater::checkAppUpgrade
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-26 14:48:41 +01:00
Christoph Wurst 54e3beba16 Merge pull request #24319 from nextcloud/techdebt/noid/streamline-user-creation-and-deletion-events
Streamline user creation and deletion events
2020-11-26 14:09:54 +01:00
blizzz f8a4e07a8c Merge pull request #24375 from nextcloud/fix/noid/display-remote-sharers-filelist
formatting remote sharer should take protocol, path into account
2020-11-26 14:08:13 +01:00
Arthur Schiwon f3f819b542 formatting remote sharer should take protocol, path into account
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-26 12:49:16 +01:00
Christoph Wurst bb7e1bdfb7 Merge pull request #24382 from nextcloud/bugfix/noid/urlencode-inherited-shares
Properly encode path when fetching inherited shares
2020-11-26 10:23:16 +01:00
Julius Härtl 5b3558861d Properly encode path when fetching inherited shares
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-26 09:25:17 +01:00
Daniel Kesselberg 35098a9973 A valid user session is required for circles.
The circles app depends on a valid userId. A public shared calender might be viewed by guests without a user session. For such requests the principal is null.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-11-26 09:00:09 +01:00
Daniel Kesselberg efef6e9b78 Update phpdoc for circleToPrincipal
as the QueryException is already catched inside circleToPrincipal.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-11-26 09:00:04 +01:00
Nextcloud bot aea31d5ddd [tx-robot] updated from transifex 2020-11-26 02:18:48 +00:00
Christoph Wurst 82984b5c79 Merge pull request #24374 from nextcloud/bugfix/23542
Use proper bundles for files client and fileinfo
2020-11-25 17:09:06 +01:00
Roeland Jago Douma 2172432420 Merge pull request #23912 from nextcloud/objectstore-copy
use in objectstore copy
2020-11-25 16:09:26 +01:00
Julius Härtl b06b0315c6 Files client and info bundles are always loaded so we don't need to load them again
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-25 15:11:03 +01:00
Roeland Jago Douma 6166e1a157 Use proper OCP\BackgroundJobs\Job
And typehunt the IJobList

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-25 15:03:06 +01:00
Christoph Wurst e165dcbe35 Merge pull request #24357 from nextcloud/fix/vcf-export-group-multiline
Make sure we add new line between vcf groups exports
2020-11-25 12:24:27 +01:00
Christoph Wurst 82864ef8a7 Merge pull request #24363 from nextcloud/fix/versions-expire-storage-not-available
Catch storage not available in versions expire command
2020-11-25 11:37:33 +01:00
Christoph Wurst 01790537f6 Merge pull request #24361 from nextcloud/fix/noid/fedshares-displaynames-again
send expected format of cloud id
2020-11-25 09:49:20 +01:00
Christoph Wurst 12d1c27b7f Catch storage not available in versions expire command
External storage with session credentials is not accessible without a
user session, hence background jobs and CLI commands can't work with
them. The previously unhandled exception causes logged errors in the
nextcloud log. This patch catches the specific exception and logs it as
warnings. So for a production instance the error won't spam their logs
for this non-recoverable and technically unsolvable error if the minimum
log level is set to the default of 3 (error).

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-25 09:28:38 +01:00
Nextcloud bot 81bf307845 [tx-robot] updated from transifex 2020-11-25 02:18:53 +00:00
Arthur Schiwon 9cfa8a6c44 send expected format of cloud id
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-24 23:14:43 +01:00
Robin Appelman 5ca0de2dee use storage copy implementation when doing dav copy
instead of using the sabredav fallback (which does a read+write stream copy)

this greatly speeds up dav copies

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-11-24 18:42:05 +01:00
John Molakvoæ (skjnldsv) e18899a06d Make sure we add new line between vcf groups exports
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-11-24 18:33:39 +01:00
blizzz 5d03b5c5dd Merge pull request #24162 from nextcloud/fix/noid/fedshares-displaynamez
set the display name of federated sharees from addressbook
2020-11-24 17:23:37 +01:00
blizzz 6156a49f6e Merge pull request #24341 from nextcloud/fix/sharing-enforce-expire-checkbox
Fix the config key on the sharing expire checkbox
2020-11-24 15:49:49 +01:00
Robin Appelman 9d4848e863 use in objectstore copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-11-24 15:16:58 +01:00
Roeland Jago Douma f37155d28b Merge pull request #24331 from nextcloud/bugfix/fix-contactsmenu-position
Fix contacts menu position and show uid as a tooltip
2020-11-24 14:27:36 +01:00
Christoph Wurst 2526c5e042 Fix the config key on the sharing expire checkbox
We don't use `shareapi_internal_enforce_expire_date` anywhere.
`shareapi_enforce_internal_expire_date` is the one we want.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-24 14:17:41 +01:00
Roeland Jago Douma d4fd61b7c6 Merge pull request #24324 from nextcloud/td/psalm/backgroundjob_job
Fix the OCP\BackgroundJob\Job to make it compatible with  its interface
2020-11-24 13:16:12 +01:00
Arthur Schiwon 16a78f535a set the display name of federated sharees from addressbook
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-24 11:30:11 +01:00
Julius Härtl 7dc52c9ac0 Fix contacts menu position and show uid as a tooltip
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-24 11:28:39 +01:00
blizzz 6d3d6fb81a Merge pull request #24315 from nextcloud/fix/23174/flow-ops-fix-default-value
avoid empty null default with value that will be inserted anyways
2020-11-24 11:24:32 +01:00
dependabot-preview[bot] 01ec741e6c Merge pull request #24272 from nextcloud/dependabot/npm_and_yarn/jquery-migrate-3.3.2 2020-11-24 09:29:34 +00:00
Roeland Jago Douma c2c539a754 Merge pull request #24323 from nextcloud/fix/comments-tab-missing
Fix reverse registration and missing comments tab
2020-11-24 09:34:50 +01:00
Roeland Jago Douma 82d3f50b78 Fix the OCP\BackgroundJob\Job to make it compatible with its interface
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-24 09:33:49 +01:00
dependabot-preview[bot] 0c2a6d1474 Bump jquery-migrate from 3.3.1 to 3.3.2
Bumps [jquery-migrate](https://github.com/jquery/jquery-migrate) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/jquery/jquery-migrate/releases)
- [Commits](https://github.com/jquery/jquery-migrate/compare/3.3.1...3.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-24 08:06:06 +00:00
Roeland Jago Douma 8ac9767881 Merge pull request #24312 from nextcloud/bugfix/noid/fix-router-alias
Add proper alias for internal router class
2020-11-24 08:43:29 +01:00
Julius Härtl b3191edcda Merge pull request #24271 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.12.7
Bump @babel/preset-env from 7.12.1 to 7.12.7
2020-11-24 08:38:15 +01:00
Roeland Jago Douma ac42f94269 Merge pull request #24320 from nextcloud/typo/noid/fix-typo-in-deprecated
Fix typo in @deprecated PHPDoc tag
2020-11-24 08:31:38 +01:00
Roeland Jago Douma 14b563fe43 Merge pull request #24321 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-11-24 08:31:28 +01:00
Christoph Wurst decc5c844b Fix reverse registration and missing comments tab
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-24 08:28:19 +01:00
Julius Härtl d9708ebece Add proper alias for internal router class
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-24 08:01:39 +01:00
Nextcloud-PR-Bot fda21b35c4 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-11-24 04:25:08 +00:00
Nextcloud bot eddc31a07b [tx-robot] updated from transifex 2020-11-24 02:18:55 +00:00
Morris Jobke f4c1512bb7 Fix typo in @deprecated PHPDoc tag
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-24 00:13:09 +01:00
Morris Jobke 9bf76d2bad Streamline user creation and deletion events
CreateUserEvent was the only one that didn't matched the naming scheme of BeforePASTTENSEEvent and PASTTENSEEvent. The event wasn't used at all so this just removes it again as there is BeforeUserCreatedEvent that is also available since 18.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-23 23:59:52 +01:00
Arthur Schiwon 21a53de451 avoid empty null default with value that will be inserted anyways
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-23 21:20:27 +01:00
Morris Jobke dc5f17f561 Merge pull request #24288 from nextcloud/techdebt/noid/encryption-setup-dependency-cleanup
Remove unused dependencies in encryption app setup
2020-11-23 20:43:42 +01:00
dependabot-preview[bot] 8f830c7754 Bump @babel/preset-env from 7.12.1 to 7.12.7
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.1 to 7.12.7.
- [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.12.7/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-23 18:24:55 +00:00
Morris Jobke d9e0efbf72 Merge pull request #24289 from nextcloud/techdebt/noid/encryption-make-application-class-dependency-free
[encryption] Remove dependency fetching inside the constructor and mo…
2020-11-23 16:23:21 +01:00
Morris Jobke c832e6180b Remove unused dependencies in encryption app setup
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-23 16:20:00 +01:00
Morris Jobke 5d88686b18 Merge pull request #24310 from nextcloud/perf/noid/theming-capabilities
Optimize check if background is themed
2020-11-23 15:48:57 +01:00
Roeland Jago Douma a3cff5abbe Merge pull request #24273 from nextcloud/dependabot/npm_and_yarn/babel/core-7.12.7
Bump @babel/core from 7.12.3 to 7.12.7
2020-11-23 14:39:56 +01:00
Julius Härtl a0c0918ce2 Optimize chek if background is themed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-23 13:48:05 +01:00
dependabot-preview[bot] f2a249ff71 Bump @babel/core from 7.12.3 to 7.12.7
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.3 to 7.12.7.
- [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.12.7/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-23 10:49:41 +00:00
Roeland Jago Douma 59a83b77ea Merge pull request #24275 from nextcloud/dependabot/npm_and_yarn/moment-timezone-0.5.32
Bump moment-timezone from 0.5.31 to 0.5.32
2020-11-23 11:10:24 +01:00
Roeland Jago Douma e0a6f6d34b Merge pull request #24251 from nextcloud/fix/sabre-parse-xml-errors
Update sabre/xml to fix XML parsing errors (with empty strings)
2020-11-23 10:28:06 +01:00
dependabot-preview[bot] f8af508907 Bump moment-timezone from 0.5.31 to 0.5.32
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.31 to 0.5.32.
- [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.31...0.5.32)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-23 08:23:42 +00:00
Christoph Wurst a35a9a009d Update sabre/xml to fix XML parsing errors (with empty strings)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-23 09:13:46 +01:00
Roeland Jago Douma a1cd5ca20c Merge pull request #24290 from nextcloud/propagate-taint
Add IRequest taint sources
2020-11-23 08:40:14 +01:00
Roeland Jago Douma ad5059a39e Merge pull request #24293 from nextcloud/dependabot/composer/vimeo/psalm-4.2.1
Bump vimeo/psalm from 4.2.0 to 4.2.1
2020-11-23 08:03:07 +01:00
dependabot-preview[bot] 942cd71055 Bump vimeo/psalm from 4.2.0 to 4.2.1
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/4.2.0...4.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-23 02:42:54 +00:00
Nextcloud bot 6b9f57905f [tx-robot] updated from transifex 2020-11-23 02:18:46 +00:00
Lukas Reschke a5d4d3d4cc Add IRequest taint sources
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2020-11-22 23:04:43 +01:00
Morris Jobke efe644137d [encryption] Remove dependency fetching inside the constructor and move them to method call parameters
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-22 22:35:02 +01:00
Morris Jobke 9a0428835f Merge pull request #24267 from nextcloud/techdebt/noid/auto-wire-encryption-app-view-dependent
Auto-wire remaining encryption app services that depend on View
2020-11-22 22:33:53 +01:00
Morris Jobke 858c7f4032 Auto-wire remaining encryption app services that depend on View
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-22 22:22:16 +01:00
Roeland Jago Douma 032de4f333 Merge pull request #24269 from nextcloud/taint-specialize
Mark getAppPath as specialized taint
2020-11-22 13:39:46 +01:00
Roeland Jago Douma 293410f576 Merge pull request #24268 from nextcloud/add-app-as-sanitizer-for-include
Mark cleanAppId as sanitizer for include
2020-11-22 10:53:26 +01:00
Nextcloud bot f1d71a21e5 [tx-robot] updated from transifex 2020-11-22 02:18:27 +00:00
John Molakvoæ e1821f36d9 Merge pull request #24276 from nextcloud/dependabot/npm_and_yarn/vue-material-design-icons-4.11.0
Bump vue-material-design-icons from 4.10.0 to 4.11.0
2020-11-21 11:11:28 +01:00
dependabot-preview[bot] 1cde362c2e Bump vue-material-design-icons from 4.10.0 to 4.11.0
Bumps [vue-material-design-icons](https://github.com/robcresswell/vue-material-design-icons) from 4.10.0 to 4.11.0.
- [Release notes](https://github.com/robcresswell/vue-material-design-icons/releases)
- [Changelog](https://github.com/robcresswell/vue-material-design-icons/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/robcresswell/vue-material-design-icons/compare/4.10.0...4.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-21 02:20:25 +00:00
Nextcloud bot 1859cebe56 [tx-robot] updated from transifex 2020-11-21 02:19:19 +00:00
Lukas Reschke d25ca1976b Mark getAppPath as specialized taint
Should remove some false positives.

https://psalm.dev/docs/security_analysis/avoiding_false_positives/

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2020-11-21 01:15:15 +00:00
Lukas Reschke 98ddfdd1e8 Mark cleanAppId as sanitizer for include
Should remove a bunch of false positive code scanning results.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2020-11-21 00:57:25 +00:00
Morris Jobke e606c0eef4 Allow View to be used via DI
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-21 00:18:59 +01:00
Morris Jobke db3a3bee37 Merge pull request #24064 from nextcloud/techdebt/noid/auto-wire-encryption-app
Auto-wire as much as possible in the encryption app
2020-11-21 00:04:54 +01:00
Morris Jobke 6811274cfd Merge pull request #24246 from LukasReschke/add-taint-flow-analysis
Add Psalm Security Analysis
2020-11-21 00:04:37 +01:00
Morris Jobke 5be18215fb Auto-wire as much as possible in the encryption app
Also cleans up only non-classname services in the server container

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-20 23:13:22 +01:00
Lukas Reschke 47ac8e0028 Add Psalm Taint Flow Analysis
This adds the Psalm Security Analysis, as described at
https://psalm.dev/docs/security_analysis/

It also adds a plugin for adding input into AppFramework.

The results can be viewed in the GitHub Security tab at
https://github.com/nextcloud/server/security/code-scanning

**Q&A:**

Q: Why do you not use the shipped Psalm version?
A: I do a lot of changes to the Psalm Taint behaviour. Using released
versions is not gonna get us the results we want.

Q: How do I improve false positives?
A: https://psalm.dev/docs/security_analysis/avoiding_false_positives/

Q: How do I add custom sources?
A: https://psalm.dev/docs/security_analysis/custom_taint_sources/

Q: We should run this on apps!
A: Yes.

Q: What will change in Psalm?
A: Quite some of the PHP core functions are not yet marked to propagate
the taint. This leads to results where the taint flow is lost. That's
something that I am currently working on.

Q: Why is the plugin MIT licensed?
A: Because its the first of its kind (based on GitHub Code Search) and
I want other people to copy it if they want to. Security is for all :)

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2020-11-20 23:12:00 +01:00
Morris Jobke c31e4266c7 Merge pull request #24257 from nextcloud/nc-comments
Simple typo in comments
2020-11-20 20:42:40 +01:00
Morris Jobke 1448b7c923 Merge pull request #24242 from essys/patch-1
Update ScanLegacyFormat.php
2020-11-20 20:39:49 +01:00
Morris Jobke a06111e1eb Merge pull request #24254 from nextcloud/enh/lint_php8
Also lint php8
2020-11-20 20:33:21 +01:00
Carlos Ferreira a42eb05a35 Simple typo in comments 2020-11-20 20:01:28 +01:00
Roeland Jago Douma 12f322d804 Also lint php8
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-20 16:49:09 +01:00
Morris Jobke 691409cdec Merge pull request #24062 from nextcloud/revert-24060-revert-24039-faster-installation
Revert "Revert "Installation goes brrrr""
2020-11-20 15:02:51 +01:00
Roeland Jago Douma 7fd7601016 Merge pull request #24241 from nextcloud/enh/harden_EncryptionLegacyCipher_repair
Harden EncryptionLegacyCipher a bit
2020-11-20 14:15:45 +01:00
Roeland Jago Douma 0d30047ac6 Merge pull request #24243 from nextcloud/techdebt/composer-require-libxml
Require libxml in composer
2020-11-20 14:13:29 +01:00
Christoph Wurst 0af22a64cb Require xmlreader via composer
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-20 11:29:50 +01:00
Christoph Wurst 6ae2fe941f Require libxml in composer
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-20 11:08:37 +01:00
essys fdcfc4edce Update ScanLegacyFormat.php
Fixed a small typo on line 99.
2020-11-20 10:16:35 +01:00
Roeland Jago Douma f8a2c08c41 Merge pull request #24234 from nextcloud/dependabot/composer/vimeo/psalm-4.2.0
Bump vimeo/psalm from 4.1.1 to 4.2.0
2020-11-20 10:03:01 +01:00
Roeland Jago Douma b71803802c Harden EncryptionLegacyCipher a bit
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-20 09:52:55 +01:00
dependabot-preview[bot] 774350c610 Bump vimeo/psalm from 4.1.1 to 4.2.0
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 4.1.1 to 4.2.0.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/4.1.1...4.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-20 09:07:01 +01:00
Roeland Jago Douma e794d1f5d8 Merge pull request #24235 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-11-20 08:09:28 +01:00
Nextcloud-PR-Bot c4e8c1bdcd Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-11-20 04:24:06 +00:00
Nextcloud bot 285570f546 [tx-robot] updated from transifex 2020-11-20 02:20:07 +00:00
Morris Jobke 46f406a8be Merge pull request #24017 from nextcloud/enh/share_expiration
Make the expire shares cron job actually expire the shares
2020-11-19 23:20:47 +01:00
Morris Jobke 700449882a Merge pull request #24203 from nextcloud/enh/search_regex_file_shares
Use regex when searching on single file shares
2020-11-19 23:18:48 +01:00
Morris Jobke 568762a5a5 Merge pull request #24211 from nextcloud/bugfix/noid/theming-image
Fix setting images through occ for theming
2020-11-19 23:16:42 +01:00
Morris Jobke 1b613c84e9 Merge pull request #24007 from nextcloud/select-distinct-multiple
allow selecting multiple columns with SELECT DISTINCT
2020-11-19 22:39:01 +01:00
Morris Jobke c2510ecae9 Merge pull request #24103 from nextcloud/bugfix/noid/groupfolder-share-object-storage
Only check path for being accessible when the storage is a object home
2020-11-19 22:37:28 +01:00
Morris Jobke 650ffc587f Merge pull request #24164 from nextcloud/fix/lazy-app-registration
Allow lazy app registration
2020-11-19 22:35:09 +01:00
Morris Jobke bf23555b8b Merge pull request #24094 from nextcloud/bugfix/noid/trash-appdata
Only attempt to move to trash if a file is not in appdata
2020-11-19 22:29:23 +01:00
Morris Jobke 33bceacc82 Merge pull request #24225 from nextcloud/enh/dataresponse_typehints
Fix DataResponse typehints
2020-11-19 21:33:46 +01:00
Roeland Jago Douma 1e111b2ad2 Fix DataResponse typehints
We use this already in several places where we just pass strings or
numbers.
This all works because we just convert it to a json response in the end.
So better to have the typehints reflect this.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-19 20:34:42 +01:00
Roeland Jago Douma 220bc1f218 Make the expire shares cron job actually expire the shares
Right now we just delete the shares from the DB. Which is efficient
sure. But doesn't trigger any real cleanup. So no Admin audit entries or
any other post processing is done.

This makes sure we really trigger this.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-19 10:51:51 +01:00
Roeland Jago Douma d602aa1825 Merge pull request #24135 from medical-cloud/fix/23357-nextcloud-logo-in-email-notifications-is-misaligned-in-version-20
Fix nextcloud logo in email notifications misalignment
2020-11-19 10:48:18 +01:00
Roeland Jago Douma eab4f3dc76 Limit shared cache search if it is just a file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-19 09:15:02 +01:00
Christoph Wurst ecbc7f62be Merge pull request #24207 from nextcloud/bugfix/noid/missing-level-psrlogged
missing level in ScopedPsrLogger
2020-11-19 08:38:05 +01:00
Julius Härtl 9b7bdfef79 Fix setting images through occ for theming
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-19 08:31:24 +01:00
Nextcloud bot c773cee305 [tx-robot] updated from transifex 2020-11-19 02:20:10 +00:00
medcloud 87ec4a0da3 Fix #23357
Signed-off-by: medcloud <42641918+medcloud@users.noreply.github.com>
2020-11-18 22:29:02 +01:00
Maxence Lange a0d9b15a80 missing level
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-11-18 18:30:07 -01:00
Roeland Jago Douma 66013f906d Merge pull request #24189 from nextcloud/enh/csp/frame-ancestors
Set frame-ancestors to none if none are filled
2020-11-18 11:29:28 +01:00
Roeland Jago Douma 884c80053a Merge pull request #24198 from nextcloud/bugfix/noid/no-fs-setup-dashboard
Only setup filesystem if needed for dashboard background service
2020-11-18 11:28:52 +01:00
Christoph Wurst 5eaeba49aa Merge pull request #24186 from nextcloud/enh/password_to_post
Move the password fiels of chaging passwords to post
2020-11-18 10:19:30 +01:00
Roeland Jago Douma 9163790b7c Set frame-ancestors to none if none are filled
frame-ancestors doesn't fall back to default-src. So when we apply a
very restricted CSP we should make sure to set it to 'none' and not
leave it empty.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-18 10:13:36 +01:00
Julius Härtl e904da9d7a Only setup filesystem if needed for dashboard background service
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-18 09:03:56 +01:00
Christoph Wurst 3cf39c573f Allow lazy app registration
During app installation we run migration steps. Those steps may use
services the app registers or classes from composer. Hence we have to
make sure the app runs through the registration.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-18 08:48:45 +01:00
Nextcloud bot b5ba1dec5d [tx-robot] updated from transifex 2020-11-18 02:18:36 +00:00
Roeland Jago Douma 3c334b11f5 Merge pull request #21716 from nextcloud/td/remove/irouter_cleanup
Remove some IRouter methods
2020-11-17 21:53:49 +01:00
Roeland Jago Douma 0f1cc78389 Merge pull request #24188 from nextcloud/enh/password_external_post
Move the global password for files external to post
2020-11-17 19:56:03 +01:00
Julius Härtl 400958cb50 Merge pull request #24192 from nextcloud/dependachristoph/npm_and_yarn/jquery-3.3
Bump jquery from 3.2 to 3.3
2020-11-17 19:42:03 +01:00
Christoph Wurst 6d204adbac Bump jquery from 3.2 to 3.3
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-17 18:28:25 +01:00
Christoph Wurst 7ba3654d36 Merge pull request #24179 from nextcloud/dependachristoph/npm_and_yarn/jquery-3.2
Bump jquery from 3.1 to 3.2
2020-11-17 16:57:12 +01:00
Roeland Jago Douma 97a1098d4d Move the global password for files external to post
Again more false positives in some scanners

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-17 16:14:21 +01:00
Roeland Jago Douma 644e7a2085 Move the password fiels of chaging passwords to post
* This is not actually used with GET (obviously). But else some scanners
  trip on it

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-17 16:10:18 +01:00
Christoph Wurst 1e000ae4df Bump jquery from 3.1 to 3.2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-17 14:22:00 +01:00
Roeland Jago Douma 72a9c35be3 Remove some IRouter methods
This is not the end. IRouter needs to burn.
But it is a start.

🎵 we didn't start the fire 🎵

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-17 14:08:20 +01:00
Christoph Wurst 5acabcf5cb Merge pull request #24102 from nextcloud/bugfix/noid/quota-upload
Check quota of subdirectories when uploading to them
2020-11-17 13:30:08 +01:00
Roeland Jago Douma 2429e8b4c5 Merge pull request #24098 from nextcloud/bugfix/noid/resharing-rights-on-circles
circleId too short in some request
2020-11-17 11:22:02 +01:00
Roeland Jago Douma b24b74f03b Merge pull request #24163 from nextcloud/techdebt/noid/add-types-to-function-builder
Add types to function builder
2020-11-17 10:12:55 +01:00
Julius Härtl f9536b0809 Check for target folder available quota when uploading
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-17 09:43:44 +01:00
John Molakvoæ ce5e60d4b5 Merge pull request #24108 from csware/apple-unknown-year
Use correct year for generated birthdays events
2020-11-17 09:20:59 +01:00
Roeland Jago Douma 12098f0813 Merge pull request #24168 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-11-17 08:56:12 +01:00
Julius Härtl e051ef1d68 Fetch quota with files propfind
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-17 08:30:51 +01:00
Nextcloud-PR-Bot e93a76962c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-11-17 04:22:33 +00:00
Nextcloud bot 7afe12eccb [tx-robot] updated from transifex 2020-11-17 02:18:26 +00:00
Joas Schilling 4f26eee609 Update psalm baseline
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-16 19:46:24 +01:00
Joas Schilling a8cb8e21c1 Add types to function builder
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-16 19:46:24 +01:00
Joas Schilling 9a3ce2f71f Don't drop the table anymore when we create it again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-16 19:34:38 +01:00
Robin Appelman a61a757b85 allow selecting multiple columns with SELECT DISTINCT
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-11-16 15:45:17 +01:00
Roeland Jago Douma 426dc68b45 Merge pull request #24069 from nextcloud/fix-default-internal-expiration-date
Fix default internal expiration date
2020-11-16 14:13:56 +01:00
Christoph Wurst d0f738fd59 Merge pull request #24112 from nextcloud/bugfix/24099/setup-fs-before-query-storage-in-settings
Set up FS before querying storage info in settings
2020-11-16 11:46:22 +01:00
kesselb 17034866f5 Merge pull request #24146 from nextcloud/bugfix/24140/dont-throw-on-show-version-query
Don't throw on SHOW VERSION query
2020-11-16 09:56:51 +01:00
Daniel Calviño Sánchez 28c57004dd Add integration tests for creating shares with default expiration dates
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 08:54:19 +01:00
Daniel Calviño Sánchez 4f5271acf9 Reset app configs by deleting the values instead of setting the defaults
This avoids the need to keep the default values in the integration tests
in sync with the code, and also makes possible to reset values with
"dynamic" defaults (defaults that depend on other values).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 08:54:19 +01:00
Daniel Calviño Sánchez 4d3cb1533e Add unit tests for "validateExpirationDateInternal"
They were copied and adjusted as needed from the tests for
"validateExpirationDate".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 08:54:19 +01:00
Daniel Calviño Sánchez bcf0a69af4 Fix default internal expiration date
The default expiration date for internal shares was set from the default
link expiration date instead of the internal one.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 08:54:18 +01:00
Joas Schilling 91a3e439cb Don't throw on SHOW VERSION query
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-16 08:43:48 +01:00
Nextcloud bot 0bed1c2bd0 [tx-robot] updated from transifex 2020-11-16 02:19:21 +00:00
Nextcloud bot 769f59ec65 [tx-robot] updated from transifex 2020-11-15 02:19:01 +00:00
dependabot-preview[bot] bcd5376373 Merge pull request #24124 from nextcloud/dependabot/npm_and_yarn/dompurify-2.2.2 2020-11-14 16:51:52 +00:00
dependabot-preview[bot] 3116cb1445 Bump dompurify from 2.2.0 to 2.2.2
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.2.0 to 2.2.2.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.2.0...2.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-14 16:12:21 +00:00
John Molakvoæ 08bde8e411 Merge pull request #24126 from nextcloud/dependabot/npm_and_yarn/core-js-3.7.0
Bump core-js from 3.6.5 to 3.7.0
2020-11-14 16:55:02 +01:00
dependabot-preview[bot] ffeace3e1d Bump core-js from 3.6.5 to 3.7.0
Bumps [core-js](https://github.com/zloirock/core-js) from 3.6.5 to 3.7.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.6.5...v3.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-14 14:51:32 +00:00
dependabot-preview[bot] a0c93cc8e6 Merge pull request #24127 from nextcloud/dependabot/npm_and_yarn/nextcloud-vue-collections-0.9.0 2020-11-14 14:27:02 +00:00
dependabot-preview[bot] 104b4fa2af Bump nextcloud-vue-collections from 0.8.1 to 0.9.0
Bumps [nextcloud-vue-collections](https://github.com/juliushaertl/nextcloud-vue-collections) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/juliushaertl/nextcloud-vue-collections/releases)
- [Commits](https://github.com/juliushaertl/nextcloud-vue-collections/compare/v0.8.1...v0.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-14 13:28:18 +00:00
dependabot-preview[bot] ac5d73db96 Merge pull request #24122 from nextcloud/dependabot/npm_and_yarn/nextcloud/dialogs-3.1.1 2020-11-14 12:16:38 +00:00
dependabot-preview[bot] 9e17df8ced Bump @nextcloud/dialogs from 3.0.0 to 3.1.1
Bumps [@nextcloud/dialogs](https://github.com/nextcloud/nextcloud-dialogs) from 3.0.0 to 3.1.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/v3.0.0...v3.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-14 11:34:58 +00:00
dependabot-preview[bot] 815173b87c Merge pull request #24119 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-3.2.0 2020-11-14 11:15:23 +00:00
dependabot-preview[bot] 299874dcd9 Bump @nextcloud/vue from 3.1.0 to 3.2.0
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v3.1.0...v3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-14 10:35:24 +00:00
John Molakvoæ 973482c834 Merge pull request #24118 from nextcloud/dependabot/npm_and_yarn/babel-loader-8.2.1
Bump babel-loader from 8.1.0 to 8.2.1
2020-11-14 10:22:21 +01:00
John Molakvoæ 4d17b6ae37 Merge pull request #24123 from nextcloud/dependabot/npm_and_yarn/webpack-merge-5.4.0
Bump webpack-merge from 5.2.0 to 5.4.0
2020-11-14 10:20:31 +01:00
dependabot-preview[bot] 0d05693f39 Merge pull request #24125 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-standard-4.1.0 2020-11-14 09:20:21 +00:00
dependabot-preview[bot] 3503c94f33 Merge pull request #24120 from nextcloud/dependabot/npm_and_yarn/sass-loader-10.1.0 2020-11-14 09:19:57 +00:00
Roeland Jago Douma c78fbbdb55 Merge pull request #24130 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-11-14 09:50:04 +01:00
Nextcloud-PR-Bot aa967d798c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-11-14 04:21:44 +00:00
dependabot-preview[bot] 12783cfa29 Bump eslint-plugin-standard from 4.0.2 to 4.1.0
Bumps [eslint-plugin-standard](https://github.com/standard/eslint-plugin-standard) from 4.0.2 to 4.1.0.
- [Release notes](https://github.com/standard/eslint-plugin-standard/releases)
- [Commits](https://github.com/standard/eslint-plugin-standard/compare/v4.0.2...v4.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-14 02:22:09 +00:00
dependabot-preview[bot] c72888c0bb Bump webpack-merge from 5.2.0 to 5.4.0
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 5.2.0 to 5.4.0.
- [Release notes](https://github.com/survivejs/webpack-merge/releases)
- [Changelog](https://github.com/survivejs/webpack-merge/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v5.2.0...v5.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-14 02:20:47 +00:00
Nextcloud bot 569c615383 [tx-robot] updated from transifex 2020-11-14 02:19:36 +00:00
dependabot-preview[bot] 502da39f11 Bump sass-loader from 10.0.5 to 10.1.0
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 10.0.5 to 10.1.0.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v10.0.5...v10.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-14 02:18:43 +00:00
dependabot-preview[bot] 2674cabf38 Bump babel-loader from 8.1.0 to 8.2.1
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.1.0 to 8.2.1.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.1.0...v8.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-14 02:16:48 +00:00
Christoph Wurst cd270d49c0 Merge pull request #24096 from nextcloud/fix/contacts-interaction-card-resource-to-string
Convert the card resource to a string if necessary
2020-11-13 19:15:31 +01:00
Vincent Petry 2143f2bb82 Set up FS before querying storage info in settings
The personal info section of the personal settings is querying the
storage quota information. For this it requires the FS to be setup which
is not always guaranteed.

This fixes an issue where refreshing the settings page would cause it to
fail after Redis caches are full. It is likely that when Redis cache is
populated, some code path is initializing the FS, so it works so far.
But when the cache is populated, that code path is skipped so the FS is
not guaranteed to be setup...

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-11-13 17:06:37 +01:00
Sven Strickroth e526e76314 Use correct year for generated birthdays events
'X-APPLE-OMIT-YEAR' is not always present, at least iOS 12.4 uses the hard coded date of 1604 (the start of the gregorian calendar) when the year is unknown.

cf. https://forums.bitfire.at/topic/2050/bday-without-year-for-vcard-3-0-if-server-drops-property-x-apple-omit-year and https://gitlab.com/CardBook/CardBook/-/issues/586

Signed-off-by: Sven Strickroth <email@cs-ware.de>
2020-11-13 15:57:12 +01:00
kesselb fd76bf18ea Merge pull request #24085 from nextcloud/fix/register-add-missing-primary-keys
Register new command db:add-missing-primary-keys
2020-11-13 15:39:03 +01:00
Greta a4223b017e Merge pull request #24023 from nextcloud/dependachristoph/npm_and_yarn/jquery-3.1.0
Bump jquery from 2.2.4 to 3.1.0
2020-11-13 14:42:46 +01:00
Julius Härtl d665981447 Only check path for being accessible when the storage is a object home
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-13 13:48:32 +01:00
Julien Veyssier 2e91ccc6be Merge pull request #23588 from nextcloud/enh/23558/override-dashboard-default-background
Override default dashboard background with theming one
2020-11-13 12:34:41 +01:00
Maxence Lange 28252594a2 circleId too short in some request
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-11-13 08:59:22 -01:00
Christoph Wurst cb5bb693de Convert the card resource to a string if necessary
Apparently the fetched column can be a string or resource. Hence we have
to catch the resource type and convert it to a string.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-13 09:10:35 +01:00
Christoph Wurst ae0a496da8 Bump jquery from 2.2.4 to 3.1.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-13 08:46:35 +01:00
Julius Härtl f4b036f249 Only attempt to move to trash if a file is not in appdata
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-13 08:30:35 +01:00
Julien Veyssier f5ef2d7d58 override default dashboard background with theming one
fix getAppValue default value in theming app
fix cacheBuster value injection

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-13 06:51:26 +00:00
Roeland Jago Douma 25f8d76f26 Merge pull request #24088 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-11-13 07:25:36 +01:00
Nextcloud-PR-Bot 05cd789e9d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-11-13 04:22:06 +00:00
Nextcloud bot fe5482e2f5 [tx-robot] updated from transifex 2020-11-13 02:19:24 +00:00
MichaIng 7224db548d Register new command db:add-missing-primary-keys
Introduced with: https://github.com/nextcloud/server/commit/d5df033ede1f2b19b87c365b1f808130023edf17

Signed-off-by: MichaIng <micha@dietpi.com>
2020-11-13 00:02:05 +01:00
Julius Härtl 35be4fdb01 Merge pull request #24066 from nextcloud/fix/sharing/expiration-date-internal
Fix default internal expiration date enforce
2020-11-12 21:57:19 +01:00
Julius Härtl 81070c753b Merge pull request #24053 from nextcloud/bugfix/noid/fix-user-status-for-oracle 2020-11-12 21:43:31 +01:00
Morris Jobke 29b97468f8 Merge pull request #24072 from nextcloud/fix-storage-credential-migration
fix migration of oc_credentials table
2020-11-12 15:49:05 +01:00
Robin Appelman 6b8078a009 fix migration of oc_credentials table
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-11-12 15:03:21 +01:00
Daniel Calviño Sánchez baaaacd650 Add explicit time to test date for clarity
This shows in a clearer way that the expected expiration date is the
original one, but without time.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-12 11:57:34 +01:00
Daniel Calviño Sánchez 578b57837a Add unit test for expiration date with date and with default
This adds back what was being actually tested in the unit test fixed in
the previous commit.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-12 11:57:34 +01:00
Daniel Calviño Sánchez 70018ddabf Fix unit test for expiration date without date but with default
The expiration date was explicitly given, so it was not testing what it
should. Moreover, "link_defaultExpDays" needs to be mapped when testing
the default value (even if it will just fallback to the value of
"shareapi_expire_after_n_days").

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-12 11:57:32 +01:00
Daniel Calviño Sánchez 3a53c2b6e5 Fix unit test method name
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-12 11:57:31 +01:00
Daniel Calviño Sánchez e997f0fa46 Fix unit test for verifying enforced valid expiration date.
The enforced expiration date was not actually enabled, as for that
"shareapi_default_expire_date" needs to be explicitly set to "yes".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-12 11:57:31 +01:00
Daniel Calviño Sánchez 8f1fff40e8 Fix unit test for verifying enforced expire date too far in the future
The test should fail if no exception was thrown, and no exception was
thrown due to a missing configuration parameter. However, the use of
"addToAssertionCount(1)" made the test pass even if no exception was
thrown and, therefore, to silently fail.

Now the missing configuration parameter was added and the test will fail
if the expected exception is not thrown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-12 11:57:29 +01:00
Daniel Calviño Sánchez ec92e82571 Add unit tests to enforce a relaxed default share expiration date
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-12 11:57:28 +01:00
Daniel Calviño Sánchez 4dbeab5cff Remove wrong and misleading comment
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-12 11:57:26 +01:00
Daniel Calviño Sánchez 72f51422ec Remove extra spaces
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-12 11:57:25 +01:00
Daniel Calviño Sánchez 7cfa2701b9 Fix typo in variable name
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-12 11:57:23 +01:00
Daniel Calviño Sánchez c8dc51f0ba Fix typos in method names
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-12 11:57:22 +01:00
Christoph Wurst 2f678e0aad Merge pull request #24065 from nextcloud/enh/pimp_accessibilitycontroller
Pimp the accesibility controller
2020-11-12 08:32:21 +01:00
John Molakvoæ (skjnldsv) bd70dd739e Fix default internal expiration date enforce
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-11-12 08:14:33 +01:00
Nextcloud bot 2d7d82f525 [tx-robot] updated from transifex 2020-11-12 02:19:24 +00:00
Morris Jobke 2b43644833 Merge pull request #24063 from nextcloud/techdebt/noid/switch-to-class-names-for-encryption-DI
Change to full class names for the encryption app DI in preparation of auto-wiring
2020-11-11 22:34:17 +01:00
Roeland Jago Douma f2ed6df9c4 Pimp the accesibility controller
* No usused members
* appRoot member
* less constructor args

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-11 22:26:40 +01:00
Roeland Jago Douma c2588b0b10 Merge pull request #24037 from nextcloud/enh/reflectionparamter_getclass_deprecatred
ReflectionParamter::getClass is deprecated
2020-11-11 21:53:55 +01:00
Morris Jobke 42a033bbc4 Change to full class names for the encryption app DI in preparation of auto-wiring
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-11 21:30:45 +01:00
Roeland Jago Douma 51a02c8009 ReflectionParamter::getClass is deprecated
In php8 this starts throwing warnings. And since we use it quite often
we flood the log. This moves it to getType which does the same. Only non
deprecated now.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-11 20:42:14 +01:00
Joas Schilling d7b5d4cb58 Revert "Revert "Installation goes brrrr"" 2020-11-11 20:12:13 +01:00
Morris Jobke fec679dd8d Merge pull request #24060 from nextcloud/revert-24039-faster-installation
Revert "Installation goes brrrr"
2020-11-11 20:10:36 +01:00
Christoph Wurst d36155620c Revert "Installation goes brrrr" 2020-11-11 17:40:12 +01:00
Morris Jobke 9db321cf11 Merge pull request #24054 from nextcloud/bugfix/noid/calendar-repair-oracle
Manually iterate over calendardata when oracle is used
2020-11-11 17:09:28 +01:00
Morris Jobke c27ed22488 Dump autoloader
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-11 16:49:37 +01:00
Julius Härtl e69655e9a6 Manually iterate over calendardata when oracle is used
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-11 15:08:43 +01:00
Joas Schilling 85ec5eb531 Also make direct_edit.accessed nullable
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-11 14:46:06 +01:00
Joas Schilling 7a1750af44 Make is_user_defined nullable so we can store false on oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-11 14:04:09 +01:00
Joas Schilling 48f1f961b9 Merge pull request #24039 from nextcloud/faster-installation
Installation goes brrrr
2020-11-11 13:27:40 +01:00
Morris Jobke 0c7bed26e8 Merge pull request #23915 from st3iny/fix/noid/png-icons-in-caldav-reminder-emails
Use png icons in caldav reminder emails
2020-11-11 12:45:23 +01:00
Morris Jobke 410e295d01 Merge pull request #24038 from nextcloud/techdebt/noid/remove-unused-static-methods-files_external
Remove unused and deprecated methods from files_external MountConfig
2020-11-11 12:41:04 +01:00
Joas Schilling 77713ab454 Don't create a schema to check if the migrations table exists
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-11 11:45:00 +01:00
Joas Schilling dde0e73c6b Reduce the number of schemas we generate when we just run all migrations anyway
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-11 11:45:00 +01:00
Joas Schilling 7f45f90789 Only update the schema when we install anyway
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-11 11:40:51 +01:00
Julius Härtl 61496d3482 Merge pull request #24041 from nextcloud/techdebt/noid/remove-oc_hooks-for-group-management
Remove old OC_Hook for OC_Group events
2020-11-11 11:17:31 +01:00
Joas Schilling e39d657e24 Merge pull request #23882 from nextcloud/tests/oracle
Run unit tests against oracle
2020-11-11 10:05:24 +01:00
Julius Härtl cdfad9aaac Merge pull request #24042 from nextcloud/fix-sharing-tab-state-not-matching-resharing-admin-settings 2020-11-11 09:28:23 +01:00
Nextcloud bot 0ee4f43048 [tx-robot] updated from transifex 2020-11-11 02:20:12 +00:00
Daniel Calviño Sánchez ee852d7e0e Add integration tests for default share permissions
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-11 02:31:25 +01:00
Daniel Calviño Sánchez b6dec0be99 Add acceptance tests for reshares by link when resharing is disabled
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-11 01:35:27 +01:00
Daniel Calviño Sánchez 22d949d9d9 Add acceptance tests for reshares when resharing is disabled
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-11 01:35:27 +01:00
Daniel Calviño Sánchez a1d79b2b2b Disable share input for a received share if resharing is not allowed
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-11 01:35:10 +01:00
Morris Jobke f771205f5f Remove unused and deprecated methods from files_external MountConfig
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-10 22:38:10 +01:00
Daniel Calviño Sánchez 9218dfb975 Do not show "Can reshare" in the menu if resharing is not allowed
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-10 22:30:37 +01:00
Morris Jobke e187c1d778 Remove old OC_Hook for OC_Group events
Those mappings exist and we will remove the first ones (labeled as `old`):

old: `\OC_Hook::listen('OC_Group', 'pre_createGroup', array('run' => true, 'gid' => $gid));`
since OC 8 (owncloud/core#12618): `$groupManager->listen('\OC\Group', 'preCreate', function ($gid) { ... });`
since NC 17 (#18350): `OCP\Group\Events\BeforeGroupCreatedEvent`

old: `\OC_Hook::emit('OC_User', 'post_createGroup', array('gid' => $gid->getGID()));`
since OC 8 (owncloud/core#12618): `$groupManager->listen('\OC\Group', 'postCreate', function (\OC\Group\Group $gid) { ... });`
since NC 17 (#18350): `OCP\Group\Events\GroupCreatedEvent`

old: `\OC_Hook::emit('OC_Group', 'pre_deleteGroup', array('run' => true, 'gid' => $group->getGID()));`
since OC 8 (owncloud/core#12618): `$groupManager->listen('\OC\Group', 'preDelete', function (\OC\Group\Group $group) { ... });`
since NC 17 (#18350): `OCP\Group\Events\BeforeGroupDeletedEvent`

old: `\OC_Hook::emit('OC_User', 'post_deleteGroup', array('gid' => $group->getGID()));`
since OC 8 (owncloud/core#12618): `$groupManager->listen('\OC\Group', 'postDelete', function (\OC\Group\Group $group) { ... });`
since NC 17 (#18350): `OCP\Group\Events\GroupDeletedEvent`

old: `\OC_Hook::emit('OC_Group', 'pre_addToGroup', array('run' => true, 'uid' => $user->getUID(), 'gid' => $group->getGID()));`
since OC 8 (owncloud/core#12618): `$groupManager->listen('\OC\Group', 'preAddUser', function (\OC\Group\Group $group, \OC\User\User $user) { ... });`
since NC 17 (#18350): `OCP\Group\Events\BeforeUserAddedEvent`

old: `\OC_Hook::emit('OC_Group', 'post_addToGroup', array('uid' => $user->getUID(), 'gid' => $group->getGID()));`
since OC 8 (owncloud/core#12618): `$groupManager->listen('\OC\Group', 'postAddUser', function (\OC\Group\Group $group, \OC\User\User $user) { ... });`
since NC 17 (#18350): `OCP\Group\Events\UserAddedEvent`

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-10 21:58:44 +01:00
Joas Schilling 0c695d97ec Fix unique key in test table
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10 21:39:19 +01:00
Joas Schilling a524e83be0 Fix naming of jobs and steps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10 21:39:19 +01:00
Morris Jobke 03b436c000 Merge pull request #24025 from nextcloud/techdebt/no-testing-deprecation-logs
Do not print deprecation warnings during testing
2020-11-10 20:23:07 +01:00
Joas Schilling 6883676ad4 Update baseline, I'm sorry
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10 15:55:06 +01:00
Joas Schilling 264d54b388 Fix CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10 15:43:34 +01:00
Joas Schilling d5df033ede Create primary keys on all tables and add a command to create the afterwards
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10 15:36:27 +01:00
Joas Schilling 5b5aebbf66 Replace the credentials table with one that can have empty user
Primary key columns on Oracle can not have empty strings

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10 15:36:27 +01:00
Joas Schilling fbda2d1d25 Don't try to update on NotNullConstraintViolationException, only on unique or foreign key
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10 15:36:27 +01:00
Joas Schilling 1aa9c9164d Fix comparing the empty string for global credentials
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10 15:36:26 +01:00
Joas Schilling cffad62771 Empty string is returned as null, but empty string in file cache is the root and exists
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10 15:35:43 +01:00
Joas Schilling 31e243be74 Fix public calendars as they are stored with null on oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10 15:35:16 +01:00
Joas Schilling ecbb066dec Make sure columns with an empty default are nullable for Oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10 15:35:16 +01:00
Joas Schilling 609c8a9cf8 Fix "Invalid fetch style: 12" on Oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10 15:35:14 +01:00
Joas Schilling 39131519b2 Make the test pass on repeating calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10 15:34:35 +01:00
Joas Schilling 61c767128c Skip the insertIfNotExists() tests on Oracle because it doesn't work with clob
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10 15:34:35 +01:00
Joas Schilling 74c0143001 Easier debugging and spell fix
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10 15:34:35 +01:00
Joas Schilling e313777cd6 Use a different column for the primary key as we can not insert it on oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10 15:34:35 +01:00
Julius Härtl 2050517d44 Add github action for oci8
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-10 15:34:35 +01:00
Morris Jobke f23c2162ad Merge pull request #23993 from nextcloud/bugfix/noid/close-cursors
Don't leave cursors open
2020-11-10 15:15:03 +01:00
eleith 10aa22dd45 Merge pull request #23070 from eleith/complex-recurrance-imports
handle vcalander documents with multiple VEVENTS not in order
2020-11-10 05:20:56 -08:00
Morris Jobke f63996f60f Merge pull request #24024 from nextcloud/enhancement/exception-page-full-trace
Show the full trace of an exception
2020-11-10 13:40:16 +01:00
Christoph Wurst 5848c31fa2 Do not print deprecation warnings during testing
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-10 12:10:01 +01:00
Christoph Wurst 979b291a36 Show the full trace of an exception
Because often we catch the exception at some point and then the trace is
misleading. What's really interesting is the trace of the *previous*
exception.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-10 10:35:08 +01:00
Roeland Jago Douma 78e1f22893 Merge pull request #24019 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-11-10 07:09:42 +01:00
Nextcloud-PR-Bot e35329176d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-11-10 04:18:47 +00:00
Nextcloud bot 98d1a3f34c [tx-robot] updated from transifex 2020-11-10 02:18:44 +00:00
Roeland Jago Douma c8822508de Merge pull request #23967 from nextcloud/dependabot/composer/build/integration/behat/behat-approx-3.8.0
Update behat/behat requirement from ~3.7.0 to ~3.8.0 in /build/integration
2020-11-09 19:54:41 +01:00
Morris Jobke 92ddaeaf4c Merge pull request #23981 from nextcloud/fix/sharing/undefined-in-search
Fix js search in undefined ocs response
2020-11-09 19:41:56 +01:00
Morris Jobke 4686deb298 Merge pull request #23999 from nextcloud/fix/old-legacy-scripts
Remove old legacy scripts references
2020-11-09 16:58:40 +01:00
Roeland Jago Douma 2b7ea590e1 Merge pull request #23994 from nextcloud/fix/comment_search
Update comment search to initFS
2020-11-09 15:52:01 +01:00
Morris Jobke 5076a019e2 Merge pull request #23889 from nextcloud/fix/noid/shortcut-to-avoid-filesystem-setup
Shortcut to avoid file system setup when generating the logo URL
2020-11-09 14:11:15 +01:00
John Molakvoæ (skjnldsv) 53e56b4d56 Fix js search in undefined ocs response
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-09 12:30:43 +01:00
Joas Schilling 8027dcbc6f Don't leave cursors open when tests fail
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-09 12:28:17 +01:00
John Molakvoæ 3bacb4780b Removed config.js 2020-11-09 12:23:51 +01:00
John Molakvoæ 87a193e307 Remove old legacy search script 2020-11-09 12:18:34 +01:00
John Molakvoæ 72545ffd07 Merge pull request #23937 from nextcloud/bugfix/noid/files-ocdb
Use query builder instead of OC_DB in OC\Files\*
2020-11-09 11:58:36 +01:00
Morris Jobke f02bab1425 Merge pull request #23976 from nextcloud/enh/reduce_getAppPath_and_autoload_reg
Reduce the getAppPath and autoloader calls
2020-11-09 11:10:33 +01:00
Morris Jobke 28464f71a2 Merge pull request #23982 from nextcloud/fix/quota-storage-getsize
Make sure root storage is valid before checking its size
2020-11-09 11:03:25 +01:00
Morris Jobke 005a132938 Merge pull request #23741 from Ashod/lock-leak
Unlock when promoting to exclusive lock fails
2020-11-09 11:00:46 +01:00
Morris Jobke 2f70a25076 Merge pull request #23978 from nextcloud/enh/query_servercontainer_first
First query the server container
2020-11-09 10:58:26 +01:00
Morris Jobke 46002a46a6 Merge pull request #23933 from nextcloud/bugfix/noid/user-ldap-ocdb
Use query builder instead of OC_DB in user_ldap
2020-11-09 10:07:25 +01:00
Morris Jobke c7ff0c71b4 Shortcut to avoid file system setup when generating the logo URL
If an SVG is requested and the app config value for logoMime is set then the logo is there. Otherwise we need to check it and maybe also generate a PNG from the SVG (that's done in getImage() which needs to be called then).

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-09 10:01:34 +01:00
Roeland Jago Douma d1c53981eb Update comment search to initFS
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-09 09:52:23 +01:00
John Molakvoæ 05d3326664 Merge pull request #23574 from nextcloud/fix/23569
Fix link share label placeholder not showing
2020-11-09 09:14:21 +01:00
Joas Schilling c07720de77 Use query builder instead of OC_DB in OC\Files\*
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-09 09:05:15 +01:00
John Molakvoæ (skjnldsv) 6a453ac184 Make sure root storage is valid before checking its size
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-11-09 08:49:30 +01:00
Joas Schilling 3f370f3732 Test requires the DB
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-09 08:40:00 +01:00
Nextcloud bot f5be2c722a [tx-robot] updated from transifex 2020-11-09 02:18:51 +00:00
Roeland Jago Douma c0936c1d47 Merge pull request #23983 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-11-08 11:23:56 +01:00
Nextcloud-PR-Bot 63c68d49c7 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-11-08 04:26:59 +00:00
Nextcloud bot 2b2af705f7 [tx-robot] updated from transifex 2020-11-08 02:18:22 +00:00
Gary Kim 25d260838b Fix link share label placeholder not showing
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-11-07 20:27:29 -05:00
Roeland Jago Douma 889bb44b42 First query the server container
When the servercontainer wants to obtain something changes are very high
this is something from the server container. Esp on setups with a lot of
shares this can change quite a bit as it avoid a needless check on the
strpos OCA\\ etc.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-07 17:51:41 +01:00
Roeland Jago Douma d8637c62e0 Reduce the getAppPath and autoloader calls
The getAppPath will always return the same data for the same appId. It
is actually already cached. However we do some cleanup of the appId
(again). Same for the autoloading it is actually already checked.

This just removes the unneeded calls. Which can add up if you have a lot
of incomming shares.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-07 17:24:41 +01:00
Roeland Jago Douma a5fa9604ba Merge pull request #23923 from nextcloud/bugfix/oci/fix-greatest-order-for-oracle
Fix greatest/least order for oracle
2020-11-07 16:55:13 +01:00
Ashod Nakashian a66fb45c0b Unlock when promoting to exclusive lock fails
In certain cases changeLock to EXCLUSIVE fails
and throws LockedException. This leaves the
file locked as SHARED in file_put_contents,
which prevents retrying (because on second
call file_put_contents takes another SHARED
lock on the same file, and changeLock doesn't
allow more than a single SHARED lock to promote
to EXCLUSIVE).

To avoid this case, we catch the LockedException
and unlock before re-throwing.

Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2020-11-07 10:31:26 -05:00
John Molakvoæ cad2369e0b Merge pull request #23956 from nextcloud/dependabot/npm_and_yarn/node-sass-5.0.0
Bump node-sass from 4.14.1 to 5.0.0
2020-11-07 14:13:02 +01:00
Richard Steinmetz f1c242c71d Use png icons in caldav reminder emails
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2020-11-07 14:09:22 +01:00
Joas Schilling d9e471771a Update parameters
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-07 14:06:03 +01:00
dependabot-preview[bot] e063824f17 Bump node-sass from 4.14.1 to 5.0.0
Bumps [node-sass](https://github.com/sass/node-sass) from 4.14.1 to 5.0.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.14.1...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-07 11:25:57 +00:00
dependabot-preview[bot] 73b3711cf4 Merge pull request #23961 from nextcloud/dependabot/npm_and_yarn/css-vars-ponyfill-2.4.1 2020-11-07 11:10:32 +00:00
John Molakvoæ 9a18c4f7d9 Merge pull request #23957 from nextcloud/dependabot/npm_and_yarn/vue-loader-15.9.5
Bump vue-loader from 15.9.4 to 15.9.5
2020-11-07 10:36:57 +01:00
John Molakvoæ 94b730256f Merge pull request #23960 from nextcloud/dependabot/npm_and_yarn/bootstrap-4.5.3
Bump bootstrap from 4.5.2 to 4.5.3
2020-11-07 10:36:43 +01:00
John Molakvoæ 6aeb0d997d Merge pull request #23962 from nextcloud/dependabot/npm_and_yarn/vue-router-3.4.9
Bump vue-router from 3.4.8 to 3.4.9
2020-11-07 10:36:35 +01:00
John Molakvoæ d8a74b2ac4 Merge pull request #23964 from nextcloud/dependabot/npm_and_yarn/marked-1.2.3
Bump marked from 1.2.0 to 1.2.3
2020-11-07 10:36:15 +01:00
John Molakvoæ e90e499c8b Merge pull request #23936 from nextcloud/bugfix/noid/trashbin-ocdb
Use query builder instead of OC_DB in trashbin
2020-11-07 10:19:23 +01:00
dependabot-preview[bot] a4c16922ce Bump css-vars-ponyfill from 2.3.2 to 2.4.1
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.3.2 to 2.4.1.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/compare/v2.3.2...v2.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-07 09:18:19 +00:00
dependabot-preview[bot] 469b5d4a94 Bump vue-loader from 15.9.4 to 15.9.5
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.4 to 15.9.5.
- [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.4...v15.9.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-07 09:15:44 +00:00
dependabot-preview[bot] 8210e94e8a Merge pull request #23965 from nextcloud/dependabot/npm_and_yarn/webpack-cli-4.2.0 2020-11-07 09:13:23 +00:00
John Molakvoæ d25e5366b8 Merge pull request #23934 from nextcloud/enh/avoid_scss_compile 2020-11-07 10:11:50 +01:00
Morris Jobke 3e6e9186d8 Fix tests to return config default values
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-07 10:11:20 +01:00
dependabot-preview[bot] 41a50456e3 Bump vue-router from 3.4.8 to 3.4.9
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.4.8 to 3.4.9.
- [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.4.8...v3.4.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-07 09:03:47 +00:00
dependabot-preview[bot] 1d0db561db Merge pull request #23966 from nextcloud/dependabot/npm_and_yarn/vue-material-design-icons-4.10.0 2020-11-07 09:01:22 +00:00
dependabot-preview[bot] 283d29416b Merge pull request #23963 from nextcloud/dependabot/npm_and_yarn/sinon-9.2.1 2020-11-07 07:59:41 +00:00
Roeland Jago Douma 4ccf8b112a Merge pull request #23968 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-11-07 07:58:42 +01:00
dependabot-preview[bot] f9c3f76ed7 Bump sinon from 9.2.0 to 9.2.1
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.2.0 to 9.2.1.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-07 04:42:20 +00:00
dependabot-preview[bot] 32cdbef40e Merge pull request #23959 from nextcloud/dependabot/npm_and_yarn/sass-loader-10.0.5 2020-11-07 04:39:49 +00:00
Nextcloud-PR-Bot 610c22d2ca Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-11-07 04:26:22 +00:00
dependabot-preview[bot] d2aeeddce7 Update behat/behat requirement in /build/integration
Updates the requirements on [behat/behat](https://github.com/Behat/Behat) to permit the latest version.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.7.0...v3.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-07 02:40:59 +00:00
dependabot-preview[bot] 074c04a4d9 Bump vue-material-design-icons from 4.9.0 to 4.10.0
Bumps [vue-material-design-icons](https://github.com/robcresswell/vue-material-design-icons) from 4.9.0 to 4.10.0.
- [Release notes](https://github.com/robcresswell/vue-material-design-icons/releases)
- [Changelog](https://github.com/robcresswell/vue-material-design-icons/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/robcresswell/vue-material-design-icons/compare/4.9.0...4.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-07 02:28:03 +00:00
dependabot-preview[bot] 8f8fe2667c Bump webpack-cli from 4.1.0 to 4.2.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.1.0...webpack-cli@4.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-07 02:27:13 +00:00
dependabot-preview[bot] 4c9f8c02d3 Bump marked from 1.2.0 to 1.2.3
Bumps [marked](https://github.com/markedjs/marked) from 1.2.0 to 1.2.3.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v1.2.0...v1.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-07 02:26:33 +00:00
dependabot-preview[bot] 5742dad4c1 Bump bootstrap from 4.5.2 to 4.5.3
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.5.2...v4.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-07 02:23:32 +00:00
dependabot-preview[bot] 78a15b2cbd Bump sass-loader from 10.0.4 to 10.0.5
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 10.0.4 to 10.0.5.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v10.0.4...v10.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-07 02:22:14 +00:00
Nextcloud bot 1d203b0fb9 [tx-robot] updated from transifex 2020-11-07 02:18:58 +00:00
Morris Jobke 1a30e4d28f Merge pull request #23821 from nextcloud/td/enh/no_fs_setup_by_default
Do not setup the default FS on normal routes
2020-11-06 23:03:09 +01:00
Morris Jobke cab80e685b Merge pull request #23942 from nextcloud/techdebt/cookie-lax-php7.3
Remove the cookie paths for php<7.3
2020-11-06 22:42:20 +01:00
Morris Jobke 1da559f5e9 Merge pull request #23938 from nextcloud/bugfix/oci/sharing-ocdb
Replace some usages of OC_DB in OC\Share\* with query builder
2020-11-06 22:41:20 +01:00
Morris Jobke 659ea6ad79 Merge pull request #23851 from nextcloud/enh/read_env_only_once
Read the env variables only once
2020-11-06 22:35:00 +01:00
Joas Schilling e52925c5fb Use query builder instead of OC_DB in trashbin
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-06 22:33:59 +01:00
Morris Jobke fb5d1b40e4 Merge pull request #23943 from nextcloud/bugfix/oci/fix-ilike-on-oracle
Fix iLike() falsely turning escaped % and _ into wildcards
2020-11-06 22:27:30 +01:00
Morris Jobke 9981ffd784 Merge pull request #23922 from nextcloud/bugfix/noid/fix-query-type-detection
Improve query type detection
2020-11-06 22:18:14 +01:00
Morris Jobke 63f996408b Merge pull request #23928 from nextcloud/bugfix/oci/dont-leave-stray-cursors-on-mimetype-update
Fix repair mimetype step to not leave stray cursors
2020-11-06 22:09:44 +01:00
Morris Jobke b70cf435a7 Merge pull request #23940 from nextcloud/enh/skip_already_loaded_apps
Skip already loaded apps in loadApps
2020-11-06 21:58:44 +01:00
dependabot-preview[bot] c27223f747 Merge pull request #23919 from nextcloud/dependabot/npm_and_yarn/css-loader-5.0.1 2020-11-06 20:55:42 +00:00
Morris Jobke 3f88ab8252 Merge pull request #23929 from nextcloud/techdebt/noid/deprecate-prepare-and-execute-audited-as-they-leak-cursors
Deprecate OC_DB::prepare and OC_DB::executeAudited as they leak cursors
2020-11-06 16:24:29 +01:00
Joas Schilling cb8bef1f37 Fix iLike() falsely turning escaped % and _ into wildcards
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-06 16:22:13 +01:00
Morris Jobke 9e2ced609e Merge pull request #23932 from nextcloud/enh/s3/do_not_check_bucket_exists_on_every_request
Allow config to specify the bucket exists
2020-11-06 16:13:20 +01:00
Christoph Wurst 7e2c3a820e Remove the cookie paths for php<7.3
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-06 15:57:17 +01:00
Roeland Jago Douma 0dece78617 Skip already loaded apps in loadApps
Otherwise you might end up calling a lot of functions unneeded.
And while the individual calls are cheap if you multiply them by 20k
they still get somewhat expensive.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-06 14:56:06 +01:00
Arthur Schiwon c96a9a9001 fix insert values
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-06 13:30:19 +01:00
Joas Schilling ad8b848444 Replace some usages of OC_DB in OC\Share\* with query builder
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-06 13:02:14 +01:00
Arthur Schiwon 4104416e81 only delete specified config
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-06 13:01:37 +01:00
Joas Schilling 3aaf2fabb1 Make sure Oracle always casts everything in the best way
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-06 12:13:22 +01:00
Joas Schilling 4b125d4402 Use Query builder function
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-06 12:13:22 +01:00
Joas Schilling 3c027bd0cf Fix order of GREATEST for Oracle
As per https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions060.htm
Oracle uses the first value to cast the rest or the values.
So when the first value is a plain int, instead of doing the math,
it will cast the expression to int and continue with a potential 0.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-06 12:13:22 +01:00
Joas Schilling 8547934e20 Correctly place the array type 2020-11-06 12:09:58 +01:00
Julius Härtl 3f4fb9dc89 Merge pull request #23921 from nextcloud/techdebt/oci/fix-casting-to-integer
Fix casting to integer on Oracle
2020-11-06 11:39:48 +01:00
Roeland Jago Douma cd849db8be Avoid SCSS compilation if not needed
Now we do on each template load a compile with the SCSS variables to see
if they changed or not. However there is no real reason for this if the
variables didn't change.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-06 11:31:36 +01:00
Joas Schilling c5b6e4bc09 Use query builder to interact with member management
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-06 11:28:53 +01:00
Joas Schilling 5fba0e562f Use query builder instead of OC_DB in user_ldap
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-06 11:25:28 +01:00
Roeland Jago Douma 65141d4864 Allow config to specify the bucket exists
In the 99% case the bucket is just always there. And if it is not the
read/write will fail hard anyways. Esp on big instances the Objectstore
is not always fast and this can save a few hundered ms of each request
that acess the objectstore.

In short it is adding

'verify_bucket_exists' => false

To the S3 config part

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-06 11:08:38 +01:00
Joas Schilling a847aea19c Deprecate OC_DB::prepare and OC_DB::executeAudited as they leak cursors
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-06 10:37:37 +01:00
Joas Schilling da1c2bdfe6 Fix repair mimetype step to not leave stray cursors
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-06 10:33:59 +01:00
Roeland Jago Douma f7a2b71627 Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-06 09:37:45 +01:00
Morris Jobke 2c6bbe783a Merge pull request #23920 from nextcloud/fix/match_bearer_front
Bearer must be in the start of the auth header
2020-11-06 09:19:05 +01:00
Morris Jobke 9feaceebcf Merge pull request #23918 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-11-06 09:11:33 +01:00
Roeland Jago Douma 448044d831 Fix getstorage call
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-06 09:03:32 +01:00
Roeland Jago Douma 48d843858d Do not setup the default FS on normal routes
This should help with load times hopefully. Only initialize the FS if we
actually ned it.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-06 09:03:32 +01:00
dependabot-preview[bot] bc5b58cb29 Bump css-loader from 3.6.0 to 5.0.1
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.6.0 to 5.0.1.
- [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.6.0...v5.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-06 09:00:20 +01:00
Joas Schilling 3d2f71cfa9 Improve query type detection
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-06 08:38:56 +01:00
Joas Schilling cfc35fa49a Fix casting to integer on Oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-06 08:38:08 +01:00
Roeland Jago Douma e93823cba0 Bearer must be in the start of the auth header
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-06 08:32:50 +01:00
John Molakvoæ 404785dd2b Merge pull request #23347 from st3iny/enhancement/19526/new-share-pending-confirm-button 2020-11-06 08:04:07 +01:00
dependabot-preview[bot] 08c9b0e58a Merge pull request #23916 from nextcloud/dependabot/npm_and_yarn/mocha-8.2.1 2020-11-06 06:54:29 +00:00
Nextcloud-PR-Bot 4c61d52879 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-11-06 04:25:56 +00:00
Nextcloud bot c8d3f03bde [tx-robot] updated from transifex 2020-11-06 02:19:11 +00:00
Morris Jobke bbc4f7bf3b Merge pull request #23857 from nextcloud/dependabot/composer/vimeo/psalm-4.1.1
Bump vimeo/psalm from 4.0.1 to 4.1.1
2020-11-05 23:56:56 +01:00
dependabot-preview[bot] 8751aad023 Bump vimeo/psalm from 4.0.1 to 4.1.1
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 4.0.1 to 4.1.1.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/4.0.1...4.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-05 22:41:22 +00:00
Morris Jobke f657f0c455 Merge pull request #23906 from nextcloud/techdebt/noid/simplify-can-change-user-pasword
Simplify the check if admin can change password based on encryption status
2020-11-05 23:39:13 +01:00
Morris Jobke 0247f22c83 Merge pull request #23887 from ecsecta/fix_23797
Do not emit UserCreatedEvent twice
2020-11-05 22:58:30 +01:00
Morris Jobke a223f603f9 Simplify the check if admin can change password based on encryption status
Found by Psalm:
```
/home/runner/work/server/server/apps/settings/lib/Controller/UsersController.php:324:8:error - RedundantCondition: Type true for $isEncryptionModuleLoaded is never falsy
```

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-05 22:20:34 +01:00
Julius Härtl 88eebf9ed6 Merge pull request #23004 from nextcloud/files-scan-background
only run the background scanner for users that have unscanned files
2020-11-05 22:15:01 +01:00
dependabot-preview[bot] 90f883b78f Bump mocha from 7.2.0 to 8.2.1
Bumps [mocha](https://github.com/mochajs/mocha) from 7.2.0 to 8.2.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v7.2.0...v8.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-05 21:06:45 +00:00
Julius Härtl 2702876b81 Merge pull request #23910 from nextcloud/bugfix/23908/fix-share-link-avatar
Fix link share avatar icon
2020-11-05 22:00:11 +01:00
Vincent Petry 5474c299d9 Make link share avatar icon blue again
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-11-05 17:14:29 +01:00
Vincent Petry 88d019e696 Fix link share avatar icon
Use "icon-class" instead of "class" as this is how to tell the component
that we don't want initials displayed.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-11-05 16:43:48 +01:00
kesselb a7c6869ad5 Merge pull request #23907 from nextcloud/fix/noid/update-baseline-due-to-phpdoc
Check in InvalidArgument psalm error into baseline
2020-11-05 16:34:01 +01:00
Richard Steinmetz a46c329734 Add confirm button in new link share pending expire/password menu
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2020-11-05 15:55:39 +01:00
Morris Jobke 0a1f4549e7 Check InvalidArgument psalm error into baseline - PHPDoc needs to be improved
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-05 13:49:25 +01:00
John Molakvoæ ecbe8cb4c9 Merge pull request #23904 from nextcloud/fix/php-lint
Fix php lint action
2020-11-05 10:51:13 +01:00
John Molakvoæ 188051b6c6 Merge pull request #23868 from nextcloud/techdebt/webpack-hide-modules
Remove old hide modules option for webpack
2020-11-05 10:20:16 +01:00
Christoph Wurst d31ff68f17 Remove old hide modules option for webpack
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-05 09:58:37 +01:00
Roeland Jago Douma 12e2b74872 Merge pull request #23901 from nextcloud/techdebt/noid/deprecate-old-usermanager-events
Deprecate old user manager events for user creation
2020-11-05 09:37:07 +01:00
John Molakvoæ 1e7a82d99e Fix php lint action 2020-11-05 09:34:04 +01:00
Tobias Assmann a79d7c0be0 fix: also remove use statement of UserCreatedEvent
Signed-off-by: Tobias Assmann <tobias.assmann@ecsec.de>
2020-11-05 08:53:20 +01:00
Nextcloud bot 6d4d7faf8b [tx-robot] updated from transifex 2020-11-05 02:18:49 +00:00
Morris Jobke 645e1c55b8 Merge pull request #23819 from nextcloud/td/routing/move_things_around
Cleanup routing
2020-11-04 22:16:13 +01:00
Morris Jobke 45ef5d1c60 Merge pull request #23820 from nextcloud/td/remove/OCPAPI_check
Remove the matching on ancient /ocs routes
2020-11-04 21:56:28 +01:00
Morris Jobke c3969d9493 Merge pull request #23792 from nextcloud/techdebt/noid/group-unread-comment-count-query
Add a function to get the unread count for multiple objects in one go
2020-11-04 21:45:44 +01:00
Morris Jobke fd3d7c394a Deprecate old user manager events for user creation
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-04 21:19:16 +01:00
Morris Jobke eb9faa7bdb Merge pull request #23888 from nextcloud/fix/noid/only-fetch-jsconfig-when-used
Only build JSConfig in TemplateLayout when it is actually used
2020-11-04 19:33:24 +01:00
Roeland Jago Douma 8bd39fccf4 Have the CommentsPropertiesPlugin use the new fancy method
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-04 16:37:42 +01:00
Christoph Wurst 8f14403a9c Merge pull request #23897 from nextcloud/bugfix/23236
Move help to separate stylesheet
2020-11-04 15:32:21 +01:00
John Molakvoæ 1f46776b3a Merge pull request #23898 from nextcloud/bugfix/noid/list-style-scope
Make user status styles scoped
2020-11-04 15:14:30 +01:00
Julius Härtl f1c416da24 Make user status styles scoped
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-04 13:33:47 +01:00
Julius Härtl 8cf7c63a71 Move help to separate stylesheet
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-04 13:17:16 +01:00
kesselb b65d9eb99d Merge pull request #23890 from nextcloud/techdebt/noid/refactor-theming-getImage
Cleanup ImageManager::getImage()
2020-11-04 12:30:24 +01:00
John Molakvoæ 0e1c9af98d Merge pull request #23869 from nextcloud/rakekniven-patch-1 2020-11-04 12:12:53 +01:00
Joas Schilling ede7510854 Add a function to get the unread count for multiple objects in one go
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-04 11:01:21 +01:00
Morris Jobke 83c60496a9 Document the behaviour inline
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-04 10:13:15 +01:00
Morris Jobke dd93532526 Cleanup ImageManager::getImage()
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-04 10:08:36 +01:00
Tobias Assmann ded2acc966 fix: no more translation from postCreateUser hook to UserCreatedEvent anymore, as event is already emitted in user manager
Signed-off-by: Tobias Assmann <tobias.assmann@ecsec.de>
2020-11-04 09:18:35 +01:00
Roeland Jago Douma 8eb0db5078 Merge pull request #23881 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-11-04 08:39:35 +01:00
Nextcloud-PR-Bot 3929dc24c9 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-11-04 04:24:19 +00:00
Nextcloud bot ea0b66fe70 [tx-robot] updated from transifex 2020-11-04 02:19:00 +00:00
Morris Jobke 8d02ee9ac7 Merge pull request #21693 from nextcloud/fix/noid/import-certificates-only-by-system
Improve CertificateManager to not be user context dependent
2020-11-03 21:48:37 +01:00
rakekniven bb04df16c1 Update core/js/setupchecks.js
Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2020-11-03 21:27:52 +01:00
Roeland Jago Douma 7a0ac37c94 Merge pull request #23866 from nextcloud/fix/noid/fix-grid-view-in-systemtags-view
Fix grid view toggle in tags view
2020-11-03 19:43:13 +01:00
marco 5c93321354 Merge pull request #23798 from nextcloud/add/default_font_size
Add default font size
2020-11-03 18:25:27 +01:00
Julius Härtl a6908b82a9 Merge pull request #23785 from nextcloud/bugfix/21459/workaround-snap-js
Work around snap.js state mess
2020-11-03 16:01:59 +01:00
rakekniven 9d32ca1884 Update setupchecks.js
Changed wording of setup check.
Reported at Transifex.

Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
2020-11-03 15:55:18 +01:00
Roeland Jago Douma 2466902e2a Merge pull request #23863 from nextcloud/bugfix/noid/db-update
Replace prefix in executeUpdate
2020-11-03 15:00:40 +01:00
Morris Jobke 403d54607e Fix grid view in tags view
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-03 14:35:10 +01:00
kesselb af5a07e73c Merge pull request #23859 from nextcloud/techdebt/23827/remove-ocsresponse-type-hint
Remove OCSResponse type hint
2020-11-03 14:28:16 +01:00
GretaD bfe87e501d Add default font size
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-11-03 13:58:04 +01:00
Julius Härtl f49630f48c Replace prefix in executeUpdate
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-03 11:03:02 +01:00
Morris Jobke f03bb4716b Remove OCSResponse type hint - see #23827
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-03 10:43:32 +01:00
Julius Härtl e9af7b84f9 Merge pull request #23737 from nextcloud/fix-gif-login-image
Fix GIF being converted when used as a login image
2020-11-03 10:31:42 +01:00
Morris Jobke 1c05c9f4f2 Merge pull request #23842 from nextcloud/bugfix/noid/emptystatusmessage
UserStatus: clear status message if message is null
2020-11-03 10:28:33 +01:00
Morris Jobke 9435ec2b4e Remove unneeded service - found by Psalm
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-03 10:06:33 +01:00
Morris Jobke 1c496a5a35 Add a background job that checks for potential user imported SSL certificates and shows a warning in the admin settings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-03 10:06:33 +01:00
Roeland Jago Douma e25a7137cc Cleanup route registration logic
This was a bunch of cylic things being called.
This is an attempt to clean this all up. If an app provides an array of
routes. We just parse them and hand them back.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-03 09:39:49 +01:00
Roeland Jago Douma 9d559d282e Merge pull request #23854 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-11-03 08:58:17 +01:00
Nextcloud-PR-Bot 4bbd6ceefd Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-11-03 04:23:30 +00:00
Nextcloud bot a6719390e2 [tx-robot] updated from transifex 2020-11-03 02:19:16 +00:00
Roeland Jago Douma 54b9f639a6 Always return the default path if we can
Just check in the certifcate manager. So every part of the system that
request the certificatebundle gets the defaullt one (the 99% case) if we
can.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-03 00:13:01 +01:00
Morris Jobke dc479aae2d Improve CertificateManager to not be user context dependent
* removes the ability for users to import their own certificates (for external storage)
* reliably returns the same certificate bundles system wide (and not depending on the user context and available sessions)

The user specific certificates were broken in some cases anyways, as they are only loaded if the specific user is logged in and thus causing unexpected behavior for background jobs and other non-user triggered code paths.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-03 00:13:01 +01:00
Jacob Neplokh ef8822d3c7 Add gif to if-statement to not convert
- SVGs are already there, so I just added it alongside it (as recommended by https://github.com/nextcloud/server/issues/16232#issuecomment-679920284)

Signed-off-by: Jacob Neplokh <me@jacobneplokh.com>
2020-11-02 13:52:49 -08:00
Roeland Jago Douma 17ffe46d0b Read the env variables only once
We read config.php an awefull lot of times. So it only makes sense to
kill this as much as wel can.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-02 21:37:09 +01:00
Roeland Jago Douma 65375320fb Merge pull request #23841 from nextcloud/filepicker-empty-list
ensure filepicker list is empty before populating
2020-11-02 20:23:28 +01:00
Morris Jobke 2d67cb9510 Merge pull request #23839 from nextcloud/fix/noid/avatar-status
No need to check if there is an avatar available, because it is gener…
2020-11-02 19:07:57 +01:00
blizzz 1a3daa6ff9 Merge pull request #23799 from nextcloud/fix/noid/ldap-update-groups-null
LDAP: fix null where IUser is expected in update groups background job
2020-11-02 18:14:01 +01:00
Simon Spannagel ad58d13814 UserStatus: no message means clear status message. This fixes #23332
Signed-off-by: Simon Spannagel <simonspa@kth.se>
2020-11-02 17:59:44 +01:00
Vincent Petry f2de58db8c Work around snap.js state mess
Snap.js is not robust enough to prevent multiple calls to open() or
close(), so we added more checks to prevent these happening even when an
animation is in progress.

Because if we let this through, snap.js will not notice that the
animation is already done (or a duplicate animation was started),
so the "transitionend" event will not fire a second time.

During an animation, snap.js sets up a setInterval() that hogs the CPU
during the animation. Since a transition doesn't always end due to the
above conditions, that CPU hogging would stay forever.

This is the best workaround so far, it seems it's not possible to cancel
that interval from the outside nor to trigger events to make it do so.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-11-02 17:31:18 +01:00
Roeland Jago Douma 9d5362dd8e Merge pull request #23838 from nextcloud/enh/localecache/toarray
Move localecache to array
2020-11-02 16:43:12 +01:00
Robin Appelman b4107c3442 ensure filepicker list is empty before populating
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-11-02 16:07:50 +01:00
Morris Jobke 7debc6e0b6 No need to check if there is an avatar available, because it is generated on the fly nowadays
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-02 15:39:45 +01:00
Roeland Jago Douma 441a3434f3 Move localecache to array
It seems the DS Set in the polyfill implementation is a lot less
efficient than normal arrays. (A LOT!).
So for now use a stupid normal array.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-02 15:02:04 +01:00
Roeland Jago Douma ff08b10a89 Merge pull request #23822 from nextcloud/enh/parse_localse_only_once
Only parse the locales ones
2020-11-02 12:24:38 +01:00
Roeland Jago Douma 1080515ce3 Merge pull request #23834 from nextcloud/fix-psalm
Update psalm-baseline.xml (was removed from DBAL update PR)
2020-11-02 12:24:02 +01:00
John Molakvoæ 9b015b360f Merge pull request #23677 from nhirokinet/feature/imagemagick-svg-warning 2020-11-02 11:54:04 +01:00
nhirokinet 830348dbee Add SVG support check to setup check
Signed-off-by: nhirokinet <nhirokinet@nhiroki.net>
2020-11-02 11:29:08 +01:00
Morris Jobke f8739b327a Update psalm-baseline.xml
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-02 10:14:07 +01:00
John Molakvoæ a3e4094792 Merge pull request #23827 from nextcloud/td/cleanup/ocsresponse
Remove deprecated OCSResponse
2020-11-02 10:00:19 +01:00
Nextcloud bot 3f94c014f0 [tx-robot] updated from transifex 2020-11-02 02:19:04 +00:00
John Molakvoæ 862b4a04e5 Merge pull request #23267 from nextcloud/fix-bold-and-font-size 2020-11-01 16:09:38 +01:00
Roeland Jago Douma fa6a790859 Remove deprecated OCSResponse
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-01 14:12:27 +01:00
Nextcloud bot b1620344f3 [tx-robot] updated from transifex 2020-11-01 02:18:23 +00:00
Jacob Neplokh b04368c9a8 Change font-weight and font-size for empty search
Signed-off-by: Jacob Neplokh <me@jacobneplokh.com>
2020-10-31 11:29:15 -07:00
John Molakvoæ 6a111e4542 Merge pull request #23814 from nextcloud/dependabot/npm_and_yarn/webpack-cli-4.1.0
Bump webpack-cli from 3.3.12 to 4.1.0
2020-10-31 19:23:28 +01:00
Roeland Jago Douma 3b97819c9d Merge pull request #23782 from nextcloud/bugfix/noid/fix-hidden-visually
Properly put hidden-visually off-screen
2020-10-31 19:18:18 +01:00
John Molakvoæ 25a1df9c7e Merge pull request #22373 from nextcloud/fix-example-usage-for-mailer
Fix example usage
2020-10-31 15:58:29 +01:00
dependabot-preview[bot] bbbfc61bd0 Bump webpack-cli from 3.3.12 to 4.1.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.12 to 4.1.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.3.12...webpack-cli@4.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-31 14:49:10 +00:00
John Molakvoæ ccef152fa2 Merge pull request #23810 from nextcloud/dependabot/npm_and_yarn/file-loader-6.2.0
Bump file-loader from 6.1.1 to 6.2.0
2020-10-31 15:46:36 +01:00
John Molakvoæ 0fe654f2d3 Merge pull request #23807 from nextcloud/dependabot/npm_and_yarn/nextcloud/axios-1.5.0
Bump @nextcloud/axios from 1.4.0 to 1.5.0
2020-10-31 15:45:41 +01:00
John Molakvoæ 9ab69ad28a Merge pull request #23804 from nextcloud/dependabot/npm_and_yarn/vuedraggable-2.24.3
Bump vuedraggable from 2.24.2 to 2.24.3
2020-10-31 15:45:05 +01:00
dependabot-preview[bot] 46b891066f Bump @nextcloud/axios from 1.4.0 to 1.5.0
Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 1.4.0 to 1.5.0.
- [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.4.0...v1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-31 14:37:41 +00:00
dependabot-preview[bot] 203d9d0f85 Bump vuedraggable from 2.24.2 to 2.24.3
Bumps [vuedraggable](https://github.com/SortableJS/Vue.Draggable) from 2.24.2 to 2.24.3.
- [Release notes](https://github.com/SortableJS/Vue.Draggable/releases)
- [Commits](https://github.com/SortableJS/Vue.Draggable/compare/v2.24.2...v2.24.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-31 14:37:39 +00:00
John Molakvoæ d7b88731da Merge pull request #23812 from nextcloud/dependabot/npm_and_yarn/vue-router-3.4.8
Bump vue-router from 3.4.7 to 3.4.8
2020-10-31 15:35:25 +01:00
Roeland Jago Douma 6e377a9daf Only parse the locales ones
Before we'd go over the entire list for each translation (so each app)
we'd use translation for. This means we'd also go over thise locale list
(currently containing 750 entries) * apps so often this added up to ~20k
calls.

now we just dump the locales in a set once and then check if the entry
is there.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-31 15:25:19 +01:00
dependabot-preview[bot] 45ef61da36 Merge pull request #23805 from nextcloud/dependabot/npm_and_yarn/camelcase-6.2.0 2020-10-31 14:17:14 +00:00
dependabot-preview[bot] 246a065c53 Bump vue-router from 3.4.7 to 3.4.8
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.4.7 to 3.4.8.
- [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.4.7...v3.4.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-31 13:59:44 +00:00
Roeland Jago Douma e70461281f Merge pull request #23811 from nextcloud/dependabot/npm_and_yarn/vue-loader-15.9.4
Bump vue-loader from 15.9.3 to 15.9.4
2020-10-31 14:57:07 +01:00
Roeland Jago Douma 3831d8f57f Remove the matching on ancient /ocs routes
The appframework has been the default for quite some time now. So time
to take proper advantage of it.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-31 12:12:03 +01:00
dependabot-preview[bot] 1bcc1822bc Bump vue-loader from 15.9.3 to 15.9.4
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.3 to 15.9.4.
- [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.3...v15.9.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-10-31 08:04:02 +00:00
Roeland Jago Douma 5396e98d2d Merge pull request #23764 from nextcloud/3rdparty/doctrine/dbal/2.12.0
[3rdparty] Bump doctrine/dbal to 2.12.0
2020-10-31 08:47:18 +01:00
dependabot-preview[bot] 10ec4079a8 Bump file-loader from 6.1.1 to 6.2.0
Bumps [file-loader](https://github.com/webpack-contrib/file-loader) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/webpack-contrib/file-loader/releases)
- [Changelog](https://github.com/webpack-contrib/file-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/file-loader/compare/v6.1.1...v6.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-31 04:59:26 +00:00
dependabot-preview[bot] e8f0eb42e2 Merge pull request #23809 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-standard-4.0.2 2020-10-31 04:56:57 +00:00
dependabot-preview[bot] a81995a7be Bump eslint-plugin-standard from 4.0.1 to 4.0.2
Bumps [eslint-plugin-standard](https://github.com/standard/eslint-plugin-standard) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/standard/eslint-plugin-standard/releases)
- [Commits](https://github.com/standard/eslint-plugin-standard/compare/v4.0.1...v4.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-31 02:19:37 +00:00
Nextcloud bot ffda62b421 [tx-robot] updated from transifex 2020-10-31 02:18:47 +00:00
dependabot-preview[bot] f68809b6e3 Bump camelcase from 6.1.0 to 6.2.0
Bumps [camelcase](https://github.com/sindresorhus/camelcase) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/sindresorhus/camelcase/releases)
- [Commits](https://github.com/sindresorhus/camelcase/compare/v6.1.0...v6.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-31 02:18:17 +00:00
Roeland Jago Douma fe46149560 Psalm fixes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-30 19:27:53 +01:00
Roeland Jago Douma 28be188fbc Update internal connection class
executeUpdate is deprecated in favor of executeStatement.
We overwrote the old one hence the prefix was no longer replaced.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-30 19:27:53 +01:00
Roeland Jago Douma ef2cb2d6a1 [3rdparty] Bump doctrine/dbal to 2.12.0
Needed for php8 support

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-30 19:27:53 +01:00
Arthur Schiwon 3a51160221 fix potentially passing null to events where IUser is expected
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-30 16:30:01 +01:00
Arthur Schiwon fd44087530 adds unit test for updategroups background job
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-30 16:30:00 +01:00
Morris Jobke f94af85749 Merge pull request #23788 from nextcloud/techdebt/noid/only-run-phpunit-when-php-changed
Only run phpunit when "php" changed
2020-10-30 13:06:50 +01:00
Morris Jobke 9b54a4adea Merge pull request #23791 from nextcloud/fix/noid/psalm-update-baseline
Do not commit updated composer dependencies in psalm baseline update
2020-10-30 10:57:00 +01:00
Morris Jobke 7410489e86 Update psalm baseline
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-30 10:49:57 +01:00
Morris Jobke bb05f0e4eb Do not commit updated composer dependencies in psalm baseline update
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-30 10:48:01 +01:00
Morris Jobke d86ea1562f Merge pull request #23790 from nextcloud/revert-23786-automated/noid/psalm-baseline-update
Revert "[Automated] Update psalm-baseline.xml"
2020-10-30 10:38:10 +01:00
Morris Jobke f438ee40a4 Revert "[Automated] Update psalm-baseline.xml" 2020-10-30 10:36:46 +01:00
Joas Schilling 8a3d9e52e3 Also run for .sh and .json (when not package or package-lock)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-30 10:30:50 +01:00
Morris Jobke 1654826e83 Merge pull request #23742 from nextcloud/enhancement/eventdispatcher-typed-listener-callable
Type the event dispatcher listener callables with Psalm
2020-10-30 09:54:48 +01:00
Joas Schilling be357ecd78 Also run all tests when drone config is modified
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-30 09:47:27 +01:00
Joas Schilling 0de48617ec Only run phpunit when php, xml or test files are modified
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-30 09:46:53 +01:00
Morris Jobke 54888587cd Merge pull request #23786 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-10-30 08:14:37 +01:00
Roeland Jago Douma 69a6b1d2be Merge pull request #23783 from nextcloud/fix/noid/inject-logger-systemconfig-for-query-builder
Fetch the logger and system config once for all query builder instances
2020-10-30 07:38:14 +01:00
Nextcloud-PR-Bot ac8a5ca18c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-10-30 04:18:38 +00:00
Nextcloud bot 11fca45e4c [tx-robot] updated from transifex 2020-10-30 02:19:09 +00:00
Morris Jobke f12e7e0e95 Fetch the logger and system config once for all query builder instances
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-29 22:35:06 +01:00
Vincent Petry 1476817975 Properly put hidden-visually off-screen
In some situations the element is still affecting the layout, especially
when a sticky is nearby.

This fix moves it properly off-screen.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-10-29 21:35:36 +01:00
Roeland Jago Douma 22f04a7cc3 Fix invalid usages of the new dispatcher
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-29 20:15:04 +01:00
John Molakvoæ b0bfb825c4 Merge pull request #23757 from nextcloud/share-not-allowed-name
use file name instead of path in 'not allowed to share' message
2020-10-29 20:11:00 +01:00
Roeland Jago Douma 9b15b66ec9 Merge pull request #23778 from nextcloud/doc/22649/document-settings-before-template-event
Document settings BeforeTemplateRenderedEvent
2020-10-29 19:27:54 +01:00
Robin Appelman de7026f6e4 use file name instead of path in 'not allowed to share' message
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-29 16:43:21 +01:00
leith abdulla 8c1f17383b resolve review comments
update styling for conditionals and simplifying conditional by only
relying on dtstart instead of also counting vevents (since they imply
the same condition, assuming valid events)

Signed-off-by: leith abdulla <online-nextcloud@eleith.com>
2020-10-29 07:31:56 -07:00
Christoph Wurst ecdfe961f8 Merge pull request #23775 from nextcloud/doc/22221/document-ldap-backend-events
Document the backend registered events of LDAP
2020-10-29 14:05:51 +01:00
Morris Jobke 7ed11b6dfa Merge pull request #23765 from nextcloud/techdebt/noid/sudadmin-events-into-typed-events
Add typed events for adding and removing a subadmin
2020-10-29 11:18:01 +01:00
Morris Jobke e2e7c2d014 Document settings BeforeTemplateRenderedEvent
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-29 11:15:31 +01:00
Morris Jobke 28e2551313 Merge pull request #23671 from nextcloud/Valdnet-patch-4
l10n: Name with a capital letter: SharingInput.vue
2020-10-29 11:14:22 +01:00
Morris Jobke 3df62c1095 Merge pull request #23776 from nextcloud/fix/noid/update-psalm-baseline-update-to-composer-psalm
Update daily "update psalm baseline" job to composer psalm
2020-10-29 10:06:18 +01:00
Morris Jobke e5cd4ead04 Merge pull request #23766 from nextcloud/techdebt/noid/remove-unused-private-emitters
Remove unused private ForwardEmitter and LegacyEmitter
2020-10-29 10:03:36 +01:00
Morris Jobke f18d9cd310 Update daily "update psalm baseline" job to composer psalm
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-29 09:58:25 +01:00
Morris Jobke 0053ec82ac Document the backend registered events of LDAP
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-29 09:18:46 +01:00
Morris Jobke 3076eb4e9b Merge pull request #23767 from nextcloud/techdebt/noid/add-deprecated-tag-to-all-methods
Add deprecated tag also to methods of deprecated classes - OC\\Hooks\\Emitter namespace
2020-10-29 09:03:52 +01:00
Morris Jobke 5fab33ddc5 Merge pull request #23770 from nextcloud/techdebt/noid/remove-deprecated-isection
Remove ISection in favor of IIconSection
2020-10-29 09:00:57 +01:00
Morris Jobke b9de133e16 Merge pull request #23771 from nextcloud/techdebt/noid/remove-deprecated-inotifystorage-listen
Remove deprecated INotifyStorage::listen
2020-10-29 08:58:15 +01:00
npmbuildbot-nextcloud[bot] 26a0fec69a Compile assets
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-10-29 07:55:53 +00:00
Morris Jobke 1d8b954a22 Merge pull request #23768 from nextcloud/techdebt/noid/deprecate-ocp-util-emitHook-and-connectHook
Deprecate OCP\Util::connectHook and emitHook
2020-10-29 08:47:21 +01:00
John Molakvoæ 97bd0ffae1 Merge pull request #23762 from nextcloud/catch-dialog-close-error 2020-10-29 08:43:07 +01:00
leith abdulla a40a307b65 handle vcalander documents with recurrence with exemptions or edits
when importing ics files from third party services (ex: google), long
running recurrence vcalander objects can contain numerous vevents
relating to past exemptions or edits.

these objects are handled incorrectly, leading to incorrect first and/or
last occurence dates from being inferred. as a result, a number of
imported events are not rendered in the calendar.

this PR makes use of EventIterator's constructor that takes in an array
of VEVENTS to properly handle these complex cases.

Also of note is that other parameter signatures of EventIterator's constructor,
will be deprecated, according to comments in sabre dav EventIterator.php

Signed-off-by: leith abdulla <online-nextcloud@eleith.com>
2020-10-28 21:07:00 -07:00
Nextcloud bot f576374fe6 [tx-robot] updated from transifex 2020-10-29 02:19:13 +00:00
Morris Jobke 765ee60eea Change tests to typed event listener
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-28 23:10:23 +01:00
Morris Jobke b8ed997238 Remove ISection in favor of IIconSection
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-28 23:05:00 +01:00
Morris Jobke 32e4a61cac Remove deprecated INotifyStorage::listen
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-28 23:02:25 +01:00
Morris Jobke 8218ae4274 Deprecate OCP\Util::connectHook and emitHook
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-28 22:30:24 +01:00
Morris Jobke 704fb2dbf2 Add deprecated tag also to methods of deprecated classes - OC\\Hooks\\Emitter namespace
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-28 22:27:27 +01:00
Morris Jobke 6e35457fcc Remove unused private ForwardEmitter and LegacyEmitter
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-28 22:23:39 +01:00
Morris Jobke e4f53ff91b Add typed events for adding and removing a subadmin
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-28 21:55:08 +01:00
Robin Appelman 85ae8d5c9f catch errors when closing file conflict dialog
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-10-28 20:40:01 +00:00
Valdnet bb38fd8fd5 l10n: Name with a capital letter: SharingInput.vue 2020-10-28 21:14:11 +01:00
Roeland Jago Douma ef382f541c Merge pull request #23747 from nextcloud/3rdparty/php-ds
[3rdparty] Add php-ds polyfill
2020-10-28 21:13:25 +01:00
Roeland Jago Douma cbe71161a8 [3rdparty] Add php-ds polyfill
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-28 20:40:52 +01:00
Christoph Wurst b5f75ccdd8 Merge pull request #23746 from nextcloud/enhancement/iusermanager-callforseenusers-typed-closure
Type the \OCP\IUserManager::callForSeenUsers closure with Psalm
2020-10-28 20:05:53 +01:00
Christoph Wurst 7e72866811 Type the \OCP\IUserManager::callForSeenUsers closure with Psalm
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-28 19:21:00 +01:00
blizzz 6b2cf46125 Merge pull request #23752 from nextcloud/fix/noid/wfe-ux-errors
inform the user when flow config data exceeds thresholds
2020-10-28 16:05:35 +01:00
Roeland Jago Douma 4ade7f12f2 Merge pull request #23750 from nextcloud/fix/sabre/authinitevent
Don't overwrite the event if we use it later
2020-10-28 14:39:03 +01:00
Arthur Schiwon 1eb86e46fd inform the user when flow config data exceeds thresholds
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-28 14:07:14 +01:00
Morris Jobke ad3063a77b Merge pull request #23744 from nextcloud/enhancement/appframework-initialstate-typed-closure
Type the \OCP\AppFramework\Services\IInitialState::provideLazyInitial…
2020-10-28 14:03:34 +01:00
Roeland Jago Douma c5e0ef1972 Don't overwrite the event if we use it later
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-28 13:24:17 +01:00
Roeland Jago Douma e3e6bc5972 Merge pull request #23743 from nextcloud/enhancement/iusermanager-callforallusers-typed-closure
Type the \OCP\IUserManager::callForAllUsers closure with Psalm
2020-10-28 13:14:36 +01:00
John Molakvoæ 73e063e63c Merge pull request #23609 from nextcloud/fix/comments/various 2020-10-28 12:32:28 +01:00
npmbuildbot[bot] 34100f1775 Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-28 10:28:19 +01:00
John Molakvoæ (skjnldsv) 72aeb8ef05 Add mentions data
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-28 10:26:08 +01:00
John Molakvoæ (skjnldsv) 3cb10bc66f Fix UNDO timeout by Bumping @nextcloud/dialogs to 3.0.0
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-28 10:26:08 +01:00
John Molakvoæ (skjnldsv) a57473f820 Hide long messages
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-28 10:26:08 +01:00
John Molakvoæ (skjnldsv) cf43b70db6 Fix white-space display
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-28 10:26:08 +01:00
John Molakvoæ (skjnldsv) a20f598049 Prevent submitting empty messages
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-28 10:26:08 +01:00
Morris Jobke 510b653330 Merge pull request #23723 from nextcloud/fix/dav_server_auth_init
Also run the SabreAuthInitEvent for the main server
2020-10-28 09:08:03 +01:00
Christoph Wurst e8e13c845c Type the \OCP\AppFramework\Services\IInitialState::provideLazyInitialState closure with Psalm
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-28 09:04:15 +01:00
Christoph Wurst a2206b8cfb Type the \OCP\IUserManager::callForAllUsers closure with Psalm
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-28 08:58:38 +01:00
Christoph Wurst 469ba175ce Type the event dispatcher listener callables with Psalm
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-28 08:54:24 +01:00
Nextcloud bot e4288529fa [tx-robot] updated from transifex 2020-10-28 02:18:52 +00:00
dependabot-preview[bot] 26fde7aedd Merge pull request #23661 from nextcloud/dependabot/npm_and_yarn/dompurify-2.2.0 2020-10-28 00:56:41 +00:00
dependabot-preview[bot] faefbe1346 Bump dompurify from 2.1.1 to 2.2.0
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.1.1...2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-10-27 20:39:03 +00:00
Roeland Jago Douma cf1af5b83b Merge pull request #23496 from lynn-stephenson/fix/related-key-issue
Fixes related key issue.
2020-10-27 20:23:07 +01:00
Roeland Jago Douma 28d82394f1 Merge pull request #23720 from nextcloud/lowercase-email
save email as lower case
2020-10-27 20:14:43 +01:00
Roeland Jago Douma eadce7fadd Merge pull request #23601 from nextcloud/techdebt/noid/comments-manager-improvements
Comments manager improvements/extensions needed by Talk
2020-10-27 19:57:55 +01:00
Roeland Jago Douma 49854f58d3 Merge pull request #23725 from nextcloud/enh/noid/specify-accept-argument-for-avatar-upload
Specify accept argument to avatar upload input field
2020-10-27 19:54:14 +01:00
Roeland Jago Douma 157c5abbc4 Merge pull request #23721 from nextcloud/reset-avatar-cropper
reset avatar cropper before showing
2020-10-27 19:52:10 +01:00
Roeland Jago Douma 7949854837 Merge pull request #23712 from nextcloud/enh/noid/add-size-to-file-obj-definition
Add optional size field for the file obj
2020-10-27 19:51:31 +01:00
kesselb 54f2d9b524 Merge pull request #23722 from nextcloud/fix/noid/use-correct-l10n-module
Use lib instead if core as l10n module in OC_Files
2020-10-27 17:28:13 +01:00
kesselb a3ae8ee48c Merge pull request #23724 from nextcloud/techdebt/deprecate-ieventdispatcher-dispatch
Deprecate \OCP\EventDispatcher\IEventDispatcher::dispatch
2020-10-27 17:26:55 +01:00
Vincent Petry 4d974d02f2 Merge pull request #23711 from nextcloud/bugfix/21085/userlist-display-default-quota-value
Fix default quota display value in user row
2020-10-27 16:30:36 +01:00
Morris Jobke f6448779ad Specify accept argument to avatar upload input field
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-27 15:51:37 +01:00
Christoph Wurst a79ed0653b Deprecate \OCP\EventDispatcher\IEventDispatcher::dispatch
As discussed in
https://help.nextcloud.com/t/deprecation-of-ieventdispatcher-dispatch/95381

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-27 15:43:07 +01:00
Morris Jobke fc403135d1 Use lib instead if core as l10n module in OC_Files
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-27 15:37:57 +01:00
Roeland Jago Douma 46ce7277c7 Also run the SabreAuthInitEvent for the main server
else for example trusted servers breaks

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-27 15:23:27 +01:00
Robin Appelman 76be867898 reset avatar cropper before showing
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-27 15:00:50 +01:00
Robin Appelman cbd6e65678 save email as lower case
email addresses are case insensitive

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-27 14:56:52 +01:00
Vincent Petry 66ce56e424 Fix default quota display value in user row
When selecting default quota in the dropdown, the actual numeric value
or "Unlimited" will be displayed instead of "0 B". This matches whatever
is displayed after refreshing the page.

In the case where the default quota is unlimited, for which the server
returns -3 instead of "none", the frontend now also shows "Unlimited"
instead of "0 B".

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-10-27 13:00:43 +01:00
Roeland Jago Douma 25f347a49a Merge pull request #23645 from nextcloud/fix/fe/s3/isset_first
Check if array elements exist before using them
2020-10-27 11:55:37 +01:00
Vincent Petry f7fd8d520d Add optional size field for the file obj
Add optional size field for the file rich object definition.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-10-27 11:48:41 +01:00
Morris Jobke d38a7c6710 Merge pull request #23697 from nextcloud/bugfix/noid/fix-undefined-variable
Fix undefined variable
2020-10-27 10:35:18 +01:00
dependabot-preview[bot] 4419d3e4de Merge pull request #23662 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-3.1.0 2020-10-27 09:10:37 +00:00
blizzz 41fe4dc043 Merge pull request #23700 from nextcloud/fix/noid/remnants-sharee-display
Use ShareManager to determine shares of unlocatable LDAP users and fix an issue in a condition
2020-10-27 09:39:34 +01:00
Joas Schilling 92be66cff2 Fix the expected output
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-27 09:11:36 +01:00
Joas Schilling c5d0c8ce12 Simplify the function looking for output
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-27 09:11:19 +01:00
dependabot-preview[bot] 3b72136f9d Bump @nextcloud/vue from 3.0.0 to 3.1.0
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v3.0.0...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-27 08:08:28 +00:00
Nextcloud bot ae54ae6c9b [tx-robot] updated from transifex 2020-10-27 02:18:34 +00:00
Morris Jobke a150f2a198 Merge pull request #23701 from nextcloud/fix/fed/bg_signatures
Make sure the function signatures of the backgroundjob match
2020-10-26 23:01:23 +01:00
Morris Jobke 0f52e14a92 Merge pull request #23693 from nextcloud/bugfix/noid/import-cert-clarify
Clarify import cert command
2020-10-26 22:50:28 +01:00
Roeland Jago Douma 1ed05c2be5 Merge pull request #23660 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.12.1
Bump @babel/preset-env from 7.11.5 to 7.12.1
2020-10-26 22:01:15 +01:00
Roeland Jago Douma 1f2ff18439 Make sure the function signatures of the backgroundjob match
Else PHP says no

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-26 21:40:55 +01:00
Roeland Jago Douma 6dd3785332 Merge pull request #23680 from nextcloud/fix/theming/background-transparency
Enable theming background transparency
2020-10-26 20:47:28 +01:00
Roeland Jago Douma e7a8061130 Merge pull request #23659 from nextcloud/dependabot/npm_and_yarn/camelcase-6.1.0
Bump camelcase from 6.0.0 to 6.1.0
2020-10-26 20:46:39 +01:00
dependabot-preview[bot] 61f7e34d66 Bump camelcase from 6.0.0 to 6.1.0
Bumps [camelcase](https://github.com/sindresorhus/camelcase) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/sindresorhus/camelcase/releases)
- [Commits](https://github.com/sindresorhus/camelcase/compare/v6.0.0...v6.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-26 18:56:57 +00:00
Roeland Jago Douma 7570daf123 Merge pull request #23696 from nextcloud/fix/noid/fix-share-download-error-message
Return correct error message on share download without read permission
2020-10-26 19:42:54 +01:00
Joas Schilling dd3d5829e7 This is not javascript
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-26 17:06:32 +01:00
Joas Schilling 46e3ea4e41 Fix undefined variable
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-26 16:37:54 +01:00
Morris Jobke 0390a90d70 Return correct error message on share download without read permission
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-26 16:22:27 +01:00
Arthur Schiwon fd1fd5afa4 user share manager to determine share ownership
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-26 16:05:28 +01:00
Arthur Schiwon 951887e922 fixes determining whether former user is a share owner
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-26 16:05:28 +01:00
Arthur Schiwon 2e455f632a split instantiation from business logic in OfflineUser
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-26 16:05:28 +01:00
Arthur Schiwon 002c56de17 add test for active shares flag
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-26 16:05:23 +01:00
blizzz a744583545 Merge pull request #23620 from nextcloud/techdebt/noid/ldap-proxy-classes
LDAP simplify User_Proxy and Group_Proxy signatures
2020-10-26 16:04:12 +01:00
Roeland Jago Douma 5216c927fb Merge pull request #23655 from nextcloud/dependabot/npm_and_yarn/exports-loader-1.1.1
Bump exports-loader from 1.1.0 to 1.1.1
2020-10-26 13:03:58 +01:00
Vincent Petry e80bb9c09f Clarify import cert command
Add hint that the certificate to be imported must be in PEM format (CRT
does not parse).

Improved error message to mention that the given path must be accessible
by the web server user.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-10-26 11:51:37 +01:00
Roeland Jago Douma 15b3d86987 Merge pull request #23688 from nextcloud/timm2k-patch-1
Use bigint for fileid in filecache_extended
2020-10-26 09:55:22 +01:00
timm2k 60efad45cf Update CheckSetupController.php 2020-10-26 09:42:01 +01:00
timm2k 3f691c52dc Update ConvertFilecacheBigInt.php 2020-10-26 09:18:56 +01:00
Nextcloud bot f9ea3d8689 [tx-robot] updated from transifex 2020-10-26 02:18:04 +00:00
Roeland Jago Douma b7be09ab2c Check if array elements exist before using them
It seems that in some recent upgrade here. Not always the entries we
expect are returned. So we should first check if they exist. As to not
spam the log.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-25 22:03:40 +01:00
John Molakvoæ (skjnldsv) 68f1f44e58 Enable theming background transparency
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-25 19:15:52 +01:00
Nextcloud bot ca1dc0009d [tx-robot] updated from transifex 2020-10-25 02:18:28 +00:00
dependabot-preview[bot] ac249b37e2 Merge pull request #23663 from nextcloud/dependabot/npm_and_yarn/p-queue-6.6.2 2020-10-24 09:50:15 +00:00
dependabot-preview[bot] f350623ea7 Bump p-queue from 6.6.1 to 6.6.2
Bumps [p-queue](https://github.com/sindresorhus/p-queue) from 6.6.1 to 6.6.2.
- [Release notes](https://github.com/sindresorhus/p-queue/releases)
- [Commits](https://github.com/sindresorhus/p-queue/compare/v6.6.1...v6.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-24 08:41:46 +00:00
dependabot-preview[bot] 30d69eae15 Bump @babel/preset-env from 7.11.5 to 7.12.1
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.11.5 to 7.12.1.
- [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.12.1/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-24 08:30:00 +00:00
Roeland Jago Douma ccf326971f Merge pull request #23656 from nextcloud/dependabot/npm_and_yarn/babel/core-7.12.3
Bump @babel/core from 7.11.6 to 7.12.3
2020-10-24 10:27:32 +02:00
Roeland Jago Douma e22c7f460f Merge pull request #23654 from nextcloud/dependabot/npm_and_yarn/mochapack-2.0.6
Bump mochapack from 2.0.3 to 2.0.6
2020-10-24 10:16:57 +02:00
dependabot-preview[bot] d8d498acbb Bump mochapack from 2.0.3 to 2.0.6
Bumps [mochapack](https://github.com/sysgears/mochapack) from 2.0.3 to 2.0.6.
- [Release notes](https://github.com/sysgears/mochapack/releases)
- [Commits](https://github.com/sysgears/mochapack/commits/v2.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-24 02:47:13 +00:00
dependabot-preview[bot] 0d9bb2d45c Merge pull request #23658 from nextcloud/dependabot/npm_and_yarn/sass-loader-10.0.4 2020-10-24 02:44:43 +00:00
Nextcloud bot 153ff3d9b7 [tx-robot] updated from transifex 2020-10-24 02:18:45 +00:00
dependabot-preview[bot] ff8a9de4ad Bump sass-loader from 10.0.3 to 10.0.4
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 10.0.3 to 10.0.4.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v10.0.3...v10.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-24 01:22:37 +00:00
dependabot-preview[bot] 7b63468c48 Bump @babel/core from 7.11.6 to 7.12.3
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.6 to 7.12.3.
- [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.12.3/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-24 01:21:20 +00:00
dependabot-preview[bot] cb352ac78d Bump exports-loader from 1.1.0 to 1.1.1
Bumps [exports-loader](https://github.com/webpack-contrib/exports-loader) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/webpack-contrib/exports-loader/releases)
- [Changelog](https://github.com/webpack-contrib/exports-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/exports-loader/compare/v1.1.0...v1.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-24 01:20:39 +00:00
John Molakvoæ 2a154f57ce Merge pull request #23627 from nextcloud/fix/autocomplete-placeholder-email
Fix sharing input placeholder for emails
2020-10-23 14:39:58 +02:00
John Molakvoæ (skjnldsv) f0c47bfb6d Fix sharing input placeholder for emails
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-23 11:48:23 +00:00
Arthur Schiwon 86e5e7d927 LDAP simplify User_Proxy and Group_Proxy signatures
- make User_Proxy and Group_Proxy easy to instantiate
- simplify dependent code
- move commands to info.xml
- make UpdateGroups job class non-static

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-23 12:25:31 +02:00
Christoph Wurst 9976e47035 Merge pull request #23602 from nextcloud/fix/appconfig_update_null
Fix updates of NULL appconfig values
2020-10-23 10:43:26 +02:00
Roeland Jago Douma bd4c9d973f Merge pull request #23632 from nextcloud/techdebt/noid/remove-unused-css
Remove unused sharedfilelist
2020-10-23 10:01:17 +02:00
Nextcloud bot 9aedda5542 [tx-robot] updated from transifex 2020-10-23 02:18:51 +00:00
Morris Jobke 58b1597587 Merge pull request #23597 from nextcloud/dependabot/composer/vimeo/psalm-4.0.1
Bump vimeo/psalm from 3.17.2 to 4.0.1
2020-10-22 21:05:52 +02:00
Morris Jobke 59cefdd5ec Merge pull request #23630 from nextcloud/bugfix/23240/bring-back-restore-share-button
Bring back the restore share button
2020-10-22 20:56:40 +02:00
Vincent Petry 07ec86805d Remove unused sharedfilelist
It isn't loaded anywhere

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-10-22 15:21:33 +02:00
Vincent Petry 805676309b Bring back the restore share button
Fix disabled default file action to still use an anchor element, as this
is used in many other places (and potentially apps).

Adjusted anchor style to not look like it's clickable and added extras
to make sure everything inside still looks clickable as before.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-10-22 15:06:11 +02:00
Daniel Kesselberg d08dca4ee5 Update baseline
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-10-22 14:44:38 +02:00
Daniel Kesselberg 277038a1f3 Merge remote-tracking branch 'origin/master' into dependabot/composer/vimeo/psalm-4.0.1
# Conflicts:
#	build/psalm-baseline.xml
2020-10-22 14:43:01 +02:00
Daniel Kesselberg 4c760e0076 Update baseline
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-10-22 14:36:10 +02:00
Morris Jobke 2ba34cba2c Merge pull request #23608 from nextcloud/enh/23482/forward-error-message
Add more details if extract fails
2020-10-22 12:51:47 +02:00
Morris Jobke a7470576cf Merge pull request #23614 from nextcloud/tests/22305/unreliable-app-files-sharing-338
Disable unreliable app-files-sharing.feature:108
2020-10-22 12:19:39 +02:00
Morris Jobke 19950cb23c Merge pull request #23613 from nextcloud/tests/22305/unreliable-app-files-feature-108
Disable unreliable app-files.feature:108
2020-10-22 12:18:12 +02:00
Joas Schilling da3d384426 Fix missing since
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-22 12:02:48 +02:00
Joas Schilling 1f1244fdcc Fix PHP CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-22 11:00:54 +02:00
Joas Schilling 8600e51df5 Fix manager creation and testing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-22 10:54:03 +02:00
Daniel Kesselberg d11de8c8e7 Add more details if extract fails.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-10-22 10:15:46 +02:00
dependabot-preview[bot] 872f03209c Merge pull request #23616 from nextcloud/dependabot/submodules/3rdparty-5b2c4bd 2020-10-22 07:17:15 +00:00
Nextcloud bot ca8195d49d [tx-robot] updated from transifex 2020-10-22 02:19:07 +00:00
dependabot-preview[bot] 12ee9a4668 Bump 3rdparty from 9741497 to 5b2c4bd
Bumps [3rdparty](https://github.com/nextcloud/3rdparty) from `9741497` to `5b2c4bd`.
- [Release notes](https://github.com/nextcloud/3rdparty/releases)
- [Commits](https://github.com/nextcloud/3rdparty/compare/974149755d9ab7ca1e7edf0f3fa63e6a6c01ac3f...5b2c4bd44fe8beddff3731516e53cc5ad9269c9b)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-22 01:15:18 +00:00
Morris Jobke dff9853d36 Disable unreliable app-files-sharing.feature:108
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-21 22:07:13 +02:00
Morris Jobke 8128913dff Disable unreliable app-files.feature:108
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-21 21:53:29 +02:00
Morris Jobke 58d24b7e0b Merge pull request #23606 from nextcloud/bugfix/22913/only-use-index-when-it-exists
Only use index of mount point when it is there
2020-10-21 20:43:52 +02:00
Joas Schilling c1834bac7d Only use index of mount point when it is there
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-21 13:37:56 +02:00
Joas Schilling 2dd50b4adc Fix return type
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-21 11:02:05 +02:00
Joas Schilling 4b8fec49e7 Add return description
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-21 10:05:51 +02:00
Roeland Jago Douma db82d27239 Fix updates of NULL appconfig values
The comparisson of NULL is a bit special.
So we need to handle this a tad beter else it might not replace NULL
values. or allow you to set NULL values on updates.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-21 10:04:06 +02:00
Joas Schilling 6400221fba Less magic
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-21 09:47:40 +02:00
Joas Schilling d462439a63 Get the last comment date for a list of actors (to allow sorting mention suggestions e.g.)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-21 09:18:51 +02:00
Joas Schilling 89651c5233 Allow to search on multiple objects with one query
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-21 09:16:42 +02:00
Joas Schilling 326640462b Add methods to get the number of comments and last comment since a date
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-21 09:15:38 +02:00
Joas Schilling 2cc35cc65d Include an option to also include the lastKnownCommentId object
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-21 09:08:48 +02:00
Roeland Jago Douma 38bb40cffa Merge pull request #23599 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-10-21 08:51:07 +02:00
Nextcloud-PR-Bot 3ecfaca85f Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-10-21 04:30:21 +00:00
Nextcloud bot 2c21adb5a6 [tx-robot] updated from transifex 2020-10-21 02:18:44 +00:00
dependabot-preview[bot] a2faa8c430 Bump vimeo/psalm from 3.17.2 to 4.0.1
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 3.17.2 to 4.0.1.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/3.17.2...4.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-20 20:48:43 +00:00
John Molakvoæ 766590d204 Merge pull request #23173 from nextcloud/feat/comments-sidebar-vue 2020-10-20 20:46:21 +02:00
Christoph Wurst dbaafcf37c Merge pull request #23417 from nextcloud/techdebt/noid/psr-logger-for-accounts
PSR logger for accounts
2020-10-20 20:25:42 +02:00
John Molakvoæ (skjnldsv) 6cd7549509 Bump @nextcloud/vue to 3.0.0
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-20 18:02:45 +02:00
Robin Appelman d52328660e only run the background scanner for users that have unscanned files
instead of looping trough all users and seeing if they have unscanned files, we do a single query to find all storages that need scanning and run trough the users for them

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-20 17:48:25 +02:00
Joas Schilling f2541e7a8b Use auto-wiring on most outer level
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-20 17:43:50 +02:00
Joas Schilling 4bc821edd9 PSR logger for accounts
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-20 17:41:47 +02:00
Morris Jobke 8676882bcb Merge pull request #23581 from nextcloud/fix/theming-tests
Fix theming manifest tests
2020-10-20 14:49:20 +02:00
John Molakvoæ (skjnldsv) 3e1916080a Add ICommentsManager::load method
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-20 14:39:28 +02:00
John Molakvoæ (skjnldsv) afa7376522 Cleanup old comments tab
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-20 13:58:07 +02:00
John Molakvoæ (skjnldsv) e7f5516b4d Init vue comments tab
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-20 13:58:06 +02:00
Roeland Jago Douma 3d2024faf9 Merge pull request #23305 from nextcloud/bugfix/noid/change-status-ux-fixes
UX improvements change status dialog
2020-10-20 13:20:35 +02:00
Vincent Petry 08813f541d UX improvements change status dialog
Focus on the custom message field after picking an emoji.
Hitting the enter key while in the custom message field now triggers
saving.
Disable save buttons while saving is in progress.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-10-20 12:19:00 +02:00
Vincent Petry f7e1706022 Fix status clearing with initial empty value
When selecting an emoji but not specifying a message, the internal
message value was null which caused a server validation error on
sending.

This fixes the SetStatusModal to always work with an empty string
upfront, as this is the value the field would have if edited and cleared
manually.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-10-20 12:18:13 +02:00
John Molakvoæ 547c9dbd51 Merge pull request #23580 from nextcloud/feat/share-mail-expire
Also expire share type email
2020-10-20 11:33:17 +02:00
John Molakvoæ (skjnldsv) a7c4369941 Fix theming manifest tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-20 11:03:24 +02:00
John Molakvoæ (skjnldsv) 620be7dc22 Also expire share type email
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-20 10:20:26 +02:00
Roeland Jago Douma 851e8c0ded Merge pull request #23576 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-10-20 09:27:56 +02:00
Roeland Jago Douma ffd76d05c9 Merge pull request #23374 from nextcloud/bugfix/noid/app-fetch-retry
Only retry fetching app store data once every 5 minutes in case it fails
2020-10-20 09:21:51 +02:00
Nextcloud-PR-Bot 8f813c691d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-10-20 04:29:45 +00:00
Nextcloud bot f116595b3f [tx-robot] updated from transifex 2020-10-20 02:18:38 +00:00
John Molakvoæ 46e04a30a4 Merge pull request #23520 from nhirokinet/patch-1
manifest to report correct favicon size
2020-10-19 19:00:37 +02:00
blizzz 6d2471d36e Merge pull request #23566 from nextcloud/fix/noid/groupsbymember-apply-group-filter-early-if-possible
LDAP: when nesting is not enabled, the group filter can be applied right away
2020-10-19 15:34:52 +02:00
Roeland Jago Douma 8355f95bef Merge pull request #23415 from nextcloud/bugfix/23304/some-emojis-are-in-general-other-types
Some emojis are in CHAR_CATEGORY_GENERAL_OTHER_TYPES
2020-10-19 15:05:34 +02:00
dependabot-preview[bot] b2d1c8b335 Merge pull request #22954 from nextcloud/dependabot/npm_and_yarn/v-click-outside-3.1.2 2020-10-19 11:58:30 +00:00
Arthur Schiwon 2ee26b691c tame psalm. why does it ignore '@property'?
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-19 13:44:32 +02:00
Arthur Schiwon d741c5ab30 when nesting is not enabled, the group filter can be applied right away
- helps performance, but skipping unnecessary entries
- reduces reoccuring info-level log output against groups that do not
  qualify ("no or empty name")

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-19 13:44:32 +02:00
Joas Schilling 8ad1bf69f8 Merge pull request #23497 from nextcloud/bugfix/noid/caldav-timerange-array
CalDavBackend: check if timerange is array before accessing
2020-10-19 12:54:14 +02:00
dependabot-preview[bot] 7f00dbedc2 Bump v-click-outside from 3.1.1 to 3.1.2
Bumps [v-click-outside](https://github.com/ndelvalle/v-click-outside) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/ndelvalle/v-click-outside/releases)
- [Commits](https://github.com/ndelvalle/v-click-outside/compare/v3.1.1...v3.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-19 10:50:01 +00:00
Roeland Jago Douma 480649fdf1 Merge pull request #23551 from nextcloud/dependabot/npm_and_yarn/various
Dependabot various
2020-10-19 11:20:12 +02:00
Roeland Jago Douma efabddbed8 Merge pull request #23554 from nextcloud/ca/noid/update-bunlded-ca
Update CA bundle to october version
2020-10-19 10:58:12 +02:00
Morris Jobke b6a084c608 Update CA bundle to october version
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-19 10:33:30 +02:00
dependabot-preview[bot] d34bdb3428 Bump file-loader from 6.1.0 to 6.1.1
Bumps [file-loader](https://github.com/webpack-contrib/file-loader) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/webpack-contrib/file-loader/releases)
- [Changelog](https://github.com/webpack-contrib/file-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/file-loader/compare/v6.1.0...v6.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-19 08:18:12 +00:00
dependabot-preview[bot] fd78412dee Bump @babel/plugin-proposal-class-properties from 7.10.4 to 7.12.1
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.10.4 to 7.12.1.
- [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.12.1/packages/babel-plugin-proposal-class-properties)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 10:02:42 +02:00
dependabot-preview[bot] c40422006c Bump @nextcloud/eslint-plugin from 1.4.0 to 1.5.0
Bumps [@nextcloud/eslint-plugin](https://github.com/nextcloud/eslint-plugin) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/nextcloud/eslint-plugin/releases)
- [Changelog](https://github.com/nextcloud/eslint-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/eslint-plugin/compare/v1.4.0...v1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 10:02:32 +02:00
dependabot-preview[bot] da66b1748c Bump url-loader from 4.1.0 to 4.1.1
Bumps [url-loader](https://github.com/webpack-contrib/url-loader) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/webpack-contrib/url-loader/releases)
- [Changelog](https://github.com/webpack-contrib/url-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/url-loader/compare/v4.1.0...v4.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 10:02:20 +02:00
dependabot-preview[bot] e315d9bb5f Bump vuedraggable from 2.24.1 to 2.24.2
Bumps [vuedraggable](https://github.com/SortableJS/Vue.Draggable) from 2.24.1 to 2.24.2.
- [Release notes](https://github.com/SortableJS/Vue.Draggable/releases)
- [Commits](https://github.com/SortableJS/Vue.Draggable/commits/v2.24.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 10:02:00 +02:00
dependabot-preview[bot] 819996eeaa Bump @nextcloud/initial-state from 1.1.2 to 1.2.0
Bumps [@nextcloud/initial-state](https://github.com/nextcloud/nextcloud-initial-state) from 1.1.2 to 1.2.0.
- [Release notes](https://github.com/nextcloud/nextcloud-initial-state/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-initial-state/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-initial-state/compare/v1.1.2...v1.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 10:01:18 +02:00
dependabot-preview[bot] e578307def Bump vue-router from 3.4.5 to 3.4.7
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.4.5 to 3.4.7.
- [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.4.5...v3.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 10:00:56 +02:00
Nextcloud bot b5fd0d98ec [tx-robot] updated from transifex 2020-10-19 02:17:57 +00:00
Nextcloud bot 25b4b90fdd [tx-robot] updated from transifex 2020-10-18 02:17:43 +00:00
ACTom 2d175586b4 fix php-cs check fail(tests/lib/IntegrityCheck/CheckerTest.php)
Signed-off-by: ACTom <i@actom.me>
2020-10-18 00:38:57 +08:00
ACTom 47ebcdff9e fix Test\IntegrityCheck\CheckerTest tests fail
Signed-off-by: ACTom <i@actom.me>
2020-10-18 00:38:48 +08:00
ACTom e0aa3674b9 Modify mindmap type file icon
Signed-off-by: ACTom <i@actom.me>
2020-10-17 23:40:49 +08:00
ACTom 5ef9f7e638 Add mindmap type file icon
Signed-off-by: ACTom <i@actom.me>
2020-10-17 23:40:42 +08:00
John Molakvoæ (skjnldsv) 9172b9ad20 Fix sidebar legacy fileinfo
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-17 15:55:14 +02:00
Nextcloud bot 83429cb4c0 [tx-robot] updated from transifex 2020-10-17 02:18:48 +00:00
nhirokinet 3a05334f18 manifest to report correct favicon size
In the environment where php-imagick with SVG support is correctly installed, this endpoint returns 512x512 image.
https://github.com/nextcloud/server/blob/d9015a8c94bfd71fe484618a06d276701d3bf9ff/apps/theming/lib/Controller/IconController.php#L146

The problem is in the environment without php-imagick or without SVG support, this will fall back to original, whose default is 128x128; but I thought this is a separate problem. (For this, default image may be enlarged. Should I create another issue if this is important one?)

Signed-off-by: nhirokinet <nhirokinet@nhiroki.net>
2020-10-16 15:36:56 +00:00
Morris Jobke 09501e1710 Merge pull request #23508 from nextcloud/fix/23355/iuser-expected-null-given
fixes potential passing of null to getUserGroupIds
2020-10-16 14:57:54 +02:00
Morris Jobke 4bf891f605 Merge pull request #23478 from nextcloud/fix/21059/fix-deadlock-in-scsscacher
Clear cached app config while waiting for the SCSSCache lock to return
2020-10-16 14:56:43 +02:00
Julius Härtl 4512c73293 Only retry fetching app store data once every 5 minutes in case it fails
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-16 14:32:58 +02:00
Morris Jobke cce716f9f3 Clear cached app config while waiting for the SCSSCache to finish processing the file
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-16 13:28:00 +02:00
Morris Jobke 1c68a6d3f6 Merge pull request #23488 from nextcloud/fix/noid/no-lock-removal-scss-cacher
SCSSCacher - Lock should not be removed
2020-10-16 13:25:23 +02:00
Arthur Schiwon fd23614c08 fixes potential passing of null to getUserGroupIds
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-16 12:29:35 +02:00
Julius Härtl 439e21e087 Merge pull request #23348 from nohn/gh20679
Fix #20679 - be more alert about 2FA consequences
2020-10-16 11:57:43 +02:00
Morris Jobke 9273436534 SCSSCacher - Lock should not be removed
This is within the failed lock acquiring branch. So the lock is free by another process and should not be removed because the cached file (that was created by the process having the lock) appeared on the filesystem.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-16 10:02:18 +02:00
Morris Jobke 2456969b41 Merge pull request #23490 from nextcloud/debug/noid/log-statements-for-scss-locking
Provide log statements for SCSS cache
2020-10-16 09:48:09 +02:00
Morris Jobke c2c077b5ae Merge pull request #23494 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-10-16 09:26:56 +02:00
Christoph Wurst caa739f96e Merge pull request #23492 from nextcloud/tests/22305/unreliable-SharedMountTest
SharedMountTest.php:367 is unreliable
2020-10-16 08:39:06 +02:00
dependabot-preview[bot] 17a2f0869b Merge pull request #23495 from nextcloud/dependabot/composer/vimeo/psalm-3.17.2 2020-10-16 05:54:18 +00:00
Simon Spannagel 9956d13b90 CalDavBackend: check if timerange is array before accessing
Signed-off-by: Simon Spannagel <simonspa@kth.se>
2020-10-16 07:50:36 +02:00
lynn-stephenson a3bdb0c4cb Implement unit tests for versions 1 and 2.
Signed-off-by: lynn-stephenson <lynn.stephenson@protonmail.com>
2020-10-15 21:23:24 -08:00
lynn-stephenson 648b60fa0e Derive encryption key & MAC key from a single key.
Signed-off-by: lynn-stephenson <lynn.stephenson@protonmail.com>
2020-10-15 21:23:24 -08:00
dependabot-preview[bot] 8b89aa4e64 Bump vimeo/psalm from 3.17.1 to 3.17.2
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 3.17.1 to 3.17.2.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/3.17.1...3.17.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-16 05:13:31 +00:00
Nextcloud-PR-Bot 8005fd6f19 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-10-16 04:28:48 +00:00
Nextcloud bot b13d9bcca6 [tx-robot] updated from transifex 2020-10-16 02:18:11 +00:00
Morris Jobke 512d2edc35 SharedMountTest.php:367 is unreliable
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-16 00:36:23 +02:00
Morris Jobke 95020a4787 Merge pull request #23479 from nextcloud/techdebt/noid/typed-migration-template
Make the migration template typed
2020-10-16 00:33:50 +02:00
Morris Jobke 000c4b49f9 Merge pull request #23481 from nextcloud/enhancement/psalm-typed-event-dispatcher
Add psalm types for the event dispatcher
2020-10-16 00:32:04 +02:00
Morris Jobke e5fe3426c3 Provide log statements for SCSS cache
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-16 00:09:11 +02:00
John Molakvoæ 4bcf2ac639 Merge pull request #15999 from gary-kim/bugfix/15954/set-favicon-ico 2020-10-15 17:09:29 +02:00
Christoph Wurst b47a2730c0 Type the authentication listeners
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-15 16:43:21 +02:00
Christoph Wurst e646d7d5a9 Add psalm types for the event dispatcher
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-15 16:23:26 +02:00
Joas Schilling 600381f82a Make the migration template typed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-15 16:08:50 +02:00
Morris Jobke 87f8a09ac9 Merge pull request #23464 from nextcloud/enhancement/psalm-typed-migration-schema-closure
Add psalm types for the migration schema closure
2020-10-15 13:21:44 +02:00
Christoph Wurst 65fb50f9fb Add psalm types for the migration schema closure
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-15 10:58:51 +02:00
John Molakvoæ 20e8b266b5 Merge pull request #23448 from nextcloud/fix/sidebar-standalone
Fix app sidebar mountpoint
2020-10-15 07:46:17 +02:00
Nextcloud bot ce57372471 [tx-robot] updated from transifex 2020-10-15 02:18:25 +00:00
Gary Kim dfa17e9174 Allow setting favicon with a .ico file
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-10-14 18:19:23 -04:00
Morris Jobke 02fa6a77c3 Merge pull request #23097 from nextcloud/bugfix/noid/trashbin-query-versions
Restrict query when searching for versions of trashbin files
2020-10-14 22:50:02 +02:00
John Molakvoæ (skjnldsv) 2ead7732a7 Fix app sidebar mountpoint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-14 16:17:53 +00:00
Morris Jobke 9979b6d4e0 Merge pull request #23377 from nextcloud/enhancement/psalm-annotate-icontainer
Annotate IContainer so Psalm knows what resove and query return
2020-10-14 17:04:37 +02:00
Morris Jobke 2b36842e13 Merge pull request #23436 from nextcloud/fix/23158/remove-posix_getpwuid
Remove posix_getpwuid and compare only userid
2020-10-14 16:48:50 +02:00
Julius Härtl 2616a784c9 Restrict query when searching for versions of trashbin files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-14 16:38:30 +02:00
Christoph Wurst f464ef050b Fix type errors detected by Psalm
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-14 15:40:12 +02:00
Christoph Wurst f9f20b63f4 Annotate IContainer so Psalm knows what resove and query return
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-14 12:29:26 +02:00
Morris Jobke a41b273bcd Merge pull request #23434 from nextcloud/dependachristoph/composer/vimeo-psalm-3.17.1
Bump vimeo/psalm from 3.15 to 3.17.1
2020-10-14 12:28:01 +02:00
Christoph Wurst 2c40d2cf45 Bump vimeo/psalm from 3.15 to 3.17.1
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-14 11:47:54 +02:00
Nextcloud bot 42fcc74b67 [tx-robot] updated from transifex 2020-10-14 02:18:46 +00:00
dependabot-preview[bot] a560c30725 Merge pull request #23155 from nextcloud/dependabot/npm_and_yarn/dompurify-2.1.1 2020-10-13 23:49:41 +00:00
dependabot-preview[bot] 12baebce29 Bump dompurify from 2.0.15 to 2.1.1
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.15 to 2.1.1.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.15...2.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-13 21:43:15 +00:00
Morris Jobke 78a044900f Merge pull request #23401 from nextcloud/techdebt/psalm-no-global
Use own psalm instead of a global one
2020-10-13 23:34:17 +02:00
Morris Jobke 106c8d719c Do not fail on changes to baseline.xml
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-13 21:55:37 +02:00
Nextcloud bot 55b923e1fd [tx-robot] updated from transifex 2020-10-13 19:33:40 +00:00
Morris Jobke 0c67de3109 Merge pull request #23286 from nextcloud/design/deleted-sorting
Sort deleted files by most recently deleted first
2020-10-13 19:42:13 +02:00
blizzz 060286c51a Merge pull request #23021 from nextcloud/notify-saved-login-auth
allow using saved login credentials for notify
2020-10-13 19:39:31 +02:00
Christoph Wurst 081e9ac47f Use own psalm instead of a global one
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-13 17:55:37 +02:00
Morris Jobke a70f283734 Merge pull request #23409 from nextcloud/fix/cache-entry-array-access
The file cache entry is array accessible
2020-10-13 17:54:21 +02:00
Morris Jobke 776c65de99 Merge pull request #23410 from nextcloud/fix/encryption-decrypt-position-type
The encryption decrypt position can be int or string
2020-10-13 17:50:31 +02:00
Morris Jobke e2d223a9a6 Merge pull request #23398 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-10-13 17:38:28 +02:00
Morris Jobke f8ed08ca2a Merge pull request #23295 from nextcloud/fix/versions-no-space-no-versions-undefined-index
Fix undefined index and consequential damages in versions code
2020-10-13 17:35:35 +02:00
Morris Jobke 5111d6a3e2 Merge pull request #23402 from nextcloud/bugfix/noid/encode-logout
Encode requesttoken for logout url in auto logout
2020-10-13 17:32:24 +02:00
Jan C. Borchardt 0f2f857dc3 Sort deleted files by most recently deleted first
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-13 17:29:52 +02:00
Morris Jobke 7525fb3408 Merge pull request #23350 from st3iny/fix/14849/share-api-preview-availability
Inidicate preview availability in share api responses
2020-10-13 17:27:27 +02:00
Joas Schilling ee7eb6f2b3 Some emojis are in CHAR_CATEGORY_GENERAL_OTHER_TYPES
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-13 15:32:34 +02:00
John Molakvoæ e1a0b3f98f Merge pull request #23345 from nextcloud/fix/scrollbars
Increase scrollbar sizes
2020-10-13 15:19:38 +02:00
Richard Steinmetz 89f7e2ab64 Indicate preview availability in share api responses
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2020-10-13 14:12:42 +02:00
Christoph Wurst b2de9a6f9e The encryption decrypt position can be int or string
The public API said string, internally we treated it as int. In reality
both are used. Let's reflect that in the documented argument type.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-13 10:51:22 +02:00
Christoph Wurst 0da89c0fa1 The file cache entry is array accessible
… so let's make this part of our API. We use it as array already.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-13 10:47:00 +02:00
Joas Schilling 349da3395a Merge pull request #23382 from nextcloud/techdebt/noid/psr-logger-in-authentication
Use PSR logger in authentication
2020-10-13 09:45:11 +02:00
Joas Schilling 00bf7eb60a Merge pull request #23396 from nextcloud/tests/22305/flipping-versioningtest
VersioningTest.php:729 is unreliable and should be disabled
2020-10-13 09:08:29 +02:00
Julius Härtl ca1310bd12 Encode requesttoken for logout url in auto logout
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-13 08:48:23 +02:00
Joas Schilling 0ad4ad31e1 Fix more tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-13 08:16:17 +02:00
Nextcloud-PR-Bot 035346a5d3 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-10-13 04:28:02 +00:00
Nextcloud bot 85570abc9a [tx-robot] updated from transifex 2020-10-13 02:18:40 +00:00
Morris Jobke 6ce05bc7d7 Return all keys in getAllVersions() instead
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-12 22:17:06 +02:00
Christoph Wurst 02fa3253fe Fix undefined index and consequential damages in versions code
If the user has no space and there are no versions, there won't be an
`all` index in the versions entry. Hence this triggers a warning and
becomes `null`, afterwards `count`, `foreach` and friends will happily
throw even more warnings and errors because they don't want to play with
`null`. Thus adding a fallback to an empty array.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-12 22:17:06 +02:00
Morris Jobke 04338c9773 Merge pull request #23274 from nextcloud/3rdparty/symfony/4.4.15
[3rdparty] Bump symfony deps to 4.4.15
2020-10-12 22:14:37 +02:00
Joas Schilling 49ff48fcd3 Use PSR logger in authentication
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-12 22:07:04 +02:00
Morris Jobke f2d05eacc6 VersioningTest:729 is unreliable and should be disabled
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-12 22:03:42 +02:00
Morris Jobke deb499d34e Merge pull request #23300 from sharidas/transfer-ownership-same-user
Stop transfer of ownership between same users
2020-10-12 21:52:37 +02:00
Morris Jobke 78da9532ba Merge pull request #23317 from nextcloud/fix/contact-update
handle nested properties for contact updates
2020-10-12 21:49:04 +02:00
Morris Jobke 34463b0e1d Merge pull request #23391 from nextcloud/fix/23245/fix-asynccommandbus-test-failure
Overwrite also the new command bus name to execute them in sync in th…
2020-10-12 21:35:07 +02:00
call-me-matt 1b2386d108 handle nested properties, fixes #20544
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2020-10-12 21:27:38 +02:00
Morris Jobke f5a52e941c Overwrite also the new command bus name to execute them in sync in the tests
Followup to #23245

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-12 21:04:00 +02:00
Morris Jobke 14af2246f3 Merge pull request #23378 from R0Wi/bugfix/registration_typo
Fix typo 'shared'
2020-10-12 20:04:33 +02:00
John Molakvoæ ff84fc400a Merge pull request #23379 from nextcloud/fix/recent-contacts-federated 2020-10-12 18:40:22 +02:00
Morris Jobke 6fde154eec Merge pull request #23284 from st3iny/fix/noid/adminpass-strengthify-margin
Fix adminpass strengthify margin
2020-10-12 17:33:34 +02:00
Christoph Wurst d51da5714b Merge pull request #23371 from nextcloud/enhancement/psalm-typed-bootstrap-registration-context
Add Psalm type for the bootstrap registration context
2020-10-12 17:14:03 +02:00
John Molakvoæ (skjnldsv) 5a6a5a1639 Drop X-NEXTCLOUD-UID
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-12 16:56:20 +02:00
John Molakvoæ (skjnldsv) 698d4f55f2 Expose CLOUD federation for local users as well
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-12 15:17:14 +02:00
Christoph Wurst ccfe6a9fa5 Add Psalm type for the bootstrap registration context
This can potentially catch a few bugs with wrong class strings.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-12 15:16:16 +02:00
Morris Jobke 91d445909a Fix code style
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-12 14:54:51 +02:00
Robin Windey 6a1f8fb3be Fix typo 'shared' 2020-10-12 14:19:41 +02:00
John Molakvoæ fd452e5531 Merge pull request #23323 from nextcloud/dependabot/npm_and_yarn/moment-2.29.1
Bump moment from 2.29.0 to 2.29.1
2020-10-12 14:05:00 +02:00
Morris Jobke b6364cc483 Merge pull request #23310 from nextcloud/enhancement/psalm-typed-qb-mapper
Add template typing to the QBMapper
2020-10-12 13:10:05 +02:00
dependabot-preview[bot] 5dd93369b5 Bump moment from 2.29.0 to 2.29.1
Bumps [moment](https://github.com/moment/moment) from 2.29.0 to 2.29.1.
- [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.29.0...2.29.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-12 11:05:53 +00:00
John Molakvoæ 6c9b99f5e8 Merge pull request #23327 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-2.7.0
Bump @nextcloud/vue from 2.6.9 to 2.7.0
2020-10-12 12:48:14 +02:00
John Molakvoæ 60d3630980 Merge pull request #23326 from nextcloud/dependabot/npm_and_yarn/sinon-9.2.0
Bump sinon from 9.1.0 to 9.2.0
2020-10-12 11:37:39 +02:00
Christoph Wurst 2664c7f75f Type some of the core mappers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-12 11:10:09 +02:00
Christoph Wurst a1b351036c Add template typing to the QBMapper
The QBMapper is kind of a generic type, though this concept does not
exist in php. Hence you have a lot of type coercion in subtypes (mappers
in the individual apps) because you suddenly don't expect an Entity[]
but your specific type.

Luckily Psalm lets us type those. Then in the subclass you can
psalm-implement the mapper with a concrete type and psalm will do all
the magic to ensure types are used correctly.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-12 11:10:08 +02:00
dependabot-preview[bot] 060eb396a2 Bump @nextcloud/vue from 2.6.9 to 2.7.0
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 2.6.9 to 2.7.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v2.6.9...v2.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-12 08:31:03 +00:00
dependabot-preview[bot] 53c710d1e4 Bump sinon from 9.1.0 to 9.2.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.1.0 to 9.2.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v9.1.0...v9.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 08:03:20 +00:00
John Molakvoæ b76698c547 Merge pull request #23325 from nextcloud/dependabot/npm_and_yarn/webpack-merge-5.2.0
Bump webpack-merge from 5.1.4 to 5.2.0
2020-10-12 10:01:03 +02:00
John Molakvoæ dc400e190e Merge pull request #23320 from nextcloud/dependabot/npm_and_yarn/sass-loader-10.0.3
Bump sass-loader from 10.0.2 to 10.0.3
2020-10-12 10:00:53 +02:00
John Molakvoæ b473f8e4f6 Merge pull request #23324 from nextcloud/dependabot/npm_and_yarn/style-loader-2.0.0
Bump style-loader from 1.2.1 to 2.0.0
2020-10-12 10:00:37 +02:00
Julius Härtl ef6bab6a5c Merge pull request #23306 from nextcloud/update-readme-compiled-commits 2020-10-12 09:13:11 +02:00
Sujith Haridasan 08bdc549bb Stop transfer of ownership between same users
Stop the transfer of ownership between same user.

Signed-off-by: Sujith Haridasan <sujith.h@gmail.com>
2020-10-12 09:31:49 +05:30
Nextcloud bot 8ae4ff6648 [tx-robot] updated from transifex 2020-10-12 02:18:06 +00:00
Morris Jobke f4e37e1063 Merge pull request #23329 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-10-11 22:11:01 +02:00
Sebastian Nohn d0205ae128 Fix #20679 - be more alert about 2FA consequences
Signed-off-by: Sebastian Nohn <sebastian@nohn.net>
2020-10-11 13:57:29 +02:00
John Molakvoæ (skjnldsv) d519adaa51 Increase scrollbar sizes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-11 11:18:23 +02:00
Nextcloud-PR-Bot 953c6eda28 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-10-11 04:27:09 +00:00
Nextcloud bot d9c3b99907 [tx-robot] updated from transifex 2020-10-11 02:18:42 +00:00
John Molakvoæ 081c974971 Merge pull request #23239 from st3iny/fix/20833/broken-dbpassword-toggle
Fix database password visibility toggle
2020-10-10 17:43:12 +02:00
Richard Steinmetz cb68bcef0f Fix password visibility toggles
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-10 12:53:23 +00:00
Nextcloud bot 4295fe67b7 [tx-robot] updated from transifex 2020-10-10 02:18:44 +00:00
dependabot-preview[bot] a754db1b38 Bump webpack-merge from 5.1.4 to 5.2.0
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 5.1.4 to 5.2.0.
- [Release notes](https://github.com/survivejs/webpack-merge/releases)
- [Changelog](https://github.com/survivejs/webpack-merge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v5.1.4...v5.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-10 01:19:45 +00:00
dependabot-preview[bot] a20078b58e Bump style-loader from 1.2.1 to 2.0.0
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.2.1 to 2.0.0.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v1.2.1...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-10 01:19:06 +00:00
dependabot-preview[bot] fe72618b64 Bump sass-loader from 10.0.2 to 10.0.3
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 10.0.2 to 10.0.3.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v10.0.2...v10.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-10 01:16:50 +00:00
MichaIng ab32344308 Fix Argon2 descriptions
The threads option for the password_hash function does not define the maximum allowed number of CPU threads to be used by the hashing algorithm but the exact number of threads that is used.

Similarly the memory_cost option for the password_hash function does not define the maximum allowed memory to be used by the hashing algorithm, but the exact amount of memory that is used by the hashing table. The minimum value is 8 KiB per thread.

The time_cost option for the password_hash function does not define the allowed time in seconds, but the number of iterations for the hash function.

If the minimum values are understood, the minimum values are used instead.

Signed-off-by: MichaIng <micha@dietpi.com>
2020-10-09 20:18:32 +02:00
Roeland Jago Douma 87be12e958 [3rdparty] Bump symfony deps to 4.4.15
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-09 15:38:52 +02:00
Vincent Petry 77a1a60004 Enhance README to mention module compilation
Added hint about MODULE=xxx when recompiling production assets.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-10-09 14:12:40 +02:00
Vincent Petry 1ba1bd252d Add to README about compiling JS production assets.
Add note in README about the need to checkin also compiled JS assets
after running `make build-js-production`.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-10-09 12:15:20 +02:00
Roeland Jago Douma 2ec160aec8 Merge pull request #23264 from nextcloud/bug/23177/escape-html
Add local version of escapeHTML
2020-10-09 09:25:05 +02:00
Roeland Jago Douma 049d5b3a4b Merge pull request #23249 from nextcloud/techdebt/server-container-cleanup
Server container cleanup
2020-10-09 09:19:41 +02:00
Roeland Jago Douma 174a550edb Merge pull request #23287 from nextcloud/enh/bruteforce/limit_storage
Limit storing bruteforce attempts
2020-10-09 08:51:33 +02:00
Christoph Wurst 56b67c8c13 Clean up the server
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-09 08:25:56 +02:00
Roeland Jago Douma c6937032b0 Merge pull request #23299 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-10-09 08:15:38 +02:00
Nextcloud-PR-Bot 7896b20100 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-10-09 04:27:56 +00:00
Nextcloud bot 9c21bd22b5 [tx-robot] updated from transifex 2020-10-09 02:18:45 +00:00
Roeland Jago Douma 0dbb99a81b Merge pull request #23161 from nextcloud/enh/noid/setup-checks2
Remove setup check for php mail
2020-10-08 22:40:37 +02:00
Roeland Jago Douma 8fae2beece Limit throttler to 48 hours
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-08 19:51:13 +02:00
Roeland Jago Douma 6c1b542def Add cleanup job for old brutefoce attempts
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-08 19:51:13 +02:00
Roeland Jago Douma b2dedbcc13 Merge pull request #23291 from nextcloud/techdebt/noid/use-psr-logger-in-event-dispatcher
Use PSR Logger in event dispatcher
2020-10-08 19:43:03 +02:00
Roeland Jago Douma 4d2055a3a2 Merge pull request #23292 from nextcloud/enh/noid/job-run-does-not-return-anything
Job::run() does not return anything
2020-10-08 19:42:12 +02:00
Joas Schilling 51fbcb0801 Use PSR Logger in event dispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-08 16:52:56 +02:00
Morris Jobke 26a38c4e8a Job::run() does not return anything
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-08 16:52:02 +02:00
Roeland Jago Douma e10cad4a71 Merge pull request #23275 from nextcloud/fix/dashboard-statuses-sort
Fix dashboard statuses sort
2020-10-08 15:23:09 +02:00
Roeland Jago Douma 8b89172666 Merge pull request #23279 from nextcloud/enh/weather-favorites
Add favorite weather locations
2020-10-08 15:21:56 +02:00
Richard Steinmetz 0e77a9aee1 Fix adminpass strengthify margin
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2020-10-08 13:59:04 +02:00
Robin Appelman 9bdf0eed65 Merge pull request #23020 from nextcloud/disable-notify-self-check
add option to disable notify self check
2020-10-08 11:27:08 +00:00
John Molakvoæ d15179fd7b Merge pull request #23269 from sharidas/fix-remove-user-from-grp
Fix the user remove from group in UI
2020-10-08 13:17:16 +02:00
Julien Veyssier a99294cfc0 add favorite weather locations
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-10-08 12:10:10 +02:00
Roeland Jago Douma fa374aceeb Merge pull request #23245 from nextcloud/techdebt/server-bus-deprecate-alias
Deprecate the named alias of IBus
2020-10-08 11:50:21 +02:00
Julien Veyssier 9b58653757 fix dashboard statuses sort function
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-10-08 11:09:29 +02:00
Sujith Haridasan 9a286d58bc Fix the user remove from group in UI
Fix the removal of user from the group in UI.

Signed-off-by: Sujith Haridasan <sujith.h@gmail.com>
2020-10-08 13:40:15 +05:30
Nextcloud bot ae59636227 [tx-robot] updated from transifex 2020-10-08 02:18:45 +00:00
Daniel Kesselberg d0f18f4d9a Add local version of escapeHTML
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-10-07 23:06:42 +02:00
Morris Jobke 3f78639866 Merge pull request #21860 from nextcloud/techdebt/encryption-psr-container
Migrate encryption to the PSR container
2020-10-07 20:10:28 +02:00
Christoph Wurst 6a63d7b4ee Deprecate the named alias of IBus
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-07 18:58:05 +02:00
Robin Appelman ea80d1d68f also give storage backend it's change to manipulate the config
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-07 15:43:44 +02:00
Christoph Wurst 8033655a5a Migrate encryption to the PSR container
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-07 15:34:06 +02:00
Morris Jobke 3b82c6cc84 Merge pull request #23184 from nextcloud/bugfix/noid/make-sure-getUsersFavoritingObject-can-be-run-without-a-user
Make sure getUsersFavoritingObject can be run without a user
2020-10-07 13:08:02 +02:00
Roeland Jago Douma 4e14c18192 Merge pull request #23248 from nextcloud/techdebt/server-getters-query-get
Use the ContainerInterface::get inside the server container
2020-10-07 11:40:22 +02:00
Roeland Jago Douma 67704a9643 Merge pull request #23252 from nextcloud/fix/l10n/activities
Use the correct l10n for activities
2020-10-07 11:34:57 +02:00
John Molakvoæ fd178b92f6 Merge pull request #23164 from nextcloud/feat/files-sidebar-cleanup-standards 2020-10-07 11:13:14 +02:00
Roeland Jago Douma bc6414a721 Merge pull request #23243 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-10-07 11:01:44 +02:00
Roeland Jago Douma 106257733e Merge pull request #23244 from nextcloud/techdebt/noid/user-psr-logger-interface-in-comments
Use PSR logger interface in comments manager
2020-10-07 10:58:54 +02:00
Roeland Jago Douma 03d156a824 Use the correct l10n for activities
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-07 10:50:06 +02:00
Christoph Wurst e509c6515e Use the ContainerInterface::get inside the server container
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-07 10:12:17 +02:00
John Molakvoæ (skjnldsv) eca4682f69 Bump @nextcloud/vue to v2.6.9
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-07 07:53:24 +00:00
John Molakvoæ (skjnldsv) 4de6e80771 Upgrade lifecycle and vue parent context
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-07 09:40:59 +02:00
John Molakvoæ (skjnldsv) 843d799a2e Move Files Sidebar to proper javascript standard
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-07 09:40:58 +02:00
Joas Schilling 17454f6ce9 Use PSR logger interface in comments manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-07 08:57:45 +02:00
Nextcloud-PR-Bot ab6f6f7149 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-10-07 04:26:43 +00:00
Nextcloud bot 678ef8466d [tx-robot] updated from transifex 2020-10-07 02:18:12 +00:00
Morris Jobke 2adfb27007 Merge pull request #23129 from nextcloud/enh/noid/tests-user-status
More tests for user_status
2020-10-06 22:13:44 +02:00
Morris Jobke ca5e8d2093 Merge pull request #23025 from Iscle/master
DirectController: Let users choose the link expiration time
2020-10-06 22:12:22 +02:00
Morris Jobke c1fd22b025 Merge pull request #23144 from nextcloud/enh/noid/update-param-for-psalm
Less psalm warnings
2020-10-06 22:07:58 +02:00
Joas Schilling 9f99f859a1 Make sure getUsersFavoritingObject can be run without a user
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-06 16:49:23 +02:00
John Molakvoæ 99c101c976 Merge pull request #23226 from nextcloud/feature/noid/bump-default-font-size
Bump default font size to 15 px
2020-10-06 15:43:13 +02:00
Marco Ambrosini dc4a294826 Bump default font size to 15 px
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-10-06 13:22:04 +02:00
hoellen 0a02bf4fbb Adjust sudo command to UID instead of username
Signed-off-by: hoellen <dev@hoellen.eu>
2020-10-06 13:03:08 +02:00
hoellen 563f1318cd Remove posix_getpwuid and compare only userid
Signed-off-by: hoellen <dev@hoellen.eu>
2020-10-06 13:03:08 +02:00
Roeland Jago Douma 0c89954488 Merge pull request #23215 from nextcloud/bugfix/noid/only-run-the-query-once
Only run the query to get the account data once
2020-10-06 12:46:09 +02:00
Joas Schilling ac59f23daa Only run the query to get the account data once
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-06 10:34:34 +02:00
Roeland Jago Douma e0372e3a43 Merge pull request #23183 from nextcloud/bugfix/noid/error-styling-on-toastify
Don't influence toastify errors and always use white
2020-10-06 09:56:10 +02:00
Morris Jobke 1a9b0b6638 Merge pull request #23209 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-10-06 09:09:17 +02:00
Nextcloud-PR-Bot c2a6893033 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-10-06 04:27:00 +00:00
Nextcloud bot 66641b6e65 [tx-robot] updated from transifex 2020-10-06 02:18:39 +00:00
Morris Jobke 5169976d2b Merge pull request #23028 from nextcloud/bugfix/noid/array-to-string-conversion-on-event-search
Fix array to string conversion on event search
2020-10-05 23:04:48 +02:00
Morris Jobke fe08f406b2 Merge pull request #23096 from nextcloud/bugfix/noid/mimetypes2
Also check the path based mimetype for flow rule checks
2020-10-05 22:01:00 +02:00
Morris Jobke 482b42c4a7 Merge pull request #22891 from nextcloud/techdebt/18680/improve-ProvisioningApiMiddleware-service-logic
Improve registerService logic for ProvisioningApiMiddleware for static code analysis
2020-10-05 21:50:50 +02:00
Morris Jobke 0f7fb7cb4e Merge pull request #23189 from nextcloud/enhancement/cs/binary_operator_spaces
Format code to a single space around binary operators
2020-10-05 21:31:38 +02:00
Morris Jobke 1ad0631c66 Merge pull request #23182 from sharidas/fix-user-emailaddr
Fix the user email issue while creating a user
2020-10-05 21:30:27 +02:00
Christoph Wurst d9015a8c94 Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-05 20:25:24 +02:00
Roeland Jago Douma d357f4b10f Merge pull request #23193 from nextcloud/fix/mp/unit_tetss
Fix unit tests
2020-10-05 20:02:07 +02:00
Roeland Jago Douma a1faee8a1e Fix unit tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-05 15:49:00 +02:00
Roeland Jago Douma db69b1bc43 Merge pull request #23179 from nextcloud/bugfix/23163
Fix dashboard rendering if accessibility app is disabled
2020-10-05 15:36:58 +02:00
Joas Schilling bbfbb90d50 Merge pull request #23109 from nextcloud/trash-move-no-transaction
dont hold a transaction during the move to trash
2020-10-05 15:04:56 +02:00
Joas Schilling 7511e710cc Merge pull request #23175 from mrtnmtth/master
Fix legacy update notifications
2020-10-05 15:03:15 +02:00
Joas Schilling 910588d2dc Don't influence toastify errors and always use white
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-05 14:12:23 +02:00
Sujith Haridasan 62923a5e1e Fix the user email issue while creating a user
When the user is created, the provisioning api
was not adding the email address of the user
when provided if the `send email to new user`
is not set.

Signed-off-by: Sujith Haridasan <sujith.h@gmail.com>
2020-10-05 16:47:57 +05:30
Julius Härtl b76ea9d6d1 Fix dashboard rendering if accessibility app is disabled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-05 09:25:22 +02:00
Nextcloud bot b186852f9d [tx-robot] updated from transifex 2020-10-05 02:18:41 +00:00
mrtnmtth 5cb5b156b2 Fix legacy update notifications
Signed-off-by: mrtnmtth <mrtn.mtth@gmx.de>
2020-10-04 22:42:08 +02:00
Roeland Jago Douma f312cfade0 Merge pull request #22913 from nextcloud/group-folder-quota-warning-mountpoint
add mount point to quota warning message
2020-10-04 12:57:56 +02:00
Roeland Jago Douma 0bca480efd Merge pull request #22969 from eleith/catch-no-instance-exception
broaden exception handling on webcal refresh
2020-10-04 11:14:00 +02:00
Roeland Jago Douma b976cd5535 Merge pull request #21821 from nextcloud/enh/bootstrap/initial_state
Bootstrap: add initial state registration
2020-10-04 11:09:18 +02:00
Robin Appelman 0dfdf3ee99 add mount point to quota warning message
makes it more clear to the user what the quota applies to

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-04 11:02:32 +02:00
Roeland Jago Douma 12da69d79d Merge pull request #23145 from wenz/14818-safarifavicon
Add apple-touch-icon-precomposed (fixes #14818)
2020-10-04 11:01:22 +02:00
Roeland Jago Douma 1896f37465 Merge pull request #22937 from nextcloud/enh/allow_configuring_token_auth_activity_interval
Allow configuring the activity update interval of token
2020-10-04 10:37:41 +02:00
Roeland Jago Douma f4707d178e Merge pull request #23047 from nextcloud/techdebt/noid/warn-on-database-abuse
Log the number of queries built and executed
2020-10-04 10:07:49 +02:00
Roeland Jago Douma b5fd75f2be Move accessibility over to the new way
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-04 09:35:33 +02:00
Roeland Jago Douma f865a3a1c2 Move initial state provider to boostrap
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-04 09:35:33 +02:00
Roeland Jago Douma 76a7600e2e Allow configuring the activity update interval of token
On some systems with a lot of users this creates a lot of extra DB
writes.
Being able to increase this interval helps there.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-04 09:31:41 +02:00
Nextcloud bot eba83d22bb [tx-robot] updated from transifex 2020-10-04 02:18:16 +00:00
Daniel Kesselberg 9c8e8007f9 Remove setup check for php mail
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-10-03 21:58:55 +02:00
Daniel Kesselberg 0e3ddf1b27 Add explicit typecast for $value.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-10-03 17:15:14 +02:00
John Molakvoæ 50b210b50f Merge pull request #23152 from nextcloud/dependabot/npm_and_yarn/marked-1.2.0 2020-10-03 14:40:59 +02:00
Roeland Jago Douma bc289798f2 Merge pull request #22960 from nextcloud/Valdnet-patch-4
l10n: HTTP in capital letters
2020-10-03 14:32:36 +02:00
John Molakvoæ 2eb64ee794 Merge branch 'master' into dependabot/npm_and_yarn/marked-1.2.0 2020-10-03 13:28:45 +02:00
Roeland Jago Douma 2a079dfa50 Merge pull request #23031 from nextcloud/dependabot/npm_and_yarn/moment-2.29.0
Bump moment from 2.27.0 to 2.29.0
2020-10-03 13:26:49 +02:00
dependabot-preview[bot] 0fdfc74011 Bump marked from 1.1.1 to 1.2.0
Bumps [marked](https://github.com/markedjs/marked) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-03 11:15:19 +00:00
dependabot-preview[bot] 020ba0847b Bump moment from 2.27.0 to 2.29.0
Bumps [moment](https://github.com/moment/moment) from 2.27.0 to 2.29.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.27.0...2.29.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-03 11:00:34 +00:00
John Molakvoæ 734c479574 Merge pull request #23149 from nextcloud/dependabot/npm_and_yarn/sinon-9.1.0
Bump sinon from 9.0.3 to 9.1.0
2020-10-03 12:48:22 +02:00
Roeland Jago Douma 5e44831b45 Merge pull request #23150 from nextcloud/dependabot/npm_and_yarn/vue-router-3.4.5
Bump vue-router from 3.4.4 to 3.4.5
2020-10-03 12:01:58 +02:00
dependabot-preview[bot] d0574fb5d5 Bump vue-router from 3.4.4 to 3.4.5
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.4.4 to 3.4.5.
- [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.4.4...v3.4.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-03 09:50:40 +00:00
Roeland Jago Douma 403aee1585 Merge pull request #23142 from nextcloud/fix/23140/multiple-inline-translations
Split dashboard attributions in multiple lines
2020-10-03 11:31:47 +02:00
Nextcloud bot e819a0cad0 [tx-robot] updated from transifex 2020-10-03 02:19:27 +00:00
dependabot-preview[bot] de1ade0736 Merge pull request #23148 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-import-2.22.1 2020-10-03 02:01:32 +00:00
dependabot-preview[bot] 6e93c1fbd4 Bump sinon from 9.0.3 to 9.1.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.0.3 to 9.1.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v9.0.3...v9.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-03 01:17:02 +00:00
dependabot-preview[bot] f8fc5a6089 Bump eslint-plugin-import from 2.22.0 to 2.22.1
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.22.0 to 2.22.1.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.22.0...v2.22.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-03 01:16:05 +00:00
Christian Wenz 8aa13f37b0 Add apple-touch-icon-precomposed (fixes #14818)
Signed-off-by: Christian Wenz <christian@wenz.org>
2020-10-02 21:49:14 +02:00
Daniel Kesselberg 64b10f61df Update signature for set
also ILiteral and IQueryFunction are valid.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-10-02 19:15:34 +02:00
Daniel Kesselberg 8fdb74bdd5 Update signature for in/notIn
$y is always passed to quoteColumnName hence ILiteral|IParameter|IQueryFunction are supported.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-10-02 19:09:28 +02:00
Daniel Kesselberg d14c971ad6 Update signature for like/notLike/in/notIn
$x is always passed to quoteColumnName hence ILiteral|IParameter|IQueryFunction are supported.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-10-02 18:59:53 +02:00
Nextcloud bot 7819305eba [tx-robot] updated from transifex 2020-10-02 15:28:57 +00:00
Roeland Jago Douma 0f7e2f3364 Merge pull request #23114 from nextcloud/bugfix/noid/user_status-show-icon
Show icon only with dnd status in the message
2020-10-02 16:58:03 +02:00
Julien Veyssier e97fb669e1 refs #23140 split dashboard attributions in multiple lines to allow translation parsing
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-10-02 15:55:52 +02:00
Joas Schilling 2cd0f8dba7 Merge pull request #23136 from nextcloud/mark-all-compiled-js-as-binary
Mark all compiled JS as binary
2020-10-02 15:39:38 +02:00
Joas Schilling 97f9b18e9e Show the full status and icon all the time
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-02 14:14:00 +02:00
Julius Härtl 0afccb5d9a Show icon only with dnd status in the message
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-02 13:35:16 +02:00
Roeland Jago Douma 0de44a8014 Merge pull request #23135 from nextcloud/fix/user-status
Fix subline hint
2020-10-02 13:16:48 +02:00
Nextcloud bot 0d05c600d6 [tx-robot] updated from transifex 2020-10-02 11:06:18 +00:00
John Molakvoæ (skjnldsv) 4addaf2ca4 Bump @nextcloud/vue to v2.6.8
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-02 12:21:22 +02:00
Joas Schilling 94353362d7 Mark all compiled JS as binary
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-02 12:21:05 +02:00
John Molakvoæ (skjnldsv) 9dfea4e982 Fix subline hint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-02 12:13:53 +02:00
Roeland Jago Douma 905e1918d2 Merge pull request #23130 from nextcloud/fix/user-status
Move online status into modal
2020-10-02 11:24:29 +02:00
Joas Schilling 95a301ea57 Fix tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-02 10:37:18 +02:00
Joas Schilling e9c7fa0f04 Show the subline
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-02 09:31:43 +02:00
Joas Schilling 7255666557 Set status is also there now
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-02 09:12:03 +02:00
Joas Schilling dab344f674 Update @nextcloud/vue to 2.6.7
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-02 09:08:22 +02:00
Iscle 0e5d692866 DirectController: Verify that expirationTime is between 0s and 24h
Signed-off-by: Iscle <albertiscle9@gmail.com>
2020-10-01 23:48:41 +02:00
Jan C. Borchardt 56670fc904 Status: Add subline for Invisible to explain it properly
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-10-01 23:36:35 +02:00
Jan C. Borchardt b1d0fd27c1 Enable scrollbar for too long content, same way as in Dashboard customize
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-10-01 23:34:19 +02:00
John Molakvoæ (skjnldsv) f240794f2b Move online status into modal
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-01 22:19:05 +02:00
Daniel Kesselberg 00bca0fe3e Another test for user live status listener
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-10-01 21:27:45 +02:00
Roeland Jago Douma 5451dcbec5 Merge pull request #23112 from nextcloud/bugfix/noid/increase-timeout-of-statuses
Increase the timeout of statuses
2020-10-01 11:43:36 +02:00
Joas Schilling 0c7c358d13 Increase the timeout of statuses
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-01 08:54:35 +02:00
Nextcloud bot 6b7d91d7c1 [tx-robot] updated from transifex 2020-10-01 02:18:34 +00:00
Roeland Jago Douma f11a05553e Merge pull request #23113 from nextcloud/design/status-wording
Change wording from 'custom status' to 'status message'
2020-09-30 19:28:30 +02:00
Joas Schilling da2c88ef28 Merge pull request #23108 from nextcloud/bugfix/noid/reset-user-status-when-message-is-empty
Reset the user status when clearing the custom message
2020-09-30 19:24:57 +02:00
Jan C. Borchardt 9a517d5b35 Change wording from 'custom status' to 'status message'
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-30 16:49:41 +02:00
Robin Appelman e0d688c365 dont hold a transaction during the move to trash
because moving to trash can take a long time, keeping a transaction active for the duration can lead to issues

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-30 14:30:54 +02:00
Joas Schilling 32b577a5df Reset the user status when clearing the custom message
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-30 14:12:02 +02:00
Joas Schilling aeb7329b3d Merge pull request #23104 from nextcloud/bugfix/noid/bump-nextcloud-vue
Bump @nextcloud/vue to 2.6.6
2020-09-30 11:42:04 +02:00
Joas Schilling 4f26408303 Bump @nextcloud/vue to 2.6.6
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-30 10:55:37 +02:00
eleith aa956ab46e broaden exception handling on webcal refresh
when iterating through a calendar, recurrance events can throw an
exception if no instances of the recurrance are found.

this exception is of class `Exception` but the try/catch clause in the
webcal refresh loop only catches `BadRequest` exception.

this leads to the exception bubbling up and thus other calendar events
do not get processed by the event iterator.

this PR broadens the exception to handle both BadRequest and
NoInstanceFoundException so that the full webcal can be processed, even
if minor hiccups are processing on vobject

Signed-off-by: leith abdulla <online-nextcloud@eleith.com>
2020-09-29 20:47:38 -07:00
Nextcloud bot 54f4ede126 [tx-robot] updated from transifex 2020-09-30 02:18:17 +00:00
Julius Härtl d52caba30f Merge pull request #22999 from nextcloud/bugfix/noid/settings-container-height
Adjust scroll container height to make it a proper boundary element for actions
2020-09-29 18:41:40 +02:00
Julius Härtl 92ab659a87 Adjust scroll container height to make it a proper boundary element for actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-29 16:07:59 +02:00
Julius Härtl 63479684a5 Make sure to check the mimetype on the path if a secure one could not be detemined though the content
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-29 16:01:50 +02:00
Roeland Jago Douma adf1b8a32f Merge pull request #23043 from nextcloud/fix/noid/weather-status-not-logged-in
Avoid crash when unauthenticated users make weather-related requests
2020-09-29 14:16:51 +02:00
Roeland Jago Douma 18411b8da3 Merge pull request #23083 from nextcloud/bugfix/extend-php-error-logging
Generate exception to log on php errors
2020-09-29 10:02:33 +02:00
Julius Härtl cb08c6cd18 Merge pull request #23074 from nextcloud/fix/sharee-search-empty-email-match
Do not match sharees on an empty email address
2020-09-29 09:27:49 +02:00
Roeland Jago Douma 7d776091bd Merge pull request #23013 from nextcloud/bugfix/noid/show-federation-results-with-the-same-name
Show federation and email results also with exact user match unless c…
2020-09-29 09:13:08 +02:00
Roeland Jago Douma 4175c3f499 Merge pull request #22983 from nextcloud/bugfix/noid/sync-all-users-to-systemaddressbook
Sync all users to the system addresssbook
2020-09-29 09:12:40 +02:00
Julius Härtl b0699d4126 Generate exception to log on php errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-29 08:54:53 +02:00
Nextcloud bot 8383b63b34 [tx-robot] updated from transifex 2020-09-29 02:17:55 +00:00
dependabot-preview[bot] 062ef022fb Merge pull request #23056 from nextcloud/dependabot/npm_and_yarn/vue-router-3.4.4 2020-09-28 14:18:03 +00:00
Roeland Jago Douma 3cf46e62f0 Merge pull request #23012 from nextcloud/enh/template-reponse-renderas
Make BeforeTemplateRenderedEvent aware of the actual response
2020-09-28 16:03:16 +02:00
Roeland Jago Douma 789e214108 Merge pull request #23054 from nextcloud/dependabot/npm_and_yarn/build/jsdoc-3.6.6
Bump jsdoc from 3.6.5 to 3.6.6 in /build
2020-09-28 16:01:59 +02:00
Christoph Wurst bbd962043b Do not match sharees on an empty email address
When asking for sharees we compare not only UID and displayname but also
the email address. And if that matches we return the sharee as an exact
match. This logic had a flaw as in that it also matched the empty string
to users with no email address.

This is most noticeable when you disable sharee enumeration and open the
ownership transfer dialog. It suggested other users of the instance
before. This has stopped now.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-09-28 15:35:11 +02:00
dependabot-preview[bot] 93f5cbed30 Bump vue-router from 3.4.3 to 3.4.4
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.4.3 to 3.4.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.4.3...v3.4.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <rullzer@users.noreply.github.com>
2020-09-28 13:30:35 +00:00
Julien Veyssier 5a6c0f64a6 avoid crash when unauthenticated users make weather-related requests, mention it in UI
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-09-28 09:58:49 +02:00
Roeland Jago Douma bd0b28d670 Merge pull request #23051 from nextcloud/design/heading-app-detail
Fix app text going too far down on hover/focus
2020-09-28 09:32:26 +02:00
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
dependabot-preview[bot] 8c2fe6df0a Bump jsdoc from 3.6.5 to 3.6.6 in /build
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.5 to 3.6.6.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/3.6.6/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.5...3.6.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-26 01:16:20 +00:00
Jan C. Borchardt d1cfb44583 Fix app text going too far down on hover/focus
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-25 17:17:34 +02:00
Joas Schilling 3212c074b9 Log the number of queries built and executed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-25 14:55:53 +02: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
Roeland Jago Douma 8c168e7ba9 Merge pull request #23041 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-09-25 08:50:20 +02:00
Nextcloud-PR-Bot f7e5ba6116 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-09-25 04:24:37 +00: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 8ab2422b6c Add acutal response to BeforeTemplateRenderedEvent
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-24 20:00:23 +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
Roeland Jago Douma bf91ec45fc Merge pull request #23033 from nextcloud/fix/autoloader_update
Update autloader
2020-09-24 19:59:29 +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 0e2f316ece Merge pull request #23015 from nextcloud/bugfix/noid/warn-on-slow-dashboard-widgets
Log slow dashboard widgets
2020-09-24 14:57:17 +02:00
Roeland Jago Douma acba3da7c8 Merge pull request #22948 from nextcloud/add-more-integration-tests-for-files-transfer-ownership-command
Add more integration tests for "files:transfer-ownership" command
2020-09-24 14:45:36 +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 6fed17a342 allow using saved login credentials for notify
when only the user is provided, we use to provided user to try and get saved login credentials

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-23 15:49:27 +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
Joas Schilling f62e880a6c Merge pull request #23016 from nextcloud/bugfix/noid/dont-log-a-known-shared-section
Don't log a known shared section
2020-09-23 13:01:50 +02:00
Joas Schilling 6c6d640e39 Don't log "duplicate section" for the shared "connected-accounts" section
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-23 12:25:08 +02:00
Joas Schilling b497067ead Log a warning if a "lazy" initial state loads longer than 1 second
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-23 12:14:31 +02:00
Joas Schilling 74f4dbe9de Log an error if a dashboard widget loads longer than 1 second
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-23 12:14:01 +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
Joas Schilling 5415eeda43 Show federation and email results also with exact user match unless containing @
Before when you have a user "smith" and a federated user "smith@example.com"
you could see the federation result with "smit" but not with "smith" anymore.
With most LDAP configurations and local backend setups this is disturbing and
causes issues.
The idea of not showing the email and federation on a matching user was with:
Local user registered with "smith@example.com" user id and having that same
email / cloud id in your contacts addressbook. So we now only hide those
"side results" when the search does contain an @

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-23 10:21:55 +02:00
Nextcloud bot 7d06027922 [tx-robot] updated from transifex 2020-09-23 02:17:50 +00:00
Roeland Jago Douma 261cda8bf8 Merge pull request #23008 from nextcloud/bugfix/noid/fix-placeholder-with-longer-languages
Add padding to the empty content and center it
2020-09-22 21:14:33 +02:00
Roeland Jago Douma 7d9c9d103d Merge pull request #23005 from nextcloud/fs-size-index
add size index for filecache
2020-09-22 20:50:21 +02:00
Joas Schilling e3e56df727 Add padding to the empty content and center it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-22 19:37:42 +02:00
Robin Appelman 634c051be6 add size index for filecache
improves performance of #23004

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-22 15:15:34 +02: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
dependabot-preview[bot] ed9f3ee990 Merge pull request #22957 from nextcloud/dependabot/npm_and_yarn/webpack-4.44.2 2020-09-19 02:31:40 +00:00
dependabot-preview[bot] 601d9ccebc Bump webpack from 4.44.1 to 4.44.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.44.1 to 4.44.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.44.1...v4.44.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-19 01:21:09 +00:00
Nextcloud bot 58790aadf0 [tx-robot] updated from transifex 2020-09-18 19:05:24 +00:00
Morris Jobke 77c5ec39f0 Fix transifex name of dashboard app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-18 20:47:30 +02:00
Morris Jobke 2895d26a90 Merge pull request #22949 from nextcloud/enh/noid/transifex
Add transifex config for all new apps
2020-09-18 20:39:21 +02: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
Daniel Calviño Sánchez 7b9a40b407 Add integration tests to check that only the given path is transferred
Until recently (it was fixed in ac2999a26a) when a path was transferred
other shares with the target user were removed, so a test was added to
ensure that it does not happen again.

Besides that a test to ensure that other files with the target user are
not transferred was added too (it did not fail before, but seemed
convenient to have that covered too :-) ).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-18 18:35:06 +02:00
Daniel Calviño Sánchez c4c602ee80 Add integration tests for transferring files of a user with a risky name
The files:transfer-ownership performs a sanitization of users with
"risky" display names (including characters like "\" or "/").

In order to allow (escaped) double quotes in the display name the
regular expression used in the "user XXX with displayname YYY exists"
step had to be adjusted.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-18 18:34:30 +02:00
Daniel Calviño Sánchez 5e143845cb Add integration test for transferring the path of a single file
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-18 18:32:23 +02:00
Morris Jobke 2f08918ede Merge pull request #22924 from nextcloud/design/fix-appname-display
Make sure most app names don’t ellipsize, fix #22845, fix #22219
2020-09-18 18:16:53 +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 c364b0cb19 Merge pull request #22911 from nextcloud/enh/noid/allow-to-run-preview-repair-parallel
Allow to run occ preview:repair in parallel
2020-09-18 11:35:26 +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
Roeland Jago Douma 9d89917695 Merge pull request #22930 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-09-18 11:33:06 +02:00
Joas Schilling b2f53baa84 Merge pull request #22767 from nextcloud/php/noid/bump-min-php-version
Master is now Nextcloud 21 runs on PHP 7.3 to 8.0 only
2020-09-18 10:31:44 +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 f79f1895d3 To revert once php8.0 packages are there
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-18 09:51:42 +02:00
Joas Schilling 9ac888d895 Update drone testing matrix
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-18 09:32:23 +02:00
Joas Schilling 48761481eb Bump versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-18 09:16:45 +02:00
Morris Jobke cfd67fd18b Allow to also use PHP 8.0
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-18 09:16:30 +02:00
Morris Jobke fd1c2ef698 Nextcloud 21 runs on PHP 7.3+ only
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-18 09:16:30 +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
John Molakvoæ (skjnldsv) 7991ed6cf3 Properly show loading state if there are still pending requests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 08:11:47 +02:00
John Molakvoæ (skjnldsv) 283e66b300 Properly use form role=search and unify reset button
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 08:11:47 +02:00
John Molakvoæ (skjnldsv) 6120496e54 Fix loading error catch
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 08:11:46 +02:00
Nextcloud-PR-Bot 281f0d6793 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-09-18 04:23:58 +00: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
Morris Jobke 031269979d Merge pull request #22843 from nextcloud/feature/share-link-filename
Show filename on share link download
2020-09-17 20:39:07 +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
Jan C. Borchardt b9807e0633 Make sure most app names don’t ellipsize, fix #22845, fix #22219
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-17 20:02:51 +02:00
Morris Jobke e14ba58b6d Merge pull request #22794 from nextcloud/version/20.0.0/rc1
20 RC1
2020-09-17 19:56:31 +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 cb735c671b Provide correct PHPDoc tags for public namespace
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-17 19:50:44 +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
Roeland Jago Douma 5b00e21e30 20 RC1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-17 18:14:37 +02:00
Morris Jobke 7fcb754901 Merge pull request #22910 from nextcloud/user-quota-event
add event to allow apps to overwrite user quota
2020-09-17 18:14:10 +02:00
Morris Jobke cd88b93a8b Autoloader update
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-17 18:13:56 +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
Morris Jobke 190b9e96f2 Merge pull request #22920 from nextcloud/Valdnet-patch-5
l10n: Add a dot
2020-09-17 18:10:40 +02:00
Valdnet 2aaae73c72 l10n: Add a dot 2020-09-17 17:40:18 +02:00
J0WI 68ce17e59b Unify links to php.net
Update all links to https://www.php.net/

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-09-17 17:40:04 +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
Robin Appelman 674db6da88 add event to allow apps to overwrite user quota
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-17 16:32:48 +02:00
Morris Jobke 24744dcaec Migrate verbose messages to inline syntax of writeln()
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-17 16:30:33 +02:00
Morris Jobke 617b3f79fa Show lock messages only in verbose mode
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-17 16:30:11 +02:00
Morris Jobke faab3e733b Allow to run occ preview:repair in parallel
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-17 16:03:34 +02:00
Morris Jobke ec07ca2abb Merge pull request #22844 from nextcloud/enh/richdocumentscode-arm
Support architecture limitations for apps and allow richdocumentscode_arm64 though htaccess
2020-09-17 12:22:42 +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 d144a84df1 Merge pull request #22903 from nextcloud/techdebt/16696/no-need-to-get-full-path-again
Do not fetch the normalized full path again if it is already available
2020-09-17 11:54:47 +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 063ac9d353 Do not fetch the normalized full path again if it is already available
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-17 09:56:45 +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
Julius Härtl 04eb1bb949 Allow to specify supported architectures in appinfo.xml
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-17 08:55:15 +02:00
Julius Härtl 364b96d5b9 Add htaccess exception for richdocumentscode_arm64
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-17 08:55:15 +02:00
Julius Härtl 5340215871 Install richdocumentscode depending on the architecture
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-17 08:55:14 +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
Morris Jobke 1bed77c5fc Merge pull request #22888 from nextcloud/techdebt/18680/remove-unused-code
Remove not needed semicolon and PHPDoc hint
2020-09-16 20:44:46 +02:00
Roeland Jago Douma 8f30e61344 Merge pull request #22880 from nextcloud/crl/noid/revoke-secsignid
Revoke secsignid
2020-09-16 19:33:00 +02:00
Morris Jobke a65b431f51 Update baseline
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-16 17:02:44 +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
Morris Jobke c6948c2517 Update baseline
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-16 16:54:10 +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 6b4998f20f Merge pull request #22884 from nextcloud/phpdoc/21873/define-deprecated-version
Specific version for @deprecated PHPDoc
2020-09-16 16:25:11 +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 a72edb0d0e Merge pull request #22883 from nextcloud/techdebt/noid/remove-phan
Remove phan config - was replaced by Psalm
2020-09-16 16:00:58 +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 4cfbe0c97d Specific version for @deprecated PHPDoc
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-16 15:09:00 +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
Morris Jobke e392525c2c Merge pull request #22866 from nextcloud/fix/recommendations-alt
Fix recommendation design details
2020-09-16 13:41:53 +02:00
Morris Jobke c3578912d8 Revoke secsignid
See nextcloud/app-certificate-requests#343

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-16 12:45:17 +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
dependabot-preview[bot] 659bea6de2 Merge pull request #22870 from nextcloud/dependabot/composer/psalm/phar-3.16 2020-09-15 17:32:50 +00:00
dependabot-preview[bot] f17c35655e Bump psalm/phar from 3.15 to 3.16
Bumps [psalm/phar](https://github.com/psalm/phar) from 3.15 to 3.16.
- [Release notes](https://github.com/psalm/phar/releases)
- [Commits](https://github.com/psalm/phar/compare/3.15...3.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-15 16:25:16 +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 1661f32574 Recommendations recompile
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-15 16:20:48 +02:00
Jan C. Borchardt 38dd302745 Recommended apps: Fix loading spinner color
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-15 16:19:03 +02:00
Jan C. Borchardt f59af60609 Recommended apps: Empty alt text since the app logo is decorative
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-15 16:18:08 +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 54bbc89354 Merge pull request #22860 from nextcloud/fix/22796/update-l10nignore
Update .l10nignore for apps to exclude bundled JS files
2020-09-15 12:31:41 +02: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
Morris Jobke 733c0f7d22 Merge pull request #22857 from nextcloud/bugfix/activity-490/doc-fixes
It is very highly recommended to set an object for better filtering
2020-09-15 12:11:28 +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 702c858604 It is very highly recommended to set an object for better filtering
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-15 10:22:54 +02:00
Roeland Jago Douma 74e0b50199 Merge pull request #22852 from nextcloud/mention-in-the-settings-the-side-effect-of-outgoing-federated-shares
Mention in the settings the side effect of outgoing federated shares
2020-09-15 10:11:57 +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
Joas Schilling a8d9b22beb Add an ETag for the search providers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-15 09:19:53 +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] 0e207a8756 Merge pull request #22822 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-dashboard-1.0.0 2020-09-14 19:35:10 +00: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
Roeland Jago Douma 49f5ed01ea Merge pull request #22801 from nextcloud/bugfix/noid/status_event_bus
Emit event on status-change
2020-09-14 20:40:32 +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
Roeland Jago Douma 51320aad18 Merge pull request #22626 from nextcloud/dependabot/npm_and_yarn/dompurify-2.0.15
Bump dompurify from 2.0.14 to 2.0.15
2020-09-14 20:02:31 +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
Morris Jobke 1c9a898875 Merge pull request #22761 from nextcloud/extend-integration-tests-for-files-transfer-ownership-command
Extend integration tests for "files:transfer-ownership" command
2020-09-14 17:50:53 +02:00
John Molakvoæ b528939575 Merge pull request #22800 from nextcloud/fix/settings-search
Add users and apps inner search and add HeaderMenu cancel
2020-09-14 16:41:29 +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
Roeland Jago Douma 7d7291edf0 Merge pull request #22821 from nextcloud/dependabot/npm_and_yarn/webpack-merge-5.1.4
Bump webpack-merge from 5.1.3 to 5.1.4
2020-09-14 09:51:26 +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
Joas Schilling a053aa7221 Merge pull request #22809 from nextcloud/bugfix/noid/remove-unneeded-isset-check
Remove unneeded isset check
2020-09-14 08:49:46 +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
John Molakvoæ 3ffd09d3f1 Merge pull request #22806 from nextcloud/fix/unified-search-indexed-result
Fix serializing indexed unified search array as object
2020-09-12 11:25:46 +02:00
dependabot-preview[bot] 5f46856c64 Bump webpack-merge from 5.1.3 to 5.1.4
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 5.1.3 to 5.1.4.
- [Release notes](https://github.com/survivejs/webpack-merge/releases)
- [Changelog](https://github.com/survivejs/webpack-merge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v5.1.3...v5.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-12 01:22:39 +00:00
Joas Schilling 441adaa74a Remove unneeded isset check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-11 16:20:30 +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
Christoph Wurst 0022b63fe8 Fix serializing indexed unified search array as object
We expect an array of results from the search provider. If the search
provider returns an array with indexes, php will serialize it as object,
not as array (to preserve the keys). The client doesn't need this info,
so we should just discard it and take the values only to always render a
JSON array.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-09-11 15:57:04 +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
Morris Jobke 8ab2d5a8d9 Merge pull request #22791 from nextcloud/fix/noid/ldap-backend-added-post-events
announce added user and group backend later as there might be interdeps
2020-09-11 09:33:21 +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æ be9dde8a07 Merge pull request #22395 from nextcloud/fix/settings-chunks 2020-09-10 19:19:56 +02:00
Roeland Jago Douma 92cde8bf17 Merge pull request #22562 from nextcloud/version/20.0.0/beta4
20 beta 4
2020-09-10 19:09:21 +02:00
John Molakvoæ d01278b3ca Merge pull request #22780 from nextcloud/bugfix/20921
Fix tense of updater logs
2020-09-10 19:01:15 +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
Morris Jobke e269f15d56 Merge pull request #22234 from nextcloud/bugfix/noid/reshare-mount
Use user mount with matching shared storage only
2020-09-10 16:19:04 +02:00
Morris Jobke 3d61f7b258 Merge pull request #22774 from nextcloud/bugfix/noid/no-delay-without-ip
Don't break when the IP is empty
2020-09-10 16:11:06 +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 a89c8a257d Merge pull request #22782 from nextcloud/revert-22687-dependabot/npm_and_yarn/query-string-6.13.1
Revert "Bump query-string from 5.1.1 to 6.13.1"
2020-09-10 15:54:15 +02:00
Morris Jobke 6cc8a424a3 Revert "Bump query-string from 5.1.1 to 6.13.1" 2020-09-10 15:53:48 +02:00
Morris Jobke 4ae8caaf28 Merge pull request #22768 from nextcloud/fix/22288/change-0-to-null-for-bmp-encoding
Change 0 to null to properly encode image to BMP if the first pixel is black
2020-09-10 15:25:08 +02:00
Nils Wittenbrink 0aa550c0ab Fix tense of updater logs
Signed-off-by: Nils Wittenbrink <nilswittenbrink@web.de>
2020-09-10 15:17:59 +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
Joas Schilling f91a85c32e Merge pull request #22773 from nextcloud/revert-22614-fix/22606/popover-boundaries
Revert "Increase html body height to full content height"
2020-09-10 14:57:28 +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
Joas Schilling c25063dc07 Don't break when the IP is empty
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-10 14:20:27 +02:00
Roeland Jago Douma b056b5b7fc Merge pull request #22672 from nextcloud/dependabot/npm_and_yarn/v-click-outside-3.1.1
Bump v-click-outside from 3.1.0 to 3.1.1
2020-09-10 13:57:58 +02:00
Joas Schilling 5bfd7143dc Revert "Increase html body height to full content height" 2020-09-10 13:33:36 +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
dependabot[bot] de1e80f5ea Bump v-click-outside from 3.1.0 to 3.1.1
Bumps [v-click-outside](https://github.com/ndelvalle/v-click-outside) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/ndelvalle/v-click-outside/releases)
- [Commits](https://github.com/ndelvalle/v-click-outside/compare/v3.1.0...v3.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-10 10:53:13 +00:00
Morris Jobke 04c174ab89 Merge pull request #22665 from nextcloud/dependabot/composer/build/integration/behat/behat-approx-3.7.0
Update behat/behat requirement from ~3.6.1 to ~3.7.0 in /build/integration
2020-09-10 12:52:31 +02:00
Morris Jobke 9c44523937 Merge pull request #22687 from nextcloud/dependabot/npm_and_yarn/query-string-6.13.1
Bump query-string from 5.1.1 to 6.13.1
2020-09-10 12:51:00 +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 a45c4c3502 Merge pull request #22622 from nextcloud/dependabot/npm_and_yarn/sass-loader-10.0.2
Bump sass-loader from 9.0.3 to 10.0.2
2020-09-10 12:45:03 +02:00
Morris Jobke 9708b004f7 Merge pull request #22552 from nextcloud/bugfix/noid/opendocument-templates
Add opendocument templates to mimetype mappings
2020-09-10 12:42:29 +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 0531d4b2ee Merge pull request #22766 from nextcloud/fix/22507/php-eol-warning
Clarify PHP warning in admin settings
2020-09-10 12:09:58 +02:00
Morris Jobke 46525f8639 Change 0 to null to properly encode image to BMP if the first pixel is black
Ref #22288

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-10 12:08:01 +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 b9ae3c1732 Merge pull request #22762 from nextcloud/bugfix/noid/dont-create-debug-log-in-base.php
Don't create a deprecation log in base.php
2020-09-10 11:28:46 +02:00
Morris Jobke f5efd18b07 Clarify PHP warning in admin settings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-10 11:08:25 +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
Morris Jobke 7fd505f881 Merge pull request #22614 from nextcloud/fix/22606/popover-boundaries
Increase html body height to full content height
2020-09-10 09:34:41 +02:00
Julius Härtl cee531d6bc Annotate that writeStream can throw a GenericFileException
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-10 09:03:53 +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
Joas Schilling b5a70b31c1 Don't create a deprecation log in base.php
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-10 09:03:39 +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
Daniel Calviño Sánchez 58d57b35ea Add integration tests for transferring ownership of reshares
Currently only transferring ownership of a reshare with a group to a
user in the group is possible.

When transferring ownership of a reshare with another user or with a
group to a user not in the group restoring the share fails (but the
command succeeds, it only fails for the specific files that are
reshares).

When transferring ownership of a path that is a reshare the command
fails (as when a specific path is provided the path tries to move the
file, it does not take into account reshares).

The added integration tests reflect the above behaviours.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-10 04:34:33 +02:00
Daniel Calviño Sánchez 0ce8096839 Check share ownership after transferring file ownership
The integration tests did not verify that the shares were actually
transferred between the users (or that they were removed due to being
transferred to the sharee).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-10 04:24:16 +02:00
Daniel Calviño Sánchez d3d01d6355 Check whether file exists or not after transferring ownership
The integration tests did not verify that the files were actually
transferred between the users, only that the files were downloadable.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-10 04:18:53 +02:00
Morris Jobke 9780c4f755 Merge pull request #22700 from nextcloud/dependabot/npm_and_yarn/blueimp-md5-2.18.0
Bump blueimp-md5 from 2.17.0 to 2.18.0
2020-09-09 22:09:31 +02:00
Roeland Jago Douma 6895d97cf0 Merge pull request #22520 from nextcloud/normalize-path-invalid-utf8
dont use `false` as cache key for non utf8 path in normalizePath
2020-09-09 21:52:36 +02:00
Roeland Jago Douma e7f03486ad Merge pull request #22651 from nextcloud/fix/s3/empty_files
Fix reading empty files from objectstorage
2020-09-09 21:43:59 +02:00
Roeland Jago Douma c104c192ae Merge pull request #22663 from nextcloud/dependabot/npm_and_yarn/build/karma-viewport-1.0.7
Bump karma-viewport from 1.0.6 to 1.0.7 in /build
2020-09-09 21:24:28 +02:00
Roeland Jago Douma 94eff7d797 Merge pull request #22587 from timm2k/patch-1
Check if var debugMode exists
2020-09-09 21:21:27 +02:00
Roeland Jago Douma fe5f8c5010 Merge pull request #22600 from nextcloud/dependabot/npm_and_yarn/build/http-proxy-1.18.1
[Security] Bump http-proxy from 1.17.0 to 1.18.1 in /build
2020-09-09 20:55:08 +02:00
Roeland Jago Douma 918d1f68b5 Merge pull request #22634 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-09-09 20:53:26 +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
dependabot[bot] cb76d6a872 Bump blueimp-md5 from 2.17.0 to 2.18.0
Bumps [blueimp-md5](https://github.com/blueimp/JavaScript-MD5) from 2.17.0 to 2.18.0.
- [Release notes](https://github.com/blueimp/JavaScript-MD5/releases)
- [Commits](https://github.com/blueimp/JavaScript-MD5/compare/v2.17.0...v2.18.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-09 18:37:49 +00:00
Morris Jobke cd563023db Merge pull request #22657 from nextcloud/bugfix/noid/quota-trash-creation
Check if quota should be applied to path when creating directories
2020-09-09 17:37:28 +02:00
Morris Jobke e6fca0a519 Fix code style
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-09 17:36:58 +02:00
Morris Jobke 22ff60e088 Merge pull request #22564 from nextcloud/bugfix/noid/show-avatars-again
The privacy setting is only about syncing to other servers
2020-09-09 17:35:13 +02:00
Morris Jobke 49415eea2c Merge pull request #22660 from nextcloud/dependabot/composer/psalm/phar-3.15
Bump psalm/phar from 3.12.2 to 3.15
2020-09-09 17:10:06 +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
Joas Schilling e280c05053 Merge pull request #22636 from nextcloud/bugfix/noid/initial-stte-cspv3
Make sure that getConfig is still called for browsers that do not support CSPv3
2020-09-09 13:11:59 +02:00
Morris Jobke d8dea5070b Merge pull request #22729 from nextcloud/fix/object_storage_permissions_shortcut
Run stat less often for objectstorages
2020-09-09 10:43:37 +02:00
Nextcloud-PR-Bot 9c57fff01f Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-09-09 04:23:34 +00:00
blizzz 0485e68ecf Merge pull request #22649 from nextcloud/fix/noid/user-settings-event
emit typed event for user management
2020-09-08 23:50:01 +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 9fdeed8cc0 Run stat less often for objectstorages
When we want to get the permissions we now do stat at least 5 times for
each entry. Which is a bit much. Especially since the permssions are all
just in the database already.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-08 14:38:36 +02:00
Julius Härtl 74747163d6 Make sure tests cover the new mkdir behaviour on 0 quota
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-08 11:35:32 +02:00
Joas Schilling c2bef528ef Remove unused members and imports
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-08 10:45:35 +02:00
Roeland Jago Douma 919a8d473b Merge pull request #22646 from nextcloud/bugfix/mimetype-mapping
Fix detecting text/x-php mimetype and secure mimetype mapping
2020-09-08 10:41:09 +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
Roeland Jago Douma ac5f2914c7 Merge pull request #22641 from nextcloud/fix/credentials-store-upgrade-property-undefined
Fix undefined class property access after upgrade from 19 to 20
2020-09-08 10:26:23 +02:00
Roeland Jago Douma 292c86fc29 Merge pull request #22638 from nextcloud/bugfix/noid/dashboard-category-icon
Add icon for dashboard app store category
2020-09-08 09:58:19 +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
dependabot[bot] d46252e0e8 Bump query-string from 5.1.1 to 6.13.1
Bumps [query-string](https://github.com/sindresorhus/query-string) from 5.1.1 to 6.13.1.
- [Release notes](https://github.com/sindresorhus/query-string/releases)
- [Commits](https://github.com/sindresorhus/query-string/compare/v5.1.1...v6.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-09-08 07:11:57 +00:00
John Molakvoæ c436e5db16 Merge pull request #22712 from nextcloud/fix/dependabot-config
Delete dependabot.yml
2020-09-08 09:11:23 +02:00
John Molakvoæ 28df9239bb Delete dependabot.yml 2020-09-08 08:56:33 +02:00
dependabot[bot] 94b228dca1 Update behat/behat requirement in /build/integration
Updates the requirements on [behat/behat](https://github.com/Behat/Behat) to permit the latest version.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.6.1...v3.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-08 06:37:56 +00:00
dependabot[bot] 20e6d04a69 Bump karma-viewport from 1.0.6 to 1.0.7 in /build
Bumps [karma-viewport](https://github.com/squidfunk/karma-viewport) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/squidfunk/karma-viewport/releases)
- [Changelog](https://github.com/squidfunk/karma-viewport/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/karma-viewport/compare/1.0.6...1.0.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-08 06:37:47 +00:00
dependabot[bot] 49941335d4 Bump psalm/phar from 3.12.2 to 3.15
Bumps [psalm/phar](https://github.com/psalm/phar) from 3.12.2 to 3.15.
- [Release notes](https://github.com/psalm/phar/releases)
- [Commits](https://github.com/psalm/phar/compare/3.12.2...3.15)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-08 06:37:34 +00:00
John Molakvoæ 90b1244d10 Merge pull request #22642 from nextcloud/dependabot/config
Move to automated dependabot merging
2020-09-08 08:36:26 +02:00
John Molakvoæ (skjnldsv) d939f2fa5a Split target-branch between stablexx branches until it supports Arrays
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-08 08:32:14 +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
Julius Härtl 87e5fd0d2c Check if quota should be applied to path when creating directories
This fixes an issue where the files_trashbin hierarchy of a user could
not been created as the mkdir operations were blocked by the quota
storage wrapper. Even with 0 quota, users should be able to have a
trashbin for external storages.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-08 07:33:57 +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 34d2ae25f7 Merge pull request #22643 from nextcloud/bugfix/noid/fix-installing-on-oracle
Fix installing on Oracle
2020-09-07 20:55:50 +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
Julius Härtl 16b9817358 Add text/x-php as an alternative for application/x-php
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-07 16:43:00 +02:00
Julius Härtl 5e4303b1fe Properly add both mimetypes to secure mimetype mapping
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-07 16:42:11 +02:00
John Molakvoæ 47e7257c80 Merge pull request #22639 from nextcloud/feature/20916/move-unified-search-to-ocs-api
Move unified search to OCS api
2020-09-07 16:16:10 +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
John Molakvoæ (skjnldsv) 91e463ff00 Move to automated dependabot merging
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-07 14:45:53 +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
Christoph Wurst adf100a42f Fix undefined class property access after upgrade from 19 to 20
The serialized data in 19 has one property less and this was not
considered in the code. Hence adding a fallback. Moreover I'm changing
the deserialization into an array instead of object, as that is the
safer option.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-09-07 13:31:24 +02:00
Joas Schilling 50230847ce Warn about adding NotNull columns with nullable default
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-07 13:14:49 +02:00
Joas Schilling 5e3c4f9609 Fix installing on Oracle
Empty strings are stored as null in Oracle,
so a column with NotNull can not have an empty string as default

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-07 11:58:34 +02:00
blizzz 3eb748fc39 Merge pull request #22589 from nextcloud/bugfix/noid/allow-additional-personal-settings-via-normal-registration
Allow additional personal settings via normal registration
2020-09-07 11:34:06 +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 fea294bb29 Move unified search to OCS api
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-07 11:06:46 +02:00
Julien Veyssier 9093570c4a Merge pull request #22637 from nextcloud/bugfix/noid/fix-css-selector-for-status-icon
Fix weather status icon selector with nextcloud/vue update
2020-09-07 10:53:54 +02:00
Roeland Jago Douma 86e90eaf64 Merge pull request #22617 from nextcloud/dependabot/npm_and_yarn/babel/core-7.11.6
Bump @babel/core from 7.11.4 to 7.11.6
2020-09-07 10:38:01 +02:00
Julius Härtl 402f85a15e Add icon for dashboard app store category
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-07 10:17:54 +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
Julius Härtl a9f39bf500 Make sure that getConfig is still called for browsers that do not support CSPv3
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-07 09:37:49 +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
dependabot-preview[bot] ec46fd0586 Bump sass-loader from 9.0.3 to 10.0.2
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 9.0.3 to 10.0.2.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v9.0.3...v10.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 06:51:29 +00:00
dependabot-preview[bot] 2829a96429 Bump @babel/core from 7.11.4 to 7.11.6
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.4 to 7.11.6.
- [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.11.6/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 06:51:27 +00: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
Roeland Jago Douma e4dff77f8d Merge pull request #22605 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-09-06 19:46:07 +02:00
Nextcloud-PR-Bot 14baa52a1a Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-09-06 04:22:33 +00: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
Raimund Schlüßler 36076d234a Increase html body height to full content height
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2020-09-05 20:37:01 +02: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
Roeland Jago Douma c538b1e4c6 Merge pull request #22597 from nextcloud/techdebt/noid/allow-to-di-the-settings-manager
Add missing alias for OCP\Settings\IManager and deprecate the old one
2020-09-04 20:22:52 +02:00
dependabot-preview[bot] 3e9359f930 [Security] Bump http-proxy from 1.17.0 to 1.18.1 in /build
Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.17.0 to 1.18.1. **This update includes a security fix.**
- [Release notes](https://github.com/http-party/node-http-proxy/releases)
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.17.0...1.18.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-04 18:10:40 +00: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
John Molakvoæ b9b3b09656 Merge pull request #22596 from nextcloud/build-weather-status
Build weather-status to solve design issues
2020-09-04 19:50:30 +02:00
Julien Veyssier ceb282892a build weather-status to solve design issues
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-09-04 16:55:48 +00:00
Julien Veyssier e8f37dd2b2 refs #22468 fix empty php array becoming an array instead of an object in UI
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-09-04 18:19:46 +02:00
Joas Schilling 770d12d191 Add missing alias for OCP\Settings\IManager and deprecate the old one
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-04 16:39:01 +02:00
Joas Schilling 921ee80c14 Don't keep menu open for next user after deleting one
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-04 15:58:43 +02:00
Joas Schilling 3c62767873 Merge pull request #22577 from nextcloud/bugfix/noid/better-error-when-chunk-assembling-is-denied
Better error message when blocked by access control
2020-09-04 15:50:11 +02:00
Joas Schilling cb146c8486 Allow additional personal settings via normal registration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-04 15:21:48 +02:00
timm2k 4a352befca Check if var debugMode exists
Closes #21150 a second time.
2nd appearance of debugMode may not seen in first fix.
2020-09-04 13:50:14 +02:00
Roeland Jago Douma 24d1d93d9f Merge pull request #22573 from nextcloud/bugfix/noid/tooltip-dashboard-firstrun
Remove tooltip on customize button in dashboard
2020-09-04 13:34:49 +02:00
Arthur Schiwon aa2d754d5c add repair step to clean up DB off lastFeatureRefresh entries in user prefs
- also removes related app setting "updateAttributesInterval"

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-04 12:59:57 +02:00
Arthur Schiwon 699871dcb0 these code bits were part of old logic that was already refactored out
- only references were in unit tests

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-04 12:56:43 +02:00
John Molakvoæ d9b3c759c1 Merge pull request #22540 from nextcloud/bugfix/noid/fix_status_nc2.6_regressions
Adapt status menu styles to nc/vue 2.6
2020-09-04 10:37:37 +02:00
Roeland Jago Douma 56fdd4d47b Merge pull request #22578 from nextcloud/up/files_external/smb
Upgrade icewind/smb to 3.2.7
2020-09-04 10:26:21 +02:00
Joas Schilling e690f0e7e3 Merge pull request #22550 from nextcloud/bugfix/13556/use-correct-root-when-compiling-scss
Use the correct root to determinate the webroot for the resource
2020-09-04 08:58:07 +02:00
Roeland Jago Douma 89ce8d50e0 Upgrade icewind/smb to 3.2.7
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-04 08:57:27 +02:00
Joas Schilling 3fb6a625aa Better error message when blocked by access control
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-04 08:51:35 +02:00
Julius Härtl b0970f86f0 Update repair step apply new opendocument template mimes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-04 08:42:32 +02:00
Julius Härtl b759b40f24 Remove tooltip on customize button in dashboard
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-04 08:14:22 +02:00
Nextcloud bot 84fe4447a7 [tx-robot] updated from transifex 2020-09-04 02:17:18 +00:00
Roeland Jago Douma c205faca80 Merge pull request #21082 from nextcloud/enh/noid/apps-settings
Show changelog in apps management
2020-09-03 22:13:27 +02:00
Roeland Jago Douma 7b6f6856e4 Merge pull request #22524 from nextcloud/fix/apppassword_update
Fix app password updating out of bounds
2020-09-03 22:00:25 +02:00
Julius Härtl 7a1748e6f0 Show changelog in apps management
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-09-03 19:16:13 +00:00
Roeland Jago Douma 0452877a67 Fix app password updating out of bounds
When your password changes out of bounds your Nextcloud tokens will
become invalid. There is no real way around that. However we should make
sure that if you successfully log in again your passwords are all
updates

* Added event listener to the PostLoggedInEvent so that we can act on it
  - Only if it is not a token login
* Make sure that we actually reset the invalid state when we update a
  token. Else it keeps being marked invalid and thus not used.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-03 21:13:36 +02:00
Georg Ehrke 4bc5dcc34c Fix status menu styles after nc/vue 2.6 upgrade
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-03 16:15:58 +02:00
Joas Schilling a4b2403e29 The privacy setting is only about syncing to other servers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-03 15:46:21 +02:00
Roeland Jago Douma b7edc61a83 20 beta 4
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-03 14:48:42 +02:00
Roeland Jago Douma 5826b75c40 Merge pull request #22455 from nextcloud/version/20.0.0/beta3
20 Beta3
2020-09-03 13:09:03 +02:00
blizzz d20a11f171 Merge pull request #22556 from nextcloud/bugfix/noid/cleanup-part-file
Do not keep the part file if the forbidden exception has no retry set
2020-09-03 13:01:08 +02:00
blizzz be223d1e46 Merge pull request #22557 from nextcloud/bugfix/noid/group-share-failure
Do not fail if share for mountpoint is no longer available
2020-09-03 12:59:45 +02:00
Julius Härtl f96853a19c Do not fail if share for mountpoint is no longer available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-03 11:17:59 +02:00
Julius Härtl 4cf29e598d Do not keep the part file if the forbidden exception has retry set to false
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-03 11:00:24 +02:00
John Molakvoæ 6a3b649e93 Merge pull request #22111 from nextcloud/enh/unified-search-filters 2020-09-03 10:25:55 +02:00
Roeland Jago Douma 39cc193bf7 Merge pull request #22528 from nextcloud/bug/22475/trash-bin-size
Change free space calculation
2020-09-03 09:28:48 +02:00
Roeland Jago Douma b62d144886 Merge pull request #22545 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-09-03 09:28:13 +02:00
Daniel Calviño Sánchez 96821945fb Adjust acceptance tests to changes in @nextcloud/vue 2.6.3
The menu button and the menu of a share are no longer direct childs of
the actions of the share row. The menu button is now a child of a
".trigger" element, while the menu is a direct child of the body and has
an id defined in the "aria-describedby" attribute of the ".trigger"
element.

In XPath 1.0 it does not seem possible to "backreference" a value or
create variables, so when the share menu or one of its item is needed
now the ".trigger" element is first found and then its XPath expression
is used to compose its "aria-describedby" attribute in the XPath
expression for the menu.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-03 09:09:26 +02:00
John Molakvoæ (skjnldsv) 43243ce298 Bump @nextcloud/vue to v2.6.3
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-03 09:03:10 +02:00
John Molakvoæ (skjnldsv) f04b182b94 Fix search placeholder animation & dark theme compatibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-03 09:03:10 +02:00
John Molakvoæ (skjnldsv) f359529555 Allow unified search filtering
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-03 09:03:09 +02:00
Julius Härtl 3560aa80f0 Add opendocument templates to mimetype mappings
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-03 08:53:41 +02:00
Nextcloud-PR-Bot 7511885c15 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-09-03 04:22:57 +00:00
Nextcloud bot 63ac3615c5 [tx-robot] updated from transifex 2020-09-03 02:16:37 +00:00
Brad Rubenstein 442af8c5d5 Minor cleanup: php-cs-fixer, tests, interface consistency
IMipPlugin.php Removed blank lines to make php-cs-fixer happy.
Minor cleanup:  bugs found by Psalm static checker
IEMailTemplate: The public interface to addBodyListItem also needs to include the new plainIndent parameter.
IMipPlugin: Fixes an undefined variable for events that do not have DTEND.  Also use explicit string conversion for parameters and properties in several places.

The new email template adds an additional blank line before "button" links in plain text, so the tests were fixed to include that additional blank line.

Signed-off-by: Brad Rubenstein <brad@wbr.tech>
2020-09-02 17:54:36 +02:00
Joas Schilling 87aa9b187e Use the correct root to determinate the webroot for the resource
Since all the compiled routes are based on the server webroot,
we have to use this, independent from which app this belongs to.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-02 17:13:24 +02:00
John Molakvoæ 34aca46325 Merge pull request #22526 from nextcloud/feature/unified-search/emit-query
Emit unified search query
2020-09-02 09:27:58 +02:00
Raimund Schlüßler 7abfaadc54 Emit unified search query
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-09-02 06:04:10 +00:00
Nextcloud bot d1ea6e09bc [tx-robot] updated from transifex 2020-09-02 02:17:10 +00:00
Roeland Jago Douma 6bda2c26c7 Merge pull request #22423 from nextcloud/bugfix/noid/direct-editing-encryption
Do not expose direct editing if no master key is available
2020-09-01 20:32:21 +02:00
Christoph Wurst 2b192e7061 Merge pull request #22535 from nextcloud/fix/zipstreamer_external_storage
Only disable zip64 if the size is known
2020-09-01 15:40:46 +02:00
Roeland Jago Douma ab6bd79c02 Only disable zip64 if the size is known
Else we might run into the issue that for an external storage where the
size is not known yet we do not use zip64. Which then of course fails on
large zip files.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-01 15:01:12 +02:00
blizzz f32c84a29f Merge pull request #22533 from nextcloud/fix/noid/rm-matcher-magic
Flow: do not hide "matches" and "does not match" checkers
2020-09-01 11:55:57 +02:00
Julius Härtl e0ae37745a Do not expose direct editing if no master key is available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-01 11:40:27 +02:00
Daniel Kesselberg ac8051ee0c Tests only: Forward calls to getUserValue and getAppValue
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-09-01 11:39:26 +02:00
Arthur Schiwon 2a00c47943 do not hide "matches" and "does not match" checkers
- they show up previously with / typed – end user needs to know about it
- inconsistent with some other fields, that show it directly

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-01 10:29:46 +02:00
dependabot-preview[bot] 823f94bb01 Merge pull request #22491 from nextcloud/dependabot/npm_and_yarn/dompurify-2.0.14 2020-09-01 06:55:07 +00:00
Roeland Jago Douma d0a7f833cc Merge pull request #22116 from nextcloud/bugfix/noid/transfer-ownership-share-root
Fix share transfer of single files and on the transfered node
2020-09-01 08:50:22 +02:00
Roeland Jago Douma e0d767d3e1 Merge pull request #16632 from nextcloud/bugfix/external-reshare
Set proper root path for single file shares originating from other storages
2020-09-01 08:48:31 +02:00
dependabot-preview[bot] ec986af726 Bump dompurify from 2.0.12 to 2.0.14
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.12 to 2.0.14.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.12...2.0.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-09-01 06:19:50 +00:00
Nextcloud bot 023d18bc40 [tx-robot] updated from transifex 2020-09-01 02:16:09 +00:00
Daniel Kesselberg 2513b64602 Change free space calculation
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-31 23:11:10 +02:00
Roeland Jago Douma 8dd249937f Merge pull request #22514 from nextcloud/fix/s3/only_delete_new_failed
Fix S3 error handling
2020-08-31 19:03:24 +02:00
Georg Ehrke 6b835e3c1d Merge pull request #22424 from nextcloud/feature/noid/dnd_will_mute_notifications
User Status: Display hint that DND mutes all notifications
2020-08-31 17:45:24 +02:00
Robin Appelman a792a51dca dont use false as cache key for non utf8 path in normalizePath
since `json_encode` returns `false` if it's input isn't utf8, all non utf8 paths passed to normalizePath will currently return the same cached result.

Fixing this makes working with non utf8 storages a *little* bit more possible for apps

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-31 17:29:36 +02:00
Robin Appelman 6b9b88f8b7 Merge pull request #22517 from nextcloud/external-mount-id-before-wrapper
set the mount id before calling storage wrapper
2020-08-31 15:19:51 +00:00
Georg Ehrke dbef68b397 User Status: Display hint that DND mutes all notifications
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-31 16:55:54 +02:00
dependabot-preview[bot] 1c22004bf4 Merge pull request #22494 from nextcloud/dependabot/npm_and_yarn/underscore-1.11.0 2020-08-31 14:44:33 +00:00
Robin Appelman 81c5aa9819 set the mount id before calling storage wrapper
this allows the storage wrapper to use the mount id for it's own logic

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-31 16:38:47 +02:00
dependabot-preview[bot] 9aacfa5cea Bump underscore from 1.10.2 to 1.11.0
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.10.2 to 1.11.0.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.10.2...1.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-31 14:03:41 +00:00
dependabot-preview[bot] 9d9a69332b Merge pull request #22459 from nextcloud/dependabot/npm_and_yarn/nextcloud/dialogs-2.0.1 2020-08-31 13:41:58 +00:00
blizzz 849c13f202 Merge pull request #22472 from nextcloud/fix/contacts-interaction-blob-postgres
Fix writing BLOBs to postgres with recent contacts interaction
2020-08-31 15:07:22 +02:00
Julius Härtl ac2999a26a Transfer shares of the transferred root node
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-31 14:23:34 +02:00
Roeland Jago Douma 789b33aba4 Only update the filecache entry once the file has been written to S3
If we already update before we have no way to revert if the upload
fails.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-31 12:28:04 +02:00
Roeland Jago Douma 6ffd7173f9 Don't lose filecache entry on s3 overwrite error
If the object store errors we should not always delete the filecache
entry. As this might lead to people losing access to their files.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-31 12:25:20 +02:00
dependabot-preview[bot] 2ebc14abb7 Bump @nextcloud/dialogs from 1.4.0 to 2.0.1
Bumps [@nextcloud/dialogs](https://github.com/nextcloud/nextcloud-dialogs) from 1.4.0 to 2.0.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.4.0...v2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-31 09:21:36 +00:00
Roeland Jago Douma 7c8a8dc143 Merge pull request #22511 from nextcloud/fix/oca-search-monkey-patch
Declare OCA.Search  directly, not via a monkey patch
2020-08-31 11:04:49 +02:00
Christoph Wurst e2d209536f Declare OCA.Search directly, not via a monkey patch
Apps could use OCA.Search very early on a page load without a problem
prior to Nextcloud 20 (current master). Since the unified search work
moved some code around, it now was added later, resulting in `TypeError:
OCA.Search is not a constructor` errors if the apps did not wrap their
calls in a `DOMLoaded` event handler.

To ensure existing code continues to work without modification, this
patch moves the declaration of the `OCA.Search` API to where we defined
`OCA`, instead of monkey-patching it later on.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-31 10:31:12 +02:00
Roeland Jago Douma 8c9f3a5f5e Merge pull request #22502 from nextcloud/fix/12302/oauth2_table
Pimp Oauth2 table
2020-08-31 09:49:02 +02:00
Roeland Jago Douma 5659e69cd8 Pimp Oauth2 table
Fixes #12302

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-31 07:48:07 +02:00
Nextcloud bot 5fb1d8d3be [tx-robot] updated from transifex 2020-08-31 02:16:10 +00:00
Roeland Jago Douma c43189beae Merge pull request #22476 from nextcloud/setting-sections-unique
ignore duplicate setting sections
2020-08-30 21:15:50 +02:00
Roeland Jago Douma 5d4c4b54e6 Merge pull request #22481 from nextcloud/fix-clicks-on-actions-menu-of-non-opaque-file-rows-in-acceptance-tests
Fix clicks on actions menu of non opaque file rows in acceptance tests
2020-08-30 20:07:13 +02:00
Roeland Jago Douma 6a40e96853 Merge pull request #22490 from nextcloud/dependabot/npm_and_yarn/webpack-node-externals-2.5.2
Bump webpack-node-externals from 2.5.1 to 2.5.2
2020-08-30 20:06:10 +02:00
Nextcloud bot 41d95d9e5a [tx-robot] updated from transifex 2020-08-30 02:16:07 +00:00
dependabot-preview[bot] e80fd79825 Bump webpack-node-externals from 2.5.1 to 2.5.2
Bumps [webpack-node-externals](https://github.com/liady/webpack-node-externals) from 2.5.1 to 2.5.2.
- [Release notes](https://github.com/liady/webpack-node-externals/releases)
- [Commits](https://github.com/liady/webpack-node-externals/compare/v2.5.1...v2.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-29 17:20:31 +00:00
Nextcloud bot 2bc4094deb [tx-robot] updated from transifex 2020-08-29 02:17:47 +00:00
Daniel Calviño Sánchez 034b7bd4a9 Fix clicks on actions menu of non opaque file rows in acceptance tests
When a row is added to the file list the opacity of the file row is
animated from transparent to fully opaque. As the file actions menu is a
descendant of the row but overflows it when the row is not fully opaque
clicks on the menu entries "fall-through" and are received instead by
the rows behind.

The opacity animation is a CSS animation, and it is not possible to know
if a row is appearing or not except from its opacity (the row will have
the "appear" CSS class even after the animation ended). Therefore it
should be waited until the row of the file is fully opaque before using
the menu.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-08-29 03:32:14 +02:00
Robin Appelman eb4154cee0 ignore duplicate setting sections
this prevents some 'Section with the same ID already registered' errors in the log

also includes an improvement of the error message to make other cases easier to find

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-28 17:06:48 +02:00
Roeland Jago Douma 7b8364e001 Merge pull request #21288 from lmamane/master
Return correct loginname in credentials
2020-08-28 16:11:46 +02:00
Christoph Wurst 3bc54bfd06 Fix writing BLOBs to postgres with recent contacts interaction
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-28 14:30:33 +02:00
Robin Appelman af381a9a93 remove unneeded if
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-28 11:43:23 +02:00
Robin Appelman 2879472f81 trim slashes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-28 11:14:50 +02:00
Julius Härtl 7512dc2b34 Set proper root path for single file shares originating from other storages
Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-28 10:50:15 +02:00
Roeland Jago Douma 286bf2b84f Merge pull request #22463 from nextcloud/Valdnet-patch-3
l10n: Add a period at the end of the sentence
2020-08-28 08:47:01 +02:00
Nextcloud bot 40e2339151 [tx-robot] updated from transifex 2020-08-28 02:16:21 +00:00
Valdnet ef44404c12 Removing the added parentheses 2020-08-27 22:07:45 +02:00
Valdnet d89e02c805 Add the missing parenthesis 2020-08-27 21:51:25 +02:00
Valdnet dc8f63bb0b l10n: Add a period at the end of the sentence 2020-08-27 18:55:47 +02:00
Roeland Jago Douma abdb201c04 Merge pull request #22362 from nextcloud/dependabot/npm_and_yarn/nextcloud-vue-collections-0.8.1
Bump nextcloud-vue-collections from 0.7.2 to 0.8.1
2020-08-27 15:52:34 +02:00
Roeland Jago Douma a831165135 Merge pull request #22450 from nextcloud/bugfix/22433/user_status_app_icon_coloring
UserStatus: Fix app icon visibility in apps management
2020-08-27 15:34:44 +02:00
Roeland Jago Douma 1a312c4d2a Merge pull request #22454 from nextcloud/bugfix/noid/fix_double_escaping_status_dashboard
Fix double escape of user-status in Dashboard widget
2020-08-27 15:02:04 +02:00
Roeland Jago Douma 2c6c5fece6 Merge pull request #22458 from nextcloud/fix/weather-status-navigate-error
Hide error if a background request fails during navigation
2020-08-27 14:59:57 +02:00
dependabot-preview[bot] cc60e58c63 Bump nextcloud-vue-collections from 0.7.2 to 0.8.1
Bumps [nextcloud-vue-collections](https://github.com/juliushaertl/nextcloud-vue-collections) from 0.7.2 to 0.8.1.
- [Release notes](https://github.com/juliushaertl/nextcloud-vue-collections/releases)
- [Commits](https://github.com/juliushaertl/nextcloud-vue-collections/compare/v0.7.2...v0.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-27 11:57:24 +00:00
Christoph Wurst ceffbe9f6d Hide error if a background request fails during navigation
If you open the dashboard but quickly navigate somewhere else, a toast
will show telling you that the weather status could not be fetched. As a
user I don't care about this. This is only relevant if the user intents
to no leave the page.

So let's not show a toast for aborted connections. This makes the UX a
tad smoother.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-27 13:19:12 +02:00
Roeland Jago Douma c772df81c3 20 Beta3
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-27 10:47:31 +02:00
Georg Ehrke 67bbfda481 Fix double escape of user-status in Dashboard widget
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-27 10:42:48 +02:00
Roeland Jago Douma aad30d3b33 Merge pull request #22447 from nextcloud/enh/phpdoc
Use proper branch name in phpdoc builds
2020-08-27 10:28:30 +02:00
Roeland Jago Douma ab4f15037b Merge pull request #22352 from nextcloud/version/20.0.0-beta2
20 Beta 2
2020-08-27 10:27:31 +02:00
Georg Ehrke 7ee9024223 App Icons need to be white
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-27 10:05:12 +02:00
Julius Härtl 9dc23867c6 Use proper branch name in phpdoc builds
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-27 08:47:16 +02:00
John Molakvoæ c1bba2d46a Merge pull request #22420 from nextcloud/fix/unified-search-ellipsized-title-subline
Make ellipsized unified search results visible on hover
2020-08-27 08:22:03 +02:00
John Molakvoæ 94a04d905d Merge pull request #22440 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-dashboard-0.1.8
Bump @nextcloud/vue-dashboard from 0.1.3 to 0.1.8
2020-08-27 08:15:42 +02:00
Nextcloud bot f6ad09ad58 [tx-robot] updated from transifex 2020-08-27 02:16:40 +00:00
Georg Ehrke 9ff7f5836c Merge pull request #22425 from nextcloud/bugfix/noid/status_icons_coloring
User-status: Fix icon coloring
2020-08-26 22:49:14 +02:00
Roeland Jago Douma b5e9f7e846 Merge pull request #22432 from nextcloud/enh/phpdoc
Add php docs build script
2020-08-26 21:18:11 +02:00
Roeland Jago Douma 7685d1fc61 Merge pull request #22421 from nextcloud/group-folder-quota-warning
show better quota warning for group folders and external storage
2020-08-26 21:15:47 +02:00
dependabot-preview[bot] 25acc8b509 Bump @nextcloud/vue-dashboard from 0.1.3 to 0.1.8
Bumps [@nextcloud/vue-dashboard](https://github.com/nextcloud/nextcloud-vue-dashboard) from 0.1.3 to 0.1.8.
- [Release notes](https://github.com/nextcloud/nextcloud-vue-dashboard/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue-dashboard/compare/v0.1.3...v0.1.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-26 18:39:17 +00:00
Christoph Wurst 06f8c54386 Make ellipsized unified search results visible on hover
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-26 20:29:59 +02:00
Julius Härtl 45a474071e Remove @package annotations from public namespace
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-26 16:59:40 +02:00
Roeland Jago Douma df99d8f0e0 Merge pull request #22134 from nextcloud/merge-calendar-activity-settings
merge activity settings for calendars, events and todos
2020-08-26 15:56:27 +02:00
Robin Appelman 06ae93b270 fix tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-26 15:46:24 +02:00
Robin Appelman 460db942a0 Update apps/dav/lib/CalDAV/Activity/Setting/CalDAVSetting.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2020-08-26 12:20:46 +00:00
Julius Härtl 94c0ca4b8c Remove wrongly annotated package names
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-26 12:35:27 +02:00
John Molakvoæ cb2695df8d Merge pull request #17536 from nextcloud/enh/noid/expose-current-filelist
Expose currently active file list though OCA.Files.App
2020-08-26 11:57:18 +02:00
Roeland Jago Douma 4298442940 Merge pull request #22392 from nextcloud/bugfix/noid/dashboard-loading-til-moutned
Dashboard polishing
2020-08-26 11:23:58 +02:00
Roeland Jago Douma 75f4b807f3 Merge pull request #22431 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-08-26 11:23:18 +02:00
Joas Schilling 2056510214 Merge pull request #22422 from nextcloud/fix/unified-search-pagination
Add the missing cursor parameter to unified search requests
2020-08-26 10:15:12 +02:00
Joas Schilling 97a1784065 Provide from on the search query too
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-26 09:48:03 +02:00
Christoph Wurst 904badad56 Add the missing cursor parameter to unified search requests
Otherwise paginated search does not work. Basically you always requested
the first x items and then showed them again and again. The second or
any other subsequent page was never requested.

On a side note this also caused lots of Vue warning due to duplicate
keys.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-26 09:45:21 +02:00
Julius Härtl 8c33bfe86b Add php docs build script
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-26 08:32:42 +02:00
Nextcloud-PR-Bot bc7abbdb85 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-08-26 04:21:23 +00:00
Nextcloud bot 00459adfa2 [tx-robot] updated from transifex 2020-08-26 02:16:29 +00:00
Julius Härtl d5e854e7ef Expose currently active file list though OCA.Files.App
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-25 22:42:44 +02:00
Jan C. Borchardt e4df8b6657 Fix Dashboard CSS indentation
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-25 18:42:35 +00:00
Jan C. Borchardt 7502510b7b Fix Dashboard background blur for Safari and iOS Safari
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-25 20:30:43 +02:00
Jan C. Borchardt c8d92ba6f9 Add shadow behind navigation when Dashboard is scrolled
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-25 20:30:43 +02:00
Julius Härtl fe3374d843 Add body class when dashboard is scrolled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-25 20:30:43 +02:00
Julius Härtl d4502823f4 Add loading indicator until the widget is mounted
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-25 20:30:41 +02:00
Roeland Jago Douma ed5b90b38a Merge pull request #22369 from nextcloud/dependabot/npm_and_yarn/vue-and-vue-template-compiler-2.6.12
Bump vue and vue-template-compiler
2020-08-25 20:25:17 +02:00
Robin Appelman aadf0f6f87 move calendar settings into their own group
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-25 19:11:28 +02:00
Georg Ehrke 8b97e28efb User-status: Fix icon coloring
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-25 18:08:46 +02:00
Robin Appelman c077c15875 show better quota warning for group folders and external storage
instead of showing the generic 'Your storage is full' message, better explain that it's the group folder/external storage that is full

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-25 16:05:16 +02:00
dependabot-preview[bot] 4612fbec0f Bump vue and vue-template-compiler
Bumps [vue](https://github.com/vuejs/vue) and [vue-template-compiler](https://github.com/vuejs/vue). These dependencies needed to be updated together.

Updates `vue` from 2.6.11 to 2.6.12
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/compare/v2.6.11...v2.6.12)

Updates `vue-template-compiler` from 2.6.11 to 2.6.12
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/compare/v2.6.11...v2.6.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-25 12:04:16 +00:00
Joas Schilling 0934aee46b Merge pull request #22359 from nextcloud/fix/noid/flow-leaking-scope
fix possible leaking scope in Flow
2020-08-25 10:40:26 +02:00
Nextcloud bot b287760694 [tx-robot] updated from transifex 2020-08-25 02:17:40 +00:00
Roeland Jago Douma 7e6f04490e Merge pull request #22393 from nextcloud/fix/license-headers-20
Update the license headers for Nextcloud 20
2020-08-24 22:03:00 +02:00
Jan C. Borchardt 487d17dd55 Merge pull request #22357 from nextcloud/enh/dashboard/toggle-statuses
Ability to toggle statuses in dashboard
2020-08-24 19:29:49 +02:00
John Molakvoæ 111496c7cd Merge pull request #22394 from nextcloud/fix/share-federation-missing-fn
Fix missing FN from federated contact
2020-08-24 18:05:00 +02:00
Joas Schilling df857604d5 Merge pull request #21894 from nextcloud/fix-file-quota
fix: file quota was not applied in all cases
2020-08-24 15:48:48 +02:00
John Molakvoæ 77a31b566e Merge pull request #22376 from nextcloud/design/wording-leave-share 2020-08-24 15:23:55 +02:00
John Molakvoæ (skjnldsv) 6d576a9100 Fix missing FN from federated contact
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-24 15:15:32 +02:00
Christoph Wurst 2a054e6c04 Update the license headers for Nextcloud 20
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-24 14:54:25 +02:00
Joas Schilling d5edd71ab2 Make the tick always white
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-24 14:29:34 +02:00
Joas Schilling 0308d2f922 Make the recent status icon dark theme compatible
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-24 14:28:59 +02:00
blizzz bf162d08f5 Merge pull request #22358 from nextcloud/fix/noid/flow-icon-size-and-alignment
fix event icon sizes and text alignment
2020-08-24 14:11:41 +02:00
John Molakvoæ dd054f0bdb Merge pull request #22382 from nextcloud/bugfix/22380
Add repair step to remove old dashboard app config
2020-08-24 14:00:41 +02:00
Arthur Schiwon 28c0eea8cb fix possible leaking scope in Flow
- a configured flow can be brought into consideration, despite its event
  was not fired
- it could either run through
- or run into a RuntimeException and killing processing of valid flows

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-24 13:44:01 +02:00
Roeland Jago Douma 341466be14 Merge pull request #22385 from nextcloud/bump/crl
Update the CRL
2020-08-24 13:24:29 +02:00
Roeland Jago Douma ded4cd9893 Merge pull request #22361 from nextcloud/dependabot/npm_and_yarn/vue-material-design-icons-4.9.0
Bump vue-material-design-icons from 4.8.0 to 4.9.0
2020-08-24 13:05:36 +02:00
npmbuildbot[bot] 130ce7892a Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-24 10:56:57 +00:00
Roeland Jago Douma 90b02938f4 Update the CRL
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-24 12:29:38 +02:00
Julius Härtl 17579c6471 Add repair step to remove old dashboard app config
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-24 10:16:15 +02:00
Roeland Jago Douma 773506a79b Merge pull request #22363 from nextcloud/dependabot/npm_and_yarn/p-queue-6.6.1
Bump p-queue from 6.6.0 to 6.6.1
2020-08-24 09:59:37 +02:00
dependabot-preview[bot] 1d00932eb7 Bump vue-material-design-icons from 4.8.0 to 4.9.0
Bumps [vue-material-design-icons](https://github.com/robcresswell/vue-material-design-icons) from 4.8.0 to 4.9.0.
- [Release notes](https://github.com/robcresswell/vue-material-design-icons/releases)
- [Changelog](https://github.com/robcresswell/vue-material-design-icons/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/robcresswell/vue-material-design-icons/compare/4.8.0...4.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-24 07:35:06 +00:00
Roeland Jago Douma 7334d3d34e Merge pull request #22364 from nextcloud/dependabot/npm_and_yarn/vuedraggable-2.24.1
Bump vuedraggable from 2.24.0 to 2.24.1
2020-08-24 09:31:03 +02:00
Roeland Jago Douma 7fb1e44b53 Merge pull request #22365 from nextcloud/dependabot/npm_and_yarn/webpack-merge-5.1.2
Bump webpack-merge from 5.1.1 to 5.1.2
2020-08-24 09:12:45 +02:00
Roeland Jago Douma 7b7cbe6f36 Merge pull request #22360 from nextcloud/dependabot/npm_and_yarn/babel/core-7.11.4
Bump @babel/core from 7.11.1 to 7.11.4
2020-08-24 09:11:35 +02:00
Nextcloud bot 9e8b6b9995 [tx-robot] updated from transifex 2020-08-24 02:16:45 +00:00
Jan C. Borchardt 5f6db37413 Fix contrast issue in Files app menu
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-23 23:58:53 +02:00
Jan C. Borchardt d192854fea Clarify wording to 'Leave this share', fix #18622
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-23 23:58:38 +02:00
kevin147147 120c0feb57 Fix example usage 2020-08-23 13:22:06 +02:00
Nextcloud bot d9b9de6d7d [tx-robot] updated from transifex 2020-08-23 02:16:43 +00:00
dependabot-preview[bot] e1742c6701 Bump webpack-merge from 5.1.1 to 5.1.2
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/survivejs/webpack-merge/releases)
- [Changelog](https://github.com/survivejs/webpack-merge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v5.1.1...v5.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-22 07:08:47 +00:00
dependabot-preview[bot] 128420d391 Bump vuedraggable from 2.24.0 to 2.24.1
Bumps [vuedraggable](https://github.com/SortableJS/Vue.Draggable) from 2.24.0 to 2.24.1.
- [Release notes](https://github.com/SortableJS/Vue.Draggable/releases)
- [Commits](https://github.com/SortableJS/Vue.Draggable/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-22 07:08:05 +00:00
dependabot-preview[bot] d569e40d68 Bump p-queue from 6.6.0 to 6.6.1
Bumps [p-queue](https://github.com/sindresorhus/p-queue) from 6.6.0 to 6.6.1.
- [Release notes](https://github.com/sindresorhus/p-queue/releases)
- [Commits](https://github.com/sindresorhus/p-queue/compare/v6.6.0...v6.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-22 07:07:18 +00:00
dependabot-preview[bot] 9e0d3ac21a Bump @babel/core from 7.11.1 to 7.11.4
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.1 to 7.11.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.11.4/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-22 07:05:12 +00:00
Nextcloud bot bcbe1e1c9d [tx-robot] updated from transifex 2020-08-22 02:16:27 +00:00
Jan C. Borchardt 8052382a75 Fix wording 'User status' to just 'Status'
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-21 22:02:57 +02:00
Julien Veyssier fd2e4e496c fix checkbox order and icons
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-21 17:05:10 +02:00
Arthur Schiwon 6bdcbeae93 fix event icon sizes and text alignment
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-21 16:28:45 +02:00
Julien Veyssier 3940abcf48 add buttons in modal to toggle all statuses
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-21 15:25:38 +02:00
Julien Veyssier 006157b12f now able to toggle statuses
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-21 14:58:12 +02:00
Georg Ehrke e212862773 Merge pull request #22317 from nextcloud/bugfix/noid/status_ellipsis
Change color of displayname and ellipsis status message
2020-08-21 14:52:11 +02:00
Jan C. Borchardt 432c8a0148 Merge pull request #22319 from nextcloud/enh/dashboard/attributions
Add attributions for weather status in modal
2020-08-21 13:23:20 +02:00
Morris Jobke b91f36dded Merge pull request #22354 from nextcloud/bugfix/noid/fix-dark-theme-selector
Fix dark-theme selector
2020-08-21 13:20:11 +02:00
Morris Jobke 8261d7e07f Merge pull request #20772 from nextcloud/fix/sharee-integration-test
Properly search for users when limittogroups is enabled
2020-08-21 13:18:47 +02:00
Morris Jobke a0cbf16d9b In case the group backend returns $limit or more results it is expected to contain more results
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-21 13:14:32 +02:00
Roeland Jago Douma 51922caa5f Properly search for users when limittogroups is enabled
Searching just for the uid is not enough.
This makes sure this done properly again now.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-21 13:14:32 +02:00
Joas Schilling ace8ff87b8 Fix dark-theme selector
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-21 11:42:50 +02:00
Georg Ehrke d7a1c01e2a Change color of displayname and ellipsis status message
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-21 11:17:21 +02:00
Roeland Jago Douma b22a2665e3 20 Beta 2
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-21 10:26:52 +02:00
Julien Veyssier 18057dbfbb add attributions and warning for external services in modal, sort statuses
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-21 10:26:23 +02:00
Roeland Jago Douma 7c30b612bd Merge pull request #22188 from nextcloud/version/20.0.0-beta1
20.0.0 Beta 1
2020-08-21 09:50:54 +02:00
Morris Jobke 9073a6937d Merge pull request #22347 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-08-21 08:59:35 +02:00
Morris Jobke 0197f94755 20.0.0 Beta 1
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-21 08:44:10 +02:00
Roeland Jago Douma ba6b19886b Merge pull request #22346 from mjanssens/mjanssens-patch1
l10n:Correct appid for WebAuthn
2020-08-21 08:40:02 +02:00
Nextcloud-PR-Bot 067945ff10 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-08-21 04:21:23 +00:00
Nextcloud bot 69482049e6 [tx-robot] updated from transifex 2020-08-21 02:16:43 +00:00
Michiel Janssens 5951c1d1fe l10n:Correct appid for WebAuthn
Signed-off-by: Michiel Janssens <michiel@nexigon.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-20 22:25:32 +00:00
brad2014 b0687b1182 Make icon set for CalDav event presentation, use in iMIP email.
iMIP e-mails were, as a hack, using filetypes icons for caldav
elements (titles, locations).  This commit creates a folder of
caldav element icons. To start, they are used in iMIP emails,
but eventually should be used by any app that wants to have icon
labels for caldav elements.

Signed-off-by: brad2014 <brad2014@users.noreply.github.com>
2020-08-20 22:16:47 +02:00
brad2014 781359a582 iMIP email improvements (take 2)
This PR is a replacement for PR #17195. It is intended to be simpler
to review and approve, with fewer changes, some disabled by default.

It addresses issues #12391 and #13555, with the following changes:

- The plainText of iMIP emails has been upgraded as described in
issue #12391. The HTML design style has not been changed.

- Some of the HTML and plainText content has been rearranged
(simplified header language, moving the event title to from text
body to the first item in the bullet list, spelling corrections,
moving the description to the end of the list), per issue #12391.

- The interface for EMailTemplate has been extended: addBodyListItem
now takes an optional `plainIndent` parameter. Existing callers
see no change. Where new calls set the  new parameter >0, the list
item label (metaInfo) is put in column 1, and the value is indented
into column 2 (properly accounting for multiple lines, if any).

- An optional dav config setting has been added,
`invitation_list_attendees`. It defaults to 'no', leaving emails
unchanged. If set by the site admin to 'yes', then iMIP emails
include, for the organizer and each attendee, their name, email,
and a ✔︎ if they have accepted the invitation.

- Minor refactoring.

Notes:

- The labels for organizers and attendees list items are new, and
require translation/localization.

- Dav config settings are documented in the code, but not in the
Administrator's Guide.

Signed-off-by: brad2014 <brad2014@users.noreply.github.com>
2020-08-20 22:16:47 +02:00
Jan C. Borchardt f9d16edd94 Merge pull request #22340 from nextcloud/dashboard/design-polishing
Some more Dashboard design polishing
2020-08-20 22:05:22 +02:00
Morris Jobke ee8d55002a Merge pull request #22345 from nextcloud/fix/noid/psalm-warnings
Fix psalm warnings
2020-08-20 21:18:25 +02:00
Morris Jobke d58e71f0e6 Fix psalm warnings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 21:12:15 +02:00
Jan C. Borchardt 57b33a7805 Dashboard: Fix status bubbles open but unfocused background
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-20 19:00:32 +00:00
Roeland Jago Douma 6e4b089265 Merge pull request #20891 from cuppett/cuppett/issue#19790
Resolves #19790, Provides Support for IAM Credentials
2020-08-20 20:28:05 +02:00
Roeland Jago Douma 987f621173 Merge pull request #22331 from nextcloud/bugfix/noid/dont-use-deprecated-inigetwrapper
Don't use deprecated getIniWrapper() anymore
2020-08-20 19:45:47 +02:00
Morris Jobke ed1f89ae10 Merge pull request #22342 from nextcloud/fix/noid/psalm-warnings
Fix psalm warnings
2020-08-20 18:36:05 +02:00
Jan C. Borchardt 66b77790fa Dashboard: Suppress scrollbars inside widgets
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 18:32:31 +02:00
Morris Jobke bb8be58386 Fix psalm warnings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 18:30:48 +02:00
Morris Jobke d028423107 Merge pull request #22335 from nextcloud/fix/16017/remove_nc_encryption
Remove encryption option for nextcloud external storage
2020-08-20 18:27:11 +02:00
Jan C. Borchardt f092d9c704 Dashboard: Fix text on background choices
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 18:07:49 +02:00
Jan C. Borchardt b08434b6a8 Adjust design of 'Get more widgets' button
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 18:07:27 +02:00
Jan C. Borchardt d52ca95143 Dashboard: Move panels to more semantically correct h2
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 18:07:07 +02:00
Morris Jobke 65b5e65185 Merge pull request #21529 from nextcloud/enh/encryption/improve_key_format
New SSE key format
2020-08-20 17:41:18 +02:00
John Molakvoæ 0b39e7dca6 Merge pull request #22284 from nextcloud/feature/noid/status_dashboard
"Recent status changes" Dashboard
2020-08-20 17:06:10 +02:00
Jan C. Borchardt 2e82092174 Merge pull request #22327 from nextcloud/dashboard/design-details
Dashboard design details
2020-08-20 17:00:30 +02:00
John Molakvoæ 17be48cccf Merge pull request #22322 from nextcloud/bugfix/noid/only-copy-share-link-when-not-forced-password 2020-08-20 16:54:41 +02:00
Morris Jobke 590d461210 Remove unneeded import
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 16:53:34 +02:00
Morris Jobke 67ecdc969c Merge pull request #20724 from nextcloud/remove-children-non-recursive
Make Cache::removeChildren non recursive
2020-08-20 16:50:33 +02:00
Morris Jobke 8381af626f Accept psalm warning for now
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 16:46:00 +02:00
Morris Jobke 9e483ea949 Fix unit tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 16:35:38 +02:00
Morris Jobke 567e99abe2 Use the DI container also for the Install command registration
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 16:35:38 +02:00
Joas Schilling b09620651c Don't use deprecated getIniWrapper() anymore
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-20 16:35:38 +02:00
Roeland Jago Douma 85406bcaa5 Remove encryption option for nextcloud external storage
Fixes #16017

Since it never worked we should not show it.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-20 16:28:03 +02:00
korelstar d8a80cd45c fix: file quota was not applied in all cases 2020-08-20 16:11:50 +02:00
Morris Jobke 420a3762cb Merge pull request #21797 from rawtaz/patch-1
Include e-mail shares when transferring ownership
2020-08-20 16:08:51 +02:00
Morris Jobke ac73982395 Merge pull request #21734 from nextcloud/external-s3-no-touch
disable touch to update mtime for external s3 storage
2020-08-20 16:07:59 +02:00
Lionel Elie Mamane 2c8e7912f3 adapt testGetLoginCredentialsInvalidTokenLoginCredentials() unit test to uid != loginname
Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2020-08-20 16:02:23 +02:00
Lionel Elie Mamane ac8b40b8b1 Return correct loginname in credentials,
even when token is invalid or has no password.

Returning the uid as loginname is wrong, and leads to problems when
these differ. E.g. the getapppassword API was creating app token with
the uid as loginname. In a scenario with external authentication (such
as LDAP), these tokens were then invalidated next time their underlying
password was checked, and systematically ceased to function.

Co-authored-by: kesselb <mail@danielkesselberg.de>
for: switch to consistent camelCase

Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2020-08-20 16:02:22 +02:00
Julien Veyssier 316c2155f5 build dashboard js
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-20 15:58:08 +02:00
Jan C. Borchardt 2fc732aebf Dashboard: Ellipsize widget headings to one line
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 15:55:50 +02:00
Jan C. Borchardt db42b4691f Dashboard: No need to extend height of widgets if only one column is shown
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 15:55:49 +02:00
Stephen Cuppett 5ef0f86ce7 Resolves #19790, Provides Support for IAM Credentials
Includes support for either leveraging environment variables
passed to the PHP runtime or IAM instance profile present
on the host being used. The default and first choice is
still the parameter file as documented.

See also: https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_credentials_provider.html#chaining-providers

Signed-off-by: Stephen Cuppett <steve@cuppett.com>
2020-08-20 15:54:33 +02:00
Georg Ehrke bd6a6cf3bf Add Status Dashboard
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-20 15:43:34 +02:00
Roeland Jago Douma 5340ab3a75 New SSE key format
* Encrypt the keys with the instance secret
* Store them as json (so we can add other things if needed)

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-20 15:42:43 +02:00
Robin Appelman 5af7d921a9 Make Cache::removeChildren non recursive
Currently the "add new files during scanning" call stack is smaller than
the "remove deleted files during scanning" call stack. This can lead to
the scanner adding folders in the folder tree that are to deep to be
removed.

This changes the `removeChildren` logic to be non recursive so there is
no limit to the depth of the folder tree during removal

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-20 15:37:02 +02:00
Joas Schilling 1da890150d Only copy the link when updating a share or no password was forced
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-20 13:12:06 +00:00
John Molakvoæ 03603db486 Merge pull request #22307 from nextcloud/bugfix/noid/dashboard-background 2020-08-20 14:33:21 +02:00
Morris Jobke ac3569ca1e Merge pull request #22332 from nextcloud/fix/noid/psalm-warnings
Extend psalm baseline to ignore errors for now
2020-08-20 14:32:52 +02:00
Morris Jobke 6cdaadbc57 Merge pull request #13712 from nextcloud/bugfix/noid/do-not-load-all-routes
Only load routes of the app which is requested
2020-08-20 14:32:25 +02:00
Morris Jobke 69bbbc32a1 Extend psalm baseline to ignore errors for now
One is a false positive - see https://github.com/vimeo/psalm/pull/4032

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 14:20:56 +02:00
Georg Ehrke eed3a534ca Merge pull request #22321 from nextcloud/status/icons
User status: Update icons for better visibility
2020-08-20 13:21:07 +02:00
Morris Jobke 886466d510 Run psalm-baseline.xml update once a day
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 12:51:51 +02:00
Morris Jobke 458320e8d7 Revert "This is just to trigger the GitHub scheduled actions registration"
This reverts commit 2e912990ff.
2020-08-20 12:50:57 +02:00
Morris Jobke 2e912990ff This is just to trigger the GitHub scheduled actions registration
It is needed for #22314 and I will revert it right away afterwards.

Sorry for the trouble.

See the answer in https://stackoverflow.com/questions/59560214/github-action-works-on-push-but-not-scheduled
2020-08-20 12:50:27 +02:00
Morris Jobke ebc80dba78 Run update-psalm-baseline action every 5 minutes
For debugging purposed due to a GitHub bug.

See #22325 

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 12:44:03 +02:00
Morris Jobke 1742510b5e Merge pull request #22326 from nextcloud/revert-22325-MorrisJobke-patch-1
Revert "This is just to trigger the GitHub scheduled actions registration"
2020-08-20 12:42:00 +02:00
Morris Jobke 27157051aa Revert "This is just to trigger the GitHub scheduled actions registration" 2020-08-20 12:41:47 +02:00
Morris Jobke e4371725f4 Merge pull request #22325 from nextcloud/MorrisJobke-patch-1
This is just to trigger the GitHub scheduled actions registration
2020-08-20 12:41:23 +02:00
Morris Jobke f255f42991 This is just to trigger the GitHub scheduled actions
It is needed for https://github.com/nextcloud/server/pull/22314 and I will revert it right away afterwards.

Sorry for the trouble.
2020-08-20 12:40:42 +02:00
Morris Jobke ffb132752c Merge pull request #22314 from nextcloud/ci/noid/run-daily-updates-of-psalm-baseline
Generate psalm-baseline.xml PR instead of requiring this from the PR …
2020-08-20 12:39:16 +02:00
Morris Jobke 50784a7c51 Generate psalm-baseline.xml PR instead of requiring this from the PR author itself
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 12:34:29 +02:00
Julien Veyssier 1ce5dbd95f remove background-color for user status and weather status in dashboard, build all
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-20 12:34:15 +02:00
Julius Härtl 8a3016565f Small fixes to cleanup code
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-20 12:27:57 +02:00
Joas Schilling 077e2fec74 Merge pull request #22311 from nextcloud/bugfix/noid/dont-load-all-calendarobjects-into-memory
Don't load all calendar objects into memory
2020-08-20 11:22:37 +02:00
Joas Schilling bdc352ee3f Merge pull request #22320 from nextcloud/bugfix/noid/exclude-bridge-bot-password-of-talk
Exclude the Bridge Bot password as well
2020-08-20 11:18:05 +02:00
Jan C. Borchardt 4a08736a9b User status: Update icons for better visibility
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 10:58:43 +02:00
Joas Schilling 2e4b3cebc6 Exclude the Bridge Bot password as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-20 10:28:35 +02:00
Morris Jobke 6e5d7e40a0 Merge pull request #22313 from nextcloud/fix/dashboard/geolocation
Allow using geolocation in the dashboard
2020-08-20 10:22:59 +02:00
Roeland Jago Douma af3a59fab5 Merge pull request #22237 from nextcloud/bugfix/noid/allow_putContent_empty_string
Allow writing empty content to new file
2020-08-20 09:03:06 +02:00
Roeland Jago Douma f6578b74f4 Allow using geolocation in the dashboard
Else the weather geolocation is kind of useless.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-20 09:00:03 +02:00
Morris Jobke 1f4c029977 Merge pull request #22124 from nextcloud/enh/weather-status
weather status used in dashboard
2020-08-20 08:05:01 +02:00
Joas Schilling 553cda2a6d Don't load all calendar objects into memory
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-20 07:56:25 +02:00
Nextcloud bot 6d21e0f6ff [tx-robot] updated from transifex 2020-08-20 02:17:38 +00:00
Julien Veyssier 143db7f5ee better translations, fix status color, build user status and dashboard
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-20 01:44:53 +02:00
Jan C. Borchardt f0a306c3fe Weather status: Fix small design issues
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-20 00:54:11 +02:00
Julien Veyssier 70d1d1997a new weather status used in dashboard
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-20 00:21:08 +02:00
Morris Jobke d8bdb439a4 Merge pull request #22289 from nextcloud/techdebt/noid/fix-encryption-stream-invalid-scalar-arguments
Cast float to int to avoid invalid scalar argument warning
2020-08-19 22:08:15 +02:00
Morris Jobke 387cac4c5f Properly inject IRouter into URLGenerator to properly encapsulate tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 22:00:47 +02:00
Morris Jobke 053ee7b386 Only load routes of the app which is requested
* Add fallback to load all routes if needed
* Move partial loaded routes test to proper place

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 21:58:20 +02:00
Morris Jobke d3a53d6f39 Merge pull request #22214 from nextcloud/dashboard/design-fixes
Custom dashboard background
2020-08-19 21:55:54 +02:00
Morris Jobke 72df65c810 Fix psalm warnings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 21:55:13 +02:00
Morris Jobke da584462d1 Merge pull request #22018 from nextcloud/bugfix/noid/harden-key-generation
Harden SSE key generation
2020-08-19 20:42:34 +02:00
Morris Jobke 5a064ec28b Fix typo in error message
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 20:42:27 +02:00
Roeland Jago Douma b604d5232e Merge pull request #22218 from nextcloud/enh/sse/make_legacy_cipher_opt_in
SSE: make legacy format opt in
2020-08-19 20:10:45 +02:00
Morris Jobke 4361d65f5f Merge pull request #22041 from nextcloud/feature/noid/typed_events_dav
Add Typed Events for CalDAV- and CardDAV-related Events
2020-08-19 19:34:12 +02:00
Morris Jobke c449d54204 Merge pull request #22304 from nextcloud/techdebt/noid/matching-param-names
Use matching parameter names form interfaces and implementations
2020-08-19 19:34:02 +02:00
Morris Jobke 4c6eb96471 Merge pull request #22280 from nextcloud/bugfix/noid/429-on-brute-force-maximum
Send "429 Too Many Requests" in case of brute force protection
2020-08-19 18:21:01 +02:00
Morris Jobke 4db7829f43 Better psalm CI output
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 18:16:35 +02:00
Morris Jobke fedf9c69d9 Use matching parameter names form interfaces and implementations
Found by Psalm 3.14.1

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 18:16:35 +02:00
Morris Jobke 60be722ee8 Merge pull request #22288 from nextcloud/techdebt/noid/fix-oc_image-invalid-scalar-arguments
Cast float/char to int to avoid invalid scalar argument warning
2020-08-19 17:55:56 +02:00
Julius Härtl 93e671e812 Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:31 +02:00
Julius Härtl e2f71fd322 Only show app store link if user is admin
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt 1c3e95670d Dashboard: fix visual glitch when clicking on active background
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Julius Härtl 2b51b62f94 Add previews
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt 8eff3f02b6 Dashboard: Adjust for dark and high contrast themes
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt 3a3fa036e6 Dashboard: Adjust for dark and high contrast themes
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt 6e92c7212e Dashboard: Finish image list and attribution
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt d1a2482dda Dashboard: Add more feedback for selected background
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Julius Härtl 9a7f7ea5e7 Fix php cs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:29 +02:00
Julius Härtl a4ebef75e9 Fix const visibility
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:29 +02:00
Julius Härtl 1e61cf617a Add active indicator to background selector
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:29 +02:00
Julius Härtl d288a11cee Only invert header buttons
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:29 +02:00
Julius Härtl 551d435f89 Make it possible to define theme header styling per background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Jan C. Borchardt 5932376333 Dashboard: fix HTML structure of background picker
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:28 +02:00
Julius Härtl 135ceb4a9d Fix late night errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Julius Härtl d02a92e870 WIP: Start off with attribution for shipped backgrounds
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Julius Härtl 5661775568 Allow to set a primary color background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Julius Härtl fa2072e36b Fix keyboard navigation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Jan C. Borchardt 38afee82bd Dashboard: Customize modal design improvements
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:28 +02:00
Julius Härtl 8d22d02422 Remove old shipped background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl 9a90351435 Add images
Signed-off-by: Julius Härtl <jus@bitgrid.net>

update images

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl 4118cb0be6 Do not reset background on every save
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl 338f09b04b Push widget metadata to callback
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl b49f814faa Implement background reset and proper shipped setting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl 2535e0ec04 Fix loading as guest
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:26 +02:00
Julius Härtl 4ec0afd0e7 Allow to set a custom background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:26 +02:00
Morris Jobke e93bf71369 Fix the return type of OC_Template->fetchPage() to be string only
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 16:48:06 +02:00
Roeland Jago Douma 2bbb848c31 Add legacy scanning command
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-19 15:45:45 +02:00
Morris Jobke 603d7dab5e Add setup check that links to the migration documentation
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 15:45:45 +02:00
Roeland Jago Douma 8928bbe969 Make legacy cipher opt in
* Systems that upgrade have this enabled by default
* New systems disable it
* We'll have to add some wargning in the setup checks if this is enabled

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-19 15:45:45 +02:00
Georg Ehrke e6433eeb02 Typecast parameter of getAddressBookById
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-19 15:30:13 +02:00
Julius Härtl 1e043d5a24 Move customize button to the bottom
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 13:55:08 +02:00
Julius Härtl a3bcf73408 Sticky header background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 13:55:07 +02:00
Joas Schilling a9f22ac7b1 More test fixing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 12:40:25 +02:00
Roeland Jago Douma bc2b422508 Merge pull request #22299 from nextcloud/enh/noid/show-disabled-user-count-in-userreport
Show disabled user count in occ user:report
2020-08-19 11:23:27 +02:00
Joas Schilling 6f5f71d100 Update autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:21:02 +02:00
Joas Schilling 41d8a7e05f Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:36 +02:00
Joas Schilling 35a8519591 Fix CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:36 +02:00
Joas Schilling 770381c0c6 Correctly return ms delay when at max
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:36 +02:00
Joas Schilling 931aca2fee Add missing default
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:36 +02:00
Joas Schilling d9c4c9eb99 Simplify array filter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:36 +02:00
Joas Schilling dfeee3b850 Fix wrong doc + type hint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:36 +02:00
Joas Schilling 8376c4891f Only throw when also the last 30 mins were attacking
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:36 +02:00
Joas Schilling 6f751d01db Make the throttling O(2^n) instead of O(n^n)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:36 +02:00
Joas Schilling 64539a6ee1 Make Throttler strict
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:36 +02:00
Joas Schilling c8fea66d65 Split delay calculation from getting the attempts
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:35 +02:00
Joas Schilling cdb36c8ead Let the database count the entries
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:35 +02:00
Joas Schilling e66bc4a8a7 Send "429 Too Many Requests" in case of brute force protection
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:35 +02:00
Joas Schilling 4ff492a492 Merge pull request #22297 from nextcloud/feature/15929/allow-to-disable-share-emails
Allow to disable share emails
2020-08-19 09:50:42 +02:00
Morris Jobke 7506cbb1c4 Show disabled user count in occ user:report
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 09:31:41 +02:00
Joas Schilling c8f175e936 Allow to disable share emails
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 09:03:58 +02:00
Nextcloud bot 746e3f174f [tx-robot] updated from transifex 2020-08-19 02:17:11 +00:00
Georg Ehrke 67f1ef4658 Add Typed Events for CalDAV- and CardDAV-related Events
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-18 21:40:57 +02:00
Morris Jobke 5ced155032 Merge pull request #22285 from nextcloud/techdebt/noid/move-to-typed-event-in-list.php
Use dispatchTyped instead of dispatch on the new event dispatcher
2020-08-18 21:29:48 +02:00
Morris Jobke a5853d7ecc Use dispatchTyped instead of dispatch on the new event dispatcher
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-18 20:27:46 +02:00
Roeland Jago Douma 5d8242c7b6 Merge pull request #22291 from nextcloud/bugfix/22117/fix-activity-tests-again
Fix activity tests again
2020-08-18 20:00:30 +02:00
Joas Schilling 3a71155fc5 Fix activity tests again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-18 18:21:03 +02:00
Morris Jobke fa7b911fd2 Merge pull request #22287 from nextcloud/techdebt/22236/update-psalm-baseline
Update psalm baseline due to fixes in #22236
2020-08-18 17:01:59 +02:00
Morris Jobke 560ccf5d83 Cast float to int to avoid invalid scalar argument warning
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-18 16:56:36 +02:00
Morris Jobke 27e7332a9c Cast float/char to int to avoid invalid scalar argument warning
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-18 16:51:59 +02:00
Morris Jobke 4c4f4685dc Update psalm baseline due to fixes in #22236
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-18 16:49:36 +02:00
Morris Jobke 05df385538 Merge pull request #22236 from nextcloud/bugfix/noid/dav_sharing_backend_canWrite_isOwner
CalDAV: Add ability to limit sharing to owner
2020-08-18 16:48:43 +02:00
Morris Jobke 92b67409fa Merge pull request #21787 from nextcloud/enh/hello-psalm
Hello psalm
2020-08-18 13:38:03 +02:00
Georg Ehrke 14755d85d6 Add ability to limit sharing to owner
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-18 13:18:00 +02:00
Morris Jobke 42bb6cd7d7 Check only the baseline.xml and exclude the psalm.xml from the file check
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-18 13:01:10 +02:00
Morris Jobke c6b251ca0c Add patches for stubs
* https://github.com/JetBrains/phpstorm-stubs/pull/893
* https://github.com/JetBrains/phpstorm-stubs/pull/894
* https://github.com/JetBrains/phpstorm-stubs/pull/895
* https://github.com/JetBrains/phpstorm-stubs/pull/896

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-18 13:01:10 +02:00
Morris Jobke b70792aa6a Add stubs for gd, intl, IntlChar, ldap, redis_cluster and xsl
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-18 13:01:10 +02:00
Morris Jobke 80056e081a Add a check for fixes in the psalm baseline
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-18 13:01:05 +02:00
Morris Jobke 4efca69f8d Add psalm baseline
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-18 12:59:17 +02:00
John Molakvoæ 1f1c087112 Merge pull request #22195 from nextcloud/design/accessibility-highcontrast-class
Add highcontrast class to body just like with dark theme
2020-08-18 09:01:04 +02:00
Daniel Kesselberg 8d18f0a7d7 Suppress warning for template functions.
https://github.com/nextcloud/server/blob/6e8e34fef920a073118c22111f0f31eb3b3a91dc/lib/private/legacy/template/functions.php
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:20 +02:00
Daniel Kesselberg 90aa451447 Fix variable name for referenced variable.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:20 +02:00
Daniel Kesselberg fe3a628470 Supress UndefinedGlobalVariable for register_command.php
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:20 +02:00
Daniel Kesselberg 568e1f6d3a Remove directory/file element.
It will suppress any error of that kind in the file. That was not intended.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:20 +02:00
Daniel Kesselberg 238f181dbf Suppress warning for $_ and $l
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:20 +02:00
Daniel Kesselberg 87d738d9fa Exclude stubs from code style check
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:19 +02:00
Daniel Kesselberg dd721fc5de Fix: UndefinedFunction Function x does not exist in templates
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:19 +02:00
Daniel Kesselberg 6ba55d78dc Add psalm as composer dependency
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:19 +02:00
Daniel Kesselberg fd6cdbcb04 Add template functions
for some reason they are not loaded by default.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:19 +02:00
Daniel Kesselberg 8b3b5ae5be Add stubs for phpseclib
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:19 +02:00
Daniel Kesselberg 7257793fc4 Hello psalm
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:19 +02:00
Jan C. Borchardt aa16550670 Add highcontrast class to body just like with dark theme
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-18 08:33:46 +02:00
Roeland Jago Douma 9809b77221 Merge pull request #22244 from nextcloud/fix/16876/better_fetch_recent
Improve recent file fetching
2020-08-18 07:09:30 +02:00
Roeland Jago Douma 6ed4c8a946 Improve recent file fetching
Fixes #16876

Before we'd just fetch everything from all storages we'd have access to.
Then we'd sort. And filter in php. Now this of course is tricky if a
user shared just a file with you and then has a ton of activity.

Now we try to contruct the prefix path. So that the filtering can happen
right away in the databae.

Now this will make the DB more busy. But it should help overall as in
most cases less queries are needed then etc.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-18 05:56:06 +02:00
Nextcloud bot c96044085b [tx-robot] updated from transifex 2020-08-18 02:17:28 +00:00
John Molakvoæ 930c35ada1 Merge pull request #22273 from nextcloud/bugfix/noid/status-nonexisting-icon
Do not try to load non-existing icon
2020-08-17 22:18:43 +02:00
John Molakvoæ 565ccb08cd Merge pull request #22109 from nextcloud/feature/20931/followup-1 2020-08-17 22:13:45 +02:00
Georg Ehrke 40bf38aaee Limit custom message input to 80 chars
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-17 21:55:29 +02:00
Georg Ehrke 4485cb30a1 Display user-status in sharing list
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-17 21:55:29 +02:00
Roeland Jago Douma 6675528804 Merge pull request #22271 from nextcloud/phpdoc/22063/add-interface-method-and-phpdoc
Properly add new methods to interface and document in PHPDoc for getR…
2020-08-17 19:34:56 +02:00
blizzz d98bd179b0 Merge pull request #22272 from nextcloud/phpdoc/21787/fix-misplaced-variable-phpdoc
Fix "misplaced variables" warning of Psalm in PHPDoc statements
2020-08-17 19:01:06 +02:00
Julius Härtl c03e21a5dd Do not try to load non-existing icon
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-17 18:25:16 +02:00
Morris Jobke 7b8adb1817 Merge pull request #21861 from nextcloud/techdebt/files-psr-container
Migrate files to the PSR container
2020-08-17 17:58:41 +02:00
Morris Jobke d7f66c36ac Fix "misplaced variables" warning of Psalm in PHPDoc statements
Ref #21787

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-17 17:46:57 +02:00
Morris Jobke 00cb8e6c54 Merge pull request #22253 from nextcloud/debt/noid/docblocks
Fix some MissingDocblockType or InvalidDocblock warnings.
2020-08-17 17:45:11 +02:00
Morris Jobke e47cfc9a54 Properly add new methods to interface and document in PHPDoc for getRootMounts()
Introduced in #22063 and was just forgotten.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-17 17:13:46 +02:00
Morris Jobke f406f5dc73 Fix TagService DI name
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-17 16:55:16 +02:00
Christoph Wurst 07fcf14324 Migrate files to the PSR container
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-17 09:45:11 +02:00
dependabot-preview[bot] f6daf17fa7 Merge pull request #22262 from nextcloud/dependabot/npm_and_yarn/sinon-9.0.3 2020-08-17 06:24:34 +00:00
Roeland Jago Douma ad0c44420a Merge pull request #22261 from nextcloud/dependabot/npm_and_yarn/jsdom-16.4.0
Bump jsdom from 16.3.0 to 16.4.0
2020-08-17 06:43:10 +02:00
Roeland Jago Douma 253bd84620 Merge pull request #22260 from nextcloud/dependabot/npm_and_yarn/lodash-4.17.20
Bump lodash from 4.17.19 to 4.17.20
2020-08-17 06:42:27 +02:00
dependabot-preview[bot] 1328fd7cf0 Bump lodash from 4.17.19 to 4.17.20
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.20)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-17 03:30:20 +00:00
Nextcloud bot bfef24b6df [tx-robot] updated from transifex 2020-08-17 02:16:39 +00:00
Nextcloud bot 29b7e5885e [tx-robot] updated from transifex 2020-08-16 02:16:28 +00:00
dependabot-preview[bot] 0accd6592f Bump sinon from 9.0.2 to 9.0.3
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.0.2 to 9.0.3.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v9.0.2...v9.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-15 02:38:21 +00:00
dependabot-preview[bot] da6dbb18c0 Bump jsdom from 16.3.0 to 16.4.0
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.3.0 to 16.4.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.3.0...16.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-15 02:37:38 +00:00
Nextcloud bot 31eccc842d [tx-robot] updated from transifex 2020-08-15 02:17:13 +00:00
Daniel Kesselberg 3e7b815da4 Fix more MissingDocblockType or InvalidDocblock warnings.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-14 20:19:23 +02:00
Morris Jobke fb4e989882 Merge pull request #22257 from nextcloud/debt/noid/add-parameter-to-set
Update documentation for QueryBuilder::set
2020-08-14 20:15:16 +02:00
Daniel Kesselberg 10ac844448 Update documentation for QueryBuilder::set
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-14 19:55:01 +02:00
Georg Ehrke 5b26487f14 Expose status via Collaborators API
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-14 17:04:52 +02:00
blizzz 6e8e34fef9 Merge pull request #22221 from nextcloud/fix/19097/ldap-depracted-event
provide event class and typed event to LDAP loaded event; also fixing a logged deprecation message
2020-08-14 16:07:12 +02:00
Morris Jobke 7d550e3679 Merge pull request #18969 from nextcloud/enh/apps/use-sidebar
Migrate app management settings to proper sidebar standards
2020-08-14 15:44:04 +02:00
Daniel Kesselberg 6f8147b18f Fix some MissingDocblockType or InvalidDocblock warnings.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-14 15:10:48 +02:00
John Molakvoæ (skjnldsv) 8e7c95effb Use appsidebar for apps
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-14 11:44:16 +02:00
John Molakvoæ (skjnldsv) 228a96508a Use appsidebar for apps
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-14 09:56:00 +02:00
Morris Jobke b13aa660c9 Merge pull request #22243 from nextcloud/fix/20490/no_session_duplicate_warnings
Silence duplicate session warnings
2020-08-14 09:22:24 +02:00
dependabot-preview[bot] bc19168719 Merge pull request #22198 from nextcloud/dependabot/npm_and_yarn/vue-router-3.4.3 2020-08-14 06:02:44 +00:00
Julius Härtl 00e62171d2 Test for locking state in key generation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-14 07:58:41 +02:00
Julius Härtl 36cfdd320b Harden key generation
There might be cases where multiple requests trigger the key generation
at the same time and the instance ends up with a non-fitting
public/private key pair. Therefore the whole key generation should be
locked. Other than that this makes sure that user key generation return
values are properly validated.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-14 07:58:40 +02:00
dependabot-preview[bot] 4e2c4c4ac6 Bump vue-router from 3.3.4 to 3.4.3
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.3.4 to 3.4.3.
- [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.4...v3.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-14 05:31:29 +00:00
Roeland Jago Douma f1dd87dc50 Merge pull request #22200 from cweiske/duplicated-sql-where-line
Remove duplicated SQL addWhere line
2020-08-14 05:43:42 +02:00
Roeland Jago Douma 8daaf33e3d Silence duplicate session warnings
Fixes #20490

Basically restroring the old behavior.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-14 05:23:11 +02:00
Nextcloud bot 9bd58553db [tx-robot] updated from transifex 2020-08-14 02:31:59 +00:00
Gary Kim 5559570faf Merge pull request #22242 from nextcloud/techdebt/noid/remove-deprecated-methods
Remove deprecated and unused method calls
2020-08-14 10:10:53 +08:00
Morris Jobke 75c659cfbc Merge pull request #20451 from exussum12/AllowPreviewWhenGeneratorHasBeenRemoved
Always try and show pre rendered preview
2020-08-13 23:49:56 +02:00
Morris Jobke 8e249569af Fix existing test and add a specific one for the new case
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-13 23:24:21 +02:00
Scott Dutton b12a390220 Always try and show pre rendered preview
Currently if the following situation happens

Server generates preview
Server has command removed which allows a preview to be shown
Client asks for preview, gets a 404 error when preview exists
(Mime checked before preview)

This happens more often with documents, or video as the commands are not
native PHP, they require a binary on the server.

After the fix the following would happen

Server generates preview
Server has command removed which allows a preview to be shown
Client asks for preview, gets preview which has been generated
(Mime checked after preview)

This would also allow offline generation (for example a docker image
containing the extra binaries), allowing a reduction in attack surface
of the instance serving the preview data.

Signed-off-by: Scott Dutton <scott@exussum.co.uk>
2020-08-13 22:50:38 +02:00
Morris Jobke 16d83ab30a Remove getLastJob from IJobList
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-13 21:50:06 +02:00
Morris Jobke afd52c6b12 Remove setCustomJs of the files_external FrontendDefinitionTrait
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-13 21:49:50 +02:00
Morris Jobke e9f5c7f649 Merge pull request #22128 from nextcloud/bugfix/noid/cleanup-chunks-on-failure
Delete chunks if the move on an upload failed
2020-08-13 20:47:08 +02:00
Georg Ehrke ee23906c3c Allow writing empty content to new file
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-13 15:41:26 +02:00
Julius Härtl 6722246aca Return proper status when file didn't exist before
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-13 15:26:42 +02:00
Julius Härtl 52eff4ae7c Use user mount with matching shared storage only
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-13 15:10:05 +02:00
Morris Jobke ed46115593 Merge pull request #22235 from nextcloud/fix/22217/fix-naming-of-app-config-option
Fix name of app config option to properly reflect what it does
2020-08-13 14:49:01 +02:00
Morris Jobke 93ba8faabc Fix name of app config option to properly reflect what it does
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-13 13:34:31 +02:00
Morris Jobke 89f92e3c22 Merge pull request #22229 from nextcloud/bugfix/noid/dashboard-outdated-bundles
Bump outdated dashboard bundles
2020-08-13 10:58:54 +02:00
Morris Jobke 0b856329eb Merge pull request #22202 from nextcloud/enh/noid/cleanup-servercontainer
Use autowiring where possible in server container
2020-08-13 10:55:48 +02:00
Julius Härtl ac95e069c4 Bump outdated dashboard bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-13 10:10:40 +02:00
Roeland Jago Douma 34cd49827c Merge pull request #21788 from nextcloud/debt/noid/unused-method
Remove unused method uploadFile
2020-08-13 09:40:38 +02:00
Morris Jobke 3c56922444 Merge pull request #22205 from nextcloud/activity-settings-cleanup
merge file activity settings into a single 'favorite changed' item
2020-08-13 08:15:06 +02:00
Daniel Kesselberg ba3a855ad8 Remove unused method uploadFile
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-13 08:02:28 +02:00
Morris Jobke df4bcd616f Add @deprecated labels for server DI containter aliases
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-13 07:43:37 +02:00
Morris Jobke 725fecee34 Merge pull request #21344 from nextcloud/fix/twofactor-cleanup-event
Emit an event for every disabled 2FA provider during cleanup
2020-08-13 07:25:01 +02:00
Morris Jobke 894640206e Use registerDeprecatedAlias for non-namespaced aliases
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-13 05:43:38 +02:00
Morris Jobke 2f2252cfba Use autowiring where possible in server container
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-13 05:43:36 +02:00
Nextcloud bot 3a39f2ae91 [tx-robot] updated from transifex 2020-08-13 02:16:38 +00:00
Robin Appelman 5f58cefbd7 merge file activity settings into a single 'favorite changed' item
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-13 00:01:34 +02:00
Robin Appelman a11769e0e3 move share notifcation settings to files group
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-13 00:01:30 +02:00
Morris Jobke f49de1d775 Merge pull request #22206 from nextcloud/enh/noid/tests-recent-contact-mapper
Add some tests for RecentContactMapper
2020-08-12 21:09:18 +02:00
Morris Jobke 6ca359a745 Merge pull request #22217 from nextcloud/enh/noid/disable-admin-changed-email-appconfig
Add app config option to disable "Email was changed by admin" email
2020-08-12 16:46:00 +02:00
Arthur Schiwon 44cad1756c provide event class to LDAP loaded event to fix deprecation message
* and also dispatch the typed event as current approach to it

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-12 15:38:47 +02:00
Morris Jobke 55e79b8a6a Merge pull request #22199 from nextcloud/techdebt/noid/PHPUnit_Framework_MockObject_MockObject
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to …
2020-08-12 13:55:36 +02:00
Morris Jobke 234b510652 Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-12 13:55:19 +02:00
Morris Jobke 53fab3fe5f Add app config option to disable "Email was changed by admin" email
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-12 12:27:43 +02:00
Daniel Kesselberg 1fc1376175 Add some tests for RecentContactMapper
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-12 12:16:25 +02:00
blizzz 4c1f13c569 Merge pull request #22211 from nextcloud/fix/noid/rm-useless-log
remove logging message carrying no valuable information
2020-08-12 09:15:44 +00:00
Arthur Schiwon 5257efc5f2 remove logging message carrying no valuable information
the exception caught is not an error, but due to valid configuration and
code flow is expecting this. For an admin it is confusing, and it carries
no information worth for debugging.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-12 09:10:23 +02:00
Morris Jobke 15d70859e6 Merge pull request #22196 from nextcloud/enh/sse/do_not_concatenate_ints
SSE enhancement of file signature
2020-08-12 09:09:04 +02:00
Julius Härtl cda5cfc01e Adjust chunking test for non-existing target node
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-12 08:18:46 +02:00
Julius Härtl 860f6d8fcf Delete chunks if the move on an upload failed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-12 08:18:46 +02:00
Nextcloud bot ad6a4219a2 [tx-robot] updated from transifex 2020-08-12 02:16:50 +00:00
blizzz 88fcc05e4f Merge pull request #21559 from nextcloud/fix/noid/ldap-group-shortcut-ad
shortcut in reading nested group members when IN_CHAIN is available
2020-08-11 22:22:37 +00:00
Morris Jobke 138f47a1b9 Merge pull request #22162 from nextcloud/enh/noid/password-generator-sharebymail
ShareByMail: Migrate to GenerateSecurePasswordEvent
2020-08-11 21:59:21 +02:00
Daniel Kesselberg 4dd507675c Generate password by password_policy app
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-11 21:58:51 +02:00
Christian Weiske ebe7081c2b Remove duplicated SQL addWhere line 2020-08-11 21:35:48 +02:00
Jan C. Borchardt 50fdd45e9b Merge pull request #22143 from nextcloud/design/dashboard-design
Dashboard design enhancements
2020-08-11 19:37:14 +02:00
Roeland Jago Douma 9975b80d41 SSE enhancement
Do not blind concatenate ints. Lets add a _ between them. So that we can
distrinquis them properly

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-11 19:26:41 +02:00
Arthur Schiwon 7eb6d8df0a do not flip available state to unavailable, allow empty results
- the detection relies that the first, requested result is not empty
- it might be empty though – groups without members
- protect switching from available to unavailable
  - switching the other way around was also not envisaged either

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-11 19:03:27 +02:00
Arthur Schiwon 7ea262dba0 LDAP: shortcut in reading nested group members when IN_CHAIN is available
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-11 18:22:11 +02:00
Jan C. Borchardt 4507c362cd Dashboard: Add photo credit
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-11 16:45:02 +02:00
Roeland Jago Douma a7875c2431 Merge pull request #22151 from nextcloud/dependabot/npm_and_yarn/webpack-merge-5.1.1
Bump webpack-merge from 5.0.9 to 5.1.1
2020-08-11 14:33:31 +02:00
Roeland Jago Douma f4765651db Merge pull request #22190 from nextcloud/fix/noid/log-rotate-size
Fix default log_rotate_size in config.sample.php
2020-08-11 14:08:36 +02:00
Morris Jobke 7badda361d Fix default log_rotate_size in config.sample.php
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-11 14:00:26 +02:00
Morris Jobke 8fc877ff7d Merge pull request #22117 from nextcloud/activity-settings-grouping
allow grouping of activity settings
2020-08-11 11:24:23 +02:00
Morris Jobke 5d3ecfdffd Merge pull request #21775 from nextcloud/bugfix/noid/transfer-object-storage
Do not exit if available space cannot be determined on file transfer
2020-08-11 11:08:03 +02:00
Jan C. Borchardt 227b4761b8 Dashboard: Fix wording issue on greetings
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-11 10:12:25 +02:00
Morris Jobke 85aded7f19 Merge pull request #22148 from nextcloud/dependabot/npm_and_yarn/bootstrap-4.5.2
Bump bootstrap from 4.5.0 to 4.5.2
2020-08-11 09:46:23 +02:00
Morris Jobke 548576ec10 Merge pull request #22176 from nextcloud/debt/noid/table-render-too-many-arguments
Remove unexpected argument
2020-08-11 09:44:28 +02:00
Morris Jobke 21e0523c07 Merge pull request #22167 from nextcloud/debt/noid/coverage-filter
Exclude apps/*/tests for coverage calculation
2020-08-11 09:43:19 +02:00
Morris Jobke dffa155fc1 Merge pull request #22175 from nextcloud/fix/noid/warning-continue-break
use break not continue in switch to avoid warning
2020-08-11 09:41:36 +02:00
Morris Jobke bc4df68e56 Merge pull request #22169 from nextcloud/enh/noid/prefer-typed-events
Prefer typed event over string based ones
2020-08-11 09:34:48 +02:00
Morris Jobke 4e297d7a97 Use constant instead of magic number
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-11 08:14:03 +02:00
Julius Härtl cb2f5a829e Do not exit if available space cannot be determined on file transfer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-11 08:14:03 +02:00
Julius Härtl 81ba90a0fe Dynamically generate background image url
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-11 07:54:34 +02:00
Nextcloud bot 2498280801 [tx-robot] updated from transifex 2020-08-11 02:16:56 +00:00
Daniel Kesselberg 7b68f0f326 Remove unexpected argument
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-10 22:36:30 +02:00
Daniel Kesselberg aa0e90f0c0 Exclude apps/files_external/3rdparty again
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-10 21:49:50 +02:00
Daniel Kesselberg 2ae285daec Rename Core/ to core/
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-10 21:48:30 +02:00
Arthur Schiwon 7c07f0c7f3 use break not continue in switch to avoid warning
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-10 17:34:11 +02:00
Morris Jobke c0be7e329f Prefer typed event over string based ones
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-10 15:22:55 +02:00
Morris Jobke ccb1675103 Merge pull request #22159 from nextcloud/enh/22014/generate-passwords-policy
Generate password on addUser by password_policy app
2020-08-10 15:02:19 +02:00
Morris Jobke 17bb12234c Merge pull request #22168 from nextcloud/enh/noid/phpdoc-for-events
Add PHP doc for events
2020-08-10 14:58:16 +02:00
Morris Jobke 782a2df392 Add PHP doc for events
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-10 14:24:24 +02:00
Daniel Kesselberg 385613c3aa Exclude apps/*/tests for coverage calculation
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-10 13:40:16 +02:00
dependabot-preview[bot] 84eb8c4393 Bump bootstrap from 4.5.0 to 4.5.2
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.5.0 to 4.5.2.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.5.0...v4.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-10 11:37:24 +00:00
dependabot-preview[bot] cd07233411 Bump webpack-merge from 5.0.9 to 5.1.1
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 5.0.9 to 5.1.1.
- [Release notes](https://github.com/survivejs/webpack-merge/releases)
- [Changelog](https://github.com/survivejs/webpack-merge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v5.0.9...v5.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 06:40:48 +00:00
Roeland Jago Douma 9c1ee2e0ba Merge pull request #22149 from nextcloud/dependabot/npm_and_yarn/babel/core-7.11.1
Bump @babel/core from 7.11.0 to 7.11.1
2020-08-10 08:39:34 +02:00
Roeland Jago Douma 8bb7c97626 Merge pull request #22146 from nextcloud/dependabot/npm_and_yarn/webpack-node-externals-2.5.1
Bump webpack-node-externals from 2.5.0 to 2.5.1
2020-08-10 08:38:22 +02:00
Roeland Jago Douma 3d4e7ddd67 Merge pull request #22145 from nextcloud/dependabot/npm_and_yarn/sass-loader-9.0.3
Bump sass-loader from 9.0.2 to 9.0.3
2020-08-10 08:33:04 +02:00
Nextcloud bot 22cf9f10b7 [tx-robot] updated from transifex 2020-08-10 02:16:48 +00:00
Daniel Kesselberg c19bdb05e8 Generate password on addUser by password_policy app
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-09 18:38:19 +02:00
Nextcloud bot 3db61c43ab [tx-robot] updated from transifex 2020-08-09 02:16:37 +00:00
dependabot-preview[bot] 48787c1f67 Bump @babel/core from 7.11.0 to 7.11.1
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.0 to 7.11.1.
- [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.11.1/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-08 01:18:15 +00:00
dependabot-preview[bot] dd44c81fe8 Bump webpack-node-externals from 2.5.0 to 2.5.1
Bumps [webpack-node-externals](https://github.com/liady/webpack-node-externals) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/liady/webpack-node-externals/releases)
- [Commits](https://github.com/liady/webpack-node-externals/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-08 01:15:23 +00:00
dependabot-preview[bot] abc0d96b4e Bump sass-loader from 9.0.2 to 9.0.3
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 9.0.2 to 9.0.3.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v9.0.2...v9.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-08 01:14:49 +00:00
Jan C. Borchardt 6a4d416e36 Dashboard: Fix dark mode, add background
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-08 01:09:21 +02:00
blizzz 579c7073f3 Merge pull request #16737 from tofuSCHNITZEL/feature-zimbraldap
new Group-Member association attribute (zimbraMailForwardingAddress)
2020-08-07 22:20:50 +00:00
Tobias Perschon 551d904bb0 added "zimbraMailForwardingAddress" as a Group-Member association attribute to enable the use of Zimbra Distribution Lists as groups in nextcloud when connecting to a zimbra LDAP
Signed-off-by: Tobias Perschon <tobias@perschon.at>

fix cs:check

Signed-off-by: Tobias Perschon <tobias@perschon.at>

Update apps/user_ldap/lib/Group_LDAP.php

Co-authored-by: blizzz <blizzz@arthur-schiwon.de>
Signed-off-by: Tobias Perschon <tobias@perschon.at>
2020-08-07 23:30:44 +02:00
blizzz 326a04d12c Merge pull request #22004 from nextcloud/enh/noid/setup-checks-php
Add setup checks for php default charset and output buffering.
2020-08-07 20:55:04 +00:00
Jan C. Borchardt 2b9b85e44a Dashboard: add background image, improve panel design
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-07 18:47:22 +02:00
Morris Jobke 54726d5934 Merge pull request #21738 from nextcloud/techdebt/14552/migrate-OC_Group-post_removeFromGroup
Migrate OC_Group post_removeFromGroup hook to actual event object
2020-08-07 17:46:00 +02:00
Morris Jobke 96d418b379 Add proper deprecation message
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-07 17:45:45 +02:00
Daniel Kesselberg c1831f1902 Change const/let to var for PhantomJS
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-07 17:34:03 +02:00
Jan C. Borchardt 3a2cc39dd9 Dashboard: remove header fade
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-07 16:55:56 +02:00
Morris Jobke 408ed7ebd4 Merge pull request #22139 from nextcloud/fix/noid/check-for-preview-multibucket-fallback-as-second-step
Check previews in multibucket fallback folder as the last step and not as first step
2020-08-07 16:02:02 +02:00
Jan C. Borchardt df06940317 Dashboard: Remove icons from greeting
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-07 15:57:38 +02:00
John Molakvoæ d12dd3370e Merge pull request #20741 from nextcloud/enh/appstore/unstable 2020-08-07 14:34:41 +02:00
John Molakvoæ (skjnldsv) 9e962fb69f Allow to update to nightly
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-07 13:51:39 +02:00
blizzz a3d30bf4a2 Merge pull request #21954 from nextcloud/techdebt/noid/bootstrap-files_trashbin
Use IBootstrap for the files_trashbin app
2020-08-07 11:12:09 +00:00
blizzz a2c262b68a Merge pull request #21037 from nextcloud/login-credentails-save
Only save login credentials in database once there is an external storage that needs it
2020-08-07 10:49:42 +00:00
Morris Jobke 0807e29e17 Merge pull request #22133 from nextcloud/boot-app-once
only boot apps once
2020-08-07 12:05:09 +02:00
Morris Jobke 06eb230d24 Merge pull request #22135 from nextcloud/enh/noid/occ-preview-repair
Add occ preview:migrate to migrate previews from the old flat structure to a subfolder structure
2020-08-07 11:09:16 +02:00
Morris Jobke a761e5fef6 Merge pull request #22137 from nextcloud/enh/noid/file-entity-icon
File entity to implement IIcon
2020-08-07 11:06:26 +02:00
Robin Appelman 246ed35d94 only boot apps once
in some cases `loadApp` is called more then once which is currently causing apps to be "booted" multiple times which can lead to unexepected behaviour with things like registering hooks

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-07 11:04:47 +02:00
Morris Jobke 545f806666 Use array_filter instead
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-07 10:42:09 +02:00
Morris Jobke 97c49b0b15 Add tests for occ preview:migrate - initial check for empty directories
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-07 10:42:09 +02:00
Morris Jobke 4d0c3fa4a8 Check previews in multibucket fallback folder as the last step and not as first step
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-07 09:37:11 +02:00
Morris Jobke eb2b1bec85 Merge pull request #22063 from nextcloud/enh/22033/multibucket-appdata-previews
Distribute preview folders in appdata in multibucket setup to multiple buckets
2020-08-07 09:28:11 +02:00
Nextcloud bot 1df567d5ad [tx-robot] updated from transifex 2020-08-07 02:16:39 +00:00
Arthur Schiwon 692e6a6838 File entity to implement IIcon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-07 00:14:50 +02:00
Morris Jobke 45428e4948 Add config option to enable multibucket preview distribution
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-06 22:31:39 +02:00
Morris Jobke 4fdd38c737 Use fixed preview buckets that are postfixed with -preview-NUMBER
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-06 22:19:21 +02:00
Morris Jobke 159f28cd52 Mount the old previews in a separate folder for the multi bucket setup and check in them before using the actual locations
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-06 22:19:21 +02:00
Morris Jobke 438ac23e2a Distribute preview folders in appdata in multibucket setup to multiple buckets
* introduces a new IRootMountProvider to register mount points inside the root storage
* adds a AppdataPreviewObjectStoreStorage to handle the split between preview folders and bucket number

Ref #22033

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-06 22:19:20 +02:00
Morris Jobke d8734b3b93 Add occ preview:migrate to migrate previews from the old flat structure to a subfolder structure
* `php occ preview:repair` - a preview migration tool that moves existing previews into the new location introduced with #19214
* moves `appdata_INSTANCEID/previews/FILEID` to `appdata_INSTANCEID/previews/0/5/8/4/c/e/5/FILEID`
* migration tool can be stopped during migration via `CTRL+C` - it then finishes the current folder (with the previews of one file) and stops gracefully
* if a PHP memory limit is set in the `php.ini` then it will stop automatically once it has less than 25 MiB memory left (this is to avoid hard crashes in the middle of a migration)
* the tool can be used during operation - possible drawbacks:
    * there is the chance of a race condition that a new preview is generated in the moment the folder is already migrated away - so the old folder with the newly cached preview is deleted and one cached preview needs to be re-generated
    * there is the chance of a race condition during access of a preview while it is migrated to the other folder - then no preview can be shown and results in a 404 (as of now this is an accepted risk)

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-06 22:05:46 +02:00
John Molakvoæ c24f3d1336 Merge pull request #21173 from nextcloud/design/navigation-install
Fix empty 'more' apps navigation after installing an app
2020-08-06 13:35:57 +02:00
Morris Jobke 3f1c48598d Merge pull request #22112 from nextcloud/enh/noid/flow-entity-recreatable-state
Allow Flow entity state to be recreated
2020-08-06 09:36:32 +02:00
John Molakvoæ 5b6246f52a Merge pull request #21598 from nextcloud/enh/20930/dashboard-drag 2020-08-06 08:17:52 +02:00
Nextcloud bot cb1d9cfaf0 [tx-robot] updated from transifex 2020-08-06 02:17:11 +00:00
Morris Jobke ae9ecd521f Merge pull request #21677 from J0WI/clearstatcache-on-rmdir
Do clearstatcache() on rmdir
2020-08-05 23:03:06 +02:00
Morris Jobke 2aa6256f38 Merge pull request #22102 from nextcloud/feature/noid/app-navigation-via-unified-search
App navigation via unified search
2020-08-05 22:53:03 +02:00
Morris Jobke 5a06e38564 Dashboard app is disabled and there is no need to redirect to files app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-05 22:49:47 +02:00
Morris Jobke 588b6fa35e Merge pull request #22120 from nextcloud/fix/search/ids-and-order
Fix search providers order and IDs
2020-08-05 22:41:52 +02:00
Morris Jobke 519cd678ee Merge pull request #22008 from elijahnyp/OCImage_Leak_Fix
Ensured large image is unloaded from memory when generating previews
2020-08-05 22:39:09 +02:00
John Molakvoæ (skjnldsv) d2c0569b49 Fix search providers order and IDs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-05 17:57:17 +02:00
Joas Schilling 99fbaa9cba Very top of the tops
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-05 17:51:18 +02:00
Joas Schilling 5be04942e7 Hide navigation links which dont lead anywhere (looking at you user status)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-05 17:50:20 +02:00
Jan-Christoph Borchardt 42a265ca38 Fix empty 'more' apps navigation after installing an app
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-08-05 17:38:50 +02:00
Jan C. Borchardt 5cc978657e Merge pull request #22115 from nextcloud/design/entry-highlighting
Adjust entry highlights of navigation and menus based on Vue component style
2020-08-05 17:35:58 +02:00
Julius Härtl 258cde135d Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:05:54 +02:00
Julius Härtl dbbc675a96 Fix drag behavior in modal
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:39 +02:00
Julius Härtl 61cc356e0b Fix php cs check
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:39 +02:00
Julius Härtl 44310d1c2a Add dashboard to app info xsd
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:39 +02:00
Jan C. Borchardt 739914654c Dashboard: Fix full height of Widgets based on new component
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-05 17:03:39 +02:00
Julius Härtl c97a805f1d Add first run hint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:39 +02:00
Julius Härtl 97feb89a4b Make header the drag handler
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:39 +02:00
Julius Härtl d9dcd59ae1 Load sidebar on dashboard
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:38 +02:00
Julius Härtl 018be662f4 Refactor API to match the widget wording
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:38 +02:00
Julius Härtl 6accf4d857 Fix default height
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:38 +02:00
Julius Härtl db86bea18c Allow default app to be overwritten by user config
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:38 +02:00
Julius Härtl 7e2ded5a79 Fix default order of widgets
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:38 +02:00
Julius Härtl 3be3c34e39 Status integration
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:36 +02:00
Julius Härtl ae6be0c110 Expose firstRun parameter to frontend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:01:30 +02:00
Julius Härtl bd3d791ee0 Only show display name if set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:01:30 +02:00
Julius Härtl c983094625 WIP: drag and drop in modal
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:01:29 +02:00
Julius Härtl 5099a4fe74 Add binary attributes for dashboard bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:01:29 +02:00
Jan C. Borchardt da8a29f42e Dashboard: Wording change from panels to widgets
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-05 17:01:29 +02:00
Jan C. Borchardt 995144faa6 Dashboard: Fix small misalignment of widget header icon
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-05 17:01:29 +02:00
Julius Härtl 4679926511 Redirect to files app after login in acceptance tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:01:29 +02:00
Jan C. Borchardt e25bab98b7 Set Dashboard as default app
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-05 17:01:28 +02:00
Julius Härtl 90f56dd2b0 Replace vue-smoothdnd with vuedraggable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:01:28 +02:00
Jan-Christoph Borchardt 0135eed7da Dashboard: Adjust headings to new spacing for 44px icons
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-08-05 17:01:28 +02:00
Jan-Christoph Borchardt 1448f54e04 Experiment with fade in dashboard panel header
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-08-05 17:01:28 +02:00
Jan-Christoph Borchardt 9cde19889e More design fixes to dragging and edit panels
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-08-05 17:01:28 +02:00
Jan-Christoph Borchardt 28a01a9728 Design enhancements to panels, headings, and edit button
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-08-05 17:01:27 +02:00
Julius Härtl 429049c809 Allow userdefined order and start with drag and drop resorting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:01:27 +02:00
Joas Schilling fcdd702040 App navigation via unified search
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-05 16:42:36 +02:00
Joas Schilling 55473dd2eb Merge pull request #22104 from nextcloud/enh/search/make-app-handle-the-order-logic
Make apps handle the order logic
2020-08-05 16:38:45 +02:00
Jan C. Borchardt e0664b575c Adjust entry highlights of navigation and menus based on Vue component style
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-05 16:33:58 +02:00
Robin Appelman 227e362842 allow grouping of activity settings
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-05 16:13:03 +02:00
Morris Jobke 79fc7e78b7 Merge pull request #21138 from nextcloud/fix/noid/search-in-group-displayname-email
Search also the email and displayname in user mangement for groups
2020-08-05 16:09:00 +02:00
Morris Jobke f510da139f Use class that actually has the destroy() method in preview generator
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-05 15:52:40 +02:00
Georg Ehrke 2b4b5db16d Merge pull request #22110 from nextcloud/feature/20931/followup-2
UserStatus Followup #2
2020-08-05 15:32:47 +02:00
Morris Jobke 6fbf8fceac Merge pull request #22106 from nextcloud/feature/noid/user_status_api
Provide a PHP Api for UserStatus
2020-08-05 15:30:48 +02:00
Arthur Schiwon b59efb61bd Flow File entity implements IContextPortation
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-05 15:21:57 +02:00
Joas Schilling ea8f68bea6 Hand in the route and the parameters of the request
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-05 12:52:16 +00:00
Georg Ehrke 9ae5f959a8 UserStatus: Various style-fixes for entry in settings-menu
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-05 14:31:53 +02:00
John Molakvoæ a4d511d827 Merge pull request #22099 from nextcloud/fix/unified-search 2020-08-05 14:17:42 +02:00
Morris Jobke 907d3542dc Add integration tests for search in groups
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-05 14:14:06 +02:00
Morris Jobke fee13e7ffd Search also the email and displayname in user mangement for groups
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-05 14:14:05 +02:00
Georg Ehrke 8359c8f011 UserStatus: fix invisible icon in dark mode
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-05 13:49:24 +02:00
Georg Ehrke 0e0e0d19e8 Provide a PHP Api for UserStatus
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-05 13:48:46 +02:00
Arthur Schiwon 6c1c9273c0 Enable Flow entities to recreate state if necessary
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-05 13:24:20 +02:00
Morris Jobke 0581356169 Merge pull request #22097 from nextcloud/enh/noid/empty-template
Add empty renderAs template
2020-08-05 11:42:29 +02:00
John Molakvoæ (skjnldsv) d98f7c1bd8 Make apps handle the order logic
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-05 11:37:45 +02:00
Morris Jobke f16efe8eca Merge pull request #22098 from nextcloud/feature/noid/iaddressbook_isShared_isSystemAddressbook
IAddressBook: add isShared and isSystemAddressBook
2020-08-05 11:04:17 +02:00
Georg Ehrke b0c5457c42 IAddressBook: add isShared and isSystemAddressBook
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-05 09:04:41 +02:00
Nextcloud bot 1cf9f42817 [tx-robot] updated from transifex 2020-08-05 02:16:56 +00:00
John Molakvoæ (skjnldsv) 71b62c4203 Show mime icon, bump bundles, make the SearchResultEntry class non-abstract, Fix header search icon, various fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-04 21:36:22 +02:00
John Molakvoæ (skjnldsv) 6eced42b7a Remove outdated legacy search scripts
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-04 20:56:22 +02:00
John Molakvoæ 72b45f9546 Merge pull request #22020 from nextcloud/feature/20918/calendar_search
Add Event and Task Backends for Unified Search
2020-08-04 20:54:27 +02:00
blizzz 7d2f5aff1a Merge pull request #22062 from nextcloud/fix/noid/displayname-in-incoming-remote-share-notification
fix display of remote users in incoming share notifications
2020-08-04 16:26:41 +00:00
Georg Ehrke 900617e7d7 Add Event and Task Backends for Unified Search
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-04 16:01:59 +02:00
John Molakvoæ 0ecef7d62b Merge pull request #22093 from nextcloud/fix/accessibilityoca
Fix missing accessibilityoca script
2020-08-04 10:15:11 +02:00
Julius Härtl b51746212e Add base renderAs template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-04 09:48:43 +02:00
John Molakvoæ c124b485f1 Merge pull request #22095 from nextcloud/feature/noid/settings-sections-in-unified-search
Add settings sections to unified search
2020-08-04 08:19:03 +02:00
Nextcloud bot 0eed71870d [tx-robot] updated from transifex 2020-08-04 02:16:30 +00:00
John Molakvoæ 03778d6463 Merge pull request #22011 from nextcloud/feature/20919/contacts_search
Implement Contacts Backend for Unified Search
2020-08-03 18:17:32 +02:00
Joas Schilling 5d41a3f9a2 Add settings sections to unified search
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-03 17:03:06 +02:00
John Molakvoæ 34c7ea3b9f Merge pull request #22087 from nextcloud/bugfix/noid/browser-freeze-on-long-password-input
Fix browser freeze on long password input
2020-08-03 16:39:06 +02:00
John Molakvoæ (skjnldsv) c1bfedab70 Fix accessibilityoca script
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-03 16:37:54 +02:00
Georg Ehrke 5fb2562332 Implement Contacts Backend for Unified Search
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-03 16:29:01 +02:00
Morris Jobke 489fecac32 Merge pull request #22057 from nextcloud/fix/20009/contactsmenu-limit-users
contactsmanager shall limit number of results early
2020-08-03 15:15:46 +02:00
Joas Schilling d51f9fb61f Fix browser freeze on long password input
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-03 14:52:03 +02:00
Morris Jobke b585aefcea Merge pull request #22075 from nextcloud/bugfix/noid/prefer-emoji-fonts-over-sans-serif
Also consider Noto Color Emoji font
2020-08-03 14:43:20 +02:00
Morris Jobke 1ae58385b2 Merge pull request #22089 from nextcloud/bugfix/noid/fix-integration-test-fail
Fix integration test fail
2020-08-03 14:42:33 +02:00
John Molakvoæ db5ac969f9 Merge pull request #22088 from nextcloud/enh/unified-search-fix
Fix unified search
2020-08-03 14:29:06 +02:00
Joas Schilling 8d5f5e8f8c Fix integration test fail
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-03 13:43:15 +02:00
John Molakvoæ (skjnldsv) 1a1b3e20e4 Fix unified search
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-03 11:26:03 +00:00
John Molakvoæ 4987fe9a51 Merge pull request #21971 from nextcloud/enh/unified-search 2020-08-03 12:43:00 +02:00
Joas Schilling a0ee4b584c Short php syntax
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-03 11:25:21 +02:00
Joas Schilling 79027c8eff Fix missing placeholders in translations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-03 11:23:53 +02:00
Arthur Schiwon ac3d8d1e43 effectively revert 17fae47bdb fixing i10n
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-03 11:05:45 +02:00
John Molakvoæ (skjnldsv) aefdd64069 Unified search UI
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-03 10:51:27 +02:00
Joas Schilling 7b91cb5029 Merge pull request #22076 from nextcloud/feature/noid/default_enable_user_status
Enable user_status by default
2020-08-03 09:44:43 +02:00
Georg Ehrke a8c4a8367a Enable user_status by default
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-03 08:38:47 +02:00
matt 4679e85076 adding social profile to search index
required in order to optimize regular background updates of contact avatars from social networks (see https://github.com/nextcloud/contacts/pull/1722#discussion_r463782429)
2020-08-02 14:16:50 +02:00
Nextcloud bot 4cf0f37387 [tx-robot] updated from transifex 2020-08-01 02:17:00 +00:00
Joas Schilling f32cf0ab63 Also consider Noto Color Emoji font
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-31 17:31:28 +02:00
Georg Ehrke 8e01ff15df Merge pull request #21186 from nextcloud/feature/20931/user_status
Status Feature
2020-07-31 17:25:06 +02:00
Georg Ehrke 0fad921840 Add user-status app
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-07-31 16:45:27 +02:00
John Molakvoæ fce6df06e2 Merge pull request #22074 from nextcloud/fix/babel/ie11-@nextcloud/event-bus
Add @nextcloud/event-bus to babel transpile
2020-07-31 14:14:21 +02:00
John Molakvoæ (skjnldsv) f23bc7a68e Add @nextcloud/event-bus to babel transpile
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-31 13:33:26 +02:00
Morris Jobke a2a3b87c19 Merge pull request #22067 from nextcloud/dependabot/npm_and_yarn/various
Dependabot/npm and yarn/various
2020-07-31 12:53:45 +02:00
Arthur Schiwon 7c56283c3c contactsmanager shall limit number of results early
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-07-31 12:42:17 +02:00
John Molakvoæ 1f316e2d8a Merge pull request #22068 from nextcloud/enh/babel-loader-exclude-node-modules-except
Use `babel-loader-exclude-node-modules-except`
2020-07-31 11:01:28 +02:00
John Molakvoæ (skjnldsv) 3a31397ac2 Use babel-loader-exclude-node-modules-except
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-31 11:00:33 +02:00
Morris Jobke 21095beb67 Merge pull request #22043 from nextcloud/fix/21892/reset-internal-cookie-state
reset the cookie internally in new API when abandoning paged results op
2020-07-31 10:14:11 +02:00
Morris Jobke e19bbce7f6 Merge pull request #22060 from nextcloud/trashbin-s3-fixes
Object store trashbin fixes
2020-07-31 10:10:33 +02:00
John Molakvoæ (skjnldsv) a384b4a97a Bump @nextcloud/eslint-config and peers
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-31 09:35:55 +02:00
John Molakvoæ (skjnldsv) 0f8aca9d87 Bump compiled files
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-31 09:26:43 +02:00
dependabot-preview[bot] fc31cb8bf2 Bump marked from 1.1.0 to 1.1.1
Bumps [marked](https://github.com/markedjs/marked) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v1.1.0...v1.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-31 09:17:25 +02:00
dependabot-preview[bot] 8962a42218 Bump regenerator-runtime from 0.13.5 to 0.13.7
Bumps [regenerator-runtime](https://github.com/facebook/regenerator) from 0.13.5 to 0.13.7.
- [Release notes](https://github.com/facebook/regenerator/releases)
- [Commits](https://github.com/facebook/regenerator/compare/regenerator-runtime@0.13.5...regenerator-runtime@0.13.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-31 09:17:24 +02:00
dependabot-preview[bot] 10db26b3e1 Bump sass-loader from 9.0.1 to 9.0.2
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v9.0.1...v9.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-31 09:17:24 +02:00
dependabot-preview[bot] 21dbd5e2d9 Bump vuex from 3.4.0 to 3.5.1
Bumps [vuex](https://github.com/vuejs/vuex) from 3.4.0 to 3.5.1.
- [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.4.0...v3.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-31 09:17:24 +02:00
dependabot-preview[bot] 73176ac5dc Bump @nextcloud/event-bus from 1.1.4 to 1.2.0
Bumps [@nextcloud/event-bus](https://github.com/nextcloud/nextcloud-event-bus) from 1.1.4 to 1.2.0.
- [Release notes](https://github.com/nextcloud/nextcloud-event-bus/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-event-bus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-event-bus/compare/v1.1.4...v1.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-31 09:17:24 +02:00
dependabot-preview[bot] 1d2532a0bb Bump webpack-node-externals from 1.7.2 to 2.5.0
Bumps [webpack-node-externals](https://github.com/liady/webpack-node-externals) from 1.7.2 to 2.5.0.
- [Release notes](https://github.com/liady/webpack-node-externals/releases)
- [Commits](https://github.com/liady/webpack-node-externals/compare/v1.7.2...v2.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-31 09:17:24 +02:00
dependabot-preview[bot] d515abbb2a Bump webpack from 4.43.0 to 4.44.1
Bumps [webpack](https://github.com/webpack/webpack) from 4.43.0 to 4.44.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.43.0...v4.44.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-31 09:17:24 +02:00
John Molakvoæ 0aac884f38 Merge pull request #21923 from nextcloud/dependabot/npm_and_yarn/p-queue-6.6.0
Bump p-queue from 6.4.0 to 6.6.0
2020-07-31 09:15:41 +02:00
dependabot-preview[bot] 3e70007fd3 Bump p-queue from 6.4.0 to 6.6.0
Bumps [p-queue](https://github.com/sindresorhus/p-queue) from 6.4.0 to 6.6.0.
- [Release notes](https://github.com/sindresorhus/p-queue/releases)
- [Commits](https://github.com/sindresorhus/p-queue/compare/v6.4.0...v6.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-31 06:39:08 +00:00
Nextcloud bot 3e994c6ba0 [tx-robot] updated from transifex 2020-07-31 02:17:21 +00:00
Morris Jobke 4520736593 Merge pull request #22061 from nextcloud/activity-instanceof-fix
fix instanceof ISettings check for activity settings
2020-07-31 00:50:51 +02:00
Morris Jobke 103a0cb20c Merge pull request #22005 from kevin147147/patch-6
Fix height to big for iPhone when using many apps
2020-07-31 00:48:37 +02:00
Morris Jobke 5d0ebe8ff6 Merge pull request #21903 from nextcloud/dependabot/npm_and_yarn/webpack-merge-5.0.9
Bump webpack-merge from 4.2.2 to 5.0.9
2020-07-31 00:47:32 +02:00
Arthur Schiwon 04521c6afc coding style fixes
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-07-30 21:18:20 +02:00
Arthur Schiwon b79e34c57b fix check for Cloud ID, missing return statements, wrong param use
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-07-30 21:10:54 +02:00
Robin Appelman 6cb550d567 fix instanceof ISettings check for activity settings
boolean logic is hard

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-30 17:53:14 +02:00
John Molakvoæ 2698e9e011 Merge pull request #22052 from nextcloud/dependabot/npm_and_yarn/elliptic-6.5.3
[Security] Bump elliptic from 6.5.2 to 6.5.3
2020-07-30 17:44:21 +02:00
John Molakvoæ (skjnldsv) cddf94ceb7 Replace merge.smart
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-30 16:38:52 +02:00
dependabot-preview[bot] d7845570c0 Bump webpack-merge from 4.2.2 to 5.0.9
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 4.2.2 to 5.0.9.
- [Release notes](https://github.com/survivejs/webpack-merge/releases)
- [Changelog](https://github.com/survivejs/webpack-merge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v4.2.2...v5.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-30 16:38:05 +02:00
Robin Appelman c2c9a6a0e1 fix object store trashbin handling
object stores are "special" given how they interact with the cache on their own

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-30 16:31:56 +02:00
Morris Jobke 83d32799ae Merge pull request #21998 from nextcloud/dependabot/npm_and_yarn/build/jsdoc-3.6.5
Bump jsdoc from 3.6.4 to 3.6.5 in /build
2020-07-30 16:26:12 +02:00
Robin Appelman 8c3b22859c dont update mimetype when moving to trash
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-30 16:11:45 +02:00
Morris Jobke 0b0cc48c88 Move event listener to dedicated class
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-30 12:04:56 +02:00
Robin Appelman d1bd3ba594 update saved credentials on password change
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-30 11:43:15 +02:00
Robin Appelman c864e5dfc2 remove saved credentails if the user no longer has any storage configured using them
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-30 11:43:15 +02:00
Robin Appelman 7ad0f66fc4 Only save login credentials in database once there is an external storage that needs it
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-30 11:43:15 +02:00
Joas Schilling a32e6a7958 Merge pull request #21993 from nextcloud/fix/lower_route_not_found_level
Log the route not found exception on a lower level
2020-07-30 10:59:31 +02:00
Morris Jobke 084f5063f2 Deprecate BeforeUserRemovedEvent because it can't be triggered in all cases
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-30 10:21:08 +02:00
Morris Jobke 4a7d7e446f User.php: rename of old dispatcher to legacyDispatcher
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-30 10:21:08 +02:00
Morris Jobke 36ee37ec0a Migrate OC_Group post_removeFromGroup hook to actual event object
Ref #14552

This adds a BeforeUserRemovedEvent to the LDAP backend because it was missing. It's not really before, but we don't have the before state.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-30 10:21:08 +02:00
Morris Jobke 788366500d Merge pull request #22015 from nextcloud/bugfix/noid/correctly-remove-user-shares-on-removing-group-members
Correctly remove usergroup shares on removing group members
2020-07-30 09:47:49 +02:00
Joas Schilling 5993bd45f3 Correctly remove usergroup shares on removing group members
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-30 09:47:31 +02:00
dependabot-preview[bot] 9f16bf674c [Security] Bump elliptic from 6.5.2 to 6.5.3
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3. **This update includes a security fix.**
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-29 22:11:27 +00:00
Joas Schilling 2af77b2ed7 Merge pull request #22034 from nextcloud/bugfix/noid/parse-url-returns-null
parse_url returns null in case a parameter is not found
2020-07-29 18:07:50 +02:00
Arthur Schiwon d3501be851 reset the cookie internally in new API when abandoning paged results op
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-07-29 17:48:56 +02:00
Morris Jobke 7e28286e9d Merge pull request #21542 from nextcloud/activity-notifications
basic settings system for activity notifications
2020-07-29 15:36:38 +02:00
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 403ceab353 Merge pull request #22038 from nextcloud/bugfix/noid/dont-strict-type-uid-to-string
When no user is logged in null is used
2020-07-29 14:20:23 +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
Joas Schilling 9127731c52 parse_url returns null in case a parameter is not found
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-29 08:32:20 +02:00
Nextcloud bot 1f42a8b5cb [tx-robot] updated from transifex 2020-07-29 02:16:52 +00:00
Joas Schilling 4824e5e1a7 Merge pull request #22027 from nextcloud/bugfix/noid/fix-overwrite-service-for-apps
Fix overwriteService() for apps
2020-07-28 18:37:35 +02:00
Joas Schilling bab4fb98eb Fix overwriteService() for apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-28 09:38:43 +02:00
Nextcloud bot 6c176b064c [tx-robot] updated from transifex 2020-07-28 02:16:39 +00:00
Elijah Martin-Merrill 56ed563b0c fix memory leak caused by not destroying image in Preview/Generate.php
Signed-off-by: Elijah Martin-Merrill <elijah@nyp-itsours.com>
2020-07-27 10:52:44 -04: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
kevin147147 32505e78f6 Fix height to big for iPhone when using many apps
Same story as https://github.com/nextcloud/server/pull/10276
I'm testing on iPhone without home button. These devices now have an even higher bottom bar.
2020-07-25 23:45:38 +02:00
Nextcloud bot 34c3d0a977 [tx-robot] updated from transifex 2020-07-25 02:16:36 +00:00
dependabot-preview[bot] 8e1d334258 Bump jsdoc from 3.6.4 to 3.6.5 in /build
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.4 to 3.6.5.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/3.6.5/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.4...3.6.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-25 01:15:12 +00:00
Roeland Jago Douma b57019bcaa Log the route not found exception on a lower level
This should be logged but it is not that critical to wanner level 3

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-24 15:39:53 +02:00
Morris Jobke 15561b4e0a Merge pull request #21977 from onehappycat/issue_21960
Ignore whitespace in sharing by mail
2020-07-24 13:37:36 +02: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 6318721e19 Merge pull request #21818 from nextcloud/techdebt/noid/theming-bootstrap
Use IBootstrap for the app theming
2020-07-24 13:16:41 +02:00
Robin Appelman c8427781b4 implement old settings interface
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-24 13:03:35 +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
Morris Jobke 6ef029d6f3 Merge pull request #21987 from nextcloud/techdebt/notfoundresponse-template
Move NotFoundResponse to a proper TemplateResponse
2020-07-24 12:20:27 +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
Julius Härtl e1b696929f Move NotFoundResponse to a proper TemplateResponse
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-24 08:58:14 +02:00
Nextcloud bot c4a6666e6c [tx-robot] updated from transifex 2020-07-24 02:16:52 +00:00
Morris Jobke 34c027e443 Merge pull request #21940 from nextcloud/fix/14541/fix-fragile-acceptance-tests-part1
Revert "Disable fragile tests for now" partially
2020-07-24 01:04:13 +02:00
onehappycat e04525c186 Ignore whitespace in sharing by mail
Signed-off-by: onehappycat <one.happy.cat@gmx.com>
2020-07-23 22:20:18 +02: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
Morris Jobke 9275823a30 Merge pull request #21747 from simonspa/fix_mail_logosize
Fix header logo size in notification mails
2020-07-23 21:22:01 +02:00
Robin Appelman c8cf2e8a5b fix renameFromStorage messing with folder mimetype
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-23 20:31:35 +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
Simon Spannagel 1fc54d3479 Fix header logo size in notification mails
Signed-off-by: Simon Spannagel <simonspa@kth.se>
2020-07-23 17:52:21 +02:00
Morris Jobke 761cdf9877 Remove deprecated test of internal attributes via assertAttributeEquals in constructor tests
I removed the tests completely because they just test that the constructor assigns the values to the internal properties. Nothing that should be cared about from the outside.

See https://github.com/sebastianbergmann/phpunit/issues/3339#issuecomment-428843322

It is seen as bad practice to test internal stuff of objects instead of the actual input and output of mathod calls.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-23 17:11:29 +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 e4144e6b36 Remove deprecated test of internal attributes via assertAttributeEquals
See https://github.com/sebastianbergmann/phpunit/issues/3339#issuecomment-428843322

It is seen as bad practice to test internal stuff of objects instead of the actual input and output of mathod calls.

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 ad7798f9c9 use exceptions for error signaling in writeStream
this remove the ambiguity when writing zero length files

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-23 15:24:52 +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
Georg Ehrke cdf095d107 Merge pull request #21970 from nextcloud/dependageorg/npm_and_yarn/nextcloud/vue-2.3.0
Bump @nextcloud/vue from 2.2.1 to 2.3.0
2020-07-23 15:09:33 +02:00
Morris Jobke 9af99a73dc Merge pull request #21966 from nextcloud/enh/userbackend/custom_logout
Allow user backends to specify a custom logout url
2020-07-23 14:54:23 +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 e0cc95f3aa Allow user backends to specify a custom logout url
* Allows SSO backends to do a global logout

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-23 10:42:40 +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 94c74fb97b Merge pull request #21946 from nextcloud/fix/webauthn/windows_hello
Do not double encode the userid in webauthn login
2020-07-22 21:29:21 +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
Roeland Jago Douma 4c08b1754d Do not double encode the userid in webauthn login
* Else login fails with webauthn devices that send the userid
  - Like windows hello

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-22 18:56:42 +00: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
John Molakvoæ 5fea50b770 Merge pull request #21867 from nextcloud/dependageorg/npm_and_yarn/nextcloud/vue-2.2.1 2020-07-22 17:47:18 +02:00
Daniel Calviño Sánchez 9303390b66 Hide share link menu before copying the share link in acceptance tests
The (old) Firefox version used in the acceptance tests does not properly
render the share link menu. As the menu is taller than it should
sometimes it covers the copy link button, so it is not possible to click
it without hiding the share link menu. Moreover, in those cases the
share menu button is also covered by the share menu, so the menu needs
to be closed by pressing the "Esc" key.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-07-22 15:59:35 +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
Georg Ehrke b73aedb81e Bump @nextcloud/vue from 1.5.0 to 2.2.1
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 cda6fad1e8 Merge pull request #21905 from nextcloud/dependabot/npm_and_yarn/babel/core-7.10.5
Bump @babel/core from 7.10.4 to 7.10.5
2020-07-22 09:44:08 +02:00
dependabot-preview[bot] cb363c6ab1 Bump @babel/core from 7.10.4 to 7.10.5
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.4 to 7.10.5.
- [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.5/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-22 07:36:06 +00: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
Christoph Wurst e029055e76 Make the bootstrap context return ContainerInterface instances
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-21 20:42:24 +02:00
Robin Appelman 5eb1e75e24 build autoloader
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-21 19:26:59 +02:00
Robin Appelman aa051875f9 improve default notification fallback
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-21 17:40:22 +02:00
kesselb 9a7a8b6e38 Merge pull request #21941 from nextcloud/design/font-ubuntu-cantarell
Move Cantarell before Ubuntu in font stack to fix GNOME + Ubuntu setups
2020-07-21 17:36:03 +02:00
Robin Appelman fb5ae20722 basic settings system for activity notifications
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-21 17:12:38 +02:00
Jan C. Borchardt 49f4b726e9 Move Cantarell before Ubuntu in font stack to fix GNOME + Ubuntu setups
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-07-21 16:20:32 +02:00
Morris Jobke 5cd5d3c55b Revert "Disable fragile tests for now"
This reverts commit 40e04c8391.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-21 15:58:55 +02:00
Morris Jobke d35e8d7b2b Merge pull request #21934 from nextcloud/tests/noid/disable-fragile-comments-tests
Disable fragile comments tests
2020-07-21 15:19:28 +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
Morris Jobke c25c984df5 Disable fragile comments tests
Those tests are actual problems in our code. See https://github.com/nextcloud/server/pull/20462#issuecomment-613380650 for a summary by @danxuliu

Basically they are introduced by #18929 but are only revealed by #18764.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-21 13:31:19 +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
Morris Jobke 9ae75a3ca9 Merge pull request #21850 from nextcloud/techdebt/noid/register-alternative-logins
Allow to register AlternativeLogin on RegistrationContext
2020-07-20 14:20:03 +02:00
John Molakvoæ 84ca5863d7 Merge pull request #21921 from nextcloud/fix/use-DOMContentLoaded
Use DOMContentLoaded and fix sharebymail loading issue
2020-07-20 14:07:20 +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
Roeland Jago Douma b2e3466005 Merge pull request #21916 from nextcloud/tests/remove-ui-regression
Remove outdated ui-regression tests
2020-07-20 10:56:16 +02:00
Julius Härtl 6f32b59b23 Remove outdated ui-regression tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-20 09:27:46 +02:00
Morris Jobke 9271d65641 Merge pull request #21880 from nextcloud/webauthn/discourage_user_auth
Discourage webauthn user interaction
2020-07-20 09:24:08 +02:00
Nextcloud bot 5add0ff1e2 [tx-robot] updated from transifex 2020-07-20 02:16:48 +00:00
Morris Jobke a1a1349977 Merge pull request #21891 from nextcloud/techdebt/undeprecate-iappcontainer-iservercontainer
Undeprecate IAppContainer and IServerContainer
2020-07-19 22:16:59 +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
Christoph Wurst 7224d268e4 Merge pull request #21887 from nextcloud/techdebt/deprecate-server-container-query
Deprecate the query mothod on the server container
2020-07-17 14:55:40 +02:00
Joas Schilling 5cd404a504 Merge pull request #21889 from nextcloud/techdebt/noid/make-magic-strings-publicly-available
Make magic strings of ClientFlowLogin and v2 publicly available
2020-07-17 13:12:06 +02:00
Christoph Wurst 22ff03969e Undeprecate IAppContainer and IServerContainer
With 4152216bd8 these two interfaces got
deprecated with the reasoning that we only need the base PSR interface.
However, there are cases where in Nextcloud you still want to have a
specific container (the one for the app vs the one for the server) when
you either have a container injected or query one from a container.

With a single interface that would not be possible. So it's probably
better if we leave the two interfaces, but only have them extend the PSR
interface. IContainer – with the custom methods – shall still be phased
out, but the two other sub interfaces can stay for tagging purposes.
Tagging means that no methods shall be added.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-17 10:17:18 +02:00
Joas Schilling 543fabe279 Make magic strings of ClientFlowLogin and v2 publicly available
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-17 09:06:13 +02: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
Christoph Wurst 9bc6a8437d Deprecate the query mothod on the server container
The interface method has already been deprecated, but if some code uses
the concrete type instead, the deprecation is not shown (by phpstorm),
so I think it's better to have this method tagged as well.

The "fix" for this deprecation is to simply use `get` instead of
`query`. Right now this will work 100% the same, but the goal is to slim
down the interface and only use what PSR-11 offers.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-17 08:05:07 +02:00
Nextcloud bot 2c79083f27 [tx-robot] updated from transifex 2020-07-17 02:17:12 +00:00
Joas Schilling cae849bcf9 Merge pull request #21869 from nextcloud/techdebt/noid/add-constants-for-magic-strings
Add constants for the magic strings of template rendering
2020-07-16 22:00:57 +02:00
Roeland Jago Douma 884f3d009a Discourage webauthn user interaction
Else people might have the feeling this is also doing 2FA. And since it
is only prefered it can be ignored and hacked around.

Once we have proper 2FA with webauthn in one go this probably needs to
be revisted.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-16 21:10:07 +02:00
Roeland Jago Douma dfcb49b9b7 Merge pull request #21873 from nextcloud/techdebt/deprecate-server-container-getters
Deprecate the server container getters
2020-07-16 20:27:36 +02:00
Roeland Jago Douma 3085cf7341 Merge pull request #21874 from nextcloud/feature/scoped-psr-logger
Add a scoped PSR logger for apps
2020-07-16 20:25:40 +02: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 8a433a7226 Deprecate ILogger
The logger service was always intended to follow the PSR-3 interface.
It's time to embrace this and switch over to the "official" API,
hence this custom interface can be slowly phased out.

With Nextcloud 20 the logger also got support for
* App id filled out automatically
* Exceptions handling (as replacement for logException)

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-16 19:19:23 +02:00
Christoph Wurst c889021334 Add a scoped PSR logger for apps
Just like for ILogger we should have a version that has the app ID
pre-set for the context (unless overwritten) so that each log entry can
be traced back to the app that produced it.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-16 19:11:56 +02:00
Christoph Wurst efd2835b23 Deprecate the server container getters
Service locators are an anti pattern. These getters just make it more
appealing to do the wrong thing. If you want to locate a service the bad
way, just use the `get` method on a container – it will do the same in
also one line of code.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-16 18:59:56 +02:00
Christoph Wurst 684a7200ac Merge pull request #21863 from nextcloud/techdebt/files-trashbin-container-cleanup
Clean up container usage in files trashbin
2020-07-16 18:46:10 +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
Joas Schilling 49970639fa Add constants for the magic strings of template rendering
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-16 15:47:28 +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 33aeef2d10 Merge pull request #21809 from nextcloud/techdebt/di-container-cleanup
Use PSR container interface and deprecate our own abstraction
2020-07-16 15:43:26 +02:00
Joas Schilling 0dfcc132ca Allow to register AlternativeLogin on RegistrationContext
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-16 14:20:24 +02:00
Christoph Wurst 4152216bd8 Use PSR container interface and deprecate our own abstraction
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-16 13:35:45 +02:00
Roeland Jago Douma b12d3691c3 Merge pull request #21858 from nextcloud/dependabot/npm_and_yarn/build/lodash-4.17.19
Bump lodash from 4.17.14 to 4.17.19 in /build
2020-07-16 10:43:11 +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
dependabot[bot] 94ae095051 Bump lodash from 4.17.14 to 4.17.19 in /build
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.14 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.14...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-16 07:23:29 +00: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 8368d56f8e Merge pull request #21853 from nextcloud/enh/noid/better-event-description
Better event description for BeforeTemplateRenderedEvent in files and files_sharing
2020-07-15 21:19:14 +02: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 fc41810d2f Merge pull request #21822 from nextcloud/enh/events/additionalscripts
Add real events to load additionalscripts
2020-07-15 19:50:01 +02:00
Morris Jobke aed5eb55af Merge pull request #21843 from nextcloud/debt/noid/less-verbose-translation-checker
Make translation-checker.php less verbose
2020-07-15 19:37:51 +02:00
Morris Jobke cc258ad51a Merge pull request #21844 from bladewing/bladewing-harden-against-mimetype-mismatch
Avoid substr() error when strpos returns false
2020-07-15 19:33:09 +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
Morris Jobke e27f8aa3e5 Merge pull request #21837 from nextcloud/enh/noid/also-show-cs-diff
Run cs:check a second time to show diff
2020-07-15 16:19:59 +02:00
Morris Jobke f30ecbfadd Merge pull request #21848 from nextcloud/techdebt/deprecate-internal-symfony-dispatcher-adapter
Deprecate the internal Symfony dispatcher adapter
2020-07-15 16:18:56 +02:00
Morris Jobke 19afeda366 Merge pull request #21849 from nextcloud/fix/noid/integration-tests
Fix integration test due to new dashboard app
2020-07-15 16:18:05 +02:00
Daniel Kesselberg 08cb4b8172 Run cs:check a second time to show diff
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-15 15:35:58 +02:00
Morris Jobke 8dd48f3dc8 Fix integration test due to new dashboard app
See #21346

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-15 14:07:59 +02:00
Roeland Jago Douma 7d7ba61625 Add real events to load additionalscripts
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-15 14:07:18 +02:00
Christoph Wurst b9a911f0b3 Deprecate the internal Symfony dispatcher adapter
This type is not known on the public API, yet we should make sure that
any usage of this class is noticed and migrated as soon as possible.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-15 13:57:35 +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
Roeland Jago Douma da4f3559c5 Merge pull request #21720 from nextcloud/search-min-length-feedback
provide feedback about minimum length needed to trigger search
2020-07-15 12:31:03 +02:00
Daniel Kesselberg 5ffe9fc7db Make translation-checker.php less verbose.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-15 11:29:12 +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
Roeland Jago Douma 24ec4a83ba Merge pull request #21683 from nextcloud/dependabot/npm_and_yarn/babel/plugin-proposal-class-properties-7.10.4
Bump @babel/plugin-proposal-class-properties from 7.10.1 to 7.10.4
2020-07-15 10:34:44 +02:00
lui87kw 3fe3d1fca3 Extra white space to follow other ifs
Signed-off-by: lui87kw <lukas.ifflaender@uni-wuerzburg.de>
2020-07-15 10:18:47 +02:00
bladewing 7dafd5831f Avoid substr() error when strpos returns false
"Exception: substr() expects parameter 3 to be int, bool given" can occur on Line 378 $mimePart = substr($icon, 0, strpos($icon, '-'));
This happens, when '-' is not found and strpos returns false instead of an int.
When this occurs, e.g., Activity hangs.

Signed-off-by: lui87kw <lukas.ifflaender@uni-wuerzburg.de>
2020-07-15 10:18:47 +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
Julius Härtl 31a1494529 Add load method for apps to bootstrap their panels
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:11 +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 f7c04b0415 Deprecate panel register event right away but keep it for not breaking backward compatible apps
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 86a7d1641a Update autoloader
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:24:52 +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
Julius Härtl 544fcdb549 Deprecate old dashboard API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:24:51 +02:00
Julius Härtl 673d70dfc5 Add new dashboard public API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:24:50 +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
Roeland Jago Douma b327b4fbe6 Merge pull request #21829 from nextcloud/bugfix/noid/fix-login-form-erors
Fix login form erors
2020-07-15 08:48:25 +02:00
Joas Schilling d5b85e5076 Rebuild
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-15 06:23:14 +00:00
Morris Jobke 91df865dc9 Merge pull request #21839 from nextcloud/debt/noid/move-since-check-to-checkers
Move since check to checkers
2020-07-15 07:32:34 +02: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
Daniel Kesselberg fc8566b253 Move check for missing since tag to autotest-checkers.sh
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-14 21:43:19 +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 fba64a972f Merge pull request #21812 from nextcloud/feature/noid/app-bootstrap-without-app.php
Do not load app.php if Application implements IBootstrap
2020-07-14 17:06:06 +02:00
Roeland Jago Douma dca2469462 Merge pull request #21833 from nextcloud/docfix/noid/irequest_getHeader
Fix PHPDoc of IRequest::getHeader
2020-07-14 16:43:09 +02:00
Morris Jobke 6f167f0dd1 Merge pull request #21828 from nextcloud/enhancement/lazy-bootstrap-registration-delegation
Delegate bootstrap registration lazily
2020-07-14 16:37:04 +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
Morris Jobke d9cc2f0213 Do not load app.php if Application implements IBootstrap
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-14 15:55:23 +02:00
Christoph Wurst f03f88b437 Delegate bootstrap registration lazily
* Keep the registration context
* Expose the context object for other components
* Ensure registration is only run once

Search providers are migrated for demonstration.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-14 15:33:32 +02:00
Joas Schilling 2607d2df1a Use generateUrl and imagePath instead of OC.*
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-14 15:30:59 +02:00
Joas Schilling ed3e03821b Use space instead of tab inside translation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-14 15:30:58 +02:00
Morris Jobke 1b34862c22 Merge pull request #21832 from nextcloud/bugfix/noid/source-maps-prod
Build source maps on production build again
2020-07-14 15:29:58 +02:00
Christoph Wurst 9c209ab208 Merge pull request #21827 from nextcloud/fix/psr3-logger-exception
Make the PSR-3 adapter exception-aware
2020-07-14 14:44:18 +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
Georg Ehrke 3bdfb380fc Fix PHPDoc of IRequest::getHeader
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-07-14 14:20:43 +02:00
Julius Härtl 506f1784fc Build source maps on production build again
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-14 13:52:53 +02:00
Christoph Wurst ab303dddcd Make the PSR-3 adapter exception-aware
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-14 09:38:51 +02: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
Roeland Jago Douma 5f23259ab6 Merge pull request #21791 from nextcloud/bug/21790/update-guzzle
Add Guzzle's InvalidArgumentException
2020-07-14 09:23:36 +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
Daniel Kesselberg fb6c7a48b5 Add Guzzle's InvalidArgumentException
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-14 00:19:16 +02:00
Morris Jobke 8f78205be0 Merge pull request #21813 from nextcloud/enh/noid/report-code-style-to-github
Report php-cs-fixer errors to GitHub
2020-07-13 22:43:06 +02: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
Daniel Kesselberg f64b47c36a Report php-cs-fixer errors to GitHub
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-13 16:04:31 +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 2c87ce60a0 Merge pull request #21800 from nextcloud/bug/noid/key_export_call
Call openssl_pkey_export with $config and log errors.
2020-07-13 10:58:24 +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
Roeland Jago Douma a8cc99bd53 Merge pull request #21794 from nextcloud/dependabot/npm_and_yarn/jsdom-16.3.0
Bump jsdom from 16.2.2 to 16.3.0
2020-07-13 10:23:42 +02:00
Nextcloud bot 0cfaaf9fac [tx-robot] updated from transifex 2020-07-13 02:17:04 +00:00
Daniel Kesselberg ddc06e3a88 Call openssl_pkey_export with $config and log errors.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-12 20:22:36 +02: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
dependabot-preview[bot] 7fde7389a8 Bump jsdom from 16.2.2 to 16.3.0
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.2.2 to 16.3.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.2.2...16.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-11 09:24:27 +00:00
Roeland Jago Douma 65f2dc538b Merge pull request #21796 from nextcloud/dependabot/npm_and_yarn/mochapack-2.0.3
Bump mochapack from 2.0.2 to 2.0.3
2020-07-11 11:22:02 +02:00
Nextcloud bot 27da68b1a0 [tx-robot] updated from transifex 2020-07-11 02:17:19 +00:00
dependabot-preview[bot] 581d438d81 Bump mochapack from 2.0.2 to 2.0.3
Bumps [mochapack](https://github.com/sysgears/mochapack) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/sysgears/mochapack/releases)
- [Commits](https://github.com/sysgears/mochapack/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-11 01:18:37 +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
Roeland Jago Douma 3f87ef9137 Merge pull request #21684 from nextcloud/dependabot/npm_and_yarn/sass-loader-9.0.1
Bump sass-loader from 8.0.2 to 9.0.1
2020-07-10 09:13:17 +02:00
Roeland Jago Douma 7d5854a38c Merge pull request #21730 from nextcloud/design/app-limit
Up the limit for the header app menu
2020-07-10 09:02:42 +02:00
Jan-Christoph Borchardt df9529e9ea Up the limit for the header app menu, fix #21635
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-10 06:43:38 +00: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 e18e4511d0 Merge pull request #21760 from nextcloud/fix/20453/get-plural
Fix parsing of language code
2020-07-09 22:08:59 +02:00
Daniel Kesselberg 1967148763 Compile assets
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-09 21:14:45 +02:00
Daniel Kesselberg 5ba9825452 Fix parsing of language code
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-09 21:11:27 +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
Roeland Jago Douma a4cf136706 Merge pull request #21750 from nextcloud/techdebt/noid/files_versions-bootstrap
Move files_versions to bootstrap mechanism
2020-07-09 19:15:01 +02:00
Morris Jobke 275f88180d Merge pull request #21778 from nextcloud/fix/moment-locale-early
Set the moment locale even earlier
2020-07-09 17:21:35 +02:00
Roeland Jago Douma 10d862e243 Merge pull request #21759 from nextcloud/enh/lazy_subscription
Make the subscription registry lazy
2020-07-09 15:43:48 +02:00
Christoph Wurst c25ce9ad20 Set the moment locale even earlier
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-09 15:09:05 +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
Daniel Kesselberg d9f5fdb67a Add DummySubscription for tests
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-09 14:24:00 +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
Joas Schilling 183e2efd95 Merge pull request #21489 from nextcloud/fix/share/use_correct_mount
Use the correct mountpoint to calculate
2020-07-09 12:57:37 +02:00
Joas Schilling 71a62670cd Merge pull request #21736 from nextcloud/bugfix/21433
Fix placeholder issues with multiplace spaces in the name
2020-07-09 12:55:34 +02:00
Roeland Jago Douma 725872c23a Make the subscription registry lazy
This will allow to do lazy registration here which should allow for
loading less (or at least only when needed!).

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-09 12:21:06 +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
Robin Appelman 70906a359f ensure home storage is initialized on first setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-09 11:14:45 +02:00
Robin Appelman 37c334a2a6 ensure mounts are scanned during tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-09 11:14:44 +02:00
Daniel Calviño Sánchez e0fbf4d033 Add more integration tests for resharing permissions
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-07-09 11:14:44 +02:00
Roeland Jago Douma 43efac345e Use the correct mountpoint to calculate
If we use the owners mount point this results in null. And then the rest
of the checks get called with null. Which doesn't work.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-09 11:14:44 +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
Morris Jobke 766cadc253 Merge pull request #21766 from nextcloud/fix/21761/regression-in-return-value
Fix regression in return value of OC_Util::checkDataDirectoryPermissi…
2020-07-09 10:00:23 +02:00
Morris Jobke 9e88456768 Fix regression in return value of OC_Util::checkDataDirectoryPermissions due to #21761
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-09 09:29:44 +02:00
Julius Härtl 00d545f87e Fix placeholder issues with multiplace spaces in the name
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-09 07:05:15 +00:00
Roeland Jago Douma f3768e2a2a Merge pull request #21761 from nextcloud/fix/permission_check_translation
Kill another unneeded translation
2020-07-09 08:28:57 +02:00
Nextcloud bot 5864501d3f [tx-robot] updated from transifex 2020-07-09 02:17:35 +00:00
Roeland Jago Douma c7d9636e82 Kill another unneeded translation
We should only translate things when we actually need them.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-08 21:47:16 +02:00
Roeland Jago Douma ce5cb5ac33 Merge pull request #21758 from nextcloud/fix/routes/defaults
Fix supporting defaults for routes
2020-07-08 20:42:28 +02:00
Roeland Jago Douma 3f447b9c8c Fix supporting defaults for routes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-08 19:52:45 +02:00
Roeland Jago Douma 44f8312cd3 Merge pull request #21754 from nextcloud/td/no_translation_on_each_request
Only translate if we need the string
2020-07-08 19:08:34 +02:00
Roeland Jago Douma 76eb793f9b Only translate if we need the string
This translation was done in each call. Over and over and over again.
All while it was probably not used in 99.99999% of the cases. A small
gain. But still.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-08 15:12:01 +02: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 e76c178b75 Merge pull request #21749 from nextcloud/techdebt/noid/contactsinteraction-bootstrap
Move contactsinteraction and comments to bootstrap mechanism
2020-07-08 13:03:00 +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
Roeland Jago Douma 7a92113fec Merge pull request #21643 from nextcloud/enh/no_routeactionhadler_inits
Do not create a RouteActionHandler object for each route
2020-07-08 09:28:05 +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
Morris Jobke abe222c979 Merge pull request #21739 from nextcloud/techdebt/14552/migrate-OC-initSession
Remove hook for initSession
2020-07-08 09:02:37 +02:00
Nextcloud bot 8ca1208bbb [tx-robot] updated from transifex 2020-07-08 02:16:58 +00:00
Morris Jobke 8d2d051841 Remove hook for initSession
It's not used anyways and allowed to manipulate the state of the session. Also removed the code handling this.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-07 21:44:36 +02: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
Roeland Jago Douma edc1c77dd9 Do not create a RouteActionHandler object for each route
This is not required and doesn't allow us to be properly lazy. On top of
it this doesnt allow us to cache the routes (since closures/objects
can't be cached).

This is the first small step into cleaning up the routing we have

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-07 12:33:22 +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
Morris Jobke cd7a6276f2 Merge pull request #21676 from J0WI/fix-chmod-on-fd
Fix chmod on file descriptor
2020-07-07 09:44:57 +02:00
Morris Jobke 23c4bc29a4 Merge pull request #21725 from nextcloud/bugfix/21316/ie11-quoted-props
Fix main bundle on IE11
2020-07-07 09:43:34 +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
Julius Härtl 5aef97cfa7 Do not quote properties when optimizing 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
Morris Jobke 560c485e5d Merge pull request #21714 from nextcloud/td/remove/getAppFolder
Remove old deprecated getAppFolder
2020-07-06 22:36:55 +02:00
Morris Jobke 2124d1914a Merge pull request #18867 from HolgerHees/patch-1
Update SecurityMiddleware.php
2020-07-06 22:31:48 +02:00
Roeland Jago Douma 7d128ebf3e Remove old deprecated getAppFolder
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-06 22:06:58 +02:00
Holger Hees e70249e089 Update SecurityMiddleware.php
OC::$WEBROOT can be empty in case if your nextcloud installation has no url prefix. This will result in an empty Location Header.

in other areas OC::$WEBROOT is always used together with an /
2020-07-06 21:34:46 +02:00
Morris Jobke b2959d7c86 Merge pull request #21717 from nextcloud/fix/tests/sharebymail
Fix sharebymail tests
2020-07-06 21:33:19 +02:00
Morris Jobke 4e8552929b Merge pull request #20729 from nextcloud/cleanup/noid/shared-tags-code
Tags.php and the old sharing mechanism
2020-07-06 21:30:48 +02:00
Roeland Jago Douma c5c251307e Merge pull request #21706 from nextcloud/bugfix/21698/add-a-clear-abuse-message
Add a clear message why you could end up there
2020-07-06 21:26:08 +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
Roeland Jago Douma d8bd6cfe6b Merge pull request #21713 from nextcloud/td/deprecate/register_rotues
Deprecate registerRoutes
2020-07-06 20:55:59 +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
Roeland Jago Douma 37b2121ccf Deprecate registerRoutes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-06 15:15:20 +02:00
Morris Jobke 37856cd377 Cascading effect - more code that now is not used anymore
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-06 14:13:53 +02:00
Morris Jobke e20db42a0c Tags.php and the old sharing mechanism
The old sharing mechanism isn't working anymore, because it was replaced by Share 2.0. Also it was nowhere used so this removes the code paths and reduces complexity.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-06 14:12:12 +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 fb69d6d195 Merge pull request #21238 from nextcloud/techdebt/noid/deferrable-notification-apps
Allow notification apps to defer and flush the sending
2020-07-06 13:50:25 +02:00
Joas Schilling abec8a2c63 Add a clear message why you could end up there
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-06 13:49:09 +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
Morris Jobke 6c825ee9a0 Merge pull request #21665 from nextcloud/debt/noid/job-list
Fix wrong phpdoc for execute method
2020-07-06 11:14:14 +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 106c733242 Merge pull request #21581 from nextcloud/3rdparty/symfony/4.4.10
Bump symfony deps to 4.4.10
2020-07-06 10:32:48 +02:00
Morris Jobke b1cdd0dd9b Use formal type hints instead of informal PHPDoc
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-06 10:13:23 +02:00
Roeland Jago Douma f8036075c8 Bump symfony deps to 4.4.10
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-06 10:02:39 +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
Nextcloud bot d480c4df3f [tx-robot] updated from transifex 2020-07-06 02:16:08 +00: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 e900f424ce Merge pull request #21636 from nextcloud/lock-exception-readable-path
add proper paths to locking exceptions
2020-07-05 22:37:12 +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 52af709cea Merge pull request #21686 from nextcloud/dependabot/npm_and_yarn/babel/core-7.10.4
Bump @babel/core from 7.10.3 to 7.10.4
2020-07-04 15:16:54 +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
dependabot-preview[bot] 94974ab73b Bump @babel/core from 7.10.3 to 7.10.4
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.3 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-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-04 06:48:52 +00:00
Roeland Jago Douma 6d2c79598a Merge pull request #21685 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.10.4
Bump @babel/preset-env from 7.10.3 to 7.10.4
2020-07-04 08:46:22 +02:00
Roeland Jago Douma 69f5b70284 Merge pull request #21682 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-import-2.22.0
Bump eslint-plugin-import from 2.21.2 to 2.22.0
2020-07-04 08:45:46 +02:00
Nextcloud bot c52e6c8a47 [tx-robot] updated from transifex 2020-07-04 02:16:15 +00:00
dependabot-preview[bot] d14c1b7d42 Bump @babel/preset-env from 7.10.3 to 7.10.4
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.10.3 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-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-04 01:23:32 +00:00
dependabot-preview[bot] 95516ee695 Bump sass-loader from 8.0.2 to 9.0.1
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 8.0.2 to 9.0.1.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v8.0.2...v9.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-04 01:22:45 +00:00
dependabot-preview[bot] 285068485e Bump eslint-plugin-import from 2.21.2 to 2.22.0
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.21.2 to 2.22.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.21.2...v2.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-04 01:21:09 +00:00
J0WI 356bc50420 Only clear the realpath cache
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-07-03 22:47:13 +02:00
J0WI ea08a01999 clearstatcache() on rmdir
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-07-03 22:42:27 +02:00
J0WI 6ca1599ea4 Fix chmod on file descriptor
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-07-03 20:53:58 +02:00
Joas Schilling 3d559159f0 Allow notification apps to defer and flush the sending
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-03 16:44:43 +02: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
Christoph Wurst 4a3ea04baa Callable parameter injection
This is like what we have to DI and classes, but for callables.

The motivating factor is to get rid of *service locators* in the `boot`
method of apps as a new pattern is about to emerge where we have lots of
`query` calls on the app or server container in order to fetch some
services.

With this little helper it's possible to call another (public) method
and magically have everything injected.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-03 14:37:46 +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
Daniel Kesselberg 9b10d35477 Fix wrong phpdoc for execute method
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-03 10:47:15 +02:00
Christoph Wurst 318d553dbd Merge pull request #21662 from nextcloud/fix/s3-bucket-compat-static-call
Fix static method call for s3 bucket compat check
2020-07-03 10:22:53 +02:00
Roeland Jago Douma 5e985c61dc Merge pull request #20198 from nextcloud/enh/enable-codecov
Send coverage to codecov again
2020-07-03 10:07:04 +02:00
Joas Schilling 19e1efd1dd Merge pull request #21439 from nextcloud/feature/noid/move-autocomplete-filter-event-to-new-dispatcher-and-class
Move AutoComplete::filterResults to new event dispatcher and GenericE…
2020-07-03 10:03:34 +02:00
Roeland Jago Douma ffc85ad614 Merge pull request #21431 from nextcloud/search-filter-invalid-results
Filter out search results that have invalid encoding
2020-07-03 09:09:03 +02:00
Christoph Wurst d3a4bc91f7 Fix static method call for s3 bucket compat check
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-03 09:02:58 +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
Morris Jobke d496c5c919 Merge pull request #21644 from nextcloud/bugfix/noid/typo-in-variable-name
Fix typo in variable name and make check more accurate
2020-07-03 00:05:58 +02: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 9b916c5509 Merge pull request #21648 from nextcloud/bug/21647/tar-header
Add missing TarHeader.php
2020-07-02 21:09:02 +02:00
Roeland Jago Douma d53e005458 Merge pull request #21360 from nextcloud/root-storage-prevent-scanning
prevent the root storage from accidentally scanning user folders
2020-07-02 21:07:16 +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 c79f8b9543 Merge pull request #21580 from therealklanni/master
Add audio formats to htaccess
2020-07-02 20:59:54 +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
Daniel Kesselberg 2ac4548b49 Add missing TarHeader.php
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-02 20:01:47 +02:00
Roeland Jago Douma 19aa92a39c Merge pull request #21657 from nextcloud/fix/no_undefined_in_template
Check if debugMode is defined before using it
2020-07-02 19:57:52 +02:00
Roeland Jago Douma ac3137a166 Check if debugMode is defined before using it
Else the sabre error page (where the var is not defined) will throw
warnings all the time.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-02 15:46:59 +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
Roeland Jago Douma 0ac3a65f62 Merge pull request #21653 from nextcloud/bugfix/noid/fix-ipv6-remote-addresses-from-x-forwarded-for-header
Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validating
2020-07-02 12:01:24 +02:00
Joas Schilling 74a9cadc50 Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validating
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-02 11:13:13 +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
Joas Schilling dc175d4ecc Fix typo in variable name and make check more accurate
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-01 10:48:38 +02:00
Joas Schilling b997edad10 Add a dedicated method to get the language for another user
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-01 10:20:07 +02:00
Joas Schilling 35c6b1236f Move AutoComplete::filterResults to new event dispatcher and GenericEvent
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-01 09:57:33 +02:00
Joas Schilling ebedbf1579 Merge pull request #19646 from firlevapz/bugfix/19400/oauth2-login-opens-new-browser-window
Change OAuth2 redirect link to relative link
2020-07-01 09:39:55 +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
Daniel Kesselberg 9d04ed66e3 Hello codecov 🚀
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-30 21:53:11 +02:00
Roeland Jago Douma 43216f0ac9 Merge pull request #21604 from nextcloud/dependabot/npm_and_yarn/vue-loader-15.9.3
Bump vue-loader from 15.9.2 to 15.9.3
2020-06-30 21:20:07 +02:00
Roeland Jago Douma 873be16c8d Merge pull request #21588 from nextcloud/bug/21214/method-signature
Update presign method to match with interface again.
2020-06-30 20:36:30 +02:00
Roeland Jago Douma c709dda597 Merge pull request #21589 from nextcloud/debt/noid/wrong-exception-call
Set retry = false for forbidden exception.
2020-06-30 20:35:47 +02:00
Roeland Jago Douma 451d39d308 Merge pull request #21603 from nextcloud/dependabot/npm_and_yarn/mochapack-2.0.2
Bump mochapack from 2.0.0 to 2.0.2
2020-06-30 20:34:52 +02:00
Roeland Jago Douma 89b548d6cc Merge pull request #21592 from nextcloud/debt/noid/drop-parallel-lint
Remove unused jakub-onderka/php-parallel-lint
2020-06-30 19:40:56 +02:00
Roeland Jago Douma bc29e361b2 Merge pull request #21596 from nextcloud/debt/noid/share-return-mismatch
Replace Share with IShare and add missing return
2020-06-30 19:40:26 +02:00
Roeland Jago Douma 0e42d05457 Merge pull request #21632 from nextcloud/techdebt/app-php-deprecation-log
Log usages of the deprecated app.php file
2020-06-30 19:38:55 +02:00
Roeland Jago Douma aca0046aec Merge pull request #21630 from nextcloud/fix/21627/close-x
Make closing dialogs callback with false
2020-06-30 19:38:37 +02:00
Roeland Jago Douma 1e3b02b8b8 Merge pull request #21606 from nextcloud/dependabot/npm_and_yarn/exports-loader-1.1.0
Bump exports-loader from 1.0.1 to 1.1.0
2020-06-30 19:36:52 +02:00
Robin Appelman da2d425044 add proper paths to locking exceptions
while some code paths do wrap the "raw" locking exception into one with a proper path, not all of them do
by adding the proper path to the original exception we ensure that we always have the usefull information in out logs

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-06-30 18:10:42 +02:00
Gary Kim 8773ae49c5 Make closing dialogs callback with false
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-06-30 21:45:06 +08:00
Roeland Jago Douma 26aa838906 Merge pull request #21605 from nextcloud/dependabot/npm_and_yarn/dompurify-2.0.12
Bump dompurify from 2.0.11 to 2.0.12
2020-06-30 15:16:24 +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
Roeland Jago Douma 8af824e4f3 Merge pull request #21602 from nextcloud/dependabot/npm_and_yarn/css-vars-ponyfill-2.3.2
Bump css-vars-ponyfill from 2.3.1 to 2.3.2
2020-06-30 10:01:58 +02:00
Christoph Wurst 8e9726be5c Log usages of the deprecated app.php file
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-30 09:43:40 +02:00
dependabot-preview[bot] 84cf3660cb Bump css-vars-ponyfill from 2.3.1 to 2.3.2
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/compare/v2.3.1...v2.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-06-30 07:04:17 +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
dependabot-preview[bot] 459d7f0829 Bump exports-loader from 1.0.1 to 1.1.0
Bumps [exports-loader](https://github.com/webpack-contrib/exports-loader) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/webpack-contrib/exports-loader/releases)
- [Changelog](https://github.com/webpack-contrib/exports-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/exports-loader/compare/v1.0.1...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-27 01:18:16 +00:00
dependabot-preview[bot] cfd26abcdb Bump vue-loader from 15.9.2 to 15.9.3
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.2 to 15.9.3.
- [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.2...v15.9.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-27 01:16:16 +00:00
dependabot-preview[bot] 7e25e337a6 Bump mochapack from 2.0.0 to 2.0.2
Bumps [mochapack](https://github.com/sysgears/mochapack) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/sysgears/mochapack/releases)
- [Commits](https://github.com/sysgears/mochapack/compare/v2.0.0...v2.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-27 01:15:33 +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 1336f44a68 Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-26 16:13:09 +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 ab21d69903 Add return value to all commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-26 14:54:51 +02:00
Daniel Kesselberg 4d44d6be2e Replace Share with IShare and add missing return.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-26 10:57:55 +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 e6dc1b2dcf Remove unused jakub-onderka/php-parallel-lint
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-26 00:29:57 +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
Daniel Kesselberg e984357cfc Set retry = false for forbidden exception.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-25 23:34:41 +02:00
Daniel Kesselberg 8aa99aa8ff Update presign method to match with interface again.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-25 22:56:28 +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
Roeland Jago Douma b70cc7bf75 Merge pull request #21412 from nextcloud/bugfix/21363/fix-robots-noindex
Fix robots noindex signals
2020-06-25 09:59:42 +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
Joas Schilling b7060be18d Fix robots "noindex, nofollow" signals
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-25 08:29:43 +02:00
Kevin Lanni c2f2eaf8cc Add audio formats to htaccess
Signed-off-by: Kevin Lanni <therealklanni@gmail.com>
2020-06-24 20:33:51 -07: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 fab1fdc7fa Merge pull request #21508 from nextcloud/dependabot/npm_and_yarn/exports-loader-1.0.1
Bump exports-loader from 0.7.0 to 1.0.1
2020-06-24 21:07:23 +02:00
Roeland Jago Douma b6ce75066d Merge pull request #21558 from nextcloud/part-file-rename-mask
relax permissions mask check for detecting part file rename
2020-06-24 21:05:07 +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
blizzz 30e999384d Merge pull request #21564 from nextcloud/fix/noid/no-ocdialogs
fix obsolete usage of OCdialogs
2020-06-24 18:58:23 +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 f29e022921 Merge pull request #21563 from nextcloud/update/create_dev_env
Update link for set up new dev env
2020-06-24 17:09:01 +02:00
GretaD 259c161adc Update link to set up new dev env
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-06-24 16:50:29 +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 27b8637e3e Deprecate \OCP\ISearch
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
Joas Schilling 7972a5fda6 Merge pull request #21525 from nextcloud/techdebt/noid/contacts-manager
Techdebt fix contacts manager
2020-06-24 13:55:31 +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
Robin Appelman 35d75dbb38 relax permissions mask check for detecting part file rename
with files drop uploads the original file name isn't always used for the '.ocTransferId' source path

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-06-24 13:06:14 +02:00
Julius Härtl 66531b4644 Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-24 11:35:49 +02:00
Julius Härtl 9239793a65 Fix export for davclient.js legacy dependency
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-24 11:34:16 +02:00
dependabot-preview[bot] f5d164c362 Bump exports-loader from 0.7.0 to 1.0.1
Bumps [exports-loader](https://github.com/webpack-contrib/exports-loader) from 0.7.0 to 1.0.1.
- [Release notes](https://github.com/webpack-contrib/exports-loader/releases)
- [Changelog](https://github.com/webpack-contrib/exports-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/exports-loader/compare/v0.7.0...v1.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-24 11:34:15 +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
Roeland Jago Douma 50b1568d48 Merge pull request #21548 from nextcloud/bug/21519/add-appstoreurl-to-config
Add appstoreurl to config.sample.php.
2020-06-24 09:02:40 +02:00
Nextcloud bot 54c716ec8f [tx-robot] updated from transifex 2020-06-24 02:16:44 +00:00
blizzz c5c3d04fa1 Merge pull request #21535 from nextcloud/bugfix/noid/backportable-wrong-language-in-share-note-email
Fix language in share notes email for users
2020-06-23 23:27:13 +02:00
Daniel Kesselberg 7953a2fa20 Add appstoreurl to config.sample.php.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-23 22:16:27 +02:00
Joas Schilling 95652d4469 Fix language in share notes email for users
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-23 22:01:40 +02: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 2651dfaf15 Merge pull request #21546 from nextcloud/techdebt/noid/make-annotations-case-insensitive
Make annotations case insensitive
2020-06-23 20:55:38 +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 ad0731a63c Make annotations case insensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-23 20:18:23 +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
Joas Schilling 8ec1b8132e Merge pull request #21452 from nextcloud/bugfix/21451/allow-autocomplete-by-displayname-again
Fix autocomplete for LDAP with `shareapi_only_share_with_group_members` on
2020-06-23 14:02:17 +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 859941db32 Merge pull request #21479 from nextcloud/fix/21474/allow_specifying_cookie_type
Allow to specify the cookie type for appframework responses
2020-06-22 13:00:12 +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
Joas Schilling 404080abb4 More imports
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-22 11:10:44 +02:00
Joas Schilling 3997856d76 Fix code style
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-22 11:09:32 +02:00
Joas Schilling 7ed79b64b4 Fix undefined class "IAddressbook" on docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-22 11:08:23 +02:00
Roeland Jago Douma b5e6b90584 Merge pull request #21510 from nextcloud/fix/unit_test/responsetest
Fix unit test of the ResponseTest
2020-06-22 10:31:19 +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
Roeland Jago Douma fbf9772a3e Allow to specify the cookie type for appframework responses
In general it is good to set them to Lax. But also to give devs more
control over them is not a bad thing.

Helps with #21474

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-22 08:38:44 +02:00
Roeland Jago Douma 6cd224a3a8 Merge pull request #21506 from nextcloud/dependabot/npm_and_yarn/moment-2.27.0
Bump moment from 2.26.0 to 2.27.0
2020-06-22 08:29:50 +02:00
Roeland Jago Douma c006b5ff2a Fix unit test of the ResponseTest
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-21 09:44:56 +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
Roeland Jago Douma d7157bb799 Merge pull request #21492 from nextcloud/fix/noid/branch-for-cloning-acceptance-related-apps
acceptence tests shall specify which branch to pick when cloning apps
2020-06-21 09:16:27 +02:00
Roeland Jago Douma 2a29747bb2 Merge pull request #21507 from nextcloud/dependabot/npm_and_yarn/babel/core-7.10.3
Bump @babel/core from 7.10.2 to 7.10.3
2020-06-21 09:03:03 +02:00
Roeland Jago Douma 0069df3f08 Merge pull request #21505 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.10.3
Bump @babel/preset-env from 7.10.2 to 7.10.3
2020-06-21 09:02:39 +02:00
Roeland Jago Douma f75fac84d1 Merge pull request #21504 from nextcloud/dependabot/npm_and_yarn/webpack-cli-3.3.12
Bump webpack-cli from 3.3.11 to 3.3.12
2020-06-21 09:02:06 +02:00
Nextcloud bot 333b6b8ec1 [tx-robot] updated from transifex 2020-06-21 02:16:08 +00:00
dependabot-preview[bot] 77bb4c26cf Bump @babel/core from 7.10.2 to 7.10.3
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.2 to 7.10.3.
- [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.3/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-21 01:19:35 +00:00
dependabot-preview[bot] c706daa8eb Bump @babel/preset-env from 7.10.2 to 7.10.3
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.10.2 to 7.10.3.
- [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.3/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-21 01:17:20 +00:00
dependabot-preview[bot] 50a98d9c75 Bump webpack-cli from 3.3.11 to 3.3.12
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.11 to 3.3.12.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/v3.3.12/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.3.11...v3.3.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-21 01:16:48 +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
Roeland Jago Douma 6ec8042d88 Merge pull request #21469 from nextcloud/bugfix/noid/event-service-listener-registration
Fix event service listener registration
2020-06-19 21:28:29 +02:00
Roeland Jago Douma 59093abfaf Merge pull request #21483 from nextcloud/fix/scss/timeout
Give up after 10 seconds in SCSS timeout
2020-06-19 21:26:26 +02:00
Arthur Schiwon de61c7d302 acceptence tests shall specify which branch to pick when cloning apps
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-19 21:08:39 +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 2147c39cb0 Merge pull request #21482 from nextcloud/bugfix/noid/dont-log-keys
Don't log Keys
2020-06-19 15:09:24 +02:00
Roeland Jago Douma 4768526b81 Give up after 10 seconds in SCSS timeout
Else we keep idling for ages which leads to bad UX

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-19 14:39:31 +02:00
Joas Schilling a7f26cfe28 Don't log Keys
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-19 13:44:27 +02:00
Roeland Jago Douma 52dd1e3a80 Merge pull request #21457 from nextcloud/enhancement/crash-reporters-registration-boostrap
Allow crash reporters registration during app bootstrap
2020-06-19 11:22:44 +02:00
Christoph Wurst 2b7b7144d4 Allow crash reporters registration during app bootstrap
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-19 10:38:26 +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
Joas Schilling 9cf32a3999 Fix event service listener registration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-18 15:00:19 +02:00
Christoph Wurst 2f586bc7e0 Merge pull request #21463 from nextcloud/fix/continue-not-return-register-exception
Continue with next app when one errors during register
2020-06-18 13:33:38 +02:00
Joas Schilling 1151394739 Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-18 11:33:43 +02:00
Christoph Wurst 32bf95c774 Continue with next app when one errors during register
My patch at #21461 had a little error in that it exits the method when a
query exception is encountered during the register step of an app. What
we actually want is to continue with the next app and finish the overall
registration procedure.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-18 09:17:00 +02:00
Roeland Jago Douma a915b45190 Merge pull request #21461 from nextcloud/fix/catch-app-register-boot-exceptions
Catch all exceptions when an app is registering or booting
2020-06-18 08:59:45 +02: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
Christoph Wurst 5ab5a5f89e Catch all exceptions when an app is registering or booting
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-17 21:07:42 +02: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
Christoph Wurst e64e2d66a6 Merge pull request #21456 from nextcloud/fix/bootstrap-appphp-order
Load the app.php before running apps' boot method
2020-06-17 18:44:37 +02:00
Roeland Jago Douma 38cbd17e0a Merge pull request #21453 from nextcloud/bugfix/noid/dont-initialize-directly
Don't initialize Application directly
2020-06-17 15:40:11 +02:00
Joas Schilling ee59029e62 Merge pull request #21417 from nextcloud/bugfix/noid/modal-support-for-vue-apps
Fix modal support for vue apps
2020-06-17 15:35:52 +02:00
Christoph Wurst 5bc8510b3b Load the app.php before running apps' boot method
Some apps require the composer autoloader from app.php. If we run boot
before including that file, classes and functions from dependencies
won't be found.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-17 14:44:02 +02:00
Christoph Wurst 39f3fcdf6b Merge pull request #21454 from nextcloud/nickvergessen-patch-1
Delete FUNDING.yml
2020-06-17 13:12:28 +02:00
Joas Schilling 7f92bd9d71 Delete FUNDING.yml 2020-06-17 12:45:16 +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
Joas Schilling 9ff7a9c38e Fix PHP CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-17 12:08:17 +02:00
Joas Schilling e2100856ad Add another test for exact matching of a user in group restriction
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-17 12:06:50 +02:00
Joas Schilling 2ec7b59688 Move back to IGroupManager::displayNamesInGroup()
The problem is that despite it's name IGroup::searchDisplayName()
only searches by userid and this is less fixable than changing back to this method here

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-17 11:59:56 +02:00
Joas Schilling 3539bd1751 Merge pull request #21434 from nextcloud/bugfix/noid/dont-break-with-GenericEventWrapper
Don't break event listeners with the GenericEventWrapper
2020-06-17 11:55:14 +02:00
Christoph Wurst 6328053105 Merge pull request #21406 from nextcloud/fix/aws-disable-csm
Disable Client-Side Monitoring on AWS storage
2020-06-17 10:58:27 +02:00
Christoph Wurst c1183fa758 Merge pull request #20865 from nextcloud/enhancement/app-bootstrapping
Add dedicated API for apps' bootstrapping process
2020-06-17 10:46:59 +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
Joas Schilling 4cff3a3a86 Merge pull request #21432 from nextcloud/fix/exception-getresult
Fix invalid usage of \Exception::getResult
2020-06-16 21:24:10 +02:00
Joas Schilling c76fa60571 Don't break event listeners with the GenericEventWrapper
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-16 19:30:36 +02:00
Robin Appelman fda55db4c9 Filter out search results that have invalid encoding
this prevents a single invalid search results from erroring the entire search request

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-06-16 15:45:17 +02:00
Christoph Wurst 94a95ffceb Fix invalid usage of \Exception::getResult
Only OCS exceptions have a getResult method. Any other exception will
cause another error due to this invalid method call.

This splits the catch into a specific one for OCS and then a generic one
for anything else that can't be handled.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-16 15:37:20 +02:00
Christoph Wurst 68794ebc92 Emit an event for every disabled 2FA provider during cleanup
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-16 14:38:33 +02:00
Joas Schilling eca3c9f6b1 Darker background for dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-16 12:21:10 +02: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
Christoph Wurst 5e52c110bb Merge pull request #21416 from nextcloud/fix/user-deleted-token-cleanup
Clean up auth tokens when user is deleted
2020-06-16 10:01:29 +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 b5cf0467cd Merge pull request #21408 from nextcloud/bugfix/21088/duplicate-sharee-match
Avoid duplicate matches in wide and exact results
2020-06-15 19:50:26 +02:00
Christoph Wurst 3474afa938 Clean up auth tokens when user is deleted
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-15 19:24:04 +02:00
Joas Schilling 2d96e89386 Rebuild JS files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-15 16:56:20 +02:00
Joas Schilling b5140309e5 Add darkmode support for the modal background
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-15 16:56:20 +02:00
Joas Schilling be0ecbc8c7 Make the confirm dialog modal by default
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-15 16:56:13 +02:00
Joas Schilling b1f74b0056 Fix modal support for vue apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-15 16:56:13 +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 552b1d6da5 Merge pull request #21397 from nextcloud/dependabot/npm_and_yarn/css-loader-3.6.0
Bump css-loader from 3.5.3 to 3.6.0
2020-06-15 16:29: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
Julius Härtl 294e40db5f Avoid duplicate matches in wide and exact results
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-15 09:34:57 +02:00
dependabot-preview[bot] e8802cf8aa Bump css-loader from 3.5.3 to 3.6.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.5.3 to 3.6.0.
- [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.5.3...v3.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 07:27:35 +00:00
Roeland Jago Douma 21d3b4d30d Merge pull request #21395 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-import-2.21.2
Bump eslint-plugin-import from 2.20.2 to 2.21.2
2020-06-15 09:25:15 +02:00
Christoph Wurst 9d392891be Disable Client-Side Monitoring on AWS storage
The S3 client enables this by default and then tries to read
`.aws/config`. This causes `open_basedir` restriction related error for
some setups. So this patch disables the CSM because it's most likely
unused anyway.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-15 09:13:08 +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
dependabot-preview[bot] c96bcc89e3 Bump eslint-plugin-import from 2.20.2 to 2.21.2
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.20.2 to 2.21.2.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.20.2...v2.21.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-14 01:25:35 +00:00
Joas Schilling de75d8855a Merge pull request #21380 from nextcloud/bugfix/noid/longer-timeout-for-appstore
Increase timeout of the appstore requests
2020-06-12 23:07:14 +02:00
Joas Schilling b6d5979d0a Increase timeout of the appstore requests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-12 13:01:06 +02: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
Daniel Calviño Sánchez 2c6d5068ad Add acceptance test for disabling create permission after sharing
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-11 23:18:21 +02:00
Daniel Calviño Sánchez 33222d67ea Add acceptance test for sharing a folder without create permission
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-11 23:17:33 +02:00
Daniel Calviño Sánchez 573bf4d667 Add acceptance test for sharing a file without edit permission
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-11 23:15:26 +02:00
Daniel Calviño Sánchez cafa68493a Generalize functions to get locators for share permission checkboxes
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-11 23:12:20 +02:00
Roeland Jago Douma c3267a58c9 Merge pull request #21358 from nextcloud/enhancement/search-group-by-displayname
Allow group search by display name
2020-06-11 16:10:34 +02:00
Robin Appelman e9b5514186 prevent the root storage from accidentally scanning user folders
while this scan *should* never be triggered, it's good to have some failsafe to ensure
that the users home contents don't end up getting scanned in the root storage

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-06-11 15:41:33 +02:00
Roeland Jago Douma 02e854d64d Merge pull request #21282 from nextcloud/dependabot/npm_and_yarn/nextcloud/dialogs-1.4.0
Bump @nextcloud/dialogs from 1.3.1 to 1.4.0
2020-06-11 15:18:40 +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
Christoph Wurst a636aef585 Allow group search by display name
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-10 11:44:07 +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
Roeland Jago Douma 8bee8e1317 Merge pull request #21317 from FlorentCoppint/s3_upload_part_size
Upload part size as S3 parameter instead of constant value
2020-06-09 19:28:58 +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 862e3250ff Merge pull request #21319 from nextcloud/log-level-storage-test
increase log level for storage self-test
2020-06-09 13:11:36 +02:00
Roeland Jago Douma de35da37ce Merge pull request #21208 from nextcloud/dependabot/composer/doctrine/dbal-2.10.2
Bump doctrine/dbal from 2.9.2 to 2.10.2
2020-06-09 11:08:36 +02: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 3f07485a04 Merge pull request #21322 from nextcloud/techdebt/deprecate-iservercontainer-geteventdispatcher
Deprecate \OCP\IServerContainer::getEventDispatcher
2020-06-09 10:32: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 bacdfda537 Merge pull request #21332 from nextcloud/fix/ocp-since-checker
Use empty for the OCP @since checker
2020-06-09 09:43: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
Florent 3594ba6971 Upload part size as S3 parameter instead of constant value
Some S3 providers need a custom upload part size (500 MB static value in Nextcloud).
Here is a commit to change this value via S3 configuration, instead of using S3_UPLOAD_PART_SIZE constant.
A new parameter is added for an S3 connection : uploadPartSize

Signed-off-by: Florent <florent@coppint.com>
2020-06-09 09:18:42 +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
Christoph Wurst cdcd61d4c8 Use empty for the OCP @since checker
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-09 08:49:24 +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
Christoph Wurst fec3fefad7 Deprecate \OCP\IServerContainer::getEventDispatcher
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-08 19:10:26 +02:00
Robin Appelman e75797ad67 increase log level for storage self-test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-06-08 18:12:49 +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
Roeland Jago Douma fd62a5b59a Merge pull request #21299 from nextcloud/fix/generic-event-wrapper-constructor-get-class
Fix missing parent constructor call and get_class usage in GenericEventWrapper
2020-06-08 11:26:23 +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
Christoph Wurst 5e1805d253 Fix missing parent constructor call and get_class usage in GenericEventWrapper
* The parent constructor was not called
* `get_class` does not allow null values in php7.2+

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-08 09:42:45 +02:00
dependabot-preview[bot] 013bc70f31 Bump @nextcloud/dialogs from 1.3.1 to 1.4.0
Bumps [@nextcloud/dialogs](https://github.com/nextcloud/nextcloud-dialogs) from 1.3.1 to 1.4.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.3.1...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 06:49:55 +00: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
Joas Schilling c68718f90c Remove dropped " ON " when join has no condition
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-08 08:03:35 +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
Stefan Weil 72f853424b build: Fix two typos in function names
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-06 15:57:08 +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
Roeland Jago Douma 5406a5408f Merge pull request #21254 from nextcloud/td/js/remove/_capabilities
Actually remove _capabilities
2020-06-06 09:30:04 +02:00
Roeland Jago Douma 00fa50a1dc Merge pull request #21257 from nextcloud/td/js/systemtags_linter
Fix linting on systemtags and use @nextcloud/router
2020-06-06 09:29:42 +02:00
Nextcloud bot 4cf4ed3697 [tx-robot] updated from transifex 2020-06-06 02:16:00 +00:00
Roeland Jago Douma 6949c29586 Fix linting on systemtags and use @nextcloud/router
Makes the linter happy. And thus me a bit happy since it now is
complaining less.

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

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

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

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

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

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

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

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

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

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

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

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

We'll have to backport to 18.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-01 17:21:42 +02:00
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
dependabot-preview[bot] 903b2e46a5 Bump @babel/core from 7.9.6 to 7.10.2
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.9.6 to 7.10.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.2/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-31 01:19:06 +00:00
Roeland Jago Douma 43a0bf7215 Merge pull request #21155 from nextcloud/td/move_to_capabilities_package
Move to @nextcloud/capabilities package
2020-05-30 08:58:19 +02:00
Nextcloud bot 64c15a15d4 [tx-robot] updated from transifex 2020-05-30 02:16:04 +00:00
Morris Jobke 395cd140b1 Merge pull request #21154 from nextcloud/fix/file_info_load_order
Fix the loading order of the js files_info and files_client
2020-05-29 21:32:15 +02:00
Morris Jobke 8a54586bbe Merge pull request #21156 from nextcloud/do-not-clone-the-whole-talk-repository-for-integration-tests
Do not clone the whole Talk repository for integration tests
2020-05-29 21:31:35 +02:00
Daniel Calviño Sánchez f5ef3ee352 Do not clone the whole Talk repository for integration tests
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-29 17:02:03 +02:00
Roeland Jago Douma 7157134454 Merge pull request #21141 from nextcloud/fix/require-ext-pdo-composer
List ext-pdo as hard requirement for composer
2020-05-29 16:39:59 +02:00
Roeland Jago Douma 0209532638 Move to @nextcloud/capabilities package
And kill of oc_capabilities and _oc_capabilities globals

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-29 16:10:08 +02:00
Roeland Jago Douma 71b2f94101 Fix the loading order of the js files_info and files_client
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-29 15:43:45 +02: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 b192c04dc2 Add integration tests for video verification
Enabling the "send password by Talk" property of shares require that
Talk is installed and enabled, so the Drone step that runs them has to
first clone the Talk repository.

When the integration tests are run on a local development instance,
however, it is not guaranteed that Talk is installed. Due to this the
"@Talk" tag was added, which ensures that any feature or scenario marked
with it will first check if Talk is installed and, if not, skip the
scenario (instead of failing).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-29 02:50:30 +02:00
Daniel Calviño Sánchez a2f80d4f4c Add integration tests for creating and updating a mail share
In most cases, when a mail share is created or updated an e-mail is sent
to the sharee, which is done by connecting to the SMTP server set in the
configuration. If the server can not be contacted then the creation or
update of the mail share fails.

To make possible to test mail shares without using a real SMTP server a
fake one has been added. The original script, which is MIT licensed, was
based on inetd, so it was slightly modified to run on its own.

In order to use it from the integration tests the "Given dummy mail
server is listening" step has to be called in the scenarios in which the
mail server is needed.

For now that is the only available step; things like checking the sent
mails, while possible (as the script can log the mails to certain file),
have not been added yet.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-29 02:50:29 +02:00
Daniel Calviño Sánchez 7817f8578b Generalize integration test steps to download last share
Note that the "last link share can be downloaded" step was kept as it
tests the "url" property specific of link shares.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-29 02:46:12 +02:00
Daniel Calviño Sánchez 6e49d3bb94 Remove unused variables
The step names were adjusted accordingly.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-29 02:46:12 +02:00
Daniel Calviño Sánchez 45de42a6b8 Fix disabling send password by Talk without new password in mail shares
When "send password by Talk" was disabled in a mail share it was
possible to keep the same password as before, as it does not pose any
security issue (unlike keeping it when "send password by Talk" is
enabled, as in that case the password was already disclosed by mail).

However, if a mail share is updated but the password is not set again
only the hashed password will be available. In that case it would not
make sense to send the password by mail, so now the password must be
changed when disabling "send password by Talk".

Note that, even if explicitly setting the same password again along with
the "send password by Talk" property would work, this was also prevented
for simplicity.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-29 02:46:12 +02: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
Morris Jobke 077c1a9b9f Merge pull request #21140 from nextcloud/enhancement/oc-get-all-apps-return-type-doc
Document \OC_App::getAllApps return type
2020-05-28 22:37:35 +02:00
Daniel Calviño Sánchez a426f84dbe Fix enabling send password by Talk with same password in mail shares
When "send password by Talk" is enabled in a mail share a new password
must be also set. However, when the passwords of the original and the
new share were compared it was not taken into account that the original
password is now hashed, while the new one is not (unless no new password
was sent, in which case the password of the original share was set in
the new share by the controller, but that was already prevented due to
both passwords being literally the same), so it was possible to set the
same password again.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-28 21:51:28 +02:00
Daniel Calviño Sánchez 7569590514 Fix enabling send password by Talk with empty password in link shares
When "send password by Talk" is enabled in a link share now a non empty
password is enforced.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-28 21:51:28 +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
Christoph Wurst adf7d17cb2 List ext-pdo as hard requirement for composer
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-28 20:43:50 +02:00
Christoph Wurst 97e9823787 Document \OC_App::getAllApps return type
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-28 20:37:24 +02:00
Roeland Jago Douma b638c6ee09 Merge pull request #20597 from nextcloud/enh/lazy_node_events
Add lazy events for the Node API
2020-05-28 14:15:59 +02: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
Roeland Jago Douma 6aa6ab3e02 Add lazy events for the Node API
Right now if you want to get events via the Node API you have to have a
real instance of the Root. Which in turns sets up the whole FS.

We should make sure this is done lazy. Else enabling the preview
generator for example makes you setup the whole FS on each and every
authenticated call.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-28 12:35:45 +02:00
Nextcloud bot 1d469fc06e [tx-robot] updated from transifex 2020-05-28 02:16:38 +00:00
Roeland Jago Douma 3ee2dbeff9 Merge pull request #21122 from nextcloud/enhancement/auth-token-exception-reporting
Improve traces of invalid token exceptions
2020-05-27 19:37:22 +02: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
Joas Schilling 675ec93e25 Merge pull request #21112 from nextcloud/techdebt/noid/remove-db-prefix
Remove db prefix option from cli install command
2020-05-27 16:19:38 +02:00
Christoph Wurst 052ddc3c10 Merge pull request #20976 from nextcloud/fix/make-translation-sanitization-optional
Make the translation sanitization optional
2020-05-27 15:47:28 +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
Christoph Wurst 74db91910c Make the translation sanitization optional
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-27 15:06:54 +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
Morris Jobke b9222ff596 Merge pull request #21117 from nextcloud/design/text-variables-simplify
Simplify text variables from 4 to 2, map -lighter to -maxcontrast
2020-05-27 10:50:43 +02:00
Christoph Wurst 5b92f35fe2 Log why a token is not valid during password check
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-27 09:58:44 +02:00
Christoph Wurst 2006a6dd0e Improve traces of invalid token exceptions
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-27 09:21:47 +02:00
Nextcloud bot b9d17cfdec [tx-robot] updated from transifex 2020-05-27 02:16:10 +00:00
Jan-Christoph Borchardt 9aff5355e6 Simplify text variables from 4 to 2, map -lighter to -maxcontrast
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-05-26 21:42:11 +02: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
Joas Schilling 027808c019 Remove the prefix setting attempt from our CI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-26 16:56:41 +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
Joas Schilling 5f88380c44 Remove db prefix option from cli install command
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-26 14:10:39 +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 4bada5c732 Merge pull request #21092 from nextcloud/enh/noid/recommended-apps
Update recommended apps
2020-05-25 20:47:20 +02:00
Roeland Jago Douma a6b0bed585 Merge pull request #21090 from nextcloud/bug/noid/do-not-read-cert-from-datadir-by-default
Do not read certificate bundle from data dir by default
2020-05-25 19:48:00 +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
Julius Härtl 3f9856bc7c Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-05-25 17:13:34 +02:00
Morris Jobke 18b0d753f2 Do not read certificate bundle from data dir by default
Before the resources/config/ca-bundle.crt was only used when the list of custom
certificates was empty and the instance was not installed. But it should also
be used when the list is empty and the instance is installed.

This is inverting the logic to stop if the instance is not installed to use the
default bundle. And it also does this when the list is empty.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-05-25 16:57:56 +02:00
Julius Härtl bde5b9577b Update hub bundle and add proxy rule to htaccess
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-05-25 16:04:54 +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
Morris Jobke e57bca31ad Merge pull request #20005 from joeried/occ-remove-bruteforce-attempts-by-ip
Implement occ command to reset bruteforce attemps from a given IP address
2020-05-25 14:04:18 +02:00
Morris Jobke bd997a105c Fix code style
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-05-25 14:03:21 +02: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
Jaakko Salo b7dd278e24 Fix releasing a shared lock multiple times
Signed-off-by: Jaakko Salo <jaakkos@gmail.com>
2020-05-24 20:23:57 +03:00
Nextcloud bot be7a198762 [tx-robot] updated from transifex 2020-05-24 02:15:55 +00:00
Roeland Jago Douma 5e35594cb6 Merge pull request #20989 from nextcloud/td/js/move_core_files_webpack
Move core/js/files to webpack
2020-05-23 09:47:53 +02:00
Roeland Jago Douma 533cb6992b Merge pull request #21065 from nextcloud/fix/cleanstatscache_before_fetching_metadata
Clear the statscache before fetching the metadata
2020-05-23 09:46:27 +02:00
Nextcloud bot 23080fcd9c [tx-robot] updated from transifex 2020-05-23 02:16:22 +00:00
Roeland Jago Douma 44d05bf356 Move core/js/files to webpack
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-22 20:28:31 +02: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
Roeland Jago Douma 4dacbbd66d Log usage of a deprecated event instead of emitting
This way we can track down what is being used and migrate them over. And
slowly kill the old way in a release or 2.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-22 14:56:35 +02:00
Roeland Jago Douma fd805a0388 Merge pull request #20776 from nextcloud/enh/limit_group_queries
Improve group queries
2020-05-22 14:19:28 +02:00
Roeland Jago Douma 6b26744787 Clear the statscache before fetching the metadata
Else if a lot of writes happen. It might happen that an old stat result
is used. Resulting in a wrong file size for the file. For example the
text app when a lot of people edit at the same time.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-22 09:21:53 +02:00
Nextcloud bot 3b519f776a [tx-robot] updated from transifex 2020-05-22 02:17:20 +00:00
Roeland Jago Douma cac844d915 Merge pull request #20814 from nextcloud/group-id-only
dont get the group details if we only ask for the id
2020-05-21 09:53:45 +02:00
Roeland Jago Douma bd0a1b6e7d Merge pull request #20586 from nextcloud/techdebt/noid/make-image-optimization.sh-better-readable
Improve build/image-optimization.sh
2020-05-21 09:48:55 +02:00
Roeland Jago Douma 1c1b349473 Merge pull request #21018 from nextcloud/bug/20498/add-defaults-on-empty
Create account structure also for empty record
2020-05-21 09:47:19 +02:00
Nextcloud bot d870e9ece5 [tx-robot] updated from transifex 2020-05-21 02:17:26 +00:00
Morris Jobke 0a45f44beb Merge pull request #21054 from nextcloud/feature/noid/default-gzip-encoding-for-http-clients
Allow gzip encoded requests by default
2020-05-20 15:49:20 +02:00
Morris Jobke 8123737a40 Revert "Compress the appstore requests by default"
This reverts commit 6ffde128ad.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-05-20 13:37:28 +02:00
Morris Jobke 8bcd1c31da Allow gzip encoded requests by default
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-05-20 13:37:28 +02:00
Morris Jobke 526905cfc2 Merge pull request #21050 from nextcloud/bug/noid/caching-and-gzipping-of-appstore-requests
Caching and compression for app store requests
2020-05-20 11:05:34 +02:00
Morris Jobke 6ffde128ad Compress the appstore requests by default
In test it reduced the transfered data from 5 MB to 2 MB. This should reduce the load on the appstore significantly.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-05-20 09:51:07 +02:00
Morris Jobke 3e0d8df036 Cache appstore requests for 60 instead of 5 minutes
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-05-20 09:51:06 +02:00
Nextcloud bot 74e577876c [tx-robot] updated from transifex 2020-05-20 02:16:28 +00:00
Roeland Jago Douma e4c9acd4ed Merge pull request #21010 from nextcloud/dependabot/npm_and_yarn/marked-1.1.0
Bump marked from 0.8.2 to 1.1.0
2020-05-19 21:24:24 +02:00
Morris Jobke d26169838e Merge pull request #21041 from nextcloud/enh/dataresponse_etag_lastmod
Copy over the ETag and LastModified when formatting a Dataresponse
2020-05-19 14:48:27 +02:00
Morris Jobke 7a22039ce0 Merge pull request #21044 from nextcloud/enhancement/app-disable-log-message
Add a message to the log entry of an app being disabled
2020-05-19 14:47:13 +02:00
Christoph Wurst 0556fe351a Add a message to the log entry of an app being disabled
As an admin, it's always a surprise to see that an app got disabled. On
a busy server with many log entries, it's hard to locate the entry that
explains why Nextcloud disabled an app. Adding a message will make it
more obvious, allowing admins and developers to grep for the string.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-19 11:44:51 +02: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
Roeland Jago Douma 71cc9441ad Merge pull request #21006 from nextcloud/dependabot/npm_and_yarn/moment-2.25.3
Bump moment from 2.24.0 to 2.25.3
2020-05-19 10:37:38 +02:00
Roeland Jago Douma c92c378a9c Copy over the ETag and LastModified when formatting a Dataresponse
This way the ETag checks etc are all working.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-19 09:39:51 +02: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
Roeland Jago Douma 5d0dc3d18d Merge pull request #21011 from nextcloud/dependabot/npm_and_yarn/bootstrap-4.5.0
Bump bootstrap from 4.4.1 to 4.5.0
2020-05-18 20:36:40 +02:00
Morris Jobke 3e65cc1bba Merge pull request #21033 from nextcloud/enh/capabilities_initialstate
Provide capabilities via initialstate
2020-05-18 19:44:28 +02:00
Roeland Jago Douma e822c33a90 Provide capabilities via initialstate
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-18 16:20:25 +02:00
Morris Jobke ca276a9d60 Merge pull request #20846 from nextcloud/fix/link_fed_perm
Link permissions
2020-05-18 15:45:56 +02:00
Morris Jobke 1bba7de28f Merge pull request #21017 from nextcloud/enh/noid/clean-excluded-groups-list
Remove group from excluded_groups_list after delete
2020-05-18 14:24:18 +02:00
dependabot-preview[bot] f5f5342609 Bump bootstrap from 4.4.1 to 4.5.0
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.4.1...v4.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-18 12:07:24 +00:00
Roeland Jago Douma 73f58483da Merge pull request #21008 from nextcloud/dependabot/npm_and_yarn/css-vars-ponyfill-2.3.1
Bump css-vars-ponyfill from 2.2.1 to 2.3.1
2020-05-18 13:41:51 +02:00
Morris Jobke 0a21f0f295 Merge pull request #21003 from nextcloud/enh/noid/validate-locale
Remove entries from locales.json incompatible with punic
2020-05-18 11:48:10 +02:00
dependabot-preview[bot] eec7cfc7cd Bump css-vars-ponyfill from 2.2.1 to 2.3.1
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.2.1 to 2.3.1.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-18 09:36:04 +00:00
Roeland Jago Douma 72cd146322 Merge pull request #21007 from nextcloud/dependabot/npm_and_yarn/blueimp-md5-2.16.0
Bump blueimp-md5 from 2.15.0 to 2.16.0
2020-05-18 10:50:20 +02:00
Roeland Jago Douma d01e282ca7 Merge pull request #21026 from nextcloud/dependabot/npm_and_yarn/moment-timezone-0.5.31
Bump moment-timezone from 0.5.28 to 0.5.31
2020-05-18 10:49:15 +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
Roeland Jago Douma f73c1f74c0 Merge pull request #20988 from nextcloud/td/js/deprecate_util_moment_functions
Deprectae OC.Util.formatDate and OC.Util.relativeModifiedDate
2020-05-18 08:37:30 +02:00
Nextcloud bot a8ac6df1d0 [tx-robot] updated from transifex 2020-05-18 02:16:22 +00:00
Daniel Kesselberg c6f770ea59 Create account structure also for empty record
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-05-17 15:30:36 +02:00
Daniel Kesselberg 16da29caba Remove group from excluded_groups_list after delete
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-05-17 15:15:06 +02:00
Nextcloud bot bf2e3c4619 [tx-robot] updated from transifex 2020-05-17 02:16:59 +00:00
dependabot-preview[bot] db1cc9b2cc Bump blueimp-md5 from 2.15.0 to 2.16.0
Bumps [blueimp-md5](https://github.com/blueimp/JavaScript-MD5) from 2.15.0 to 2.16.0.
- [Release notes](https://github.com/blueimp/JavaScript-MD5/releases)
- [Commits](https://github.com/blueimp/JavaScript-MD5/compare/v2.15.0...v2.16.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-17 01:24:28 +00:00
Daniel Kesselberg 3d85b91a3c Remove entries from locales.json incompatible with punic
As reported at https://github.com/nextcloud/server/issues/20999 the list contains en_US_POSIX as locale but punic is unable to parse such a locale. If you select that locale everyone is confused.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-05-16 23:21:22 +02: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
Roeland Jago Douma d5a13f8c4a Deprectae OC.Util.formatDate and OC.Util.relativeModifiedDate
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-15 17:46:57 +00:00
Roeland Jago Douma d23c7fff2a Merge pull request #20957 from nextcloud/Valdnet-patch-5
l10n: Adding "The" before "Following"
2020-05-15 19:44:04 +02:00
Roeland Jago Douma f80f2a22d7 Merge pull request #20987 from nextcloud/feature/noid/allow-compressed-templateresponses
Allow TemplateResponse to be compressed
2020-05-15 16:09:10 +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
Roeland Jago Douma 0a53c2aaa2 Merge pull request #20904 from nextcloud/dependabot/npm_and_yarn/dompurify-2.0.11
Bump dompurify from 2.0.8 to 2.0.11
2020-05-15 13:43:02 +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
Morris Jobke 4e49e1da16 Allow TemplateResponse to be compressed
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-05-15 08:38:39 +02:00
Valdnet 8e3de41b4b l10n: Add "The" before "Following" 2020-05-15 14:26:50 +08: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 108faf25c0 Update public link share permission code
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-15 08:18:03 +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
blizzz 84bba1d418 Merge pull request #20981 from nextcloud/techdebt/remove-long-deprecated-jquery-tipsy
Remove the long deprecated jQuery tipsy
2020-05-14 22:54:07 +02:00
Christoph Wurst 3c7939f7ad Remove the long deprecated jQuery tipsy
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-14 20:40:58 +02:00
Christoph Wurst 7957a47e95 Merge pull request #20980 from nextcloud/techdebt/deprecate-torgb-monkey-patch
Deprecate String.prototype.toRgb
2020-05-14 20:32:26 +02:00
Christoph Wurst f9e1418098 Deprecate String.prototype.toRgb
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-14 17:39:39 +00:00
Morris Jobke 767dd29020 Merge pull request #20978 from nextcloud/fix/jquery-placeholder-md5
Import md5 for the jquery placeholder plugin
2020-05-14 17:39:02 +02:00
Christoph Wurst f4ba82f38f Import md5 for the jquery placeholder plugin
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-14 15:12:55 +02: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
Roeland Jago Douma 40ffd375bb Merge pull request #20911 from nextcloud/dependabot/npm_and_yarn/p-queue-6.4.0
Bump p-queue from 6.3.0 to 6.4.0
2020-05-14 12:22:35 +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
Christoph Wurst 5e67ae83f7 Merge pull request #20947 from nextcloud/dependachristoph/npm_and_yarn/yargs-parser
Bump yargs-parser
2020-05-14 08:40:45 +02:00
Nextcloud bot 75d50a55b8 [tx-robot] updated from transifex 2020-05-14 02:16:36 +00:00
Morris Jobke bc02b0adb8 Merge pull request #20932 from nextcloud/Valdnet-patch-3
l10n: Changing the word "These" to "Following"
2020-05-13 22:59:03 +02:00
Morris Jobke e105161d59 Merge pull request #20956 from nextcloud/Valdnet-patch-4
l10n: Adding "The" to the description
2020-05-13 22:58:20 +02:00
Morris Jobke 23253daa2f Merge pull request #20958 from nextcloud/bugfix/talk-3523/allow-links-to-conversations
Allow links to conversations
2020-05-13 22:12:34 +02:00
Morris Jobke eec982e34b Merge pull request #20952 from nextcloud/test/noid/fix-lint-exit-code
Respect exit code of lint run - changed from -exec to xargs as this exits properly
2020-05-13 21:42:29 +02: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
Roeland Jago Douma 7e369ea055 Merge pull request #20905 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.9.6
Bump @babel/preset-env from 7.9.5 to 7.9.6
2020-05-13 19:45:48 +02: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
Joas Schilling 787c2a17e3 Allow links to conversations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-13 16:05:55 +02:00
Morris Jobke e0d2cd40e7 Fix return code of AppConfig::deleteUserValue
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-05-13 14:55:00 +02:00
Valdnet 8d21b5ef7c Adding "The" to the description 2020-05-13 14:23:21 +02:00
Valdnet 25023ae288 l10n: Addition of "The" 2020-05-13 14:17:57 +02:00
Morris Jobke 8614abaa5b Respect exit code of lint run - changed from -exec to xargs as this exits properly
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-05-13 12:52:52 +02:00
Roeland Jago Douma c6da7ec24c Merge pull request #20951 from nextcloud/fix/no_trailing_comma_function
Trailing comma's in functin arguments break on 7.2
2020-05-13 12:37:56 +02:00
Roeland Jago Douma e1be52b97b Trailing comma's in functin arguments break on 7.2
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-13 11:20:54 +02:00
Christoph Wurst be15a23de8 Merge pull request #20946 from nextcloud/enhancement/ext-json-composer
Declare ext-json as dependency in composer.json
2020-05-13 11:08:18 +02:00
Christoph Wurst c1cf3c1e96 Bump yargs-parser
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-13 10:03:14 +02:00
Christoph Wurst 002780d4c3 Declare ext-json as dependency in composer.json
This makes phpstorm happy as it knows that the functions like
json_encode are available.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-13 09:50:36 +02:00
Roeland Jago Douma 7c15c63b05 Merge pull request #20939 from nextcloud/enh/middleware/not_modified
Move not modified check to the middleware
2020-05-13 09:04:56 +02:00
Roeland Jago Douma 4fbea316a7 Merge pull request #20897 from nextcloud/bugfix/httpcache
Proxy server could cache http response when it is not private
2020-05-13 08:27:05 +02:00
Roeland Jago Douma 12fa748c49 Move the notmodified check to middleware where it belongs
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-13 08:11:24 +02:00
Nextcloud bot ab2df70e3a [tx-robot] updated from transifex 2020-05-13 02:16:26 +00:00
Morris Jobke dec30fcbc7 Merge pull request #20943 from nextcloud/enh/avatar-cache-1day
Cache the avatar for a day
2020-05-12 21:03:29 +02:00
Roeland Jago Douma 4a2a6b65f3 Cache the avatar for a day
I noticed that on larger systems esp when using talk the avatars get
revalidated like crazy. Because people keep the tab open etc. You can do
with a slightly outdated avatar!

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-12 19:37:25 +02: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
Morris Jobke 703d716a32 Merge pull request #20933 from nextcloud/enh/default_password_conf_form_to_post
Move the password confirmation form template to post
2020-05-12 14:26:09 +02:00
Morris Jobke dee1d8737b Merge pull request #20813 from nextcloud/lazy-folder
generalize the "lazy folder" concept
2020-05-12 14:25:22 +02:00
Roeland Jago Douma 826624317b Merge pull request #20936 from nextcloud/revert-20922-enhancement/debug-globals-trace
Revert "Log trace when deprecated globals are used"
2020-05-12 14:09:18 +02:00
Christoph Wurst 12fe83cd43 Merge pull request #20858 from nextcloud/fix/20289/remember_webauth_names
Remember the webauthn name of devices
2020-05-12 14:06:20 +02:00
Roeland Jago Douma 6374c329e3 Merge pull request #20270 from nextcloud/enh/appframework/gzip
Add AppFramework compression middleware to gzip responses
2020-05-12 12:20:39 +02:00
Christoph Wurst 9db32a48f8 Revert "Log trace when deprecated globals are used" 2020-05-12 11:54:34 +02:00
Clement Wong 979dd1b6f5 Fix http cache test
Signed-off-by: Clement Wong <git@clement.hk>
2020-05-12 11:50:48 +02:00
Morris Jobke b177969ea6 Merge pull request #20922 from nextcloud/enhancement/debug-globals-trace
Log trace when deprecated globals are used
2020-05-12 10:32:27 +02:00
Christoph Wurst 13b34ca0be Log trace when deprecated globals are used
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-12 07:30:26 +00:00
Roeland Jago Douma 203d7eb1d3 Add AppFramework GZip middleware to gzip responses
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-12 09:09:48 +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
Valdnet 2f45cb3fe9 l10n: Changing the word "These" to "Following" 2020-05-11 21:19:05 +02:00
Roeland Jago Douma 1d35a1474b Move the password confirmation form template to post
I know we use JS for this. But it triggers some false positives on
testing.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-11 21:18:38 +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
Robin Appelman f7153a3d0c generalize the "lazy folder" concept
makes it easy to use lazy intialized folder in other places

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-05-11 15:36:13 +02: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 7211d44884 Merge pull request #20915 from nextcloud/enh/use_random_bytes_in_crypto
Use random_bytes
2020-05-11 14:21:09 +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 09c209d468 Merge pull request #20906 from nextcloud/dependabot/npm_and_yarn/mochapack-2.0.0
Bump mochapack from 1.1.15 to 2.0.0
2020-05-11 13:42:58 +02: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 6bba829b91 Merge pull request #20903 from nextcloud/dependabot/npm_and_yarn/blueimp-md5-2.15.0
Bump blueimp-md5 from 2.13.0 to 2.15.0
2020-05-11 12:59:59 +02:00
Roeland Jago Douma 35ff4aa1c6 Use random_bytes
Since we don't care if it is human readbale.
The code is backwards compatible with the old format.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-11 12:46:59 +02:00
dependabot-preview[bot] 1f58aaaeab Bump mochapack from 1.1.15 to 2.0.0
Bumps [mochapack](https://github.com/sysgears/mochapack) from 1.1.15 to 2.0.0.
- [Release notes](https://github.com/sysgears/mochapack/releases)
- [Commits](https://github.com/sysgears/mochapack/compare/v1.1.15...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 08:54:16 +00:00
Roeland Jago Douma 0b080a50e9 Merge pull request #20907 from nextcloud/dependabot/npm_and_yarn/node-sass-4.14.1
Bump node-sass from 4.14.0 to 4.14.1
2020-05-11 10:51:44 +02:00
dependabot-preview[bot] 5c56937d9b Bump node-sass from 4.14.0 to 4.14.1
Bumps [node-sass](https://github.com/sass/node-sass) from 4.14.0 to 4.14.1.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.14.0...v4.14.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 07:35:08 +00:00
Roeland Jago Douma bbdc98bb79 Merge pull request #20908 from nextcloud/dependabot/npm_and_yarn/mocha-7.1.2
Bump mocha from 7.1.1 to 7.1.2
2020-05-11 09:32: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
dependabot-preview[bot] cb8477f6cc Bump mocha from 7.1.1 to 7.1.2
Bumps [mocha](https://github.com/mochajs/mocha) from 7.1.1 to 7.1.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v7.1.1...v7.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-10 19:57:06 +00:00
dependabot-preview[bot] aedba3ffd6 Bump blueimp-md5 from 2.13.0 to 2.15.0
Bumps [blueimp-md5](https://github.com/blueimp/JavaScript-MD5) from 2.13.0 to 2.15.0.
- [Release notes](https://github.com/blueimp/JavaScript-MD5/releases)
- [Commits](https://github.com/blueimp/JavaScript-MD5/compare/v2.13.0...v2.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-10 19:53:19 +00:00
Clement Wong e9be3a9090 Add public argument to Http cacheFor()
Signed-off-by: Clement Wong <git@clement.hk>
2020-05-10 20:24:14 +02: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
Roeland Jago Douma 7957b09f5b Merge pull request #20894 from nextcloud/dependabot/npm_and_yarn/build/node-sass-4.14.1
Bump node-sass from 4.14.0 to 4.14.1 in /build
2020-05-10 20:14:58 +02:00
Clement Wong 401210d259 Proxy server could cache http response when it is not private
Signed-off-by: Clement Wong <git@clement.hk>
2020-05-10 11:24:08 +02:00
Nextcloud bot 70114cfb91 [tx-robot] updated from transifex 2020-05-10 02:15:59 +00:00
dependabot-preview[bot] c84a82bc0c Bump node-sass from 4.14.0 to 4.14.1 in /build
Bumps [node-sass](https://github.com/sass/node-sass) from 4.14.0 to 4.14.1.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.14.0...v4.14.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-10 01:16:27 +00:00
Roeland Jago Douma 0659656c72 Merge pull request #20786 from nextcloud/enh/dicontainer_cleanup
DI Cleanup
2020-05-09 11:02:02 +02: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
Christoph Wurst a636d99a27 Merge pull request #20852 from nextcloud/enh/initialstate/appframework
Add InitialState Appframework service
2020-05-08 13:21:58 +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 131b1fa458 Merge pull request #20815 from nextcloud/share-groupid-only
get only groupids in default share backend
2020-05-08 11:25:51 +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
Morris Jobke 08e78ff3b2 Fix OCPSinceChecker and php-cs
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-05-08 11:20:46 +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 32c93ee08e Move over the IConfig for globalscale
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-08 08:50:01 +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
Roeland Jago Douma 885163e5d1 Merge pull request #20864 from nextcloud/enh/install_naming
Install page app naming
2020-05-08 08:30:47 +02:00
Morris Jobke 16f4b43d94 Adjust tests to only return group IDs
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-05-08 08:10:38 +02:00
Morris Jobke e3a2d069ae Remove unused use statement
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-05-08 07:42:00 +02: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
Roeland Jago Douma ab54225eda Merge pull request #20861 from nextcloud/fix/replacedialog
Fix replacement dialog
2020-05-07 20:29:08 +02:00
Roeland Jago Douma 0160817078 Install page app naming
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-07 19:54:57 +02:00
Roeland Jago Douma 50d823fce3 Merge pull request #20859 from nextcloud/fix/20838/validate_apppassword
Validate app password on alternative login
2020-05-07 19:51:47 +02:00
Roeland Jago Douma 2be21fab9a Fix replacement dialog
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-07 17:44:56 +00:00
Robin Appelman aa83b0b22d dont get the group details if we only ask for the id
currenty when getting the groups for a user, the full group object is always created (and cached)
even if only the groupid is required

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-05-07 17:16:43 +02: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
Roeland Jago Douma 0643801d9b Merge pull request #20853 from nextcloud/design/accessibility-maxcontrast
Fix color-text-maxcontrast not passing WCAG AA
2020-05-07 16:38:26 +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 ffad3f83fe Validate app password on alternative login
Fixes #20838

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-07 16:32:28 +02:00
Roeland Jago Douma f4ac9ffa2c Remember the webauthn name of devices
Fixes #20289
we should not reset to default once we have logged in with the device.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-07 16:13:19 +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
Jan-Christoph Borchardt a7e1ba4558 Fix color-text-maxcontrast not passing WCAG AA
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-05-07 10:36:22 +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 163463dea5 Add InitialState Appframework service
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-07 10:13:06 +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
Roeland Jago Douma 4e59c6f9b5 Remove double registrations
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-07 08:47:43 +02:00
Roeland Jago Douma e923d7b42f Merge pull request #20782 from nextcloud/enh/appframework/appconfig_wrapper
Simple AppConfig wrapper for the AppFramework
2020-05-07 08:43:55 +02:00
Roeland Jago Douma ae9330d18b 20 in development now
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-07 08:30:55 +02:00
Nextcloud bot 97f36e62f2 [tx-robot] updated from transifex 2020-05-07 02:16:14 +00:00
Roeland Jago Douma 3b0e581dec Merge pull request #20823 from nextcloud/version/19/RC1
19 RC1
2020-05-06 21:54:36 +02:00
Roeland Jago Douma a07c21f630 Merge pull request #20841 from nextcloud/trashbin-locking
add locking to resolve concurent move to trashbin conflicts
2020-05-06 21:50:49 +02: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
Morris Jobke 07f41671b3 Merge pull request #20837 from nextcloud/bugfix/noid/fix-syntax
Fix syntax
2020-05-06 20:54:47 +02: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
Roeland Jago Douma d5850eb28f Merge pull request #18955 from adrb/swift_upload_large_objects
Large Object support for OpenStack Swift
2020-05-06 13:03:24 +02:00
Joas Schilling 9c025134b3 Fix syntax
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-06 10:54:36 +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æ 32e56dee89 Merge pull request #20825 from nextcloud/fix/sharing-own-group 2020-05-05 18:06:09 +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
Roeland Jago Douma c1003a2f4b 19 RC1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-04 21:16:15 +02:00
Roeland Jago Douma fe55663c56 Merge pull request #20754 from nextcloud/version/19/beta7
19 beta 7
2020-05-04 21:06:27 +02:00
Roeland Jago Douma edb19cc381 Merge pull request #20726 from nextcloud/fix/sharing-link-default-permissions
Fix federated link sharing permissions
2020-05-04 21:04:52 +02:00
Robin Appelman 756fe45493 get only groupids in default share backend
instead of getting the full group object and then only using the id anyway

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-05-04 17:42:28 +02:00
Morris Jobke afb12ddab1 Merge pull request #20794 from nextcloud/bug/noid/scssphp-compiler-notice
Apply patch for scssphp
2020-05-04 14:32:51 +02: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 2c256de257 Merge pull request #20807 from nextcloud/wiswedel/trashbinRetentionClarification
clarified trash bin retention by storage shortage override in config.sample.php
2020-05-04 13:37:29 +02:00
Sascha Wiswedel a85191330b clarified trash bin retention by storage shortage override
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2020-05-04 13:25:05 +02:00
Daniel Kesselberg 7a7df07749 Apply patch for scssphp
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-05-04 10:28:41 +02:00
Morris Jobke a93d182bac Merge pull request #20722 from nextcloud/enh/20693/etag-capabilities
Set etag for capabilities endpoint
2020-05-04 10:22:01 +02:00
Morris Jobke e102264299 Merge pull request #20787 from nextcloud/fix/resize_wrong_mime
Fix OC_Image new resize functions
2020-05-04 10:06:16 +02: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
Joas Schilling afc5966558 Merge pull request #20749 from nextcloud/bug/noid/is-not-setup-via-query-false-positive
PHP 7.4 excludes the arguments from stack traces by default.
2020-05-04 09:49:50 +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
Roeland Jago Douma 0c35aaba29 Fix OC_Image new resize functions
Else the wrong mimetype might be set. Resulting in continious
regeneration of previews when browsing.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-02 21:57:34 +02:00
Roeland Jago Douma 5ca0ffbcf0 Merge pull request #20779 from nextcloud/fix/noid/php-cs
Comply with php-cs for CI
2020-05-02 20:26:07 +02:00
Roeland Jago Douma 8a8623c569 Simple AppConfig wrapper for the AppFramework
9 out of 10 cases apps want to access their own appconfig. Hence it
would be nice not to have to enter the app id all the time. This simple
wrapper just passes on the appid in all calls.

Basically this allows for simpler code in the apps.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-02 15:34:28 +02:00
Roeland Jago Douma 8910a1ffcb Merge pull request #20762 from nextcloud/fix/20538/date-not-disabled
Fix expiry datepicker allowing all dates
2020-05-02 14:59:39 +02: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
Roeland Jago Douma 5ebb53593c Improve group queries
Before we'd also get the diplayname for each group in the backend. In a
separate query. This is of course not ideal as this information is
obtained on each and every query. Now this is queried once and properly
cached.

Also added more caching to the manager.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-02 10:13:37 +02:00
Gary Kim 74d40233f5 Comply with php-cs
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-05-02 14:28:21 +08:00
Nextcloud bot e77e0b0e2f [tx-robot] updated from transifex 2020-05-02 02:16:32 +00:00
Roeland Jago Douma 24bb4a05c4 Merge pull request #20771 from nextcloud/fix/sharing-reactivity
Do not process the same shares twice
2020-05-01 19:15:38 +02: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 8c023a6579 Merge pull request #20767 from nextcloud/enh/argon2id-options
Apply Argon2 options for Argon2id hashing as well
2020-05-01 15:39:13 +02:00
Roeland Jago Douma 91487d8739 Merge pull request #20759 from nextcloud/up/education-bundle
Update education bundle
2020-05-01 13:34:39 +02:00
Roeland Jago Douma 80372a3ce1 Merge pull request #20716 from nextcloud/index-propertypath
Add index to properties table
2020-05-01 12:39:34 +02:00
Roeland Jago Douma 055fa998cd Merge pull request #20761 from nextcloud/fix/owner_public
Fix owner on publicownerwrapper
2020-05-01 12:32:14 +02:00
MichaIng 229570badf Apply Argon2 options for Argon2id hashing as well
Signed-off-by: MichaIng <micha@dietpi.com>
2020-05-01 11:42:13 +02: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 a41ad78408 Update education bundle
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-01 09:52:58 +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
Mario Danic 6e28c2807b Add index to properties table
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-04-30 23:04:15 +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
Roeland Jago Douma 1a04033b19 Merge pull request #20725 from nextcloud/getDirectoryContent-fix-jail
Fix getDirectoryContent implementation for Jail wrapper
2020-04-30 20:34:52 +02:00
Roeland Jago Douma c74c79cceb 19 beta 7
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-30 20:31:27 +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
Daniel Kesselberg 1ef77ef948 composer run cs:fix
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-04-30 17:37:20 +02:00
Daniel Kesselberg cba7219b25 PHP 7.4 excludes the arguments from stack traces by default.
That leads to a false positive is not setup via query() but directly warning for every app because
the check does not work anymore.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-04-30 17:00:56 +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
Roeland Jago Douma 0fc2dd85b5 Merge pull request #20611 from nextcloud/version/19/beta6
19 beta 6
2020-04-30 15:44:47 +02:00
Robin Appelman 4e6d3d1880 Fix getDirectoryContent implementation for Jail wrapper
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-30 15:27:09 +02:00
Roeland Jago Douma 8d5404b750 Merge pull request #20710 from nextcloud/fix/argon2-options-checks
Fix Argon2 options checks
2020-04-30 14:42:33 +02:00
Roeland Jago Douma fa914f2e24 Merge pull request #20742 from nextcloud/fix/cs
Run the cs fixer for green ci
2020-04-30 14:41:50 +02: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 2139b29701 Merge pull request #20634 from nextcloud/legacy-avatar-placeholder
Generate legacy image placeholder text by taking first letters
2020-04-30 12:25:37 +02:00
Roeland Jago Douma f6b435d0d9 Run the cs fixer for green ci
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-30 10:28:44 +02:00
MichaIng ad60619655 Fix Argon2 options checks
The minimum for memory cost is 8 KiB per thread. Threads must be checked and set first to allow checking against the correct memory cost mimimum.
Options are now applied the following way:
- If config.php contains the setting with an integer higher or equal to the minimum, it is applied.
- If config.php contains the setting with an integer lower than the minimum, the minimum is applied.
- If config.php does not contain the setting or with no integer value, the PHP default is applied.

Signed-off-by: MichaIng <micha@dietpi.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-30 10:18:46 +02:00
Jan-Christoph Borchardt d582315c10 Notification mails: Fix some alignment details and remove shadow
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-04-30 10:15:19 +02:00
Jan-Christoph Borchardt fbef2708d0 Notification mails: Change font to native font stack
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-04-30 10:14:23 +02:00
Jan-Christoph Borchardt b38c3bfde3 Notification mails: Logo bar/box to circle so it stands nicely on its own
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-04-30 10:14:22 +02:00
Jan-Christoph Borchardt 43371c9f7c Notification mails: Adjust vertical spacing
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-04-30 10:14:22 +02:00
Jan-Christoph Borchardt 1d5e7b3cee Fix notification mails height issue in Nextcloud Mail
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-04-30 10:14:22 +02:00
Roeland Jago Douma 7b923b83b3 Merge pull request #20640 from nextcloud/fix/filepicker
Correctly hide table headers in filepicker
2020-04-30 09:17:51 +02:00
Sergey Shliakhov 09ecf4b4eb Generate legacy image placeholder text by taking first letters
https://github.com/nextcloud/server/issues/19335
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-30 07:17:47 +00: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 a1c1b354fc Merge pull request #18883 from adrb/optimize_swift_14116
Optimize Openstack Swift files download
2020-04-30 09:06:19 +02:00
Roeland Jago Douma 4472777769 Merge pull request #20717 from nextcloud/fix/getconfig-param-definitions
Define getSystemValueBool/Int/String function default parameter with correct type
2020-04-30 09:02:58 +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 8247576ad4 Merge pull request #20262 from nextcloud/fix/others_with_acces/navigation
Allow to navigate to others with access from the sidebar
2020-04-29 21:32:12 +02: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
Roeland Jago Douma 103c7e3e0a Merge pull request #20715 from nextcloud/dependabot/npm_and_yarn/style-loader-1.2.1
Bump style-loader from 1.1.4 to 1.2.1
2020-04-29 16:16:50 +02:00
Roeland Jago Douma d9e5925201 Merge pull request #20655 from nextcloud/dependabot/npm_and_yarn/build/node-sass-4.14.0
Bump node-sass from 4.13.0 to 4.14.0 in /build
2020-04-29 16:15:04 +02:00
Daniel Kesselberg df669a2936 Set etag for capabilities endpoint
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-04-29 15:26:46 +02: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
MichaIng 10a98f9f41 Define getSystemValueBool/Int/String function default parameter with correct type
Signed-off-by: MichaIng <micha@dietpi.com>
2020-04-29 14:19:52 +02:00
dependabot-preview[bot] 086ad74530 Bump style-loader from 1.1.4 to 1.2.1
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.1.4 to 1.2.1.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v1.1.4...v1.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-29 11:07:58 +00:00
Roeland Jago Douma 80222e6a06 Merge pull request #20663 from nextcloud/dependabot/npm_and_yarn/webpack-4.43.0
Bump webpack from 4.42.1 to 4.43.0
2020-04-29 13:05:32 +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
dependabot-preview[bot] b836bcf040 Bump node-sass from 4.13.0 to 4.14.0 in /build
Bumps [node-sass](https://github.com/sass/node-sass) from 4.13.0 to 4.14.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.13.0...v4.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-29 08:27:58 +00:00
Roeland Jago Douma 2726c6d186 Merge pull request #20658 from nextcloud/dependabot/npm_and_yarn/node-sass-4.14.0
Bump node-sass from 4.13.1 to 4.14.0
2020-04-29 10:25:58 +02: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
Roeland Jago Douma 46604bad4d Merge pull request #20661 from nextcloud/dependabot/npm_and_yarn/css-loader-3.5.3
Bump css-loader from 3.5.2 to 3.5.3
2020-04-28 11:30:07 +02:00
Nextcloud bot ef566a1f40 [tx-robot] updated from transifex 2020-04-28 02:16:22 +00:00
Adrian Brzezinski e107519295 Large Object support for OpenStack Swift.
Until now, you wouldn't be able to create
objects larger that 5GB.

It's somewhat related with pull #18883

Signed-off-by: Adrian Brzezinski <adrian.brzezinski@eo.pl>
2020-04-27 14:23:59 +02:00
Adrian Brzezinski 354c0996d8 It's a fix for issue #14116,
Improves efficiency when downloading files from Swift storage.
Before, files were downloaded and then pushed back to user.
That behaevior causes all kinds of performance problems.

Now, files are streamed directly to user.

Signed-off-by: Adrian Brzezinski <adrian.brzezinski@eo.pl>
2020-04-27 14:16:50 +02:00
Morris Jobke 2d7f71faca Merge pull request #20650 from tekhnee/patch-1
Adhere to EMailTemplate interface in constructor call.
2020-04-27 11:10:38 +02: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 673267cd91 Merge pull request #19929 from nextcloud/bugfix/user-delete-avatar
Delete avatar if a user is deleted
2020-04-27 11:06:50 +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 a64681a0fe Merge pull request #19514 from sndrr/already-enabled-apps
Already enabled apps
2020-04-27 11:00:16 +02:00
Morris Jobke 9b7e24a7a1 Merge pull request #19084 from nextcloud/bug/13556/wrong-paths-for-svg
Make it possible to resolve svg's outside \OC::$SERVERROOT
2020-04-27 10:58: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
John Molakvoæ 8f532105f9 Merge pull request #20678 from nextcloud/fix/missing-argument-JSConfigHelper 2020-04-27 09:49:41 +02:00
John Molakvoæ (skjnldsv) 25dfaefd01 Fix missing argument in JSConfigHelper
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-27 08:40:54 +02:00
Joas Schilling e24e9ec0a9 Don't loop over all groups to check for subadmins
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-27 08:37:53 +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
dependabot-preview[bot] 1b82a60f51 Bump css-loader from 3.5.2 to 3.5.3
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.5.2 to 3.5.3.
- [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.5.2...v3.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-26 01:19:45 +00:00
dependabot-preview[bot] 5f79e05a57 Bump node-sass from 4.13.1 to 4.14.0
Bumps [node-sass](https://github.com/sass/node-sass) from 4.13.1 to 4.14.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.13.1...v4.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-26 01:17:42 +00:00
Tekhnee 7ee67339e0 Adhere to EMailTemplate interface in constructor call.
Email creation appears to have been refactored lately but it looks like custom template-based emails were left out.

Signed-off-by: Tekhnee <info@tekhnee.org>
2020-04-25 21:24:21 +03: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
Raimund Schlüßler cfb94c7469 Correctly hide table headers in filepicker
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2020-04-24 21:15:09 +02: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
blizzz 797fa188c2 Merge pull request #19002 from zertrin/patch-1
Fix security header setting in .htaccess by adding 'onsuccess unset'
2020-04-24 17:15:12 +02:00
Roeland Jago Douma 652639b636 Merge pull request #20587 from nextcloud/enh/allow_default_expiration_date
Allow specifying a default expiration date
2020-04-24 17:08:31 +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
Sander Ruitenbeek 6b62bef928 Display notice for already enabled apps
Signed-off-by: Sander Ruitenbeek <s.ruitenbeek@getgoing.nl>

Signed-off-by: Sander Ruitenbeek <s.ruitenbeek@getgoing.nl>
2020-04-24 16:30:45 +02:00
Sander Ruitenbeek 3d9cd00c7b Updated test to check for already enabled apps
Signed-off-by: Sander Ruitenbeek <s.ruitenbeek@getgoing.nl>
2020-04-24 16:30:45 +02:00
Christoph Wurst ceafce1fff Merge pull request #20559 from nextcloud/dependabot/npm_and_yarn/mochapack-1.1.15
Bump mochapack from 1.1.13 to 1.1.15
2020-04-24 16:28:08 +02:00
Julius Härtl d74e9045ac Delete avatar if a user is deleted
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-24 16:27:17 +02:00
Daniel Kesselberg d766d09f01 Add test to ensure that symlinked apps_paths are not resolved
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-04-24 16:19:14 +02:00
Daniel Kesselberg 72a16b1779 Make it possible to resolve svg for apps_paths outside the document root
Previous implementation assumes the app path is always a child \OC::$SERVERROOT. That's not always true.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-04-24 16:19:10 +02:00
Roeland Jago Douma f4b8623d33 Allow specifying a default expiration date
This overrides the max expiration date.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-24 16:18:20 +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
Morris Jobke defcbd9169 Merge pull request #20627 from nextcloud/cleanup/noid/remove-obsolete-repair-steps
Remove obsolete repair steps for logo and updater channel
2020-04-24 13:36:16 +02:00
blizzz d458fcddb5 Merge pull request #20298 from nextcloud/enh/noid/auto-logout
Allow to configure auto logout after browser inactivity
2020-04-24 13:20:27 +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
Morris Jobke 0bd79b96c5 Remove obsolete repair steps for logo and updater channel
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-04-24 09:57:52 +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 96db35eb10 Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-23 20:27:13 +02:00
Julius Härtl a143e36630 Make sure that the legacy jsunit tests can still inject OC.config
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-23 20:19:47 +02:00
Julius Härtl 2eadf9d567 Do not create remember me cookie
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-23 19:12:54 +02:00
Julius Härtl 84330f1d36 Add config fallback for legacy tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-23 19:12:54 +02:00
Julius Härtl 9e7f8b85dd Add config for auto logout after browser inactivity
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-23 19:12:54 +02:00
Julius Härtl cbd20867b5 Provide config though initial state service
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-23 19:12:53 +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
Julius Härtl 7a9469f282 Adjust integration tests to new permissions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-23 16:22:48 +02:00
Robin Appelman 7c6e77a7fa Merge pull request #20599 from nextcloud/getDirectoryContent-filter-blacklisted
filter out blacklisted files in getDirectoryContent
2020-04-23 14:08:47 +00: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
Robin Appelman 436908ee3f filter out blacklisted files in getDirectoryContent
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-23 13:34:55 +02:00
Roeland Jago Douma 332cf4b70d 19 beta 6
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-23 09:10:19 +02:00
Roeland Jago Douma 3c2dd08264 Merge pull request #20510 from nextcloud/version/19/beta5
19 Beta 5
2020-04-23 09:01:44 +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
Roeland Jago Douma 049e9ed9e9 Merge pull request #20594 from nextcloud/revert-20554-dependabot/composer/build/integration/guzzlehttp/guzzle-6.5.3
Revert "Update guzzlehttp/guzzle requirement from 6.5.2 to 6.5.3 in /build/integration"
2020-04-22 19:53:08 +02:00
Roeland Jago Douma 3fc66a65f8 Revert "Update guzzlehttp/guzzle requirement from 6.5.2 to 6.5.3 in /build/integration" 2020-04-22 16:40:11 +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
Roeland Jago Douma 613f0f2c0c Merge pull request #20552 from liamjack/fix/20551/login_username_autocapitalize
Disable autocapitalize for username field on login / reset password pages
2020-04-21 15:43:46 +02:00
Julius Härtl 397ab1c3c5 Remove unneeded test since links have resharing permissions by default
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-21 14:35:29 +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
Joas Schilling e9f0a388d9 Allow to specify a directory and skip node_modules and tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-21 13:50:26 +02:00
Joas Schilling e49b6c576d Don't error when the directory is broken
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-21 13:33:11 +02:00
Joas Schilling f354a4f17f FIx glob usage to avoid problems with directories that contain spaces
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-21 13:32:11 +02:00
Joas Schilling 4651ff5a50 Make the script better readable
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-21 13:30:53 +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
Liam JACK d71b93235d Fix #20551 - Disable autocapitalize for username field on login / reset password pages
Signed-off-by: Liam JACK <1422590-liamjack@users.noreply.gitlab.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-21 07:07:11 +00:00
Roeland Jago Douma 46bfe383a7 Merge pull request #20557 from nextcloud/dependabot/npm_and_yarn/nextcloud/eslint-plugin-1.4.0
Bump @nextcloud/eslint-plugin from 1.1.0 to 1.4.0
2020-04-21 09:01:15 +02:00
Roeland Jago Douma 0c0397e923 Merge pull request #20554 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-6.5.3
Update guzzlehttp/guzzle requirement from 6.5.2 to 6.5.3 in /build/integration
2020-04-21 08:59:55 +02:00
Nextcloud bot f0c1041d2e [tx-robot] updated from transifex 2020-04-21 02:16:40 +00:00
blizzz 7b493685dc Merge pull request #20232 from nextcloud/storage-getdirectorycontent
Add method to storage backends to get directory content with metadata
2020-04-21 00:23:43 +02: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
Roeland Jago Douma 039143e98e Merge pull request #20561 from nextcloud/revert-20555-dependabot/npm_and_yarn/build/karma-coverage-2.0.2
Revert "Bump karma-coverage from 2.0.1 to 2.0.2 in /build"
2020-04-19 11:28:45 +02:00
Roeland Jago Douma 56a07009bb Merge pull request #19214 from nextcloud/enh/preview_folder_tree
Move to subfolders for preview files
2020-04-19 11:22:25 +02:00
Roeland Jago Douma 792c520774 Revert "Bump karma-coverage from 2.0.1 to 2.0.2 in /build" 2020-04-19 11:21:48 +02:00
Roeland Jago Douma 399253a5cf Merge pull request #20555 from nextcloud/dependabot/npm_and_yarn/build/karma-coverage-2.0.2
Bump karma-coverage from 2.0.1 to 2.0.2 in /build
2020-04-19 10:32:35 +02:00
Roeland Jago Douma d861f668f7 Merge pull request #20560 from nextcloud/dependabot/npm_and_yarn/style-loader-1.1.4
Bump style-loader from 1.1.3 to 1.1.4
2020-04-19 10:31:46 +02:00
Roeland Jago Douma 6c603e8e7d Move to subfolders for preview files
Else the number of files can grow very large very quickly in the preview
folder. Esp on large systems.

This generates the md5 of the fileid. And then creates folders of the
first 7 charts. In that folder is then a folder with the fileid. And
inside there are the previews.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-19 10:30:56 +02:00
Nextcloud bot e9930aebc7 [tx-robot] updated from transifex 2020-04-19 02:16:10 +00:00
dependabot-preview[bot] 4afc22b22a Bump style-loader from 1.1.3 to 1.1.4
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v1.1.3...v1.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-19 01:17:23 +00:00
dependabot-preview[bot] 56de60f276 Bump mochapack from 1.1.13 to 1.1.15
Bumps [mochapack](https://github.com/sysgears/mochapack) from 1.1.13 to 1.1.15.
- [Release notes](https://github.com/sysgears/mochapack/releases)
- [Commits](https://github.com/sysgears/mochapack/compare/v1.1.13...v1.1.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-19 01:16:39 +00:00
dependabot-preview[bot] e2df9e4d7e Bump @nextcloud/eslint-plugin from 1.1.0 to 1.4.0
Bumps [@nextcloud/eslint-plugin](https://github.com/nextcloud/eslint-plugin) from 1.1.0 to 1.4.0.
- [Release notes](https://github.com/nextcloud/eslint-plugin/releases)
- [Changelog](https://github.com/nextcloud/eslint-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/eslint-plugin/compare/v1.1.0...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-19 01:15:21 +00:00
dependabot-preview[bot] a95d6463b4 Bump karma-coverage from 2.0.1 to 2.0.2 in /build
Bumps [karma-coverage](https://github.com/karma-runner/karma-coverage) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/karma-runner/karma-coverage/releases)
- [Changelog](https://github.com/karma-runner/karma-coverage/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-coverage/compare/v2.0.1...v2.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-19 01:13:43 +00:00
dependabot-preview[bot] e650c6366f Update guzzlehttp/guzzle requirement in /build/integration
Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) to permit the latest version.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/6.5.3/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.2...6.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-19 01:13:23 +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 6332d7c0b3 Make sure the cloud_federation_api routes are loaded
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 250467e842 Extend tests for root url
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 aad16c8508 Fix creation of legacy routes
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
Robin Appelman 51c9fd4ece Merge pull request #20537 from nextcloud/external-tests-allow-local-access
allow local remote access in external storage ci
2020-04-17 21:07:07 +00:00
Roeland Jago Douma 16e6707f3f Fix mailer test
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-17 16:39:49 +02:00
Robin Appelman d96bba2830 allow local remote access in external storage ci
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-17 15:03:17 +02: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æ 2a51a320ce Merge pull request #20201 from rmanibus/issue_20130
display file list in flexbox
2020-04-17 09:45:13 +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
Morris Jobke 840bed9a85 Fix tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-04-17 09:00:59 +02:00
Loïc Hermann 6c60b85a87 Fix breadcrumb in move or copy file dialog
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-17 06:47:17 +00:00
Nextcloud bot a8809f079b [tx-robot] updated from transifex 2020-04-17 02:16:31 +00:00
Roeland Jago Douma 9f9e09fd4c Merge pull request #20523 from nextcloud/enh/noid/rename-updatenotification
Rename updatenotifications webpack module to updatenotification
2020-04-16 20:23:01 +02:00
Gary Kim 646031a049 Rename updatenotifications webpack module to updatenotification
The module build name for `updatenotification` is actually
`updatenotifications` which can be confusing.

It is the only module with a name that is
different from the app's name.

Signed-off-by: Gary Kim <gary@garykim.dev>
2020-04-17 00:03:01 +08: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
blizzz d55f4183b5 Merge pull request #20505 from nextcloud/fix/noid/system-creds
do not advertise nulled userId for for systemwide credentials
2020-04-16 11:53:24 +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 79cf13e349 Merge pull request #16946 from exussum12/patch-1
Increase max read
2020-04-16 10:37:10 +02:00
Roeland Jago Douma fc2e17d33f Merge pull request #20246 from nextcloud/fix/untranslated_mail_footer
Provide the proper language to the mailer
2020-04-16 10:06:55 +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 d0548f6fa8 19 Beta 5
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-16 09:17:42 +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
Roeland Jago Douma 1f2df2f6bc Merge pull request #20506 from nextcloud/version/19/beta4
19 beta 4
2020-04-16 08:47:20 +02:00
Roeland Jago Douma e21d65e771 Merge pull request #20509 from nextcloud/revert-20050-bugfix/noid/mysql-equal-trims-shock
Revert "Make sure MySQL is not saying 'this' = 'this ' is true"
2020-04-16 08:46:18 +02:00
Nextcloud bot 078ac97939 [tx-robot] updated from transifex 2020-04-16 02:17:30 +00:00
Roeland Jago Douma cbcf072b23 Revert "Make sure MySQL is not saying 'this' = 'this ' is true" 2020-04-15 23:49:16 +02:00
Roeland Jago Douma 2e36ea010a 19 beta 4
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-15 21:54:55 +02:00
blizzz 48a8f0a464 Merge pull request #20503 from nextcloud/fix/noid/dav-catch-throwable
DAV's exception logger should deal with any Throwable
2020-04-15 21:48:35 +02:00
Roeland Jago Douma 0571fd3635 Merge pull request #20386 from nextcloud/version/19/beta3
19 beta 3
2020-04-15 21:47:21 +02:00
Christoph Wurst 3aa8849b7d Merge pull request #20501 from nextcloud/fix/noid/run-cs-fix
Run cs:fix and fix HashWrapper code
2020-04-15 21:37:46 +02:00
Scott Dutton 65e134c13a Update View.php 2020-04-15 19:10:06 +01:00
Arthur Schiwon 5437844b7e fix credentialsManager documentation and ensure userId to be used as string
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-04-15 19:34:23 +02:00
Christoph Wurst 018a2917c1 Merge pull request #20502 from nextcloud/techdebt/cs-check-diff
Print diff in cs:check command
2020-04-15 18:30:28 +02:00
Arthur Schiwon f6cb452037 add DB tests for credentials manager
these are actually expected to FAIL, because NULL as a userid is not
allowed in the schema, but documented to be used on the source

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-04-15 16:44:28 +02: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
Christoph Wurst 0b652d543b Print diff in cs:check command
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-15 14:36:14 +02:00
Morris Jobke 7fe8477830 Run cs:fix and fix HashWrapper code
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-04-15 14:08:56 +02:00
Morris Jobke c914ae4c8d Merge pull request #20500 from nextcloud/update-editor-config
Update editor config for .yml files
2020-04-15 14:07:08 +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 058ca8c560 Update editor config for .yml files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-15 13:47:33 +02:00
Christoph Wurst 51fc07be3d Merge pull request #20481 from ACTom/add-mindmap-mimetype
Add mindmap mimetype.
2020-04-15 13:39:35 +02:00
Morris Jobke c43174a7e6 Merge pull request #20050 from nextcloud/bugfix/noid/mysql-equal-trims-shock
Make sure MySQL is not saying 'this' = 'this ' is true
2020-04-15 12:57:27 +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 95ad9ab4ac Merge pull request #20401 from nextcloud/fix/login-sso-redirct
Fix absolute redirect
2020-04-15 11:28:40 +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
Christoph Wurst 301327135c Merge pull request #20361 from nextcloud/write-stream-close-on-exception
Close the streams in `writeStream` even when there is an exception
2020-04-15 10:48:24 +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
Joas Schilling 16e9bf2309 Make sure MySQL is not saying 'this' = 'this ' is true
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-15 09:14:12 +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 4e846dda4d Allow local remotes in integration tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-15 08:24:18 +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
Christoph Wurst 9e6fcd585b Show a hint for the php-cs fix when the check fails
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-14 22:11:41 +02:00
Joas Schilling 7c53f0ed22 Merge pull request #20474 from nextcloud/update-crl
Update root.crl due to revocation of spgverein.crt
2020-04-14 20:38:31 +02:00
Joas Schilling 0bd7382a44 Merge pull request #19936 from nextcloud/bugfix/noid/handle-unset-owner-in-sharing
Handle unset owner in sharing
2020-04-14 20:34:17 +02:00
ACTom efb3481d41 Add mindmap mimetype.
Signed-off-by: ACTom <i@actom.me>
2020-04-15 01:19:58 +08:00
Joas Schilling cde6d768de Merge pull request #20181 from nextcloud/bugfix/noid/dont-break-on-path-null
Also bail out when the path is actually null
2020-04-14 18:56:58 +02: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
Christoph Wurst c9980ed099 Add php-cs check action
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-14 17:44:08 +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
Morris Jobke d702c3d788 Update root.crl due to revocation of spgverein.crt
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-04-14 14:37:05 +02:00
John Molakvoæ a5c186beb0 Merge pull request #20470 from nextcloud/fix/noid/karma-coverage
Fix jsunit tests
2020-04-14 14:35:57 +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
Daniel Kesselberg 0ccaec9841 Fix jsunit tests
JSUnit tests are failing for some reason. It seems to be related to a new karma-coverage version published a few hours ago.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-04-14 11:55:12 +02:00
John Molakvoæ e4d378d01e Merge pull request #20469 from nextcloud/fix/sidebar/sharing/password-error-message
Properly display share error messages
2020-04-14 11:25:50 +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
Roeland Jago Douma 92692cdd7a Merge pull request #20444 from nextcloud/dependabot/npm_and_yarn/url-loader-4.1.0
Bump url-loader from 4.0.0 to 4.1.0
2020-04-13 20:16:15 +02: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
Roeland Jago Douma 5cfcde2266 Merge pull request #20460 from nextcloud/fix-app-not-listed-in-provisioning-integration-test
Fix app not listed in provisioning integration test
2020-04-13 16:30:07 +02:00
dependabot-preview[bot] fad7181376 Bump url-loader from 4.0.0 to 4.1.0
Bumps [url-loader](https://github.com/webpack-contrib/url-loader) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/webpack-contrib/url-loader/releases)
- [Changelog](https://github.com/webpack-contrib/url-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/url-loader/compare/v4.0.0...v4.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-13 14:17:27 +00:00
Roeland Jago Douma 6b9c5bb97c Merge pull request #20218 from nextcloud/dependabot/npm_and_yarn/marked-0.8.2
Bump marked from 0.8.1 to 0.8.2
2020-04-13 16:14:36 +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
Roeland Jago Douma 19aed62d43 Merge pull request #20445 from nextcloud/dependabot/npm_and_yarn/nextcloud/paths-1.1.2
Bump @nextcloud/paths from 1.1.1 to 1.1.2
2020-04-13 15:37:19 +02:00
Daniel Calviño Sánchez 7440868acd Fix app not listed in provisioning integration test
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-04-13 15:07:59 +02: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
Roeland Jago Douma aced24ee5c Merge pull request #20442 from nextcloud/dependabot/npm_and_yarn/build/jsdoc-3.6.4
Bump jsdoc from 3.6.3 to 3.6.4 in /build
2020-04-13 13:02:16 +02: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 c79fa74645 Merge pull request #20418 from nextcloud/dependabot/npm_and_yarn/sinon-9.0.2
Bump sinon from 9.0.1 to 9.0.2
2020-04-12 15:58:24 +02: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
Scott Dutton 75b99e85ff Increase max read
8kb is very low, especially given this will be local files

Signed-off-by: Scott Dutton <scott@exussum.co.uk>
2020-04-12 13:01:29 +01: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
dependabot-preview[bot] e1f8666f84 Bump jsdoc from 3.6.3 to 3.6.4 in /build
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.3 to 3.6.4.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/3.6.4/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.3...3.6.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-12 01:13:41 +00:00
John Molakvoæ ddeedf375b Merge pull request #20035 from nextcloud/bugfix/group-encode
Make sure group management works with all types of group names
2020-04-11 09:20:29 +02: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
John Molakvoæ (skjnldsv) 0f135c7bd6 Bump acceptance tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-10 17:07:14 +02:00
Christoph Wurst eea282ccc0 Bump coding standard lib for PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 17:01:08 +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
Christoph Wurst 1762a409f9 Merge pull request #20422 from nextcloud/techdebt/format-control-structs-classes-methods
Format control structures, classes, methods and function
2020-04-10 16:38:23 +02:00
Roeland Jago Douma eba3726e1e Merge pull request #19495 from nextcloud/preview-generate-batch
optimize batch generation of previews
2020-04-10 15:57:06 +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
Christoph Wurst edf8ce32cf Merge pull request #20403 from nextcloud/techdebt/utf8-encoding
Use utf8 encoding everywhere
2020-04-10 14:05:23 +02:00
Robin Appelman 8f9bac26f8 fix preview generation tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-10 13:39:45 +02:00
John Molakvoæ 71b073839f Merge pull request #20402 from nextcloud/techdebt/elseif
Use elseif instead of else if
2020-04-10 13:28:15 +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
dependabot-preview[bot] 7db582390f Bump core-js from 3.6.4 to 3.6.5
Bumps [core-js](https://github.com/zloirock/core-js) from 3.6.4 to 3.6.5.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/v3.6.5/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.6.4...v3.6.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-10 11:55:37 +02:00
dependabot-preview[bot] 04e1fc8226 Bump @nextcloud/initial-state from 1.1.1 to 1.1.2
Bumps [@nextcloud/initial-state](https://github.com/nextcloud/nextcloud-initial-state) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/nextcloud/nextcloud-initial-state/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-initial-state/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-initial-state/compare/v1.1.1...v1.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-10 11:55:28 +02:00
dependabot-preview[bot] c7a6f0f602 Bump @nextcloud/l10n from 1.2.2 to 1.2.3
Bumps [@nextcloud/l10n](https://github.com/nextcloud/nextcloud-l10n) from 1.2.2 to 1.2.3.
- [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.2.2...v1.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-10 11:54:20 +02:00
dependabot-preview[bot] b532a02e3e Bump sinon from 9.0.1 to 9.0.2
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-10 09:54:11 +00:00
dependabot-preview[bot] e255820443 Bump @nextcloud/password-confirmation from 1.0.0 to 1.0.1
Bumps [@nextcloud/password-confirmation](https://github.com/nextcloud/nextcloud-password-confirmation) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/nextcloud/nextcloud-password-confirmation/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-password-confirmation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-password-confirmation/compare/v1.0.0...v1.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-10 11:53:45 +02:00
dependabot-preview[bot] abbbaa2c94 Bump @nextcloud/event-bus from 1.1.3 to 1.1.4
Bumps [@nextcloud/event-bus](https://github.com/nextcloud/nextcloud-event-bus) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/nextcloud/nextcloud-event-bus/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-event-bus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-event-bus/compare/v1.1.3...v1.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-10 11:53:39 +02:00
dependabot-preview[bot] 08ea2fed34 Bump @babel/preset-env from 7.8.7 to 7.9.5
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.7 to 7.9.5.
- [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.8.7...v7.9.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-10 11:53:25 +02:00
dependabot-preview[bot] 98b4338094 Bump @nextcloud/auth from 1.2.2 to 1.2.3
Bumps [@nextcloud/auth](https://github.com/nextcloud/nextcloud-auth) from 1.2.2 to 1.2.3.
- [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.2...v1.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-10 11:53:18 +02:00
dependabot-preview[bot] e5302d2335 Bump p-limit from 2.2.2 to 2.3.0
Bumps [p-limit](https://github.com/sindresorhus/p-limit) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/sindresorhus/p-limit/releases)
- [Commits](https://github.com/sindresorhus/p-limit/compare/v2.2.2...v2.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-10 11:53:08 +02:00
Christoph Wurst a0e94e6670 Use utf8 encoding everywhere
PSR2 likes that and so do I

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 10:43:54 +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 d6e17fb017 Merge pull request #20256 from nextcloud/dependabot/composer/nikic/php-parser-4.3.0
Bump nikic/php-parser from 4.2.1 to 4.3.0
2020-04-10 09:11:32 +02:00
John Molakvoæ (skjnldsv) 6c49dc2d1f Fix absolute redirect
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-10 08:58:54 +02:00
Roeland Jago Douma 94e602d7b9 Merge pull request #20281 from nextcloud/bugfix/noid/use-primary-element-color
Use the primary element color in case it primary color is too bright
2020-04-10 08:53:48 +02:00
Joas Schilling 0b53084ccb Use the primary element color in case it primary color is too bright
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-10 06:49:21 +00:00
Roeland Jago Douma b68680596d Merge pull request #20313 from nextcloud/dependabot/npm_and_yarn/underscore-1.10.2
Bump underscore from 1.9.2 to 1.10.2
2020-04-10 08:35:43 +02:00
Roeland Jago Douma fb64fda4d8 Merge pull request #20385 from nextcloud/skeeable-http-harden
harden seekable http stream a bit against failures
2020-04-10 08:34:52 +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
John Molakvoæ f0dd71ccd2 Merge pull request #20376 from nextcloud/fix/tags-ellipsis
Fix systemtags overflow
2020-04-09 15:18:16 +02:00
Roeland Jago Douma 4c19fab1a0 19 beta 3
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-09 14:50:31 +02:00
Robin Appelman 60de74ac40 harden seekable http stream a bit against failures
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-09 14:37:01 +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 19e97e86c6 Merge pull request #20379 from nextcloud/techdebt/blank-lines
Use one blank line after the opening tag and namespace declaration
2020-04-09 13:44:39 +02:00
Robin Appelman 7d386872e5 optimize batch generation of previews
by allowing the generation of multiple previews at once we save on having to find, open and decode the max-preview for every preview of the same file

the main use case for this is the preview generator app (pr for that comming next)

in my local testing this saves about 25% of time when using the preview generator app

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-09 12:50:59 +02:00
Robin Appelman 5cd12cd7c3 allow generating multiple preview sizes for a single file at once
this saves having to do some of the overhead multiple times

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-09 12:50:55 +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 813bdc1ce8 Merge pull request #20375 from nextcloud/techdebt/fix-array-indent-style
Fix (array) indent style to always use one tab
2020-04-09 11:25:38 +02:00
Roeland Jago Douma 21b7e51010 Merge pull request #20303 from nextcloud/version/19/beta2
19 beta 2
2020-04-09 10:24:28 +02:00
John Molakvoæ (skjnldsv) 01389d395e Fix systemtags overflow
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-09 10:19:42 +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
Christoph Wurst 1575bd838f Merge pull request #20368 from nextcloud/refactor/psr1
Migrate to PSR1 coding style
2020-04-09 08:41:06 +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
blizzz e9795d01f1 Merge pull request #16035 from nextcloud/share-search-hide-on-match
dont show remote and email options if we have an exact match for local user email
2020-04-09 00:08:34 +02:00
blizzz 22edb626b6 Merge pull request #20370 from nextcloud/techdebt/fix-multiline-comments
Fix multiline comments
2020-04-09 00:05:53 +02:00
Christoph Wurst 85e369cddb Fix multiline comments
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-08 22:24:54 +02:00
Christoph Wurst c4998efcfc Migrate to PSR1 coding style
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-08 21:58:05 +02:00
dependabot-preview[bot] 91fc9e19c1 Bump underscore from 1.9.2 to 1.10.2
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.9.2 to 1.10.2.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.9.2...1.10.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-08 18:27:38 +00:00
Joas Schilling bbba7bc45a Merge pull request #20321 from nextcloud/enh/noid/check-translation-for-triple-dot
Check for triple dots in translations in CI
2020-04-08 20:10:05 +02:00
Roeland Jago Douma 328fbddc19 Merge pull request #20360 from nextcloud/bugfix/20182/try-to-use-the-displayname-for-file-transfers
Try to use the display name of file transfers
2020-04-08 19:36:59 +02:00
Roeland Jago Douma 37146c9b0f Merge pull request #20319 from nextcloud/enh/noid/embedded-previews
Use embedded previews of ZIP-like files
2020-04-08 19:33:35 +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
Roeland Jago Douma cb2b38516f Merge pull request #20343 from nextcloud/bugfix/noid/themed-error-behaviour
Default to dark background in dark mode and better themed navbar
2020-04-08 16:46:03 +02:00
Robin Appelman ccbf3059ba Close the streams in writeStream even when there is an exception
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-08 16:40:56 +02:00
Julius Härtl 5d27ed5e22 remove Windows config since it is not supported anyways
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-08 16:31:20 +02:00
Julius Härtl 6c0b6039cf Bump autoloaders
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-08 16:31:20 +02:00
Julius Härtl 124b109bc8 Add preview provider for Krita files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-08 16:31:20 +02:00
Julius Härtl a2e671c489 Extract preview from opendocument files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-08 16:24:10 +02:00
Julius Härtl 0734582c06 Add abstract class to extract previews from files that are zip archives
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-08 16:24:09 +02:00
Robin Appelman 01c147a4a5 dont show remote and email options if we have an exact match for local user email
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-08 16:11:09 +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
Roeland Jago Douma 4e0ba3e6be Merge pull request #20299 from nextcloud/fix/noid/member-on-null-app-cancel-login
fixes the throttler not checking the user state on postLogin
2020-04-08 14:50:46 +02:00
Christoph Wurst 547ba642c6 Merge pull request #18200 from nextcloud/enhancement/psr-logger
Add a PSR-3 logger adapter and make it injectable
2020-04-08 11:49:56 +02:00
Christoph Wurst ffd89b5360 Bump nikic/php-parser from 4.2.1 to 4.3.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-08 10:43:49 +02:00
John Molakvoæ bb937999fa Merge pull request #20347 from azul/test/fix-failing-acceptance
tests: fix failing header acceptance test
2020-04-08 09:05:48 +02: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
Azul 62f7e6ba81 tests: fix failing header acceptance test
The username is listed in a div with class `fullname` now.

Signed-off-by: Azul <azul@riseup.net>
2020-04-07 14:57:20 +02: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
Roeland Jago Douma 50ad706a33 Merge pull request #20265 from nextcloud/techdebt/legacy-classes-psr4
Move legacy classes from PSR0 to PSR4
2020-04-07 09:57:16 +02:00
Joas Schilling f733444234 Default to dark background in dark mode and better themed navbar
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-07 08:53:49 +02:00
Christoph Wurst 1e086064f5 Move legacy classes from PSR0 to PSR4
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-07 08:48:00 +02:00
Gary Kim 283b8a5e74 Check for triple dots in translations in CI
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-04-07 12:06:40 +08:00
Nextcloud bot 9895aff4d9 [tx-robot] updated from transifex 2020-04-07 02:18:10 +00:00
Roeland Jago Douma f5919d5b83 Merge pull request #20033 from nextcloud/s3-seekable-stream
Enable fseek for files in S3 storage
2020-04-06 21:38:49 +02:00
Roeland Jago Douma 5a82de1443 Merge pull request #19346 from nextcloud/refactor/external-toast-deprecate
Use toasts from @nextcloud/dialogs, deprecate OCP.Toast and fix usages
2020-04-06 20:45:03 +02:00
Christoph Wurst 523c3386c0 Merge pull request #20331 from nextcloud/irc-to-talk
Remove freenode badges
2020-04-06 19:19:20 +02:00
Daniel Kesselberg 3cffb4a308 Remove freenode badges, Add link to Talk
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-04-06 18:56:20 +02:00
Christoph Wurst 689ec7e484 Remove toastify-js
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-06 17:20:00 +02: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
Roeland Jago Douma 71b342fb15 Merge pull request #20310 from nextcloud/dependabot/npm_and_yarn/build/handlebars-4.7.6
Bump handlebars from 4.7.3 to 4.7.6 in /build
2020-04-06 16:37:45 +02:00
Roeland Jago Douma 4655b49887 Merge pull request #20330 from nextcloud/dependabot/npm_and_yarn/nextcloud/l10n-1.2.2
Bump @nextcloud/l10n from 1.1.1 to 1.2.2
2020-04-06 16:37:08 +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 f14f75ac67 Merge pull request #20314 from nextcloud/dependabot/npm_and_yarn/eslint-loader-3.0.4
Bump eslint-loader from 3.0.3 to 3.0.4
2020-04-05 17:13:11 +02: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
dependabot-preview[bot] cd5fcea2e1 Bump eslint-loader from 3.0.3 to 3.0.4
Bumps [eslint-loader](https://github.com/webpack-contrib/eslint-loader) from 3.0.3 to 3.0.4.
- [Release notes](https://github.com/webpack-contrib/eslint-loader/releases)
- [Changelog](https://github.com/webpack-contrib/eslint-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/eslint-loader/compare/v3.0.3...v3.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-05 11:09:42 +00:00
Roeland Jago Douma bc8d146ee1 Merge pull request #20316 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-import-2.20.2
Bump eslint-plugin-import from 2.20.1 to 2.20.2
2020-04-05 13:07:20 +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
dependabot-preview[bot] d7eac53ee1 Bump handlebars from 4.7.3 to 4.7.6 in /build
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.3 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.3...v4.7.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-05 10:57:12 +00:00
Roeland Jago Douma 3b6615faf0 Merge pull request #20312 from nextcloud/dependabot/npm_and_yarn/jsdom-16.2.2
Bump jsdom from 16.2.1 to 16.2.2
2020-04-05 12:55:25 +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
dependabot-preview[bot] 7f34bc3d91 Bump eslint-plugin-import from 2.20.1 to 2.20.2
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.20.1 to 2.20.2.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.20.1...v2.20.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-05 01:19:39 +00:00
dependabot-preview[bot] 0a2ff6e72e Bump jsdom from 16.2.1 to 16.2.2
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.2.1 to 16.2.2.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.2.1...16.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-05 01:16:38 +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 4a06651800 19 beta 2
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-04 10:46:54 +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 56aa8fd035 Properly hint exceptions thrown by getUserFolder
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-03 23:06:26 +02: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
Arthur Schiwon e52442e26f fixes the throttler not checking the user state on postLogin
a listener to the post login events can still reject a login, so that a
user is not necessarily available at the time.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-04-03 22:51:46 +02:00
blizzz 2d0f29f208 Merge pull request #20293 from nextcloud/fix/noid/BeforeUserLoggedInEvent-returntype
fixes the return type of BeforeUserLoggedInEvent
2020-04-03 21:29:20 +02:00
Arthur Schiwon e394f6a5b5 fixes the return type of BeforeUserLoggedInEvent
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-04-03 18:01:14 +02:00
Robin Appelman e22a28ecc2 update autoloader
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-03 16:27:20 +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
Roeland Jago Douma 054df038de Merge pull request #20285 from nextcloud/fix/l10n-webauthn
Ignore compiled webauthn settings
2020-04-03 13:46:32 +02:00
Roeland Jago Douma ecdd2590f9 Ignore compiled webauthn settings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-03 13:45:38 +02:00
Christoph Wurst 62b9db5780 Update handlebars to get rid of minimist
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-03 11:04:46 +02:00
Roeland Jago Douma 539537c781 Merge pull request #20257 from nextcloud/version/19/beta1
19 beta 1
2020-04-03 10:49:58 +02:00
Roeland Jago Douma 475d549ec6 Merge pull request #19913 from nextcloud/bugfix/noid/remove-user-name-from-public-sharing-page
Remove user name from public sharing page
2020-04-03 10:33:05 +02:00
Roeland Jago Douma 8306b42ef2 Merge pull request #20217 from nextcloud/dependabot/npm_and_yarn/regenerator-runtime-0.13.5
Bump regenerator-runtime from 0.13.3 to 0.13.5
2020-04-03 10:16:52 +02:00
dependabot-preview[bot] 4f8a847f59 Bump regenerator-runtime from 0.13.3 to 0.13.5
Bumps [regenerator-runtime](https://github.com/facebook/regenerator) from 0.13.3 to 0.13.5.
- [Release notes](https://github.com/facebook/regenerator/releases)
- [Commits](https://github.com/facebook/regenerator/compare/regenerator-runtime@0.13.3...regenerator-runtime@0.13.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-03 06:59:22 +00:00
Roeland Jago Douma dbdd30d4d4 Merge pull request #20216 from nextcloud/dependabot/npm_and_yarn/build/karma-viewport-1.0.6
Bump karma-viewport from 1.0.5 to 1.0.6 in /build
2020-04-03 08:51:27 +02:00
Roeland Jago Douma a8452b236b Merge pull request #20244 from CHRINIMUE/add-progress-bar-to-public-upload
Add basic progressbar to public upload page
2020-04-03 08:50:15 +02:00
Roeland Jago Douma 483e921f3e Merge pull request #20275 from nextcloud/bugfix/noid/publicwebdav-query-application
Query Application class on publicwebdav
2020-04-03 08:47:35 +02:00
Roeland Jago Douma a688f47a2f Merge pull request #19486 from nextcloud/scanner-performance
Improve performance of file scanner
2020-04-02 20:40:06 +02:00
Roeland Jago Douma 7042f99e9d Merge pull request #19672 from nextcloud/fix-pointer-cursor-on-icons-in-primary-button
Fix cursor on click inputs and their descendants
2020-04-02 20:38:03 +02:00
Roeland Jago Douma 12d193241f Merge pull request #20215 from nextcloud/bug/19939/password-reset-arrow
Align password reset arrow
2020-04-02 19:23:15 +02:00
John Molakvoæ 40bcdb7899 Merge pull request #20268 from nextcloud/fix/babel
Remove unneeded babel config variable
2020-04-02 17:25:39 +02:00
Julius Härtl 3a88ad741d Query Application class on publicwebdav
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-02 17:07:53 +02:00
Joas Schilling bc6a5ef5c4 Merge pull request #19890 from nextcloud/enh/comments-reference-id
Add optional comments reference_id
2020-04-02 11:34:21 +02:00
John Molakvoæ (skjnldsv) 1f805c5dc2 Remove unneeded babel config variable
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-02 10:57:13 +02:00
Joas Schilling 1f5ba56235 Update autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-02 10:02:05 +02:00
Joas Schilling 81455479bc Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-02 09:59:44 +02:00
Joas Schilling 1c4422ca3d Add a test and fix the existing ones
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-01 17:15:59 +02:00
Joas Schilling f878ea9606 Remove user name from public sharing page
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-01 17:14:38 +02:00
Robin Appelman 3ba46f3b50 add basic tests for s3 seeking and add some error handling if reopen return the wrong range
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-01 15:23:05 +02:00
Robin Appelman 7b07e7251c make seekable s3 stream generic
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-01 15:21:05 +02:00
Lukas Stabe 14401efb0f Enable fseek for files in S3 storage
Signed-off-by: Lukas Stabe <lukas@stabe.de>
2020-04-01 15:21:01 +02:00
Robin Appelman c1368b8696 Merge pull request #19781 from nextcloud/quota-include-external-dont-use-current-user
Dont always use the current users quota when calculating storage info
2020-04-01 12:24:21 +00:00
Robin Appelman d9184584e0 restart transaction when cache insert fails due to duplicate
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-01 14:17:34 +02:00
Robin Appelman f984512e33 fix tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-01 14:17:31 +02:00
Robin Appelman 5199f80196 call cache->insert directly instead of going trough cache->put first when scanning
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-01 14:17:28 +02:00
Robin Appelman 9c7da26394 dont try to get existing cache data during scanning if we already know its a new file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-01 14:17:25 +02:00
Robin Appelman 3fb32f6f3d reuse known parentId when inserting cache entries in scanner
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-01 14:14:52 +02:00
Robin Appelman 5439469b68 optimize getMetaData for local storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-01 14:14:48 +02:00
Daniel Kesselberg 531b1288e4 Add fieldset to align arrow
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-01 11:38:01 +00:00
Roeland Jago Douma 32577f2f57 Merge pull request #20209 from nextcloud/techdebt/php-cs-config
Add a shared php coding style fixer config
2020-04-01 13:25:16 +02:00
Joas Schilling b974dd5b73 Update new test as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-01 13:20:01 +02:00
Roeland Jago Douma 245c5bf29d 19 beta 1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-01 13:00:13 +02:00
Roeland Jago Douma 61aa4d9ad8 Merge pull request #20220 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-node-11.1.0
Bump eslint-plugin-node from 11.0.0 to 11.1.0
2020-04-01 12:57:41 +02:00
Roeland Jago Douma 19ca921676 Merge pull request #20241 from nextcloud/fix/license-headers-19
Update the license headers for Nextcloud 19
2020-04-01 12:44:21 +02:00
Roeland Jago Douma 9a204adf48 Merge pull request #20221 from nextcloud/dependabot/npm_and_yarn/blueimp-md5-2.13.0
Bump blueimp-md5 from 2.12.0 to 2.13.0
2020-04-01 12:43:41 +02:00
dependabot-preview[bot] c982e0986f Bump blueimp-md5 from 2.12.0 to 2.13.0
Bumps [blueimp-md5](https://github.com/blueimp/JavaScript-MD5) from 2.12.0 to 2.13.0.
- [Release notes](https://github.com/blueimp/JavaScript-MD5/releases)
- [Commits](https://github.com/blueimp/JavaScript-MD5/compare/v2.12.0...v2.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-01 09:20:34 +00:00
Roeland Jago Douma 590849e4d7 Merge pull request #19858 from nextcloud/feature/webauthn
Add WebAuthn support
2020-03-31 22:55:13 +02:00
Roeland Jago Douma b39fb55ee0 Merge pull request #19845 from nextcloud/enh/events/loginFailedEvent
Event for failed login attempts
2020-03-31 22:17:40 +02:00
Roeland Jago Douma 53db05a1f6 Start with webauthn
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-31 22:17:07 +02:00
Roeland Jago Douma f04f34b94b Make password nullable in LoginData
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-31 21:52:01 +02:00
Roeland Jago Douma 84f3d2ddeb [POC] Event for failed login attempts
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-31 21:41:02 +02:00
Christopher Mueller 49291b905a fix wrong indentation
Signed-off-by: Christopher Mueller <chrinimue@posteo.me>
2020-03-31 18:09:24 +00:00
Christopher Mueller 79320200cc add translation strings & add margin to uploaded files-list
Signed-off-by: Christopher Mueller <chrinimue@posteo.me>
2020-03-31 17:47:22 +00:00
Christopher Mueller 0c14c9d7ea add progressbar for every element & better design
Signed-off-by: Christopher Mueller <chrinimue@posteo.me>
2020-03-31 14:21:28 +00:00
Christoph Wurst 1a9330cd69 Update the license headers for Nextcloud 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-31 14:52:54 +02:00
Joas Schilling 09d56e9d3d Merge pull request #20210 from nextcloud/fix/outdated/admin-dir_permissions
Remove outdated admin-dir_permissions documentation link
2020-03-31 14:24:39 +02:00
Christoph Wurst 3eac89d448 Add shared php-cs config
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-31 13:45:10 +02:00
Christoph Wurst 820e138316 Merge pull request #20245 from nextcloud/tcitworld-patch-1-1
Add myself to .mailmap
2020-03-31 13:43:44 +02:00
Thomas Citharel e9a0117ae6 Add myself to .mailmap
See https://github.com/nextcloud/server/pull/20241
2020-03-31 13:23:45 +02:00
Christopher Mueller b69d76feee Add basic progressbar to public upload page
Signed-off-by: Christopher Mueller <chrinimue@posteo.me>
2020-03-31 10:56:59 +00:00
Joas Schilling 60d9384e5e Optionally write the reference id into the database
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-31 10:51:16 +02:00
Joas Schilling a20e81f0f3 Allow to set and get the reference id
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-31 10:51:16 +02:00
Joas Schilling 720dc4e93d Add optional column oc_comments.reference_id
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-31 10:51:15 +02:00
Christoph Wurst 5a0856c4ab Merge pull request #20219 from nextcloud/dependabot/npm_and_yarn/webpack-4.42.1
Bump webpack from 4.42.0 to 4.42.1
2020-03-31 09:36:26 +02:00
Roeland Jago Douma 0faed106d7 Merge pull request #20234 from nextcloud/design/pdf-icon
Remove Acrobat logo from PDF filetype icon
2020-03-31 08:48:16 +02:00
Nextcloud bot 186d5ff5ed [tx-robot] updated from transifex 2020-03-31 02:19:03 +00:00
Jan-Christoph Borchardt 83db267f1b Remove Acrobat logo from PDF filetype icon
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-03-30 18:41:51 +02:00
Christoph Wurst dc9df2b7ab Merge pull request #20227 from nextcloud/enhancement/sabre-address-book-calendar-plugins
Update the info.xsd for address book and calendar plugins
2020-03-30 13:32:24 +02:00
Christoph Wurst 8d9536e149 Update the info.xsd for address book and calendar plugins
For https://github.com/nextcloud/server/pull/19795
For https://github.com/nextcloud/server/pull/19196
Ref https://github.com/nextcloud/appstore/pull/673

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-30 12:05:19 +02:00
John Molakvoæ fa4162e86f Merge pull request #20208 from nextcloud/smb-folder-contents-normalize-path
normalize smb path while listing folder contents
2020-03-30 10:06:39 +02:00
John Molakvoæ 20ecbd60fd Merge pull request #20207 from nextcloud/smb-3.2.1
update icewind/smb to 3.2.1
2020-03-30 10:05:48 +02:00
dependabot-preview[bot] 548f9dcbb3 Bump webpack from 4.42.0 to 4.42.1
Bumps [webpack](https://github.com/webpack/webpack) from 4.42.0 to 4.42.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.42.0...v4.42.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-30 07:49:32 +00:00
Roeland Jago Douma 2200cc8562 Merge pull request #19325 from nextcloud/dependachristoph/composer/sabre-4.0
Update Sabre (and friends) to 4.0
2020-03-30 09:34:25 +02:00
Nextcloud bot 9e8ac1d24a [tx-robot] updated from transifex 2020-03-30 02:18:34 +00:00
Nextcloud bot 89710bbdcf [tx-robot] updated from transifex 2020-03-29 02:20:14 +00:00
dependabot-preview[bot] 49559dba14 Bump eslint-plugin-node from 11.0.0 to 11.1.0
Bumps [eslint-plugin-node](https://github.com/mysticatea/eslint-plugin-node) from 11.0.0 to 11.1.0.
- [Release notes](https://github.com/mysticatea/eslint-plugin-node/releases)
- [Commits](https://github.com/mysticatea/eslint-plugin-node/compare/v11.0.0...v11.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-29 01:16:27 +00:00
dependabot-preview[bot] aaaabd1678 Bump karma-viewport from 1.0.5 to 1.0.6 in /build
Bumps [karma-viewport](https://github.com/squidfunk/karma-viewport) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/squidfunk/karma-viewport/releases)
- [Changelog](https://github.com/squidfunk/karma-viewport/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/karma-viewport/compare/1.0.5...1.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-29 01:13:34 +00:00
John Molakvoæ 82b0cd2e7a Update base.php 2020-03-28 16:19:01 +01:00
John Molakvoæ 7eac19682c Update base.php 2020-03-28 16:17:50 +01:00
John Molakvoæ 58a192f05d Update util.php 2020-03-28 16:17:21 +01:00
John Molakvoæ 1b4952bfb2 Update Config.php 2020-03-28 16:16:41 +01:00
Nextcloud bot df463f90be [tx-robot] updated from transifex 2020-03-28 02:18:15 +00:00
Christoph Wurst 463b388589 Merge pull request #20170 from nextcloud/techdebt/remove-unused-imports
Remove unused imports
2020-03-27 17:14:08 +01:00
Robin Appelman ef7bb5225a normalize smb path while listing folder contents
currently when listing `'/'`, it will include a double slash in the paths used for the listing logic
this causes unneeeded cache misses in the statCache

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-27 17:04:53 +01:00
Robin Appelman b41e62db99 update icewind/smb to 3.2.1
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-27 16:57:55 +01:00
Georg Ehrke 55081b7fd2 RequestTestCase: Default type for headers needs to be array
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-03-27 12:53:44 +01:00
Georg Ehrke 80b7ef9b41 Adjust FakeLockerPluginTest to new Sabre version
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-03-27 12:53:44 +01:00
Georg Ehrke 5e2c802bb7 Set custom ProdId in Birthday service, do not depend on Sabre Versio number for unit tests
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-03-27 12:53:44 +01:00
Georg Ehrke 102a328e65 Fix usage of Sabre\HTTP\Request in unit tests
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-03-27 12:53:44 +01:00
Georg Ehrke 52ba75f644 Sabre/DAV 4.0: beforeMethod is now beforeMethod:*
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-03-27 12:53:44 +01:00
Christoph Wurst 8648ee131a Update Sabre (and friends) to 4.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-27 12:52:27 +01:00
Roeland Jago Douma ad63c1da1b Merge pull request #20186 from szaimen/patch-2
Fix "Use this address..." String
2020-03-27 10:25:46 +01:00
Nextcloud bot f680f19364 [tx-robot] updated from transifex 2020-03-27 02:18:20 +00:00
szaimen 1096c56509 Fix "Use this address..." String
Signed-off-by: szaimen <szaimen@e.mail.de>
2020-03-26 17:43:13 +01:00
John Molakvoæ 36d76ee94f Merge pull request #19872 from nextcloud/techdebt/bable-polyfill-to-core-js
Migrate from @babel/polyfill to core-js@3
2020-03-26 16:42:05 +01:00
Joas Schilling 0c3e2fac54 Merge pull request #20168 from nextcloud/techdebt/short-array-syntax
Use the short array syntax, everywhere
2020-03-26 16:35:30 +01:00
Christoph Wurst b80ebc9674 Use the short array syntax, everywhere
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26 16:34:56 +01:00
Joas Schilling 51d174a40b Also bail out when the path is actually null
Apparently this can happen when a external mount was shared
that is later not available anymore

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-26 13:49:47 +01:00
Christoph Wurst fa9c206fc8 Migrate from @babel/polyfill to core-js@3
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26 13:22:35 +01:00
blizzz 62403d0932 Merge pull request #20123 from lippl/bugfix/ldap-user_count-warning
Bugfix - Prevent PHP Warning for count on null on LDAP
2020-03-26 11:28:26 +01:00
Christoph Wurst 1b4380aae8 Add a PSR-3 logger adapter and make it injectable
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26 10:52:10 +01:00
Christoph Wurst 25ab122245 Merge pull request #20172 from nextcloud/techdebt/phpunit-short-return
Use the shorter phpunit syntax for mocked return values
2020-03-26 09:25:19 +01:00
Philipp Staiger 8769d97f62 single squashed commit for bug fix
Signed-off-by: Philipp Staiger <philipp@staiger.it>
2020-03-26 09:01:35 +01:00
Nextcloud bot b3af054d73 [tx-robot] updated from transifex 2020-03-26 02:18:34 +00:00
Christoph Wurst e1a11b9e77 Merge pull request #20169 from nextcloud/techdebt/lower-case-true-false-null
Use lowercase true, false and null constants
2020-03-25 22:39:08 +01:00
Christoph Wurst 2ee65f177e Use the shorter phpunit syntax for mocked return values
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 22:21:27 +01:00
Christoph Wurst 74936c49ea Remove unused imports
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 22:08:08 +01:00
Christoph Wurst 23eb0462e5 Use lowercase true, false and null constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 21:53:04 +01:00
Christoph Wurst 3cf321fdfc Merge pull request #19075 from nextcloud/feature/contact-interaction-event
Collect recent contact interactions
2020-03-25 18:39:37 +01:00
Christoph Wurst 37786c4d74 Convert share event to an interaction event
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 16:16:45 +01:00
Christoph Wurst 5a33cb0b78 Register an address book with recent contacts
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 16:16:45 +01:00
Christoph Wurst b3e194f38e Add a public event for contacts interaction
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 16:02:05 +01:00
John Molakvoæ 902adbe159 Merge pull request #20162 from nextcloud/security/update-minimist-packages
Update minimist dependencies
2020-03-25 15:52:26 +01:00
Christoph Wurst d8f1c1a122 Update minimist dependencies
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 13:55:31 +01:00
John Molakvoæ e07abe6f4a Merge pull request #20153 from nextcloud/enhancement/update-eslint-switch-packages
Update eslint and switch to @nextcloud packages
2020-03-25 13:06:47 +01:00
Roeland Jago Douma 61cf7becc8 Merge pull request #20150 from nextcloud/fix/auto_accept_group_shares_new_users
Auto accept group shares for users added to a group
2020-03-25 13:05:22 +01:00
Christoph Wurst 6af1ed8cb3 Update eslint and switch to @nextcloud packages
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 11:53:59 +01:00
blizzz ba14c41a1c Merge pull request #20145 from nextcloud/bugfix/noid/generated-avatars-and-nophoto-cache
Fix generated avatars and nophoto cache files
2020-03-25 11:14:13 +01:00
Daniel Calviño Sánchez 52706213d3 Fix cursor on click inputs and their descendants
The cursor in click inputs is shown as a pointer to convey that it can
be interacted with. However, in those click inputs that can have
descendants, like buttons, the descendants may not inherit the cursor
from it (for example, a "strong" element would, but a "span" element
would not), which causes a pointer cursor to be shown on some areas of
the button and a different one to be shown on other areas. To prevent
that now all the descendants of click inputs that can have descendants
use a pointer cursor.

On the other hand, if a click input is disabled it can not be interacted
with it, so now disabled click inputs as well as their descendants show
a default cursor instead of a pointer cursor in that case.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-03-25 10:50:45 +01:00
Roeland Jago Douma e6ec084a58 Auto accept group shares for users added to a group
In case auto accepting is enabled (the default). Users that are newly
added to a group should not have to accept those shares.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-25 08:51:27 +01:00
Roeland Jago Douma 3427653676 Merge pull request #19986 from nextcloud/bugfix/19980/fix_uid_as_uri
RefreshWebcalService: randomly generate calendar-object uri
2020-03-25 08:11:49 +01:00
Roeland Jago Douma b93e1e300e Merge pull request #14722 from tacruc/GpgMailerHooks
Add Mailer events
2020-03-25 08:10:04 +01:00
Roeland Jago Douma 52957d99d8 Merge pull request #19955 from nextcloud/bug/19952/translate-web-standards
Use a normal string to translate.
2020-03-25 08:09:10 +01:00
Nextcloud bot e4d85fa284 [tx-robot] updated from transifex 2020-03-25 02:18:27 +00:00
Roeland Jago Douma 97949109ef Merge pull request #19368 from nextcloud/dependabot/npm_and_yarn/build/handlebars-4.7.3
Bump handlebars from 4.5.3 to 4.7.3 in /build
2020-03-24 21:47:36 +01:00
Roeland Jago Douma b300dc5a50 Merge pull request #19782 from nextcloud/quota-wrapper-include-external
Use global used space in quota wrappen when external storage is included
2020-03-24 21:36:01 +01:00
Daniel Kesselberg 01dd9cf619 Use a normal string to translate.
Somehow the multi line strings are still a problem for t.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-24 20:21:16 +00:00
Arne Hamann a16aa99586 Added Hook before Message is send
Signed-off-by: Arne Hamann <kontakt+github@arne.email>
2020-03-24 20:57:27 +01:00
Roeland Jago Douma f85d7fee17 Merge pull request #20091 from nextcloud/dependabot/npm_and_yarn/url-loader-4.0.0
Bump url-loader from 3.0.0 to 4.0.0
2020-03-24 20:50:52 +01:00
Roeland Jago Douma c11c0917e7 Merge pull request #20085 from nextcloud/dependabot/npm_and_yarn/babel-loader-8.1.0
Bump babel-loader from 8.0.6 to 8.1.0
2020-03-24 20:47:57 +01:00
Roeland Jago Douma 3b26bfe879 Merge pull request #20127 from nextcloud/bugfix/noid/check-user-on-remote-wipe
Check the user on remote wipe
2020-03-24 20:26:52 +01:00
Joas Schilling f3a5bd6753 Fix generated avatars and nophoto cache files
Since nextcloud/server#19493 newFile() by default does not write the file anymore.
Setting an empty string as content will make it write the file immediate,
without having to call putContent() afterwards.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-24 18:23:38 +01:00
Christoph Wurst 3e338c9075 Merge pull request #18788 from nextcloud/fix/18782/translate-busy-in-caldav
Translate 'Busy' in CalDAV
2020-03-24 15:12:21 +01:00
Roeland Jago Douma b31c98a549 Merge pull request #20128 from nextcloud/bugfix/education-edition
Remove admin_notifications since it is obsolete since Nextcloud 14
2020-03-24 14:55:01 +01:00
Daniel Calviño Sánchez 4ec370016f Add acceptance test for restricting user enumeration to groups
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-03-24 14:42:52 +01:00
Daniel Calviño Sánchez d4f25b01b8 Unify default value for restricting user enumeration with settings
If the value was never enabled or disabled, the settings show "Restrict
username enumeration to groups" as disabled. However, in some components
it was enabled by default, which caused an inconsistency in the
behaviour with respect to the settings, for example in the contacts
menu.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-03-24 14:30:59 +01:00
Christoph Wurst c235a40c94 Merge pull request #20019 from nextcloud/bugfix/fix_lanuage_multiselect
Fix language multiselect action
2020-03-24 11:51:07 +01:00
John Molakvoæ 85842891a2 Merge pull request #20090 from nextcloud/dependabot/npm_and_yarn/nextcloud/paths-1.1.1
Bump @nextcloud/paths from 1.1.0 to 1.1.1
2020-03-24 09:56:40 +01:00
Julius Härtl 63900d0574 Remove admin_notifications since it is obsolete since Nextcloud 14
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-24 09:18:42 +01:00
Nextcloud bot 06d1b327ff [tx-robot] updated from transifex 2020-03-24 02:18:45 +00:00
Roeland Jago Douma 1c912f64ad Merge pull request #19965 from nextcloud/enh/noid/how-to-use-github
Add text about subscribing issues and sync introduction to feature request
2020-03-23 22:09:19 +01:00
Roeland Jago Douma 15ba3d5124 Merge pull request #20117 from nextcloud/fix/noid/updatenotification-channel-click-outside
Close updatenotification channel selector on click outside
2020-03-23 22:08:09 +01:00
dependabot-preview[bot] ef129d6b80 Bump @nextcloud/paths from 1.1.0 to 1.1.1
Bumps @nextcloud/paths from 1.1.0 to 1.1.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-23 20:33:19 +00:00
Gary Kim d0c1a66c54 Close updatenotification channel selector on click outside
While the vue-click-outside package was set up and
imported, it wasn't being used yet.

This commit sets up to use vue-click-outside
on the channel selector in updatenotification

Signed-off-by: Gary Kim <gary@garykim.dev>
2020-03-24 00:02:40 +08:00
Christoph Wurst e4adccbc61 Merge pull request #18818 from nextcloud/rethink_quota
change quota design
2020-03-23 14:18:40 +01:00
GretaD e45d5d3eef Fix language multiselect action
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-03-23 12:44:58 +01:00
Roeland Jago Douma 48d59ee35e Merge pull request #17692 from nextcloud/enh/revproxy/setupcheck
Add basic reverseproxy misconfig detection to setupchecks
2020-03-23 12:30:23 +01:00
Roeland Jago Douma b0ea022a3e Add basic reverseproxy misconfig detection to setupchecks
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-23 10:37:08 +01:00
GretaD 5cc08ac5e4 Fix unlimited and progress bar
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-03-23 10:20:38 +01:00
John Molakvoæ 0b4c39d656 Merge pull request #20093 from nextcloud/dependabot/npm_and_yarn/nextcloud/logger-1.1.2
Bump @nextcloud/logger from 1.1.1 to 1.1.2, @nextcloud/router from 1.0.0 to 1.0.2, @nextcloud/axios from 1.3.1 to 1.3.2 and @babel/core from 7.8.7 to 7.9.0
2020-03-23 10:05:43 +01:00
dependabot-preview[bot] 3bd05a8c34 Bump @nextcloud/logger from 1.1.1 to 1.1.2, @nextcloud/router from 1.0.0 to 1.0.2, @nextcloud/axios from 1.3.1 to 1.3.2 and @babel/core from 7.8.7 to 7.9.0
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-03-23 09:30:04 +01:00
Nextcloud bot be4cf8992d [tx-robot] updated from transifex 2020-03-23 02:19:02 +00:00
Roeland Jago Douma c03c446bd8 Merge pull request #20095 from nextcloud/dep/old_js_pack
Remove legacy js packages
2020-03-22 19:43:54 +01:00
Roeland Jago Douma 3b92af9c27 Merge pull request #18556 from nextcloud/enh/16602/files-app-settings
Add OCA.Files.Settings for Files navigation settings
2020-03-22 19:41:38 +01:00
Roeland Jago Douma 9956922496 Merge pull request #18679 from nextcloud/calDavSearch
fix OCA\DAV\CalDAV\CalDavBackend search $options
2020-03-22 19:39:17 +01:00
Roeland Jago Douma 6675f9b403 Merge pull request #17684 from mlatief/support-no-proxy
Add support for GuzzleHTTP 'no' proxy
2020-03-22 19:38:01 +01:00
John Molakvoæ ea6601a2fc Merge pull request #20075 from nextcloud/fix/20059/remove-unnecessary-translation
Remove unnecessary translation in systemtags
2020-03-22 18:45:43 +01:00
Gary Kim 98eeb57a04 Add OCA.Files.Settings for Files Settings
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-03-22 22:34:49 +08:00
Thomas Citharel 42dde6d623 Add check that DateTime parameters are of correct type
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-03-22 14:24:13 +01:00
Thomas Citharel 01db6d4609 Add extra test case to exclude by timerange
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-03-22 14:24:13 +01:00
dartcafe b0fbba05f2 Added test testSearch
Signed-off-by: dartcafe <github@dartcafe.de>
2020-03-22 14:24:13 +01:00
dartcafe 65c591093e fix OCA\DAV\CalDAV\CalDavBackend search $options
Signed-off-by: dartcafe <github@dartcafe.de>
2020-03-22 14:24:13 +01:00
Roeland Jago Douma 019ba27943 Merge pull request #20042 from nextcloud/fix/noid/styled-dav-browser-error
fix dav browser error page not styled
2020-03-22 14:23:17 +01:00
Gary Kim cac851bdbf Remove unnecessary translation in systemtags
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-03-22 14:06:59 +01:00
Roeland Jago Douma 939535f51f Remove legacy js packages
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-22 12:27:54 +01:00
Roeland Jago Douma 47fafead81 Merge pull request #20076 from nextcloud/dependabot/npm_and_yarn/various
Bump @nextcloud/l10n, @nextcloud/event-bus, @nextcloud/dialogs, @nextcloud/auth, @nextcloud/vue
2020-03-22 10:39:07 +01:00
Roeland Jago Douma a376f19a28 Merge pull request #19930 from nextcloud/enh/19804/wfe-disable-user-flows
Add app config to disable user flows
2020-03-22 10:36:23 +01:00
dependabot-preview[bot] 97ae13f304 Bump url-loader from 3.0.0 to 4.0.0
Bumps [url-loader](https://github.com/webpack-contrib/url-loader) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/webpack-contrib/url-loader/releases)
- [Changelog](https://github.com/webpack-contrib/url-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/url-loader/compare/v3.0.0...v4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-22 02:22:51 +00:00
dependabot-preview[bot] d51473ac7c Bump babel-loader from 8.0.6 to 8.1.0
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.0.6 to 8.1.0.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.0.6...v8.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-22 02:19:17 +00:00
Nextcloud bot bacf0d802a [tx-robot] updated from transifex 2020-03-22 02:18:37 +00:00
John Molakvoæ (skjnldsv) c3730c0fa0 Bump marked from 0.7.0 to 0.8.1
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-03-21 10:54:48 +01:00
John Molakvoæ (skjnldsv) a7b94f519e Bump @nextcloud/l10n, @nextcloud/event-bus, @nextcloud/dialogs, @nextcloud/auth, @nextcloud/vue
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-03-21 10:43:21 +01:00
John Molakvoæ 59e31ce8e0 Merge pull request #20064 from nextcloud/dependabot/npm_and_yarn/file-loader-6.0.0
Bump file-loader from 5.1.0 to 6.0.0
2020-03-21 10:40:33 +01:00
Julius Härtl e4829236cf Add app config to disable user flows
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-21 08:58:41 +01:00
Roeland Jago Douma 3936a9472a Merge pull request #20069 from nextcloud/dependabot/npm_and_yarn/vue-loader-15.9.1
Bump vue-loader from 15.9.0 to 15.9.1
2020-03-21 08:21:58 +01:00
Roeland Jago Douma 72b3f4e059 Merge pull request #20058 from nextcloud/rakekniven-patch-1
l10n: Ignore compressed js
2020-03-21 08:21:13 +01:00
Roeland Jago Douma 561e29f005 Merge pull request #20070 from nextcloud/dependabot/npm_and_yarn/mocha-7.1.1
Bump mocha from 7.1.0 to 7.1.1
2020-03-21 08:20:32 +01:00
Roeland Jago Douma 98422b2689 Merge pull request #20062 from nextcloud/dependabot/npm_and_yarn/nextcloud/initial-state-1.1.1
Bump @nextcloud/initial-state from 1.1.0 to 1.1.1
2020-03-21 08:19:39 +01:00
dependabot-preview[bot] e1c9a8d031 Bump @nextcloud/initial-state from 1.1.0 to 1.1.1
Bumps [@nextcloud/initial-state](https://github.com/nextcloud/nextcloud-initial-state) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/nextcloud/nextcloud-initial-state/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-initial-state/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-initial-state/compare/v1.1.0...v1.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-21 04:28:19 +00:00
Nextcloud bot 59442d30f5 [tx-robot] updated from transifex 2020-03-21 02:19:03 +00:00
Arthur Schiwon 82f8a167a6 use core templates for displaying dav errors in the browser
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-03-20 22:39:22 +01:00
dependabot-preview[bot] ccc9dcd9af Bump mocha from 7.1.0 to 7.1.1
Bumps [mocha](https://github.com/mochajs/mocha) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v7.1.0...v7.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-20 20:47:48 +00:00
dependabot-preview[bot] 5dba526a5e Bump vue-loader from 15.9.0 to 15.9.1
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.0 to 15.9.1.
- [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.0...v15.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-20 20:47:20 +00:00
dependabot-preview[bot] 0e5910d0e5 Bump file-loader from 5.1.0 to 6.0.0
Bumps [file-loader](https://github.com/webpack-contrib/file-loader) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/webpack-contrib/file-loader/releases)
- [Changelog](https://github.com/webpack-contrib/file-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/file-loader/compare/v5.1.0...v6.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-20 20:43:01 +00:00
Roeland Jago Douma fcf1810f53 Merge pull request #20057 from nextcloud/adjust-acceptance-tests-to-incoming-shares-being-accepted-by-default
Adjust acceptance tests to incoming shares being accepted by default
2020-03-20 21:23:38 +01:00
rakekniven bbf9fae9ba l10n: Ignore compressed js
Reported at Transifex.

Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
2020-03-20 21:18:03 +01:00
Daniel Calviño Sánchez 9386f24ab0 Add acceptance test for accepting an incoming share
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-03-20 20:03:58 +01:00
Daniel Calviño Sánchez 887e740434 Fix timeout capping
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-03-20 17:43:12 +01:00
Daniel Calviño Sánchez 43e18e96e2 Revert (partially) "Accept incoming shares in acceptance tests"
This reverts commit f402e23448.

Since eb4c42d3d1 now shares are accepted
by default, so no notification is shown to accept them.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-03-20 17:39:34 +01:00
Roeland Jago Douma a0058fe601 Merge pull request #20049 from nextcloud/force-compatible-dependency-versions-in-acceptance-tests
Force compatible dependency versions in acceptance tests
2020-03-20 15:48:26 +01:00
Roeland Jago Douma 2efa000705 Merge pull request #19569 from nextcloud/enh/noid/restrict-user-enumeration-to-groups
Restrict sharing user enumeration to groups
2020-03-20 13:40:47 +01:00
Daniel Calviño Sánchez 0896f33f86 Force compatible dependency versions in acceptance tests
behat/mink 1.8 and behat/mink-selenium2-driver 1.4 introduced behaviour
changes that broke the acceptance tests. Until the tests are updated to
work with the newer versions the last known versions are forced.

Note that some acceptance tests still fail after enforcing the
compatible versions, although that is caused by changes in the Nextcloud
server itself.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-03-20 11:45:00 +01:00
blizzz 5817047c3e Merge pull request #20039 from nextcloud/fix/19549/fix-uuid-attr-detection
fixes auto-detecting UUID attributes
2020-03-20 11:06:37 +01:00
Julius Härtl 47271e56ee Fix tests due to config adjustments
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-20 10:46:13 +01:00
Julius Härtl ae4dc3467c Return empty system addressbook since we cannot easily limit it to groups
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-20 10:43:56 +01:00
Julius Härtl 0ef53ebc08 Add tests for ContactsStore filtering
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-20 10:43:56 +01:00
Julius Härtl 78beb9e6d4 Add tests for user group enumeration limit
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-20 10:43:56 +01:00
Julius Härtl 0fa897fcfc Limit enumeration in principal search
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-20 10:43:56 +01:00
Julius Härtl 8edc824526 Expose enumeration config though share manager
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-20 10:43:56 +01:00
Julius Härtl 49e7576ae0 Limit enumeration in contacts store
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-20 10:43:56 +01:00
Julius Härtl c97ab39acb Limit user search in Collaborators plugins
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-20 10:43:56 +01:00
Julius Härtl 87393a760e Remove unused properties in ShareesAPIController
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-20 10:43:56 +01:00
Julius Härtl 381decca49 Add setting to restrict user enumeration to groups
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-20 10:43:55 +01:00
Roeland Jago Douma 53a300dd8c Merge pull request #20043 from nextcloud/fix/welcome-no-irc
Most of us don't use IRC anymore
2020-03-20 08:51:43 +01:00
Christoph Wurst f88ee3a556 We don't use IRC anymore
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-20 08:47:20 +01:00
Roeland Jago Douma 826b5a7425 Merge pull request #19971 from joeried/visual-feedback-for-2fa-code-creation
Add visual feedback while creating 2fa backup codes
2020-03-20 08:45:54 +01:00
Roeland Jago Douma 010b075c2f Merge pull request #20032 from nextcloud/bugfix/19878/allow-video-player-on-hide-download
Allow the video player on the hide download
2020-03-20 08:45:15 +01:00
Roeland Jago Douma 61a02b89c5 Merge pull request #19993 from nextcloud/bug/19991/check-if-value-is-array
Make sure app_install_overwrite is an array
2020-03-20 08:43:24 +01:00
Nextcloud bot 3fa63f2842 [tx-robot] updated from transifex 2020-03-20 02:18:21 +00:00
Arthur Schiwon b285e19dc8 fix dav browser error page not styled
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-03-19 23:44:14 +01:00
Roeland Jago Douma d3401efa2d Merge pull request #20031 from nextcloud/fix/files-external-user-mount-cache-di
Do not use the deprecated service name
2020-03-19 20:09:31 +01:00
Arthur Schiwon 77c63e3b24 fixes auto-detecting UUID attributes
the continue (and later the early return) avoided proper looping over the
attribute candidates.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-03-19 19:42:46 +01:00
Johannes Riedel 2de058737d Move spinner behind text to match design guidelines
Signed-off-by: Johannes Riedel <joeried@users.noreply.github.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-19 16:03:14 +00:00
Johannes Riedel 38c0e7e34d Add visual feedback while creating 2fa backup codes
Signed-off-by: Johannes Riedel <joeried@users.noreply.github.com>
2020-03-19 16:43:49 +01:00
Johannes Riedel 0c38569c83 Implement occ command security:bruteforceattemps:reset-for-ip
Signed-off-by: Johannes Riedel <joeried@users.noreply.github.com>
2020-03-19 16:20:22 +01:00
Christoph Wurst 25ce3c434b Merge pull request #20026 from nextcloud/techdebt/composer-files-v1.10.1
Update autoloaders for composer v1.10.1
2020-03-19 15:37:31 +01:00
Joas Schilling 6edb93fc4a Allow the video player on the hide download
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-19 15:14:00 +01:00
Christoph Wurst c5cb3bb665 Do not use the deprecated service name
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-19 15:04:23 +01:00
Christoph Wurst 150f39ed50 Update autoloaders for composer v1.10.1
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-19 09:48:49 +01:00
Nextcloud bot 4a21ce27ff [tx-robot] updated from transifex 2020-03-19 02:20:00 +00:00
Roeland Jago Douma 3e64be7b6a Merge pull request #20013 from nextcloud/bugfix/noid/fix-recursive-calls-in-logging-via-methods
Fix recursive calls in logging via server methods
2020-03-18 20:47:06 +01:00
Roeland Jago Douma b306a81aee Merge pull request #19242 from nextcloud/dav-long-properties
Handle long dav property paths by hashing them
2020-03-18 19:48:53 +01:00
Joas Schilling dc7913efcd Fix recursive calls in logging via server methods
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-18 18:59:49 +01:00
Joas Schilling 570f3c7798 Merge pull request #20003 from nextcloud/enh/19989/type-additional-scoes
Annotate $additionalScopes so the IDE knows what type $scopeCandidate is
2020-03-18 15:32:39 +01:00
Robin Appelman e44c276aab rebuild autoloader
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-18 13:41:04 +01:00
Robin Appelman 861c897e93 fix tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-18 13:41:04 +01:00
Robin Appelman 15a21ee19a remove the detour trough node and work with path directly
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-18 13:41:04 +01:00
Robin Appelman 451c8761a7 use INode instead of Node for custom properties
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-18 13:41:04 +01:00
Robin Appelman 7819a904d7 handle long property paths to hasing paths >250 chars
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-18 13:41:04 +01:00
Robin Appelman 95cd44c41e remove unused code
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-18 13:41:04 +01:00
Robin Appelman e178718e74 test custom properties backend against real database
test behaviour not implementation

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-18 13:41:04 +01:00
Robin Appelman ce398cf7bd merge the two almost identical custom property backends
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-18 13:41:04 +01:00
Roeland Jago Douma ca54813cbb Merge pull request #19978 from nextcloud/harden/check_for_owner
Actually check if the owner is not null
2020-03-18 13:38:35 +01:00
Roeland Jago Douma 557c4966a0 Merge pull request #19981 from nextcloud/enh/reset_target_if_null_after_share
Update the target when it isempty after sharing
2020-03-18 13:36:46 +01:00
Joas Schilling 7d5b0c290d Merge pull request #19813 from nextcloud/bugfix/noid/fix-color-box-shadow-variable
Fix color-box-shadow variable
2020-03-18 12:34:08 +01:00
Nextcloud bot daa6b41535 [tx-robot] updated from transifex 2020-03-18 02:21:06 +00:00
Roeland Jago Douma 0eb3c3ed18 Merge pull request #19932 from nextcloud/remove-placeholder-check
remove the requirement that everything that looks like a placeholder …
2020-03-17 21:34:08 +01:00
Roeland Jago Douma 7e1bee3389 Merge pull request #19964 from nextcloud/bug/19963/invalid-constructor-template-response
Fix invalid instantiation of TemplateResponse if client not found
2020-03-17 19:38:22 +01:00
Roeland Jago Douma 50ec8631c6 Merge pull request #19347 from nextcloud/fix/19345/log_deprecated_alias_use
Log untyped server DI requests
2020-03-17 18:17:14 +01:00
Daniel Kesselberg b3780bcedd Annotate $additionalScopes so the IDE knows what type $scopeCandidate is.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-03-17 15:27:22 +01:00
Roeland Jago Douma 458ec33aa2 Merge pull request #19967 from roscomputing/enh/19958/usejsnoncedocs
add docs for useJsNonce
2020-03-17 15:09:50 +01:00
Roeland Jago Douma e193e14a08 Merge pull request #19989 from nextcloud/fix-single-ScopeContext-passed-to-setScopes
Fix single "ScopeContext" passed to "setScopes"
2020-03-17 15:08:25 +01:00
Roeland Jago Douma 11341e6c24 Merge pull request #19987 from nextcloud/bugfix/noid/disable-storage-stats-without-session_keepalive
Only do regular polling of storage statistics if session_keepalive is enabled
2020-03-17 15:06:47 +01:00
Roeland Jago Douma 54baf610f9 Merge pull request #19995 from nextcloud/bugfix/noid/unify_default_types_lookupServerEnabled
Default value of lookupServerEnabled should be the same everywhere
2020-03-17 15:06:10 +01:00
Georg Ehrke 789719da90 Default value of lookupServerEnabled should be the same everywhere
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-03-17 10:41:19 +01:00
Nextcloud bot 82d4bdd770 [tx-robot] updated from transifex 2020-03-17 02:18:42 +00:00
Daniel Kesselberg 73643fe70b Make sure app_install_overwrite is an array
otherwise in_array will complain.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-03-16 22:33:47 +01:00
blizzz b53a484d20 Merge pull request #19968 from nextcloud/enh/noid/hide-apps-store-if-disabled
Hide card for apps store if disabled
2020-03-16 22:11:40 +01:00
Daniel Calviño Sánchez 46e374860b Fix single "ScopeContext" passed to "setScopes"
"setScopes" expects an array, but a single "ScopeContext" was being
passed instead.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-03-16 16:48:25 +01:00
Julius Härtl d851d2e08b Only do regular polling of storage statistics if session_keepalive is enabled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-16 15:59:41 +01:00
Georg Ehrke bd1f98cba3 RefreshWebcalService: randomly generate calendar-object uri
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-03-16 15:36:13 +01:00
Roeland Jago Douma b944115a35 Update the target when it isempty after sharing
Hooks that listen to it (audit log) benefit from having the target
properly set.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-16 13:38:55 +01:00
Roeland Jago Douma 3443a00621 Actually check if the owner is not null
Else this can error out on storages that do not have an owner (e.g.
groupfolders).

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-16 13:12:10 +01:00
Daniel Kesselberg e44b58ed8b Hide card for apps store if disabled
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-16 11:37:38 +00:00
Joas Schilling 9935c71ec3 Check the user on remote wipe
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-16 09:29:28 +01:00
John Molakvoæ 48bdd322a2 Merge pull request #19960 from nextcloud/dependabot/npm_and_yarn/sinon-9.0.1
Bump sinon from 9.0.0 to 9.0.1
2020-03-16 09:05:27 +01:00
Roeland Jago Douma d7e096eab0 Merge pull request #19962 from nextcloud/dependabot/npm_and_yarn/vuex-3.1.3
Bump vuex from 3.1.2 to 3.1.3
2020-03-16 09:03:41 +01:00
Nextcloud bot f85747f74c [tx-robot] updated from transifex 2020-03-16 02:21:10 +00:00
Roeland Jago Douma c1152af523 Move deprecated aliases over to new registration
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-15 15:13:12 +01:00
Roeland Jago Douma 20f4a8c046 Add a deprecated alias registration to find deprecated usages
Fixes #19345

Basically just a stupid wrapper with extra logging. So that we can at
least inform people they are using the wrong methods.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-15 15:13:10 +01:00
Pavel Krasikov 4c01326913 add docs for useJsNonce
Signed-off-by: Pavel Krasikov <klonishe@gmail.com>
2020-03-15 17:02:11 +03:00
dependabot-preview[bot] 00405ea7fb Bump vuex from 3.1.2 to 3.1.3
Bumps [vuex](https://github.com/vuejs/vuex) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/vuejs/vuex/releases)
- [Commits](https://github.com/vuejs/vuex/compare/v3.1.2...v3.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-15 12:28:56 +00:00
Roeland Jago Douma 0ffa598136 Merge pull request #19954 from roscomputing/fix/19941/fix_safari_useragent
fix safari useragent for versions with 3 digits
2020-03-15 13:15:40 +01:00
Roeland Jago Douma f295695b7e Merge pull request #19961 from nextcloud/dependabot/npm_and_yarn/jsdom-16.2.1
Bump jsdom from 16.2.0 to 16.2.1
2020-03-15 13:07:44 +01:00
Daniel Kesselberg 98a2e3b628 Add text about subscribing issues and sync introduction to feature request
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-03-15 12:34:05 +01:00
Daniel Kesselberg 509af24bc9 Fix invalid instantiation of TemplateResponse if client not found
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-03-15 11:55:07 +01:00
Nextcloud bot 0d6c8a3476 [tx-robot] updated from transifex 2020-03-15 02:19:16 +00:00
dependabot-preview[bot] 489b04ce63 Bump jsdom from 16.2.0 to 16.2.1
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.2.0 to 16.2.1.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.2.0...16.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-15 02:17:21 +00:00
dependabot-preview[bot] 7aed0b9456 Bump sinon from 9.0.0 to 9.0.1
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v9.0.0...v9.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-15 02:16:39 +00:00
Pavel Krasikov f11dee9bc4 fix safari useragent for versions with 3 digits
Signed-off-by: Pavel Krasikov <klonishe@gmail.com>
2020-03-14 16:47:28 +03:00
Roeland Jago Douma d1a5490b2d Merge pull request #19947 from nextcloud/dependabot/npm_and_yarn/acorn-6.4.1
[Security] Bump acorn from 6.3.0 to 6.4.1
2020-03-14 14:01:29 +01:00
Roeland Jago Douma 21046f95a4 Merge pull request #19937 from nextcloud/share-mail-hide-download-int
properly set 'hide_download' as integer
2020-03-14 09:18:34 +01:00
Nextcloud bot fa571bb7ed [tx-robot] updated from transifex 2020-03-14 02:18:04 +00:00
dependabot-preview[bot] 36ef7eb3a8 [Security] Bump acorn from 6.3.0 to 6.4.1
Bumps [acorn](https://github.com/acornjs/acorn) from 6.3.0 to 6.4.1. **This update includes a security fix.**
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.3.0...6.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-13 22:20:14 +00:00
Robin Appelman 12e54047a1 Merge pull request #19931 from nextcloud/external-storage-password-placeholders-fix-tests
fix external storage controller tests
2020-03-13 18:44:43 +00:00
Robin Appelman 606f685457 properly set 'hide_download' as integer
the database field is a smallint, not a boolean.

fixes postgresql tests

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-13 17:38:56 +01:00
Joas Schilling 186c7f1b4b Handle unset owner in sharing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-13 17:17:43 +01:00
Roeland Jago Douma dc0ee357a4 Merge pull request #19907 from nextcloud/bugfix/noid/dont-allow-anchor-and-queries-in-remote-url
Don't allow anchors and queries in remote urls
2020-03-13 15:51:52 +01:00
Robin Appelman db49ae3cb6 fix external storage controller tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-13 15:33:47 +01:00
Robin Appelman 59082661ca remove the requirement that everything that looks like a placeholder is substituted
While maybe not common, `$` is a valid option in config fields

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-13 15:29:14 +01:00
Marco Ambrosini e976e076b6 Fix dark mode color-box-shadow variable
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-03-13 13:31:40 +01:00
Marco Ambrosini ce033072f4 Fix color-box-shadow variable
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-03-13 11:43:31 +01:00
Joas Schilling 8db32805be Fix willReturnOnConsecutiveCalls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-13 11:11:00 +01:00
Joas Schilling 17bc35e4f1 Merge pull request #19915 from nextcloud/external-storage-password-placeholders
Use placeholder values for password fields in external storage webui
2020-03-13 10:54:40 +01:00
Roeland Jago Douma a54c4b60a8 Merge pull request #19910 from nextcloud/bugfix/noid/invalid-from-mail
Do not use the instance name as user part of from mail addresses
2020-03-13 10:17:12 +01:00
Roeland Jago Douma 3c2e38a0c9 Merge pull request #19914 from nextcloud/fix/19484/sharebymail_hidedownload
Properly respect hide download on sharebymail
2020-03-13 10:16:45 +01:00
Roeland Jago Douma 84a148aac1 Properly respect hide download on sharebymail
fixes #19484

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-13 09:20:32 +01:00
Nextcloud bot 0d2abe9461 [tx-robot] updated from transifex 2020-03-13 02:18:18 +00:00
Roeland Jago Douma b5902b3e1b Merge pull request #19888 from nextcloud/fix/objectstore_rename_mimetype
Get correct mimetype on objectstores
2020-03-12 19:58:16 +01:00
Roeland Jago Douma 9fc2e2551e Merge pull request #19899 from nextcloud/force-compatible-eventdispatcher-version-in-integration-tests
Force compatible EventDispatcher version in integration tests
2020-03-12 19:54:49 +01:00
Robin Appelman 0d112d7901 Use placeholder values for password fields in external storage webui
This prevents the password from being sent to the webui.

While an admin will always be able to retrieve the passwords (as they
can do arbitrairy code execution by design) this prevents casual
password snooping

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-12 19:45:23 +01:00
Julius Härtl 76a706738b Do not use the instance name as user part of from mail addresses
This will cause issues since the theming name can contain characters
that are not allowed in the local part of the mail address (like spaces)

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-12 14:20:03 +01:00
Joas Schilling 3930ab8e8a Don't allow anchors and queries in remote urls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-12 13:44:48 +01:00
Roeland Jago Douma dbead0c0fa Merge pull request #19902 from nextcloud/enh/noid/typo-portalm
Change Portalm to Portal
2020-03-12 13:24:52 +01:00
Daniel Kesselberg df0131539a Change Portalm to Portal
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-03-12 11:41:19 +01:00
Roeland Jago Douma a5b0f41a9f Merge pull request #19892 from nextcloud/enh/installation-bundle
Move install scripts to a bundle
2020-03-12 10:58:15 +01:00
Daniel Calviño Sánchez ec63327472 Force compatible EventDispatcher version in integration tests
Nextcloud requires EventDispatcher from Symfony 4.4. Behat required
Symfony 4.x until Behat 3.5, but since Behat 3.6 it supports Symfony 5.x
too. However, as the EventDispatcher version was not restricted in the
"composer.json" file Composer installed the latest compatible version
with all the dependencies, which happened to be Symfony 5.x. To prevent
that now the EventDispatcher is explicitly limited to Symfony 4.4 only.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-03-12 10:45:23 +01:00
Joas Schilling 9d8e1ebdd7 Merge pull request #19587 from nextcloud/enh/add-guidelines-for-submitting-issues
Add guidelines for submitting issues
2020-03-12 09:28:01 +01:00
Joas Schilling 190eabf220 Add a link to the portal directly
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-12 09:24:24 +01:00
John Molakvoæ 9fda1ee39f Merge pull request #19777 from nextcloud/fix/viewer-public
Properly emit Viewer event on files and files_sharing
2020-03-12 08:47:14 +01:00
Nextcloud bot 99aa7adaef [tx-robot] updated from transifex 2020-03-12 02:19:02 +00:00
Roeland Jago Douma bc411e6909 Merge pull request #19822 from nextcloud/sftp-read-stream
Faster implementation of sftp read and write stream
2020-03-11 16:22:52 +01:00
Julius Härtl ba244b9b5c Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-11 14:23:21 +01:00
Julius Härtl 5a574737ad Only load required scripts on install page
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-11 14:20:30 +01:00
Julius Härtl 02f898fa07 Use jquery-ui to only embed button components
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-11 14:19:38 +01:00
Julius Härtl bba26cb2eb Move install scripts to bundle
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-11 14:06:25 +01:00
Roeland Jago Douma 9a35e789b4 Get correct mimetype on objectstores
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-11 11:14:12 +01:00
Joas Schilling 24d0fb9fcd Merge pull request #19861 from nextcloud/bugfix/noid/load-remote-shares-also-when-one-is-down
Don't break when one remote share is down
2020-03-11 09:36:57 +01:00
John Molakvoæ (skjnldsv) 3cdadeb9e9 Use dispatchTyped
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-03-11 09:28:27 +01:00
John Molakvoæ (skjnldsv) 92a6530c0f Properly emit Viewer event on files and files_sharing
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-03-11 09:28:27 +01:00
John Molakvoæ (skjnldsv) 6c968fe77d Fix import order and formatting
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-03-11 09:27:20 +01:00
Roeland Jago Douma 56c5a167c9 Merge pull request #19839 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-1.4.0
Bump @nextcloud/vue from 1.3.1 to 1.4.0
2020-03-11 07:43:47 +01:00
Nextcloud bot 4066cb0a21 [tx-robot] updated from transifex 2020-03-11 02:19:03 +00:00
Roeland Jago Douma d3d2db174a Merge pull request #19173 from nextcloud/bugfix/noid/fix-displayname-of-contacts-in-remote-activities
Use contacts name on federated activities
2020-03-10 20:30:52 +01:00
dependabot-preview[bot] d3d6d8de3a Bump handlebars from 4.5.3 to 4.7.3 in /build
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.3 to 4.7.3.
- [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.5.3...v4.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-10 19:14:40 +00:00
Roeland Jago Douma c8a360cd7a Merge pull request #19580 from nextcloud/debt/noid/outdated-check
Update check for outdated php version.
2020-03-10 20:10:54 +01:00
dependabot-preview[bot] c97ba2a1e6 Bump @nextcloud/vue from 1.3.1 to 1.4.0
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v1.3.1...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-10 18:55:16 +00:00
Roeland Jago Douma 0a6ba15bb2 Merge pull request #19867 from Jose123456/error-logging
Set error_logging correctly. Fixes #19847
2020-03-10 19:45:40 +01:00
Roeland Jago Douma 5e4ee4dc59 Merge pull request #19812 from nextcloud/enh/noid/subscription-config
Add config flag for subscription and hide server development notice
2020-03-10 19:39:03 +01:00
Joas Schilling 85153e8923 Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-10 19:36:57 +01:00
Joas Schilling f4918f208e Unify the code a bit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-10 19:36:57 +01:00
Joas Schilling bbef026aa0 Use contacts name on federated activities
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-10 19:36:56 +01:00
Joas Schilling c82c1da8f7 Merge pull request #19862 from nextcloud/techdebt/noid/fix-editor-config-for-tests
Fix editor config for integration test files
2020-03-10 16:39:42 +01:00
Robin Appelman 223ee42a53 faster implementation of SFTP write stream
using mostly the same techniques as the read stream

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-10 16:18:40 +01:00
Roeland Jago Douma 19f286969a Merge pull request #18555 from nextcloud/bugfix/18530/edit-own-user
Allow to edit admin/own user in the user management
2020-03-10 16:16:36 +01:00
Roeland Jago Douma 05c6086be6 Merge pull request #19698 from nextcloud/fix/fix_image_preview_deleted_shares
Fix default action for deleted shares
2020-03-10 15:52:48 +01:00
Julius Härtl b9d51863fb Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-10 14:51:53 +01:00
Julius Härtl 93e6889fb2 Fix group navigation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-10 14:49:31 +01:00
Julius Härtl 1103e8abec Fix row height and display name input
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-10 14:49:31 +01:00
Julius Härtl bde16441a9 Allow to edit admin/own user in the user management
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-10 14:49:30 +01:00
Julius Härtl dbd63222c8 Add system config flag to manually set that a subscription is available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-10 14:31:27 +01:00
Roeland Jago Douma 812f16880b Merge pull request #19871 from nextcloud/bugfix/14469/combine-move-activities
Combine move activities as well
2020-03-10 10:36:17 +01:00
Joas Schilling 38292753ac Combine move activities as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-10 09:32:52 +01:00
Nextcloud bot acbe08cd40 [tx-robot] updated from transifex 2020-03-10 02:18:13 +00:00
GretaD b201121e62 Fix default action for deleted shares
Signed-off-by: GretaD <gretadoci@gmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-09 20:16:38 +00:00
Roeland Jago Douma 0d613cd2f0 Merge pull request #19704 from Nils160988/master
Fix hostname in Apple configuration profile
2020-03-09 21:02:53 +01:00
Roeland Jago Douma e934786686 Merge pull request #19711 from nextcloud/dependabot/npm_and_yarn/mocha-7.1.0
Bump mocha from 7.0.1 to 7.1.0
2020-03-09 21:02:07 +01:00
Jose Quinteiro 6995e98df6 E_ALL already sets E_DEPRECATED
Signed-off-by: Jose Quinteiro <github@quinteiro.org>
2020-03-09 12:59:54 -07:00
Roeland Jago Douma 41d2e224be Merge pull request #19863 from nextcloud/bugfix/noid/no-tabs-in-translations
No tabs in translations
2020-03-09 20:58:59 +01:00
Jose Quinteiro 6cf679e04e Set error_logging correctly. Fixes #19847
Don't override the error_logging setting from php.ini unless we're
debugging.

Signed-off-by: Jose Quinteiro <github@quinteiro.org>
2020-03-09 12:05:21 -07:00
Roeland Jago Douma b6245be302 Merge pull request #19746 from nextcloud/locked-exception-forward-existing
pass the existing locks info when making locked exception with absolu…
2020-03-09 19:31:45 +01:00
Christoph Wurst 1f7cb027a4 Merge pull request #19820 from nextcloud/fix/mismatching-docblock-return-type
Fix mismatching docblock return types
2020-03-09 17:43:17 +01:00
Christoph Wurst 5b0dfd3fa4 Merge pull request #19795 from nextcloud/enhancement/address-book-plugins
Add address book plugins
2020-03-09 17:32:00 +01:00
Joas Schilling dfd6454e6f No tabs in translations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-09 17:16:14 +01:00
Joas Schilling 03992765e3 Fix editor config for integration test files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-09 17:12:44 +01:00
Joas Schilling 886293fdcc Don't break when one remote share is down
getFileInfo can also return false

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-09 17:00:31 +01:00
Roeland Jago Douma 5a8c7854d6 Merge pull request #19819 from nextcloud/fix/mismatching-docblock-param-type
Fix mismatching doc block parameter types
2020-03-09 16:09:23 +01:00
Christoph Wurst 0b6dbe6419 Merge pull request #19357 from nextcloud/techdebt/remove-deprecated-globals
Remove deprecated global variables
2020-03-09 15:36:19 +01:00
Christoph Wurst 827c0980d8 Prevent creation of reserved address book name
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-09 13:36:39 +01:00
Christoph Wurst bb1d8b3189 Remove deprecated global variables
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-09 13:31:50 +01:00
Christoph Wurst ec245d5fec Add address book plugins
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-09 13:12:18 +01:00
Roeland Jago Douma ac03f54079 Merge pull request #19799 from nextcloud/rakekniven-patch-1
l10n: Fixed typo
2020-03-09 12:14:14 +01:00
rakekniven 43f74894bc l10n: Fixed typo
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-09 08:44:12 +00:00
Nextcloud bot 4a019ab04c [tx-robot] updated from transifex 2020-03-09 02:18:09 +00:00
Roeland Jago Douma e54ca2bb53 Merge pull request #19840 from nextcloud/dependabot/npm_and_yarn/clipboard-2.0.6
Bump clipboard from 2.0.4 to 2.0.6
2020-03-08 16:55:36 +01:00
Roeland Jago Douma 86c5c80281 Merge pull request #19838 from nextcloud/dependabot/npm_and_yarn/babel/core-7.8.7
Bump @babel/core from 7.8.6 to 7.8.7
2020-03-08 16:53:44 +01:00
dependabot-preview[bot] 923b9127d4 Bump clipboard from 2.0.4 to 2.0.6
Bumps [clipboard](https://github.com/zenorocha/clipboard.js) from 2.0.4 to 2.0.6.
- [Release notes](https://github.com/zenorocha/clipboard.js/releases)
- [Commits](https://github.com/zenorocha/clipboard.js/compare/v2.0.4...v2.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-08 13:19:24 +00:00
Roeland Jago Douma fd372a3c36 Merge pull request #19841 from nextcloud/dependabot/npm_and_yarn/webpack-4.42.0
Bump webpack from 4.41.6 to 4.42.0
2020-03-08 12:11:58 +01:00
dependabot-preview[bot] 98f5f68320 Bump webpack from 4.41.6 to 4.42.0
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.6 to 4.42.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.6...v4.42.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-08 09:59:27 +00:00
dependabot-preview[bot] a0b67adacc Bump @babel/core from 7.8.6 to 7.8.7
Bumps [@babel/core](https://github.com/babel/babel) from 7.8.6 to 7.8.7.
- [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.8.6...v7.8.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-08 09:26:02 +00:00
Roeland Jago Douma 1bc65d5775 Merge pull request #19837 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.8.7
Bump @babel/preset-env from 7.8.6 to 7.8.7
2020-03-08 10:23:34 +01:00
Roeland Jago Douma b778d0157e Merge pull request #19836 from nextcloud/dependabot/npm_and_yarn/vue-infinite-loading-2.4.5
Bump vue-infinite-loading from 2.4.4 to 2.4.5
2020-03-08 10:22:26 +01:00
dependabot-preview[bot] e4a24a56d6 Bump vue-infinite-loading from 2.4.4 to 2.4.5
Bumps [vue-infinite-loading](https://github.com/PeachScript/vue-infinite-loading) from 2.4.4 to 2.4.5.
- [Release notes](https://github.com/PeachScript/vue-infinite-loading/releases)
- [Commits](https://github.com/PeachScript/vue-infinite-loading/compare/v2.4.4...v2.4.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-08 08:56:09 +00:00
Nextcloud bot 23b59cf8f7 [tx-robot] updated from transifex 2020-03-08 02:18:28 +00:00
dependabot-preview[bot] 6f12592341 Bump @babel/preset-env from 7.8.6 to 7.8.7
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.6 to 7.8.7.
- [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.8.6...v7.8.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-07 13:31:20 +00:00
Roeland Jago Douma 1d5058b484 Merge pull request #19815 from nextcloud/bugfix/noid/prevent-self-xss-via-invalid-mysql-username
Prevent self-xss via invalid mysql user name on install screen
2020-03-07 14:19:55 +01:00
Roeland Jago Douma c9949d119b Merge pull request #19606 from sndrr/ipv6-trusted-domains
Added IPv6 example
2020-03-07 14:10:22 +01:00
Nextcloud bot 35ccf07ad4 [tx-robot] updated from transifex 2020-03-07 02:17:55 +00:00
Sander Ruitenbeek 57415932fd Added IPv6 example
Signed-off-by: Sander Ruitenbeek <sander@getgoing.nl>

Fix typos

Signed-off-by: Sander Ruitenbeek <sander@getgoing.nl>
2020-03-07 00:04:12 +01:00
Christoph Wurst 3b11732331 Merge pull request #19770 from nextcloud/dependabot/composer/aws/aws-sdk-php-3.133.27
Bump aws/aws-sdk-php from 3.133.23 to 3.133.27
2020-03-06 17:25:06 +01:00
Robin Appelman fe4e80093e Faster implementation of sftp read stream
- Keeps a single file handle open instead of creating a new one for
every stream_read
- Read from sftp in large chunks instead of the 8k internal php size
- Request a read for the next chunk while we're still processing the
current one

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-06 16:57:18 +01:00
Joas Schilling e57f619e1e Merge pull request #19763 from nextcloud/bugfix/noid/received-share-sidebar-broken
Fix "Error loading the shares list TypeError: "this is undefined"" fo…
2020-03-06 16:43:20 +01:00
Christoph Wurst df9e2b828a Fix mismatching docblock return types
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-06 16:38:25 +01:00
Christoph Wurst 5fc4c91a76 Fix mismatching doc block parameter types
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-06 16:28:42 +01:00
Joas Schilling 585b09af3a Prevent self-xss via invalid mysql user name on install screen
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-06 14:39:13 +01:00
Christoph Wurst edb891de57 Bump aws/aws-sdk-php from 3.133.23 to 3.133.27
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-06 13:37:00 +01:00
Julius Härtl f65e36a70c Hide development notice when subscription is valid
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-06 13:08:23 +01:00
John Molakvoæ ed81337461 Merge pull request #19440 from nextcloud/fix/filename_popovermenu_misalignment
Fix filename and popover menu misalignment
2020-03-06 08:03:13 +01:00
Nextcloud bot a036ca6018 [tx-robot] updated from transifex 2020-03-06 02:18:23 +00:00
Roeland Jago Douma 124b1fdffc Merge pull request #19721 from nextcloud/bug/19695/workflow-regex-office
Fix regex for office documents
2020-03-05 20:12:20 +01:00
Roeland Jago Douma 971e619c89 Merge pull request #19671 from nextcloud/fix-loading-icons-on-replaced-elements
Fix loading icons on replaced elements
2020-03-05 20:11:12 +01:00
Roeland Jago Douma c8b50c2199 Merge pull request #19769 from nextcloud/bugfix/noid/share-owner-avatar
Fix avatar in file list for users with an @ in the uid
2020-03-05 20:01:17 +01:00
Roeland Jago Douma 41afaa999e Merge pull request #19787 from nextcloud/bugfix/noid/fix-js-regex
Fix JS regex
2020-03-05 12:42:42 +01:00
Roeland Jago Douma 672b7ad1bc Merge pull request #19743 from nextcloud/cache-updater-storage-mtime-false
dont try to update storage mtime if we can't get the mtime
2020-03-05 11:21:58 +01:00
Joas Schilling c42864c2f4 Fix JS regex
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-05 10:47:47 +01:00
zertrin af5380f5a8 Fix security header setting in .htaccess by adding 'onsuccess unset'
The headers might already be set by the system administrator at the http server
level (apache or nginx) for some or all virtualhosts.

Using "always set" in the .htaccess of Nextcloud leads to the situation where
the headers might be set twice (once in the default 'onsuccess' table and once
in the 'always' table)! Which leads to warnings in the admin area.

Adding "onsuccess unset" solves the problem, and forces the header in
the 'onsucess' table to be unset, and the header in the 'always' table to be set.

NOTE: with this change, Nextcloud overrides whatever the system administrator
might have already set

See github issues #16893 #16476 #16938 #18017 and discussion in PR #19002

Signed-off-by: zertrin <zertrin@gmail.com>
2020-03-05 11:11:09 +08:00
Nextcloud bot 48b374f683 [tx-robot] updated from transifex 2020-03-05 02:18:19 +00:00
Robin Appelman c32750ddd9 Use global used space in quota wrappen when external storage is included
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-04 18:02:50 +01:00
Robin Appelman 93411a2ea0 Dont always use the current users quota when calculating storage info
instead pass the quota as parameter.

Without this fix, when 'quota_include_external_storage' is enabled, the
webui will show the quota configured for the admin for every user
instead of the users quota

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-04 17:20:27 +01:00
Nextcloud bot 0f9fe74020 [tx-robot] updated from transifex 2020-03-04 02:17:52 +00:00
Roeland Jago Douma 0be52ab134 Merge pull request #19739 from nextcloud/bugfix/noid/groupid-spaces
Do not use replace on the group id
2020-03-03 20:24:50 +01:00
Joas Schilling 275df5d233 Fix "Error loading the shares list TypeError: "this is undefined"" for conversation shares
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-03 20:22:39 +01:00
Roeland Jago Douma 65b75c8bba Merge pull request #19764 from nextcloud/fix/transfer-ownerhip-owner-check
Do not allow transfer ownership when the user isn't the owner
2020-03-03 20:20:43 +01:00
Christoph Wurst b57ffe8d75 Merge pull request #19766 from nextcloud/dependabot/composer/phpseclib/phpseclib-2.0.25
Bump phpseclib/phpseclib from 2.0.23 to 2.0.25
2020-03-03 19:32:01 +01:00
Julius Härtl 357a1678b3 Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-03 18:19:46 +01:00
Julius Härtl d612aeec2d Fix regex to not take email uids as federated ids
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-03 18:19:46 +01:00
Christoph Wurst 6f9110932b Bump phpseclib/phpseclib from 2.0.23 to 2.0.25
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-03 16:18:56 +01:00
Roeland Jago Douma 6ea1aef031 Merge pull request #19723 from nextcloud/bug/18603/avatar-response
Always use status 200 for avatar response
2020-03-03 16:15:14 +01:00
Christoph Wurst 57707aaec6 Merge pull request #19741 from nextcloud/dependabot/composer/pear/archive_tar-1.4.9
Bump pear/archive_tar from 1.4.8 to 1.4.9
2020-03-03 14:58:20 +01:00
Christoph Wurst 68b764bb0f Do not allow transfer ownership when the user isn't the owner
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-03 14:48:45 +01:00
Georg Ehrke 79dcd34a07 Create Mount IDs as BigInt by default
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-03-03 14:17:22 +01:00
Georg Ehrke 7961a0b446 Add indices to original DAV migration
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-03-03 13:10:41 +01:00
Roeland Jago Douma aaff6a0242 Merge pull request #19755 from nextcloud/bug/19754/translate-tags
Fetch translate for Tags from files app
2020-03-03 12:43:01 +01:00
Daniel Kesselberg c0009bdf6a Fetch translate for Tags from files app
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-03 10:29:21 +00:00
Christoph Wurst 4efee15541 Bump pear/archive_tar from 1.4.8 to 1.4.9
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-03 08:36:02 +01:00
Nextcloud bot 26ea9681ab [tx-robot] updated from transifex 2020-03-03 02:18:20 +00:00
Robin Appelman fab22ac14c pass the existing locks info when making locked exception with absolute paths
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-02 19:29:44 +01:00
blizzz b54069189c Merge pull request #19742 from nextcloud/bug/19740/add-msg-for-exception
Add message for DoesNotExistException
2020-03-02 16:19:30 +01:00
Robin Appelman f972990469 dont try to update storage mtime if we can't get the mtime
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-02 15:57:25 +01:00
Roeland Jago Douma 64a29d01a4 Merge pull request #19731 from nextcloud/fix/15455/dont_hanlde_deleted_shares
Don't try to format deleted shares
2020-03-02 14:10:03 +01:00
Daniel Kesselberg 864a9085b5 Fix regex for office documents
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-02 12:34:26 +00:00
Daniel Kesselberg 5ce9e73bad Add message for DoesNotExistException
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-03-02 13:24:06 +01:00
Christoph Wurst 165fd30dc0 Merge pull request #19697 from nextcloud/dependabot/composer/aws/aws-sdk-php-3.133.23
Bump aws/aws-sdk-php from 3.93.9 to 3.133.23
2020-03-02 13:05:21 +01:00
Julius Härtl 6020a2efd9 Do not use replace on the group id
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-02 12:58:53 +01:00
Christoph Wurst 59837e2e9c Bump aws/aws-sdk-php from 3.93.9 to 3.133.23
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-02 09:19:08 +01:00
Roeland Jago Douma 7613681627 Don't try to format deleted shares
Fixes #15455

The issue is that we have a fallback for shares to use the target. So
when the target exists again we happily format it (not that the shares
are still invalid).

This just tries to get the node. If we can't then boom.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-02 09:18:04 +01:00
dependabot-preview[bot] 1c7ff098ca Bump mocha from 7.0.1 to 7.1.0
Bumps [mocha](https://github.com/mochajs/mocha) from 7.0.1 to 7.1.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v7.0.1...v7.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 07:11:07 +00:00
Roeland Jago Douma fb9a6b8134 Merge pull request #19713 from nextcloud/dependabot/npm_and_yarn/sinon-9.0.0
Bump sinon from 8.1.1 to 9.0.0
2020-03-02 08:08:33 +01:00
Roeland Jago Douma 02999091e0 Merge pull request #19699 from nextcloud/bugfix/19349/allow-single-file-downloads
Allow single file downloads so the video player works again
2020-03-02 08:05:04 +01:00
Roeland Jago Douma 1ef982a967 Merge pull request #19722 from nextcloud/bug/18727/dont-resize-svg
Don't try to resize a svg uploaded as background image
2020-03-02 07:40:01 +01:00
Nextcloud bot 351cd95777 [tx-robot] updated from transifex 2020-03-02 02:17:53 +00:00
Daniel Kesselberg e35b76a12b Don't try to resize a svg uploaded as background image.
image* are gd functions without support for svg hence we are not able to resize svg.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-03-01 21:19:07 +01:00
Roeland Jago Douma 48e57ebdce Merge pull request #19714 from nextcloud/dependabot/npm_and_yarn/babel/core-7.8.6
Bump @babel/core from 7.8.4 to 7.8.6
2020-03-01 16:11:56 +01:00
dependabot-preview[bot] 2524a6af8c Bump @babel/core from 7.8.4 to 7.8.6
Bumps [@babel/core](https://github.com/babel/babel) from 7.8.4 to 7.8.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.8.4...v7.8.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-01 11:01:18 +00:00
Roeland Jago Douma e0596e4d79 Merge pull request #19712 from nextcloud/dependabot/npm_and_yarn/vue-router-3.1.6
Bump vue-router from 3.1.5 to 3.1.6
2020-03-01 10:25:19 +01:00
dependabot-preview[bot] 1600daa9e4 Bump vue-router from 3.1.5 to 3.1.6
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.1.5 to 3.1.6.
- [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.5...v3.1.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-01 07:28:39 +00:00
Roeland Jago Douma daa7534527 Merge pull request #19710 from nextcloud/dependabot/npm_and_yarn/babel-eslint-10.1.0
Bump babel-eslint from 10.0.3 to 10.1.0
2020-03-01 08:11:41 +01:00
Roeland Jago Douma 1b7cb9a6c7 Merge pull request #19709 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.8.6
Bump @babel/preset-env from 7.8.3 to 7.8.6
2020-03-01 08:11:15 +01:00
Nextcloud bot 91acb72d6a [tx-robot] updated from transifex 2020-03-01 02:18:37 +00:00
Daniel Kesselberg 68148f4073 Always use status 200 for avatar response
As discussed in #18603 caching a 201 response is hard. It's now possible to distinguish between generated and uploaded avatars by reading the X-NC-IsCustomAvatar (0 = generated, 1 = uploaded) header.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-03-01 00:42:24 +01:00
Nils Wittenbrink fc06b24838 Fix test
Signed-off-by: Nils Wittenbrink <nilswittenbrink@web.de>
2020-02-29 19:34:02 +01:00
Mohammed Abdellatif 98d6415264 Add support for GuzzleHTTP 'no' proxy
The custom config allows to setup a proxy URI that is passed to
GuzzleHTTP client as request options. Guzzle has the option to receive
an array of proxies for each URI scheme as well as 'no' key value pair
to provide a list of host names that should not be proxied to.

Guzzle would automatically populate these options with HTTPS_PROXY
and NO_PROXY environment variables. However, when providing a 'proxy'
request option, default values will be overriden and it is required to
explicitly provide the 'no' value if needed.

More info:
http://docs.guzzlephp.org/en/stable/request-options.html#proxy

This commit will add support for a new config 'proxyexclude', which
takes a list of host names to be excluded.

It will also provide 'proxy' request option as an array instead of a
string to Guzzle, and populate 'http' and 'https' URI schemes with
proxy URI, and 'no' with 'proxyexclude' list.

Also, if no 'proxy' is configured, it will leave out 'proxy' request
option, so it won't override Guzzle default values.

Sample config file includes a hint on how to explicitly sync
'proxyexclude' with NO_PROXY, and a note about default values.

Signed-off-by: Mohammed Abdellatif <m.latief@gmail.com>
2020-02-29 19:19:23 +02:00
dependabot-preview[bot] 30d6ba7201 Bump @babel/preset-env from 7.8.3 to 7.8.6
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.3 to 7.8.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.8.3...v7.8.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-29 10:38:28 +00:00
Roeland Jago Douma e921e27a39 Merge pull request #19707 from nextcloud/fix/noid/non-centered-nojavascript
Fix non-centered no javascript message
2020-02-29 11:28:18 +01:00
dependabot-preview[bot] 48158d61ed Bump sinon from 8.1.1 to 9.0.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 8.1.1 to 9.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v8.1.1...v9.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-29 10:16:47 +00:00
dependabot-preview[bot] c2167ab6f9 Bump babel-eslint from 10.0.3 to 10.1.0
Bumps [babel-eslint](https://github.com/babel/babel-eslint) from 10.0.3 to 10.1.0.
- [Release notes](https://github.com/babel/babel-eslint/releases)
- [Commits](https://github.com/babel/babel-eslint/compare/v10.0.3...v10.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-29 10:14:08 +00:00
Gary Kim ff6db60b8c Fix non-centered no javascript message
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-02-29 10:43:42 +08:00
Nextcloud bot 1e16fa7a8f [tx-robot] updated from transifex 2020-02-29 02:18:30 +00:00
Nils Wittenbrink 4725fb9c1a Fix hostname given in Apple config file
Signed-off-by: Nils Wittenbrink <nilswittenbrink@web.de>
2020-02-28 20:17:04 +01:00
Christoph Wurst 0cb00912ec Merge pull request #19664 from nextcloud/feature/revive-send-welcome-email-toggle
Revive the "send email to new users" toggle for the user form
2020-02-28 17:11:12 +01:00
Joas Schilling a792a31448 Allow single file downloads so the video player works again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-28 16:25:09 +01:00
Roeland Jago Douma de34786303 Merge pull request #19493 from nextcloud/simplefile-new-lazy
Create SimpleFile only when writing the content
2020-02-28 16:07:02 +01:00
Christoph Wurst d47daefe38 Revive the "send email to new users" toggle for the user form
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-28 14:01:03 +01:00
Joas Schilling 0f08acfe31 Merge pull request #19321 from nextcloud/enh/allow-to-overwrite-share-target-mountpoints
Allow to overwrite share target mountpoints
2020-02-28 13:41:13 +01:00
Christoph Wurst 36d6fca856 Merge pull request #19673 from nextcloud/dependabot/composer/php-opencloud/openstack-3.0.7
Bump php-opencloud/openstack from 3.0.6 to 3.0.7
2020-02-28 13:40:22 +01:00
Roeland Jago Douma 245125d81b Bump autoloader
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-02-28 12:55:35 +01:00
Robin Appelman 63608ef461 allow writing content directly when creating new SimpleFile
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-02-28 12:55:22 +01:00
Robin Appelman 5ca1929e8c Create SimpleFile only when writing the content
instead of first creating an empty file and then writing the content.

This solves the overhead of creating an empty file with the common pattern:

```php
$file = $simpleFilder->newFile('foo.txt');
$file->putContent('bar.txt');
```

roughly halving the number of storage and database operations that need to be done when creating a `SimpleFile`.

This is not automatically done with `File` because that has a more complex api which I'm more hesitant to touch.
Instead the `Folder::newFile` api has been extended to accept the content for the new file.

In my local testing, the overhead of first creating an empty file took about 20% of the time for preview generation

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-02-28 12:55:22 +01:00
Robin Appelman fed86e8382 better tests for SimpleFolder
test behavior, not implementation

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-02-28 12:55:20 +01:00
Joas Schilling 7b7d69d5da Merge pull request #19694 from nextcloud/bugfix/noid/cache-404-avatar-responses-too
Also cache avatars when it's not allowed
2020-02-28 12:27:58 +01:00
Joas Schilling a92ab77747 Also cache avatars when it's not allowed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-28 10:44:15 +01:00
Roeland Jago Douma 42157337cf Merge pull request #19613 from nextcloud/enh/19537/undefined-index-password
Check that username and password are present.
2020-02-28 10:01:44 +01:00
Roeland Jago Douma dd5a4c9603 Merge pull request #19666 from nextcloud/bug/19416/referrer-policy-fallback
Don't show referrer policy warning if fallback policy set.
2020-02-28 09:46:09 +01:00
Roeland Jago Douma e231dd8b34 Merge pull request #19655 from nextcloud/bugfix/noid/upload-cleanup-user-not-found
Catch NotFoundException when getting the user folder
2020-02-28 08:51:51 +01:00
Roeland Jago Douma c158eed9dc Merge pull request #19676 from nextcloud/bugfix/noid/hover-color-of-search-results
Theme search results
2020-02-28 08:49:16 +01:00
Christoph Wurst 437bd209ab Merge pull request #19683 from RDIL/patch-1
Readme: fix typo
2020-02-28 08:06:04 +01:00
Nextcloud bot dccecf822d [tx-robot] updated from transifex 2020-02-28 02:18:36 +00:00
Reece Dunham 969e75fa84 Readme: fix typo 2020-02-27 14:56:54 -05:00
Joas Schilling 1f50e5ff24 Theme search results
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-27 13:46:26 +01:00
Christoph Wurst fc74e40f98 Bump php-opencloud/openstack from 3.0.6 to 3.0.7
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-27 13:27:23 +01:00
Christoph Wurst d7523c7f4e Merge pull request #19665 from nextcloud/dependabot/composer/league/flysystem-1.0.64
Bump league/flysystem from 1.0.37 to 1.0.64
2020-02-27 13:14:37 +01:00
Christoph Wurst f83589f75d Merge pull request #19670 from nextcloud/techdebt/noid/allow-to-remove-listeners
Allow to remove listeners
2020-02-27 13:08:42 +01:00
Joas Schilling 3ffed42925 Allow to remove listeners
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-27 11:04:23 +01:00
Daniel Calviño Sánchez 243feca786 Adjust list of replaced elements to the spec
"button, textarea, select, div[contenteditable='true']" were removed and
"audio, canvas, embed, iframe" were added.

Note that this is a coarse-grained list; according to the spec some of
the elements, like canvas or input, might be treated as a replaced
element in some cases and as ordinary elements in others:
https://html.spec.whatwg.org/multipage/rendering.html#replaced-elements

For now all the elements that might be replaced elements use the loading
image by default, so apps will need to override that when the elements
are treated as ordinary elements. Of course that can be flipped in the
future to instead make an element to use the "::after" approach by
default if it is found that the element requires the override often.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-02-27 10:35:54 +01:00
Daniel Calviño Sánchez 5f1713f9db Set loading image on replaced elements instead of on their descendants
Replaced elements do not have "::after" nor "::before" pseudo-elements,
so the regular loading icon needs to be shown using a background image
instead of the default "::after" pseudo-element approach. However, the
CSS rules were not applied on the replaced elements themselves, but on
their descendants. As the descendants might have support for
pseudo-elements the rules were fixed to be applied on the replaced
elements, and only on the replaced elements.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-02-27 10:25:58 +01:00
Roeland Jago Douma 72cc8270cd Merge pull request #19659 from nextcloud/techdebt/17486/allow-non-integer-ids-in-entity-mapper
Allow non integer ids in Entity Mapper
2020-02-27 09:12:35 +01:00
Christoph Wurst c5fce7bc3a Bump league/flysystem from 1.0.37 to 1.0.64
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-27 09:08:24 +01:00
Christoph Wurst d91c0d8bd6 Merge pull request #19632 from nextcloud/dependabot/composer/pear/pear-core-minimal-1.10.10
Bump pear/pear-core-minimal from 1.10.3 to 1.10.10
2020-02-27 09:07:48 +01:00
Nextcloud bot 0ae9ce46f1 [tx-robot] updated from transifex 2020-02-27 02:18:38 +00:00
Daniel Kesselberg 6eb466776b Don't show referrer policy warning if fallback policy set.
Test-Set:

no-referrer-when-downgrade
no-referrer
strict-origin-when-cross-origin
same-origin
no-referrer, strict-origin-when-cross-origin
strict-origin-
unsafe-raw, same-origin
strict-origin-when-downgrade

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-02-26 23:51:02 +01:00
Christoph Wurst 33aaab4741 Bump pear/pear-core-minimal from 1.10.3 to 1.10.10
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-26 18:21:24 +01:00
Christoph Wurst deb92dc36b Merge pull request #19324 from nextcloud/3rdparty/composer/microsoft/azure-storage-blob-1.5.0
[3rdparty] Bump microsoft/azure-storage-blob from 1.2.0 to 1.5.0
2020-02-26 18:20:38 +01:00
Joas Schilling 9c9f8fa5f7 Allow non integer ids in Entity Mapper
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-26 14:44:45 +01:00
John Molakvoæ e85d3ae3f8 Merge pull request #19589 from nextcloud/bug/19162/reindex-quota-preset
Make sure quota_preset is using numerical indexes
2020-02-26 14:29:52 +01:00
Julius Härtl 4b593cbd25 Catch NotFoundException when getting the user folder
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-26 11:20:20 +01:00
John Molakvoæ (skjnldsv) db34380aad [3rdparty] Bump microsoft/azure-storage-blob from 1.2.0 to 1.5.0
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-26 08:43:20 +01:00
Nextcloud bot 0e7163c7c1 [tx-robot] updated from transifex 2020-02-26 02:18:20 +00:00
blizzz a5a58649b3 Merge pull request #19433 from nextcloud/bugfix/noid/fix-installing-talk
Fix installing Talk due to hardcoded route
2020-02-26 00:10:54 +01:00
Fabian Helm 5b1bb3703a Change OAuth2 redirect link to relative link
fix issue with third-party apps like rocket.chat
where browser in external window is opened
and thus oauth2 login does not work

Signed-off-by: Fabian Helm <firlevapz@gmail.com>
2020-02-25 21:51:58 +01:00
Joas Schilling 2ebf88a98c Merge pull request #19539 from nextcloud/bugfix/noid/allow-to-create-directories-when-they-are-selectable
Allow to create directories when they are selectable
2020-02-25 19:27:13 +01:00
Joas Schilling e6206731c7 Merge pull request #19252 from nextcloud/bug/fix-notification-object-id
Hash event UID to make sure it's not too long for PushProvider notifications
2020-02-25 17:04:25 +01:00
Roeland Jago Douma e00c1dcd11 Merge pull request #19634 from nextcloud/bugfix/noid/long-cyrillic-note
Correctly trim long cyrillic note
2020-02-25 14:49:14 +01:00
Joas Schilling e05362959f Copy isFileNameValid function, so the filepicker works without the files app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-25 12:01:14 +01:00
Joas Schilling 4cc017d52e Fix "TypeError: u.$form is undefined"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-25 11:57:45 +01:00
Joas Schilling 22e748ed38 Allow to create directories when they are selectable
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-25 11:55:35 +01:00
Roeland Jago Douma 0cf76aa2e8 Merge pull request #19604 from nextcloud/dependabot/npm_and_yarn/p-queue-6.3.0
Bump p-queue from 6.2.1 to 6.3.0
2020-02-25 11:30:38 +01:00
Joas Schilling d224ee667e Correctly trim long cyrillic note
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-25 11:17:02 +01:00
Joas Schilling 2e4ba613ef Merge pull request #19619 from nextcloud/bugfix/19618/theme-dragndrop-hover-color
Fix hover state color of drag-n-drop with theming and dark mode
2020-02-25 08:42:51 +01:00
Nextcloud bot 3af397b156 [tx-robot] updated from transifex 2020-02-25 02:19:24 +00:00
Roeland Jago Douma 8108e6f577 Merge pull request #19621 from nextcloud/bugfix/noid/transfer-owner-delete-notification
Make sure that the transfer details are present in the database during the cron run
2020-02-24 20:38:55 +01:00
Daniel Kesselberg f228d73b38 Update check for outdated php version.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-02-24 20:14:13 +01:00
Roeland Jago Douma aaf1cb70a2 Merge pull request #19549 from nextcloud/fix/19418/uuid-attr-log-flood
remove noise from detectUuid and cache results
2020-02-24 20:03:53 +01:00
Daniel Kesselberg feb642d532 Let people know that the logs not optional
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-02-24 16:55:12 +01:00
Daniel Kesselberg 3e9bd97ce4 Add short explanation how to use the organization search to find issues with all nextcloud repos.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-02-24 16:55:12 +01:00
Daniel Kesselberg aaa1506a47 Add guidelines for submitting issues to template
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-02-24 16:55:11 +01:00
Julius Härtl 1e8048abee Make sure that the transfer entry is present in the database
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-24 15:01:39 +01:00
Christoph Wurst b6a9cf21a3 Merge pull request #19313 from nextcloud/rakekniven-patch-1
l10n: Added plural form to string
2020-02-24 14:41:38 +01:00
Joas Schilling a4fbdb95b1 Fix hover state color of drag-n-drop with theming and dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-24 14:22:03 +01:00
rakekniven 18c67aaeae l10n: Added plural form to string
Fix for #19304

Devs: Please verify. Changed are untested due to missing build environment.

Reported at Transifex.

Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-02-24 19:35:59 +08:00
John Molakvoæ 982df168c7 Merge pull request #19578 from nextcloud/fix/12685/overwrite-content-type
Set content type for propfind request
2020-02-24 11:25:10 +01:00
Christoph Wurst 4c69188af0 Merge pull request #19590 from nextcloud/enh/noid/compile-handlebars-action
Move Compile Handlebars CI to GitHub Actions
2020-02-24 07:56:28 +01:00
Nextcloud bot 921253033a [tx-robot] updated from transifex 2020-02-24 02:19:17 +00:00
dependabot-preview[bot] 42d67a6fb1 Bump p-queue from 6.2.1 to 6.3.0
Bumps [p-queue](https://github.com/sindresorhus/p-queue) from 6.2.1 to 6.3.0.
- [Release notes](https://github.com/sindresorhus/p-queue/releases)
- [Commits](https://github.com/sindresorhus/p-queue/compare/v6.2.1...v6.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-23 20:19:37 +00:00
Roeland Jago Douma e5e8a3d08f Merge pull request #19605 from nextcloud/dependabot/npm_and_yarn/jsdom-16.2.0
Bump jsdom from 16.1.0 to 16.2.0
2020-02-23 21:04:34 +01:00
Roeland Jago Douma d41ec330bf Merge pull request #19498 from nextcloud/dependabot/npm_and_yarn/vue-loader-15.9.0
Bump vue-loader from 15.8.3 to 15.9.0
2020-02-23 20:51:32 +01:00
Daniel Kesselberg 56efd687ab Check that username and password are present.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-02-23 18:53:17 +01:00
dependabot-preview[bot] f9177222c0 Bump vue-loader from 15.8.3 to 15.9.0
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.8.3 to 15.9.0.
- [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.8.3...v15.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-23 16:12:42 +00:00
Roeland Jago Douma 713d3d49ad Merge pull request #19196 from nextcloud/feature/17126/allow_apps_to_register_their_own_calendars
Allow apps to provide Calendars in user's calendarHome
2020-02-23 17:00:03 +01:00
Roeland Jago Douma f885cef537 Merge pull request #19478 from Tim-Obert/bug/19475/fix-routes-generation-authpublicsharecontroller
Change the route generation of AuthPublicShareController.php
2020-02-23 16:43:31 +01:00
Roeland Jago Douma baf386b5d8 Merge pull request #19602 from nextcloud/dependabot/npm_and_yarn/sinon-chai-3.5.0
Bump sinon-chai from 3.4.0 to 3.5.0
2020-02-23 16:35:31 +01:00
dependabot-preview[bot] 5bd8987fab Bump jsdom from 16.1.0 to 16.2.0
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.1.0 to 16.2.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.1.0...16.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-23 15:30:52 +00:00
Roeland Jago Douma 96eca64e48 Merge pull request #19603 from nextcloud/dependabot/npm_and_yarn/file-loader-5.1.0
Bump file-loader from 5.0.2 to 5.1.0
2020-02-23 16:28:29 +01:00
Roeland Jago Douma dc2eb56bab Merge pull request #19586 from nextcloud/bug/19547/missing-translation-tab
Replace tab character with space
2020-02-23 16:23:38 +01:00
Roeland Jago Douma e88492e7b8 Merge pull request #19542 from nextcloud/fix/link-share-show-password
Show the link password when it's set
2020-02-23 16:21:27 +01:00
Gary Kim 709e7447ed Translate 'Busy' in CalDAV
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-02-23 22:38:24 +08:00
Christoph Wurst 699cbeb2fc Show the link password when it's set
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-23 12:38:28 +00:00
Roeland Jago Douma d06014353d Merge pull request #19500 from nextcloud/dependabot/npm_and_yarn/webpack-cli-3.3.11
Bump webpack-cli from 3.3.10 to 3.3.11
2020-02-23 13:35:07 +01:00
Daniel Kesselberg 49c408796e Replace tab character with space
Otherwise the translation is missing. Also I don't see the reason for the tab character.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-23 12:02:03 +01:00
dependabot-preview[bot] f904d83f9f Bump webpack-cli from 3.3.10 to 3.3.11
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.10 to 3.3.11.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/next/CHANGELOG_v3.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.3.10...v3.3.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-23 10:49:39 +00:00
Roeland Jago Douma 14a280671c Merge pull request #19601 from nextcloud/dependabot/npm_and_yarn/nextcloud/l10n-1.1.0
Bump @nextcloud/l10n from 1.0.1 to 1.1.0
2020-02-23 11:36:23 +01:00
Roeland Jago Douma 4666f8e9cb Merge pull request #19593 from nextcloud/dependabot/npm_and_yarn/css-vars-ponyfill-2.2.1
Bump css-vars-ponyfill from 2.1.2 to 2.2.1
2020-02-23 10:43:59 +01:00
Roeland Jago Douma 388e7c8d84 Merge pull request #19600 from nextcloud/dependabot/npm_and_yarn/moment-timezone-0.5.28
Bump moment-timezone from 0.5.27 to 0.5.28
2020-02-23 10:42:14 +01:00
dependabot-preview[bot] f91e03358d Bump moment-timezone from 0.5.27 to 0.5.28
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.27 to 0.5.28.
- [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.27...0.5.28)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-23 08:06:00 +00:00
Gary Kim 907a27897a Move Compile Handlebars CI to GitHub Actions
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-02-23 12:13:48 +08:00
Nextcloud bot 9d122c39ab [tx-robot] updated from transifex 2020-02-23 02:19:29 +00:00
dependabot-preview[bot] 3bd8849bcf Bump file-loader from 5.0.2 to 5.1.0
Bumps [file-loader](https://github.com/webpack-contrib/file-loader) from 5.0.2 to 5.1.0.
- [Release notes](https://github.com/webpack-contrib/file-loader/releases)
- [Changelog](https://github.com/webpack-contrib/file-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/file-loader/compare/v5.0.2...v5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-23 02:15:51 +00:00
dependabot-preview[bot] 1406eda8f3 Bump sinon-chai from 3.4.0 to 3.5.0
Bumps [sinon-chai](https://github.com/domenic/sinon-chai) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/domenic/sinon-chai/releases)
- [Changelog](https://github.com/domenic/sinon-chai/blob/master/CHANGELOG.md)
- [Commits](https://github.com/domenic/sinon-chai/compare/3.4.0...3.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-23 02:15:10 +00:00
dependabot-preview[bot] d896875ef9 Bump @nextcloud/l10n from 1.0.1 to 1.1.0
Bumps [@nextcloud/l10n](https://github.com/nextcloud/nextcloud-l10n) from 1.0.1 to 1.1.0.
- [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.0.1...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-23 02:14:14 +00:00
dependabot-preview[bot] d6a1d7720d Bump css-vars-ponyfill from 2.1.2 to 2.2.1
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.1.2 to 2.2.1.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-22 20:45:40 +00:00
Roeland Jago Douma 881216170c Merge pull request #19566 from nextcloud/bugfix/noid/fix-logging
FIx logging in accessibility controller
2020-02-22 21:44:30 +01:00
Roeland Jago Douma ab7f6dd3f5 Merge pull request #19528 from nextcloud/bugfix/noid/remove-user-root-from-error-message
Strip of users home path from share api message
2020-02-22 21:25:24 +01:00
Roeland Jago Douma 0e7fbe64d7 Merge pull request #19576 from nextcloud/fix/update-bundles
Update webpack bundles
2020-02-22 21:23:35 +01:00
Christoph Wurst 989076dc3a Update webpack bundles
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-22 19:41:12 +00:00
Daniel Kesselberg 8e8e912015 Make sure quota_preset is using numerical indexes
If one set quota_present to "default, none, 1 GB, 5 GB, 10 GB" the old implementation will remove default and none but keep the array indexes. Later json_encode will recognize a array with 2 as first index as object and hence quotaPreset.reduce will fail.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-02-22 20:06:16 +01:00
Nextcloud bot d3f2bda90c [tx-robot] updated from transifex 2020-02-22 02:18:42 +00:00
Daniel Kesselberg bfc956fc88 Set content type for propfind request
Without the request is sent as application/x-www-form-urlencoded; charset=UTF-8 and might be blocked by some application firewalls because content and content type do not match.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-02-21 22:13:49 +01:00
Christoph Wurst daf1d74af9 Merge pull request #18227 from nextcloud/bug/17947/set-transaction-isolation-connect
Add event subscriber for transaction isolation level
2020-02-21 17:48:39 +01:00
Christoph Wurst dd9d4696f2 Merge pull request #19412 from nextcloud/fix/19404/make-favorite-public
Make TAG_FAVORITE public
2020-02-21 17:47:53 +01:00
Christoph Wurst b7bfe2b34d Merge pull request #19517 from nextcloud/bugfix/noid/add-folder-to-predefined-types
Add a shortcut for Folders mimetype
2020-02-21 17:47:07 +01:00
Christoph Wurst 78a9ea5c73 Merge pull request #19518 from nextcloud/bugfix/makefile-npm-ci
Use npm ci in Makefile
2020-02-21 17:46:10 +01:00
Christoph Wurst 63077f59de Merge pull request #19392 from nextcloud/feature/dav-calendar-subscriptions/introduce-refresh-rate-setting
Introduce a default refresh rate app setting for calendar subscriptions
2020-02-21 17:35:18 +01:00
Thomas Citharel 354e8c1f2b Introduce a default refresh rate app setting for calendar subscriptions
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-02-21 12:49:37 +01:00
Christoph Wurst 8bbc387651 Merge pull request #19511 from nextcloud/bugfix/noid/secondary-view-id
Make sure the secondary view registered for systemtags has an id
2020-02-21 12:17:58 +01:00
Christoph Wurst 7d46af21f2 Merge pull request #19398 from nextcloud/bug/dav-load-subscriptions-at-activation
Move RefreshWebcalJob logic to a proper service so that it may be called independently
2020-02-21 12:17:13 +01:00
Christoph Wurst 638166625a Merge pull request #19499 from nextcloud/dependabot/npm_and_yarn/webpack-4.41.6
Bump webpack from 4.41.5 to 4.41.6
2020-02-21 12:16:31 +01:00
Christoph Wurst b16882888b Merge pull request #19533 from nextcloud/bugfix/noid/user-settings
Various user settings fixes
2020-02-21 11:51:35 +01:00
Christoph Wurst 7a6e0952b8 Merge pull request #19485 from nextcloud/techdebt/globals-removal-version
Add removal version number for global deprecations
2020-02-21 11:48:43 +01:00
Daniel Kesselberg 9e699a8d21 Add event subscriber for transaction isolation level
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-02-21 09:59:08 +01:00
Nextcloud bot da79162c3d [tx-robot] updated from transifex 2020-02-21 02:19:10 +00:00
Joas Schilling 150082397e FIx logging in accessibility controller
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-20 15:45:38 +01:00
Joas Schilling e97d643969 Strip of users home path from share api message
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-20 14:56:58 +01:00
Nextcloud bot 6c12d16def [tx-robot] updated from transifex 2020-02-20 02:18:42 +00:00
Arthur Schiwon 407b8fddfc remove noise from detectUuid and cache results
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-02-19 16:42:36 +01:00
blizzz 29f610edfd Merge pull request #19506 from michaelkuhn/cron-5-min
cron: Adapt to 5 minutes recommendation
2020-02-19 10:37:50 +01:00
Nextcloud bot eb28572f9b [tx-robot] updated from transifex 2020-02-19 02:18:14 +00:00
Julius Härtl 4e77df7114 Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-18 22:48:08 +01:00
Julius Härtl 8e24f368e5 Also fix actions overlay in editing and new user rows
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-18 22:47:16 +01:00
Julius Härtl ca3aac41f3 Properly position popovermenu for user actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-18 22:28:24 +01:00
Julius Härtl dd30b22f87 Add tooltip to storage location
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-18 22:27:59 +01:00
Julius Härtl 0ed43de561 Do not overlay single select boxes over userActions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-18 22:27:43 +01:00
Julius Härtl fd2cfce417 Show user/displayname when backend does not offer saving
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-18 22:27:22 +01:00
Julius Härtl 3be571cd05 Give columns a bit more space and fix overlaying issues
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-18 22:26:52 +01:00
Julius Härtl 4766a5a427 Remove unused userlist table styles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-18 22:26:03 +01:00
Georg Ehrke b46e5cb270 Allow apps to provide Calendars in user's calendarHome
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-02-18 14:35:14 +01:00
Nextcloud bot a1fc233fcb [tx-robot] updated from transifex 2020-02-18 02:18:23 +00:00
Michael Kuhn ab6a18f420 cron: Adapt to 5 minutes recommendation
Update the comment to make clear that we ask for 14 minutes worth of
jobs on purpose so at most three parallel cron jobs are running.

Signed-off-by: Michael Kuhn <michael@ikkoku.de>
2020-02-17 21:47:19 +01:00
Julius Härtl b595d86e96 Use npm ci in Makefile
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-17 12:24:40 +01:00
Joas Schilling 88f86bf6c6 Add a shortcut for Folders
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-17 12:17:08 +01:00
Joas Schilling e9da164ae4 Merge pull request #19510 from nextcloud/bugfix/19504
Continue with next foreach iteration
2020-02-17 11:56:55 +01:00
Joas Schilling a1fb57d2e2 Merge pull request #19329 from nextcloud/feature/noid/warn-admins-about-delayed-cron
Warn admins about delayed cron executions
2020-02-17 09:06:27 +01:00
Joas Schilling 841f2f3b04 Allow to overwrite share target mountpoints
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-17 09:04:19 +01:00
Julius Härtl a78288eb83 Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-17 08:28:15 +01:00
Julius Härtl ee49837caa Make sure the secondary view registered for systemtags has an id
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-17 08:26:22 +01:00
Julius Härtl 761a663667 Continue with next foreach iteration
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-17 08:10:11 +01:00
Nextcloud bot 6895a23517 [tx-robot] updated from transifex 2020-02-17 02:18:07 +00:00
Nextcloud bot cb81fd5257 [tx-robot] updated from transifex 2020-02-16 02:18:23 +00:00
dependabot-preview[bot] 7c862927e6 Bump webpack from 4.41.5 to 4.41.6
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.5 to 4.41.6.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.5...v4.41.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-16 02:17:39 +00:00
Nextcloud bot bdab337313 [tx-robot] updated from transifex 2020-02-15 02:18:10 +00:00
Christoph Wurst 80450427d1 Add removal version number for global deprecations
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-14 17:39:49 +01:00
blizzz 6a1ba818f5 Merge pull request #19477 from nextcloud/bug/flow-log-level
Reduce flow logging at INFO level, move to DEBUG
2020-02-14 14:21:09 +01:00
TimObert 4c1834dace Fix requested changes
Signed-off-by: Tim Obert <tobert@w-commerce.de>
2020-02-14 14:16:31 +01:00
Joas Schilling 3894dcb756 Hardcode Talk namespace to fix install due to global route
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-14 12:34:13 +01:00
Tim Obert 058180d386 Change the route generation of AuthPublicShareController.php and adjust the routes for file sharing
Signed-off-by: Tim Obert <tobert@w-commerce.de>
2020-02-14 12:12:04 +01:00
Julius Härtl b11f5a0915 Reduce flow logging at INFO level
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-14 12:00:22 +01:00
blizzz c7b7ee66cf Merge pull request #19465 from nextcloud/enh/noid/empty-whatsnew
when we receive intentional empty whats new info, do not try to show it
2020-02-14 10:06:55 +01:00
Roeland Jago Douma 1199e57896 Merge pull request #19460 from nextcloud/bugfix/noid/opsy
Replace all link-ends
2020-02-14 09:36:03 +01:00
Nextcloud bot 8a841fc331 [tx-robot] updated from transifex 2020-02-14 02:18:09 +00:00
Arthur Schiwon b1a6f66fd9 when we receive intentional empty whats new info, do not try to show it
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-02-13 22:03:44 +01:00
Roeland Jago Douma 869277b005 Merge pull request #19459 from nextcloud/settings-info-typo
Fix typo
2020-02-13 20:32:31 +01:00
Roeland Jago Douma c3a4dd4bc0 Merge pull request #19449 from nextcloud/allow-to-force-path-on-cache-event
Allow to overwrite the path on the cache event
2020-02-13 20:32:01 +01:00
Roeland Jago Douma 584e729029 Merge pull request #19455 from nextcloud/techdebt/deprecate-oc-router-helpers
Deprecate OC router helpers that are provided by packages
2020-02-13 20:30:17 +01:00
Joas Schilling 00a4d45010 Replace all link-ends
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-13 17:00:33 +01:00
Christoph Wurst d4e68dd64a Deprecate OC router helpers that are provided by packages
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-13 16:41:45 +01:00
Sergey Shlyakhov 61b88b58a6 Fix typo 2020-02-13 15:00:08 +01:00
Roeland Jago Douma f39786660c Merge pull request #19435 from nextcloud/fix/deleted_shares
Add text restore after restore icon
2020-02-13 09:22:39 +01:00
Roeland Jago Douma 9b9dbbd359 Merge pull request #19367 from nextcloud/dependabot/composer/build/integration/behat/behat-approx-3.6.1
Update behat/behat requirement from ~3.5.0 to ~3.6.1 in /build/integration
2020-02-13 09:21:51 +01:00
Joas Schilling dc050fb5e5 Allow to overwrite the path on the cache event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-13 08:38:33 +01:00
Nextcloud bot c34570faf8 [tx-robot] updated from transifex 2020-02-13 02:19:26 +00:00
dependabot-preview[bot] cb2877abd3 Update behat/behat requirement in /build/integration
Updates the requirements on [behat/behat](https://github.com/Behat/Behat) to permit the latest version.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.5.0...v3.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-12 19:28:54 +00:00
Roeland Jago Douma e6d91098d4 Merge pull request #19370 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-6.5.2
Update guzzlehttp/guzzle requirement from 6.3.3 to 6.5.2 in /build/integration
2020-02-12 20:27:30 +01:00
Roeland Jago Douma 1db39e4eb4 Merge pull request #19424 from nextcloud/bugfix/noid/dont-create-invalid-users
Don't create invalid users
2020-02-12 20:26:57 +01:00
Roeland Jago Douma 39ba588e16 Merge pull request #19431 from nextcloud/bugfix/noid/upload-fail-filename
Show proper file name when fetching details fails
2020-02-12 20:26:26 +01:00
Roeland Jago Douma ee4b2925b6 Merge pull request #19437 from nextcloud/bugfix/noid/translation-concatenation-is-bad
Do not use translation-concatenation
2020-02-12 20:25:42 +01:00
GretaD 0f07e6661b Add text restore after restore icon
Signed-off-by: GretaD <gretadoci@gmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-12 18:28:03 +00:00
blizzz 6bf0c1f4c3 Merge pull request #19430 from nextcloud/fix/17808/remove-timeout-appinstall
disable timeout on app install via cli
2020-02-12 17:33:58 +01:00
GretaD 372bd505f8 Fix filename and popover menu misalignment
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-02-12 17:31:51 +01:00
Arthur Schiwon d06ef07a97 disable timeout on app install via cli
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-02-12 16:52:45 +01:00
Joas Schilling 16482efc27 Do not use translation-concatenation
it's as bad as the word itself sounds

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-12 15:34:00 +01:00
Daniel Kesselberg 6235175b6d Make TAG_FAVORITE public
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-02-12 15:11:58 +01:00
Julius Härtl af4139ce64 Show proper file name when fetching details fails
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-12 14:14:14 +01:00
Roeland Jago Douma e2e42d4ffd Merge pull request #19423 from nextcloud/bugfix/htaccess/firstrun-mp4
Allow to serve static mp4 directly
2020-02-12 12:58:30 +01:00
Joas Schilling 08cadf8416 Don't create invalid users
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-12 10:55:27 +01:00
Julius Härtl c469bc85d5 Allow to serve static mp4 directly
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-12 10:36:59 +01:00
Roeland Jago Douma cc38f28391 Merge pull request #19417 from nextcloud/fix/htaccess/firstrun-webm
Allow to serve static webm directly
2020-02-12 10:12:56 +01:00
Roeland Jago Douma 54c84b95ac Allow to serve static webm directly
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-02-12 08:42:34 +01:00
Nextcloud bot fa9aa60adf [tx-robot] updated from transifex 2020-02-12 02:18:18 +00:00
Roeland Jago Douma ea67d391c0 Merge pull request #19323 from nextcloud/3rdparty/composer/guzzlehttp/guzzle-6.5.2
[3rdparty] Bump guzzlehttp/guzzle from 6.3.3 to 6.5.2
2020-02-11 21:33:15 +01:00
John Molakvoæ (skjnldsv) 0687b9ed8a [3rdparty] Bump guzzlehttp/guzzle from 6.3.3 to 6.5.2
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-02-11 20:49:27 +01:00
Roeland Jago Douma b943e0143a Merge pull request #19375 from nextcloud/dependabot/npm_and_yarn/url-search-params-polyfill-8.0.0
Bump url-search-params-polyfill from 7.0.1 to 8.0.0
2020-02-11 15:14:43 +01:00
Roeland Jago Douma 74fc9a4f33 Merge pull request #19386 from nextcloud/techdebt/deprecate-global-jquery
Deprecate global jQuery
2020-02-11 10:35:02 +01:00
Christoph Wurst 328f9673b5 Deprecate jQuery
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-11 07:39:10 +00:00
Roeland Jago Douma db5ffc6d94 Merge pull request #19389 from nextcloud/test/js-api
Test request token logic a bit more
2020-02-11 08:35:07 +01:00
Nextcloud bot 29ec5e6c96 [tx-robot] updated from transifex 2020-02-11 02:18:33 +00:00
Thomas Citharel 8b22b9f046 Move RefreshWebcalJob logic to a proper service so that it may be called
independently

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-02-10 16:04:38 +01:00
Roeland Jago Douma 1b07dcf35c Merge pull request #18904 from nextcloud/enh/noid/flow-logging
Log Flow activity
2020-02-10 15:09:51 +01:00
Roeland Jago Douma a71957f2b9 Merge pull request #19307 from nextcloud/enh/argon2id
Add Argon2id support
2020-02-10 14:17:35 +01:00
Christoph Wurst c47a0a0153 Add more tests for the new js modules
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-10 12:05:43 +01:00
Roeland Jago Douma df4ca949f5 Merge pull request #19384 from nextcloud/enh/actions/lint
Lint on github actions
2020-02-10 11:39:29 +01:00
Roeland Jago Douma a3c80b92c4 Merge pull request #19387 from nextcloud/enh/fixupbot
Lets just use the fixup bot
2020-02-10 11:38:51 +01:00
dependabot-preview[bot] 6dfe4cd17c Bump url-search-params-polyfill from 7.0.1 to 8.0.0
Bumps [url-search-params-polyfill](https://github.com/jerrybendy/url-search-params-polyfill) from 7.0.1 to 8.0.0.
- [Release notes](https://github.com/jerrybendy/url-search-params-polyfill/releases)
- [Commits](https://github.com/jerrybendy/url-search-params-polyfill/compare/v7.0.1...v8.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-10 09:52:18 +00:00
Joas Schilling f464f2313f Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-10 10:14:02 +01:00
Roeland Jago Douma dfe92e4726 Merge pull request #19376 from nextcloud/dependabot/npm_and_yarn/nextcloud-vue-collections-0.7.2
Bump nextcloud-vue-collections from 0.7.1 to 0.7.2
2020-02-10 09:54:36 +01:00
Roeland Jago Douma 64665c98e1 Lint on github actions
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-02-10 09:32:45 +01:00
Roeland Jago Douma ae75e17eff Lets just use the fixup bot
The action is slower plus we can use more actions this way ;)

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-02-10 09:20:20 +01:00
Nextcloud bot 9205a21088 [tx-robot] updated from transifex 2020-02-10 02:17:59 +00:00
dependabot-preview[bot] e1bdc713ae Bump nextcloud-vue-collections from 0.7.1 to 0.7.2
Bumps [nextcloud-vue-collections](https://github.com/juliushaertl/nextcloud-vue-collections) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/juliushaertl/nextcloud-vue-collections/releases)
- [Commits](https://github.com/juliushaertl/nextcloud-vue-collections/compare/v0.7.1...v0.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-09 15:50:19 +00:00
Roeland Jago Douma 3700d18800 Merge pull request #19378 from nextcloud/dependabot/npm_and_yarn/handlebars-4.7.3
Bump handlebars from 4.7.2 to 4.7.3
2020-02-09 16:44:13 +01:00
dependabot-preview[bot] 7f8cb241ae Bump handlebars from 4.7.2 to 4.7.3
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.2 to 4.7.3.
- [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.2...v4.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-09 14:36:50 +00:00
Roeland Jago Douma 53517e4875 Merge pull request #19380 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-1.3.1
Bump @nextcloud/vue from 1.3.0 to 1.3.1
2020-02-09 15:15:41 +01:00
dependabot-preview[bot] 8585201b57 Bump @nextcloud/vue from 1.3.0 to 1.3.1
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/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-02-09 13:38:52 +00:00
Roeland Jago Douma a46771e506 Merge pull request #19377 from nextcloud/dependabot/npm_and_yarn/dompurify-2.0.8
Bump dompurify from 2.0.7 to 2.0.8
2020-02-09 14:00:36 +01:00
dependabot-preview[bot] 7cf09bf4f4 Bump dompurify from 2.0.7 to 2.0.8
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.7...2.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-09 08:36:32 +00:00
Roeland Jago Douma 664a762349 Merge pull request #19379 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-import-2.20.1
Bump eslint-plugin-import from 2.20.0 to 2.20.1
2020-02-09 09:25:38 +01:00
dependabot-preview[bot] 2c287b1eb9 Bump eslint-plugin-import from 2.20.0 to 2.20.1
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.20.0 to 2.20.1.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.20.0...v2.20.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-09 02:19:43 +00:00
Nextcloud bot 5507c47e0e [tx-robot] updated from transifex 2020-02-09 02:19:19 +00:00
dependabot-preview[bot] 1829ee816d Update guzzlehttp/guzzle requirement in /build/integration
Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) to permit the latest version.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.3.3...6.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-09 02:14:17 +00:00
Joas Schilling bf74c4f21b Warn admins about delayed cron executions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-08 10:21:54 +01:00
Roeland Jago Douma 5c650f876c Merge pull request #19333 from nextcloud/add-featured-category
Add featured category
2020-02-08 10:20:50 +01:00
Roeland Jago Douma 302ea0650e Merge pull request #19349 from nextcloud/bugfix/noid/prevent-download-on-secure-view
Prevent archieved download on secure view
2020-02-08 10:18:24 +01:00
Roeland Jago Douma ef31e8c129 Merge pull request #19356 from nextcloud/enhancement/mocha-tests
Add webpack-based js tests
2020-02-08 10:17:59 +01:00
Nextcloud bot 6a82bb1f00 [tx-robot] updated from transifex 2020-02-08 02:18:22 +00:00
Arthur Schiwon a0e57ea6d3 sort prefixes for deterministic LDAP query behaviour
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-02-07 18:10:31 +01:00
Christoph Wurst b267409d38 Add webpack-based js tests
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-07 16:56:35 +01:00
Joas Schilling 35d4ca4d5d Prevent archieved download on secure view
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-07 12:46:23 +01:00
Mario Danic 151ae44a9d Update bundles
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-02-07 12:17:06 +01:00
Mario Danic d0e3255545 Add featured category
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-02-07 11:51:41 +01:00
Joas Schilling fc18116715 Merge pull request #18897 from nextcloud/bugfix/noid/no-more-jquery
No more jQuery
2020-02-07 10:58:20 +01:00
Roeland Jago Douma 2be1a6a04e Merge pull request #19272 from nextcloud/3rdparty/symfony-4.4.4
Bump symfony to 4.4.4
2020-02-07 10:06:58 +01:00
Roeland Jago Douma fceb7ae47c Merge pull request #19331 from nextcloud/bugfix/18890/remove-nested-call-to-beforeunload
Removed nested call to beforeunload
2020-02-07 09:23:44 +01:00
Roeland Jago Douma 264f141105 Merge pull request #17077 from nextcloud/enh/10869/no_link_disabled_user
Disable link shares of disabled users
2020-02-07 09:12:48 +01:00
Nextcloud bot 8061694418 [tx-robot] updated from transifex 2020-02-07 07:32:33 +00:00
Roeland Jago Douma 12e1c469cf Add Argon2id support
When available we should use argon2id for hashing.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-02-07 07:52:33 +01:00
Roeland Jago Douma 260892eb3b Disable link shares of disabled users
Fixes #10869

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-02-07 07:47:38 +01:00
Nextcloud bot 1afe8906bc [tx-robot] updated from transifex 2020-02-07 02:20:10 +00:00
Joas Schilling 3a0bfbd558 Merge pull request #18926 from nextcloud/fix/18689/int-array-access
Array access on int will fail on php7.4
2020-02-06 21:31:03 +01:00
Roeland Jago Douma 368b401ff5 Merge pull request #18778 from nextcloud/fix/fetch-request-token-offline-online
Fetch a new request token as soon as the browser becomes online
2020-02-06 21:28:08 +01:00
Joas Schilling e5e612a292 Merge pull request #18518 from nextcloud/security-polixy
Set up a security policy
2020-02-06 21:24:52 +01:00
Joas Schilling dd919668cb No more jQuery
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-06 20:41:42 +01:00
Roeland Jago Douma 3b14cec766 Merge pull request #17075 from nextcloud/enh/samesitecookies
Only send samesite cookies
2020-02-06 20:37:45 +01:00
Roeland Jago Douma 730af00132 Merge pull request #19236 from tflores/issue_18866
Issue 18866
2020-02-06 20:35:50 +01:00
Joas Schilling 034fefa7b7 Removed nested call to beforeunload
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-06 20:35:00 +01:00
Roeland Jago Douma 2fb9103a56 Merge pull request #19320 from nextcloud/bugfix/external-179/fix-event-type
Fix event type
2020-02-06 20:31:07 +01:00
Joas Schilling c5c3178422 Merge pull request #19303 from nextcloud/test/debug-install
Fix occ maintenance:install database connect failure
2020-02-06 19:36:53 +01:00
Roeland Jago Douma 2016e57eab Only send samesite cookies
This makes the last remaining two cookies lax. The session cookie
itself. And the session password as well (on php 7.3 that is). Samesite
cookies are the best cookies!

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-02-06 15:24:35 +01:00
Joas Schilling e2ca31119c Fix event type
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-06 15:17:27 +01:00
Christoph Wurst d1886b57ce Fetch a new request token as soon as the browser becomes online
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-06 14:15:47 +01:00
Roeland Jago Douma d2d7e37b7b Merge pull request #19312 from nextcloud/fix/18195/do-not-overwrite-user-glob-auth
do not overwrite global user auth credentials with empty values
2020-02-06 10:20:56 +01:00
John Molakvoæ daf6887c09 Merge pull request #19306 from nextcloud/enh/js-escape-html
Use escape-html in collaboration.js
2020-02-06 09:09:41 +01:00
Nextcloud bot 698cfbd9cb [tx-robot] updated from transifex 2020-02-06 02:18:41 +00:00
Arthur Schiwon 7e1d14d9a5 do not overwrite global user auth credentials with empty values
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-02-06 00:14:29 +01:00
Roeland Jago Douma bfb1273a2e Merge pull request #19219 from nextcloud/bugfix/19135/wrong_dtend_invitation_mail
Fix display of DTEND for multi-day all-day event
2020-02-05 20:54:02 +01:00
Julius Härtl 2c67276e33 Use escape-html library
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-05 20:16:47 +01:00
Roeland Jago Douma bef906b518 Merge pull request #19180 from nextcloud/bugfix/office-anonymous-empty-auth
Check for empty authorization headers for office requests
2020-02-05 20:08:49 +01:00
Roeland Jago Douma f11e4c9ec4 Merge pull request #19300 from nextcloud/rakekniven-patch-1
l10n: Triple dot to ellipsis
2020-02-05 14:22:46 +01:00
Joas Schilling 0317c5b5c8 Correctly append the port to the host so it's written to the config correctly
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-05 13:58:37 +01:00
Joas Schilling fca8f061ab Split the exception handling so install errors don't log as setup errors
More gebuging

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-05 13:55:17 +01:00
Joas Schilling ac89b6abe7 Check the new connection on setup like with PostgreSQL and Oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-05 13:55:16 +01:00
Joas Schilling 0aa216fc48 Only provide the auth method for MySQL 8.0+ to not break MariaDB
Provide the auth method for MySQL 8.0+

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-05 13:54:57 +01:00
John Molakvoæ 13cfb352ab Merge pull request #19165 from Simounet/fix/data-apache-htaccess-typo
Fix data Apache2 .htaccess typo
2020-02-05 12:32:05 +01:00
rakekniven 08fa1f05b5 Added space before ellipsis
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-05 10:49:19 +00:00
Simounet a98f8b51c7 Fix data Apache2 .htaccess typo
Signed-off-by: Simounet <contact@simounet.net>
2020-02-05 11:17:58 +01:00
rakekniven e1bc815813 l10n: Triple dot to ellipsis
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
2020-02-05 06:31:42 +01:00
Nextcloud bot 23fc654fc4 [tx-robot] updated from transifex 2020-02-05 02:18:06 +00:00
rakekniven 69eb2bc56b l10n: Triple dot to ellipsis
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
2020-02-04 22:05:09 +01:00
Roeland Jago Douma 889fbcb006 Merge pull request #19246 from sammo2828/decrypt-all-keep-mtime
Keep the modification time during decryptFile
2020-02-04 15:54:58 +01:00
Julius Härtl 8fba05db96 Check for empty authorization headers for office requests and allow anonymous option on the whole tree
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-04 15:35:23 +01:00
Roeland Jago Douma d63fc8eea4 Merge pull request #19203 from nextcloud/enh/allow_selecting_hashing_algorithm
Allow respecting PASSWORD_DEFAULT
2020-02-04 11:30:46 +01:00
Roeland Jago Douma 1ae1d95d8a Merge pull request #19286 from nextcloud/actions/checkout/node/v2
Use checkout v2 for npm build action
2020-02-04 08:49:41 +01:00
Nextcloud bot 0b710e582b [tx-robot] updated from transifex 2020-02-04 02:18:05 +00:00
Roeland Jago Douma 582ab20e9d Use checkout v2 for npm build action
Saves checking out the whole tree.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-02-03 21:55:24 +01:00
Roeland Jago Douma 0d651f106c Allow selecting the hashing algorithm
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-02-03 21:41:17 +01:00
Roeland Jago Douma 4503cff51a Merge pull request #19281 from nextcloud/fix/noid/get-unread-comments-with-indexes
for the DB ot pick an index specify the object_type
2020-02-03 21:23:35 +01:00
Tiago Flores 7b7db699e9 Audit log unsharing from self
Signed-off-by: Tiago Flores <tiago.flores@yahoo.com.br>
2020-02-03 16:33:36 -03:00
Arthur Schiwon 4c7bd11fc8 for the DB ot pick an index specify the object_type
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-02-03 16:17:25 +01:00
Roeland Jago Douma 906348ca14 Merge pull request #19233 from nextcloud/enh/transferownership_move
Add move (and firstlogin) option to transferownership service
2020-02-03 15:59:03 +01:00
Roeland Jago Douma 8fcd1d1426 Merge pull request #19275 from nextcloud/bugfix/18626/owner-transfer-multiselect
Bugfix/18626/owner transfer multiselect
2020-02-03 15:55:44 +01:00
Roeland Jago Douma 9bb11e02f0 Bump symfony to 4.4.4
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-02-03 15:49:13 +01:00
Roeland Jago Douma 00bb198d5a Merge pull request #19273 from nextcloud/dependabot/npm_and_yarn/babel/core-7.8.4
Bump @babel/core from 7.8.3 to 7.8.4
2020-02-03 15:32:39 +01:00
Roeland Jago Douma 9da3204453 Merge pull request #19276 from nextcloud/fix/19248
Use proper andwhere clause
2020-02-03 14:15:49 +01:00
dependabot-preview[bot] 1e979a1d2b Bump @babel/core from 7.8.3 to 7.8.4
Bumps [@babel/core](https://github.com/babel/babel) from 7.8.3 to 7.8.4.
- [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.8.3...v7.8.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 20:55:15 +08:00
Roeland Jago Douma b52491c381 Merge pull request #19268 from nextcloud/fix/19261/use_settings_l10n
Use the l10n from settings
2020-02-03 12:56:01 +01:00
Roeland Jago Douma e0715d704e Use proper andwhere clause
Fixes #19248

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-02-03 12:17:46 +01:00
Julius Härtl 09371c0b7a Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-03 12:01:01 +01:00
Julius Härtl e60d9e4312 Make sure that minSearchStringLength is taken into account
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-03 11:59:10 +01:00
Julius Härtl 4a5f18359f Fix issue when selecting an entry, the multiselect input was not closed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-03 11:58:51 +01:00
Roeland Jago Douma 5bc0951267 Allow specifying this is the first login
On firstlogin we allow non empty target folders. So that for guest
transfers the user sees the same UI.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-02-03 11:15:57 +01:00
Tobia De Koninck 055ae9b2cd Catch \Error in Transfer::restoreShares
This makes the command more fault tolerant. An \Error can happen when
e.g. the owner of a share is null.
If we don't catch this, the restore process will stop in an unknown
state.

Signed-off-by: Tobia De Koninck <LEDfan@users.noreply.github.com>
2020-02-03 11:15:56 +01:00
Tobia De Koninck 97508f69ec Prevent transferring data to user which never loggedin
Signed-off-by: Tobia De Koninck <LEDfan@users.noreply.github.com>
2020-02-03 11:15:56 +01:00
Tobia De Koninck 7c56144f49 Add option to transfer-ownership to move data
This will move the home folder of own user to another user. Only allowed
if that other user's home folder is empty.
Can be used as workaround to rename users.

Signed-off-by: Tobia De Koninck <LEDfan@users.noreply.github.com>
2020-02-03 11:15:56 +01:00
John Molakvoæ 411058e47c Merge pull request #19266 from nextcloud/enh/actions/npm_build
Move npm build to github actions
2020-02-03 10:48:03 +01:00
Daniel Kesselberg 29fede5fe5 Update test to pass l10n instead of factory
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-02-03 10:31:23 +01:00
Roeland Jago Douma c9af72ec30 Merge pull request #19250 from nextcloud/rakekniven-patch-1
l10n: Changed spelling of "user name" to "username"
2020-02-03 10:24:48 +01:00
John Molakvoæ 4c9cc5f944 Merge pull request #19238 from MarcMichalsky/patch-1
Center Buttons
2020-02-03 10:10:58 +01:00
Roeland Jago Douma 1b33116e8f Merge pull request #19241 from nextcloud/bug/noid/job-catch-throwable
Make sure to catch php errors during job execution
2020-02-03 09:54:26 +01:00
Roeland Jago Douma af8ad96285 Use the l10n from settings
Fixes #19261

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-02-03 09:44:59 +01:00
Roeland Jago Douma e639e11de3 Move npm build to github actions
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-02-03 09:42:23 +01:00
Roeland Jago Douma 846eb8ee1d Merge pull request #19243 from nextcloud/enh/settings/admin_settings_to_info_xml
Move Admin Settings also to info.xml
2020-02-03 09:39:02 +01:00
Nextcloud bot 750181d283 [tx-robot] updated from transifex 2020-02-03 02:16:46 +00:00
Roeland Jago Douma 223ccff4d9 Merge pull request #19256 from nextcloud/dependabot/npm_and_yarn/build/karma-viewport-1.0.5
Bump karma-viewport from 1.0.4 to 1.0.5 in /build
2020-02-02 07:51:47 +01:00
Nextcloud bot f39c1a21f8 [tx-robot] updated from transifex 2020-02-02 02:17:40 +00:00
dependabot-preview[bot] bf5174afe0 Bump karma-viewport from 1.0.4 to 1.0.5 in /build
Bumps [karma-viewport](https://github.com/squidfunk/karma-viewport) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/squidfunk/karma-viewport/releases)
- [Changelog](https://github.com/squidfunk/karma-viewport/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/karma-viewport/compare/1.0.4...1.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-02 02:13:24 +00:00
Thomas Citharel 41fa057285 Hash event UID to make sure it's not too long for PushProvider
notifications

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-02-01 18:13:51 +01:00
rakekniven 984c757be8 l10n: Changed spelling of "user name" to "username"
Using "username" like on > 200 strings over the whole Nextcloud project.

Signed-off-by: rakekniven mark.ziegler@rakekniven.de
2020-02-01 12:58:32 +01:00
sammo2828 bb0c69524b Keep the modification time during decryptFile 2020-02-01 16:20:33 +11:00
Nextcloud bot 7b5072ab61 [tx-robot] updated from transifex 2020-02-01 02:17:22 +00:00
Marc Michalsky c97aa97814 Update guest.css 2020-01-31 17:38:39 +01:00
Roeland Jago Douma bfaf3fff33 Move Admin Settings also to info.xml
More cleanup of the Settings apps. Makes the manager cleaner and a
proper manager.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-31 16:55:17 +01:00
Roeland Jago Douma 78c7e6f2c5 Merge pull request #19240 from nextcloud/enh/settings/activity_registration
Use activity registration for the settings
2020-01-31 16:30:01 +01:00
Daniel Kesselberg 018020108b Make sure to catch php errors during job execution
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-01-31 16:04:04 +01:00
Roeland Jago Douma b68cb1fc0c Use activity registration for the settings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-31 15:12:32 +01:00
Marc Michalsky 9f473f777f Center Buttons
Since Version 18.0.0 the Registration button of the [registration app](https://github.com/pellaeon/registration) is not centered anymore.
2020-01-31 14:56:20 +01:00
Roeland Jago Douma 4765f5b3db Merge pull request #19215 from nextcloud/bugfix/19146/webcal_not_updated
WebcalRefreshJob: Fix reading refresh rate
2020-01-31 08:18:09 +01:00
Roeland Jago Douma 2f91ac0865 Merge pull request #19217 from nextcloud/enh/settings/personal
Personal settings cleanup
2020-01-31 08:17:00 +01:00
Nextcloud bot 69d2893a75 [tx-robot] updated from transifex 2020-01-31 02:17:52 +00:00
Roeland Jago Douma c9253cce6c Move personal settings to proper registration
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-30 22:06:28 +01:00
Georg Ehrke 165fc172b1 Fix display of DTEND for multi-day all-day event
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-01-30 15:02:16 +01:00
Roeland Jago Douma dc1979903e Move password settings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-30 14:03:28 +01:00
Georg Ehrke 98edf44c66 RefreshWebcalJob: Fix reading subscription from database leading to ignored refreshRate
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-01-30 13:04:42 +01:00
Georg Ehrke eda599973d JobList: Typecast last_run to integer
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-01-30 12:01:02 +01:00
Roeland Jago Douma 9ed106f69a Merge pull request #19176 from nextcloud/fix/contacts-menu-mailt-encoding
Do not encode contacts menu mailto links
2020-01-30 09:45:13 +01:00
Roeland Jago Douma 792c32aaa4 Merge pull request #19192 from nextcloud/enh/settings/move_2fa_to_own_settings_class
Move the personal 2FA settings to its settings
2020-01-30 09:44:42 +01:00
John Molakvoæ 2823deae12 Merge pull request #19125 from nextcloud/bugfix/noid/tab-id
Give the sharing tab a unique id so it also opens properly on other languages
2020-01-30 09:39:30 +01:00
Joas Schilling bcc3fbd325 Merge pull request #19179 from nextcloud/followup/19113/fix-query-selector-for-inverted-icons
Fix query selector for inverted icons
2020-01-30 09:33:02 +01:00
Nextcloud bot a4a05ee03d [tx-robot] updated from transifex 2020-01-30 02:18:12 +00:00
Roeland Jago Douma 391a368557 Move the personal 2FA settings to its own app
Small isolated classes are easier to understand and to maintain!
Another step in the cleaning up of the settings. So that adding new
stuff later is easier.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-29 20:37:47 +01:00
Roeland Jago Douma 53817f5fc2 Merge pull request #19185 from nextcloud/enh/move_token_logic_to_token_settings
Move can create token logic
2020-01-29 20:13:23 +01:00
John Molakvoæ (skjnldsv) b476659ac8 Fix legacy tabs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-29 16:44:53 +01:00
Julius Härtl cd6a193793 Bump @nextcloud/vue
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-29 16:44:53 +01:00
Julius Härtl 60f49efe8a Give the sharing tab a unique id so it also opens properly on other languages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-29 16:44:52 +01:00
Roeland Jago Douma 34426a481f Move can create token logic
It makes sense to have this in the actual authtoken settings. As well.
This is where it is used.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-29 15:57:59 +01:00
John Molakvoæ ca964cfe9f Merge pull request #19029 from nextcloud/improve-new-issue-flow
Add link to help.nextcloud.com and bugbounty
2020-01-29 15:44:49 +01:00
Lauris Binde 8413a4ec92 Improve Opcache detection
Improve Opcache detection by checking if extension is loaded, as opcache_get_status() is commonly disabled on shared hosting servers
2020-01-29 10:44:14 +01:00
blizzz 374555f24f Merge pull request #19186 from nextcloud/bugfix/noid/fix-flow-error
Fix "Call to undefined method OCA\\WorkflowEngine\\Entity\\File::t()"
2020-01-29 10:43:42 +01:00
Roeland Jago Douma b490c7cab1 Merge pull request #19174 from nextcloud/enh/settings/admin_sectorions_to_proper_app
Move admin sections to settings app
2020-01-29 10:10:39 +01:00
Joas Schilling bbc9381358 Fix "Call to undefined method OCA\\WorkflowEngine\\Entity\\File::t()"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-01-29 09:22:42 +01:00
Nextcloud bot 0585c76d16 [tx-robot] updated from transifex 2020-01-29 02:18:13 +00:00
Roeland Jago Douma edd37368fd Merge pull request #19178 from nextcloud/bugfix/noid/prevent-potential-problems
Make sure the default share provider does not execute for other things
2020-01-28 20:39:18 +01:00
Joas Schilling 7bfbae0aa1 Fix query selector for inverted icons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-01-28 16:35:41 +01:00
Joas Schilling c5bc317681 Make sure the default share provider does not execute for other things
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-01-28 16:00:03 +01:00
Christoph Wurst 87ec729f34 Do not encode contacts menu mailto links
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-28 14:57:45 +01:00
Arthur Schiwon e008444887 always require a message paramter for data logging
also ensure it plays well with current log reader

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-28 13:00:13 +01:00
Roeland Jago Douma 03df1b4c51 Move admin sections to settings app
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-28 12:38:11 +01:00
Arthur Schiwon 46aaeb4561 log Flow activity
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-28 10:58:57 +01:00
blizzz 74f1b09f3d Merge pull request #19168 from nextcloud/enh/settings/personal_sections_to_proper_app
Move the Personal sections to the settings app
2020-01-28 10:38:00 +01:00
Roeland Jago Douma 9bc08dc325 Merge pull request #19164 from nextcloud/dependabot/various
Dependabot/various
2020-01-28 09:51:50 +01:00
Roeland Jago Douma d8e9cefcfe Move the Personal sections to the settings app
There is no need to have weird magic in the manager. This should be
properly registered in the right way. The settings code is messy
anyways. This is a start to make it a tad more clean.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-28 08:45:07 +01:00
Nextcloud bot 09f4b7a97a [tx-robot] updated from transifex 2020-01-28 02:18:33 +00:00
John Molakvoæ (skjnldsv) 414544f528 Merge multiple dependabots updates
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-27 20:52:29 +01:00
Roeland Jago Douma 35502b8892 Merge pull request #19167 from nextcloud/fix/tests/18745
Fix tests after #18745
2020-01-27 20:49:27 +01:00
Roeland Jago Douma 55c17a3571 Fix tests after #18745
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-27 20:17:16 +01:00
John Molakvoæ 8be4efb023 Merge pull request #19142 from nextcloud/dependabot/npm_and_yarn/nextcloud/auth-1.2.1
Bump @nextcloud/auth from 1.1.0 to 1.2.1
2020-01-27 15:07:05 +01:00
John Molakvoæ cd944fb5e7 Merge pull request #19140 from nextcloud/dependabot/npm_and_yarn/nextcloud/logger-1.1.1
Bump @nextcloud/logger from 1.0.0 to 1.1.1
2020-01-27 15:06:46 +01:00
John Molakvoæ a57303965c Merge pull request #18745 from 4workers/avatar-text
Change avatar placeholder from single letter to 2 letters
2020-01-27 12:29:02 +01:00
Sergey Shliakhov acc0df1d13 Change avatar placeholder from single letter to 2 letters
https://github.com/nextcloud/server/issues/18717
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
2020-01-27 09:42:45 +01:00
Roeland Jago Douma aa950ffc04 Merge pull request #19105 from nextcloud/enh/noid/hub-bundle
add hub bundle for easy installation on upgraded instances
2020-01-27 08:20:14 +01:00
Nextcloud bot 78d400cec2 [tx-robot] updated from transifex 2020-01-27 02:17:55 +00:00
Arthur Schiwon 5b18f684e7 add hub bundle for easy post-installation
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-26 21:23:42 +01:00
Roeland Jago Douma 1e0e09e5ce Merge pull request #19115 from nextcloud/fix/share_accepting/do_not_use_node_yet
Use the target for file notifications
2020-01-26 20:43:51 +01:00
dependabot-preview[bot] 8b675e0db1 Bump @nextcloud/logger from 1.0.0 to 1.1.1
Bumps [@nextcloud/logger](https://github.com/nextcloud/nextcloud-logger) from 1.0.0 to 1.1.1.
- [Release notes](https://github.com/nextcloud/nextcloud-logger/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-logger/compare/v1.0.0...v1.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-26 19:36:20 +00:00
Roeland Jago Douma b6f06e1f8c Merge pull request #19120 from nextcloud/fix/recommended_apps/spreed_not_talk
Use correct appid for talk
2020-01-26 20:35:40 +01:00
Roeland Jago Douma de53dcb4ca Merge pull request #19139 from nextcloud/dependabot/npm_and_yarn/node-sass-4.13.1
Bump node-sass from 4.13.0 to 4.13.1
2020-01-26 20:34:57 +01:00
Roeland Jago Douma ed608231b7 Merge pull request #19138 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-1.2.7
Bump @nextcloud/vue from 1.2.5 to 1.2.7
2020-01-26 20:34:31 +01:00
dependabot-preview[bot] 68e90813f7 Bump @nextcloud/vue from 1.2.5 to 1.2.7
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 1.2.5 to 1.2.7.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v1.2.5...V1.2.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-26 19:11:15 +00:00
dependabot-preview[bot] e641fae203 Bump @nextcloud/auth from 1.1.0 to 1.2.1
Bumps [@nextcloud/auth](https://github.com/nextcloud/nextcloud-auth) from 1.1.0 to 1.2.1.
- [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.1.0...v1.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-26 02:17:40 +00:00
Nextcloud bot ab00e47506 [tx-robot] updated from transifex 2020-01-26 02:17:33 +00:00
dependabot-preview[bot] 8df18e03c4 Bump node-sass from 4.13.0 to 4.13.1
Bumps [node-sass](https://github.com/sass/node-sass) from 4.13.0 to 4.13.1.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.13.0...v4.13.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-26 02:15:12 +00:00
Nextcloud bot 41fd12e998 [tx-robot] updated from transifex 2020-01-25 02:16:52 +00:00
blizzz 4e36157f3d Merge pull request #19116 from nextcloud/fix/19104/fix-bundle-view
apps can have polyamorous relationships with bundles
2020-01-24 19:06:29 +01:00
Joas Schilling 0a2409451c Merge pull request #19113 from nextcloud/bugfix/19112/do-not-invert-avatars-in-dark-mode
Do not invert avatar colors when dark theme is enabled
2020-01-24 15:12:03 +01:00
Roeland Jago Douma 86fc698a86 Use correct appid for talk
Else it won't show up of course...

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-24 14:19:26 +01:00
Roeland Jago Douma aae3b5f638 Merge pull request #19111 from nextcloud/bugfix/noid/sticky-header-zindex
New file menu needs to be above the filelist header
2020-01-24 13:30:13 +01:00
Roeland Jago Douma 4c566f7498 Merge pull request #19100 from nextcloud/refactor/leafo-to-scssphp
Migrate leafo/scssphp to scssphp/scssphp
2020-01-24 13:13:20 +01:00
Roeland Jago Douma 2168e0ad89 Merge pull request #19109 from nextcloud/bugfix/18528/dark-theme-last-modified
Adjust filelist color handling to new dark theme value
2020-01-24 13:10:56 +01:00
Roeland Jago Douma 76229bd2e7 Merge pull request #19110 from nextcloud/backpost/recommended_apps/master
Update recommended apps
2020-01-24 13:09:07 +01:00
npmbuildbot[bot] dab1f5282a Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-24 11:56:01 +00:00
Arthur Schiwon faf18b5f02 apps can have polyamorous relationships with bundles
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-24 12:50:06 +01:00
Roeland Jago Douma 8f15e2d57a Use the target for file notifications
The node is not yet accessible if you did not accept the share yet.
So trying to get it results in an acception.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-24 12:43:17 +01:00
Marco Ambrosini 9a0f399609 Do not invert avatar colors when dark theme is enabled
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-01-24 12:14:03 +01:00
Julius Härtl 8c8fe4a5c0 New file menu needs to be above the filelist header
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-24 11:49:37 +01:00
Roeland Jago Douma 575b49a0e4 Fix width and icon
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-24 10:38:39 +01:00
Julius Härtl bfaf28452b Adjust filelist color handling to new dark theme value
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-24 10:31:18 +01:00
Christoph Wurst 607c55aaaa Add new recommended 18 apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-24 10:30:47 +01:00
Roeland Jago Douma a3780714fe Merge pull request #18913 from nextcloud/bugfix/fix_multiselect_actions
fix multiselect actions for files
2020-01-24 10:05:30 +01:00
Nextcloud bot 22e3a74f90 [tx-robot] updated from transifex 2020-01-24 02:16:52 +00:00
Christoph Wurst e4453c4c60 Update scssphp/scssphp to v1.0.3
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-23 16:55:18 +01:00
Christoph Wurst 30d985b639 Migrate leafo/scssphp to scssphp/scssphp
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-23 14:52:16 +01:00
blizzz 2f27f122e1 Merge pull request #19023 from nextcloud/enh+fix/17131/hasher-config
expose Argon2 options (as we did for bcrypt)
2020-01-23 11:47:43 +01:00
Daniel Kesselberg 96d1640a37 Use strpos to check that @ is the first char
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-01-23 10:25:52 +01:00
Daniel Kesselberg 7af3bcb4bc Add test to trigger "Trying to access array offset on value of type int"
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-01-23 10:18:14 +01:00
Roeland Jago Douma 8eefb58646 Merge pull request #19081 from nextcloud/dependabot/npm_and_yarn/babel/plugin-proposal-class-properties-7.8.3
Bump @babel/plugin-proposal-class-properties from 7.7.4 to 7.8.3
2020-01-23 09:07:46 +01:00
Nextcloud bot 2a01308d5c [tx-robot] updated from transifex 2020-01-23 02:18:24 +00:00
Roeland Jago Douma 179a8b6790 Merge pull request #18917 from nextcloud/enhancement/migrate-to-nextcloud-vue-1
Migrate to @nextcloud/vue 1.x.x
2020-01-22 19:49:39 +01:00
Arthur Schiwon 51d168019f extended documentation
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-22 17:45:27 +01:00
John Molakvoæ (skjnldsv) 05742c083c Migrate to @nextcloud/vue 1.x.x
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-22 17:33:49 +01:00
Arthur Schiwon f92ba2cebe ignore values that undershoot the minimum, go with default
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-22 16:04:57 +01:00
John Molakvoæ a6a224e7a1 Merge pull request #18929 from nextcloud/enh/sidebar/promise
Allow to await the sidebar
2020-01-22 14:44:32 +01:00
dependabot-preview[bot] d73373c275 Bump @babel/plugin-proposal-class-properties from 7.7.4 to 7.8.3
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel) from 7.7.4 to 7.8.3.
- [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.7.4...v7.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-22 13:26:29 +00:00
Roeland Jago Douma b3ea5ca3d4 Merge pull request #19067 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.8.3
Bump @babel/preset-env from 7.7.7 to 7.8.3
2020-01-22 14:24:32 +01:00
Roeland Jago Douma 4c94d88d3c Merge pull request #19041 from GrayFix/fix-admin_audit-preview
mb substring in audit_log
2020-01-22 11:38:05 +01:00
John Molakvoæ (skjnldsv) 2e52bdda21 Close handling
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-22 09:45:57 +00:00
John Molakvoæ (skjnldsv) 6201b0b5b1 Allow to await the sidebar
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-22 10:43:02 +01:00
GrayFix 3e482653b9 Update Application.php
Fix corruption for logging internal path with multibyte characters in file preview event

Signed-off-by: GrayFix <grayfix@gmail.com>
2020-01-22 13:21:57 +05:00
Roeland Jago Douma cbe2bafc7a Merge pull request #18990 from nextcloud/dependabot/npm_and_yarn/sass-loader-8.0.2
Bump sass-loader from 7.3.1 to 8.0.2
2020-01-22 09:16:56 +01:00
Roeland Jago Douma 6861286b25 Merge pull request #19054 from nextcloud/theming/use-fbicon
Use themed favicon-fb
2020-01-22 08:02:12 +01:00
Nextcloud bot 124f8b4c62 [tx-robot] updated from transifex 2020-01-22 02:18:03 +00:00
Roeland Jago Douma 31742d2ddd Merge pull request #18986 from nextcloud/dependabot/npm_and_yarn/handlebars-4.7.2
Bump handlebars from 4.5.3 to 4.7.2
2020-01-21 20:25:28 +01:00
Roeland Jago Douma a54d89a8fc Merge pull request #19053 from nextcloud/bugfix/noid/opsy-fix-loaded-controller-check
Fix loaded controller check
2020-01-21 20:12:43 +01:00
Daniel Kesselberg fc027ca801 Use proper ellipsis and replace sparkle with rocket
Thanks to nextcloud/calendar

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-01-21 17:56:58 +01:00
Joas Schilling d445f9b9fe Fix loaded controller check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-01-21 16:35:10 +01:00
Julius Härtl 70e3fcea2c Use themed favicon-fb
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-21 16:34:08 +01:00
Christoph Wurst 5061683b0e Merge pull request #18907 from nextcloud/enhancement/httplug-psr7
Update 3rdparty for HTTPlug and PSR7 adapter
2020-01-21 16:31:42 +01:00
npmbuildbot[bot] 524a8e8d00 Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-21 15:28:43 +00:00
John Molakvoæ (skjnldsv) 53516032f7 Compile templates
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-21 16:26:05 +01:00
dependabot-preview[bot] 49cada22ec Bump handlebars from 4.5.3 to 4.7.2
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.3 to 4.7.2.
- [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.5.3...v4.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-21 16:26:05 +01:00
Ruben Barkow be506f7b29 Set up a security policy
Signed-off-by: Ruben Barkow-Kuder <github@r.z11.de>
2020-01-21 16:25:52 +01:00
Roeland Jago Douma 239cdea82c Merge pull request #19045 from nextcloud/editorconfig-svg
change .editorconfig to not add newline on SVGs
2020-01-21 15:57:30 +01:00
Roeland Jago Douma 1c8730df12 Merge pull request #18765 from nextcloud/this/is/19
NC 19 development
2020-01-21 15:50:38 +01:00
Roeland Jago Douma 8728eab9d7 Fix app updates
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-21 14:00:58 +01:00
Roeland Jago Douma 1e41f36230 NC 19 development
We branched of stable18. So time to bump the version number.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-21 14:00:58 +01:00
Christian Oliff 7678ea6ce3 change .editorconfig to not add newline on SVGs
adding a newline to SVGs is unnecessary and increases filesize by 1 byte :-D
2020-01-21 20:42:05 +09:00
Roeland Jago Douma 8056bbeae3 Merge pull request #19035 from nextcloud/bugfix/noid/increase-timeout-for-downloads
Adjust unit test for #19017
2020-01-21 10:53:08 +01:00
blizzz 56c3ba6ac7 use getSystemValueInt
Co-Authored-By: kesselb <mail@danielkesselberg.de>

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-21 09:04:53 +01:00
Joas Schilling 827f3228a3 Adjust unit test for #19017
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-01-21 08:44:35 +01:00
Roeland Jago Douma b6f37502cc Merge pull request #18842 from nextcloud/dependabot/npm_and_yarn/nextcloud/l10n-1.0.1
Bump @nextcloud/l10n from 1.0.0 to 1.0.1
2020-01-21 08:28:29 +01:00
Nextcloud bot 53c37a170d [tx-robot] updated from transifex 2020-01-21 02:17:28 +00:00
Daniel Kesselberg 06c20a5138 Add link to help.nextcloud.com and bugbounty
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-01-20 22:52:57 +01:00
dependabot-preview[bot] 3a37c16b62 Bump @nextcloud/l10n from 1.0.0 to 1.0.1
Bumps [@nextcloud/l10n](https://github.com/nextcloud/nextcloud-l10n) from 1.0.0 to 1.0.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.0.0...v1.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-20 21:08:47 +00:00
dependabot-preview[bot] 14b62f61b9 Bump sass-loader from 7.3.1 to 8.0.2
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 7.3.1 to 8.0.2.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v7.3.1...v8.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 20:59:52 +00:00
Roeland Jago Douma 558acd430a Merge pull request #18993 from nextcloud/dependabot/npm_and_yarn/style-loader-1.1.3
Bump style-loader from 1.1.2 to 1.1.3
2020-01-20 21:57:43 +01:00
Roeland Jago Douma d9a7e16a3b Merge pull request #19017 from nextcloud/bugfix/noid/increase-timeout-for-downloads
Increase the timeout for app downloads
2020-01-20 21:40:42 +01:00
Roeland Jago Douma 70dc31cdff Merge pull request #18992 from nextcloud/dependabot/npm_and_yarn/nextcloud/paths-1.1.0
Bump @nextcloud/paths from 1.0.0 to 1.1.0
2020-01-20 20:54:58 +01:00
Arthur Schiwon 171bb98229 expose Argon2 options (as we did for bcrypt)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-20 18:21:50 +01:00
Joas Schilling c7e81c2c52 Increase the timeout for app downloads
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-01-20 16:20:09 +01:00
dependabot-preview[bot] 840b077060 Bump @nextcloud/paths from 1.0.0 to 1.1.0
Bumps @nextcloud/paths from 1.0.0 to 1.1.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-20 14:08:07 +00:00
dependabot-preview[bot] 277ed1b9b0 Bump style-loader from 1.1.2 to 1.1.3
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v1.1.2...v1.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 13:22:41 +00:00
Roeland Jago Douma ddf6942d90 Merge pull request #18924 from nextcloud/fix/18848/array-index
Make getServerHost more robust to faulty user input
2020-01-20 14:22:18 +01:00
Roeland Jago Douma be9b279f98 Merge pull request #18994 from nextcloud/dependabot/npm_and_yarn/vue-router-3.1.5
Bump vue-router from 3.1.3 to 3.1.5
2020-01-20 14:20:36 +01:00
dependabot-preview[bot] f354561fcb Bump vue-router from 3.1.3 to 3.1.5
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.1.3 to 3.1.5.
- [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.3...v3.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-20 12:22:37 +00:00
Roeland Jago Douma bb48bcf0eb Merge pull request #18989 from nextcloud/dependabot/npm_and_yarn/chenfengyuan/vue-qrcode-1.0.2
Bump @chenfengyuan/vue-qrcode from 1.0.1 to 1.0.2
2020-01-20 12:35:07 +01:00
dependabot-preview[bot] 80ae78dc1e Bump @chenfengyuan/vue-qrcode from 1.0.1 to 1.0.2
Bumps [@chenfengyuan/vue-qrcode](https://github.com/fengyuanchen/vue-qrcode) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/fengyuanchen/vue-qrcode/releases)
- [Changelog](https://github.com/fengyuanchen/vue-qrcode/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fengyuanchen/vue-qrcode/compare/v1.0.1...v1.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-20 11:25:44 +00:00
Roeland Jago Douma 6a53029b1d Merge pull request #18991 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-import-2.20.0
Bump eslint-plugin-import from 2.19.1 to 2.20.0
2020-01-20 11:03:05 +01:00
Nextcloud bot 4c1e631be9 [tx-robot] updated from transifex 2020-01-20 02:17:27 +00:00
dependabot-preview[bot] 56ab5f9500 Bump eslint-plugin-import from 2.19.1 to 2.20.0
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.19.1 to 2.20.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.19.1...v2.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-19 02:19:35 +00:00
Nextcloud bot 434fd438d9 [tx-robot] updated from transifex 2020-01-19 02:17:21 +00:00
dependabot-preview[bot] c91358bd96 Bump @babel/preset-env from 7.7.7 to 7.8.3
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.7 to 7.8.3.
- [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.7.7...v7.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-19 02:17:08 +00:00
Nextcloud bot a61bad6ede [tx-robot] updated from transifex 2020-01-18 02:18:30 +00:00
John Molakvoæ 54012a6abd Merge pull request #18939 from nextcloud/fix-cursor-on-disabled-contenteditable-divs
Fix cursor on disabled contenteditable divs
2020-01-17 16:38:40 +01:00
Nextcloud bot fb9f56e22c [tx-robot] updated from transifex 2020-01-17 02:17:46 +00:00
Roeland Jago Douma 07474b5dab Merge pull request #18764 from nextcloud/fix/18744/duplicate-activity-sidebar
Prevent duplicate entries in file sidebar
2020-01-17 02:21:16 +01:00
Roeland Jago Douma d1c8469110 Merge pull request #18940 from nextcloud/force-share-accept
Make the share accept process optional
2020-01-17 01:14:00 +01:00
Gary Kim d8881faa8e Prevent duplicate entries in file sidebar
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-01-17 07:51:34 +08:00
Julius Härtl be6f3242ca Make sure the whole file list header is sticky and properly stacks to other headers
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-17 00:24:34 +01:00
Roeland Jago Douma c9acba1e12 Merge pull request #18455 from nextcloud/feature/18420/new-user-alignment
fix userlist alignment
2020-01-16 23:24:02 +01:00
Julius Härtl 176aeab594 Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-16 22:07:52 +01:00
Julius Härtl eb4c42d3d1 Make auto accepting the default and provide setting to enforce the share acceptance process
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-16 22:07:51 +01:00
Julius Härtl fa966ebaf1 Remove global share accepter since auto-accepting is the default
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-16 22:07:51 +01:00
Julius Härtl a9c224c204 Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-16 20:20:22 +01:00
Julius Härtl c9a17f3875 Fix indentation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-16 20:18:01 +01:00
Julius Härtl 011d70d882 Fix eslint errors in settings
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-16 20:12:00 +01:00
GretaD 0cff56b449 fix indentation and 3 dot menu
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-01-16 20:12:00 +01:00
GretaD 04281407f1 fix popover menu overlapping
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-01-16 20:12:00 +01:00
GretaD 5fa31f1335 make actionButton sticky
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-01-16 20:12:00 +01:00
GretaD a958eacd9c add close button
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-01-16 20:12:00 +01:00
GretaD b5f4146d7c fix new user table
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-01-16 20:12:00 +01:00
GretaD 99a64e7003 fix userlist alignment
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-01-16 20:12:00 +01:00
Daniel Calviño Sánchez 914172690c Fix cursor on disabled contenteditable divs
The cursor should be a default cursor, as the text cursor implies that
text can be introduced.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-16 18:28:36 +01:00
John Molakvoæ cf771c5816 Merge pull request #18927 from nextcloud/fix/sidebar/fileinfomodel
Fix Sidebar legacy FileInfoModel requirement
2020-01-16 17:12:02 +01:00
Joas Schilling 24d37e97ba Merge pull request #18925 from nextcloud/add-color-background-hover-css-variable
Add color background hover css variable
2020-01-16 15:29:04 +01:00
John Molakvoæ (skjnldsv) 613860e0f4 Fix Sidebar legacy FileInfoModel requirement
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-16 15:07:57 +01:00
Marco Ambrosini dd8141b36b Add color background hover css variable
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-01-16 12:41:20 +01:00
Daniel Kesselberg 8331d8296b Make getServerHost more robust to faulty user input
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-01-16 11:26:29 +01:00
Nextcloud bot 5de3ea0417 [tx-robot] updated from transifex 2020-01-16 02:18:01 +00:00
Roeland Jago Douma 312f7c9c07 Merge pull request #18894 from nextcloud/fix/note/debounce
Save sharing note on close or submit
2020-01-16 00:31:23 +01:00
Roeland Jago Douma d8f3759105 Merge pull request #18910 from nextcloud/fix/accept_shares_by_default
Listen to the right even for auto share accept
2020-01-16 00:11:15 +01:00
John Molakvoæ (skjnldsv) 9a0fa63a5c Do not save on update, use submit
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-16 00:00:19 +01:00
Roeland Jago Douma 960d89ae31 Listen to the right even for auto share accept
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-15 23:10:21 +01:00
GretaD 674da6ea3c fix multiselect actions for files
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-01-15 17:52:27 +01:00
John Molakvoæ 3d03d82026 Merge pull request #18732 from nextcloud/enh/files-sidebar
Sidebar polishing
2020-01-15 12:32:37 +01:00
John Molakvoæ cc05aa2044 Merge pull request #18799 from nextcloud/fix/inheritedshares/no_link_shares
Do not show link shares in inherited list
2020-01-15 11:06:34 +01:00
John Molakvoæ (skjnldsv) 1c984645f7 Close after click
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-15 11:04:53 +01:00
Christoph Wurst 33cd918767 Update 3rdparty for HTTPlug and PSR7 adapter
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-15 11:02:40 +01:00
Julius Härtl ad1aec3085 Only show tag selector if tags are set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-15 11:00:31 +01:00
Julius Härtl 8a5632d3a1 Do not show sidebar on rename (fixes #18613)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-15 11:00:07 +01:00
Julius Härtl f7b267a61b Properly set current file info when switching the details view
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-15 11:00:07 +01:00
Roeland Jago Douma fc77f530d7 Don't show link shares hash in inherited share list
This adds no value at all. Just showing the text "(Shared link)" now.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-15 09:21:53 +01:00
Roeland Jago Douma 0f238623f6 Merge pull request #18803 from nextcloud/fix/18716/other_with_access_navigate_only_on_delete
Only allow navigation to a folder if you have access
2020-01-15 09:11:34 +01:00
Roeland Jago Douma aa9878e867 Only allow navigation to a folder if you have access
Fixes #18716

If you can delete the share then you have access yourself to that shares
location.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-15 07:40:41 +01:00
Roeland Jago Douma 060dd35ef9 Merge pull request #18873 from nextcloud/design/install-page
Install page design fixes
2020-01-15 07:24:57 +01:00
Roeland Jago Douma 9daf35b704 Merge pull request #18892 from nextcloud/fix/17828/smaller_text_previews
Proper text previews
2020-01-15 07:24:12 +01:00
Roeland Jago Douma 303aeb2374 Merge pull request #18898 from nextcloud/fix/2fa-page-max-width
Fix max width on 2FA pages
2020-01-15 07:23:49 +01:00
Nextcloud bot 4359394f44 [tx-robot] updated from transifex 2020-01-15 02:18:22 +00:00
Roeland Jago Douma 17256781a6 Proper text previews
Fixes #17828

* Modified the preview provider to provider smaller fonts for the
  previes (so it is not so screaming)
* Modified the sidebar to show plain text and markdown files full size.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-14 22:38:04 +00:00
Roeland Jago Douma ec0d8b8de0 Merge pull request #18886 from nextcloud/node_exists-instead-of-catch
use `nodeExists` instead of catching exceptions
2020-01-14 23:36:59 +01:00
Christoph Wurst a673ff3a63 Fix max width on 2FA pages
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-14 19:37:54 +01:00
Joas Schilling 510a29f871 Merge pull request #18859 from nextcloud/add-password-protected-by-talk-option-to-shares
Add "Password protected by Talk" option to shares
2020-01-14 18:17:42 +01:00
Daniel Calviño Sánchez 897111404a Add "Password protected by Talk" option to shares
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-14 17:15:02 +01:00
Georg Ehrke 4d299d1c66 Changes the Birthday calendar color to slightly brighter one
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-01-14 16:48:48 +01:00
Jan-Christoph Borchardt d873236d36 Remove outdated centering code for database switcher on install page
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-01-14 14:18:16 +01:00
Jan-Christoph Borchardt 19397059d6 Add explanatory bit for recommended apps, fix #18631
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-01-14 14:18:16 +01:00
John Molakvoæ 092a1fb90f Merge pull request #18838 from nextcloud/dependabot/npm_and_yarn/nextcloud/axios-1.3.1
Bump @nextcloud/axios from 1.1.0 to 1.3.1
2020-01-14 11:30:13 +01:00
Robin Appelman 47fd6730e0 use nodeExists instead of catching exceptions
makes the intent of the code more clear imo

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-01-14 11:03:14 +01:00
dependabot-preview[bot] fe83d5990d Bump @nextcloud/axios from 1.1.0 to 1.3.1
Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 1.1.0 to 1.3.1.
- [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.1.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-01-14 09:21:47 +00:00
blizzz 950856d5bb Merge pull request #17717 from nextcloud/fix/noid/ldap-relax-getHome
relax strict getHome behaviour for LDAP users in a shadow state
2020-01-14 09:57:24 +01:00
Roeland Jago Douma 209e7ab9f8 Merge pull request #18869 from nextcloud/feature/noid/create-hover-color-variable
Create hover color variable
2020-01-14 09:49:30 +01:00
Roeland Jago Douma bda67669bd Merge pull request #18862 from nextcloud/bugfix/talk-2663/register-with-potentially-updated-namespace
Register with potentially updated namespace
2020-01-14 08:37:09 +01:00
Roeland Jago Douma e7b308cf0a Merge pull request #18805 from nextcloud/bugfix/direct-edit-create
Check if file already exists during file creation
2020-01-14 08:34:39 +01:00
Nextcloud bot 0f6e7a7b22 [tx-robot] updated from transifex 2020-01-14 02:18:15 +00:00
Marco Ambrosini 22e32501a5 Create hover color variable
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-01-13 20:03:47 +01:00
Julius Härtl ab4b9a6df5 CHeck if file already exists during file creation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-13 18:10:12 +01:00
Arthur Schiwon 489ed878e1 ensure that only valid group members are returned
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-13 17:13:08 +01:00
Roeland Jago Douma 1bf44e1d97 Merge pull request #18860 from nextcloud/fix/license-headers
Fix license headers
2020-01-13 16:47:12 +01:00
Roeland Jago Douma f2428f8b0c Merge pull request #18837 from nextcloud/dependabot/npm_and_yarn/underscore-1.9.2
Bump underscore from 1.9.1 to 1.9.2
2020-01-13 15:48:00 +01:00
Joas Schilling df9edf0108 Allow to force register the namespace
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-01-13 15:15:50 +01:00
Joas Schilling efcf246f07 Register the namespace after reading the new file
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-01-13 15:15:49 +01:00
Christoph Wurst 6127c288e8 Fix license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-13 14:23:49 +01:00
dependabot-preview[bot] f61a5c6856 Bump underscore from 1.9.1 to 1.9.2
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.9.1...1.9.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-13 13:15:46 +00:00
Nextcloud bot c2266da941 [tx-robot] updated from transifex 2020-01-13 02:18:13 +00:00
Roeland Jago Douma 11cae98394 Merge pull request #18786 from nextcloud/bugfix/noid/fix_fileName_apiEndPointName_issue
AppFetcher: Distinguish between fileName and endpointName
2020-01-12 21:08:46 +01:00
Nextcloud bot e39d96af3d [tx-robot] updated from transifex 2020-01-12 02:18:41 +00:00
Roeland Jago Douma 106ea9fdaa Merge pull request #18819 from nextcloud/bugfix/guest-container-size
Limit the size of the container on guest pages
2020-01-11 08:23:09 +01:00
Roeland Jago Douma 9eb16da35e Merge pull request #18806 from nextcloud/bugfix/contactsmenu-fix-min
Set the contactsmenu height without min calculation
2020-01-11 08:19:33 +01:00
Roeland Jago Douma 12933b5105 Merge pull request #18814 from nextcloud/backport/18771/master
[master] Fix sharing note placeholder
2020-01-11 08:19:18 +01:00
Roeland Jago Douma 40195fb8dc Merge pull request #18817 from nextcloud/bugfix/18751
Narrow error button styling scope
2020-01-11 08:18:53 +01:00
Nextcloud bot ff18ad7f00 [tx-robot] updated from transifex 2020-01-11 02:18:05 +00:00
John Molakvoæ b805d0c764 Fix webdav url (#18804)
Fix webdav url
2020-01-10 19:11:32 +01:00
Julius Härtl 7e5956a906 Limit the size of the container on guest pages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-10 17:09:40 +01:00
Julius Härtl 41134dafa0 Narrow error button styling scope
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-10 16:50:20 +01:00
John Molakvoæ 3e43ae7bd6 Add placeholder
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-10 14:50:24 +00:00
John Molakvoæ (skjnldsv) 8eded83d50 Fix sharing note placeholder
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-10 14:50:23 +00:00
Julius Härtl fdf5408b7d Set the contactsmenu height without min calculation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-10 13:56:59 +01:00
John Molakvoæ (skjnldsv) 22079347ea Fix webdav url
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-10 12:13:05 +01:00
Roeland Jago Douma 4b28da1dd9 Merge pull request #18752 from nextcloud/bugfix/contacts-menu-scroll
Fix contacts menu sizing
2020-01-10 08:05:42 +01:00
Roeland Jago Douma e886ce7218 Merge pull request #18783 from nextcloud/fix/sidebar/do-not-wait-domcontentloaded-for-init
Init OCA.Files.Sidebar right away
2020-01-10 07:53:27 +01:00
Roeland Jago Douma cfa08ab262 Merge pull request #18787 from acs-ferreira/patch-1
Remove reference link for memcached options as domain doesn't exist anymore
2020-01-10 07:53:00 +01:00
Nextcloud bot e25d5196b7 [tx-robot] updated from transifex 2020-01-10 02:18:08 +00:00
Roeland Jago Douma edd957140a Merge pull request #18780 from nextcloud/bugfix/18779/safari_madness
Tell Safari to watch out for changes of filter
2020-01-09 20:01:33 +01:00
Roeland Jago Douma 3f47762933 Merge pull request #18777 from nextcloud/bugfix/noid/direct-after-reset
Set direct login after password reset
2020-01-09 20:01:08 +01:00
Carlos Ferreira bf8603c8a1 Update config.sample.php
Remove reference link as domain doesn't exist anymore.
2020-01-09 17:43:35 +01:00
Georg Ehrke 2f89f5fd13 AppFetcher: Distinguish between fileName and endpointName
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-01-09 17:29:00 +01:00
John Molakvoæ (skjnldsv) 2261629fe5 Init OCA.Files.Sidebar right away
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-09 15:46:52 +00:00
Roeland Jago Douma 8d1980339d Merge pull request #18774 from nextcloud/fix/18762/mimetype-checker-for-users
make the mime type checker for flow available to regular users
2020-01-09 16:29:51 +01:00
Roeland Jago Douma 68f2670d3c Merge pull request #18773 from nextcloud/fix/18623/transfer-padding
Add more padding in transfer ownership
2020-01-09 16:09:56 +01:00
Georg Ehrke cfdf12d8d6 Tell Safari to watch out for changes of filter aka attempt no. 1 to fix #18779
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-01-09 14:42:32 +01:00
Julius Härtl c66645efce Set direct login after password reset
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-09 13:26:40 +01:00
Arthur Schiwon 4a0926f5de make the mime type checker for flow available to regular users
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-09 12:29:26 +01:00
Gary Kim 603a48cfca Add more padding in transfer ownership
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-01-09 19:27:46 +08:00
blizzz 31c74e87c8 Merge pull request #18766 from nextcloud/bugfix/workflow-filter-store
Filter disabled operations out of the rule list
2020-01-09 12:11:22 +01:00
Roeland Jago Douma 1437c21d51 Merge pull request #18738 from nextcloud/fix/clean-up-provider-registry-user-delete
Clean up 2FA provider registry when a user is deleted
2020-01-09 11:34:05 +01:00
Roeland Jago Douma 601718b2d6 Merge pull request #18757 from nextcloud/fix/transfer-ownership-autocomplete-matching
Combine exact and other matches for transfer ownership
2020-01-09 11:07:30 +01:00
Julius Härtl 302fd1ae05 Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-09 08:47:16 +01:00
Julius Härtl d1a81a0225 Fallback to proper default values
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-09 08:46:30 +01:00
Julius Härtl 460ea6d6ce Filter disabled operations out of the rule list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-09 08:46:22 +01:00
Christoph Wurst 78ee689e54 Combine exact and other matches for transfer ownership
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-08 19:45:20 +01:00
Julius Härtl f2e466905f Fix contacts menu sizing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-08 15:22:44 +01:00
Christoph Wurst 60d4b45e89 Clean up 2FA provider registry when a user is deleted
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-08 10:51:44 +01:00
Arthur Schiwon f657ded6ec remove superfluous tests
- user_ldap is not exposed to public api, it is always behind ldap_proxy
- this is too much for a unit test
- integration tests cover userExists implicitly

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-08 09:21:22 +01:00
Arthur Schiwon 1068b860ff adjust tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-08 09:21:22 +01:00
Arthur Schiwon 5cae135b94 decouple userExists from userExistsOnLDAP check
allows to mark users as offline right away, avoids a gap of being not a
user and causing weird side effects

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-08 09:21:22 +01:00
Arthur Schiwon 411a47cadb relax strict getHome behaviour for LDAP users in a shadow state
* simplifies deletion process
* less strange behaviour when looking up home storage (as long as it is local)
* thus could enable transfer ownerships after user went invisible on ldap

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-08 09:21:21 +01:00
j3l11234 fa4d71c456 Add support for download share on old android browser
Signed-off-by: j3l11234 <297259024@qq.com>
2019-10-21 21:29:49 +08:00
4730 changed files with 146533 additions and 73699 deletions
+166 -224
View File
@@ -1,49 +1,4 @@
kind: pipeline
name: jsunit
steps:
- name: jsunit
image: nextcloudci/jsunit:jsunit-5
commands:
- ./autotest-js.sh
- curl -o codecov.sh https://codecov.io/bash
- sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5; fi"
- sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5; fi"
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: webpack-build
steps:
- name: build
image: nextcloudci/node:node-4
commands:
- npm ci
- npm run build
- name: changes
image: nextcloudci/node:node-4
commands:
- git status
- bash -c "[[ ! \"`git status --porcelain `\" ]] || ( echo 'Uncommited changes in webpack build' && exit 1 )"
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: checkers
steps:
@@ -52,70 +7,11 @@ steps:
commands:
- git submodule update --init
- name: checkers
image: nextcloudci/php7.2:php7.2-13
image: nextcloudci/php7.3:latest
commands:
- ./autotest-checkers.sh
secrets: [ github_token ]
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: handlebars
steps:
- name: handlebars
image: node
commands:
- npm ci
- ./build/compile-handlebars-templates.sh
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: syntax-and-phan
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --init
- name: syntax-php7.2
image: nextcloudci/php7.2:php7.2-13
commands:
- composer install
- ./lib/composer/bin/parallel-lint --exclude lib/composer/jakub-onderka/ --exclude 3rdparty/symfony/polyfill-php70/Resources/stubs/ --exclude 3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/ --exclude lib/composer/composer/autoload_static.php --exclude 3rdparty/composer/autoload_static.php --exclude 3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/RiakCache.php .
- name: syntax-php7.3
image: nextcloudci/php7.3:php7.3-4
commands:
- composer install
- ./lib/composer/bin/parallel-lint --exclude lib/composer/jakub-onderka/ --exclude 3rdparty/symfony/polyfill-php70/Resources/stubs/ --exclude 3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/ --exclude 3rdparty/paragonie/random_compat/lib/ --exclude lib/composer/composer/autoload_static.php --exclude 3rdparty/composer/autoload_static.php --exclude 3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/RiakCache.php .
- name: syntax-php7.4
image: nextcloudci/php7.4:2
commands:
- composer install
- ./lib/composer/bin/parallel-lint --exclude lib/composer/jakub-onderka/ --exclude 3rdparty/symfony/polyfill-php70/Resources/stubs/ --exclude 3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/ --exclude 3rdparty/paragonie/random_compat/lib/ --exclude lib/composer/composer/autoload_static.php --exclude 3rdparty/composer/autoload_static.php --exclude 3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/RiakCache.php .
#- name: phan
# image: nextcloudci/php7.2:php7.2-13
# commands:
# - composer install
# - composer require --dev "phan/phan:0.11.1"
# - ./lib/composer/phan/phan/phan -k build/.phan/config.php
# - php ./build/.phan/plugin-checker.php
trigger:
branch:
- master
@@ -327,18 +223,18 @@ steps:
image: docker:git
commands:
- git submodule update --init
- name: nodb-php7.2
image: nextcloudci/php7.2:php7.2-13
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
- name: nodb-php7.3
image: nextcloudci/php7.3:php7.3-4
image: nextcloudci/php7.3:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
- name: nodb-php7.4
image: nextcloudci/php7.4:2
image: nextcloudci/php7.4:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
- name: nodb-php8.0
image: nextcloudci/php8.0:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
@@ -364,18 +260,18 @@ steps:
image: docker:git
commands:
- git submodule update --init
- name: sqlite-php7.2
image: nextcloudci/php7.2:php7.2-13
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
- name: sqlite-php7.3
image: nextcloudci/php7.3:php7.3-4
image: nextcloudci/php7.3:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
- name: sqlite-php7.4
image: nextcloudci/php7.4:2
image: nextcloudci/php7.4:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
- name: sqlite-php8.0
image: nextcloudci/php8.0:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
@@ -394,15 +290,15 @@ trigger:
---
kind: pipeline
name: mariadb10.1-php7.2
name: mariadb10.1-php7.3
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --init
- name: mariadb10.1-php7.2
image: nextcloudci/php7.2:php7.2-13
- name: mariadb10.1-php7.3
image: nextcloudci/php7.3:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
@@ -430,15 +326,15 @@ trigger:
---
kind: pipeline
name: mariadb10.2-php7.2
name: mariadb10.2-php7.3
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --init
- name: mariadb10.2-php7.2
image: nextcloudci/php7.2:php7.2-13
- name: mariadb10.2-php7.3
image: nextcloudci/php7.3:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
@@ -465,15 +361,15 @@ trigger:
---
kind: pipeline
name: mariadb10.3-php7.2
name: mariadb10.3-php7.3
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --init
- name: mariadb10.3-php7.2
image: nextcloudci/php7.2:php7.2-13
- name: mariadb10.3-php7.3
image: nextcloudci/php7.3:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
@@ -500,18 +396,24 @@ trigger:
---
kind: pipeline
name: mariadb10.4-php7.3
name: mariadb10.4-php7.4
#name: mariadb10.4-php8.0
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --init
- name: mariadb10.4-php7.3
image: nextcloudci/php7.3:php7.3-4
- name: mariadb10.4-php7.4
image: nextcloudci/php7.4:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
#- name: mariadb10.4-php8.0
# image: nextcloudci/php8.0:latest
# commands:
# - bash tests/drone-run-php-tests.sh || exit 0
# - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
services:
- name: cache
@@ -536,15 +438,15 @@ trigger:
---
kind: pipeline
name: mysql8.0-php7.2
name: mysql8.0-php7.4
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --init
- name: mysql-php7.2
image: nextcloudci/php7.2:php7.2-13
- name: mysql-php7.4
image: nextcloudci/php7.4:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
@@ -573,15 +475,15 @@ trigger:
---
kind: pipeline
name: mysql5.7-php7.2
name: mysql5.7-php7.4
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --init
- name: mysql-php7.2
image: nextcloudci/php7.2:php7.2-13
- name: mysql-php7.4
image: nextcloudci/php7.4:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
@@ -639,15 +541,15 @@ trigger:
---
kind: pipeline
name: mysql5.6-php7.2
name: mysql5.6-php7.3
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --init
- name: mysql5.6-php7.2
image: nextcloudci/php7.2:php7.2-13
- name: mysql5.6-php7.3
image: nextcloudci/php7.3:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
@@ -710,15 +612,15 @@ trigger:
---
kind: pipeline
name: postgres10-php7.2
name: postgres10-php7.3
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --init
- name: postgres-php7.2
image: nextcloudci/php7.2:php7.2-13
- name: postgres-php7.3
image: nextcloudci/php7.3:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- sleep 10 # gives the database enough time to initialize
@@ -745,15 +647,15 @@ trigger:
---
kind: pipeline
name: postgres11-php7.2
name: postgres11-php7.4
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --init
- name: postgres-php7.2
image: nextcloudci/php7.2:php7.2-13
- name: postgres-php7.4
image: nextcloudci/php7.4:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- sleep 10 # gives the database enough time to initialize
@@ -781,18 +683,24 @@ trigger:
---
kind: pipeline
name: mysqlmb4-php7.2
name: mysqlmb4-php7.4
#name: mysqlmb4-php8.0
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --init
- name: mysqlmb4-php7.2
image: nextcloudci/php7.2:php7.2-13
- name: mysqlmb4-php7.4
image: nextcloudci/php7.4:latest
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
#- name: mysqlmb4-php8.0
# image: nextcloudci/php8.0:latest
# commands:
# - bash tests/drone-run-php-tests.sh || exit 0
# - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
services:
- name: cache
@@ -926,6 +834,31 @@ trigger:
- pull_request
- push
---
kind: pipeline
name: integration-avatar
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --init
- name: integration-auth
image: nextcloudci/integration-php7.3:integration-php7.3-2
commands:
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- cd build/integration
- ./run.sh features/avatar.feature
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: integration-maintenance-mode
@@ -1450,7 +1383,7 @@ steps:
commands:
# JavaScript files are not used in integration tests so it is not needed to
# build them.
- git clone --branch stable18 --depth 1 https://github.com/nextcloud/spreed apps/spreed
- git clone --depth 1 https://github.com/nextcloud/spreed apps/spreed
- name: integration-sharing-v1-video-verification
image: nextcloudci/integration-php7.3:integration-php7.3-2
commands:
@@ -1612,41 +1545,42 @@ kind: pipeline
name: integration-ldap-openldap-uid-features
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --init
- name: integration-ldap-openldap-uid-features
image: nextcloudci/integration-php7.3:integration-php7.3-2
commands:
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- ./occ config:system:set redis host --value=cache
- ./occ config:system:set redis port --value=6379 --type=integer
- ./occ config:system:set redis timeout --value=0 --type=integer
- ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
- ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
- cd build/integration
- ./run.sh ldap_features/openldap-uid-username.feature
- name: submodules
image: docker:git
commands:
- git submodule update --init
- name: integration-ldap-openldap-uid-features
image: nextcloudci/integration-php7.3:integration-php7.3-2
commands:
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
- ./occ config:system:set redis host --value=cache
- ./occ config:system:set redis port --value=6379 --type=integer
- ./occ config:system:set redis timeout --value=0 --type=integer
- ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
- ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
- cd build/integration
- ./run.sh ldap_features/openldap-uid-username.feature
services:
- name: cache
image: redis
- name: openldap
image: nextcloudci/openldap:openldap-7
environment:
SLAPD_DOMAIN: nextcloud.ci
SLAPD_ORGANIZATION: Nextcloud
SLAPD_PASSWORD: admin
SLAPD_ADDITIONAL_MODULES: memberof
- name: cache
image: redis
- name: openldap
image: nextcloudci/openldap:openldap-7
environment:
SLAPD_DOMAIN: nextcloud.ci
SLAPD_ORGANIZATION: Nextcloud
SLAPD_PASSWORD: admin
SLAPD_ADDITIONAL_MODULES: memberof
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
branch:
- master
- stable*
event:
- pull_request
- push
type: docker
---
kind: pipeline
@@ -1794,36 +1728,36 @@ trigger:
- pull_request
- push
---
kind: pipeline
name: acceptance-app-comments
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --init
- name: acceptance-app-comments
image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-comments --selenium-server selenium:4444 allow-git-repository-modifications features/app-comments.feature
services:
- name: selenium
image: selenium/standalone-firefox:2.53.1-beryllium
environment:
# Reduce default log level for Selenium server (INFO) as it is too
# verbose.
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
#---
#kind: pipeline
#name: acceptance-app-comments
#
#steps:
#- name: submodules
# image: docker:git
# commands:
# - git submodule update --init
#- name: acceptance-app-comments
# image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
# commands:
# - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-comments --selenium-server selenium:4444 allow-git-repository-modifications features/app-comments.feature
#
#services:
#- name: selenium
# image: selenium/standalone-firefox:2.53.1-beryllium
# environment:
# # Reduce default log level for Selenium server (INFO) as it is too
# # verbose.
# JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
#
#trigger:
# branch:
# - master
# - stable*
# event:
# - pull_request
# - push
#
---
kind: pipeline
name: acceptance-app-files
@@ -2104,13 +2038,15 @@ steps:
commands:
- git submodule update --init
- name: nodb-codecov
image: nextcloudci/php7.2:php7.2-13
image: nextcloudci/php7.4:latest
environment:
CODECOV_TOKEN:
from_secret: CODECOV_TOKEN
commands:
- phpenmod xdebug
- TEST_SELECTION=NODB ./autotest.sh sqlite
- wget https://codecov.io/bash -O codecov.sh
- sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
- sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
- bash codecov.sh -Z -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
services:
- name: cache
@@ -2133,13 +2069,15 @@ steps:
commands:
- git submodule update --init
- name: db-codecov
image: nextcloudci/php7.2:php7.2-13
image: nextcloudci/php7.4:latest
environment:
CODECOV_TOKEN:
from_secret: CODECOV_TOKEN
commands:
- phpenmod xdebug
- TEST_SELECTION=QUICKDB ./autotest.sh sqlite
- wget https://codecov.io/bash -O codecov.sh
- sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
- sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
- bash codecov.sh -Z -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
services:
- name: cache
@@ -2162,14 +2100,16 @@ steps:
commands:
- git submodule update --init
- name: object-store
image: nextcloudci/php7.2:php7.2-13
image: nextcloudci/php7.4:latest
environment:
CODECOV_TOKEN:
from_secret: CODECOV_TOKEN
commands:
- phpenmod xdebug
- ./tests/drone-wait-objectstore.sh
- TEST_SELECTION=PRIMARY-s3 ./autotest.sh sqlite
- wget https://codecov.io/bash -O codecov.sh
- sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
- sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
- bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
services:
- name: fake-s3
@@ -2193,14 +2133,16 @@ steps:
commands:
- git submodule update --init
- name: object-store
image: nextcloudci/php7.2:php7.2-13
image: nextcloudci/php7.4:latest
environment:
CODECOV_TOKEN:
from_secret: CODECOV_TOKEN
commands:
- phpenmod xdebug
- ./tests/drone-wait-objectstore.sh
- TEST_SELECTION=PRIMARY-azure ./autotest.sh sqlite
- wget https://codecov.io/bash -O codecov.sh
- sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
- sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
- bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
services:
- name: azurite
@@ -2325,7 +2267,7 @@ trigger:
# commands:
# - git submodule update --init
#- name: memcache-redis-cluster
# image: nextcloudci/php7.2:php7.2-13
# image: nextcloudci/php7.3:latest
# commands:
# - phpenmod xdebug
# - sleep 20
+11
View File
@@ -10,5 +10,16 @@ indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
[*.feature]
indent_size = 2
indent_style = space
[*.yml]
indent_size = 2
indent_style = space
[*.md]
trim_trailing_whitespace = false
[*.svg]
insert_final_newline = false
+1 -1
View File
@@ -10,7 +10,7 @@ module.exports = {
dayNames: true,
firstDay: true
},
extends: ['nextcloud'],
extends: ['@nextcloud'],
rules: {
'no-tabs': 'warn',
}
+14 -6
View File
@@ -1,18 +1,22 @@
/core/js/dist/*.js binary
/core/js/dist/*.js.map binary
/apps/accessibility/js/accessibility.js binary
/apps/accessibility/js/accessibility.js.map binary
/apps/accessibility/js/*.js binary
/apps/accessibility/js/*.js.map binary
/apps/comments/js/*.js binary
/apps/comments/js/*.js.map binary
/apps/dashboard/js/*.js binary
/apps/dashboard/js/*.js.map binary
/apps/files/js/dist/*.js binary
/apps/files/js/dist/*.js.map binary
/apps/files_sharing/js/dist/*.js binary
/apps/files_sharing/js/dist/*.js.map binary
/apps/files_versions/js/files_versions.js binary
/apps/files_versions/js/files_versions.js.map binary
/apps/oauth2/js/oauth2.js binary
/apps/oauth2/js/oauth2.js.map binary
/apps/files_trashbin/js/*.js binary
/apps/files_trashbin/js/*.js.map binary
/apps/files_versions/js/*.js binary
/apps/files_versions/js/*.js.map binary
/apps/oauth2/js/*.js binary
/apps/oauth2/js/*.js.map binary
/apps/settings/js/vue* binary
/apps/systemtags/js/systemtags.js binary
/apps/systemtags/js/systemtags.js.map binary
@@ -20,5 +24,9 @@
/apps/twofactor_backupcodes/js/*.js.map binary
/apps/updatenotification/js/updatenotification.js binary
/apps/updatenotification/js/updatenotification.js.map binary
/apps/user_status/js/*.js binary
/apps/user_status/js/*.js.map binary
/apps/weather_status/js/*.js binary
/apps/weather_status/js/*.js.map binary
/apps/workflowengine/js/*.js binary
/apps/workflowengine/js/*.js.map binary
-2
View File
@@ -1,2 +0,0 @@
# You can add one username per supported platform and one custom link
custom: https://www.bountysource.com/teams/nextcloud
+26 -8
View File
@@ -1,5 +1,5 @@
---
name: Bug report
name: 🐛 Bug report
about: Help us improving by reporting a bug
labels: bug, 0. Needs triage
---
@@ -9,18 +9,33 @@ Thanks for reporting issues back to Nextcloud!
Note: This is the **issue tracker of Nextcloud**, please do NOT use this to get answers to your questions or get help for fixing your installation. This is a place to report bugs to developers, after your server has been debugged. You can find help debugging your system on our home user forums: https://help.nextcloud.com or, if you use Nextcloud in a large organization, ask our engineers on https://portal.nextcloud.com. See also https://nextcloud.com/support for support options.
This is the bug tracker for the Server component. Find other components at https://github.com/nextcloud/
Nextcloud is an open source project backed by Nextcloud GmbH. Most of our volunteers are home users and thus primarily care about issues that affect home users. Our paid engineers prioritize issues of our customers. If you are neither a home user nor a customer, consider paying somebody to fix your issue, do it yourself or become a customer.
For reporting potential security issues please see https://nextcloud.com/security/
Guidelines for submitting issues:
To make it possible for us to deal with the bug please fill out below information carefully.
You can also use the Issue Template application to prefill most of the required information: https://apps.nextcloud.com/apps/issuetemplate
* Please search the existing issues first, it's likely that your issue was already reported or even fixed.
- Go to https://github.com/nextcloud and type any word in the top search/command bar. You probably see something like "We couldnt find any repositories matching ..." then click "Issues" in the left navigation.
- You can also filter by appending e. g. "state:open" to the search string.
- More info on search syntax within github: https://help.github.com/articles/searching-issues
* This repository https://github.com/nextcloud/server/issues is *only* for issues within the Nextcloud Server code. This also includes the apps: files, encryption, external storage, sharing, deleted files, versions, LDAP, and WebDAV Auth
* SECURITY: Report any potential security bug to us via our HackerOne page (https://hackerone.com/nextcloud) following our security policy (https://nextcloud.com/security/) instead of filing an issue in our bug tracker.
If you are a customer and are using Nextcloud Enterprise, please submit your issue directly in the Nextcloud Portal https://portal.nextcloud.com so it gets resolved more quickly by our dedicated engineers.
Note that Nextcloud is an open source project backed by Nextcloud GmbH. Most of our volunteers are home users and thus primarily care about issues that affect home users. Our paid engineers prioritize issues of our customers. If you are neither a home user nor a customer, consider paying somebody to fix your issue, do it yourself or become a customer.
* The issues in other components should be reported in their respective repositories: You will find them in our GitHub Organization (https://github.com/nextcloud/)
* You can also use the Issue Template app to prefill most of the required information: https://apps.nextcloud.com/apps/issuetemplate
-->
<!--- Please keep this note for other contributors -->
### How to use GitHub
* Please use the 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are affected by the same issue.
* Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
* Subscribe to receive notifications on status change and new comments.
### Steps to reproduce
1.
2.
@@ -116,6 +131,9 @@ Eventually replace sensitive data as the name/IP-address of your LDAP server or
**Operating system:**
### Logs
<!--- Reports without logs might be closed as unqualified reports! -->
#### Web server error log
<details>
<summary>Web server error log</summary>
+48 -35
View File
@@ -1,35 +1,48 @@
---
name: Feature request
about: Suggest an idea for this project
labels: enhancement, 0. Needs triage
---
<!--
Thanks for reporting issues back to Nextcloud!
Note: This is the **issue tracker of Nextcloud**, please do NOT use this to get answers to your questions or get help for fixing your installation. This is a place to report bugs to developers, after your server has been debugged. You can find help debugging your system on our home user forums: https://help.nextcloud.com or, if you use Nextcloud in a large organization, ask our engineers on https://portal.nextcloud.com. See also https://nextcloud.com/support for support options.
This is the bug tracker for the Server component. Find other components at https://github.com/nextcloud/
For reporting potential security issues please see https://nextcloud.com/security/
To make it possible for us to best accommodate your use case, please fill out the information below carefully.
You can also use the Issue Template application to prefill most of the required information: https://apps.nextcloud.com/apps/issuetemplate
If you are a customer and are using Nextcloud Enterprise, please submit your issue directly in the Nextcloud Portal https://portal.nextcloud.com so it gets resolved more quickly by our dedicated engineers.
Note that Nextcloud is an open source project backed by Nextcloud GmbH. Most of our volunteers are home users and thus primarily care about issues that affect home users. Our paid engineers prioritize issues of our customers. If you are neither a home user nor a customer, consider paying somebody to fix your issue, do it yourself or become a customer.
-->
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
---
name: 🚀 Feature request
about: Suggest an idea for this project
labels: enhancement, 0. Needs triage
---
<!--
Thanks for reporting issues back to Nextcloud!
Note: This is the **issue tracker of Nextcloud**, please do NOT use this to get answers to your questions or get help for fixing your installation. This is a place to report bugs to developers, after your server has been debugged. You can find help debugging your system on our home user forums: https://help.nextcloud.com or, if you use Nextcloud in a large organization, ask our engineers on https://portal.nextcloud.com. See also https://nextcloud.com/support for support options.
Nextcloud is an open source project backed by Nextcloud GmbH. Most of our volunteers are home users and thus primarily care about issues that affect home users. Our paid engineers prioritize issues of our customers. If you are neither a home user nor a customer, consider paying somebody to fix your issue, do it yourself or become a customer.
Guidelines for submitting issues:
* Please search the existing issues first, it's likely that your issue was already reported or even fixed.
- Go to https://github.com/nextcloud and type any word in the top search/command bar. You probably see something like "We couldnt find any repositories matching ..." then click "Issues" in the left navigation.
- You can also filter by appending e. g. "state:open" to the search string.
- More info on search syntax within github: https://help.github.com/articles/searching-issues
* This repository https://github.com/nextcloud/server/issues is *only* for issues within the Nextcloud Server code. This also includes the apps: files, encryption, external storage, sharing, deleted files, versions, LDAP, and WebDAV Auth
* SECURITY: Report any potential security bug to us via our HackerOne page (https://hackerone.com/nextcloud) following our security policy (https://nextcloud.com/security/) instead of filing an issue in our bug tracker.
* The issues in other components should be reported in their respective repositories: You will find them in our GitHub Organization (https://github.com/nextcloud/)
-->
<!--- Please keep this note for other contributors -->
### How to use GitHub
* Please use the 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are interested into the same feature.
* Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
* Subscribe to receive notifications on status change and new comments.
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
+8
View File
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: ❓ Question
url: https://help.nextcloud.com/
about: I have a question …
- name: 💼 Nextcloud Enterprise
url: https://portal.nextcloud.com/
about: If you are a customer and are using Nextcloud Enterprise, please submit your issue directly in the Nextcloud Portal so it can be resolved by our dedicated engineers more quickly.
-2
View File
@@ -1,5 +1,3 @@
firstPRMergeComment: >
Thanks for your first pull request and welcome to the community!
Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22
Most developers hang out on IRC. So join \#nextcloud-dev on Freenode for a chat!
-30
View File
@@ -1,30 +0,0 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Pull request checks
on: pull_request
jobs:
block-merges-eol:
name: Block merges for EOL branches
# Only run on stableXX branches
if: startsWith( github.base_ref, 'stable')
runs-on: ubuntu-latest
steps:
- name: Download updater config
run: curl https://raw.githubusercontent.com/nextcloud/updater_server/production/config/config.php --output config.php
- name: Set server major version environment
run: |
# retrieve version number from branch reference
server_major=$(echo "${{ github.base_ref }}" | sed -En 's/stable//p')
echo "server_major=$server_major" >> $GITHUB_ENV
- name: Checking if ${{ env.server_major }} is EOL
run: |
php -r 'echo json_encode(require_once "config.php");' | jq --arg version "${{ env.server_major }}" '.stable[$version]["100"].eol' | grep --silent -i 'false'
@@ -0,0 +1,19 @@
name: Dependabot
on: pull_request
jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
# Default github action approve
- uses: hmarr/auto-approve-action@v2.0.0
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Nextcloud bot approve and merge request
- uses: ahmadnassri/action-dependabot-auto-merge@v1
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
target: patch
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}
-13
View File
@@ -1,13 +0,0 @@
on: pull_request
name: Pull request checks
jobs:
commit-message-check:
name: Block fixup and squash commits
runs-on: ubuntu-latest
steps:
- name: Run check
uses: xt0rted/block-autosquash-commits-action@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
+40
View File
@@ -0,0 +1,40 @@
name: Lint
on: pull_request
jobs:
php-linters:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.3', '7.4', '8.0']
name: php${{ matrix.php-versions }} lint
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up php${{ matrix.php-versions }}
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php-versions }}
coverage: none
- name: Lint
run: composer run lint
php-cs-fixer:
name: php-cs check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up php
uses: shivammathur/setup-php@master
with:
php-version: 7.4
coverage: none
tools: cs2pr
- name: Install dependencies
run: composer i
- name: Run coding standards check
run: |
composer run cs:check -- --format=checkstyle | cs2pr
composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
shell: bash
+79
View File
@@ -0,0 +1,79 @@
name: Node
on:
pull_request:
push:
branches:
- master
- stable*
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies & build
run: |
make clean
npm ci
npm run build --if-present
- name: Check webpack build changes
run: |
bash -c "[[ ! \"`git status --porcelain `\" ]] || ( echo 'Uncommited changes in webpack build' && git status && exit 1 )"
env:
CI: true
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm ci
- name: Test
run: npm run test
jsunit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Test
run: ./autotest-js.sh
handlebars:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm ci
- name: Run compile
run: ./build/compile-handlebars-templates.sh
+56
View File
@@ -0,0 +1,56 @@
name: PHPUnit
on:
pull_request:
push:
branches:
- master
- stable*
jobs:
phpunit-oci8:
runs-on: ubuntu-latest
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: [ '7.4' ]
databases: [ 'oci' ]
name: php${{ matrix.php-versions }}-${{ matrix.databases }}
services:
oracle:
image: deepdiver/docker-oracle-xe-11g # "wnameless/oracle-xe-11g-r2"
ports:
- "1521:1521"
steps:
- name: Checkout server
uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, oci8
tools: phpunit:8.5.2
coverage: none
- name: Set up Nextcloud
run: |
mkdir data
./occ maintenance:install --verbose --database=oci --database-name=XE --database-host=127.0.0.1 --database-port=1521 --database-user=autotest --database-pass=owncloud --admin-user admin --admin-pass admin
php -f index.php
- name: PHPUnit
working-directory: tests
run: phpunit --configuration phpunit-autotest.xml --group DB,SLOWDB
+26
View File
@@ -0,0 +1,26 @@
name: Psalm Security Analysis
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0'
jobs:
psalm:
name: Psalm
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive
- name: Psalm
uses: docker://vimeo/psalm-github-actions
with:
security_analysis: true
report_file: results.sarif
- name: Upload Security Analysis results to GitHub
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: results.sarif
@@ -0,0 +1,54 @@
name: Static code analysis
on: [pull_request]
jobs:
static-code-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Set up php7.4
uses: shivammathur/setup-php@master
with:
php-version: 7.4
coverage: none
- name: Composer install
run: composer i
- name: Psalm
run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
- name: Check diff
run: git diff -- . ':!lib/composer'
- name: Show potential changes in Psalm baseline
run: |
bash -c "[[ ! \"`git status --porcelain build/psalm-baseline.xml`\" ]] || ( echo 'Uncommited changes in Psalm baseline' && git status && git diff build/psalm-baseline.xml)"
static-code-analysis-ocp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Set up php7.4
uses: shivammathur/setup-php@master
with:
php-version: 7.4
coverage: none
- name: Composer install
run: composer i
- name: Psalm
run: composer run psalm -- -c psalm-ocp.xml --monochrome --no-progress --output-format=text --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
- name: Check diff
run: git diff -- . ':!lib/composer'
- name: Show potential changes in Psalm baseline
run: |
bash -c "[[ ! \"`git status --porcelain build/psalm-baseline-ocp.xml`\" ]] || ( echo 'Uncommited changes in Psalm baseline' && git status && git diff build/psalm-baseline.xml)"
@@ -0,0 +1,46 @@
name: Update Psalm baseline
on:
schedule:
- cron: '5 4 * * *'
jobs:
update-psalm-baseline:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Set up php7.4
uses: shivammathur/setup-php@master
with:
php-version: 7.4
coverage: none
- name: Composer install
run: composer i
- name: Psalm
run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline
- name: Reset composer.json and composer.lock
run: |
rm -rf lib/composer
git checkout -- composer.json composer.lock lib/composer
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.MACHINE_USER_PAT }}
push-to-fork: nextcloud-pr-bot/server
commit-message: Update psalm baseline
committer: GitHub <noreply@github.com>
author: Nextcloud-PR-Bot <nextcloud-pr-bot@users.noreply.github.com>
signoff: true
branch: automated/noid/psalm-baseline-update
title: '[Automated] Update psalm-baseline.xml'
body: |
Auto-generated update psalm-baseline.xml with fixed psalm warnings
labels: |
automated pr
reviewers: rullzer, morrisjobke, kesselb
+5
View File
@@ -16,6 +16,8 @@
!/apps/accessibility
!/apps/cloud_federation_api
!/apps/comments
!/apps/contactsinteraction
!/apps/dashboard
!/apps/dav
!/apps/files
!/apps/federation
@@ -37,6 +39,8 @@
!/apps/updatenotification
!/apps/theming
!/apps/twofactor_backupcodes
!/apps/user_status
!/apps/weather_status
!/apps/workflowengine
/apps/files_external/3rdparty/irodsphp/PHPUnitTest
/apps/files_external/3rdparty/irodsphp/web
@@ -69,6 +73,7 @@ CVS/*
.svn/*
RCS/*
*.backup*
.php_cs.cache
# kdevelop
.kdev
+2 -6
View File
@@ -61,16 +61,12 @@
RewriteCond %{HTTP_USER_AGENT} DavClnt
RewriteRule ^$ /remote.php/webdav/ [L,R=302]
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^\.well-known/host-meta /public.php?service=host-meta [QSA,L]
RewriteRule ^\.well-known/host-meta\.json /public.php?service=host-meta-json [QSA,L]
RewriteRule ^\.well-known/webfinger /public.php?service=webfinger [QSA,L]
RewriteRule ^\.well-known/nodeinfo /public.php?service=nodeinfo [QSA,L]
RewriteRule ^\.well-known/carddav /remote.php/dav/ [R=301,L]
RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L]
RewriteRule ^remote/(.*) remote.php [QSA,L]
RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
RewriteCond %{REQUEST_URI} !^/\.well-known/(acme-challenge|pki-validation)/.*
RewriteRule ^(?:\.|autotest|occ|issue|indie|db_|console).* - [R=404,L]
RewriteRule ^\.well-known/(?!acme-challenge|pki-validation) /index.php [QSA,L]
RewriteRule ^(?:\.(?!well-known)|autotest|occ|issue|indie|db_|console).* - [R=404,L]
</IfModule>
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
+6 -2
View File
@@ -164,6 +164,7 @@ ideaship <ideaship@users.noreply.github.com>
Ignacio Daniel Rostagno <ignaciorostagno@vijona.com.ar>
infoneo <infoneo@yahoo.pl>
Insanemal <insanemal@gmail.com>
Tobias Perschon <tobias@perschon.at> Tobias Perschon <tofuSCHNITZEL@users.noreply.github.com>
Tobias Ramforth <tobias@ramforth.com> Tobias Ramforth <tobias.ramforth@udo.edu>
Tobias Ramforth <tobias@ramforth.com> irgsmirx <tobias.ramforth@udo.edu>
Isaac Rosenberg <irosenb7@gmail.com>
@@ -380,6 +381,8 @@ tbelau666 <thomas.belau@gmx.de>
TheSFReader <TheSFReader@gmail.com>
Thibaut GRIDEL <tgridel@free.fr>
thomas <thomas@thomas-VirtualBox.(none)>
Thomas Citharel <nextcloud@tcit.fr> Thomas Citharel <tcit@tcit.fr>
Thomas Citharel <nextcloud@tcit.fr> Thomas Citharel <github@tcit.fr>
Thomas Müller <thomas.mueller@tmit.eu> Thomas Mueller <thomas.mueller@tmit.eu>
Thomas Müller <thomas.mueller@tmit.eu> Thomas Müller <DeepDiver1975@users.noreply.github.com>
Thomas Olsen <tol@tanghus>
@@ -405,8 +408,9 @@ Victor Dubiniuk <dubiniuk@owncloud.com> Victor Dubiniuk <victor.dubiniuk@gmail.c
Victor Dubiniuk <dubiniuk@owncloud.com> VicDeo <dubiniuk@owncloud.com>
Victor Dubiniuk <dubiniuk@owncloud.com> VicDeo <victor.dubiniuk@gmail.com>
Vincent Cloutier <vincent1cloutier@gmail.com>
Vincent Petry <pvince81@owncloud.com> Vincent Petry <PVince81@yahoo.fr>
Vincent Petry <pvince81@owncloud.com> Vincent Petry <vincent@vvortex.site>
Vincent Petry <vincent@nextcloud.com> Vincent Petry <PVince81@yahoo.fr>
Vincent Petry <vincent@nextcloud.com> Vincent Petry <vincent@vvortex.site>
Vincent Petry <vincent@nextcloud.com> Vincent Petry <pvince81@owncloud.com>
Vinicius Cubas Brand <vinicius@eita.org.br> Vinicius Cubas Brand <viniciuscb@gmail.com>
Vitaly Kuznetsov <vitty@altlinux.ru>
Vladimir Sapronov <vladimir.sapronov@gmail.com>
+20
View File
@@ -0,0 +1,20 @@
<?php
declare(strict_types=1);
require_once './lib/composer/autoload.php';
use Nextcloud\CodingStandard\Config;
$config = new Config();
$config
->getFinder()
->ignoreVCSIgnored(true)
->exclude('config')
->exclude('data')
->notPath('3rdparty')
->notPath('build/stubs')
->notPath('composer')
->notPath('vendor')
->in(__DIR__);
return $config;
+48
View File
@@ -133,3 +133,51 @@ file_filter = translationfiles/<lang>/accessibility.po
source_file = translationfiles/templates/accessibility.pot
source_lang = en
type = PO
[nextcloud.provisioning_api]
file_filter = translationfiles/<lang>/provisioning_api.po
source_file = translationfiles/templates/provisioning_api.pot
source_lang = en
type = PO
[nextcloud.lookup_server_connector]
file_filter = translationfiles/<lang>/lookup_server_connector.po
source_file = translationfiles/templates/lookup_server_connector.pot
source_lang = en
type = PO
[nextcloud.dashboard-shipped-with-server]
file_filter = translationfiles/<lang>/dashboard.po
source_file = translationfiles/templates/dashboard.pot
source_lang = en
type = PO
[nextcloud.contactsinteraction]
file_filter = translationfiles/<lang>/contactsinteraction.po
source_file = translationfiles/templates/contactsinteraction.pot
source_lang = en
type = PO
[nextcloud.cloud_federation_api]
file_filter = translationfiles/<lang>/cloud_federation_api.po
source_file = translationfiles/templates/cloud_federation_api.pot
source_lang = en
type = PO
[nextcloud.admin_audit]
file_filter = translationfiles/<lang>/admin_audit.po
source_file = translationfiles/templates/admin_audit.pot
source_lang = en
type = PO
[nextcloud.user_status]
file_filter = translationfiles/<lang>/user_status.po
source_file = translationfiles/templates/user_status.pot
source_lang = en
type = PO
[nextcloud.weather_status]
file_filter = translationfiles/<lang>/weather_status.po
source_file = translationfiles/templates/weather_status.pot
source_lang = en
type = PO
+71 -19
View File
@@ -5,17 +5,18 @@ Nextcloud is written by:
- Achim Königs <garfonso@tratschtante.de>
- Adam Williamson <awilliam@redhat.com>
- Administrator "Administrator@WINDOWS-2012"
- Adrian Brzezinski <adrian.brzezinski@eo.pl>
- Aldo "xoen" Giambelluca <xoen@xoen.org>
- Alecks Gates <alecks.g@gmail.com>
- Alejandro Varela <epma01@gmail.com>
- Alex Weirig <alex.weirig@technolink.lu>
- Alexander A. Klimov <grandmaster@al2klimov.de>
- Alexander Bergolth <leo@strike.wu.ac.at>
- Alexey Pyltsyn <lex61rus@gmail.com>
- Allan Nordhøy <epost@anotheragency.no>
- Andreas Fischer <bantu@owncloud.com>
- Andreas Pflug <dev@admin4.org>
- Andrew Brown <andrew@casabrown.com>
- Andrius <andrius.kulbis@ktu.lt>
- André Gaul <gaul@web-yard.de>
- Ardinis <Ardinis@users.noreply.github.com>
- Ari Selseng <ari@selseng.net>
@@ -23,6 +24,7 @@ Nextcloud is written by:
- Artem Kochnev <MrJeos@gmail.com>
- Artem Sidorenko <artem@posteo.de>
- Arthur Schiwon <blizzz@arthur-schiwon.de>
- Ashod Nakashian <ashod.nakashian@collabora.co.uk>
- Axel Helmert <axel.helmert@luka.de>
- Bart Visscher <bartv@thisnet.nl>
- Bartek Przybylski <bart.p.pl@gmail.com>
@@ -30,6 +32,7 @@ Nextcloud is written by:
- Bastien Ho <bastienho@urbancube.fr>
- Benjamin Diele <benjamin@diele.be>
- Benjamin Liles <benliles@arch.tamu.edu>
- Bernhard Ostertag <bernieo.code@gmx.de>
- Bernhard Posselt <dev@bernhard-posselt.com>
- Bernhard Reiter <ockham@raz.or.at>
- Birk Borkason <daniel.niccoli@gmail.com>
@@ -45,13 +48,13 @@ Nextcloud is written by:
- Byron Marohn <combustible@live.com>
- Carla Schroder <carla@owncloud.com>
- Carlos Cerrillo <ccerrillo@gmail.com>
- Carlos Ferreira <carlos@reendex.com>
- Carsten Wiedmann <carsten_sttgt@gmx.de>
- Christian <16852529+cviereck@users.noreply.github.com>
- Christian Berendt <berendt@b1-systems.de>
- Christian Jürges <christian@eqipe.ch>
- Christian Kampka <christian@kampka.net>
- Christian Oliff <christianoliff@yahoo.com>
- Christian Weiske <cweiske@cweiske.de>
- Christoph Schaefer "christophł@wolkesicher.de"
- Christoph Seitz <christoph.seitz@posteo.de>
- Christoph Wickert <cwickert@suse.de>
@@ -60,6 +63,7 @@ Nextcloud is written by:
- Christopher Schäpers <kondou@ts.unde.re>
- Christopher T. Johnson <ctjctj@gmail.com>
- Clark Tomlinson <fallen013@gmail.com>
- Clement Wong <git@clement.hk>
- Cornelius Kölbel <cornelius.koelbel@netknights.it>
- Cthulhux <git@tuxproject.de>
- Damjan Georgievski <gdamjan@gmail.com>
@@ -77,8 +81,8 @@ Nextcloud is written by:
- Derek <derek.kelly27@gmail.com>
- Dominik Schmidt <dev@dominik-schmidt.de>
- Donquixote <marjunebatac@gmail.com>
- Elijah Martin-Merrill <elijah@nyp-itsours.com>
- Eric Masseran <rico.masseran@gmail.com>
- Estelle Poulin <dev@inspiredby.es>
- Evgeny Golyshev <eugulixes@gmail.com>
- Fabrizio Steiner <fabrizio.steiner@gmail.com>
- Felix Epp <work@felixepp.de>
@@ -88,6 +92,7 @@ Nextcloud is written by:
- Felix Nüsse <Felix.nuesse@t-online.de>
- Felix Rupp <github@felixrupp.com>
- Filis Futsarov <filisko@users.noreply.github.com>
- Florent <florent@coppint.com>
- Florin Peter <github@florin-peter.de>
- Flávio Gomes da Silva Lisboa <flavio.lisboa@serpro.gov.br>
- Frank Isemann <frank@isemann.name>
@@ -95,16 +100,25 @@ Nextcloud is written by:
- François Kubler <francois@kubler.org>
- Frederic Werner <frederic-github@werner-net.work>
- Frédéric Fortier <frederic.fortier@oronospolytechnique.com>
- Gary Kim <gary@garykim.dev>
- Georg Ehrke <oc.list@georgehrke.com>
- GrayFix <grayfix@gmail.com>
- Greta Doci <gretadoci@gmail.com>
- GretaD <gretadoci@gmail.com>
- Guillaume COMPAGNON <gcompagnon@outlook.com>
- Guillaume Virlet <github@virlet.org>
- Hemanth Kumar Veeranki <hems.india1997@gmail.com>
- Hendrik Leppelsack <hendrik@leppelsack.de>
- Holger Hees <holger.hees@gmail.com>
- Ilja Neumann <ineumann@owncloud.com>
- Individual IT Services <info@individual-it.net>
- Iscle <albertiscle9@gmail.com>
- J0WI <J0WI@users.noreply.github.com>
- Jaakko Salo <jaakkos@gmail.com>
- Jacob Neplokh <me@jacobneplokh.com>
- Jakob Sack <mail@jakobsack.de>
- Jakub Onderka <ahoj@jakubonderka.cz>
- Jan C. Borchardt <hey@jancborchardt.net>
- Jan-Christoph Borchardt <hey@jancborchardt.net>
- Jan-Philipp Litza <jplitza@users.noreply.github.com>
- Janis Köhr <janis.koehr@novatec-gmbh.de>
@@ -119,26 +133,29 @@ Nextcloud is written by:
- Joel S <joel.devbox@protonmail.com>
- Johan Björk <johanimon@gmail.com>
- Johannes Ernst <jernst@indiecomputing.com>
- Johannes Koenig <mail@jokoenig.de>
- Johannes Leuker <j.leuker@hosting.de>
- Johannes Riedel <joeried@users.noreply.github.com>
- Johannes Schlichenmaier <johannes@schlichenmaier.info>
- Johannes Willnecker <johannes@willnecker.com>
- John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
- Jonas Sulzer <jonas@violoncello.ch>
- Jonny007-MKD <1-23-4-5@web.de>
- Jos Poortvliet <jos@opensuse.org>
- Jose Quinteiro <github@quinteiro.org>
- Juan Pablo Villafañez <jvillafanez@solidgear.es>
- Juan Pablo Villafáñez <jvillafanez@solidgear.es>
- Juan Pablo Villafáñez <jvillafanez@solidgear.es>
- Julien Lutran <julien.lutran@corp.ovh.com>
- Julien Veyssier <eneiluj@posteo.net>
- Julius Haertl <jus@bitgrid.net>
- Julius Härtl <jus@bitgrid.net>
- Jörn Friedrich Dreyer <jfd@butonic.de>
- Jürgen Haas <juergen@paragon-es.de>
- KB7777 <k.burkowski@gmail.com>
- Kamil Domanski <kdomanski@kdemail.net>
- Kawohl <john@owncloud.com>
- Kenneth Newwood <kenneth@newwood.name>
- Kevin Lanni <therealklanni@gmail.com>
- Kevin Ndung'u <kevgathuku@gmail.com>
- Kim Brose <kim.brose@rwth-aachen.de>
- Klaas Freitag <freitag@owncloud.com>
- Knut Ahlers <knut@ahlers.me>
- Ko- <k.stoffelen@cs.ru.nl>
@@ -149,17 +166,20 @@ Nextcloud is written by:
- Lars Knickrehm <mail@lars-sh.de>
- Laurens Post <Crote@users.noreply.github.com>
- Laurens Post <lkpost@scept.re>
- Lauris Binde <laurisb@users.noreply.github.com>
- Lennart Rosam <hello@takuto.de>
- Lennart Rosam <lennart.rosam@medien-systempartner.de>
- Leon Klingele <git@leonklingele.de>
- Leon Klingele <leon@struktur.de>
- Liam Dennehy <liam@wiemax.net>
- Liam JACK <liamjack@users.noreply.github.com>
- Lionel Elie Mamane <lionel@mamane.lu>
- Loki3000 <github@labcms.ru>
- Lorenzo M. Catucci <lorenzo@sancho.ccd.uniroma2.it>
- Lukas Reschke <lukas@statuscode.ch>
- Lukas Stabe <lukas@stabe.de>
- Luke Policinski <lpolicinski@gmail.com>
- Magnus Walbeck <mw@mwalbeck.org>
- Manish Bisht <manish.bisht490@gmail.com>
- Marcel Klehr <mklehr@gmx.net>
- Marcel Waldvogel <marcel.waldvogel@uni-konstanz.de>
- Marin Treselj <marin@pixelipo.com>
@@ -167,7 +187,6 @@ Nextcloud is written by:
- Mario Kolling <mario.kolling@serpro.gov.br>
- Marius Blüm <marius@lineone.io>
- Marius David Wieschollek <git.public@mdns.eu>
- Mark Berezovsky <xpnf@yandex.ru>
- Markus Goetz <markus@woboq.com>
- Markus Staab <markus.staab@redaxo.de>
- MartB <mart.b@outlook.de>
@@ -188,6 +207,7 @@ Nextcloud is written by:
- Michael Gapczynski <GapczynskiM@gmail.com>
- Michael Göhler <somebody.here@gmx.de>
- Michael Jobst <mjobst+github@tecratech.de>
- Michael Kuhn <michael@ikkoku.de>
- Michael Letzgus <www@chronos.michael-letzgus.de>
- Michael Roitzsch <reactorcontrol@icloud.com>
- Michael Roth <michael.roth@rz.uni-augsburg.de>
@@ -195,31 +215,34 @@ Nextcloud is written by:
- Michael Zamot <michael@zamot.io>
- Michał Węgrzynek <michal.wegrzynek@malloc.com.pl>
- Miguel Prokop <miguel.prokop@vtu.com>
- Mikael Hammarin <mikael@try2.se>
- Mitar <mitar.git@tnode.com>
- Mohammed Abdellatif <m.latief@gmail.com>
- Morris Jobke <hey@morrisjobke.de>
- Nicolai Ehemann <en@enlightened.de>
- Nicolas Grekas <nicolas.grekas@gmail.com>
- Nils <git@to.nilsschnabel.de>
- Nils Wittenbrink <nilswittenbrink@web.de>
- Nmz <nemesiz@nmz.lt>
- Noveen Sachdeva <noveen.sachdeva@research.iiit.ac.in>
- Ole Ostergaard <ole.c.ostergaard@gmail.com>
- Ole Ostergaard <ole.ostergaard@knime.com>
- Oliver Gasser <oliver.gasser@gmail.com>
- Oliver Kohl D.Sc. <oliver@kohl.bz>
- Oliver Salzburg <oliver.salzburg@gmail.com>
- Oliver Wegner <void1976@gmail.com>
- Olivier Paroz <github@oparoz.com>
- Owen Winkler <a_github@midnightcircus.com>
- Pascal de Bruijn <pmjdebruijn@pcode.nl>
- Patrick Paysant <patrick.paysant@linagora.com>
- Patrick Paysant <ppaysant@linagora.com>
- Patrik Kernstock <info@pkern.at>
- Pauli Järvinen <pauli.jarvinen@gmail.com>
- Pavel Krasikov <klonishe@gmail.com>
- Pellaeon Lin <nfsmwlin@gmail.com>
- Peter Kubica <peter@kubica.ch>
- Phil Davis <phil.davis@inf.org>
- Philipp Kapfer <philipp.kapfer@gmx.at>
- Philipp Schaffrath <github@philipp.schaffrath.email>
- Philipp Staiger <philipp@staiger.it>
- Philippe Jung <phil.jung@free.fr>
- Pierre Ozoux <pierre@ozoux.net>
- Pierre Rudloff <contact@rudloff.pro>
@@ -236,12 +259,13 @@ Nextcloud is written by:
- RealRancor <fisch.666@gmx.de>
- Rello <Rello@users.noreply.github.com>
- Remco Brenninkmeijer <requist1@starmail.nl>
- Renaud Fortier <Renaud.Fortier@fsaa.ulaval.ca>
- Richard Steinmetz <richard@steinmetz.cloud>
- Rinat Gumirov <rinat.gumirov@mail.ru>
- Robert Dailey <rcdailey@gmail.com>
- Robin Appelman <robin@icewind.nl>
- Robin McCorkell <robin@mccorkell.me.uk>
- Robin Müller <coder-hugo@users.noreply.github.com>
- Robin Windey <ro.windey@gmail.com>
- Roeland Jago Douma <roeland@famdouma.nl>
- Roger Szabo <roger.szabo@web.de>
- Roland Tapken <roland@bitarbeiter.net>
@@ -256,11 +280,13 @@ Nextcloud is written by:
- Sam Bull <aa6bs0@sambull.org>
- Sam Tuke <mail@samtuke.com>
- Samuel CHEMLA <chemla.samuel@gmail.com>
- Sander <brantje@gmail.com>
- Sander Ruitenbeek <s.ruitenbeek@getgoing.nl>
- Sander Ruitenbeek <sander@grids.be>
- Sandro Lutz <sandro.lutz@temparus.ch>
- Sascha Sambale <mastixmc@gmail.com>
- Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
- Scott Dutton <exussum12@users.noreply.github.com>
- Scott Dutton <scott@exussum.co.uk>
- Scott Shambarger <devel@shambarger.net>
- Sean Comeau <sean@ftlnetworks.ca>
- Sebastian Döll <sebastian.doell@libasys.de>
@@ -271,9 +297,13 @@ Nextcloud is written by:
- Senorsen <senorsen.zhang@gmail.com>
- Serge Martin <edb@sigluy.net>
- Sergej Nikolaev <kinolaev@gmail.com>
- Sergej Pupykin <pupykin.s@gmail.com>
- Sergey Shliakhov <husband.sergey@gmail.com>
- Sergio Bertolin <sbertolin@solidgear.es>
- Sergio Bertolín <sbertolin@solidgear.es>
- Simon Könnecke <simonkoennecke@gmail.com>
- Simon Spannagel <simonspa@kth.se>
- Simounet <contact@simounet.net>
- Sjors van der Pluijm <sjors@desjors.nl>
- Stefan Rado <owncloud@sradonia.net>
- Stefan Schneider <stefan.schneider@squareweave.com.au>
@@ -282,34 +312,41 @@ Nextcloud is written by:
- Steffen Lindner <mail@steffen-lindner.de>
- Stephan Müller <mail@stephanmueller.eu>
- Stephan Peijnik <speijnik@anexia-it.com>
- Stephen Cuppett <steve@cuppett.com>
- Steven Bühner <buehner@me.com>
- Sujith H <sharidasan@owncloud.com>
- Sujith Haridasan <sujith.h@gmail.com>
- Sven Strickroth <email@cs-ware.de>
- Sylvia van Os <sylvia@hackerchick.me>
- Tekhnee <info@tekhnee.org>
- Temtaime <temtaime@gmail.com>
- Thibault Coupin <thibault.coupin@gmail.com>
- Thibaut GRIDEL <tgridel@free.fr>
- Thomas Citharel <tcit@tcit.fr>
- Thomas Citharel <github@tcit.fr>
- Thomas Citharel <nextcloud@tcit.fr>
- Thomas Ebert <thomas.ebert@usability.de>
- Thomas Müller <thomas.mueller@tmit.eu>
- Thomas Pulzer <t.pulzer@kniel.de>
- Thomas Tanghus <thomas@tanghus.net>
- Tiago Flores <tiago.flores@yahoo.com.br>
- Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
- Tim Dettrick <t.dettrick@uq.edu.au>
- Tim Obert <tobert@w-commerce.de>
- Tim Terhorst <mynamewastaken+gitlab@gmail.com>
- TimObert <tobert@w-commerce.de>
- Timo Förster <tfoerster@webfoersterei.de>
- Tobia De Koninck <LEDfan@users.noreply.github.com>
- Tobia De Koninck <tobia@ledfan.be>
- Tobias Brunner <tobias@tobru.ch>
- Tobias Kaminsky <tobias@kaminsky.me>
- Tobias Perschon <tobias@perschon.at>
- Tom Needham <tom@owncloud.com>
- Tomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com>
- Tor Lillqvist <tml@collabora.com>
- Unknown <anpz.asutp@gmail.com>
- Valdnet <47037905+Valdnet@users.noreply.github.com>
- Victor Dubiniuk <dubiniuk@owncloud.com>
- Viktor Szépe <viktor@szepe.net>
- Vincent Chan <plus.vincchan@gmail.com>
- Vincent Petry <pvince81@owncloud.com>
- Vincent Petry <vincent@nextcloud.com>
- Vinicius Cubas Brand <vinicius@eita.org.br>
- Vitor Mattos <vitor@php.rio>
- Vlastimil Pecinka <pecinka@email.cz>
@@ -319,15 +356,17 @@ Nextcloud is written by:
- Xheni Myrtaj <myrtajxheni@gmail.com>
- Xuanwo <xuanwo@yunify.com>
- adrien <adrien.waksberg@believedigital.com>
- aler9 <46489434+aler9@users.noreply.github.com>
- alexweirig <alex.weirig@technolink.lu>
- b108@volgograd "b108@volgograd"
- bladewing <lukas@ifflaender-family.de>
- bline <scottbeck@gmail.com>
- blizzz <blizzz@arthur-schiwon.de>
- brad2014 <brad2014@users.noreply.github.com>
- brumsel <brumsel@losecatcher.de>
- call-me-matt <nextcloud@matthiasheinisch.de>
- cetra3 <peter@parashift.com.au>
- cmeh <cmeh@users.noreply.github.com>
- coderkun <olli@coderkun.de>
- comradekingu <epost@anotheragency.no>
- dartcafe <github@dartcafe.de>
- davidgumberg <davidnoizgumberg@gmail.com>
@@ -335,44 +374,57 @@ Nextcloud is written by:
- derkostka <sebastian.kostka@gmail.com>
- duritong <peter.meier+github@immerda.ch>
- eduardo <eduardo@vnexu.net>
- eleith <online+github@eleith.com>
- enoch <lanxenet@hotmail.com>
- essys <essys@users.noreply.github.com>
- exner104 <59639860+exner104@users.noreply.github.com>
- fabian <fabian@web2.0-apps.de>
- felixboehm <felix@webhippie.de>
- fnuesse <felix.nuesse@t-online.de>
- fnuesse <fnuesse@techfak.uni-bielefeld.de>
- helix84 <helix84@centrum.sk>
- hkjolhede <hkjolhede@gmail.com>
- hoellen <dev@hoellen.eu>
- ideaship <ideaship@users.noreply.github.com>
- j-ed <juergen@eisfair.org>
- j3l11234 <297259024@qq.com>
- jaltek <jaltek@mailbox.org>
- jknockaert <jasper@knockaert.nl>
- josh4trunks <joshruehlig@gmail.com>
- karakayasemi <karakayasemi@itu.edu.tr>
- kevin147147 <kevintamool@gmail.com>
- korelstar <korelstar@users.noreply.github.com>
- labor4 <schreibtisch@labor4.ch>
- leith abdulla <online-nextcloud@eleith.com>
- lui87kw <lukas.ifflaender@uni-wuerzburg.de>
- lynn-stephenson <lynn.stephenson@protonmail.com>
- macjohnny <estebanmarin@gmx.ch>
- marco44 <cousinmarc@gmail.com>
- martin-rueegg <martin.rueegg@metaworx.ch>
- martin.mattel@diemattels.at <martin.mattel@diemattels.at>
- martink-p <47943787+martink-p@users.noreply.github.com>
- medcloud <42641918+medcloud@users.noreply.github.com>
- michaelletzgus <michaelletzgus@users.noreply.github.com>
- michag86 <micha_g@arcor.de>
- mmccarn <mmccarn-github@mmsionline.us>
- nhirokinet <nhirokinet@nhiroki.net>
- nik gaffney <nik@fo.am>
- nishiki <nishiki@yaegashi.fr>
- onehappycat <one.happy.cat@gmx.com>
- oparoz <owncloud@interfasys.ch>
- phisch <git@philippschaffrath.de>
- rakekniven <mark.ziegler@rakekniven.de>
- root "root@oc.(none)"
- root <root@localhost.localdomain>
- rubo77 <github@r.z11.de>
- sammo2828 <sammo2828@gmail.com>
- scambra <sergio@entrecables.com>
- scolebrook <scolebrook@mac.com>
- shkdee <louis.traynard@m4x.org>
- sidey79 <s.butzek@gmx.de>
- simonspa <1677436+simonspa@users.noreply.github.com>
- sualko <klaus@jsxc.org>
- tbartenstein <tbartenstein@users.noreply.github.com>
- tbelau666 <thomas.belau@gmx.de>
- timm2k <timm2k@gmx.de>
- tux-rampage <tux-rampage@users.noreply.github.com>
- v1r0x <vinzenz.rosenkranz@gmail.com>
- voxsim "Simon Vocella"
+1
View File
@@ -9,6 +9,7 @@ Licensing of components:
* User: AGPL
* XML/RPC: MIT / PHP
* Elementary filetype icons: GPL v3+
* Material UI icons: APACHE LICENSE, VERSION 2.0
All unmodified files from these and other sources retain their original copyright
and license notices: see the relevant individual files.
+3 -1
View File
@@ -4,7 +4,7 @@ all: clean dev-setup build-js-production
dev-setup: clean clean-dev npm-init
npm-init:
npm install
npm ci
npm-update:
npm update
@@ -39,6 +39,7 @@ clean:
rm -rf apps/systemtags/js/systemtags.*
rm -rf apps/twofactor_backupcodes/js
rm -rf apps/updatenotification/js/updatenotification.*
rm -rf apps/user_status/js/
rm -rf apps/workflowengine/js/
rm -rf core/js/dist
@@ -57,5 +58,6 @@ clean-git: clean
git checkout -- apps/systemtags/js/systemtags.*
git checkout -- apps/twofactor_backupcodes/js
git checkout -- apps/updatenotification/js/updatenotification.*
git checkout -- apps/user_status/js/
git checkout -- apps/workflowengine/js/
git checkout -- core/js/dist
+29 -5
View File
@@ -2,8 +2,6 @@
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nextcloud/server/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/nextcloud/server/?branch=master)
[![codecov](https://codecov.io/gh/nextcloud/server/branch/master/graph/badge.svg)](https://codecov.io/gh/nextcloud/server)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/209/badge)](https://bestpractices.coreinfrastructure.org/projects/209)
[![irc](https://img.shields.io/badge/IRC-%23nextcloud%20on%20freenode-orange.svg)](https://webchat.freenode.net/?channels=nextcloud)
[![irc](https://img.shields.io/badge/IRC-%23nextcloud--dev%20on%20freenode-blue.svg)](https://webchat.freenode.net/?channels=nextcloud-dev)
**A safe home for all your data.**
@@ -45,7 +43,7 @@ There are many ways to contribute, of which development is only one! Find out [h
### Development setup 👩‍💻
1. 🚀 [Set up your local development environment](https://docs.nextcloud.com/server/latest/developer_manual/general/devenv.html)
1. 🚀 [Set up your local development environment](https://docs.nextcloud.com/server/latest/developer_manual/getting_started/devenv.html)
2. 🐛 [Pick a good first issue](https://github.com/nextcloud/server/labels/good%20first%20issue)
3. 👩‍🔧 Create a branch and make your changes. Remember to sign off your commits using `git commit -sm "Your commit message"`
4. ⬆ Create a [pull request](https://opensource.guide/how-to-contribute/#opening-a-pull-request) and `@mention` the people from the issue to review
@@ -58,10 +56,11 @@ Several apps that are included by default in regular releases such as [First run
Otherwise, git checkouts can be handled the same as release archives, by using the `stable*` branches. Note they should never be used on production systems.
### Working with front-end code 🏗
### Building front-end code 🏗
#### Building
We move more and more towards using Vue.js in the frontend, starting with Settings. For building the code on changes, use these terminal commands in the root folder:
We are moving more and more towards using Vue.js in the frontend, starting with Settings. For building the code on changes, use these terminal commands in the root folder:
``` bash
# install dependencies
@@ -77,6 +76,8 @@ make watch-js
make build-js-production
```
#### Commiting changes
**When making changes, also commit the compiled files!**
We still use Handlebars templates some places in Files and Settings. We will replace these step-by-step with Vue.js, but in the meantime you need to compile them separately.
@@ -91,6 +92,29 @@ Then inside the root folder of your local Nextcloud development installation, ru
./build/compile-handlebars-templates.sh
```
Before checking in JS changes, make sure to also build for production:
```
make build-js-production
```
Then add the compiled files for committing.
To save some time, to only rebuild for a specific app, use the following and replace the module with the app name:
```
MODULE=user_status make build-js-production
```
Please note that if you used `make build-js` or `make watch-js` before, you'll notice that a lot of files were marked as changed, so might need to clear the workspace first.
### Working with back-end code 🏗
When changing back-end PHP code, in general no additional steps are needed before checking in.
However, if new files were created, you will need to run the following command to update the autoloader files:
```bash
build/autoloaderchecker.sh
```
After that, please also include the autoloader file changes in your commits.
### Tools we use 🛠
+25
View File
@@ -0,0 +1,25 @@
# Security Policy
## Supported Versions
The latest three major release versions of Nextcloud are currently being supported with security updates.
Please visit https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule for further details.
## Reporting a Vulnerability
Security is very important to us. If you have discovered a security issue with Nextcloud,
please read our responsible disclosure guidelines and contact us at [hackerone.com/nextcloud](https://hackerone.com/nextcloud).
Your report should include:
- Product version
- A vulnerability description
- Reproduction steps
A member of the security team will confirm the vulnerability, determine its impact, and develop a fix.
The fix will be applied to the master branch, tested, and packaged in the next security release.
The vulnerability will be publicly announced after the release. Finally, your name will be added
to the [hall of fame](https://hackerone.com/nextcloud/thanks) as a thank you from the entire Nextcloud community. Note our
[threat model](https://nextcloud.com/security/threat-model) to know what is expected behavior.
Please visit https://nextcloud.com/security/ for further information about security.
+1 -1
View File
@@ -1,2 +1,2 @@
# compiled vue templates
js/accessibility.js
js/
+19 -19
View File
@@ -1,23 +1,23 @@
<?xml version="1.0"?>
<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
<id>accessibility</id>
<name>Accessibility</name>
<summary>Accessibility options for nextcloud</summary>
<description><![CDATA[Provides multiple accessibilities options to ease your use of Nextcloud]]></description>
<version>1.4.0</version>
<licence>agpl</licence>
<author>John Molakvoæ</author>
<namespace>Accessibility</namespace>
<default_enable/>
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
<id>accessibility</id>
<name>Accessibility</name>
<summary>Accessibility options for nextcloud</summary>
<description><![CDATA[Provides multiple accessibilities options to ease your use of Nextcloud]]></description>
<version>1.7.0</version>
<licence>agpl</licence>
<author>John Molakvoæ</author>
<namespace>Accessibility</namespace>
<default_enable/>
<category>customization</category>
<category>customization</category>
<bugs>https://github.com/nextcloud/server/issues</bugs>
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="18" max-version="18"/>
</dependencies>
<dependencies>
<nextcloud min-version="21" max-version="21"/>
</dependencies>
<repair-steps>
<pre-migration>
@@ -25,8 +25,8 @@
</pre-migration>
</repair-steps>
<settings>
<personal>OCA\Accessibility\Settings\Personal</personal>
<personal-section>OCA\Accessibility\Settings\PersonalSection</personal-section>
</settings>
<settings>
<personal>OCA\Accessibility\Settings\Personal</personal>
<personal-section>OCA\Accessibility\Settings\PersonalSection</personal-section>
</settings>
</info>
+8 -8
View File
@@ -3,6 +3,7 @@
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author Alexey Pyltsyn <lex61rus@gmail.com>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* @author Julius Härtl <jus@bitgrid.net>
*
@@ -26,23 +27,22 @@
return [
'routes' => [
['name' => 'accessibility#getCss', 'url' => '/css/user-{md5}', 'verb' => 'GET'],
['name' => 'accessibility#getJavascript', 'url' => '/js/accessibility', 'verb' => 'GET'],
],
'ocs' => [
],
'ocs' => [
[
'name' => 'Config#getConfig',
'url' => '/api/v1/config',
'url' => '/api/v1/config',
'verb' => 'GET',
],
],
[
'name' => 'Config#setConfig',
'url' => '/api/v1/config/{key}',
'url' => '/api/v1/config/{key}',
'verb' => 'PUT',
],
[
'name' => 'Config#deleteConfig',
'url' => '/api/v1/config/{key}',
'url' => '/api/v1/config/{key}',
'verb' => 'DELETE',
],
]
]
];
@@ -37,8 +37,8 @@ namespace Composer\Autoload;
*
* @author Fabien Potencier <fabien@symfony.com>
* @author Jordi Boggiano <j.boggiano@seld.be>
* @see http://www.php-fig.org/psr/psr-0/
* @see http://www.php-fig.org/psr/psr-4/
* @see https://www.php-fig.org/psr/psr-0/
* @see https://www.php-fig.org/psr/psr-4/
*/
class ClassLoader
{
@@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {
return call_user_func_array('array_merge', $this->prefixesPsr0);
return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
}
return array();
@@ -6,11 +6,13 @@ $vendorDir = dirname(dirname(__FILE__));
$baseDir = $vendorDir;
return array(
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
'OCA\\Accessibility\\AccessibilityProvider' => $baseDir . '/../lib/AccessibilityProvider.php',
'OCA\\Accessibility\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php',
'OCA\\Accessibility\\Controller\\AccessibilityController' => $baseDir . '/../lib/Controller/AccessibilityController.php',
'OCA\\Accessibility\\Controller\\ConfigController' => $baseDir . '/../lib/Controller/ConfigController.php',
'OCA\\Accessibility\\Migration\\RepairUserConfig' => $baseDir . '/../lib/Migration/RepairUserConfig.php',
'OCA\\Accessibility\\Service\\JSDataService' => $baseDir . '/../lib/Service/JSDataService.php',
'OCA\\Accessibility\\Settings\\Personal' => $baseDir . '/../lib/Settings/Personal.php',
'OCA\\Accessibility\\Settings\\PersonalSection' => $baseDir . '/../lib/Settings/PersonalSection.php',
);
@@ -13,6 +13,9 @@ class ComposerAutoloaderInitAccessibility
}
}
/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader()
{
if (null !== self::$loader) {
@@ -25,7 +28,7 @@ class ComposerAutoloaderInitAccessibility
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require_once __DIR__ . '/autoload_static.php';
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInitAccessibility::getInitializer($loader));
} else {
@@ -21,11 +21,13 @@ class ComposerStaticInitAccessibility
);
public static $classMap = array (
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
'OCA\\Accessibility\\AccessibilityProvider' => __DIR__ . '/..' . '/../lib/AccessibilityProvider.php',
'OCA\\Accessibility\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
'OCA\\Accessibility\\Controller\\AccessibilityController' => __DIR__ . '/..' . '/../lib/Controller/AccessibilityController.php',
'OCA\\Accessibility\\Controller\\ConfigController' => __DIR__ . '/..' . '/../lib/Controller/ConfigController.php',
'OCA\\Accessibility\\Migration\\RepairUserConfig' => __DIR__ . '/..' . '/../lib/Migration/RepairUserConfig.php',
'OCA\\Accessibility\\Service\\JSDataService' => __DIR__ . '/..' . '/../lib/Service/JSDataService.php',
'OCA\\Accessibility\\Settings\\Personal' => __DIR__ . '/..' . '/../lib/Settings/Personal.php',
'OCA\\Accessibility\\Settings\\PersonalSection' => __DIR__ . '/..' . '/../lib/Settings/PersonalSection.php',
);
+4 -1
View File
@@ -5,6 +5,9 @@ $color-main-background: #181818;
$color-background-dark: lighten($color-main-background, 4%);
$color-background-darker: lighten($color-main-background, 8%);
$color-placeholder-light: lighten($color-main-background, 10%);
$color-placeholder-dark: lighten($color-main-background, 20%);
$color-text-maxcontrast: darken($color-main-text, 30%);
$color-text-light: darken($color-main-text, 10%);
$color-text-lighter: darken($color-main-text, 20%);
@@ -12,7 +15,7 @@ $color-text-lighter: darken($color-main-text, 20%);
$color-loading-light: #777;
$color-loading-dark: #ccc;
$color-box-shadow: rgba(darken($color-main-background, 70%), 0.5);
$color-box-shadow: transparentize(darken($color-main-background, 70%), 0.5);
$color-border: lighten($color-main-background, 7%);
$color-border-dark: lighten($color-main-background, 14%);
+1 -1
View File
@@ -12,4 +12,4 @@
src: url('../fonts/OpenDyslexic-Bold.woff') format('woff');
}
$font-face: OpenDyslexic, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
$font-face: OpenDyslexic, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, Ubuntu, 'Helvetica Neue', Arial, 'Noto Color Emoji', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
+3
View File
@@ -5,6 +5,9 @@ $color-main-background: #fff;
$color-background-dark: darken($color-main-background, 30%);
$color-background-darker: darken($color-main-background, 30%);
$color-placeholder-light: darken($color-main-background, 30%);
$color-placeholder-dark: darken($color-main-background, 45%);
$color-text-maxcontrast: $color-main-text;
$color-text-light: $color-main-text;
$color-text-lighter: $color-main-text;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 30 KiB

File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -9,11 +9,11 @@ OC.L10N.register(
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Λειτουργία με υψηλή αντίθεση για να διευκολύνει την πλοήγηση σας. Η οπτική ποιότητα θα είναι μειωμένη αλλά θα έχετε υψηλότερη ευκρίνεια.",
"Dyslexia font" : "Γραμματοσειρά για δυσλεκτικούς",
"Enable dyslexia font" : "Ενεργοποίηση γραμματοσειράς για δυσλεκτικούς",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "Η OpenDyslexic είναι μία δωρεάν γραμματοσειρά σχεδιασμένη ώστε να περιορίζει ορισμένα από τα πιο συνήθη λάθη που προκαλεί η δυσλεξία στην ανάγνωση",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "Η OpenDyslexic είναι μία δωρεάν γραμματοσειρά σχεδιασμένη ώστε να περιορίζει ορισμένα από τα πιο συνήθη προβλήματα που προκαλεί η δυσλεξία στην ανάγνωση",
"Accessibility" : "Προσβασιμότητα",
"Accessibility options for nextcloud" : "Ρυθμίσεις προσβασιμότητας του nextcloud.",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Προσφέρει πολλαπλές επιλογές προσβασιμότητας για να διευκολύνουν τη χρήση του Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Η γενική πρόσβαση είναι πολύ σημαντική για εμάς. Ακολουθούμε τα πρότυπα του διαδικτύου και ελέγχουμε ότι τα πάντα μπορούν να χρησιμοποιηθούν χωρίς ποντίκι και βοηθητικό λογισμικό όπως προγράμματα ανάγνωσης οθόνης. Στόχος μας είναι να συμμορφωνόμαστε με τις {προδιαγραφές} Προδιαγραφές πρόσβασης περιεχομένου Ιστού 2.1 σε επίπεδο AA, με το θέμα υψηλής αντίθεσης ακόμη και σε επίπεδο ΑΑΑ.",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Η γενική πρόσβαση είναι πολύ σημαντική για εμάς. Ακολουθούμε τα πρότυπα του διαδικτύου και ελέγχουμε ότι τα πάντα μπορούν να χρησιμοποιηθούν χωρίς ποντίκι και βοηθητικό λογισμικό όπως προγράμματα ανάγνωσης οθόνης. Στόχος μας είναι να συμμορφωνόμαστε με την {guidelines} Πρόσβαση Περιεχομένου Ιστού Guidelines{linkend} 2.1 σε επίπεδο AA, με το θέμα υψηλής αντίθεσης ακόμη και σε επίπεδο ΑΑΑ.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Αν διαπιστώσετε τυχόν προβλήματα, μη διστάσετε να τα αναφέρετε στον {issuetracker} στον διακομιστή προβλημάτων μας{linkend}. Και αν θέλετε να εμπλακείτε, ελάτε στο {designteam} στην ομάδα σχεδιασμού μας{linkend}!",
"Enable" : "Ενεργοποίηση"
},
+2 -2
View File
@@ -7,11 +7,11 @@
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Λειτουργία με υψηλή αντίθεση για να διευκολύνει την πλοήγηση σας. Η οπτική ποιότητα θα είναι μειωμένη αλλά θα έχετε υψηλότερη ευκρίνεια.",
"Dyslexia font" : "Γραμματοσειρά για δυσλεκτικούς",
"Enable dyslexia font" : "Ενεργοποίηση γραμματοσειράς για δυσλεκτικούς",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "Η OpenDyslexic είναι μία δωρεάν γραμματοσειρά σχεδιασμένη ώστε να περιορίζει ορισμένα από τα πιο συνήθη λάθη που προκαλεί η δυσλεξία στην ανάγνωση",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "Η OpenDyslexic είναι μία δωρεάν γραμματοσειρά σχεδιασμένη ώστε να περιορίζει ορισμένα από τα πιο συνήθη προβλήματα που προκαλεί η δυσλεξία στην ανάγνωση",
"Accessibility" : "Προσβασιμότητα",
"Accessibility options for nextcloud" : "Ρυθμίσεις προσβασιμότητας του nextcloud.",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Προσφέρει πολλαπλές επιλογές προσβασιμότητας για να διευκολύνουν τη χρήση του Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Η γενική πρόσβαση είναι πολύ σημαντική για εμάς. Ακολουθούμε τα πρότυπα του διαδικτύου και ελέγχουμε ότι τα πάντα μπορούν να χρησιμοποιηθούν χωρίς ποντίκι και βοηθητικό λογισμικό όπως προγράμματα ανάγνωσης οθόνης. Στόχος μας είναι να συμμορφωνόμαστε με τις {προδιαγραφές} Προδιαγραφές πρόσβασης περιεχομένου Ιστού 2.1 σε επίπεδο AA, με το θέμα υψηλής αντίθεσης ακόμη και σε επίπεδο ΑΑΑ.",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Η γενική πρόσβαση είναι πολύ σημαντική για εμάς. Ακολουθούμε τα πρότυπα του διαδικτύου και ελέγχουμε ότι τα πάντα μπορούν να χρησιμοποιηθούν χωρίς ποντίκι και βοηθητικό λογισμικό όπως προγράμματα ανάγνωσης οθόνης. Στόχος μας είναι να συμμορφωνόμαστε με την {guidelines} Πρόσβαση Περιεχομένου Ιστού Guidelines{linkend} 2.1 σε επίπεδο AA, με το θέμα υψηλής αντίθεσης ακόμη και σε επίπεδο ΑΑΑ.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Αν διαπιστώσετε τυχόν προβλήματα, μη διστάσετε να τα αναφέρετε στον {issuetracker} στον διακομιστή προβλημάτων μας{linkend}. Και αν θέλετε να εμπλακείτε, ελάτε στο {designteam} στην ομάδα σχεδιασμού μας{linkend}!",
"Enable" : "Ενεργοποίηση"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
-13
View File
@@ -1,13 +0,0 @@
OC.L10N.register(
"accessibility",
{
"Dark theme" : "Tèma fosc",
"Enable dark theme" : "Activar lo tèma fosc",
"High contrast mode" : "Mòde fòrt contraste",
"Enable high contrast mode" : "Activar lo mòde fòrt contraste",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un mòde fòrt contraste per facilitar la navegacion. La qualitat visuala baissarà mas la claror serà aumentada.",
"Accessibility" : "Accessibilitat",
"Accessibility options for nextcloud" : "Opcions daccessibilitat per nextcloud",
"Enable" : "Activar"
},
"nplurals=2; plural=(n > 1);");
-11
View File
@@ -1,11 +0,0 @@
{ "translations": {
"Dark theme" : "Tèma fosc",
"Enable dark theme" : "Activar lo tèma fosc",
"High contrast mode" : "Mòde fòrt contraste",
"Enable high contrast mode" : "Activar lo mòde fòrt contraste",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un mòde fòrt contraste per facilitar la navegacion. La qualitat visuala baissarà mas la claror serà aumentada.",
"Accessibility" : "Accessibilitat",
"Accessibility options for nextcloud" : "Opcions daccessibilitat per nextcloud",
"Enable" : "Activar"
},"pluralForm" :"nplurals=2; plural=(n > 1);"
}
-20
View File
@@ -1,20 +0,0 @@
OC.L10N.register(
"accessibility",
{
"Dark theme" : "Tema iscuru ",
"Enable dark theme" : "Ativa su tema iscuru ",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Unu tema iscuru pro agiudare is ogros tuos menguende sa luminosidade e su lugore generale. Est ancora in fase de isvilupu, duncas sinnala cale si siat problema.",
"High contrast mode" : "Modalidade cuntrastu artu",
"Enable high contrast mode" : "Ativa sa modalidade cuntrastu altu",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Unu cuntrastu artu pro agiudare sa navigatzione tua. S'at a menguare sa calidade de visualizatzione, ma at a crèschere sa craresa.",
"Dyslexia font" : "Font pro dislessia",
"Enable dyslexia font" : "Ativa su font pro dislessia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic est unu font lìberu pensadu pro illebiare unos cantos isbàllios comunes de leghidura causados dae sa dislessia.",
"Accessibility" : "Atzessibilidade",
"Accessibility options for nextcloud" : "Sèberos de atzessibilidade pro nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Frunit sèberos de atzessibilidade pro agiudare s'impreu tuo de Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "S'atzessu universale est de importu mannu pro nois. Sighimus is istandard de sa rete e chircamus de fàghere chi totu si potzat impreare chene cursore puru, e cun programmas de assistèntzia comente leghidores de ischermu. S'intentu nostru est de acumprire is inditos de is {lìniasghia}Lìinas ghia cuntenutos de rete{linkend} 2.1 a su livellu AA, cun su tema de cuntrastu artu a su livellu AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Si agatas problemas, no istentes a ddu sinnalare a {rastradoredeproblemas}su rastradore nostru{linkend}. E si nos cheres agiudare, intra in {grupudedisegnu}su grupu de disegnu nostru{linkend}!",
"Enable" : "Ativa"
},
"nplurals=2; plural=(n != 1);");
-18
View File
@@ -1,18 +0,0 @@
{ "translations": {
"Dark theme" : "Tema iscuru ",
"Enable dark theme" : "Ativa su tema iscuru ",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Unu tema iscuru pro agiudare is ogros tuos menguende sa luminosidade e su lugore generale. Est ancora in fase de isvilupu, duncas sinnala cale si siat problema.",
"High contrast mode" : "Modalidade cuntrastu artu",
"Enable high contrast mode" : "Ativa sa modalidade cuntrastu altu",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Unu cuntrastu artu pro agiudare sa navigatzione tua. S'at a menguare sa calidade de visualizatzione, ma at a crèschere sa craresa.",
"Dyslexia font" : "Font pro dislessia",
"Enable dyslexia font" : "Ativa su font pro dislessia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic est unu font lìberu pensadu pro illebiare unos cantos isbàllios comunes de leghidura causados dae sa dislessia.",
"Accessibility" : "Atzessibilidade",
"Accessibility options for nextcloud" : "Sèberos de atzessibilidade pro nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Frunit sèberos de atzessibilidade pro agiudare s'impreu tuo de Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "S'atzessu universale est de importu mannu pro nois. Sighimus is istandard de sa rete e chircamus de fàghere chi totu si potzat impreare chene cursore puru, e cun programmas de assistèntzia comente leghidores de ischermu. S'intentu nostru est de acumprire is inditos de is {lìniasghia}Lìinas ghia cuntenutos de rete{linkend} 2.1 a su livellu AA, cun su tema de cuntrastu artu a su livellu AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Si agatas problemas, no istentes a ddu sinnalare a {rastradoredeproblemas}su rastradore nostru{linkend}. E si nos cheres agiudare, intra in {grupudedisegnu}su grupu de disegnu nostru{linkend}!",
"Enable" : "Ativa"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
-7
View File
@@ -8,13 +8,6 @@ OC.L10N.register(
"Enable high contrast mode" : "使用高對比模式",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "高對比模式能使您的瀏覽更容易。視覺品質將被降低,但清晰度將被提高。",
"Dyslexia font" : "閱讀困難症字體",
"Enable dyslexia font" : "啟用閱讀困難症字型",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic 是一種免費的字型,目的在降低因拼音文字閱讀困難引起的一些常見閱讀錯誤。",
"Accessibility" : "輔助工具",
"Accessibility options for nextcloud" : " Nextcloud 輔助工具設定",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "提供多種 輔助工具使您更易於操作 Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "我們非常重視無障礙存取。我們遵循網路標準,並透過檢查來確保所有內容皆可在沒有滑鼠或輔助軟體(例如螢幕閱讀器)的情況下使用。我們目標是能達到 {guidelines}網頁內容可及性指引{linkend} 2.1 版的 AA 等級,加上高對比度主題甚至還能到 AAA 等級。",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : " \n如果您發現任何一個問題,請不要猶豫並請在 {issuetracker}我們的問題追蹤系統{linkend} 回報。而如果您想參與,歡迎加入 {designteam}我們的設計團隊{linked}",
"Enable" : "啟用"
},
"nplurals=1; plural=0;");
-7
View File
@@ -6,13 +6,6 @@
"Enable high contrast mode" : "使用高對比模式",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "高對比模式能使您的瀏覽更容易。視覺品質將被降低,但清晰度將被提高。",
"Dyslexia font" : "閱讀困難症字體",
"Enable dyslexia font" : "啟用閱讀困難症字型",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic 是一種免費的字型,目的在降低因拼音文字閱讀困難引起的一些常見閱讀錯誤。",
"Accessibility" : "輔助工具",
"Accessibility options for nextcloud" : " Nextcloud 輔助工具設定",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "提供多種 輔助工具使您更易於操作 Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "我們非常重視無障礙存取。我們遵循網路標準,並透過檢查來確保所有內容皆可在沒有滑鼠或輔助軟體(例如螢幕閱讀器)的情況下使用。我們目標是能達到 {guidelines}網頁內容可及性指引{linkend} 2.1 版的 AA 等級,加上高對比度主題甚至還能到 AAA 等級。",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : " \n如果您發現任何一個問題,請不要猶豫並請在 {issuetracker}我們的問題追蹤系統{linkend} 回報。而如果您想參與,歡迎加入 {designteam}我們的設計團隊{linked}",
"Enable" : "啟用"
},"pluralForm" :"nplurals=1; plural=0;"
}
@@ -3,9 +3,11 @@
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
* @copyright Copyright (c) 2019 Janis Köhr <janiskoehr@icloud.com>
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Greta Doci <gretadoci@gmail.com>
* @author Jan-Christoph Borchardt <hey@jancborchardt.net>
* @author Janis Köhr <janis.koehr@novatec-gmbh.de>
* @author Joas Schilling <coding@schilljs.com>
* @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
@@ -51,40 +53,42 @@ class AccessibilityProvider {
public function __construct(string $appName,
IURLGenerator $urlGenerator,
IL10N $l) {
$this->appName = $appName;
$this->appName = $appName;
$this->urlGenerator = $urlGenerator;
$this->l = $l;
$this->l = $l;
}
public function getThemes() {
return array(
return [
[
'id' => 'dark',
'img' => $this->urlGenerator->imagePath($this->appName, 'theme-dark.jpg'),
'id' => 'dark',
'img' => $this->urlGenerator->imagePath($this->appName, 'theme-dark.jpg'),
'title' => $this->l->t('Dark theme'),
'text' => $this->l->t('A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find.')
'enableLabel' => $this->l->t('Enable dark theme'),
'text' => $this->l->t('A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find.')
]
);
];
}
public function getHighContrast() {
return [
'id' => 'highcontrast',
'img' => $this->urlGenerator->imagePath($this->appName, 'mode-highcontrast.jpg'),
'title' => $this->l->t('High contrast mode'),
'text' => $this->l->t('A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased.')
];
'id' => 'highcontrast',
'img' => $this->urlGenerator->imagePath($this->appName, 'mode-highcontrast.jpg'),
'title' => $this->l->t('High contrast mode'),
'enableLabel' => $this->l->t('Enable high contrast mode'),
'text' => $this->l->t('A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased.')
];
}
public function getFonts() {
return array(
return [
[
'id' => 'fontdyslexic',
'img' => $this->urlGenerator->imagePath($this->appName, 'font-opendyslexic.jpg'),
'id' => 'fontdyslexic',
'img' => $this->urlGenerator->imagePath($this->appName, 'font-opendyslexic.jpg'),
'title' => $this->l->t('Dyslexia font'),
'text' => $this->l->t('OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia.')
'enableLabel' => $this->l->t('Enable dyslexia font'),
'text' => $this->l->t('OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia.')
]
);
];
}
}
+39 -41
View File
@@ -1,10 +1,14 @@
<?php
declare(strict_types=1);
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author Alexey Pyltsyn <lex61rus@gmail.com>
* @author Janis Köhr <janis.koehr@novatec-gmbh.de>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Joas Schilling <coding@schilljs.com>
* @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* @author Julius Härtl <jus@bitgrid.net>
* @author Roeland Jago Douma <roeland@famdouma.nl>
*
* @license GNU AGPL version 3 or any later version
@@ -26,61 +30,55 @@
namespace OCA\Accessibility\AppInfo;
use OCA\Accessibility\Service\JSDataService;
use OCP\AppFramework\App;
use OCP\AppFramework\Bootstrap\IBootContext;
use OCP\AppFramework\Bootstrap\IBootstrap;
use OCP\AppFramework\Bootstrap\IRegistrationContext;
use OCP\IConfig;
use OCP\IURLGenerator;
use OCP\IUserSession;
use function count;
use function implode;
use function md5;
class Application extends App {
class Application extends App implements IBootstrap {
/** @var string */
public const APP_NAME = 'accessibility';
/** @var IConfig */
private $config;
/** @var IUserSession */
private $userSession;
/** @var IURLGenerator */
private $urlGenerator;
public const APP_ID = 'accessibility';
public function __construct() {
parent::__construct(self::APP_NAME);
$this->config = \OC::$server->getConfig();
$this->userSession = \OC::$server->getUserSession();
$this->urlGenerator = \OC::$server->getURLGenerator();
parent::__construct(self::APP_ID);
}
public function injectCss() {
public function register(IRegistrationContext $context): void {
$context->registerInitialStateProvider(JSDataService::class);
}
public function boot(IBootContext $context): void {
$context->injectFn([$this, 'injectCss']);
}
public function injectCss(IUserSession $userSession,
IConfig $config,
IURLGenerator $urlGenerator) {
// Inject the fake css on all pages if enabled and user is logged
$loggedUser = $this->userSession->getUser();
if (!is_null($loggedUser)) {
$userValues = $this->config->getUserKeys($loggedUser->getUID(), self::APP_NAME);
$loggedUser = $userSession->getUser();
if ($loggedUser !== null) {
$userValues = $config->getUserKeys($loggedUser->getUID(), self::APP_ID);
// we want to check if any theme or font is enabled.
if (count($userValues) > 0) {
$hash = $this->config->getUserValue($loggedUser->getUID(), self::APP_NAME, 'icons-css', md5(implode('-', $userValues)));
$linkToCSS = $this->urlGenerator->linkToRoute(self::APP_NAME . '.accessibility.getCss', ['md5' => $hash]);
$hash = $config->getUserValue($loggedUser->getUID(), self::APP_ID, 'icons-css', md5(implode('-', $userValues)));
$linkToCSS = $urlGenerator->linkToRoute(self::APP_ID . '.accessibility.getCss', ['md5' => $hash]);
\OCP\Util::addHeader('link', ['rel' => 'stylesheet', 'href' => $linkToCSS]);
}
\OCP\Util::addScript('accessibility', 'accessibilityoca');
} else {
$userValues = ['dark'];
$hash = md5(implode('-', $userValues));
$linkToCSS = $urlGenerator->linkToRoute(self::APP_ID . '.accessibility.getCss', ['md5' => $hash]);
\OCP\Util::addHeader('link', ['rel' => 'stylesheet', 'media' => '(prefers-color-scheme: dark)', 'href' => $linkToCSS]);
}
}
public function injectJavascript() {
$linkToJs = $this->urlGenerator->linkToRoute(
self::APP_NAME . '.accessibility.getJavascript',
[
'v' => \OC::$server->getConfig()->getAppValue('accessibility', 'cachebuster', '0'),
]
);
\OCP\Util::addHeader(
'script',
[
'src' => $linkToJs,
'nonce' => \OC::$server->getContentSecurityPolicyNonceManager()->getNonce()
],
''
);
}
}
@@ -6,12 +6,13 @@ declare(strict_types=1);
* @copyright Copyright (c) 2018 John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* @copyright Copyright (c) 2019 Janis Köhr <janiskoehr@icloud.com>
*
* @author Alexey Pyltsyn <lex61rus@gmail.com>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Janis Köhr <janis.koehr@novatec-gmbh.de>
* @author Joas Schilling <coding@schilljs.com>
* @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* @author Julius Härtl <jus@bitgrid.net>
* @author Roeland Jago Douma <roeland@famdouma.nl>
* @author Thomas Citharel <tcit@tcit.fr>
* @author Thomas Citharel <nextcloud@tcit.fr>
*
* @license GNU AGPL version 3 or any later version
*
@@ -32,22 +33,19 @@ declare(strict_types=1);
namespace OCA\Accessibility\Controller;
use Leafo\ScssPhp\Compiler;
use Leafo\ScssPhp\Exception\ParserException;
use Leafo\ScssPhp\Formatter\Crunched;
use OC\Template\IconsCacher;
use OCP\App\IAppManager;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\DataDisplayResponse;
use OCP\AppFramework\Http\DataDownloadResponse;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\IConfig;
use OCP\ILogger;
use OCP\IRequest;
use OCP\IURLGenerator;
use OCP\IUserManager;
use OCP\IUserSession;
use ScssPhp\ScssPhp\Compiler;
use ScssPhp\ScssPhp\Exception\ParserException;
use ScssPhp\ScssPhp\Formatter\Crunched;
class AccessibilityController extends Controller {
@@ -60,24 +58,15 @@ class AccessibilityController extends Controller {
/** @var IConfig */
private $config;
/** @var IUserManager */
private $userManager;
/** @var ILogger */
private $logger;
/** @var IURLGenerator */
private $urlGenerator;
/** @var ITimeFactory */
protected $timeFactory;
/** @var IUserSession */
private $userSession;
/** @var IAppManager */
private $appManager;
/** @var IconsCacher */
protected $iconsCacher;
@@ -87,58 +76,46 @@ class AccessibilityController extends Controller {
/** @var null|string */
private $injectedVariables;
/**
* Account constructor.
*
* @param string $appName
* @param IRequest $request
* @param IConfig $config
* @param IUserManager $userManager
* @param ILogger $logger
* @param IURLGenerator $urlGenerator
* @param ITimeFactory $timeFactory
* @param IUserSession $userSession
* @param IAppManager $appManager
* @param \OC_Defaults $defaults
*/
/** @var string */
private $appRoot;
public function __construct(string $appName,
IRequest $request,
IConfig $config,
IUserManager $userManager,
ILogger $logger,
IURLGenerator $urlGenerator,
ITimeFactory $timeFactory,
IUserSession $userSession,
IAppManager $appManager,
IconsCacher $iconsCacher,
\OC_Defaults $defaults) {
parent::__construct($appName, $request);
$this->appName = $appName;
$this->config = $config;
$this->userManager = $userManager;
$this->logger = $logger;
$this->urlGenerator = $urlGenerator;
$this->timeFactory = $timeFactory;
$this->userSession = $userSession;
$this->appManager = $appManager;
$this->iconsCacher = $iconsCacher;
$this->defaults = $defaults;
$this->appName = $appName;
$this->config = $config;
$this->logger = $logger;
$this->timeFactory = $timeFactory;
$this->userSession = $userSession;
$this->iconsCacher = $iconsCacher;
$this->defaults = $defaults;
$this->serverRoot = \OC::$SERVERROOT;
$this->appRoot = $this->appManager->getAppPath($this->appName);
$this->appRoot = $appManager->getAppPath($this->appName);
}
/**
* @NoAdminRequired
* @PublicPage
* @NoCSRFRequired
* @NoSameSiteCookieRequired
*
* @return DataDisplayResponse
*/
public function getCss(): DataDisplayResponse {
$css = '';
$imports = '';
$userValues = $this->getUserValues();
$css = '';
$imports = '';
if ($this->userSession->isLoggedIn()) {
$userValues = $this->getUserValues();
} else {
$userValues = ['dark'];
}
foreach ($userValues as $key => $scssFile) {
if ($scssFile !== false) {
@@ -178,7 +155,7 @@ class AccessibilityController extends Controller {
// Rebase all urls
$appWebRoot = substr($this->appRoot, strlen($this->serverRoot) - strlen(\OC::$WEBROOT));
$css = $this->rebaseUrls($css, $appWebRoot . '/css');
$css = $this->rebaseUrls($css, $appWebRoot . '/css');
if (in_array('dark', $userValues) && $this->iconsCacher->getCachedList() && $this->iconsCacher->getCachedList()->getSize() > 0) {
$iconsCss = $this->invertSvgIconsColor($this->iconsCacher->getCachedList()->getContent());
@@ -197,46 +174,10 @@ class AccessibilityController extends Controller {
$response->addHeader('Pragma', 'cache');
// store current cache hash
$this->config->setUserValue($this->userSession->getUser()->getUID(), $this->appName, 'icons-css', md5($css));
return $response;
}
/**
* @NoCSRFRequired
* @PublicPage
* @NoSameSiteCookieRequired
*
* @return DataDownloadResponse
*/
public function getJavascript(): DataDownloadResponse {
$user = $this->userSession->getUser();
if ($user === null) {
$theme = false;
$highcontrast = false;
} else {
$theme = $this->config->getUserValue($user->getUID(), $this->appName, 'theme', false);
$highcontrast = $this->config->getUserValue($user->getUID(), $this->appName, 'highcontrast', false) !== false;
if ($this->userSession->isLoggedIn()) {
$this->config->setUserValue($this->userSession->getUser()->getUID(), $this->appName, 'icons-css', md5($css));
}
if ($theme !== false) {
$responseJS = '(function() {
OCA.Accessibility = {
highcontrast: ' . json_encode($highcontrast) . ',
theme: ' . json_encode($theme) . ',
};
document.body.classList.add(' . json_encode($theme) . ');
})();';
} else {
$responseJS = '(function() {
OCA.Accessibility = {
highcontrast: ' . json_encode($highcontrast) . ',
theme: ' . json_encode($theme) . ',
};
})();';
}
$response = new DataDownloadResponse($responseJS, 'javascript', 'text/javascript');
$response->cacheFor(3600);
return $response;
}
@@ -245,9 +186,9 @@ class AccessibilityController extends Controller {
*
* @return array
*/
private function getUserValues(): array{
private function getUserValues(): array {
$userTheme = $this->config->getUserValue($this->userSession->getUser()->getUID(), $this->appName, 'theme', false);
$userFont = $this->config->getUserValue($this->userSession->getUser()->getUID(), $this->appName, 'font', false);
$userFont = $this->config->getUserValue($this->userSession->getUser()->getUID(), $this->appName, 'font', false);
$userHighContrast = $this->config->getUserValue($this->userSession->getUser()->getUID(), $this->appName, 'highcontrast', false);
return [$userTheme, $userHighContrast, $userFont];
@@ -272,7 +213,7 @@ class AccessibilityController extends Controller {
* @return string
*/
private function rebaseUrls(string $css, string $webDir): string {
$re = '/url\([\'"]([^\/][\.\w?=\/-]*)[\'"]\)/x';
$re = '/url\([\'"]([^\/][\.\w?=\/-]*)[\'"]\)/x';
$subst = 'url(\'' . $webDir . '/$1\')';
return preg_replace($re, $subst, $css);
@@ -6,6 +6,8 @@ declare(strict_types=1);
* @copyright Copyright (c) 2018 John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* @copyright Copyright (c) 2019 Janis Köhr <janiskoehr@icloud.com>
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Daniel Kesselberg <mail@danielkesselberg.de>
* @author Janis Köhr <janis.koehr@novatec-gmbh.de>
* @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* @author Roeland Jago Douma <roeland@famdouma.nl>
@@ -30,13 +32,13 @@ declare(strict_types=1);
namespace OCA\Accessibility\Controller;
use OCA\Accessibility\AccessibilityProvider;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\DataResponse;
use OCP\AppFramework\OCS\OCSBadRequestException;
use OCP\AppFramework\OCSController;
use OCP\IConfig;
use OCP\IRequest;
use OCP\IUserSession;
use OCP\PreConditionNotMetException;
class ConfigController extends OCSController {
@@ -73,11 +75,11 @@ class ConfigController extends OCSController {
IUserSession $userSession,
AccessibilityProvider $accessibilityProvider) {
parent::__construct($appName, $request);
$this->appName = $appName;
$this->config = $config;
$this->userSession = $userSession;
$this->appName = $appName;
$this->config = $config;
$this->userSession = $userSession;
$this->accessibilityProvider = $accessibilityProvider;
$this->userId = $userSession->getUser()->getUID();
$this->userId = $userSession->getUser()->getUID();
}
/**
@@ -103,20 +105,19 @@ class ConfigController extends OCSController {
*
* @param string $key theme or font
* @return DataResponse
* @throws Exception
* @throws OCSBadRequestException|PreConditionNotMetException
*/
public function setConfig(string $key, $value): DataResponse {
if ($key === 'theme' || $key === 'font' || $key === 'highcontrast') {
if ($value === false || $value === '') {
throw new OCSBadRequestException('Invalid value: ' . $value);
}
$themes = $this->accessibilityProvider->getThemes();
$highcontrast = array($this->accessibilityProvider->getHighContrast());
$fonts = $this->accessibilityProvider->getFonts();
$highcontrast = [$this->accessibilityProvider->getHighContrast()];
$fonts = $this->accessibilityProvider->getFonts();
$availableOptions = array_map(function($option) {
$availableOptions = array_map(function ($option) {
return $option['id'];
}, array_merge($themes, $highcontrast, $fonts));
@@ -138,11 +139,10 @@ class ConfigController extends OCSController {
*
* @param string $key theme or font
* @return DataResponse
* @throws Exception
* @throws OCSBadRequestException
*/
public function deleteConfig(string $key): DataResponse {
if ($key === 'theme' || $key === 'font' || $key === 'highcontrast') {
$this->config->deleteUserValue($this->userId, $this->appName, $key);
$userValues = $this->config->getUserKeys($this->userId, $this->appName);
@@ -156,5 +156,4 @@ class ConfigController extends OCSController {
throw new OCSBadRequestException('Invalid key: ' . $key);
}
}
@@ -5,6 +5,7 @@ declare(strict_types=1);
/**
* @copyright Copyright (c) 2019 Janis Köhr <janiskoehr@icloud.com>
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Janis Köhr <janis.koehr@novatec-gmbh.de>
*
* @license GNU AGPL version 3 or any later version
@@ -73,18 +74,17 @@ class RepairUserConfig implements IRepairStep {
*/
public function run(IOutput $output) {
$output->startProgress();
$this->userManager->callForSeenUsers(function(IUser $user) use ($output) {
$theme = $this->config->getUserValue($user->getUID(), Application::APP_NAME, 'theme', false);
$this->userManager->callForSeenUsers(function (IUser $user) use ($output) {
$theme = $this->config->getUserValue($user->getUID(), Application::APP_ID, 'theme', false);
if ($theme === 'themedark') {
$this->config->setUserValue($user->getUID(), Application::APP_NAME, 'theme', 'dark');
$this->config->setUserValue($user->getUID(), Application::APP_ID, 'theme', 'dark');
}
if ($theme === 'themehighcontrast') {
$this->config->setUserValue($user->getUID(), Application::APP_NAME, 'highcontrast', 'highcontrast');
$this->config->deleteUserValue($user->getUID(), Application::APP_NAME, 'theme');
$this->config->setUserValue($user->getUID(), Application::APP_ID, 'highcontrast', 'highcontrast');
$this->config->deleteUserValue($user->getUID(), Application::APP_ID, 'theme');
}
$output->advance();
});
$output->finishProgress();
}
}
@@ -0,0 +1,68 @@
<?php
declare(strict_types=1);
/**
* @copyright Copyright (c) 2020, Roeland Jago Douma <roeland@famdouma.nl>
*
* @author Roeland Jago Douma <roeland@famdouma.nl>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
namespace OCA\Accessibility\Service;
use OCA\Accessibility\AppInfo\Application;
use OCP\AppFramework\Services\InitialStateProvider;
use OCP\IConfig;
use OCP\IUserSession;
class JSDataService extends InitialStateProvider {
/** @var IUserSession */
private $userSession;
/** @var IConfig */
private $config;
public function __construct(
IUserSession $userSession,
IConfig $config
) {
$this->userSession = $userSession;
$this->config = $config;
}
public function getKey(): string {
return 'data';
}
public function getData() {
$user = $this->userSession->getUser();
if ($user === null) {
$theme = false;
$highcontrast = false;
} else {
$theme = $this->config->getUserValue($user->getUID(), Application::APP_ID, 'theme', false);
$highcontrast = $this->config->getUserValue($user->getUID(), Application::APP_ID, 'highcontrast', false) !== false;
}
return [
'theme' => $theme,
'highcontrast' => $highcontrast,
];
}
}
+10 -9
View File
@@ -3,6 +3,7 @@
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
* @copyright Copyright (c) 2019 Janis Köhr <janiskoehr@icloud.com>
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
@@ -74,13 +75,13 @@ class Personal implements ISettings {
IURLGenerator $urlGenerator,
AccessibilityProvider $accessibilityProvider,
IInitialStateService $initialStateService) {
$this->appName = $appName;
$this->config = $config;
$this->userSession = $userSession;
$this->l = $l;
$this->urlGenerator = $urlGenerator;
$this->appName = $appName;
$this->config = $config;
$this->userSession = $userSession;
$this->l = $l;
$this->urlGenerator = $urlGenerator;
$this->accessibilityProvider = $accessibilityProvider;
$this->initialStateService = $initialStateService;
$this->initialStateService = $initialStateService;
}
/**
@@ -93,14 +94,14 @@ class Personal implements ISettings {
$availableConfig = [
'themes' => $this->accessibilityProvider->getThemes(),
'fonts' => $this->accessibilityProvider->getFonts(),
'fonts' => $this->accessibilityProvider->getFonts(),
'highcontrast' => $this->accessibilityProvider->getHighContrast()
];
$userConfig = [
'highcontrast' => $this->config->getUserValue($this->userSession->getUser()->getUID(), $this->appName, 'highcontrast', false),
'theme' => $this->config->getUserValue($this->userSession->getUser()->getUID(), $this->appName, 'theme', false),
'font' => $this->config->getUserValue($this->userSession->getUser()->getUID(), $this->appName, 'font', false)
'theme' => $this->config->getUserValue($this->userSession->getUser()->getUID(), $this->appName, 'theme', false),
'font' => $this->config->getUserValue($this->userSession->getUser()->getUID(), $this->appName, 'font', false)
];
$this->initialStateService->provideInitialState($this->appName, 'available-config', $availableConfig);
@@ -2,6 +2,7 @@
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
@@ -48,9 +49,9 @@ class PersonalSection implements IIconSection {
public function __construct(string $appName,
IURLGenerator $urlGenerator,
IL10N $l) {
$this->appName = $appName;
$this->appName = $appName;
$this->urlGenerator = $urlGenerator;
$this->l = $l;
$this->l = $l;
}
/**
+9 -5
View File
@@ -68,7 +68,7 @@ export default {
.replace('{linkend}', '</a>')
},
guidelinesLink() {
return `<a target="_blank" href="https://www.w3.org/WAI/standards-guidelines/wcag/" rel="noreferrer nofollow">`
return '<a target="_blank" href="https://www.w3.org/WAI/standards-guidelines/wcag/" rel="noreferrer nofollow">'
},
descriptionDetail() {
return t(
@@ -80,24 +80,28 @@ export default {
.replace(/\{linkend\}/g, '</a>')
},
issuetrackerLink() {
return `<a target="_blank" href="https://github.com/nextcloud/server/issues/" rel="noreferrer nofollow">`
return '<a target="_blank" href="https://github.com/nextcloud/server/issues/" rel="noreferrer nofollow">'
},
designteamLink() {
return `<a target="_blank" href="https://nextcloud.com/design" rel="noreferrer nofollow">`
return '<a target="_blank" href="https://nextcloud.com/design" rel="noreferrer nofollow">'
},
},
methods: {
// SELECT handlers
selectHighContrast(id) {
this.selectItem('highcontrast', id)
document.body.classList.toggle('theme--highcontrast')
},
selectTheme(id) {
const previous = this.selected.theme
if (previous) {
document.body.classList.remove(previous)
document.body.classList.remove(`theme--${previous}`)
}
if (id) {
document.body.classList.add(id)
document.body.classList.remove('theme--light')
document.body.classList.add(`theme--${id}`)
} else {
document.body.classList.add('theme--light')
}
this.selectItem('theme', id)
@@ -0,0 +1,33 @@
/**
* @copyright Copyright (c) 2020 Roeland Jago Douma <roeland@famdouma.nl>
*
* @author Roeland Jago Douma <roeland@famdouma.nl>
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { loadState } from '@nextcloud/initial-state'
OCA.Accessibility = loadState('accessibility', 'data')
if (OCA.Accessibility.theme !== false) {
document.body.classList.add(`theme--${OCA.Accessibility.theme}`)
} else {
document.body.classList.add('theme--light')
}
if (OCA.Accessibility.highcontrast !== false) {
document.body.classList.add('theme--highcontrast')
}
@@ -8,7 +8,7 @@
v-model="checked"
type="checkbox"
class="checkbox">
<label :for="'accessibility-' + preview.id">{{ t('accessibility', 'Enable') }} {{ preview.title.toLowerCase() }}</label>
<label :for="'accessibility-' + preview.id">{{ preview.enableLabel }}</label>
</div>
</div>
</template>
+20 -1
View File
@@ -1,8 +1,27 @@
/**
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import Vue from 'vue'
import { loadState } from '@nextcloud/initial-state'
import App from './Accessibility.vue'
/* global t */
// bind to window
Vue.prototype.OC = OC
Vue.prototype.t = t
+7 -4
View File
@@ -1,11 +1,14 @@
const path = require('path')
module.exports = {
entry: path.join(__dirname, 'src', 'main.js'),
entry: {
accessibility: path.join(__dirname, 'src', 'main.js'),
accessibilityoca: path.join(__dirname, 'src', 'accessibilityoca.js'),
},
output: {
path: path.resolve(__dirname, './js'),
publicPath: '/js/',
filename: 'accessibility.js',
jsonpFunction: 'webpackJsonpAccessibility'
}
filename: '[name].js',
jsonpFunction: 'webpackJsonpAccessibility',
},
}
+2 -2
View File
@@ -5,7 +5,7 @@
<name>Auditing / Logging</name>
<summary>Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions.</summary>
<description>Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions.</description>
<version>1.8.0</version>
<version>1.11.0</version>
<licence>agpl</licence>
<author>Nextcloud</author>
<namespace>AdminAudit</namespace>
@@ -15,7 +15,7 @@
<category>monitoring</category>
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="18" max-version="18"/>
<nextcloud min-version="21" max-version="21"/>
</dependencies>
<background-jobs>
<job>OCA\AdminAudit\BackgroundJobs\Rotate</job>
@@ -37,8 +37,8 @@ namespace Composer\Autoload;
*
* @author Fabien Potencier <fabien@symfony.com>
* @author Jordi Boggiano <j.boggiano@seld.be>
* @see http://www.php-fig.org/psr/psr-0/
* @see http://www.php-fig.org/psr/psr-4/
* @see https://www.php-fig.org/psr/psr-0/
* @see https://www.php-fig.org/psr/psr-4/
*/
class ClassLoader
{
@@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {
return call_user_func_array('array_merge', $this->prefixesPsr0);
return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
}
return array();
@@ -6,6 +6,7 @@ $vendorDir = dirname(dirname(__FILE__));
$baseDir = $vendorDir;
return array(
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
'OCA\\AdminAudit\\Actions\\Action' => $baseDir . '/../lib/Actions/Action.php',
'OCA\\AdminAudit\\Actions\\AppManagement' => $baseDir . '/../lib/Actions/AppManagement.php',
'OCA\\AdminAudit\\Actions\\Auth' => $baseDir . '/../lib/Actions/Auth.php',
@@ -13,6 +13,9 @@ class ComposerAutoloaderInitAdminAudit
}
}
/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader()
{
if (null !== self::$loader) {
@@ -25,7 +28,7 @@ class ComposerAutoloaderInitAdminAudit
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require_once __DIR__ . '/autoload_static.php';
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInitAdminAudit::getInitializer($loader));
} else {
@@ -21,6 +21,7 @@ class ComposerStaticInitAdminAudit
);
public static $classMap = array (
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
'OCA\\AdminAudit\\Actions\\Action' => __DIR__ . '/..' . '/../lib/Actions/Action.php',
'OCA\\AdminAudit\\Actions\\AppManagement' => __DIR__ . '/..' . '/../lib/Actions/AppManagement.php',
'OCA\\AdminAudit\\Actions\\Auth' => __DIR__ . '/..' . '/../lib/Actions/Auth.php',
View File
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "التدقيق / السجلات",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "خاصية سجلات المراقبة لـ نكست كلاود مثل الوصول إلى سجلات الملفات أو المعلومات الحساسة الاخرى."
},
"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "التدقيق / السجلات",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "خاصية سجلات المراقبة لـ نكست كلاود مثل الوصول إلى سجلات الملفات أو المعلومات الحساسة الاخرى."
},"pluralForm" :"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditoria/registre",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona funcionalitats de registre per al Nextcloud, com ara un registre d'accés a fitxers o altres accions relacionades amb la confidencialitat."
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoria/registre",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona funcionalitats de registre per al Nextcloud, com ara un registre d'accés a fitxers o altres accions relacionades amb la confidencialitat."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditování / zaznamenávání událostí",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Poskytuje Nextcloud schopnosti zaznamenávání událostí, jako například zaznamenávání přístupů k souboru nebo jiných citlivých akcí."
},
"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditování / zaznamenávání událostí",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Poskytuje Nextcloud schopnosti zaznamenávání událostí, jako například zaznamenávání přístupů k souboru nebo jiných citlivých akcí."
},"pluralForm" :"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditieren / Protokollieren",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Stellt Protokollierungsfunktionen für Nextcloud zur Verfügung wie Dateizugriffe oder andere vertrauliche Aktionen."
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditieren / Protokollieren",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Stellt Protokollierungsfunktionen für Nextcloud zur Verfügung wie Dateizugriffe oder andere vertrauliche Aktionen."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditieren / Protokollieren",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Stellt Protokollierungsfunktionen für Nextcloud zur Verfügung wie Dateizugriffe oder andere vertrauliche Aktionen."
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditieren / Protokollieren",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Stellt Protokollierungsfunktionen für Nextcloud zur Verfügung wie Dateizugriffe oder andere vertrauliche Aktionen."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditing / Logging",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions."
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditing / Logging",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditoría / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Ofrece a Nextcloud capacidades de registro tales como registrar los accesos a archivos u otras acciones sensibles."
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoría / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Ofrece a Nextcloud capacidades de registro tales como registrar los accesos a archivos u otras acciones sensibles."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditoría / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona capacidades de registro para Nextcloud, como el acceso a archivos de registro o acciones sensibles."
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoría / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona capacidades de registro para Nextcloud, como el acceso a archivos de registro o acciones sensibles."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditoría / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona capacidades de registro para Nextcloud, como el acceso a archivos de registro o acciones sensibles."
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoría / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona capacidades de registro para Nextcloud, como el acceso a archivos de registro o acciones sensibles."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditoretza / Erregistroa",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Nextcloud-i gaitasuna ematen dio, adibidez, fitxategien atzipenak edo bestelako ekintza babesgarriak erregistratzeko."
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoretza / Erregistroa",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Nextcloud-i gaitasuna ematen dio, adibidez, fitxategien atzipenak edo bestelako ekintza babesgarriak erregistratzeko."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditointi / lokitus",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Tarjoaa Nextcloudille lokin ylläpidon esimerkiksi tiedostojen käytöstä tai arkaluonteisista toiminnoista."
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditointi / lokitus",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Tarjoaa Nextcloudille lokin ylläpidon esimerkiksi tiedostojen käytöstä tai arkaluonteisista toiminnoista."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Audit / journalisation",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fournit des capacités de journalisation pour Nextcloud telles que la journalisation des accès aux fichiers ou des actions autrement sensibles."
},
"nplurals=2; plural=(n > 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Audit / journalisation",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fournit des capacités de journalisation pour Nextcloud telles que la journalisation des accès aux fichiers ou des actions autrement sensibles."
},"pluralForm" :"nplurals=2; plural=(n > 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditoría / Rexistro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece recursos de rexistro para o Nextcloud como rexistros de acceso a ficheiros ou calquera outra acción sensíbel."
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoría / Rexistro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece recursos de rexistro para o Nextcloud como rexistros de acceso a ficheiros ou calquera outra acción sensíbel."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Revizija/zapisivanje",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Omogućuje zapisivanje u Nextcloudu, primjerice radi bilježenja pristupa datotekama ili drugih osjetljivih radnji."
},
"nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Revizija/zapisivanje",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Omogućuje zapisivanje u Nextcloudu, primjerice radi bilježenja pristupa datotekama ili drugih osjetljivih radnji."
},"pluralForm" :"nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;"
}

Some files were not shown because too many files have changed in this diff Show More