Compare commits

..

2420 Commits

Author SHA1 Message Date
Roeland Jago Douma ca9783f634 Merge pull request #25103 from nextcloud/version/19.0.7/final
19.0.7
2021-01-14 09:47:09 +01:00
Nextcloud bot 9e5134b241 [tx-robot] updated from transifex 2021-01-14 02:19:23 +00:00
Nextcloud bot 004cacffca [tx-robot] updated from transifex 2021-01-13 02:20:40 +00:00
Roeland Jago Douma ae13fc1e52 19.0.7
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-12 23:03:48 +01:00
Nextcloud bot 9845401931 [tx-robot] updated from transifex 2021-01-12 02:20:10 +00:00
Nextcloud bot f5c98642f7 [tx-robot] updated from transifex 2021-01-11 02:20:14 +00:00
Nextcloud bot 638d2b30ab [tx-robot] updated from transifex 2021-01-10 02:22:59 +00:00
Nextcloud bot c096999904 [tx-robot] updated from transifex 2021-01-09 02:21:55 +00:00
Nextcloud bot 2a5262b47b [tx-robot] updated from transifex 2021-01-08 02:22:50 +00:00
Roeland Jago Douma ab75d68c57 Merge pull request #24959 from nextcloud/version/19.0.7/rc1
19.0.7 RC1
2021-01-07 14:46:55 +01:00
Morris Jobke ac8a64a59c Merge pull request #24591 from nextcloud/backport/24358/stable19
[stable19] use storage copy implementation when doing dav copy
2021-01-07 13:29:08 +01:00
Morris Jobke 57e165c244 Merge pull request #24593 from nextcloud/backport/23912/stable19
[stable19] use in objectstore copy
2021-01-07 13:28:38 +01:00
Julius Härtl 3f8024932a Merge pull request #24962 from nextcloud/backport/24683/stable19
[stable19] [Fix #24682]: ensure federation cloud id is retruned if FN property not found
2021-01-07 09:41:40 +01:00
Roeland Jago Douma a713fb71a1 Merge pull request #24973 from nextcloud/backport/24964/stable19
[stable19] Don't throw a 500 when importing a broken ics reminder file
2021-01-07 09:08:15 +01:00
Nextcloud bot f573c4faec [tx-robot] updated from transifex 2021-01-07 02:21:31 +00:00
Morris Jobke 970f60e775 Merge pull request #24991 from nextcloud/backport/24986/stable19
[stable19] Update root.crl due to revocation of transmission.crt
2021-01-06 21:05:54 +01:00
Morris Jobke d905eaddf9 Update root.crl due to revocation of transmission.crt
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-01-06 19:47:19 +00:00
Nextcloud bot dee242da1a [tx-robot] updated from transifex 2021-01-06 02:20:20 +00:00
Julius Härtl 0849262c7f Merge pull request #24880 from nextcloud/backport/stable19/23017 2021-01-05 15:12:27 +01:00
Joas Schilling 6cab0e695c Don't throw a 500 when importing a broken ics reminder file
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-05 12:02:03 +00:00
Julius Härtl fc667af3c9 Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-05 10:06:32 +01:00
Julius Härtl 0d0cc44ccd Show unique displayname context in the user share list entries
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-05 10:06:32 +01:00
Julius Härtl d77b3345b2 Show unique displayname context in the sharing input
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-05 10:06:32 +01:00
Julius Härtl 177a30b07f 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>
2021-01-05 10:06:32 +01:00
Guillaume Virlet db048845ef [Fix #24682]: ensure federation cloud id is retruned if FN property not found
Signed-off-by: Guillaume Virlet <github@virlet.org>
2021-01-05 08:27:31 +00:00
Roeland Jago Douma 7e496c9bca 19.0.7 RC1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-05 09:15:59 +01:00
Roeland Jago Douma 1dc3f0f48e Merge pull request #24762 from nextcloud/backport/24515/stable19
[stable19] fixes sharing to group ids with characters that are being url encoded
2021-01-05 09:09:12 +01:00
Nextcloud bot 6ea1157822 [tx-robot] updated from transifex 2021-01-05 02:21:47 +00:00
Nextcloud bot 77fc8f394a [tx-robot] updated from transifex 2021-01-04 02:22:07 +00:00
Nextcloud bot f801758704 [tx-robot] updated from transifex 2021-01-03 02:21:16 +00:00
Nextcloud bot 9520bc2010 [tx-robot] updated from transifex 2021-01-01 02:21:21 +00:00
Nextcloud bot faf572163a [tx-robot] updated from transifex 2020-12-31 02:27:21 +00:00
Roeland Jago Douma bd73513439 Merge pull request #24901 from nextcloud/dependabot/composer/stable19/pear/archive_tar-1.4.11
[stable19] Bump pear/archive_tar from 1.4.9 to 1.4.11
2020-12-30 14:22:49 +01:00
Christoph Wurst 9d2594e59f Bump pear/archive_tar from 1.4.9 to 1.4.11
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-30 10:29:58 +01:00
Nextcloud bot 4bff74a4e0 [tx-robot] updated from transifex 2020-12-30 02:19:28 +00:00
Julius Härtl 7d3bf1c314 Merge pull request #24875 from nextcloud/backport/24874/stable19
[stable19] Avoid huge exception argument logging
2020-12-29 14:09:24 +01:00
Roeland Jago Douma 7d282a4e88 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:46:54 +00:00
Nextcloud bot 25a65a34a7 [tx-robot] updated from transifex 2020-12-29 02:20:11 +00:00
Roeland Jago Douma e1a1854753 Merge pull request #24855 from nextcloud/backport/24833/stable19
[stable19] Fix total upload size overwritten by next upload
2020-12-28 14:17:02 +01:00
Daniel Calviño Sánchez acdf895c2d 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-28 10:24:12 +00:00
Nextcloud bot 6a85c12b4b [tx-robot] updated from transifex 2020-12-28 02:19:28 +00:00
Nextcloud bot 085a0dd8c0 [tx-robot] updated from transifex 2020-12-27 02:25:03 +00:00
Nextcloud bot 91b383cb81 [tx-robot] updated from transifex 2020-12-26 02:20:08 +00:00
Nextcloud bot 9244f2e798 [tx-robot] updated from transifex 2020-12-24 02:20:28 +00:00
Nextcloud bot ef46f3c20a [tx-robot] updated from transifex 2020-12-23 02:20:29 +00:00
Nextcloud bot 5d6cdabb88 [tx-robot] updated from transifex 2020-12-22 02:19:25 +00:00
Julius Härtl 8b15f820a1 Merge pull request #24799 from nextcloud/backport/24796/stable19
[stable19] Actually set the TTL on redis set
2020-12-21 16:01:09 +01:00
Roeland Jago Douma ae49423991 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:53:42 +00:00
Roeland Jago Douma 8a9a83351a Merge pull request #24795 from nextcloud/backport/23319/stable19
[stable19] Fix Argon2 descriptions
2020-12-21 13:33:39 +01:00
MichaIng ef18e45813 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-12-21 11:35:10 +00:00
Nextcloud bot 0be0f46f93 [tx-robot] updated from transifex 2020-12-21 02:19:14 +00:00
Nextcloud bot 1d38b3a587 [tx-robot] updated from transifex 2020-12-20 02:19:49 +00:00
Nextcloud bot ad33f58934 [tx-robot] updated from transifex 2020-12-19 02:19:57 +00:00
Arthur Schiwon edd9562079 fixes sharing to group ids /w chars that are being url encoded, carddav
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-12-18 12:00:44 +01:00
Arthur Schiwon fede4f4197 fix finding of groups with decodable chars in their id via DAV
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-12-18 12:00:37 +01:00
Arthur Schiwon 5379273b06 fixes sharing to group ids with characters that are being url encoded
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-12-18 12:00:22 +01:00
Nextcloud bot 7467551d85 [tx-robot] updated from transifex 2020-12-18 02:20:29 +00:00
Nextcloud bot ebb5fd2745 [tx-robot] updated from transifex 2020-12-17 02:20:37 +00:00
Nextcloud bot 1bd5d0b10e [tx-robot] updated from transifex 2020-12-16 02:21:00 +00:00
Nextcloud bot 200cc52aad [tx-robot] updated from transifex 2020-12-15 02:22:32 +00:00
Nextcloud bot 0113df4f3b [tx-robot] updated from transifex 2020-12-14 02:19:45 +00:00
Nextcloud bot 56df531fd1 [tx-robot] updated from transifex 2020-12-13 02:18:51 +00:00
Nextcloud bot cb1725f3d8 [tx-robot] updated from transifex 2020-12-12 02:19:05 +00:00
Nextcloud bot a18dea7c85 [tx-robot] updated from transifex 2020-12-11 02:20:35 +00:00
Nextcloud bot f2ee49e1cf [tx-robot] updated from transifex 2020-12-10 02:20:35 +00:00
Roeland Jago Douma 83b2058367 Merge pull request #24622 from nextcloud/version/19.0.6/final
19.0.6
2020-12-09 20:31:02 +01:00
Roeland Jago Douma 5d74b462e1 19.0.6
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-09 20:08:35 +01:00
Nextcloud bot aa3af0f128 [tx-robot] updated from transifex 2020-12-09 02:20:06 +00:00
Nextcloud bot 635039c8ae [tx-robot] updated from transifex 2020-12-08 02:20:41 +00:00
Roeland Jago Douma f3bf4b4b1e Merge pull request #24585 from nextcloud/version/19.0.6/RC2
19.0.6 RC2
2020-12-07 20:35:53 +01:00
Robin Appelman dedff0facb use in objectstore copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-12-07 16:07:25 +00:00
Robin Appelman 31944e84cb 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-12-07 16:07:10 +00:00
Roeland Jago Douma 7bff8a4c65 Merge pull request #24564 from nextcloud/backport/24552/stable19
[stable19] Remember me is not an app_password
2020-12-07 11:56:43 +01:00
Roeland Jago Douma 71e406627e Merge pull request #24561 from nextcloud/backport/24557/stable19
[stable19] [stable20] dont use system composer for autoload checker
2020-12-07 11:55:49 +01:00
Roeland Jago Douma 1d1bd4a61f 19.0.6 RC2
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 11:45:30 +01:00
Roeland Jago Douma 6091ae9648 Merge pull request #24583 from nextcloud/backport/24581/stable19
[stable19] Do not load nonexisting setup.js
2020-12-07 11:16:04 +01:00
Julius Härtl 262f0f8b50 Do not load nonexisting setup.js
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-07 08:23:27 +00:00
Nextcloud bot ef6a602868 [tx-robot] updated from transifex 2020-12-07 02:21:00 +00:00
Nextcloud bot 926138801c [tx-robot] updated from transifex 2020-12-06 02:19:47 +00:00
Nextcloud bot 503fd6aea3 [tx-robot] updated from transifex 2020-12-05 02:19:10 +00:00
Morris Jobke ec270ce35e Fix typo
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-12-04 15:56:38 +00:00
Roeland Jago Douma a5951d0d79 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 15:56:32 +00:00
Julius Härtl 0f576303a3 Force composer v1
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-04 15:20:03 +00:00
Robin Appelman edb9104271 cleanup after autoloader generation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-12-04 15:20:01 +00:00
Robin Appelman 47fae3d6cd 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-12-04 15:19:59 +00:00
Roeland Jago Douma 8a93263b86 Merge pull request #24554 from nextcloud/backport/24550/stable19
[stable19] Generate a new session id if the decrypting the session data fails
2020-12-04 16:09:40 +01:00
Roeland Jago Douma ca917c59e1 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:58:13 +00:00
Nextcloud bot 2ade35f6da [tx-robot] updated from transifex 2020-12-04 02:19:42 +00:00
Morris Jobke 6002f5dad8 Merge pull request #24471 from nextcloud/version/19.0.6/RC1
19.0.6 RC1
2020-12-03 13:33:01 +01:00
Roeland Jago Douma 133fbac24d 19.0.6 RC1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-03 11:17:41 +01:00
Roeland Jago Douma 6ff0d24ba6 Merge pull request #24528 from nextcloud/backport/24519/stable19
[stable19] Fix vsprint parameter
2020-12-03 09:37:30 +01:00
Roeland Jago Douma bf9888870c 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:20:06 +00:00
Morris Jobke 80efa644f6 Merge pull request #24518 from nextcloud/backport/24459/stable19
[stable19] Only execute plain mimetype check for directories and do the fallback…
2020-12-03 09:15:33 +01:00
Morris Jobke c4d29cc3f1 Merge pull request #24514 from nextcloud/backport/24501/stable19
[stable19] set mountid for personal external storage mounts
2020-12-03 09:09:09 +01:00
John Molakvoæ 769f4daece Merge pull request #24492 from nextcloud/backport/24376/stable19
[stable19] fix loading mtime of new file in conflict dialog in firefox
2020-12-03 07:44:33 +01:00
Nextcloud bot 253aeb3049 [tx-robot] updated from transifex 2020-12-03 02:20:10 +00:00
Morris Jobke a305573abd 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-12-02 20:05:09 +00:00
Robin Appelman a2300b4968 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-02 19:02:55 +00:00
Robin Appelman 3b9a432136 set mountid for personal external storage mounts
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-12-02 18:55:13 +00:00
Roeland Jago Douma fb874e5d6d Merge pull request #24508 from nextcloud/backport/23257/stable19
[stable19] Fix file size computation on 32bit platforms
2020-12-02 19:51:10 +01:00
aler9 349f754833 Fix file size computation on 32bit platforms
Signed-off-by: aler9 <46489434+aler9@users.noreply.github.com>
2020-12-02 15:27:22 +00:00
Christoph Wurst 32b7a0e13f Merge pull request #24503 from nextcloud/backport/24499/stable19
[stable19] Harden setup check for TLS version if host is not reachable
2020-12-02 16:06:08 +01:00
Morris Jobke 2ff7bc51a7 Harden setup check for TLS version if host is not reachable
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-12-02 13:30:23 +00:00
John Molakvoæ 379bb17a48 Merge pull request #24386 from nextcloud/backport/24382/stable19
[stable19] Properly encode path when fetching inherited shares
2020-12-02 12:20:07 +01:00
Julius Härtl 85177501a4 Properly encode path when fetching inherited shares
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-02 08:28:34 +00:00
Nextcloud bot 6f97488915 [tx-robot] updated from transifex 2020-12-02 02:20:28 +00:00
Morris Jobke e4bccaf624 Merge pull request #24484 from nextcloud/backport/24094/stable19
[stable19] Only attempt to move to trash if a file is not in appdata
2020-12-01 23:03:18 +01:00
Julius Härtl 59e60a0756 Only attempt to move to trash if a file is not in appdata
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-01 22:02:43 +01:00
Morris Jobke 6c7b0faeec Merge pull request #24480 from nextcloud/backport/24242/stable19
[stable19] Update ScanLegacyFormat.php
2020-12-01 13:42:07 +01:00
essys f5e1da1aa9 Update ScanLegacyFormat.php
Fixed a small typo on line 99.
2020-12-01 12:09:42 +00:00
Morris Jobke 21defabc41 Merge pull request #24327 from nextcloud/backport/24103/stable19
[stable19] Only check path for being accessible when the storage is a object home
2020-12-01 11:04:09 +01:00
Morris Jobke 9ae16703ae Merge pull request #24343 from nextcloud/backport/24331/stable19
[stable19] Fix contacts menu position and show uid as a tooltip
2020-12-01 11:01:23 +01:00
Roeland Jago Douma 2e1c583fbd Merge pull request #24463 from nextcloud/backport/24460/stable19
[stable19] Use correct l10n source in files_sharing JS code
2020-12-01 08:47:58 +01:00
Nextcloud bot df795519ad [tx-robot] updated from transifex 2020-12-01 02:20:05 +00:00
Morris Jobke 65da0ef3b5 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 19:10:52 +00:00
Morris Jobke 739fdbaeba Merge pull request #24457 from nextcloud/backport/24451/stable19
[stable19] external storages: save group ids not display names in configuration
2020-11-30 17:22:31 +01:00
Morris Jobke 4d341334c8 Merge pull request #24452 from nextcloud/backport/24449/stable19
[stable19] Store scss variables under a different prefix for each theming config version
2020-11-30 16:54:28 +01:00
Arthur Schiwon bc82799663 save group ids not display names in configuration
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-30 14:52:02 +00:00
Julius Härtl 73787958d0 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:24:20 +00:00
Morris Jobke 0cc0d826a8 Merge pull request #24447 from nextcloud/backport/23652/stable19
[stable19] Fix public calendars shared to circles
2020-11-30 11:33:21 +01:00
Morris Jobke 7bc8135013 Merge pull request #24444 from nextcloud/backport/24357/stable19
[stable19] Make sure we add new line between vcf groups exports
2020-11-30 10:19:55 +01:00
Daniel Kesselberg 23263f9490 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-30 09:02:05 +00:00
Daniel Kesselberg 04364169ed Update phpdoc for circleToPrincipal
as the QueryException is already catched inside circleToPrincipal.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-11-30 09:02:02 +00:00
John Molakvoæ (skjnldsv) 0d43076f07 Make sure we add new line between vcf groups exports
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-11-30 08:14:01 +00:00
Nextcloud bot ae3bfb97c3 [tx-robot] updated from transifex 2020-11-30 02:20:02 +00:00
Nextcloud bot e2a30e2996 [tx-robot] updated from transifex 2020-11-29 02:19:29 +00:00
Nextcloud bot dc443c55c3 [tx-robot] updated from transifex 2020-11-28 02:18:41 +00:00
blizzz 5a4e066ec2 Merge pull request #24392 from nextcloud/backport/24375/stable19
[stable19] formatting remote sharer should take protocol, path into account
2020-11-26 22:12:53 +01:00
npmbuildbot-nextcloud[bot] 86cf119993 Compile assets
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-26 17:22:57 +00:00
Joas Schilling 45616f09f6 Merge pull request #24334 from nextcloud/backport/24315/stable19
[stable19] avoid empty null default with value that will be inserted anyways
2020-11-26 14:50:39 +01:00
Arthur Schiwon e4b1d135a5 formatting remote sharer should take protocol, path into account
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-26 13:12:33 +00:00
Nextcloud bot 1636dfcbfa [tx-robot] updated from transifex 2020-11-26 02:19:05 +00:00
Roeland Jago Douma 6d6382a55d Merge pull request #24354 from nextcloud/backport/24162/stable19
[stable19] set the display name of federated sharees from addressbook
2020-11-25 16:18:12 +01:00
Roeland Jago Douma b760aa903b Merge pull request #24368 from nextcloud/backport/24363/stable19
[stable19] Catch storage not available in versions expire command
2020-11-25 16:17:37 +01:00
Roeland Jago Douma 35cc99fdf6 Merge pull request #24370 from nextcloud/backport/21844/stable19
[stable19] Avoid substr() error when strpos returns false
2020-11-25 14:42:56 +01:00
Arthur Schiwon 29a452c693 send expected format of cloud id
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-25 14:32:30 +01:00
Arthur Schiwon 10a252c905 set the display name of federated sharees from addressbook
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-25 14:32:06 +01:00
lui87kw aecf4eff27 Extra white space to follow other ifs
Signed-off-by: lui87kw <lukas.ifflaender@uni-wuerzburg.de>
2020-11-25 11:55:16 +00:00
bladewing 43e401e3a2 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-11-25 11:55:15 +00:00
Christoph Wurst 2e511e3ea0 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 11:52:26 +01:00
Nextcloud bot 48ef5148c1 [tx-robot] updated from transifex 2020-11-25 02:19:13 +00:00
Julius Härtl ef95ac67ea Fix contacts menu position and show uid as a tooltip
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-24 17:45:59 +00:00
John Molakvoæ ef37e375db Merge pull request #24347 from nextcloud/backport/24341/stable19
[stable19] Fix the config key on the sharing expire checkbox
2020-11-24 18:39:16 +01:00
Arthur Schiwon 52f32115e7 avoid empty null default with value that will be inserted anyways
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-24 17:32:03 +01:00
Christoph Wurst 49299ed1c1 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:56:53 +00:00
Julius Härtl 3d0fd501f6 Only check path for being accessible when the storage is a object home
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-24 09:15:27 +00:00
Nextcloud bot e99d6b4dad [tx-robot] updated from transifex 2020-11-24 02:19:14 +00:00
Morris Jobke 5870bd2383 Merge pull request #24296 from nextcloud/backport/stable19/23023
[stable19] Delete files that exceed trashbin size immediately
2020-11-23 21:07:46 +01:00
Morris Jobke 2a7c990ea0 Merge pull request #24306 from nextcloud/fix/stable19-sabre-parse-xml-errors
[stable19] Update sabre/xml to fix XML parsing errors
2020-11-23 20:51:55 +01:00
Christoph Wurst 3f06a29b2b Update sabre/xml to fix XML parsing errors
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-23 12:06:11 +01:00
Julius Härtl 1a607b2030 Delete files that exceed trashbin size immediately
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-23 09:09:39 +01:00
Nextcloud bot 22f5093f7b [tx-robot] updated from transifex 2020-11-22 02:18:47 +00:00
Nextcloud bot de80cbc037 [tx-robot] updated from transifex 2020-11-21 02:19:35 +00:00
Morris Jobke 32503f375c Merge pull request #24262 from nextcloud/backport/24108/stable19
[stable19] Use correct year for generated birthdays events
2020-11-20 22:41:39 +01:00
Sven Strickroth 75cdfd8dc2 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-20 20:39:34 +00:00
Morris Jobke 7d2968aca0 Merge pull request #24260 from nextcloud/backport/24257/stable19
[stable19] Simple typo in comments
2020-11-20 21:29:31 +01:00
Carlos Ferreira 8f9facccf0 Simple typo in comments 2020-11-20 19:48:09 +00:00
Roeland Jago Douma b5d99fdc67 Merge pull request #24233 from nextcloud/backport/24211/stable19
[stable19] Fix setting images through occ for theming
2020-11-20 10:04:16 +01:00
Nextcloud bot b97416ee62 [tx-robot] updated from transifex 2020-11-20 02:20:26 +00:00
Julius Härtl cc0283e2b2 Fix setting images through occ for theming
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-19 22:21:39 +00:00
Roeland Jago Douma e5b977589a Merge pull request #24182 from nextcloud/backport/24102/stable19
[stable19] Check quota of subdirectories when uploading to them
2020-11-19 10:40:16 +01:00
Roeland Jago Douma 076130ba46 Merge pull request #24195 from nextcloud/backport/24098/stable19
[stable19] circleId too short in some request
2020-11-19 10:09:41 +01:00
Nextcloud bot cf65cba574 [tx-robot] updated from transifex 2020-11-19 02:20:29 +00:00
Roeland Jago Douma 666ad85b63 Merge pull request #24171 from nextcloud/version/19.0.5/final
19.0.5
2020-11-18 20:15:47 +01:00
Maxence Lange 4d0a05f81f circleId too short in some request
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-11-18 07:57:18 +00:00
Nextcloud bot b19fb24178 [tx-robot] updated from transifex 2020-11-18 02:18:55 +00:00
Roeland Jago Douma 29f8e6df44 Merge pull request #24184 from nextcloud/revert-24177-backport/24098/stable19
Revert "[stable19] circleId too short in some request"
2020-11-17 21:53:27 +01:00
Christoph Wurst 751aa3f6b7 Revert "[stable19] circleId too short in some request" 2020-11-17 14:21:06 +01:00
Julius Härtl a297523381 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 13:55:21 +01:00
Julius Härtl 4530877e5d Fetch quota with files propfind
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-17 12:35:20 +00:00
Christoph Wurst 8a710c8837 Merge pull request #24177 from nextcloud/backport/24098/stable19
[stable19] circleId too short in some request
2020-11-17 13:32:20 +01:00
Maxence Lange abb05a5b1f circleId too short in some request
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-11-17 10:25:43 +00:00
Roeland Jago Douma b57234acce 19.0.5
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-17 09:39:27 +01:00
Nextcloud bot ec4a226342 [tx-robot] updated from transifex 2020-11-17 02:18:44 +00:00
Roeland Jago Douma 55e15f0221 Merge pull request #24092 from nextcloud/version/19.0.5/RC2
19.0.5 RC2
2020-11-16 19:43:50 +01:00
Roeland Jago Douma 47ee460f86 Merge pull request #24160 from nextcloud/backport/24069/stable19
[stable19] Fix default internal expiration date
2020-11-16 19:17:46 +01:00
Julius Härtl 8de8bd2326 Merge pull request #24076 from nextcloud/backport/23741/stable19
[stable19] Unlock when promoting to exclusive lock fails
2020-11-16 17:07:05 +01:00
Roeland Jago Douma fd3db61cff Merge pull request #24111 from J0WI/backport/23239/stable19
[stable19] Fix password visibility toggles
2020-11-16 16:03:33 +01:00
Daniel Calviño Sánchez 4e094b71b6 Add integration tests for creating shares with default expiration dates
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:20:19 +00:00
Daniel Calviño Sánchez 8832d15069 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 13:20:16 +00:00
Daniel Calviño Sánchez a50132e4e1 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 13:20:13 +00:00
Daniel Calviño Sánchez dd70a20da0 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 13:20:11 +00:00
Daniel Calviño Sánchez ca133ea2cc 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-16 13:20:08 +00:00
Daniel Calviño Sánchez 16b1b655cf 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-16 13:20:05 +00:00
Daniel Calviño Sánchez 1aed476937 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-16 13:20:02 +00:00
Daniel Calviño Sánchez 2e0352182b Fix unit test method name
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:19:59 +00:00
Daniel Calviño Sánchez e13c5ece4f 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-16 13:19:56 +00:00
Daniel Calviño Sánchez 42782ceeba 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-16 13:19:53 +00:00
Daniel Calviño Sánchez 94648f1ecd Add unit tests to enforce a relaxed default share expiration date
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:19:51 +00:00
Daniel Calviño Sánchez 24f067bdaf Remove wrong and misleading comment
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:19:48 +00:00
Daniel Calviño Sánchez 9e84664f21 Remove extra spaces
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:19:45 +00:00
Daniel Calviño Sánchez 53e73dc46f Fix typo in variable name
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:19:42 +00:00
Daniel Calviño Sánchez bd431e2e59 Fix typos in method names
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:19:39 +00:00
J0WI f819df132c Fix password visibility toggles
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-16 12:36:40 +00:00
Roeland Jago Douma 67f58b9c5f Merge pull request #24155 from nextcloud/dependencies/stable19/dompurify
[stable19] Bump dompurify to 2.2.2
2020-11-16 12:50:51 +01:00
Roeland Jago Douma 7057e05ff2 Merge pull request #24080 from nextcloud/backport/24066/stable19
[stable19] Fix default internal expiration date enforce
2020-11-16 12:22:02 +01:00
Roeland Jago Douma 20b3025022 Merge pull request #24115 from nextcloud/backport/24096/stable19
[stable19] Convert the card resource to a string if necessary
2020-11-16 12:15:15 +01:00
Roeland Jago Douma cf04049aa6 Merge pull request #24148 from nextcloud/backport/24146/stable19
[stable19] Don't throw on SHOW VERSION query
2020-11-16 12:10:01 +01:00
Julius Härtl d7a89e746c Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-16 11:41:24 +01:00
Julius Härtl 9e2bc48512 Bump dompurify to 2.2.2
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-16 11:38:22 +01:00
Joas Schilling eecac68459 Don't throw on SHOW VERSION query
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-16 09:02:52 +00:00
Nextcloud bot 587a2d4ad1 [tx-robot] updated from transifex 2020-11-16 02:19:41 +00:00
Nextcloud bot 86913cb486 [tx-robot] updated from transifex 2020-11-15 02:19:19 +00:00
Nextcloud bot fa9b2278fa [tx-robot] updated from transifex 2020-11-14 02:19:57 +00:00
Christoph Wurst a4f6ceb862 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 18:21:22 +00:00
Roeland Jago Douma 240e4f4050 19.0.5 RC2
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-13 08:42:46 +01:00
John Molakvoæ (skjnldsv) e132c0560b Fix default internal expiration date enforce
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-13 07:32:01 +00:00
Nextcloud bot 1953fccdc2 [tx-robot] updated from transifex 2020-11-13 02:19:44 +00:00
Ashod Nakashian da7f445179 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-12 19:07:35 +00:00
Roeland Jago Douma 9c59778ee1 Merge pull request #23990 from nextcloud/version/19.0.5/RC1
19.0.5 RC1
2020-11-12 15:54:34 +01:00
Roeland Jago Douma 38b060628b Merge pull request #23168 from nextcloud/backport/22913/stable19
[stable19] add mount point to quota warning message
2020-11-12 15:22:07 +01:00
Joas Schilling b9db1cede3 Only use index of mount point when it is there
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-12 14:44:43 +01:00
Roeland Jago Douma 565ae7d493 Fix unit tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-12 14:43:17 +01:00
Robin Appelman f70abf4939 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-11-12 14:39:12 +01:00
Nextcloud bot 4baf1868be [tx-robot] updated from transifex 2020-11-12 02:19:43 +00:00
Roeland Jago Douma 0f5ac14f43 Merge pull request #24048 from nextcloud/backport/23943/stable19
[stable19] Fix iLike() falsely turning escaped % and _ into wildcards
2020-11-11 21:53:24 +01:00
Roeland Jago Douma e6dbc714de Merge pull request #24052 from nextcloud/backport/23915/stable19
[stable19] Use png icons in caldav reminder emails
2020-11-11 21:27:45 +01:00
Roeland Jago Douma edcbab5c5c Merge pull request #24057 from nextcloud/fix/stabl19/fix-php-cs-fixer
[stable19] Fix php-cs-fixer on stable19 by updating to a new minor version
2020-11-11 18:04:56 +01:00
Morris Jobke a1fff88b64 Apply code style fixes
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-11 16:43:41 +01:00
Morris Jobke e200c6f14b Fix php-cs-fixer on stable19 by updating to a new minor version
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-11 16:22:21 +01:00
Morris Jobke 742ac0f4fe Merge pull request #24045 from nextcloud/backport/24042/stable19
[stable19] Fix sharing tab state not matching resharing admin settings
2020-11-11 15:54:14 +01:00
Richard Steinmetz a6e3bf6a59 Use png icons in caldav reminder emails
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2020-11-11 12:38:24 +00:00
Daniel Calviño Sánchez 3af171d634 Add integration tests for default share permissions
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-11 13:30:04 +01:00
Daniel Calviño Sánchez 505e1b279f 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 13:30:04 +01:00
Daniel Calviño Sánchez a05bcfc4ca Add acceptance tests for reshares when resharing is disabled
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-11 13:29:55 +01:00
Daniel Calviño Sánchez 3d9597619a 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 10:45:30 +01:00
Daniel Calviño Sánchez 02ac90b2c1 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-11 10:38:11 +01:00
Joas Schilling d5dfaf42a8 Fix iLike() falsely turning escaped % and _ into wildcards
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-11 09:27:28 +00:00
Nextcloud bot b1efe1896b [tx-robot] updated from transifex 2020-11-11 02:20:31 +00:00
Christoph Wurst ceedb95a6b Merge pull request #23202 from nextcloud/backport/23182/stable19
[stable19] Fix the user email issue while creating a user
2020-11-10 08:51:35 +01:00
John Molakvoæ 4cd66463dc Merge pull request #24013 from nextcloud/backport/23981/stable19
[stable19] Fix js search in undefined ocs response
2020-11-10 07:00:07 +01:00
Nextcloud bot bdb59bf073 [tx-robot] updated from transifex 2020-11-10 02:19:04 +00:00
John Molakvoæ (skjnldsv) a923cdaf51 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 19:02:13 +00:00
Roeland Jago Douma 7b8ca9526b Merge pull request #24005 from nextcloud/backport/23999/stable19
[stable19] Remove old legacy scripts references
2020-11-09 19:37:55 +01:00
John Molakvoæ 8ff6d748c8 Removed config.js 2020-11-09 17:14:36 +01:00
Morris Jobke 91242c9f0a Merge pull request #23634 from nextcloud/backport/23374/stable19
[stable19] Only retry fetching app store data once every 5 minutes in case it fails
2020-11-09 16:59:56 +01:00
Morris Jobke e38a3b7edc Merge pull request #23997 from nextcloud/backport/23982/stable19
[stable19] Make sure root storage is valid before checking its size
2020-11-09 15:38:17 +01:00
Julius Härtl 5aef556016 Only retry fetching app store data once every 5 minutes in case it fails
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-09 11:50:00 +01:00
John Molakvoæ (skjnldsv) 40a2cf96be Make sure root storage is valid before checking its size
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-11-09 10:08:17 +00:00
Roeland Jago Douma 13e290892f 19.0.5 RC1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-09 09:03:29 +01:00
Nextcloud bot b516a58acf [tx-robot] updated from transifex 2020-11-09 02:19:11 +00:00
Nextcloud bot 288e8c6ff0 [tx-robot] updated from transifex 2020-11-08 02:18:43 +00:00
Roeland Jago Douma 8c384b8856 Merge pull request #23952 from nextcloud/backport/23922/stable19
[stable19] Improve query type detection
2020-11-07 10:48:56 +01:00
Nextcloud bot 80399bd890 [tx-robot] updated from transifex 2020-11-07 02:19:16 +00:00
Joas Schilling ce718ebd7b Improve query type detection
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-06 21:23:20 +00:00
Morris Jobke f97048f0d0 Merge pull request #23931 from nextcloud/backport/23917/stable19
[stable19] Do not emit UserCreatedEvent twice
2020-11-06 21:58:15 +01:00
Roeland Jago Douma 848170bee3 Merge pull request #23925 from nextcloud/backport/23920/stable19
[stable19] Bearer must be in the start of the auth header
2020-11-06 13:05:17 +01:00
Tobias Assmann dff10238de fix: also remove use statement of UserCreatedEvent
Signed-off-by: Tobias Assmann <tobias.assmann@ecsec.de>
2020-11-06 09:58:02 +00:00
Tobias Assmann ed46c5c94a 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-06 09:58:00 +00:00
Roeland Jago Douma d24ca17168 Bearer must be in the start of the auth header
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-06 08:23:52 +00:00
Roeland Jago Douma ae99412cba Merge pull request #23860 from nextcloud/backport/23350/stable19
[stable19] Inidicate preview availability in share api responses
2020-11-06 08:39:48 +01:00
Nextcloud bot 6a13c3d7ce [tx-robot] updated from transifex 2020-11-06 02:19:30 +00:00
Richard Steinmetz af5a94dc3d Indicate preview availability in share api responses
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2020-11-06 00:11:31 +01:00
Julius Härtl 9bd25d2a7f Merge pull request #23777 from nextcloud/backport/23024/stable19 2020-11-05 18:06:12 +01:00
Nextcloud bot 5553d2f8e8 [tx-robot] updated from transifex 2020-11-05 02:19:08 +00:00
John Molakvoæ be41b18e89 Merge pull request #23895 from nextcloud/backport/23799/stable19-minimal
[stable19] fix potentially passing null to events where IUser is expected
2020-11-04 16:01:57 +01:00
John Molakvoæ 2223a11739 Merge pull request #23885 from nextcloud/backport/23097/stable19
[stable19] Restrict query when searching for versions of trashbin files
2020-11-04 15:40:30 +01:00
Arthur Schiwon e23af8307c fix potentially passing null to events where IUser is expected
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-04 12:16:34 +01:00
Roeland Jago Douma c53b925104 Merge pull request #23875 from nextcloud/backport/23866/stable19
[stable19] Fix grid view toggle in tags view
2020-11-04 08:41:03 +01:00
Julius Härtl ea23f0d920 Restrict query when searching for versions of trashbin files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-04 07:32:53 +00:00
Nextcloud bot cc6e63e558 [tx-robot] updated from transifex 2020-11-04 02:19:20 +00:00
Morris Jobke 32ecd755d3 Fix grid view in tags view
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-03 19:25:46 +00:00
Morris Jobke 96f8cd0736 Merge pull request #23847 from nextcloud/backport/23839/stable19
[stable19] No need to check if there is an avatar available, because it is gener…
2020-11-03 10:46:59 +01:00
Nextcloud bot ec8058a5db [tx-robot] updated from transifex 2020-11-03 02:19:38 +00:00
Morris Jobke 1b2b478ff5 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 18:13:11 +00:00
Julius Härtl 0dd6819b5f Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-02 16:24:07 +01:00
Julius Härtl c5792f698a Add occ command to set theming values
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-02 16:23:43 +01:00
John Molakvoæ 5fc672f6d7 Merge pull request #23806 from nextcloud/dependabot/npm_and_yarn/stable19/lodash-4.17.20
[Security] Bump lodash from 4.17.15 to 4.17.20
2020-11-02 09:41:19 +01:00
Nextcloud bot d1db136b2a [tx-robot] updated from transifex 2020-11-02 02:19:22 +00:00
Nextcloud bot 6b68cbd9ac [tx-robot] updated from transifex 2020-11-01 02:18:42 +00:00
dependabot-preview[bot] 8e0c12ced2 [Security] Bump lodash from 4.17.15 to 4.17.20
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.20. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.20)

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 14:29:06 +00:00
Roeland Jago Douma 6b84da03af Merge pull request #23795 from nextcloud/backport/23788/stable19
[stable19] Only run phpunit when "php" changed
2020-10-31 08:49:31 +01:00
Nextcloud bot 815fe50c8a [tx-robot] updated from transifex 2020-10-31 02:19:06 +00:00
Morris Jobke 14a47a1c8c Add script to old versions
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-30 13:36:45 +01:00
Joas Schilling be363e2cb4 Also run for .sh and .json (when not package or package-lock)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-30 12:12:41 +00:00
Joas Schilling 6a59aa259d Also run all tests when drone config is modified
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-30 12:12:38 +00:00
Joas Schilling fe285d4d96 Only run phpunit when php, xml or test files are modified
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-30 12:12:35 +00:00
Nextcloud bot 48fbddc9f3 [tx-robot] updated from transifex 2020-10-30 02:19:28 +00:00
Roeland Jago Douma b1a517d57f Merge pull request #23755 from nextcloud/backport/22018/stable19
[stable19] Harden SSE key generation
2020-10-29 10:32:07 +01:00
Morris Jobke bbc586a1e4 Merge pull request #23760 from nextcloud/backport/23752/stable19
[stable19] inform the user when flow config data exceeds thresholds
2020-10-29 08:54:25 +01:00
Nextcloud bot c0662a9d46 [tx-robot] updated from transifex 2020-10-29 02:19:35 +00:00
Arthur Schiwon 4967d5b2ba inform the user when flow config data exceeds thresholds
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-28 15:11:14 +00:00
Morris Jobke 7c98fbb043 Fix typo in error message
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-28 14:14:03 +00:00
Julius Härtl c86e568a5d Test for locking state in key generation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-28 14:14:02 +00:00
Julius Härtl dd4dc60f4c 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-10-28 14:14:01 +00:00
Morris Jobke 4d20a63d4f Merge pull request #23734 from nextcloud/backport/23720/stable19
[stable19] save email as lower case
2020-10-28 08:49:10 +01:00
Nextcloud bot aa81a3045e [tx-robot] updated from transifex 2020-10-28 02:19:10 +00:00
Robin Appelman fdc70c08c6 save email as lower case
email addresses are case insensitive

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-27 20:25:30 +00:00
Roeland Jago Douma fe8e238df2 Merge pull request #23728 from nextcloud/backport/23722/stable19
[stable19] Use lib instead if core as l10n module in OC_Files
2020-10-27 20:08:30 +01:00
Roeland Jago Douma e9cfc6fd10 Merge pull request #23705 from nextcloud/backport/23680/stable19
[stable19] Enable theming background transparency
2020-10-27 19:59:58 +01:00
Morris Jobke 2561f4c02a Use lib instead if core as l10n module in OC_Files
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-27 16:32:42 +00:00
Morris Jobke 93bc5ea744 Merge pull request #23714 from nextcloud/backport/23645/stable19
[stable19] Check if array elements exist before using them
2020-10-27 16:26:03 +01:00
Morris Jobke 9007a8a004 Merge pull request #23708 from nextcloud/backport/23702/stable19
[stable19] fix sharer flag on ldap:show-remnants when user owned more than a single share
2020-10-27 13:52:41 +01:00
Roeland Jago Douma 2cafd81d23 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-27 11:00:27 +00:00
Arthur Schiwon 9c5bd23cf7 fixes determining whether former user is a share owner
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-27 08:49:04 +00:00
Arthur Schiwon 7544f0c508 split instantiation from business logic in OfflineUser
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-27 08:49:02 +00:00
Arthur Schiwon 394ec564af add test for active shares flag
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-27 08:49:00 +00:00
John Molakvoæ (skjnldsv) 09d4aa3010 Enable theming background transparency
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-27 09:06:12 +01:00
Nextcloud bot 238435f9b5 [tx-robot] updated from transifex 2020-10-27 02:18:54 +00:00
Morris Jobke 36d3493657 Merge pull request #23691 from nextcloud/backport/23688/stable19
[stable19] Use bigint for fileid in filecache_extended
2020-10-26 13:57:54 +01:00
timm2k 76fb914944 Update CheckSetupController.php 2020-10-26 09:00:24 +00:00
timm2k a22ca01270 Update ConvertFilecacheBigInt.php 2020-10-26 09:00:22 +00:00
Nextcloud bot 7983b230fa [tx-robot] updated from transifex 2020-10-26 02:18:24 +00:00
Morris Jobke b57d3ad549 Merge pull request #23676 from nextcloud/backport/21993/stable19
[stable19] Log the route not found exception on a lower level
2020-10-25 22:00:08 +01:00
Morris Jobke 236ed11b6b Merge pull request #23647 from nextcloud/backport/23627/stable19
[stable19] Fix sharing input placeholder for emails
2020-10-25 21:59:13 +01:00
Roeland Jago Douma bb13f940f4 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-10-25 09:02:47 +00:00
Nextcloud bot 1cba7f917c [tx-robot] updated from transifex 2020-10-25 02:18:48 +00:00
John Molakvoæ (skjnldsv) 734edf9159 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-24 09:09:38 +00:00
Roeland Jago Douma 353412b83d Merge pull request #23424 from nextcloud/backport/23295/stable19
[stable19] Fix undefined index and consequential damages in versions code
2020-10-24 11:01:41 +02:00
Nextcloud bot cdbcd0ef12 [tx-robot] updated from transifex 2020-10-24 02:19:04 +00:00
Morris Jobke 5caa8e9490 Merge pull request #23642 from nextcloud/backport/23602/stable19
[stable19] Fix updates of NULL appconfig values
2020-10-23 14:30:25 +02:00
Morris Jobke 50e532047e Merge pull request #23637 from nextcloud/backport/23630/stable19
[stable19] Bring back the restore share button
2020-10-23 13:58:18 +02:00
Roeland Jago Douma bbc88ad708 Merge pull request #23585 from nextcloud/backport/23580/stable19
[stable19] Also expire share type email
2020-10-23 11:14:08 +02:00
Roeland Jago Douma af8ed35a1b 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-23 08:47:35 +00:00
Nextcloud bot e6b0df1986 [tx-robot] updated from transifex 2020-10-23 02:19:08 +00:00
Vincent Petry 2981961f59 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 19:01:18 +00:00
Morris Jobke 0f05829e2d Merge pull request #23624 from nextcloud/backport/23614/stable19
[stable19] Disable unreliable app-files-sharing.feature:338
2020-10-22 16:03:53 +02:00
Morris Jobke 4576158a16 Merge pull request #23623 from nextcloud/backport/23613/stable19
[stable19] Disable unreliable app-files.feature:108
2020-10-22 15:57:42 +02:00
Morris Jobke b09bb61929 Disable unreliable app-files-sharing.feature:108
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-22 10:26:10 +00:00
Morris Jobke 56b0dc0b3d Disable unreliable app-files.feature:108
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-22 10:23:54 +00:00
Nextcloud bot 428e2e9fee [tx-robot] updated from transifex 2020-10-22 02:19:25 +00:00
Morris Jobke ecadc64abb Merge pull request #23571 from nextcloud/backport/23566/stable19
[stable19] LDAP: when nesting is not enabled, the group filter can be applied right away
2020-10-21 21:15:30 +02:00
Arthur Schiwon 59974c1fd5 tame psalm. why does it ignore '@property'?
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-21 16:26:48 +02:00
Arthur Schiwon 85d5ac5c91 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-21 16:26:47 +02:00
Nextcloud bot 227d237690 [tx-robot] updated from transifex 2020-10-21 02:19:01 +00:00
John Molakvoæ (skjnldsv) d9c26c86a3 Also expire share type email
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-20 11:40:40 +02:00
Morris Jobke 3157ff441c Merge pull request #23564 from nextcloud/backport/23497/stable19
[stable19] CalDavBackend: check if timerange is array before accessing
2020-10-20 09:56:44 +02:00
Nextcloud bot bca309a7ff [tx-robot] updated from transifex 2020-10-20 02:18:58 +00:00
Roeland Jago Douma 90f4948800 Merge pull request #23515 from nextcloud/backport/23478/stable19
[stable19] Clear cached app config while waiting for the SCSSCache lock to return
2020-10-19 14:52:37 +02:00
Simon Spannagel afb88e7719 CalDavBackend: check if timerange is array before accessing
Signed-off-by: Simon Spannagel <simonspa@kth.se>
2020-10-19 11:16:49 +00:00
Christoph Wurst ab977d074d Merge pull request #23556 from nextcloud/backport/23554/stable19
[stable19] Update CA bundle to october version
2020-10-19 11:55:08 +02:00
Morris Jobke 3f1b4c933f Update CA bundle to october version
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-19 09:00:37 +00:00
Nextcloud bot 0dfb367cd5 [tx-robot] updated from transifex 2020-10-19 02:18:15 +00:00
Nextcloud bot 5d638e23dc [tx-robot] updated from transifex 2020-10-18 02:18:01 +00:00
Nextcloud bot 176d94679c [tx-robot] updated from transifex 2020-10-17 02:19:05 +00:00
Morris Jobke c48076c645 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 18:18:26 +02:00
Morris Jobke 79a9feffdd Merge pull request #23511 from nextcloud/backport/23488/stable19
[stable19] SCSSCacher - Lock should not be removed
2020-10-16 14:55:53 +02:00
Morris Jobke f962fdf39a 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 11:30:10 +00:00
Morris Jobke 6f21fd14bf Merge pull request #23504 from nextcloud/backport/23490/stable19
[stable19] Provide log statements for SCSS cache
2020-10-16 13:23:54 +02:00
Morris Jobke 5ce47c8e31 Merge pull request #23499 from nextcloud/backport/23492/stable19
[stable19] SharedMountTest.php:367 is unreliable
2020-10-16 10:57:25 +02:00
Morris Jobke 6a1540dd98 Provide log statements for SCSS cache
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-16 07:52:43 +00:00
Morris Jobke a4530c8942 SharedMountTest.php:367 is unreliable
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-16 06:43:40 +00:00
Nextcloud bot 53ce5e7eeb [tx-robot] updated from transifex 2020-10-16 02:18:28 +00:00
John Molakvoæ e20b0c80a1 Merge pull request #23439 from nextcloud/disable-notify-self-check-19
[19] add option to disable notify self check
2020-10-15 15:11:12 +02:00
Nextcloud bot a5c17357b5 [tx-robot] updated from transifex 2020-10-15 02:18:41 +00:00
Morris Jobke 723ba53cfe Merge pull request #23385 from nextcloud/backport/23284/stable19
[stable19] Fix adminpass strengthify margin
2020-10-14 16:54:34 +02:00
Robin Appelman c8a0ac921b add option to disable notify self check
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-14 14:08:28 +02:00
Nextcloud bot 97f6388df2 [tx-robot] updated from transifex 2020-10-14 02:19:06 +00:00
Morris Jobke 22b09f3510 Merge pull request #23421 from nextcloud/backport/23402/stable19
[stable19] Encode requesttoken for logout url in auto logout
2020-10-13 23:33:27 +02:00
npmbuildbot[bot] c8830512e8 Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-13 19:54:47 +00:00
Nextcloud bot bef065778a [tx-robot] updated from transifex 2020-10-13 19:33:53 +00:00
blizzz 0e64bde969 Merge pull request #23233 from nextcloud/notify-saved-login-auth-19
[19] allow using saved login credentials for notify
2020-10-13 19:41:06 +02:00
Morris Jobke 264250937e Return all keys in getAllVersions() instead
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-13 15:46:34 +00:00
Christoph Wurst 92ac576e1c 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-13 15:46:31 +00:00
Julius Härtl 123da7142c Encode requesttoken for logout url in auto logout
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-13 15:38:43 +00:00
Joas Schilling ac465f2c87 Merge pull request #23404 from nextcloud/backport/23396/stable19
[stable19] VersioningTest.php:729 is unreliable and should be disabled
2020-10-13 11:49:32 +02:00
Morris Jobke 68c106b689 VersioningTest:729 is unreliable and should be disabled
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-13 07:13:14 +00:00
Nextcloud bot 17dd0b8248 [tx-robot] updated from transifex 2020-10-13 02:18:49 +00:00
Morris Jobke ad191f8846 Merge pull request #23282 from nextcloud/backport/23269/stable19
[stable19] Fix the user remove from group in UI
2020-10-12 21:39:37 +02:00
Sujith Haridasan 904e33abcb 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>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-12 15:48:08 +00:00
Richard Steinmetz 3cc29f1ee4 Fix adminpass strengthify margin
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2020-10-12 15:43:30 +00:00
Morris Jobke 5387696f87 Merge pull request #23376 from nextcloud/backport/23310/stable19
[stable19] Add template typing to the QBMapper
2020-10-12 13:49:31 +02:00
Christoph Wurst cc0976aaa0 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:15:10 +00:00
Nextcloud bot 2a32e73fc2 [tx-robot] updated from transifex 2020-10-12 02:18:15 +00:00
Nextcloud bot 66a50d1a7f [tx-robot] updated from transifex 2020-10-11 02:18:52 +00:00
Nextcloud bot 132efb8123 [tx-robot] updated from transifex 2020-10-10 02:18:54 +00:00
Nextcloud bot 8ac3a6d954 [tx-robot] updated from transifex 2020-10-09 02:18:54 +00:00
Roeland Jago Douma 84a58957d5 Merge pull request #23214 from nextcloud/backport/22937/stable19
[stable19] Allow configuring the activity update interval of token
2020-10-08 11:52:45 +02:00
Roeland Jago Douma 759f47cba3 Merge pull request #23212 from nextcloud/backport/23096/stable19
[stable19] Also check the path based mimetype for flow rule checks
2020-10-08 11:52:09 +02:00
Roeland Jago Douma 60cb077942 Merge pull request #23263 from nextcloud/version/19.0.4/final
19.0.4 final
2020-10-08 09:09:22 +02:00
Nextcloud bot bafa390482 [tx-robot] updated from transifex 2020-10-08 02:18:54 +00:00
Robin Appelman 683142e1f3 also give storage backend it's change to manipulate the config
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-07 15:44:09 +02:00
Roeland Jago Douma c017f2dcb9 19.0.4 final
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-07 11:51:03 +02:00
Nextcloud bot bf530996d6 [tx-robot] updated from transifex 2020-10-07 02:18:24 +00:00
Roeland Jago Douma 8f4fcfafda Merge pull request #23225 from nextcloud/version/19.0.4/RC2
19.0.4 RC2
2020-10-06 19:32:52 +02:00
Robin Appelman 597cc797a1 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-10-06 17:05:31 +02:00
Morris Jobke eba468d888 Merge pull request #23221 from nextcloud/backport/23215/stable19
[stable19] Only run the query to get the account data once
2020-10-06 15:58:34 +02:00
Morris Jobke 867e628f54 Merge pull request #23217 from nextcloud/backport/23183/stable19
[stable19] Don't influence toastify errors and always use white
2020-10-06 15:55:31 +02:00
Roeland Jago Douma 8f5adecb3b Merge pull request #23196 from nextcloud/backport/23175/stable19
[stable19] Fix legacy update notifications
2020-10-06 13:28:37 +02:00
Roeland Jago Douma 03dd5803d9 19.0.4 RC2
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-06 13:11:52 +02:00
Joas Schilling 0fed0903e3 Only run the query to get the account data once
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-06 10:50:58 +00:00
Joas Schilling 24de6c732b Don't influence toastify errors and always use white
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-06 09:09:12 +00:00
Roeland Jago Douma 9375660254 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-06 08:04:19 +00:00
Morris Jobke c75378ac86 Merge pull request #23186 from nextcloud/backport/23109/stable19
[stable19] dont hold a transaction during the move to trash
2020-10-06 09:11:44 +02:00
Julius Härtl 9e3bdcd63c 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-10-06 06:08:08 +00:00
Nextcloud bot 85e5e7141b [tx-robot] updated from transifex 2020-10-06 02:18:48 +00:00
Sujith Haridasan 17705b69aa 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 19:34:19 +00:00
mrtnmtth aa989b7777 Fix legacy update notifications
Signed-off-by: mrtnmtth <mrtn.mtth@gmx.de>
2020-10-05 14:08:14 +00:00
Robin Appelman f6bf519e55 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-10-05 15:27:31 +02:00
Nextcloud bot 3759bef671 [tx-robot] updated from transifex 2020-10-05 02:18:52 +00:00
Nextcloud bot a1b2b5ddd4 [tx-robot] updated from transifex 2020-10-04 02:18:24 +00:00
Nextcloud bot 993d07de8c [tx-robot] updated from transifex 2020-10-02 11:06:28 +00:00
Roeland Jago Douma 8b25f10d2c Merge pull request #23137 from nextcloud/fix/19/settings_ignore_js
[stable19] Fix ignoring the correct settings files for translations
2020-10-02 12:44:44 +02:00
Roeland Jago Douma 3250629946 [stable19] Fix ignoring the correct settings files for translations
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-02 12:34:54 +02:00
Roeland Jago Douma 9413e67927 Merge pull request #23077 from nextcloud/version/19.0.4/RC1
19.0.4 RC1
2020-10-01 16:12:29 +02:00
Roeland Jago Douma 0840eedbfc Merge pull request #22784 from nextcloud/backport/22234/stable19
[stable19] Use user mount with matching shared storage only
2020-10-01 15:31:54 +02:00
Roeland Jago Douma 916f6124b0 Merge pull request #22941 from nextcloud/backport/22395/stable19
[stable19] Fix settings chunk loading
2020-10-01 10:51:07 +02:00
Joas Schilling eec45af773 Merge pull request #23086 from nextcloud/backport/22983/stable19
[stable19] Sync all users to the system addresssbook
2020-10-01 09:31:03 +02:00
Roeland Jago Douma 830a4348f9 Merge pull request #23087 from nextcloud/backport/23013/stable19
[stable19] Show federation and email results also with exact user match unless c…
2020-10-01 09:01:25 +02:00
Roeland Jago Douma 12abb5d2d3 Merge pull request #23090 from nextcloud/backport/23074/stable19
[stable19] Do not match sharees on an empty email address
2020-10-01 09:01:08 +02:00
Nextcloud bot 99e5940a7f [tx-robot] updated from transifex 2020-10-01 02:18:43 +00:00
Nextcloud bot 27d982e4bb [tx-robot] updated from transifex 2020-09-30 02:18:26 +00:00
Roeland Jago Douma 75bc0bc105 Merge pull request #23093 from nextcloud/backport/23083/stable19
[stable19] Generate exception to log on php errors
2020-09-29 16:39:00 +02:00
Julius Härtl 4fec3d09a0 Generate exception to log on php errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-29 08:17:23 +00:00
Christoph Wurst 1c65d33e9f 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-29 07:31:46 +00:00
Joas Schilling 679aa21075 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-29 07:19:18 +00:00
Joas Schilling ee29d6ab11 Sync all users to the system addresssbook
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-29 07:18:56 +00:00
Nextcloud bot 0d4ea5fc63 [tx-robot] updated from transifex 2020-09-29 02:18:06 +00:00
Roeland Jago Douma 164096aa26 Merge pull request #22804 from nextcloud/backport/stable19/22116-22648-22761
[stable19] Fix share transfer of single files and on the transfered node
2020-09-28 19:15:12 +02:00
Roeland Jago Douma ed22e1bf3b Merge pull request #22904 from nextcloud/backport/22636/stable19
[stable19] Make sure that getConfig is still called for browsers that do not support CSPv3
2020-09-28 19:14:00 +02:00
Roeland Jago Douma bd037f8298 Merge pull request #22988 from nextcloud/backport/22533/stable19
[stable19] Flow: do not hide "matches" and "does not match" checkers
2020-09-28 19:13:17 +02:00
Roeland Jago Douma c091fbd5b9 Merge pull request #23002 from nextcloud/backport/22940/stable19
[stable19] Never copy the share link when the password is forced
2020-09-28 18:56:57 +02:00
Joas Schilling 2169b7d484 Never copy the share link when the password is forced
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-28 16:19:50 +02:00
Roeland Jago Douma a3c5fc42a5 19.0.4 RC1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-28 15:51:56 +02:00
Roeland Jago Douma 93dbaed5c3 Merge pull request #23049 from nextcloud/backport/23034/stable19
[stable19] Fix numeric folders throwing on markDirty
2020-09-28 15:00:56 +02:00
Nextcloud bot 26b1d3d9e4 [tx-robot] updated from transifex 2020-09-28 02:17:58 +00:00
Nextcloud bot a10b6c8277 [tx-robot] updated from transifex 2020-09-27 02:17:34 +00:00
Nextcloud bot 3b0a89be04 [tx-robot] updated from transifex 2020-09-26 02:17:59 +00:00
Joas Schilling 3fe6b5b5f8 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-25 13:14:58 +00:00
Nextcloud bot 066eafb172 [tx-robot] updated from transifex 2020-09-25 02:18:59 +00:00
Nextcloud bot 2c7b88454d [tx-robot] updated from transifex 2020-09-24 02:17:59 +00:00
Nextcloud bot 617174b519 [tx-robot] updated from transifex 2020-09-23 02:18:00 +00:00
Arthur Schiwon 83beefc3eb 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-22 12:42:56 +02:00
Nextcloud bot dcceb1360f [tx-robot] updated from transifex 2020-09-22 02:17:57 +00:00
Nextcloud bot c2977c5c0f [tx-robot] updated from transifex 2020-09-21 02:17:33 +00:00
Nextcloud bot 1681e74d2d [tx-robot] updated from transifex 2020-09-20 02:17:17 +00:00
Nextcloud bot c8f9fa1830 [tx-robot] updated from transifex 2020-09-18 19:05:38 +00:00
Daniel Calviño Sánchez 083d1dab1c 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:55:55 +02:00
Daniel Calviño Sánchez f400c44e8b 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:54:55 +02:00
Daniel Calviño Sánchez 29fcaa1cec 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:52:55 +02:00
John Molakvoæ (skjnldsv) 9d15d718bb Fix settings chunk loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 15:57:38 +02:00
Julius Härtl 7ea6ed6224 Merge pull request #22926 from nextcloud/backport/22915/stable19
[stable19] improve handling of out of space errors for smb
2020-09-18 13:13:36 +02:00
Nextcloud bot 34793138c7 [tx-robot] updated from transifex 2020-09-18 02:17:08 +00:00
Robin Appelman 67543d77a0 improve handling of out of space errors for smb
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-17 18:43:43 +00:00
Daniel Calviño Sánchez 1375a42a84 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-17 19:03:08 +02:00
Daniel Calviño Sánchez 6d1374738f 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-17 19:03:08 +02:00
Daniel Calviño Sánchez bb8fe15a3b 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-17 19:03:07 +02:00
Julius Härtl 818b69ec54 Transfer shares if no path provided
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-17 19:03:07 +02:00
Julius Härtl 14c3f1ebd8 Transfer shares of the transferred root node
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-17 19:03:07 +02:00
Morris Jobke ca2573c99e Merge pull request #22899 from nextcloud/backport/21894/stable19
[stable19] fix: file quota was not applied in all cases
2020-09-17 11:53:49 +02:00
Julius Härtl 9b33e3caee 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-17 10:18:30 +02:00
korelstar bd24021efc fix: file quota was not applied in all cases 2020-09-17 07:13:18 +00:00
Nextcloud bot 8c2c8fd831 [tx-robot] updated from transifex 2020-09-17 02:27:15 +00:00
Morris Jobke d6bb9f29b5 Merge pull request #22893 from nextcloud/backport/22880/stable19
[stable19] Revoke secsignid
2020-09-16 20:45:10 +02:00
Morris Jobke eff6e53125 Merge pull request #22892 from nextcloud/backport/22744/stable19
[stable19] only get the permissions from the share source if it's not already cached
2020-09-16 20:21:12 +02:00
Morris Jobke 8bd2cf5767 Revoke secsignid
See nextcloud/app-certificate-requests#343

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-16 17:35:04 +00:00
Robin Appelman f140e3a03a 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-16 17:29:02 +00:00
Nextcloud bot c1a7a026f6 [tx-robot] updated from transifex 2020-09-16 02:17:02 +00:00
Nextcloud bot 871d9a614e [tx-robot] updated from transifex 2020-09-15 10:48:39 +00:00
Morris Jobke 380472d3e7 Merge pull request #22840 from nextcloud/backport/22770/stable19
[stable19] Mitigate encoding issue with user principal uri
2020-09-14 17:16:38 +02:00
Georg Ehrke ac87e46dff Mitigate encoding issue with user principal uri
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-09-14 06:20:32 +00:00
Roeland Jago Douma 9e88559e94 Merge pull request #22775 from nextcloud/fix/noid/stable19-ldap-group-update-events
[stable19] makes LDAP's group updater dispatch type events
2020-09-11 08:45:49 +02:00
Roeland Jago Douma d43eeab39d Merge pull request #22778 from nextcloud/backport/22739/stable19
[stable19] Don't fail if copying a file of 0 byte size
2020-09-11 08:45:21 +02:00
Roeland Jago Douma b9ef2a543f Merge pull request #22776 from nextcloud/backport/22747/stable19
[stable19] fix s3 doesDirectoryExist check for empty directories
2020-09-11 08:45:06 +02:00
Roeland Jago Douma cd29f22ee7 Merge pull request #22591 from nextcloud/backport/22577/stable19
[stable19] Better error message when blocked by access control
2020-09-11 08:43:52 +02:00
Julius Härtl 7a4a0dca22 Use user mount with matching shared storage only
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-10 14:20:59 +00:00
Arthur Schiwon 51fa743c7a makes LDAP's group updater dispatch type events
* fixes group share updates on added users

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-10 15:18:47 +02:00
Julius Härtl 407fb28cb6 Annotate that writeStream can throw a GenericFileException
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-10 13:18:11 +00:00
Julius Härtl f5dec3702b Properly catch exception from writing to stream when copying a file
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-10 13:18:11 +00:00
Julius Härtl b946d2c444 Set delimiter so that the CommonPrefixes response can properly be determined
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-10 13:14:28 +00:00
Robin Appelman 30ea77c673 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 13:14:28 +00:00
Roeland Jago Douma c8381c5d17 Merge pull request #22769 from nextcloud/backport/22766/stable19
[stable19] Clarify PHP warning in admin settings
2020-09-10 14:31:46 +02:00
Morris Jobke a3b4e69ffe Clarify PHP warning in admin settings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-10 10:12:00 +00:00
Morris Jobke cacaf4b4ee Merge pull request #22752 from nextcloud/backport/22587/stable19
[stable19] Check if var debugMode exists
2020-09-10 09:33:38 +02:00
Roeland Jago Douma b5cb33ed36 Merge pull request #22753 from nextcloud/backport/22651/stable19
[stable19] Fix reading empty files from objectstorage
2020-09-10 08:45:01 +02:00
Julius Härtl 7dc51204d3 Merge pull request #22630 from nextcloud/backport/22583/stable19 2020-09-10 08:43:53 +02:00
Roeland Jago Douma 24b69b2402 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 19:47:23 +00:00
timm2k 7a52b026a1 Check if var debugMode exists
Closes #21150 a second time.
2nd appearance of debugMode may not seen in first fix.
2020-09-09 19:24:44 +00:00
Morris Jobke b6c04b35c8 Merge pull request #22742 from nextcloud/backport/22589/stable19
[stable19] Allow additional personal settings via normal registration
2020-09-09 15:32:08 +02:00
Morris Jobke 968a756067 Merge pull request #22745 from nextcloud/backport/22646/stable19
[stable19] Fix detecting text/x-php mimetype and secure mimetype mapping
2020-09-09 15:31:46 +02:00
Morris Jobke b7bcf5c019 Merge pull request #22652 from nextcloud/backport/22643/stable19
[stable19] Fix installing on Oracle
2020-09-09 15:10:39 +02:00
Morris Jobke 969da6cca6 Merge pull request #22713 from nextcloud/backport/stable19/22557
[stable19] Do not fail if share for mountpoint is no longer available
2020-09-09 15:10:11 +02:00
Morris Jobke 3e6c0defeb Merge pull request #22720 from nextcloud/backport/22469/stable19
[stable19] Don't use SELECT DISTINCT when to_char() is used in a WHERE statement
2020-09-09 14:58:50 +02:00
Julius Härtl 2c8bea4b1d Add text/x-php as an alternative for application/x-php
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-09 12:17:26 +00:00
Julius Härtl 554fab45aa Properly add both mimetypes to secure mimetype mapping
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-09 12:17:26 +00:00
Morris Jobke 02a6cac39d Merge pull request #22725 from nextcloud/version/19.0.3/final
19.0.3 final
2020-09-09 13:41:01 +02:00
Joas Schilling 9e9ed6c251 Allow additional personal settings via normal registration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-09 11:25:40 +00:00
Roeland Jago Douma 7d540e732a 19.0.3 final
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-08 10:00:21 +02:00
Joas Schilling 30db37bbf2 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-08 07:42:12 +00:00
Julius Härtl 57eef41da0 Do not fail if share for mountpoint is no longer available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-08 09:14:45 +02:00
Joas Schilling 1031170f35 Warn about adding NotNull columns with nullable default
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-07 18:57:56 +00:00
Joas Schilling f64b9c528e 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 18:57:56 +00:00
Arthur Schiwon 8b291adb08 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-07 10:50:17 +02:00
Nextcloud bot c3a6f50206 [tx-robot] updated from transifex 2020-09-07 02:16:49 +00:00
Arthur Schiwon 303bac6c75 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-06 17:57:08 +00:00
Nextcloud bot 55bad53353 [tx-robot] updated from transifex 2020-09-06 02:17:02 +00:00
Nextcloud bot 123d33bdd3 [tx-robot] updated from transifex 2020-09-05 02:16:55 +00:00
Roeland Jago Douma 540e9d517d Merge pull request #22574 from nextcloud/version/19.0.3/rc1
19.0.3 RC1
2020-09-04 19:59:17 +02:00
Joas Schilling 94f4e5142f Better error message when blocked by access control
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-04 13:53:18 +00:00
Roeland Jago Douma dc60a81284 Merge pull request #22515 from nextcloud/backport/22472/stable19
[stable19] Fix writing BLOBs to postgres with recent contacts interaction
2020-09-04 12:38:16 +02:00
Roeland Jago Douma c1b971ec63 Merge pull request #22579 from nextcloud/backport/22550/stable19
[stable19] Use the correct root to determinate the webroot for the resource
2020-09-04 12:35:21 +02:00
Roeland Jago Douma 757a35bd01 Merge pull request #22442 from nextcloud/backport/22421/stable19
[stable19] show better quota warning for group folders and external storage
2020-09-04 12:34:15 +02:00
Roeland Jago Douma 0c6dfcc814 Merge pull request #22581 from nextcloud/backport/22578/stable19
[stable19] Upgrade icewind/smb to 3.2.7
2020-09-04 12:34:02 +02:00
Roeland Jago Douma e7cda28ed4 Upgrade icewind/smb to 3.2.7
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-04 08:28:22 +00:00
Roeland Jago Douma 6117a82ae3 Merge pull request #22569 from nextcloud/backport/22524/stable19
[stable19] Fix app password updating out of bounds
2020-09-04 09:04:15 +02:00
Joas Schilling fc0cdbb4a0 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-04 07:01:26 +00:00
Roeland Jago Douma 77edd1e11d Merge pull request #22553 from nextcloud/backport/22528/stable19
[stable19] Change free space calculation
2020-09-04 08:52:25 +02:00
Roeland Jago Douma e751d8b2c7 19.0.3 RC1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-04 08:41:57 +02:00
Nextcloud bot 4c7db572fd [tx-robot] updated from transifex 2020-09-04 02:17:28 +00:00
Roeland Jago Douma ebd2b0d3dd 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 20:03:47 +00:00
Roeland Jago Douma 468f1fc592 Merge pull request #22560 from nextcloud/backport/22556/stable19
[stable19] Do not keep the part file if the forbidden exception has no retry set
2020-09-03 21:06:11 +02:00
Julius Härtl f4dfb96d8d 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:06:41 +00:00
Daniel Kesselberg 82239d8e3e Tests only: Forward calls to getUserValue and getAppValue
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-09-03 07:33:21 +00:00
Daniel Kesselberg 0a5045ec8e Change free space calculation
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-09-03 07:33:20 +00:00
Roeland Jago Douma 45dcdc3948 Merge pull request #22537 from nextcloud/backport/22535/stable19
[stable19] Only disable zip64 if the size is known
2020-09-03 08:41:41 +02:00
Nextcloud bot 03702d4a70 [tx-robot] updated from transifex 2020-09-03 02:16:48 +00:00
Nextcloud bot 91dfaed96c [tx-robot] updated from transifex 2020-09-02 02:17:22 +00:00
Roeland Jago Douma 2b4bc5b6df 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 13:42:49 +00:00
Nextcloud bot b13326ef1a [tx-robot] updated from transifex 2020-09-01 02:16:18 +00:00
Julius Härtl 568f68856f Merge pull request #22519 from nextcloud/backport/22517/stable19
[stable19] set the mount id before calling storage wrapper
2020-08-31 21:51:59 +02:00
Roeland Jago Douma c83bd2a7fd Merge pull request #22521 from nextcloud/backport/22514/stable19
[stable19] Fix S3 error handling
2020-08-31 21:44:19 +02:00
Roeland Jago Douma 952ec3370e 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 17:08:27 +00:00
Roeland Jago Douma 704f515175 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 17:08:27 +00:00
Robin Appelman fc8c5965fa 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 15:23:13 +00:00
Christoph Wurst 7ada6e5ab0 Fix writing BLOBs to postgres with recent contacts interaction
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-31 13:09:40 +00:00
Roeland Jago Douma 4ef423913d Merge pull request #22503 from nextcloud/backport/22481/stable19
[stable19] Fix clicks on actions menu of non opaque file rows in acceptance tests
2020-08-31 09:49:47 +02:00
Nextcloud bot 07ffd36697 [tx-robot] updated from transifex 2020-08-31 02:16:20 +00:00
Daniel Calviño Sánchez 41c8b1b5e2 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-30 18:09:23 +00:00
Nextcloud bot ba0d3183ce [tx-robot] updated from transifex 2020-08-30 02:16:16 +00:00
Nextcloud bot b5003ec78c [tx-robot] updated from transifex 2020-08-29 02:17:58 +00:00
Nextcloud bot fba73a5c39 [tx-robot] updated from transifex 2020-08-28 02:16:32 +00:00
Roeland Jago Douma d5943a5f75 Merge pull request #22448 from nextcloud/stable19-phpdoc
[stable19]  Add php docs build script
2020-08-27 15:35:34 +02:00
Julius Härtl 220abd241c Use proper branch name in phpdoc builds
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-27 09:16:52 +02:00
Julius Härtl 1d25b9972f Remove @package annotations from public namespace
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-27 09:16:52 +02:00
Julius Härtl 6ae83a72cd Remove wrongly annotated package names
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-27 09:16:52 +02:00
Julius Härtl 1874349cb9 Add php docs build script
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-27 09:16:52 +02:00
Nextcloud bot 348525426c [tx-robot] updated from transifex 2020-08-27 02:16:52 +00:00
Robin Appelman a004eedd1e fix tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-26 19:17:43 +00:00
Robin Appelman 4025b95e03 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-26 19:17:43 +00:00
Roeland Jago Douma c9a1379bdf Merge pull request #22410 from nextcloud/backport/22359/stable19
[stable19] fix possible leaking scope in Flow
2020-08-26 20:22:37 +02:00
Roeland Jago Douma 7aeb222426 Merge pull request #22427 from nextcloud/backport/21988/stable19
[stable19] Combine body-login rules in theming and fix twofactor and guest styling on bright colors
2020-08-26 20:20:55 +02:00
Roeland Jago Douma 8e877b7b17 Merge pull request #22416 from nextcloud/version/19.0.2/final
19.0.2
2020-08-26 19:24:10 +02:00
Nextcloud bot d3efe74f12 [tx-robot] updated from transifex 2020-08-26 02:16:39 +00:00
Julius Härtl 277bcf8f3a 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-08-25 19:49:22 +00:00
John Molakvoæ ce8e020ea9 Merge pull request #22414 from nextcloud/backport/22358/stable19 2020-08-25 18:04:14 +02:00
Roeland Jago Douma 43d903d082 19.0.2 final
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-25 13:06:12 +02:00
Arthur Schiwon f8417cca0f adjust since for 19
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-25 13:05:15 +02:00
Arthur Schiwon 38e9e72351 compiled assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-25 12:27:52 +02:00
Arthur Schiwon 7f6e2c5953 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-25 08:42:24 +00:00
Roeland Jago Douma e57e66eedd Merge pull request #22349 from nextcloud/version/19.0.2/RC2
19.0.2 RC2
2020-08-25 09:40:04 +02:00
Roeland Jago Douma 5cf3c27a03 Merge pull request #22400 from nextcloud/backport/22394/stable19
[stable19] Fix missing FN from federated contact
2020-08-25 09:38:44 +02:00
Nextcloud bot 1277b89a0c [tx-robot] updated from transifex 2020-08-25 02:17:52 +00:00
John Molakvoæ (skjnldsv) 060672734b Fix missing FN from federated contact
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-24 16:07:25 +00:00
Arthur Schiwon 8860ab6c5d fix event icon sizes and text alignment
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-24 14:14:41 +02:00
Roeland Jago Douma 4c2649c1e0 Merge pull request #22387 from nextcloud/backport/22385/stable19
[stable19] Update the CRL
2020-08-24 14:07:37 +02:00
Roeland Jago Douma 67c7877110 Update the CRL
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-24 11:26:55 +00:00
Roeland Jago Douma b3a32f1887 Merge pull request #22337 from nextcloud/backport/22322/stable19
[stable19] Only copy the link when updating a share or no password was forced
2020-08-24 12:20:00 +02:00
Roeland Jago Douma cf26716e58 Merge pull request #22381 from nextcloud/backport/22218/stable19
[stable19] SSE: make legacy format opt in
2020-08-24 12:18:48 +02:00
Roeland Jago Douma d8c958907f 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-24 11:50:04 +02:00
Joas Schilling 2215cbc352 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-24 08:49:01 +00:00
Roeland Jago Douma 9aac6d9251 Merge pull request #22355 from nextcloud/backport/20772/stable19
[stable19] Properly search for users when limittogroups is enabled
2020-08-24 09:12:13 +02:00
Nextcloud bot 14927afaf7 [tx-robot] updated from transifex 2020-08-24 02:16:55 +00:00
Nextcloud bot 0ed1d67c7f [tx-robot] updated from transifex 2020-08-23 02:16:53 +00:00
Nextcloud bot 3b85a547df [tx-robot] updated from transifex 2020-08-22 02:16:39 +00:00
Morris Jobke f8955b7092 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 11:23:15 +00:00
Roeland Jago Douma 556440471a 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 11:23:15 +00:00
Roeland Jago Douma 687b37fa3c Merge pull request #22348 from nextcloud/backport/22346/stable19
[stable19] l10n:Correct appid for WebAuthn
2020-08-21 11:06:11 +02:00
Roeland Jago Douma 9c99245ed7 Merge pull request #22341 from nextcloud/backport/22335/stable19
[stable19] Remove encryption option for nextcloud external storage
2020-08-21 09:24:35 +02:00
Roeland Jago Douma cb28b81675 Merge pull request #22333 from nextcloud/backport/22236/stable19
[stable19] CalDAV: Add ability to limit sharing to owner
2020-08-21 09:23:35 +02:00
Michiel Janssens 4478854403 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-21 07:02:33 +00:00
Roeland Jago Douma cc6d186f52 19.0.2 RC2
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-21 08:55:20 +02:00
Nextcloud bot 8b5c9a820d [tx-robot] updated from transifex 2020-08-21 02:16:55 +00:00
Roeland Jago Douma 779df24b62 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:29:32 +00:00
Georg Ehrke 7f8e43c7a7 Add ability to limit sharing to owner
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-20 12:51:09 +00:00
Morris Jobke 165905ade5 Merge pull request #22227 from nextcloud/version/19.0.2/RC1
19.0.2 RC1
2020-08-20 10:19:53 +02:00
Morris Jobke 442d174ac3 Merge pull request #22309 from nextcloud/backport/22221/stable19-2
[stable19] fixing a logged deprecation message
2020-08-20 08:02:01 +02:00
Nextcloud bot db324278b5 [tx-robot] updated from transifex 2020-08-20 02:17:50 +00:00
Arthur Schiwon c8956e8893 simplified backport of #22221, fixing a deprecation log message
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-19 23:03:22 +02:00
Morris Jobke d7aa1c00ed Merge pull request #21983 from nextcloud/backport/21628/stable19
[stable19] fix moving files from external storage to object store trashbin
2020-08-19 21:29:01 +02:00
Morris Jobke 93225bcf22 Merge pull request #22302 from nextcloud/backport/22299/stable19
[stable19] Show disabled user count in occ user:report
2020-08-19 20:37:51 +02:00
Roeland Jago Douma a5215b453e Merge pull request #22303 from nextcloud/bump/3rdparty
Bump 3rdparty to last stable19 commit
2020-08-19 20:16:45 +02:00
Morris Jobke 6c99bd0042 Show disabled user count in occ user:report
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 18:26:42 +02:00
Joas Schilling fef5925ed4 Merge pull request #22239 from nextcloud/backport/22128/stable19
[stable19] Delete chunks if the move on an upload failed
2020-08-19 15:54:36 +02:00
Roeland Jago Douma f2279fb345 Merge pull request #22300 from nextcloud/backport/22297/stable19
[stable19] Allow to disable share emails
2020-08-19 15:53:58 +02:00
Joas Schilling 4e4f7533f0 Bump 3rdparty to last stable19 commit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 15:52:15 +02:00
Joas Schilling 16021c93ed Allow to disable share emails
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:04:29 +02:00
Nextcloud bot fd9ebeefa2 [tx-robot] updated from transifex 2020-08-19 02:17:21 +00:00
Roeland Jago Douma 1bd36d09dc Merge pull request #22252 from nextcloud/update-3rdparty/stable19
[3rdparty] Doctrine: Fix unquoted stmt fragments backslash escaping
2020-08-18 10:46:03 +02:00
Nextcloud bot 6bcb656c5d [tx-robot] updated from transifex 2020-08-18 02:17:38 +00:00
Morris Jobke 57f5e4e419 [3rdparty] Doctrine: Fix unquoted stmt fragments backslash escaping
Needed for https://github.com/nextcloud/server/pull/22118 - already in master because there doctrine/dbal:2.10.2 is used

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-17 22:28:50 +02:00
Nextcloud bot 6bdafb1aa9 [tx-robot] updated from transifex 2020-08-17 02:16:48 +00:00
Nextcloud bot b0470cca30 [tx-robot] updated from transifex 2020-08-16 02:16:38 +00:00
Nextcloud bot 9d77e2ce40 [tx-robot] updated from transifex 2020-08-15 02:17:25 +00:00
Morris Jobke 7fffe82c57 Merge pull request #22247 from nextcloud/backport/22243/stable19
[stable19] Silence duplicate session warnings
2020-08-14 10:00:33 +02:00
Roeland Jago Douma a6760c2b1c Silence duplicate session warnings
Fixes #20490

Basically restroring the old behavior.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-14 07:24:53 +00:00
Roeland Jago Douma 10ee9791ff Merge pull request #21975 from nextcloud/backport/21658/stable19
[stable19] allow admin to configure the max trashbin size
2020-08-14 05:58:57 +02:00
Nextcloud bot cb4c197555 [tx-robot] updated from transifex 2020-08-14 02:32:09 +00:00
Julius Härtl 2b34f0e785 Return proper status when file didn't exist before
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-13 18:55:06 +00:00
Julius Härtl b83c858e6d Adjust chunking test for non-existing target node
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-13 18:55:06 +00:00
Julius Härtl 242b19f18e Delete chunks if the move on an upload failed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-13 18:55:05 +00:00
Morris Jobke 7e16867b29 Merge pull request #22232 from nextcloud/backport/22217/stable19
[stable19] Add app config option to disable "Email was changed by admin" activity
2020-08-13 14:49:08 +02:00
Morris Jobke 5ed3f43927 Add app config option to disable "Email was changed by admin" activity
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-13 13:31:49 +02:00
Roeland Jago Douma 45bdfd2198 Merge pull request #22131 from nextcloud/backport/22062/stable19-take2
[stable19] fix display of remote users in incoming share notifications
2020-08-13 09:41:22 +02:00
Roeland Jago Douma 75c2837c6e New bundle
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-13 08:41:03 +02:00
Roeland Jago Douma acb5d603c1 19.0.2 RC1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-13 08:40:55 +02:00
Roeland Jago Douma 92d0f5e7a3 Merge pull request #22121 from nextcloud/backport/22008/stable19
[stable19] Ensured large image is unloaded from memory when generating previews
2020-08-13 05:23:01 +02:00
Roeland Jago Douma 1d123c0ccb Merge pull request #22181 from nextcloud/backport/21775/stable19
[stable19] Do not exit if available space cannot be determined on file transfer
2020-08-13 05:21:52 +02:00
Roeland Jago Douma fe8ea5390f Merge pull request #22208 from nextcloud/backport/21676/stable19
[stable19] Fix chmod on file descriptor
2020-08-13 05:17:13 +02:00
Roeland Jago Douma baa64827d3 Merge pull request #22209 from nextcloud/backport/21677/stable19
[stable19] Do clearstatcache() on rmdir
2020-08-13 05:07:36 +02:00
Nextcloud bot 6327b8a6fb [tx-robot] updated from transifex 2020-08-13 02:16:48 +00:00
blizzz 33db8a97c9 Merge pull request #22203 from nextcloud/backport/21559/stable19
[stable19] shortcut in reading nested group members when IN_CHAIN is available
2020-08-12 13:42:08 +00:00
Morris Jobke 527bec1706 Merge pull request #22215 from nextcloud/backport/22211/stable19
[stable19] remove logging message carrying no valuable information
2020-08-12 13:50:40 +02:00
Arthur Schiwon f32b1e4856 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:18:39 +00:00
Arthur Schiwon 8fd575527d adapt tests for nc19
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-12 10:23:13 +02:00
Roeland Jago Douma 8ffc3c0de6 Merge pull request #22210 from nextcloud/backport/22196/stable19
[stable19] SSE enhancement of file signature
2020-08-12 10:17:15 +02:00
Roeland Jago Douma 8c753f87fc 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-12 07:11:19 +00:00
Nextcloud bot 659fb3cf06 [tx-robot] updated from transifex 2020-08-12 02:16:59 +00:00
J0WI be73fd90fc Only clear the realpath cache
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-08-12 01:26:33 +00:00
J0WI 6f72871ca5 clearstatcache() on rmdir
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-08-12 01:26:32 +00:00
J0WI 9b028a619a Fix chmod on file descriptor
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-08-12 01:26:10 +00:00
Arthur Schiwon ebb565f7a8 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-12 00:34:15 +02:00
Arthur Schiwon 74bde3eb49 LDAP: shortcut in reading nested group members when IN_CHAIN is available
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-11 22:24:38 +00:00
Roeland Jago Douma eded52eae7 Merge pull request #22183 from nextcloud/backport/21173/stable19
[stable19] Fix empty 'more' apps navigation after installing an app
2020-08-11 20:25:55 +02:00
Roeland Jago Douma e55591b0f8 Merge pull request #22171 from nextcloud/backport/21728/stable19
[stable19] Reuse cache for directory mtime/size if filesystem changes can be ignored
2020-08-11 15:18:52 +02:00
Roeland Jago Douma 296be04457 Merge pull request #22192 from nextcloud/backport/22190/stable19
[stable19] Fix default log_rotate_size in config.sample.php
2020-08-11 15:16:53 +02:00
Morris Jobke 08e2cd1437 Fix default log_rotate_size in config.sample.php
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-11 12:14:13 +00:00
blizzz d06bf6d631 Merge pull request #22178 from nextcloud/backport/22176/stable19
[stable19] Remove unexpected argument
2020-08-11 10:07:32 +00:00
Jan-Christoph Borchardt 53d99755c5 Fix empty 'more' apps navigation after installing an app
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-08-11 09:30:40 +00:00
Morris Jobke 7f49492117 Use constant instead of magic number
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-11 09:20:08 +00:00
Julius Härtl 3606b4a8ba Do not exit if available space cannot be determined on file transfer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-11 09:20:03 +00:00
Daniel Kesselberg 778e5afcc5 Remove unexpected argument
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-11 07:47:32 +00:00
Nextcloud bot df92a97f5b [tx-robot] updated from transifex 2020-08-11 02:17:07 +00:00
Julius Härtl 112e2f6747 Reuse cache for directory mtime/size if filesystem changes can be ignored
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-10 13:32:29 +00:00
blizzz 97a5b19a11 Merge pull request #22118 from nextcloud/backport/21138/stable19
[stable19] Search also the email and displayname in user mangement for groups
2020-08-10 09:56:16 +00:00
Nextcloud bot dbe934e67b [tx-robot] updated from transifex 2020-08-10 02:16:59 +00:00
Nextcloud bot 72e4cd0b93 [tx-robot] updated from transifex 2020-08-09 02:16:47 +00:00
Nextcloud bot 724b59476d [tx-robot] updated from transifex 2020-08-07 02:16:51 +00:00
Joas Schilling 5728f23b57 Short php syntax
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-06 12:43:47 +02:00
Joas Schilling f213617704 Fix missing placeholders in translations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-06 12:43:47 +02:00
Arthur Schiwon c6becac993 effectively revert 17fae47bdb fixing i10n
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-06 12:43:47 +02:00
Arthur Schiwon f13d5a3ec0 coding style fixes
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-06 12:43:47 +02:00
Arthur Schiwon 69a3829940 fix check for Cloud ID, missing return statements, wrong param use
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-06 12:43:47 +02:00
Nextcloud bot dd60e3282d [tx-robot] updated from transifex 2020-08-06 02:17:22 +00:00
Morris Jobke 9aff51eb52 Use class that actually has the destroy() method in preview generator
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-05 20:41:25 +00:00
Elijah Martin-Merrill 66bb6fdbb0 fix memory leak caused by not destroying image in Preview/Generate.php
Signed-off-by: Elijah Martin-Merrill <elijah@nyp-itsours.com>
2020-08-05 20:41:25 +00:00
Morris Jobke 940a2732b9 Add integration tests for search in groups
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-05 14:11:41 +00:00
Morris Jobke 74e98940ef Search also the email and displayname in user mangement for groups
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-05 14:11:41 +00:00
Nextcloud bot 02680cf93d [tx-robot] updated from transifex 2020-08-05 02:17:09 +00:00
Joas Schilling be703908f9 Merge pull request #22094 from nextcloud/backport/22087/stable19
[stable19] Fix browser freeze on long password input
2020-08-04 12:19:28 +02:00
Nextcloud bot 789db73ca5 [tx-robot] updated from transifex 2020-08-04 02:16:40 +00:00
blizzz 7a1bd4e8a2 Merge pull request #22091 from nextcloud/backport/22057/stable19
[stable19] contactsmanager shall limit number of results early
2020-08-03 17:54:40 +02:00
Joas Schilling 7929ba9e6e Fix browser freeze on long password input
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-03 14:53:45 +00:00
Arthur Schiwon dc98aaa224 contactsmanager shall limit number of results early
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-03 13:18:14 +00:00
Nextcloud bot 9d56c5142b [tx-robot] updated from transifex 2020-08-01 02:17:12 +00:00
Robin Appelman 193b3ead51 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-31 17:21:28 +02:00
Robin Appelman 4e6719b28c dont update mimetype when moving to trash
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-31 17:21:02 +02:00
Joas Schilling e2fa284bd9 Merge pull request #22053 from nextcloud/backport/22015/stable19
[stable19] Correctly remove usergroup shares on removing group members
2020-07-31 15:31:33 +02:00
Morris Jobke c67c3d845e Merge pull request #22070 from nextcloud/backport/21791/stable19
[stable19] Add Guzzle's InvalidArgumentException
2020-07-31 12:48:00 +02:00
blizzz a5a94d8c37 Merge pull request #22069 from nextcloud/backport/22043/stable19
[stable19] reset the cookie internally in new API when abandoning paged results op
2020-07-31 12:23:54 +02:00
Morris Jobke a56c843711 [stable19] Add Guzzle's InvalidArgumentException
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-31 10:20:29 +02:00
Arthur Schiwon b791ea755d reset the cookie internally in new API when abandoning paged results op
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-07-31 08:19:23 +00:00
John Molakvoæ dc3b550eff Merge pull request #22064 from nextcloud/backport/22005/stable19
[stable19] Fix height to big for iPhone when using many apps
2020-07-31 09:22:53 +02:00
Nextcloud bot 891e0ccd6e [tx-robot] updated from transifex 2020-07-31 02:17:32 +00:00
kevin147147 c4a81ea8a6 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-30 22:50:31 +00:00
Morris Jobke dba3b513e3 Merge pull request #22050 from nextcloud/dependabot/npm_and_yarn/stable19/elliptic-6.5.3
[Security] Bump elliptic from 6.5.2 to 6.5.3
2020-07-31 00:45:05 +02:00
dependabot-preview[bot] b609a0fe23 [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>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-30 16:05:56 +00:00
Morris Jobke de70dcf708 Merge pull request #21981 from nextcloud/backport/21972/stable19
[stable19] Fix PHPUnit deprecation warnings
2020-07-30 11:03:54 +02:00
Morris Jobke 29d41ba061 Use old IServerContainer methods
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-30 10:03:59 +02:00
Morris Jobke d7fa01b9ec Merge pull request #22044 from nextcloud/backport/22034/stable19
[stable19] parse_url returns null in case a parameter is not found
2020-07-30 09:58:23 +02:00
Joas Schilling c69a709f21 Correctly remove usergroup shares on removing group members
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-30 07:51:10 +00:00
Joas Schilling cf0bdfd8c1 parse_url returns null in case a parameter is not found
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-29 16:13:32 +00:00
Morris Jobke 98365780ca Merge pull request #22036 from nextcloud/backport/21950/stable19
[stable19] Properly fetch translation for remote wipe confirmation dialog
2020-07-29 14:22:17 +02:00
Julius Härtl 7e08cb757b Properly fetch translation for remote wipe confirmation dialog
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-29 08:47:55 +02:00
Nextcloud bot 73132b56d4 [tx-robot] updated from transifex 2020-07-29 02:17:02 +00:00
Nextcloud bot d44a545a32 [tx-robot] updated from transifex 2020-07-28 02:16:48 +00:00
Nextcloud bot 4ceda884ac [tx-robot] updated from transifex 2020-07-27 02:16:42 +00:00
Nextcloud bot 46715762ce [tx-robot] updated from transifex 2020-07-25 02:16:45 +00:00
blizzz fa9bc471b5 Merge pull request #21991 from nextcloud/backport/21977/stable19
[stable19] Ignore whitespace in sharing by mail
2020-07-24 21:43:42 +02:00
onehappycat 288ca45938 Ignore whitespace in sharing by mail
Signed-off-by: onehappycat <one.happy.cat@gmx.com>
2020-07-24 11:43:24 +00:00
Morris Jobke 874a1ef500 Merge pull request #21978 from nextcloud/backport/21973/stable19
[stable19] Fix risky test in twofactor_backupcodes
2020-07-24 13:20:05 +02:00
Nextcloud bot a05efb5217 [tx-robot] updated from transifex 2020-07-24 02:17:02 +00:00
Robin Appelman 142b6eb08f fix renameFromStorage messing with folder mimetype
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-23 21:01:23 +00:00
Robin Appelman 7ac4d57fd5 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 21:01:23 +00:00
Robin Appelman b6a600e653 rollback cache rename if trashbin move fails
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-23 21:01:23 +00:00
Robin Appelman c567b1d6b2 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 21:01:22 +00:00
Morris Jobke 72fc3ecbfc 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 20:26:46 +00:00
Morris Jobke c813a9e4fb Replace deprecated assertArraySubset with logic that does the same
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-23 20:26:45 +00:00
Morris Jobke c4bedf468e Use assertEqualsCanonicalizing instead of deprecated assertEquals parameter
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-23 20:26:45 +00:00
Morris Jobke f11d72a928 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 20:26:44 +00:00
Morris Jobke 1d290e15e8 Use assertStringContainsString instead of assertContains on strings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-23 20:26:44 +00:00
Morris Jobke 5e97f39dad Fix risky test in twofactor_backupcodes
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-23 20:25:40 +00:00
Morris Jobke 8074968078 Merge pull request #21806 from nextcloud/backport/21748/stable19
[stable19] Improve error reporting on sharing errors
2020-07-23 22:19:13 +02:00
Joas Schilling c0317e95e0 Improve error reporting on sharing errors
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-23 19:14:26 +00:00
Morris Jobke 4570534fed Merge pull request #21967 from nextcloud/backport/21963/stable19
[stable19] Respect default share permissions
2020-07-23 17:28:38 +02:00
Robin Appelman 38db847164 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-23 14:30:07 +00:00
npmbuildbot[bot] 9ba82fe435 Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-23 13:07:03 +00:00
Roeland Jago Douma fad4f95d56 Merge pull request #21955 from nextcloud/backport/21949/stable19
[stable19] update icewind/smb to 3.2.6
2020-07-23 12:28:05 +02:00
Roeland Jago Douma 3811a5ebad 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 08:55:55 +00:00
Roeland Jago Douma fcc708ff22 Merge pull request #21953 from nextcloud/backport/21946/stable19
[stable19] Do not double encode the userid in webauthn login
2020-07-23 09:30:19 +02:00
Nextcloud bot 7246ffff9b [tx-robot] updated from transifex 2020-07-23 02:17:13 +00:00
Robin Appelman d588471f2f update icewind/smb to 3.2.6
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-22 20:22:31 +00:00
Roeland Jago Douma 1a483167e9 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 20:04:45 +00:00
Nextcloud bot 5b5cc637e8 [tx-robot] updated from transifex 2020-07-22 02:16:48 +00:00
Morris Jobke 74615c3fb5 Merge pull request #21935 from nextcloud/backport/21929/stable19
[stable19] Encryption is ready if master key is enabled
2020-07-21 20:33:13 +02:00
Morris Jobke 9ce47b08c3 Merge pull request #21939 from nextcloud/backport/21934/stable19
[stable19] Disable fragile comments tests
2020-07-21 20:26:36 +02:00
Morris Jobke dc7e87abd5 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:22:33 +00:00
Julius Härtl ba55e0ad53 Encryption is ready if master key is enabled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-21 11:44:58 +00:00
Nextcloud bot 0a90eeb62c [tx-robot] updated from transifex 2020-07-21 02:17:16 +00:00
Morris Jobke 3019e59aad Merge pull request #21857 from nextcloud/backport/21760/stable19
[stable19] Fix parsing of language code
2020-07-20 16:27:42 +02:00
Morris Jobke 8e0158f064 Merge pull request #21917 from nextcloud/backport/21880/stable19
[stable19] Discourage webauthn user interaction
2020-07-20 14:16:22 +02:00
Morris Jobke d2c152f46b Merge pull request #21876 from nextcloud/backport/21855/stable19
[stable19] fix typo in revokeShare()
2020-07-20 14:15:15 +02:00
Roeland Jago Douma 45108b087e 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-20 07:31:37 +00:00
Nextcloud bot 2c8901330f [tx-robot] updated from transifex 2020-07-20 02:16:58 +00:00
Nextcloud bot ec69ab4ed4 [tx-robot] updated from transifex 2020-07-19 02:17:16 +00:00
Nextcloud bot e56d52fbc0 [tx-robot] updated from transifex 2020-07-18 02:17:08 +00:00
Nextcloud bot 95093e4f27 [tx-robot] updated from transifex 2020-07-17 02:17:21 +00:00
Daniel Kesselberg 45df26ccf1 Fix parsing of language code
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-16 19:13:51 +00:00
Roeland Jago Douma 387c179e55 Merge pull request #21840 from nextcloud/backport/21838/stable19
[stable19] Do not log RequestedRangeNotSatisfiable exceptions in DAV
2020-07-16 20:46:10 +02:00
Roeland Jago Douma dfef0436da Merge pull request #21804 from nextcloud/backport/21800/stable19
[stable19] Call openssl_pkey_export with $config and log errors.
2020-07-16 20:45:16 +02:00
Roeland Jago Douma 6506860561 Merge pull request #21782 from nextcloud/backport/21777/stable19
[stable19] lower minimum search length to 2 characters
2020-07-16 20:44:53 +02:00
Sergej Pupykin e400719f73 fix typo 2020-07-16 18:17:26 +00:00
Nextcloud bot 1822eec68f [tx-robot] updated from transifex 2020-07-16 02:19:41 +00:00
Roeland Jago Douma d7998fa123 Merge pull request #21801 from nextcloud/version/19.0.1/final
19.0.1 final
2020-07-15 22:19:07 +02:00
Morris Jobke c50e13c30e Merge pull request #21834 from nextcloud/backport/21832/stable19
[stable19] Build source maps on production build again
2020-07-15 12:56:00 +02:00
Nextcloud bot 49562ba840 [tx-robot] updated from transifex 2020-07-15 02:19:49 +00:00
Roeland Jago Douma a3238c3790 Do not log RequestedRangeNotSatisfiable exceptions in DAV
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-14 19:47:14 +00:00
Julius Härtl e16b221cf3 Build source maps on production build again
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-14 13:47:20 +00:00
Nextcloud bot 46b2469329 [tx-robot] updated from transifex 2020-07-14 02:17:30 +00:00
Daniel Kesselberg ec36e02741 Call openssl_pkey_export with $config and log errors.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-13 09:00:47 +00:00
Roeland Jago Douma 19337759dc 19.0.1 final
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-13 10:47:18 +02:00
Nextcloud bot 72b59cbc14 [tx-robot] updated from transifex 2020-07-13 02:17:14 +00:00
Nextcloud bot 7cb5614d7a [tx-robot] updated from transifex 2020-07-12 02:16:58 +00:00
Nextcloud bot 7b84055158 [tx-robot] updated from transifex 2020-07-11 02:17:28 +00:00
Nextcloud bot 6c8cc35b28 [tx-robot] updated from transifex 2020-07-10 02:17:02 +00:00
Robin Appelman a7d4a69898 lower minimum search length to 2 characters
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-09 20:28:50 +00:00
Roeland Jago Douma b99f061d48 Merge pull request #21699 from nextcloud/version/19.0.1/RC1
19.0.1 RC1
2020-07-09 21:40:05 +02:00
Roeland Jago Douma 1e695d4a43 Merge pull request #21780 from nextcloud/backport/21778/stable19
[stable19] Set the moment locale even earlier
2020-07-09 20:27:31 +02:00
Roeland Jago Douma b3c9b166a3 Merge pull request #21779 from nextcloud/backport/21499/stable19
[stable19] fix #21285 as oneliner
2020-07-09 19:27:21 +02:00
Roeland Jago Douma b21713a833 Merge pull request #21772 from nextcloud/backport/21489/stable19
[stable19] Use the correct mountpoint to calculate
2020-07-09 19:17:23 +02:00
Christoph Wurst 9c7a659b5b Set the moment locale even earlier
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-09 15:49:43 +00:00
Morris Jobke 0fe7949f42 Merge pull request #21770 from nextcloud/backport/21736/stable19
[stable19] Fix placeholder issues with multiplace spaces in the name
2020-07-09 17:19:02 +02:00
Lionel Elie Mamane ae036b4dfa adapt testGetLoginCredentialsInvalidTokenLoginCredentials() unit test to uid != loginname
Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2020-07-09 14:37:05 +00:00
Lionel Elie Mamane 2f75ba1adb 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.

Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2020-07-09 14:37:05 +00:00
Julius Härtl f57c115d28 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 12:55:21 +00:00
Robin Appelman 379cfdda3c better cleanup in share tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-09 12:33:20 +00:00
Robin Appelman 157f619812 ensure home storage is initialized on first setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-09 12:33:20 +00:00
Robin Appelman b95ba97d27 ensure mounts are scanned during tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-09 12:33:20 +00:00
Daniel Calviño Sánchez 2ba6879937 Add more integration tests for resharing permissions
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-07-09 12:33:19 +00:00
Roeland Jago Douma f174fb91e0 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 12:33:19 +00:00
Nextcloud bot b19525ebbc [tx-robot] updated from transifex 2020-07-09 02:17:46 +00:00
Roeland Jago Douma 2f963f4d63 Merge pull request #21751 from nextcloud/backport/21706/stable19
[stable19] Add a clear message why you could end up there
2020-07-08 20:12:49 +02:00
Joas Schilling a6a56b7481 Add a clear message why you could end up there
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-08 13:11:14 +00:00
Nextcloud bot 667ca8dcb0 [tx-robot] updated from transifex 2020-07-08 02:17:07 +00:00
Roeland Jago Douma c3f9b4321b Merge pull request #21726 from nextcloud/backport/21725/stable19
[stable19] Fix main bundle on IE11
2020-07-07 10:52:43 +02:00
Julius Härtl 1e930441c4 Do not quote properties when optimizing bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-07 07:55:51 +00:00
Nextcloud bot 882c0c1b26 [tx-robot] updated from transifex 2020-07-07 02:16:41 +00:00
Morris Jobke 68696ba4fe Merge pull request #21687 from nextcloud/backport/19646/stable19
[stable19] Change OAuth2 redirect link to relative link
2020-07-06 23:09:45 +02:00
Morris Jobke 62f71a04d2 Merge pull request #21574 from nextcloud/backport/21379/stable19
[stable19] Fix share permission checkboxes enabled when permissions can not be set
2020-07-06 22:59:53 +02:00
Morris Jobke 42d899c4d5 Merge pull request #21710 from nextcloud/backport/21074/stable19
[stable19] Fix releasing a shared lock multiple times
2020-07-06 22:52:46 +02:00
Morris Jobke 341757945f Merge pull request #21703 from nextcloud/backport/18895/stable19
[stable19] Changes the Birthday calendar color to slightly brighter one
2020-07-06 14:37:32 +02:00
Jaakko Salo 3f1b055828 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-07-06 12:11:47 +00:00
Jaakko Salo 392df2eaf4 Fix releasing a shared lock multiple times
Signed-off-by: Jaakko Salo <jaakkos@gmail.com>
2020-07-06 12:11:46 +00:00
Morris Jobke 2b72b5cea5 Fix unit tests from #18895
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-06 13:34:02 +02:00
Georg Ehrke da522dc3d5 Changes the Birthday calendar color to slightly brighter one
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-07-06 11:25:17 +00:00
Roeland Jago Douma a46ecb15bd 19.0.1 RC1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-06 13:15:29 +02:00
Roeland Jago Douma b6aac70529 Merge pull request #21664 from nextcloud/backport/21648/add-tar-header
[stable19] Add missing TarHeader.php
2020-07-06 10:39:29 +02:00
Roeland Jago Douma 4513342478 Merge pull request #21671 from nextcloud/revert-21095-backport/21090/stable19
Revert "[stable19] Do not read certificate bundle from data dir by default"
2020-07-06 10:39:02 +02:00
Daniel Kesselberg 9be971f043 [stable19] Add missing TarHeader.php
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-06 09:49:45 +02:00
Nextcloud bot f1b1e1ddb2 [tx-robot] updated from transifex 2020-07-06 02:16:19 +00:00
Fabian Helm c5a408e0f7 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-07-04 07:01:52 +00:00
Roeland Jago Douma facace8234 Merge pull request #21342 from nextcloud/backport/21252/stable19
[stable19] update icewind/smb to 3.2.5
2020-07-04 08:58:17 +02:00
Nextcloud bot 4e21bc608c [tx-robot] updated from transifex 2020-07-04 02:16:25 +00:00
Christoph Wurst 6296dbeb55 Merge pull request #21663 from nextcloud/backport/21662/stable19
[stable19] Fix static method call for s3 bucket compat check
2020-07-03 16:10:38 +02:00
Roeland Jago Douma 905fab3356 Revert "[stable19] Do not read certificate bundle from data dir by default" 2020-07-03 14:21:38 +02:00
Christoph Wurst 3201e7674f Fix static method call for s3 bucket compat check
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-03 08:26:00 +00:00
Joas Schilling d203f8f985 Merge pull request #21387 from nextcloud/backport/21380/stable19
[stable19] Increase timeout of the appstore requests
2020-07-03 10:04:55 +02:00
Nextcloud bot a5b279a488 [tx-robot] updated from transifex 2020-07-03 02:17:21 +00:00
Morris Jobke f70b2dba18 Merge pull request #21573 from nextcloud/backport/21558/stable19
[stable19] relax permissions mask check for detecting part file rename
2020-07-02 23:51:03 +02:00
Joas Schilling 9d541ccfd1 Increase timeout of the appstore requests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-02 23:36:24 +02:00
Morris Jobke 79b3923a42 Merge pull request #21584 from nextcloud/backport/21530/stable19
[stable19] Remove rescanDelay from directory mtime
2020-07-02 23:35:17 +02:00
Roeland Jago Douma 0db25f2b69 Merge pull request #21660 from nextcloud/backport/21657/stable19
[stable19] Check if debugMode is defined before using it
2020-07-02 20:50:21 +02:00
Roeland Jago Douma 6c3e9ee87c Merge pull request #21655 from nextcloud/backport/21653/stable19
[stable19] Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validating
2020-07-02 20:49:11 +02:00
Roeland Jago Douma 41783a0a76 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 18:00:18 +00:00
Joas Schilling a471dba6e1 Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validating
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-02 10:09:45 +00:00
Roeland Jago Douma 8054bc921e Merge pull request #21652 from nextcloud/enh/log_dep_as_debug
Log deprecated events as debug
2020-07-02 12:00:23 +02:00
Roeland Jago Douma c88402db47 Log deprecated events as debug
Since this can spam the log quite agressively we should log it as debug
and not info.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-02 10:49:11 +02:00
Roeland Jago Douma 7fd34d5d64 Merge pull request #21638 from nextcloud/backport/21588/stable19
[stable19] Update presign method to match with interface again.
2020-07-02 09:06:53 +02:00
Joas Schilling bfdcc4692f Merge pull request #21405 from nextcloud/backport/21221/stable19
[stable19] Fix pagination of contacts search
2020-07-01 11:53:08 +02:00
Joas Schilling 9e9e74736d Merge pull request #21538 from nextcloud/backport/21452/stable19
[stable19] Fix autocomplete for LDAP with `shareapi_only_share_with_group_members` on
2020-07-01 10:13:19 +02:00
Nextcloud bot c0b3cd90a6 [tx-robot] updated from transifex 2020-07-01 02:16:24 +00:00
Roeland Jago Douma eabebe8191 Merge pull request #21583 from nextcloud/backport/21576/stable19
[stable19] fix strings being passed where arrays where expected
2020-06-30 20:41:38 +02:00
Daniel Kesselberg 4397e57201 Update presign method to match with interface again.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-30 18:39:08 +00:00
Roeland Jago Douma d87245f84c Merge pull request #21622 from nextcloud/backport/21594/stable19
[stable19] Precalculate the primary element color for dark mode too
2020-06-30 20:31:14 +02:00
Nextcloud bot b7bab49eb8 [tx-robot] updated from transifex 2020-06-30 02:16:20 +00:00
Daniel Calviño Sánchez 87be93126f 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>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-06-29 20:16:03 +00:00
Joas Schilling b33c074d6e Fix PHP CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-29 12:08:33 +00:00
Joas Schilling 1c2d8faf34 Precalculate the primary element color for dark mode too
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-29 12:08:33 +00:00
Nextcloud bot e5e833a519 [tx-robot] updated from transifex 2020-06-29 02:16:45 +00:00
Nextcloud bot b2a6b874c4 [tx-robot] updated from transifex 2020-06-28 02:16:19 +00:00
Nextcloud bot 207d3e4a7c [tx-robot] updated from transifex 2020-06-27 02:16:52 +00:00
Julius Härtl 737b65894b Remove rescanDelay from directory mtime
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-25 14:54:09 +00:00
Arthur Schiwon 43b8b0c14f 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-25 08:06:29 +00:00
Nextcloud bot 8a0185d29b [tx-robot] updated from transifex 2020-06-25 02:16:52 +00:00
blizzz 58804caf89 Merge pull request #21568 from nextcloud/backport/21564/stable19
[stable19] fix obsolete usage of OCdialogs
2020-06-24 22:44:26 +02:00
blizzz ca845138b7 Merge pull request #21571 from nextcloud/backport/21565/stable19
[stable19] comment was wrong, block is needed nevertheless
2020-06-24 22:41:25 +02:00
Daniel Calviño Sánchez 4401cd2717 Add acceptance test for disabling create permission after sharing
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-24 19:22:39 +00:00
Daniel Calviño Sánchez 244a7e16f3 Add acceptance test for sharing a folder without create permission
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-24 19:22:39 +00:00
Daniel Calviño Sánchez ae3af29646 Add acceptance test for sharing a file without edit permission
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-24 19:22:38 +00:00
Daniel Calviño Sánchez e815b13265 Generalize functions to get locators for share permission checkboxes
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-24 19:22:38 +00:00
Robin Appelman 654f5a2109 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 19:11:18 +00:00
Arthur Schiwon 2a3ebe4353 comment was wrong, block is needed nevertheless
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-24 19:07:38 +00:00
Arthur Schiwon 003407e094 fix obsolete usage of OCdialogs
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-24 17:01:17 +00:00
Joas Schilling d4343de3eb Merge pull request #21541 from nextcloud/backport/21417/stable19
[stable19] Fix modal support for vue apps and dark theme
2020-06-24 13:32:57 +02:00
Roeland Jago Douma 41587bd8fb Merge pull request #21550 from nextcloud/backport/21535/stable19
[stable19] Fix language in share notes email for users
2020-06-24 09:02:09 +02:00
Nextcloud bot 7824599d71 [tx-robot] updated from transifex 2020-06-24 02:16:54 +00:00
Joas Schilling 407e3df585 Fix language in share notes email for users
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-23 21:29:49 +00:00
Joas Schilling 1230916274 Rebuild JS files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-23 14:18:11 +02:00
Joas Schilling dc62eb086d Darker background for dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-23 14:12:01 +02:00
Joas Schilling cf700c7ab4 Make the confirm dialog modal by default
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-23 14:09:51 +02:00
Joas Schilling 7723529d31 Fix modal support for vue apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-23 14:09:44 +02:00
Roeland Jago Douma 6b5db20fc9 Merge pull request #21526 from nextcloud/backport/21479/stable19
[stable19] Allow to specify the cookie type for appframework responses
2020-06-23 14:04:53 +02:00
Joas Schilling d1df66f7af Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-23 12:04:50 +00:00
Joas Schilling 9ce288163c Fix PHP CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-23 12:04:50 +00:00
Joas Schilling 83b0d37093 Add another test for exact matching of a user in group restriction
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-23 12:04:50 +00:00
Joas Schilling 7a36a4b99c 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-23 12:04:49 +00:00
Nextcloud bot 86fdf17eed [tx-robot] updated from transifex 2020-06-23 02:17:20 +00:00
Roeland Jago Douma 286f79c388 Merge pull request #21447 from nextcloud/backport/21406/stable19
[stable19] Disable Client-Side Monitoring on AWS storage
2020-06-22 16:29:05 +02:00
Arthur Schiwon 002e1f1ed2 available since 19.0.1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-22 13:43:18 +02:00
Roeland Jago Douma c21a976bc4 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 11:02:50 +00:00
Roeland Jago Douma d1c19fbe23 Merge pull request #21521 from nextcloud/backport/21478/stable19
[stable19] Clarify that the email is always shared within the instance
2020-06-22 11:03:53 +02:00
Joas Schilling 127cfeee90 Clarify that the email is always shared within the instance
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-22 06:51:59 +00:00
Roeland Jago Douma adb5a80674 Merge pull request #21485 from nextcloud/backport/21482/stable19
[stable19] Don't log Keys
2020-06-21 09:19:35 +02:00
Nextcloud bot 973c933b71 [tx-robot] updated from transifex 2020-06-21 02:16:17 +00:00
Roeland Jago Douma a29355806a Merge pull request #21493 from nextcloud/backport/21492/stable19
[stable19] acceptence tests shall specify which branch to pick when cloning apps
2020-06-20 16:01:09 +02:00
Roeland Jago Douma c62000c0bb Merge pull request #21495 from nextcloud/backport/21483/stable19
[stable19] Give up after 10 seconds in SCSS timeout
2020-06-20 16:00:27 +02:00
Nextcloud bot b9c7865045 [tx-robot] updated from transifex 2020-06-20 02:16:46 +00:00
Roeland Jago Douma 88e121d684 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 19:29:56 +00:00
Arthur Schiwon 90de43dc94 acceptence tests shall specify which branch to pick when cloning apps
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-19 21:09:37 +02:00
blizzz 8f35a66100 Merge pull request #21491 from nextcloud/backport/21421/stable19
[stable19] getXbyY can still return false, e.g. when using ldap write support
2020-06-19 20:45:38 +02:00
blizzz 8e02367453 be more clear about the condition
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
2020-06-19 18:03:07 +00:00
Arthur Schiwon 6f49974851 getXbyY can still return false, e.g. when using ldap write support
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-19 18:03:07 +00:00
Joas Schilling 0ebbabebe8 Don't log Keys
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-19 13:11:18 +00:00
Nextcloud bot e5b468fb1a [tx-robot] updated from transifex 2020-06-19 02:16:37 +00:00
Nextcloud bot 085b076d84 [tx-robot] updated from transifex 2020-06-18 02:16:45 +00:00
Christoph Wurst 60a3bf8572 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-17 09:00:28 +00:00
Roeland Jago Douma 8b2a76216d Merge pull request #21427 from nextcloud/backport/21416/stable19
[stable19] Clean up auth tokens when user is deleted
2020-06-17 10:34:26 +02:00
Roeland Jago Douma a436df0bc9 Merge pull request #21441 from nextcloud/backport/21432/stable19
[stable19] Fix invalid usage of \Exception::getResult
2020-06-17 10:30:46 +02:00
Nextcloud bot 556bc6aed3 [tx-robot] updated from transifex 2020-06-17 02:15:53 +00:00
Christoph Wurst 97f3e9d391 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 19:26:44 +00:00
Christoph Wurst 1022db87db Clean up auth tokens when user is deleted
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-16 08:03:45 +00:00
Nextcloud bot c9f0f5a0d9 [tx-robot] updated from transifex 2020-06-16 02:16:14 +00:00
blizzz 5c467fccd4 Merge pull request #21419 from nextcloud/backport/21408/stable19
[stable19] Avoid duplicate matches in wide and exact results
2020-06-15 23:55:32 +02:00
Julius Härtl 21bc4b3cad Avoid duplicate matches in wide and exact results
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-15 17:52:59 +00:00
Roeland Jago Douma 08a03b65ae Merge pull request #21409 from nextcloud/backport/21317/stable19
[stable19] Upload part size as S3 parameter instead of constant value
2020-06-15 16:30:22 +02:00
Florent 6280d09765 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-15 08:40:02 +00:00
Joas Schilling a8ef2418f2 Fix pagination of contacts search
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-15 06:49:03 +00:00
Nextcloud bot d6923b4bb5 [tx-robot] updated from transifex 2020-06-15 02:16:06 +00:00
Nextcloud bot 3bc6265896 [tx-robot] updated from transifex 2020-06-14 02:16:01 +00:00
Roeland Jago Douma 778f8e87f3 Merge pull request #21354 from nextcloud/backport/21347/stable19
[stable19] Pass the proper share permissions to the create share call
2020-06-11 13:45:21 +02:00
Roeland Jago Douma f37be3af96 Merge pull request #21352 from nextcloud/backport/21311/stable19
[stable19] Always sort shares in a reliable way
2020-06-11 13:23:07 +02:00
Nextcloud bot e146a2b7e6 [tx-robot] updated from transifex 2020-06-11 02:15:59 +00:00
Joas Schilling 68f5ea780a Merge pull request #21356 from nextcloud/backport/21185/stable19
[stable19] Reflect unreadable state in the UI
2020-06-10 13:06:15 +02:00
Joas Schilling 0e94a968ef Reflect unreadable state in the UI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-10 08:57:21 +00:00
Roeland Jago Douma 009432dee0 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>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-06-10 08:55:37 +00:00
Joas Schilling c63039bb83 Always sort shares in a reliable way
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-10 06:55:29 +00:00
Nextcloud bot f40f7abbaf [tx-robot] updated from transifex 2020-06-10 02:16:16 +00:00
Roeland Jago Douma 3b404a8a04 Merge pull request #21333 from nextcloud/backport/21318/stable19
[stable19] clear LDAP cache after user deletion
2020-06-09 19:29:28 +02:00
Robin Appelman 61ea03d981 update icewind/smb to 3.2.5
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-06-09 12:29:43 +00:00
Arthur Schiwon 5b63593956 clear LDAP cache after user deletion
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-09 08:23:42 +00:00
Roeland Jago Douma b20b92441e Merge pull request #21308 from nextcloud/backport/21198/stable19
[stable19] Only use background fade if nextcloud blue is set
2020-06-09 09:50:13 +02:00
Nextcloud bot d753435452 [tx-robot] updated from transifex 2020-06-09 02:16:05 +00:00
Julius Härtl 69de44ecab Only use background fade if nextcloud blue is set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-08 11:45:56 +00:00
Roeland Jago Douma b876658d70 Merge pull request #21203 from nextcloud/backport/21091/stable19
[stable19] normalize sftp path in read and write stream
2020-06-08 12:15:00 +02:00
Roeland Jago Douma 418c288933 Merge pull request #21287 from nextcloud/backport/21274/stable19
[stable19] Enable passwordless for everyone not only admins.
2020-06-08 11:20:31 +02:00
Nextcloud bot 27549f6729 [tx-robot] updated from transifex 2020-06-08 02:16:05 +00:00
Daniel Kesselberg df75d3ab59 Enable passwordless for everyone not only admins.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-07 13:07:53 +00:00
Nextcloud bot 5795271cef [tx-robot] updated from transifex 2020-06-07 02:15:59 +00:00
Roeland Jago Douma 513446cafb Merge pull request #21210 from nextcloud/backport/20938/stable19
[stable19] Fix the Talk verification
2020-06-06 09:31:16 +02:00
Nextcloud bot bcc63c0c2b [tx-robot] updated from transifex 2020-06-06 02:16:09 +00:00
Roeland Jago Douma bbd97db4f6 Merge pull request #21247 from nextcloud/backport/21229/stable19
[stable19] Fix empty event UUID reminder notifications
2020-06-05 13:38:47 +02:00
Thomas Citharel 8cef51bbad Fix empty event UUID reminder notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-05 07:04:43 +00:00
Roeland Jago Douma 70c174566b Merge pull request #21242 from nextcloud/backport/21232/stable19
[stable19] Use \OC::$CLI instead of PHP_SAPI
2020-06-05 08:53:22 +02:00
Nextcloud bot dfe70692d7 [tx-robot] updated from transifex 2020-06-05 02:16:44 +00:00
Thomas Citharel 26f72d1aec Use \OC::$CLI instead of PHP_SAPI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-04 17:06:54 +00:00
Roeland Jago Douma a1204be15b Merge pull request #21226 from nextcloud/backport/21199/stable19
[stable19] Prevent harder to share your root
2020-06-04 19:01:56 +02:00
Joas Schilling 982f2fc21a Prevent harder to share your root
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-04 09:01:40 +00:00
Roeland Jago Douma c296a55fe8 Merge pull request #21200 from nextcloud/backport/21181/stable19
[stable19] Do not only catch Exceptions but any Throwable during rmt share delete
2020-06-04 10:59:47 +02:00
Daniel Calviño Sánchez 01ccbe68ff 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>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-06-03 14:08:17 +00:00
Christoph Wurst c423a50938 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-03 13:51:42 +00:00
Robin Appelman 48c0ac2f12 normalize sftp path in read and write stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-06-03 10:19:35 +00:00
Christoph Wurst 25dd585251 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-03 09:13:47 +00:00
Morris Jobke f431c145bc Merge pull request #21151 from nextcloud/backport/21143/stable19
[stable19] Fix password changes in link and mail shares
2020-05-29 21:31:04 +02:00
Daniel Calviño Sánchez fcafad2111 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 16:58:10 +02:00
Daniel Calviño Sánchez 125481a660 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 11:37:44 +00:00
Daniel Calviño Sánchez f7e8034d72 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 11:37:43 +00:00
Daniel Calviño Sánchez 062525b460 Remove unused variables
The step names were adjusted accordingly.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-29 11:37:43 +00:00
Daniel Calviño Sánchez 6ca312eec9 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 11:37:43 +00:00
Daniel Calviño Sánchez 8e5aa03834 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-29 11:37:43 +00:00
Daniel Calviño Sánchez 9df3ea94b8 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-29 11:37:43 +00:00
Daniel Calviño Sánchez 9a5b51d43c 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-29 11:37:43 +00:00
Daniel Calviño Sánchez 5de6eb07c0 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-29 11:37:42 +00:00
Roeland Jago Douma bed5c21b5a Merge pull request #21148 from nextcloud/backport/21146/stable19
[stable19] Fix reference to wrong class name
2020-05-29 10:12:30 +02:00
Daniel Calviño Sánchez e9ccb802e8 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 06:48:00 +00:00
Roeland Jago Douma 89f0785c1d Merge pull request #21135 from nextcloud/backport/21065/stable19
[stable19] Clear the statscache before fetching the metadata
2020-05-28 19:44:35 +02:00
Roeland Jago Douma d12e379c96 Merge pull request #21128 from nextcloud/backport/21123/stable19
[stable19] simplify getGroups, fixing wrong chunking logic
2020-05-28 14:59:50 +02:00
Roeland Jago Douma 9d2d3c4809 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-28 10:30:35 +00:00
Christoph Wurst bdb9f31cf1 Merge pull request #21126 from nextcloud/fix/make-translation-sanitization-optional-stable19
[stable19] Make the translation sanitization optional
2020-05-28 09:40:20 +02:00
Roeland Jago Douma e33055a318 Merge pull request #21131 from nextcloud/backport/20933/stable19
[stable19] Move the password confirmation form template to post
2020-05-28 08:17:15 +02:00
Roeland Jago Douma 3ce43c7d71 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-27 17:58:04 +00:00
Arthur Schiwon 1e5295138a 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 17:38:45 +00:00
Christoph Wurst 14b618bcaf Fix devices & sessions sanitization
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-27 15:57:18 +02:00
Christoph Wurst 539e46a07e Make the translation sanitization optional
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-27 15:55:40 +02:00
blizzz 03a1932b15 Merge pull request #21114 from nextcloud/backport/21106/stable19
[stable19] use the loginname to verify the old password in user password changes
2020-05-27 10:19:22 +02:00
Arthur Schiwon 557a3754c1 use the loginname to verify the old password in user password changes
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-05-26 19:20:42 +00:00
Morris Jobke 1d1a9ba5a0 Merge pull request #21111 from nextcloud/backport/21108/stable19
[stable19] fixes infinitely repeating LDPA search results with PHP <= 7.2
2020-05-26 15:41:17 +02:00
Arthur Schiwon d0559a4871 fixes infinitely repeating LDPA search results with PHP <= 7.2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-05-26 09:56:10 +00:00
Roeland Jago Douma 24e97c1a7c Merge pull request #21095 from nextcloud/backport/21090/stable19
[stable19] Do not read certificate bundle from data dir by default
2020-05-26 11:43:46 +02:00
Morris Jobke 3bf0285840 Merge pull request #21068 from nextcloud/backport/20776/stable19
[stable19] Improve group queries
2020-05-26 10:38:17 +02:00
Roeland Jago Douma 9c63433cde Merge pull request #21060 from nextcloud/version/19/final
19 Final
2020-05-26 10:04:27 +02:00
Roeland Jago Douma a283200dcb Merge pull request #21105 from nextcloud/backport/21092/stable19
Update recommended apps
2020-05-26 10:01:23 +02:00
Julius Härtl abecd5696b Update hub bundle and add proxy rule to htaccess
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-25 19:52:22 +00:00
Morris Jobke ebbdd2de33 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 17:51:03 +00:00
Roeland Jago Douma 444b28adf6 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-22 12:22:03 +00:00
Roeland Jago Douma 13e6a0db2c 19 Final
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-21 09:32:28 +02:00
Roeland Jago Douma 33b06cfa0c Merge pull request #20964 from nextcloud/version/19/rc3
19 RC3
2020-05-20 19:53:56 +02:00
Morris Jobke 138eddc0f1 Merge pull request #21028 from nextcloud/backport/20629/stable19
[stable19] Don't load text file preview when text app is available (Fixes: #20615)
2020-05-20 13:54:17 +02:00
Morris Jobke 703d8f2adc Merge pull request #21052 from nextcloud/backport/21050/stable19
[stable19] Caching and compression for app store requests
2020-05-20 13:23:00 +02:00
Morris Jobke 745667e426 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:07:35 +00:00
Morris Jobke 5c0f06b259 Cache appstore requests for 60 instead of 5 minutes
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-05-20 09:07:35 +00:00
Roeland Jago Douma 5763ce2761 Merge pull request #21047 from nextcloud/backport/21041/stable19
[stable19] Copy over the ETag and LastModified when formatting a Dataresponse
2020-05-19 20:40:47 +02:00
Roeland Jago Douma b9cb5a74cc 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 12:51:06 +00:00
Roeland Jago Douma 822d3f0e8b Merge pull request #21029 from nextcloud/backport/21003/stable19
[stable19] Remove entries from locales.json incompatible with punic
2020-05-19 12:05:06 +02:00
Roeland Jago Douma e003fcd806 Merge pull request #21032 from nextcloud/backport/20846/stable19
[stable19] Link permissions
2020-05-19 11:57:15 +02:00
Julius Härtl dd15780edd Fix share update test
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-05-18 13:47:39 +00:00
Roeland Jago Douma 214221574b Update public link share permission code
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-18 13:47:39 +00:00
Roeland Jago Douma aac0dd1f20 Have share permissions on link shares if it is enabled
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-18 13:47:38 +00:00
Daniel Kesselberg b0cfa3ed22 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-18 09:53:47 +00:00
Morris Jobke 231eaf6ffd Merge pull request #20991 from nextcloud/backport/20941/stable19
[stable19] update icewind/smb to 3.2.4
2020-05-18 11:03:39 +02:00
Jonas Meurer be37ca1776 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-05-18 08:59:53 +00:00
Robin Appelman ffc3b48a40 update icewind/smb to 3.2.4
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-05-15 12:35:22 +00:00
Roeland Jago Douma 9d7198f31e Merge pull request #20963 from nextcloud/backport/20947/stable19
[stable19] Bump yargs-parser
2020-05-14 11:51:07 +02:00
Roeland Jago Douma c4b2b1ec7d 19 RC3
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-14 08:45:14 +02:00
Christoph Wurst 1310836edd Bump yargs-parser
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-14 06:43:30 +00:00
Roeland Jago Douma b0a7ff1a99 Merge pull request #20850 from nextcloud/version/19/rc2
19 RC2
2020-05-14 08:14:25 +02:00
Roeland Jago Douma 321551a94f 19 RC2
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-14 08:11:00 +02:00
Roeland Jago Douma 60fd1a30b2 Merge pull request #20960 from nextcloud/backport/20952/stable19
[stable19] Respect exit code of lint run - changed from -exec to xargs as this e…
2020-05-14 08:09:04 +02:00
Roeland Jago Douma 3d201d70ba Merge pull request #20961 from nextcloud/backport/20958/stable19
[stable19] Allow links to conversations
2020-05-14 08:08:50 +02:00
Joas Schilling e2357d5df1 Allow links to conversations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-13 20:14:39 +00:00
Morris Jobke ffb4d54bc0 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 22:04:04 +02:00
Roeland Jago Douma acdd9362df Merge pull request #20954 from nextcloud/backport/20951/stable19
[stable19] Trailing comma's in functin arguments break on 7.2
2020-05-13 19:46:58 +02:00
Roeland Jago Douma 9c23d6355f Merge pull request #20944 from nextcloud/backport/20897/stable19
[stable19] Proxy server could cache http response when it is not private
2020-05-13 12:48:46 +02:00
Roeland Jago Douma 9fd725c84a Trailing comma's in functin arguments break on 7.2
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-13 10:40:31 +00:00
Clement Wong 21f8cc584c Fix http cache test
Signed-off-by: Clement Wong <git@clement.hk>
2020-05-13 06:34:22 +00:00
Clement Wong 203d85f045 Add public argument to Http cacheFor()
Signed-off-by: Clement Wong <git@clement.hk>
2020-05-13 06:34:22 +00:00
Clement Wong 1331eb1fb8 Proxy server could cache http response when it is not private
Signed-off-by: Clement Wong <git@clement.hk>
2020-05-13 06:34:22 +00:00
Roeland Jago Douma c19d639231 Merge pull request #20940 from nextcloud/backport/20858/stable19
[stable19] Remember the webauthn name of devices
2020-05-12 19:51:52 +02:00
Roeland Jago Douma 8e9433aee9 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-12 12:08:38 +00:00
Roeland Jago Douma c37bb7745b Merge pull request #20923 from nextcloud/backport/20915/stable19
[stable19] Use random_bytes
2020-05-11 21:00:16 +02:00
John Molakvoæ 4bde23d239 Merge pull request #20878 from nextcloud/backport/20719/stable19 2020-05-11 14:55:16 +02:00
Roeland Jago Douma 387af7eb60 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:23:02 +00:00
Roeland Jago Douma 6b6d28ee98 Merge pull request #20880 from nextcloud/backport/20860/stable19
[stable19] macOS contacts: prefer personal over app generated
2020-05-09 10:53:08 +02:00
Roeland Jago Douma 1a58e3afbe Merge pull request #20885 from nextcloud/backport/20853/stable19
[stable19] Fix color-text-maxcontrast not passing WCAG AA
2020-05-09 09:53:07 +02:00
Jan-Christoph Borchardt 78480def53 Fix color-text-maxcontrast not passing WCAG AA
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-05-09 01:06:14 +00:00
Georg Ehrke e048bf8550 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-08 10:05:56 +00:00
Georg Ehrke d1909526fc Implement ctag and etag in ContactsInteraction
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-05-08 10:05:55 +00:00
GretaD adbdecb1d6 Fix languages empty array
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-05-08 09:25:59 +00:00
Morris Jobke 76334c4c90 Merge pull request #20873 from nextcloud/backport/20864/stable19
[stable19] Install page app naming
2020-05-08 10:24:22 +02:00
Roeland Jago Douma 3ebecaec52 Merge pull request #20872 from nextcloud/backport/20831/stable19
[stable19] Do not process the same FileInfo twice
2020-05-08 10:08:33 +02:00
Roeland Jago Douma 1d6772c1be Merge pull request #20871 from nextcloud/backport/20861/stable19
[stable19] Fix replacement dialog
2020-05-08 09:19:08 +02:00
Roeland Jago Douma 4d0f008dcb Install page app naming
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-08 06:33:11 +00:00
John Molakvoæ (skjnldsv) 90a65f83e0 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-08 05:39:53 +00:00
Roeland Jago Douma 3365ab787a 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-08 05:23:39 +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
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 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
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 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
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
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
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
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
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
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
3269 changed files with 42827 additions and 43468 deletions
+93 -108
View File
@@ -18,30 +18,6 @@ trigger:
- 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
@@ -65,49 +41,15 @@ trigger:
- 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 .
#---
#kind: pipeline
#name: syntax-and-phan
#
#steps:
#- name: submodules
# image: docker:git
# commands:
# - git submodule update --init
#- name: phan
# image: nextcloudci/php7.2:php7.2-13
# commands:
@@ -115,14 +57,14 @@ steps:
# - 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
- stable*
event:
- pull_request
- push
#
#trigger:
# branch:
# - master
# - stable*
# event:
# - pull_request
# - push
---
kind: pipeline
@@ -1450,7 +1392,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 --branch stable19 --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:
@@ -1609,7 +1551,7 @@ trigger:
---
kind: pipeline
name: integration-ldap-openldap-uid-features
name: integration-ldap-openldap-uid-features-php54-api
steps:
- name: submodules
@@ -1617,7 +1559,7 @@ steps:
commands:
- git submodule update --init
- name: integration-ldap-openldap-uid-features
image: nextcloudci/integration-php7.3:integration-php7.3-2
image: nextcloudci/integration-php7.2:integration-php7.2-1
commands:
- bash tests/drone-run-integration-tests.sh || exit 0
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
@@ -1647,6 +1589,49 @@ trigger:
event:
- pull_request
- push
type: docker
---
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
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
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
type: docker
---
kind: pipeline
@@ -1794,36 +1779,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
+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',
}
+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'
-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 }}
+36
View File
@@ -0,0 +1,36 @@
name: Lint
on: pull_request
jobs:
php-linters:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.2', '7.3', 7.4]
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
- name: Install dependencies
run: composer i
- name: Run coding standards check
run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
+67
View File
@@ -0,0 +1,67 @@
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: |
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
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
+2
View File
@@ -16,6 +16,7 @@
!/apps/accessibility
!/apps/cloud_federation_api
!/apps/comments
!/apps/contactsinteraction
!/apps/dav
!/apps/files
!/apps/federation
@@ -69,6 +70,7 @@ CVS/*
.svn/*
RCS/*
*.backup*
.php_cs.cache
# kdevelop
.kdev
+1
View File
@@ -380,6 +380,7 @@ 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 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>
+19
View File
@@ -0,0 +1,19 @@
<?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('composer')
->notPath('vendor')
->in(__DIR__);
return $config;
+29 -11
View File
@@ -9,13 +9,13 @@ Nextcloud is written by:
- 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>
@@ -30,6 +30,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>
@@ -51,7 +52,6 @@ Nextcloud is written by:
- 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 +60,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>
@@ -95,7 +96,9 @@ 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>
- Guillaume COMPAGNON <gcompagnon@outlook.com>
- Hemanth Kumar Veeranki <hems.india1997@gmail.com>
@@ -119,26 +122,27 @@ 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 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 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 +153,19 @@ 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>
- 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>
@@ -188,6 +194,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>
@@ -196,10 +203,12 @@ Nextcloud is written by:
- Michał Węgrzynek <michal.wegrzynek@malloc.com.pl>
- Miguel Prokop <miguel.prokop@vtu.com>
- 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>
@@ -212,14 +221,15 @@ Nextcloud is written by:
- 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,7 +246,6 @@ 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>
- Rinat Gumirov <rinat.gumirov@mail.ru>
- Robert Dailey <rcdailey@gmail.com>
- Robin Appelman <robin@icewind.nl>
@@ -257,10 +266,12 @@ Nextcloud is written by:
- 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 Shambarger <devel@shambarger.net>
- Sean Comeau <sean@ftlnetworks.ca>
- Sebastian Döll <sebastian.doell@libasys.de>
@@ -271,9 +282,11 @@ Nextcloud is written by:
- Senorsen <senorsen.zhang@gmail.com>
- Serge Martin <edb@sigluy.net>
- Sergej Nikolaev <kinolaev@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>
- Simounet <contact@simounet.net>
- Sjors van der Pluijm <sjors@desjors.nl>
- Stefan Rado <owncloud@sradonia.net>
- Stefan Schneider <stefan.schneider@squareweave.com.au>
@@ -286,21 +299,24 @@ Nextcloud is written by:
- Sujith H <sharidasan@owncloud.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 <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>
- Tom Needham <tom@owncloud.com>
- Tomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com>
@@ -327,7 +343,6 @@ Nextcloud is written by:
- brumsel <brumsel@losecatcher.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>
@@ -336,6 +351,7 @@ Nextcloud is written by:
- duritong <peter.meier+github@immerda.ch>
- eduardo <eduardo@vnexu.net>
- enoch <lanxenet@hotmail.com>
- exner104 <59639860+exner104@users.noreply.github.com>
- fabian <fabian@web2.0-apps.de>
- felixboehm <felix@webhippie.de>
- fnuesse <felix.nuesse@t-online.de>
@@ -344,12 +360,12 @@ Nextcloud is written by:
- hkjolhede <hkjolhede@gmail.com>
- 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>
- korelstar <korelstar@users.noreply.github.com>
- labor4 <schreibtisch@labor4.ch>
- macjohnny <estebanmarin@gmx.ch>
- marco44 <cousinmarc@gmail.com>
- martin-rueegg <martin.rueegg@metaworx.ch>
@@ -366,10 +382,12 @@ Nextcloud is written by:
- 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>
+1 -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
+1 -3
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.**
@@ -61,7 +59,7 @@ Otherwise, git checkouts can be handled the same as release archives, by using t
### Building front-end code 🏗
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
+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.
+2 -2
View File
@@ -5,7 +5,7 @@
<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>
<version>1.5.0</version>
<licence>agpl</licence>
<author>John Molakvoæ</author>
<namespace>Accessibility</namespace>
@@ -16,7 +16,7 @@
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="18" max-version="18"/>
<nextcloud min-version="19" max-version="19"/>
</dependencies>
<repair-steps>
+5 -4
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>
*
@@ -27,13 +28,13 @@ 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',
'verb' => 'GET',
],
],
[
'name' => 'Config#setConfig',
'url' => '/api/v1/config/{key}',
@@ -44,5 +45,5 @@ return [
'url' => '/api/v1/config/{key}',
'verb' => 'DELETE',
],
]
]
];
@@ -13,6 +13,9 @@ class ComposerAutoloaderInitAccessibility
}
}
/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader()
{
if (null !== self::$loader) {
+1 -1
View File
@@ -12,7 +12,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%);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-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);"
}
+10 -10
View File
@@ -1,20 +1,20 @@
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.",
"Dark theme" : "Tema iscuru",
"Enable dark theme" : "Pone 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 la lugorosidade generale. Est ancora in fase de isvilupu, tando signala cale si siat problema, pro piaghere.",
"High contrast mode" : "Modalidade cuntrastu altu",
"Enable high contrast mode" : "Pone sa modalidade cuntrastu altu",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Unu cuntrastu altu pro agiudare sa navigatzione tua. S'at a menguare sa calidade de visualizatzione, ma at a crèschere sa trasparèntzia.",
"Dyslexia font" : "Font pro dislessia",
"Enable dyslexia font" : "Ativa su font pro dislessia",
"Enable dyslexia font" : "Pone 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"
"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 retza e chircamus de fàghere chi totu si potzat impreare chene mouse puru, e cun software de assistèntzia comente leghidores de ischermu. S'intentu nostru est de acumprire is inditos de is {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 a su livellu AA, cun su tema de cuntrastu altu 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}!" : "Chi agatas calicunu problema, no istentes a ddu signalare a {issuetracker}our issue tracker{linkend}. E si nosi cheres agiudare, annanghe-ti a {designteam}our design team{linkend}!",
"Enable" : "Pone"
},
"nplurals=2; plural=(n != 1);");
+10 -10
View File
@@ -1,18 +1,18 @@
{ "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.",
"Dark theme" : "Tema iscuru",
"Enable dark theme" : "Pone 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 la lugorosidade generale. Est ancora in fase de isvilupu, tando signala cale si siat problema, pro piaghere.",
"High contrast mode" : "Modalidade cuntrastu altu",
"Enable high contrast mode" : "Pone sa modalidade cuntrastu altu",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Unu cuntrastu altu pro agiudare sa navigatzione tua. S'at a menguare sa calidade de visualizatzione, ma at a crèschere sa trasparèntzia.",
"Dyslexia font" : "Font pro dislessia",
"Enable dyslexia font" : "Ativa su font pro dislessia",
"Enable dyslexia font" : "Pone 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"
"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 retza e chircamus de fàghere chi totu si potzat impreare chene mouse puru, e cun software de assistèntzia comente leghidores de ischermu. S'intentu nostru est de acumprire is inditos de is {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 a su livellu AA, cun su tema de cuntrastu altu 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}!" : "Chi agatas calicunu problema, no istentes a ddu signalare a {issuetracker}our issue tracker{linkend}. E si nosi cheres agiudare, annanghe-ti a {designteam}our design team{linkend}!",
"Enable" : "Pone"
},"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
@@ -57,34 +59,36 @@ class AccessibilityProvider {
}
public function getThemes() {
return array(
return [
[
'id' => 'dark',
'img' => $this->urlGenerator->imagePath($this->appName, 'theme-dark.jpg'),
'title' => $this->l->t('Dark theme'),
'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'),
'title' => $this->l->t('Dyslexia font'),
'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.')
]
);
];
}
}
@@ -7,11 +7,13 @@ declare(strict_types=1);
* @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,9 +34,6 @@ 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;
@@ -48,6 +47,9 @@ 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 {
@@ -245,7 +247,7 @@ 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);
$userHighContrast = $this->config->getUserValue($this->userSession->getUser()->getUID(), $this->appName, 'highcontrast', false);
@@ -6,6 +6,7 @@ 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 Janis Köhr <janis.koehr@novatec-gmbh.de>
* @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* @author Roeland Jago Douma <roeland@famdouma.nl>
@@ -30,7 +31,6 @@ 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;
@@ -107,16 +107,15 @@ class ConfigController extends OCSController {
*/
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());
$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));
@@ -142,7 +141,6 @@ class ConfigController extends OCSController {
*/
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 +154,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,7 +74,7 @@ class RepairUserConfig implements IRepairStep {
*/
public function run(IOutput $output) {
$output->startProgress();
$this->userManager->callForSeenUsers(function(IUser $user) use ($output) {
$this->userManager->callForSeenUsers(function (IUser $user) use ($output) {
$theme = $this->config->getUserValue($user->getUID(), Application::APP_NAME, 'theme', false);
if ($theme === 'themedark') {
$this->config->setUserValue($user->getUID(), Application::APP_NAME, 'theme', 'dark');
@@ -86,5 +87,4 @@ class RepairUserConfig implements IRepairStep {
});
$output->finishProgress();
}
}
@@ -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>
-1
View File
@@ -2,7 +2,6 @@ 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
+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.9.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="19" max-version="19"/>
</dependencies>
<background-jobs>
<job>OCA\AdminAudit\BackgroundJobs\Rotate</job>
@@ -13,6 +13,9 @@ class ComposerAutoloaderInitAdminAudit
}
}
/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader()
{
if (null !== self::$loader) {
+5 -4
View File
@@ -5,6 +5,7 @@ declare(strict_types=1);
/**
* @copyright Copyright (c) 2016 Lukas Reschke <lukas@statuscode.ch>
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Joas Schilling <coding@schilljs.com>
* @author Lukas Reschke <lukas@statuscode.ch>
* @author Roeland Jago Douma <roeland@famdouma.nl>
@@ -53,8 +54,8 @@ class Action {
array $params,
array $elements,
bool $obfuscateParameters = false) {
foreach($elements as $element) {
if(!isset($params[$element])) {
foreach ($elements as $element) {
if (!isset($params[$element])) {
if ($obfuscateParameters) {
$this->logger->critical(
'$params["'.$element.'"] was missing.',
@@ -74,8 +75,8 @@ class Action {
}
$replaceArray = [];
foreach($elements as $element) {
if($params[$element] instanceof \DateTime) {
foreach ($elements as $element) {
if ($params[$element] instanceof \DateTime) {
$params[$element] = $params[$element]->format('Y-m-d H:i:s');
}
$replaceArray[] = $params[$element];
-1
View File
@@ -28,7 +28,6 @@ declare(strict_types=1);
namespace OCA\AdminAudit\Actions;
class Console extends Action {
/**
* @param $arguments
@@ -29,7 +29,6 @@ declare(strict_types=1);
namespace OCA\AdminAudit\Actions;
use OCP\IGroup;
use OCP\IUser;
@@ -5,6 +5,7 @@ declare(strict_types=1);
/**
* @copyright Copyright (c) 2018 Roeland Jago Douma <roeland@famdouma.nl>
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Roeland Jago Douma <roeland@famdouma.nl>
*
* @license GNU AGPL version 3 or any later version
@@ -25,6 +26,7 @@ declare(strict_types=1);
*/
namespace OCA\AdminAudit\Actions;
use OCP\IUser;
/**
+17 -17
View File
@@ -5,6 +5,7 @@ declare(strict_types=1);
/**
* @copyright Copyright (c) 2016 Lukas Reschke <lukas@statuscode.ch>
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Daniel Calviño Sánchez <danxuliu@gmail.com>
* @author Joas Schilling <coding@schilljs.com>
* @author Lukas Reschke <lukas@statuscode.ch>
@@ -29,7 +30,6 @@ declare(strict_types=1);
namespace OCA\AdminAudit\Actions;
use OCP\Share;
/**
@@ -44,7 +44,7 @@ class Sharing extends Action {
* @param array $params
*/
public function shared(array $params) {
if($params['shareType'] === Share::SHARE_TYPE_LINK) {
if ($params['shareType'] === Share::SHARE_TYPE_LINK) {
$this->log(
'The %s "%s" with ID "%s" has been shared via link with permissions "%s" (Share ID: %s)',
$params,
@@ -56,7 +56,7 @@ class Sharing extends Action {
'id',
]
);
} elseif($params['shareType'] === Share::SHARE_TYPE_USER) {
} elseif ($params['shareType'] === Share::SHARE_TYPE_USER) {
$this->log(
'The %s "%s" with ID "%s" has been shared to the user "%s" with permissions "%s" (Share ID: %s)',
$params,
@@ -69,7 +69,7 @@ class Sharing extends Action {
'id',
]
);
} elseif($params['shareType'] === Share::SHARE_TYPE_GROUP) {
} elseif ($params['shareType'] === Share::SHARE_TYPE_GROUP) {
$this->log(
'The %s "%s" with ID "%s" has been shared to the group "%s" with permissions "%s" (Share ID: %s)',
$params,
@@ -82,7 +82,7 @@ class Sharing extends Action {
'id',
]
);
} elseif($params['shareType'] === Share::SHARE_TYPE_ROOM) {
} elseif ($params['shareType'] === Share::SHARE_TYPE_ROOM) {
$this->log(
'The %s "%s" with ID "%s" has been shared to the room "%s" with permissions "%s" (Share ID: %s)',
$params,
@@ -95,7 +95,7 @@ class Sharing extends Action {
'id',
]
);
} elseif($params['shareType'] === Share::SHARE_TYPE_EMAIL) {
} elseif ($params['shareType'] === Share::SHARE_TYPE_EMAIL) {
$this->log(
'The %s "%s" with ID "%s" has been shared to the email recipient "%s" with permissions "%s" (Share ID: %s)',
$params,
@@ -108,7 +108,7 @@ class Sharing extends Action {
'id',
]
);
} elseif($params['shareType'] === Share::SHARE_TYPE_CIRCLE) {
} elseif ($params['shareType'] === Share::SHARE_TYPE_CIRCLE) {
$this->log(
'The %s "%s" with ID "%s" has been shared to the circle "%s" with permissions "%s" (Share ID: %s)',
$params,
@@ -121,7 +121,7 @@ class Sharing extends Action {
'id',
]
);
} elseif($params['shareType'] === Share::SHARE_TYPE_REMOTE) {
} elseif ($params['shareType'] === Share::SHARE_TYPE_REMOTE) {
$this->log(
'The %s "%s" with ID "%s" has been shared to the remote user "%s" with permissions "%s" (Share ID: %s)',
$params,
@@ -134,7 +134,7 @@ class Sharing extends Action {
'id',
]
);
} elseif($params['shareType'] === Share::SHARE_TYPE_REMOTE_GROUP) {
} elseif ($params['shareType'] === Share::SHARE_TYPE_REMOTE_GROUP) {
$this->log(
'The %s "%s" with ID "%s" has been shared to the remote group "%s" with permissions "%s" (Share ID: %s)',
$params,
@@ -156,7 +156,7 @@ class Sharing extends Action {
* @param array $params
*/
public function unshare(array $params) {
if($params['shareType'] === Share::SHARE_TYPE_LINK) {
if ($params['shareType'] === Share::SHARE_TYPE_LINK) {
$this->log(
'The %s "%s" with ID "%s" has been unshared (Share ID: %s)',
$params,
@@ -167,7 +167,7 @@ class Sharing extends Action {
'id',
]
);
} elseif($params['shareType'] === Share::SHARE_TYPE_USER) {
} elseif ($params['shareType'] === Share::SHARE_TYPE_USER) {
$this->log(
'The %s "%s" with ID "%s" has been unshared from the user "%s" (Share ID: %s)',
$params,
@@ -179,7 +179,7 @@ class Sharing extends Action {
'id',
]
);
} elseif($params['shareType'] === Share::SHARE_TYPE_GROUP) {
} elseif ($params['shareType'] === Share::SHARE_TYPE_GROUP) {
$this->log(
'The %s "%s" with ID "%s" has been unshared from the group "%s" (Share ID: %s)',
$params,
@@ -191,7 +191,7 @@ class Sharing extends Action {
'id',
]
);
} elseif($params['shareType'] === Share::SHARE_TYPE_ROOM) {
} elseif ($params['shareType'] === Share::SHARE_TYPE_ROOM) {
$this->log(
'The %s "%s" with ID "%s" has been unshared from the room "%s" (Share ID: %s)',
$params,
@@ -203,7 +203,7 @@ class Sharing extends Action {
'id',
]
);
} elseif($params['shareType'] === Share::SHARE_TYPE_EMAIL) {
} elseif ($params['shareType'] === Share::SHARE_TYPE_EMAIL) {
$this->log(
'The %s "%s" with ID "%s" has been unshared from the email recipient "%s" (Share ID: %s)',
$params,
@@ -215,7 +215,7 @@ class Sharing extends Action {
'id',
]
);
} elseif($params['shareType'] === Share::SHARE_TYPE_CIRCLE) {
} elseif ($params['shareType'] === Share::SHARE_TYPE_CIRCLE) {
$this->log(
'The %s "%s" with ID "%s" has been unshared from the circle "%s" (Share ID: %s)',
$params,
@@ -227,7 +227,7 @@ class Sharing extends Action {
'id',
]
);
} elseif($params['shareType'] === Share::SHARE_TYPE_REMOTE) {
} elseif ($params['shareType'] === Share::SHARE_TYPE_REMOTE) {
$this->log(
'The %s "%s" with ID "%s" has been unshared from the remote user "%s" (Share ID: %s)',
$params,
@@ -239,7 +239,7 @@ class Sharing extends Action {
'id',
]
);
} elseif($params['shareType'] === Share::SHARE_TYPE_REMOTE_GROUP) {
} elseif ($params['shareType'] === Share::SHARE_TYPE_REMOTE_GROUP) {
$this->log(
'The %s "%s" with ID "%s" has been unshared from the remote group "%s" (Share ID: %s)',
$params,
@@ -28,9 +28,7 @@ declare(strict_types=1);
namespace OCA\AdminAudit\Actions;
class Trashbin extends Action {
public function delete(array $params) {
$this->log('File "%s" deleted from trash bin.',
['path' => $params['path']], ['path']
@@ -42,5 +40,4 @@ class Trashbin extends Action {
['path' => $params['filePath']], ['path']
);
}
}
@@ -7,6 +7,7 @@ declare(strict_types=1);
*
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Bjoern Schiessle <bjoern@schiessle.org>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Joas Schilling <coding@schilljs.com>
* @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* @author Lukas Reschke <lukas@statuscode.ch>
@@ -30,7 +31,6 @@ declare(strict_types=1);
namespace OCA\AdminAudit\Actions;
use OCP\IUser;
/**
@@ -101,7 +101,7 @@ class UserManagement extends Action {
* @param array $params
*/
public function change(array $params) {
switch($params['feature']) {
switch ($params['feature']) {
case 'enabled':
$this->log(
$params['value'] === true
@@ -131,7 +131,7 @@ class UserManagement extends Action {
* @param IUser $user
*/
public function setPassword(IUser $user) {
if($user->getBackendClassName() === 'Database') {
if ($user->getBackendClassName() === 'Database') {
$this->log(
'Password of user "%s" has been changed',
[
@@ -28,9 +28,7 @@ declare(strict_types=1);
namespace OCA\AdminAudit\Actions;
class Versions extends Action {
public function rollback(array $params) {
$this->log('Version "%s" of "%s" was restored.',
[
@@ -47,5 +45,4 @@ class Versions extends Action {
['path']
);
}
}
+14 -13
View File
@@ -7,9 +7,12 @@ declare(strict_types=1);
*
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Bjoern Schiessle <bjoern@schiessle.org>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author GrayFix <grayfix@gmail.com>
* @author Joas Schilling <coding@schilljs.com>
* @author Morris Jobke <hey@morrisjobke.de>
* @author Roeland Jago Douma <roeland@famdouma.nl>
* @author Tiago Flores <tiago.flores@yahoo.com.br>
*
* @license GNU AGPL version 3 or any later version
*
@@ -72,12 +75,11 @@ class Application extends App {
$default = $config->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data') . '/audit.log';
$logFile = $config->getAppValue('admin_audit', 'logfile', $default);
if($logFile === null) {
if ($logFile === null) {
$this->logger = $c->getLogger();
return;
}
$this->logger = $c->getLogFactory()->getCustomLogger($logFile);
}
public function register() {
@@ -118,7 +120,7 @@ class Application extends App {
$userSession->listen('\OC\User', 'postUnassignedUserId', [$userActions, 'unassign']);
}
protected function groupHooks() {
protected function groupHooks() {
$groupActions = new GroupManagement($this->logger);
/** @var IGroupManager|Manager $groupManager */
@@ -134,6 +136,7 @@ class Application extends App {
Util::connectHook(Share::class, 'post_shared', $shareActions, 'shared');
Util::connectHook(Share::class, 'post_unshare', $shareActions, 'unshare');
Util::connectHook(Share::class, 'post_unshareFromSelf', $shareActions, 'unshare');
Util::connectHook(Share::class, 'post_update_permissions', $shareActions, 'updatePermissions');
Util::connectHook(Share::class, 'post_update_password', $shareActions, 'updatePassword');
Util::connectHook(Share::class, 'post_set_expiration_date', $shareActions, 'updateExpirationDate');
@@ -149,26 +152,24 @@ class Application extends App {
}
protected function appHooks() {
$eventDispatcher = $this->getContainer()->getServer()->getEventDispatcher();
$eventDispatcher->addListener(ManagerEvent::EVENT_APP_ENABLE, function(ManagerEvent $event) {
$eventDispatcher->addListener(ManagerEvent::EVENT_APP_ENABLE, function (ManagerEvent $event) {
$appActions = new AppManagement($this->logger);
$appActions->enableApp($event->getAppID());
});
$eventDispatcher->addListener(ManagerEvent::EVENT_APP_ENABLE_FOR_GROUPS, function(ManagerEvent $event) {
$eventDispatcher->addListener(ManagerEvent::EVENT_APP_ENABLE_FOR_GROUPS, function (ManagerEvent $event) {
$appActions = new AppManagement($this->logger);
$appActions->enableAppForGroups($event->getAppID(), $event->getGroups());
});
$eventDispatcher->addListener(ManagerEvent::EVENT_APP_DISABLE, function(ManagerEvent $event) {
$eventDispatcher->addListener(ManagerEvent::EVENT_APP_DISABLE, function (ManagerEvent $event) {
$appActions = new AppManagement($this->logger);
$appActions->disableApp($event->getAppID());
});
}
protected function consoleHooks() {
$eventDispatcher = $this->getContainer()->getServer()->getEventDispatcher();
$eventDispatcher->addListener(ConsoleEvent::EVENT_RUN, function(ConsoleEvent $event) {
$eventDispatcher->addListener(ConsoleEvent::EVENT_RUN, function (ConsoleEvent $event) {
$appActions = new Console($this->logger);
$appActions->runCommand($event->getArguments());
});
@@ -179,11 +180,11 @@ class Application extends App {
$eventDispatcher = $this->getContainer()->getServer()->getEventDispatcher();
$eventDispatcher->addListener(
IPreview::EVENT,
function(GenericEvent $event) use ($fileActions) {
function (GenericEvent $event) use ($fileActions) {
/** @var File $file */
$file = $event->getSubject();
$fileActions->preview([
'path' => substr($file->getInternalPath(), 5),
'path' => mb_substr($file->getInternalPath(), 5),
'width' => $event->getArguments()['width'],
'height' => $event->getArguments()['height'],
'crop' => $event->getArguments()['crop'],
@@ -250,11 +251,11 @@ class Application extends App {
protected function securityHooks() {
$eventDispatcher = $this->getContainer()->getServer()->getEventDispatcher();
$eventDispatcher->addListener(IProvider::EVENT_SUCCESS, function(GenericEvent $event) {
$eventDispatcher->addListener(IProvider::EVENT_SUCCESS, function (GenericEvent $event) {
$security = new Security($this->logger);
$security->twofactorSuccess($event->getSubject(), $event->getArguments());
});
$eventDispatcher->addListener(IProvider::EVENT_FAILED, function(GenericEvent $event) {
$eventDispatcher->addListener(IProvider::EVENT_FAILED, function (GenericEvent $event) {
$security = new Security($this->logger);
$security->twofactorFailed($event->getSubject(), $event->getArguments());
});
@@ -3,6 +3,7 @@
* @copyright Copyright (c) 2018 Arthur Schiwon <blizzz@arthur-schiwon.de>
*
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
@@ -38,14 +39,14 @@ class Rotate extends TimedJob {
$default = $config->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data') . '/audit.log';
$this->filePath = $config->getAppValue('admin_audit', 'logfile', $default);
if($this->filePath === '') {
if ($this->filePath === '') {
// default log file, nothing to do
return;
}
$this->maxSize = $config->getSystemValue('log_rotate_size', 100 * 1024 * 1024);
if($this->shouldRotateBySize()) {
if ($this->shouldRotateBySize()) {
$this->rotate();
}
}
@@ -73,5 +73,4 @@ class SecurityTest extends TestCase {
$this->security->twofactorSuccess($this->user, ['provider' => 'myprovider']);
}
}
+2 -2
View File
@@ -5,7 +5,7 @@
<name>Cloud Federation API</name>
<summary>Enable clouds to communicate with each other and exchange data</summary>
<description>The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data.</description>
<version>1.1.0</version>
<version>1.2.0</version>
<licence>agpl</licence>
<author>Bjoern Schiessle</author>
<namespace>CloudFederationAPI</namespace>
@@ -15,6 +15,6 @@
<category>files</category>
<bugs>https://github.com/nextcloud/cloud_federation/issues</bugs>
<dependencies>
<nextcloud min-version="18" max-version="18"/>
<nextcloud min-version="19" max-version="19"/>
</dependencies>
</info>
@@ -0,0 +1,42 @@
<?php
declare(strict_types=1);
/**
* @copyright Copyright (c) 2020 Joas Schilling <coding@schilljs.com>
*
* @author Joas Schilling <coding@schilljs.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/>.
*
*/
return [
'routes' => [
[
'name' => 'RequestHandler#addShare',
'url' => '/ocm/shares',
'verb' => 'POST',
'root' => '',
],
[
'name' => 'RequestHandler#receiveNotification',
'url' => '/ocm/notifications',
'verb' => 'POST',
'root' => '',
],
],
];
@@ -13,6 +13,9 @@ class ComposerAutoloaderInitCloudFederationAPI
}
}
/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader()
{
if (null !== self::$loader) {
@@ -23,12 +23,10 @@
namespace OCA\CloudFederationAPI\AppInfo;
use OCA\CloudFederationAPI\Capabilities;
use OCP\AppFramework\App;
class Application extends App {
public function __construct() {
parent::__construct('cloud_federation_api');
@@ -23,7 +23,6 @@
namespace OCA\CloudFederationAPI;
use OCP\Capabilities\ICapability;
use OCP\IURLGenerator;
+2 -3
View File
@@ -3,6 +3,7 @@
* @copyright Copyright (c) 2018 Bjoern Schiessle <bjoern@schiessle.org>
*
* @author Bjoern Schiessle <bjoern@schiessle.org>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
@@ -22,9 +23,8 @@
*/
namespace OCA\CloudFederationAPI;
use OCP\Federation\ICloudFederationProviderManager;
use OCP\GlobalScale\IConfig as IGsConfig;
use OCP\IConfig;
/**
* Class config
@@ -56,5 +56,4 @@ class Config {
return [];
}
}
}
@@ -3,6 +3,7 @@
* @copyright Copyright (c) 2018 Bjoern Schiessle <bjoern@schiessle.org>
*
* @author Bjoern Schiessle <bjoern@schiessle.org>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Roeland Jago Douma <roeland@famdouma.nl>
*
* @license GNU AGPL version 3 or any later version
@@ -132,7 +133,7 @@ class RequestHandlerController extends Controller {
$shareType === null ||
!is_array($protocol) ||
!isset($protocol['name']) ||
!isset ($protocol['options']) ||
!isset($protocol['options']) ||
!is_array($protocol['options']) ||
!isset($protocol['options']['sharedSecret'])
) {
@@ -165,7 +166,7 @@ class RequestHandlerController extends Controller {
}
if ($shareType === 'group') {
if(!$this->groupManager->groupExists($shareWith)) {
if (!$this->groupManager->groupExists($shareWith)) {
return new JSONResponse(
['message' => 'Group "' . $shareWith . '" does not exists at ' . $this->urlGenerator->getBaseUrl()],
Http::STATUS_BAD_REQUEST
@@ -207,14 +208,13 @@ class RequestHandlerController extends Controller {
$user = $this->userManager->get($shareWith);
$recipientDisplayName = '';
if($user) {
if ($user) {
$recipientDisplayName = $user->getDisplayName();
}
return new JSONResponse(
['recipientDisplayName' => $recipientDisplayName],
Http::STATUS_CREATED);
}
/**
@@ -266,8 +266,7 @@ class RequestHandlerController extends Controller {
return new JSONResponse($e->getReturnMessage(), Http::STATUS_BAD_REQUEST);
} catch (AuthenticationFailedException $e) {
return new JSONResponse(["message" => "RESOURCE_NOT_FOUND"], Http::STATUS_FORBIDDEN);
}
catch (\Exception $e) {
} catch (\Exception $e) {
return new JSONResponse(
['message' => 'Internal error at ' . $this->urlGenerator->getBaseUrl()],
Http::STATUS_BAD_REQUEST
@@ -275,7 +274,6 @@ class RequestHandlerController extends Controller {
}
return new JSONResponse($result,Http::STATUS_CREATED);
}
/**
@@ -290,11 +288,10 @@ class RequestHandlerController extends Controller {
\OCP\Util::emitHook(
'\OCA\Files_Sharing\API\Server2Server',
'preLoginNameUsedAsUserName',
array('uid' => &$uid)
['uid' => &$uid]
);
$this->logger->debug('shareWith after, ' . $uid, ['app' => $this->appName]);
return $uid;
}
}
+2 -2
View File
@@ -5,7 +5,7 @@
<name>Comments</name>
<summary>Files app plugin to add comments to files</summary>
<description>Files app plugin to add comments to files</description>
<version>1.8.0</version>
<version>1.9.0</version>
<licence>agpl</licence>
<author>Arthur Schiwon</author>
<author>Vincent Petry</author>
@@ -17,7 +17,7 @@
<category>social</category>
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="18" max-version="18"/>
<nextcloud min-version="19" max-version="19"/>
</dependencies>
<activity>
@@ -13,6 +13,9 @@ class ComposerAutoloaderInitComments
}
}
/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader()
{
if (null !== self::$loader) {
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-7
View File
@@ -15,19 +15,12 @@ OC.L10N.register(
"Files app plugin to add comments to files" : "Fitxategiei iruzkinak gehitzeko fitxategien aplikazioaren plugina",
"Edit comment" : "Iruzkina editatu",
"Delete comment" : "Ezabatu iruzkina",
"Cancel edit" : "Utzi editatzeari",
"Post comment" : "Argitaratu iruzkina",
"No comments yet, start the conversation!" : "Oraindik ez dago iruzkinik, izan zaitez lehena zerbait esanez!",
"No more messages" : "Ez da mezu gehiagorik",
"Retry" : "Saiatu berriro",
"Unable to load the comments list" : "Ezin da iruzkinen zerrenda kargatu",
"_%n unread comment_::_%n unread comments_" : ["iruzkin %n irakurri gabe","%n iruzkin irakurri gabe"],
"_1 new comment_::_{unread} new comments_" : ["Iruzkin berri 1","{unread} iruzkin berri"],
"Comment" : "Iruzkina",
"An error occurred while trying to edit the comment" : "Errorea gertatu da iruzkina editatzen saiatzean",
"Comment deleted" : "Iruzkina ezabatuta",
"An error occurred while trying to delete the comment" : "Errorea gertatu da iruzkina ezabatzen saiatzean",
"An error occurred while trying to create the comment" : "Errorea gertatu da iruzkina sortzen saiatzean",
"New comment …" : "Iruzkin berria...",
"Post" : "Bidali",
"Cancel" : "Utzi",
-7
View File
@@ -13,19 +13,12 @@
"Files app plugin to add comments to files" : "Fitxategiei iruzkinak gehitzeko fitxategien aplikazioaren plugina",
"Edit comment" : "Iruzkina editatu",
"Delete comment" : "Ezabatu iruzkina",
"Cancel edit" : "Utzi editatzeari",
"Post comment" : "Argitaratu iruzkina",
"No comments yet, start the conversation!" : "Oraindik ez dago iruzkinik, izan zaitez lehena zerbait esanez!",
"No more messages" : "Ez da mezu gehiagorik",
"Retry" : "Saiatu berriro",
"Unable to load the comments list" : "Ezin da iruzkinen zerrenda kargatu",
"_%n unread comment_::_%n unread comments_" : ["iruzkin %n irakurri gabe","%n iruzkin irakurri gabe"],
"_1 new comment_::_{unread} new comments_" : ["Iruzkin berri 1","{unread} iruzkin berri"],
"Comment" : "Iruzkina",
"An error occurred while trying to edit the comment" : "Errorea gertatu da iruzkina editatzen saiatzean",
"Comment deleted" : "Iruzkina ezabatuta",
"An error occurred while trying to delete the comment" : "Errorea gertatu da iruzkina ezabatzen saiatzean",
"An error occurred while trying to create the comment" : "Errorea gertatu da iruzkina sortzen saiatzean",
"New comment …" : "Iruzkin berria...",
"Post" : "Bidali",
"Cancel" : "Utzi",
+1 -36
View File
@@ -1,42 +1,7 @@
OC.L10N.register(
"comments",
{
"Comments" : "留言",
"You commented" : "您已留言",
"%1$s commented" : "%1$s 個留言",
"{author} commented" : "{author} 已留言",
"You commented on %1$s" : "你對 %1$s 留言",
"You commented on {file}" : "你對 {file} 留言",
"%1$s commented on %2$s" : "%1$s 在 %2$s 留言",
"{author} commented on {file}" : "{author} 對 {file} 留言",
"<strong>Comments</strong> for files" : "檔案的<strong>留言</strong>",
"You were mentioned on “{file}”, in a comment by a user that has since been deleted" : "一個已被刪除的用戶在 “{file}” 的留言中提到你",
"{user} mentioned you in a comment on “{file}”" : "{user} 在 “{file}” 的留言中提到你",
"Files app plugin to add comments to files" : "檔案插件程式插件,用於為檔案增加註釋",
"Edit comment" : "編輯留言",
"Delete comment" : "刪除留言",
"Cancel edit" : "取消編輯",
"Post comment" : "張貼評論",
"No comments yet, start the conversation!" : "尚無留言,開始討論 !",
"No more messages" : "沒有更多訊息",
"Retry" : "重試",
"Unable to load the comments list" : "無法載入評論清單",
"_%n unread comment_::_%n unread comments_" : ["%n 未讀留言"],
"_1 new comment_::_{unread} new comments_" : ["{unread} 個新留言"],
"Comment" : "留言",
"An error occurred while trying to edit the comment" : "嘗試編輯此評論時錯誤",
"Comment deleted" : "意見刪除",
"An error occurred while trying to delete the comment" : "嘗試刪除此評論時錯誤",
"An error occurred while trying to create the comment" : "嘗試建立此評論時錯誤",
"New comment …" : "新增留言",
"Post" : "送出",
"Cancel" : "取消",
"[Deleted user]" : "[已刪除的使用者]",
"More comments …" : "其他留言…",
"Save" : "儲存",
"Allowed characters {count} of {max}" : "已輸入 {count} / 長度限制 {max}",
"Error occurred while retrieving comment with ID {id}" : "在擷取 ID {id} 的註解時發生錯誤",
"Error occurred while updating comment with id {id}" : "編輯留言 {id} 發生錯誤",
"Error occurred while posting comment" : "張貼留言出錯"
"Save" : "儲存"
},
"nplurals=1; plural=0;");
+1 -36
View File
@@ -1,40 +1,5 @@
{ "translations": {
"Comments" : "留言",
"You commented" : "您已留言",
"%1$s commented" : "%1$s 個留言",
"{author} commented" : "{author} 已留言",
"You commented on %1$s" : "你對 %1$s 留言",
"You commented on {file}" : "你對 {file} 留言",
"%1$s commented on %2$s" : "%1$s 在 %2$s 留言",
"{author} commented on {file}" : "{author} 對 {file} 留言",
"<strong>Comments</strong> for files" : "檔案的<strong>留言</strong>",
"You were mentioned on “{file}”, in a comment by a user that has since been deleted" : "一個已被刪除的用戶在 “{file}” 的留言中提到你",
"{user} mentioned you in a comment on “{file}”" : "{user} 在 “{file}” 的留言中提到你",
"Files app plugin to add comments to files" : "檔案插件程式插件,用於為檔案增加註釋",
"Edit comment" : "編輯留言",
"Delete comment" : "刪除留言",
"Cancel edit" : "取消編輯",
"Post comment" : "張貼評論",
"No comments yet, start the conversation!" : "尚無留言,開始討論 !",
"No more messages" : "沒有更多訊息",
"Retry" : "重試",
"Unable to load the comments list" : "無法載入評論清單",
"_%n unread comment_::_%n unread comments_" : ["%n 未讀留言"],
"_1 new comment_::_{unread} new comments_" : ["{unread} 個新留言"],
"Comment" : "留言",
"An error occurred while trying to edit the comment" : "嘗試編輯此評論時錯誤",
"Comment deleted" : "意見刪除",
"An error occurred while trying to delete the comment" : "嘗試刪除此評論時錯誤",
"An error occurred while trying to create the comment" : "嘗試建立此評論時錯誤",
"New comment …" : "新增留言",
"Post" : "送出",
"Cancel" : "取消",
"[Deleted user]" : "[已刪除的使用者]",
"More comments …" : "其他留言…",
"Save" : "儲存",
"Allowed characters {count} of {max}" : "已輸入 {count} / 長度限制 {max}",
"Error occurred while retrieving comment with ID {id}" : "在擷取 ID {id} 的註解時發生錯誤",
"Error occurred while updating comment with id {id}" : "編輯留言 {id} 發生錯誤",
"Error occurred while posting comment" : "張貼留言出錯"
"Save" : "儲存"
},"pluralForm" :"nplurals=1; plural=0;"
}
-1
View File
@@ -23,7 +23,6 @@
namespace OCA\Comments\Activity;
use OCP\Activity\IFilter;
use OCP\IL10N;
use OCP\IURLGenerator;
+6 -5
View File
@@ -2,6 +2,7 @@
/**
* @copyright Copyright (c) 2016 Joas Schilling <coding@schilljs.com>
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Joas Schilling <coding@schilljs.com>
*
* @license GNU AGPL version 3 or any later version
@@ -146,17 +147,17 @@ class Provider implements IProvider {
if ($event->getSubject() === 'add_comment_subject') {
if ($subjectParameters['actor'] === $this->activityManager->getCurrentUserId()) {
$event->setParsedSubject($this->l->t('You commented on %1$s', [
$subjectParameters['filePath'],
]))
$subjectParameters['filePath'],
]))
->setRichSubject($this->l->t('You commented on {file}'), [
'file' => $this->generateFileParameter($subjectParameters['fileId'], $subjectParameters['filePath']),
]);
} else {
$author = $this->generateUserParameter($subjectParameters['actor']);
$event->setParsedSubject($this->l->t('%1$s commented on %2$s', [
$author['name'],
$subjectParameters['filePath'],
]))
$author['name'],
$subjectParameters['filePath'],
]))
->setRichSubject($this->l->t('{author} commented on {file}'), [
'author' => $author,
'file' => $this->generateFileParameter($subjectParameters['fileId'], $subjectParameters['filePath']),
-1
View File
@@ -23,7 +23,6 @@
namespace OCA\Comments\Activity;
use OCP\Activity\ISetting;
use OCP\IL10N;
+5 -5
View File
@@ -3,6 +3,7 @@
* @copyright Copyright (c) 2016, Arthur Schiwon <blizzz@arthur-schiwon.de>
*
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Joas Schilling <coding@schilljs.com>
* @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* @author Roeland Jago Douma <roeland@famdouma.nl>
@@ -41,10 +42,9 @@ use OCP\EventDispatcher\IEventDispatcher;
use OCP\Util;
class Application extends App {
public const APP_ID = 'comments';
const APP_ID = 'comments';
public function __construct (array $urlParams = array()) {
public function __construct(array $urlParams = []) {
parent::__construct(self::APP_ID, $urlParams);
$container = $this->getContainer();
@@ -76,8 +76,8 @@ class Application extends App {
}
protected function registerDavEntity(IEventDispatcher $dispatcher) {
$dispatcher->addListener(CommentsEntityEvent::EVENT_ENTITY, function(CommentsEntityEvent $event) {
$event->addEntityCollection('files', function($name) {
$dispatcher->addListener(CommentsEntityEvent::EVENT_ENTITY, function (CommentsEntityEvent $event) {
$event->addEntityCollection('files', function ($name) {
$nodes = \OC::$server->getUserFolder()->getById((int)$name);
return !empty($nodes);
});
@@ -3,6 +3,7 @@
* @copyright Copyright (c) 2017 Arthur Schiwon <blizzz@arthur-schiwon.de>
*
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
@@ -23,7 +24,6 @@
namespace OCA\Comments\Collaboration;
use OCP\Collaboration\AutoComplete\ISorter;
use OCP\Comments\ICommentsManager;
@@ -49,25 +49,25 @@ class CommentersSorter implements ISorter {
*/
public function sort(array &$sortArray, array $context) {
$commenters = $this->retrieveCommentsInformation($context['itemType'], $context['itemId']);
if(count($commenters) === 0) {
if (count($commenters) === 0) {
return;
}
foreach ($sortArray as $type => &$byType) {
if(!isset($commenters[$type])) {
if (!isset($commenters[$type])) {
continue;
}
// at least on PHP 5.6 usort turned out to be not stable. So we add
// the current index to the value and compare it on a draw
$i = 0;
$workArray = array_map(function($element) use (&$i) {
$workArray = array_map(function ($element) use (&$i) {
return [$i++, $element];
}, $byType);
usort($workArray, function ($a, $b) use ($commenters, $type) {
$r = $this->compare($a[1], $b[1], $commenters[$type]);
if($r === 0) {
if ($r === 0) {
$r = $a[0] - $b[0];
}
return $r;
@@ -85,16 +85,16 @@ class CommentersSorter implements ISorter {
*/
protected function retrieveCommentsInformation($type, $id) {
$comments = $this->commentsManager->getForObject($type, $id);
if(count($comments) === 0) {
if (count($comments) === 0) {
return [];
}
$actors = [];
foreach ($comments as $comment) {
if(!isset($actors[$comment->getActorType()])) {
if (!isset($actors[$comment->getActorType()])) {
$actors[$comment->getActorType()] = [];
}
if(!isset($actors[$comment->getActorType()][$comment->getActorId()])) {
if (!isset($actors[$comment->getActorType()][$comment->getActorId()])) {
$actors[$comment->getActorType()][$comment->getActorId()] = 1;
} else {
$actors[$comment->getActorType()][$comment->getActorId()]++;
@@ -3,6 +3,7 @@
*
*
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Joas Schilling <coding@schilljs.com>
*
* @license GNU AGPL version 3 or any later version
@@ -30,7 +31,6 @@ use OCP\AppFramework\Http\RedirectResponse;
use OCP\AppFramework\Http\Response;
use OCP\Comments\IComment;
use OCP\Comments\ICommentsManager;
use OCP\Files\Folder;
use OCP\Files\IRootFolder;
use OCP\IRequest;
use OCP\IURLGenerator;
@@ -109,7 +109,7 @@ class Notifications extends Controller {
try {
$comment = $this->commentsManager->get($id);
if($comment->getObjectType() !== 'files') {
if ($comment->getObjectType() !== 'files') {
return new NotFoundResponse();
}
$userFolder = $this->rootFolder->getUserFolder($currentUser->getUID());
+4 -3
View File
@@ -3,6 +3,7 @@
* @copyright Copyright (c) 2016 Arthur Schiwon <blizzz@arthur-schiwon.de>
*
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
@@ -49,13 +50,13 @@ class EventHandler implements ICommentsEventHandler {
* @param CommentsEvent $event
*/
public function handle(CommentsEvent $event) {
if($event->getComment()->getObjectType() !== 'files') {
if ($event->getComment()->getObjectType() !== 'files') {
// this is a 'files'-specific Handler
return;
}
$eventType = $event->getEvent();
if( $eventType === CommentsEvent::EVENT_ADD
if ($eventType === CommentsEvent::EVENT_ADD
) {
$this->notificationHandler($event);
$this->activityHandler($event);
@@ -67,7 +68,7 @@ class EventHandler implements ICommentsEventHandler {
CommentsEvent::EVENT_UPDATE,
CommentsEvent::EVENT_DELETE,
];
if(in_array($eventType, $applicableEvents)) {
if (in_array($eventType, $applicableEvents)) {
$this->notificationHandler($event);
return;
}
-1
View File
@@ -23,7 +23,6 @@
namespace OCA\Comments;
use OCP\IServerContainer;
class JSSettingsHelper {
@@ -5,6 +5,7 @@ declare(strict_types=1);
/**
* @copyright Copyright (c) 2019, Roeland Jago Douma <roeland@famdouma.nl>
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* @author Roeland Jago Douma <roeland@famdouma.nl>
*
@@ -39,9 +40,8 @@ class LoadAdditionalScripts implements IEventListener {
return;
}
// TODO: make sure to only include the sidebar script when
// TODO: make sure to only include the sidebar script when
// we properly split it between files list and sidebar
Util::addScript(Application::APP_ID, 'comments');
}
}
@@ -5,6 +5,7 @@ declare(strict_types=1);
/**
* @copyright Copyright (c) 2019, Roeland Jago Douma <roeland@famdouma.nl>
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
@@ -38,9 +39,8 @@ class LoadSidebarScripts implements IEventListener {
return;
}
// TODO: make sure to only include the sidebar script when
// TODO: make sure to only include the sidebar script when
// we properly split it between files list and sidebar
Util::addScript(Application::APP_ID, 'comments');
}
}
+9 -10
View File
@@ -3,6 +3,7 @@
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Joas Schilling <coding@schilljs.com>
*
* @license AGPL-3.0
@@ -45,7 +46,6 @@ class Listener {
IManager $notificationManager,
IUserManager $userManager
) {
$this->notificationManager = $notificationManager;
$this->userManager = $userManager;
}
@@ -57,15 +57,15 @@ class Listener {
$comment = $event->getComment();
$mentions = $this->extractMentions($comment->getMentions());
if(empty($mentions)) {
if (empty($mentions)) {
// no one to notify
return;
}
$notification = $this->instantiateNotification($comment);
foreach($mentions as $uid) {
if( ($comment->getActorType() === 'users' && $uid === $comment->getActorId())
foreach ($mentions as $uid) {
if (($comment->getActorType() === 'users' && $uid === $comment->getActorId())
|| !$this->userManager->userExists($uid)
) {
// do not notify unknown users or yourself
@@ -73,9 +73,8 @@ class Listener {
}
$notification->setUser($uid);
if( $event->getEvent() === CommentsEvent::EVENT_DELETE
|| $event->getEvent() === CommentsEvent::EVENT_PRE_UPDATE)
{
if ($event->getEvent() === CommentsEvent::EVENT_DELETE
|| $event->getEvent() === CommentsEvent::EVENT_PRE_UPDATE) {
$this->notificationManager->markProcessed($notification);
} else {
$this->notificationManager->notify($notification);
@@ -107,12 +106,12 @@ class Listener {
* @return string[] containing the mentions, e.g. ['alice', 'bob']
*/
public function extractMentions(array $mentions) {
if(empty($mentions)) {
if (empty($mentions)) {
return [];
}
$uids = [];
foreach($mentions as $mention) {
if($mention['type'] === 'user') {
foreach ($mentions as $mention) {
if ($mention['type'] === 'user') {
$uids[] = $mention['id'];
}
}
+6 -5
View File
@@ -3,6 +3,7 @@
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Joas Schilling <coding@schilljs.com>
* @author Roeland Jago Douma <roeland@famdouma.nl>
*
@@ -96,12 +97,12 @@ class Notifier implements INotifier {
* @since 9.0.0
*/
public function prepare(INotification $notification, string $languageCode): INotification {
if($notification->getApp() !== 'comments') {
if ($notification->getApp() !== 'comments') {
throw new \InvalidArgumentException();
}
try {
$comment = $this->commentsManager->get($notification->getObjectId());
} catch(NotFoundException $e) {
} catch (NotFoundException $e) {
// needs to be converted to InvalidArgumentException, otherwise none Notifications will be shown at all
throw new \InvalidArgumentException('Comment not found', 0, $e);
}
@@ -118,12 +119,12 @@ class Notifier implements INotifier {
switch ($notification->getSubject()) {
case 'mention':
$parameters = $notification->getSubjectParameters();
if($parameters[0] !== 'files') {
if ($parameters[0] !== 'files') {
throw new \InvalidArgumentException('Unsupported comment object');
}
$userFolder = $this->rootFolder->getUserFolder($notification->getUser());
$nodes = $userFolder->getById((int)$parameters[1]);
if(empty($nodes)) {
if (empty($nodes)) {
throw new AlreadyProcessedException();
}
$node = $nodes[0];
@@ -217,7 +218,7 @@ class Notifier implements INotifier {
$placeholders[] = '{' . $placeholder . '}';
if ($parameter['type'] === 'user') {
$replacements[] = '@' . $parameter['name'];
} else if ($parameter['type'] === 'file') {
} elseif ($parameter['type'] === 'file') {
$replacements[] = $parameter['path'];
} else {
$replacements[] = $parameter['name'];
-2
View File
@@ -29,7 +29,6 @@ use OCP\Files\NotFoundException;
use OCP\Search\Result as BaseResult;
class Result extends BaseResult {
public $type = 'comment';
public $comment;
public $authorId;
@@ -108,5 +107,4 @@ class Result extends BaseResult {
return $prefix . mb_substr($message, $start, $end - $start) . $suffix;
}
}
@@ -3,6 +3,7 @@
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Joas Schilling <coding@schilljs.com>
* @author Roeland Jago Douma <roeland@famdouma.nl>
*
@@ -64,7 +65,7 @@ class ApplicationTest extends TestCase {
Notifier::class,
];
foreach($services as $service) {
foreach ($services as $service) {
$s = $c->query($service);
$this->assertInstanceOf($service, $s);
}
@@ -3,6 +3,7 @@
* @copyright Copyright (c) 2017 Arthur Schiwon <blizzz@arthur-schiwon.de>
*
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Roeland Jago Douma <roeland@famdouma.nl>
*
* @license GNU AGPL version 3 or any later version
@@ -24,11 +25,9 @@
namespace OCA\Comments\Tests\Unit\Collaboration;
use OCA\Comments\Collaboration\CommentersSorter;
use OCP\Comments\IComment;
use OCP\Comments\ICommentsManager;
use OCP\IConfig;
use Test\TestCase;
class CommentersSorterTest extends TestCase {
@@ -51,9 +50,9 @@ class CommentersSorterTest extends TestCase {
*/
public function testSort($data) {
$commentMocks = [];
foreach($data['actors'] as $actorType => $actors) {
foreach ($data['actors'] as $actorType => $actors) {
foreach ($actors as $actorId => $noOfComments) {
for($i=0;$i<$noOfComments;$i++) {
for ($i=0;$i<$noOfComments;$i++) {
$mock = $this->createMock(IComment::class);
$mock->expects($this->atLeastOnce())
->method('getActorType')
@@ -116,5 +116,4 @@ class EventHandlerTest extends TestCase {
$this->eventHandler->handle($event);
}
}
@@ -3,6 +3,7 @@
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Joas Schilling <coding@schilljs.com>
* @author Morris Jobke <hey@morrisjobke.de>
* @author Roeland Jago Douma <roeland@famdouma.nl>
@@ -78,10 +79,10 @@ class ListenerTest extends TestCase {
$comment = $this->getMockBuilder(IComment::class)->getMock();
$comment->expects($this->any())
->method('getObjectType')
->will($this->returnValue('files'));
->willReturn('files');
$comment->expects($this->any())
->method('getCreationDateTime')
->will($this->returnValue(new \DateTime()));
->willReturn(new \DateTime());
$comment->expects($this->once())
->method('getMentions')
->willReturn([
@@ -102,22 +103,22 @@ class ListenerTest extends TestCase {
->getMock();
$event->expects($this->once())
->method('getComment')
->will($this->returnValue($comment));
->willReturn($comment);
$event->expects(($this->any()))
->method(('getEvent'))
->will($this->returnValue($eventType));
->willReturn($eventType);
/** @var INotification|\PHPUnit_Framework_MockObject_MockObject $notification */
$notification = $this->getMockBuilder(INotification::class)->getMock();
$notification->expects($this->any())
->method($this->anything())
->will($this->returnValue($notification));
->willReturn($notification);
$notification->expects($this->exactly(6))
->method('setUser');
$this->notificationManager->expects($this->once())
->method('createNotification')
->will($this->returnValue($notification));
->willReturn($notification);
$this->notificationManager->expects($this->exactly(6))
->method($notificationMethod)
->with($this->isInstanceOf('\OCP\Notification\INotification'));
@@ -132,7 +133,7 @@ class ListenerTest extends TestCase {
['23452-4333-54353-2342'],
['yolo']
)
->will($this->returnValue(true));
->willReturn(true);
$this->listener->evaluate($event);
}
@@ -146,10 +147,10 @@ class ListenerTest extends TestCase {
$comment = $this->getMockBuilder(IComment::class)->getMock();
$comment->expects($this->any())
->method('getObjectType')
->will($this->returnValue('files'));
->willReturn('files');
$comment->expects($this->any())
->method('getCreationDateTime')
->will($this->returnValue(new \DateTime()));
->willReturn(new \DateTime());
$comment->expects($this->once())
->method('getMentions')
->willReturn([]);
@@ -160,10 +161,10 @@ class ListenerTest extends TestCase {
->getMock();
$event->expects($this->once())
->method('getComment')
->will($this->returnValue($comment));
->willReturn($comment);
$event->expects(($this->any()))
->method(('getEvent'))
->will($this->returnValue($eventType));
->willReturn($eventType);
$this->notificationManager->expects($this->never())
->method('createNotification');
@@ -183,10 +184,10 @@ class ListenerTest extends TestCase {
$comment = $this->getMockBuilder(IComment::class)->getMock();
$comment->expects($this->any())
->method('getObjectType')
->will($this->returnValue('files'));
->willReturn('files');
$comment->expects($this->any())
->method('getCreationDateTime')
->will($this->returnValue(new \DateTime()));
->willReturn(new \DateTime());
$comment->expects($this->once())
->method('getMentions')
->willReturn([[ 'type' => 'user', 'id' => 'foobar']]);
@@ -200,22 +201,22 @@ class ListenerTest extends TestCase {
->getMock();
$event->expects($this->once())
->method('getComment')
->will($this->returnValue($comment));
->willReturn($comment);
$event->expects(($this->any()))
->method(('getEvent'))
->will($this->returnValue(CommentsEvent::EVENT_ADD));
->willReturn(CommentsEvent::EVENT_ADD);
/** @var INotification|\PHPUnit_Framework_MockObject_MockObject $notification */
$notification = $this->getMockBuilder(INotification::class)->getMock();
$notification->expects($this->any())
->method($this->anything())
->will($this->returnValue($notification));
->willReturn($notification);
$notification->expects($this->never())
->method('setUser');
$this->notificationManager->expects($this->once())
->method('createNotification')
->will($this->returnValue($notification));
->willReturn($notification);
$this->notificationManager->expects($this->never())
->method('notify');
@@ -224,7 +225,7 @@ class ListenerTest extends TestCase {
->withConsecutive(
['foobar']
)
->will($this->returnValue(false));
->willReturn(false);
$this->listener->evaluate($event);
}
@@ -3,6 +3,7 @@
* @copyright Copyright (c) 2016 Arthur Schiwon <blizzz@arthur-schiwon.de>
*
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Joas Schilling <coding@schilljs.com>
* @author Morris Jobke <hey@morrisjobke.de>
* @author Roeland Jago Douma <roeland@famdouma.nl>
@@ -84,9 +85,9 @@ class NotifierTest extends TestCase {
$this->l = $this->createMock(IL10N::class);
$this->l->expects($this->any())
->method('t')
->will($this->returnCallback(function ($text, $parameters = []) {
->willReturnCallback(function ($text, $parameters = []) {
return vsprintf($text, $parameters);
}));
});
$this->notification = $this->createMock(INotification::class);
$this->comment = $this->createMock(IComment::class);
@@ -615,5 +616,4 @@ class NotifierTest extends TestCase {
$this->notifier->prepare($this->notification, $this->lc);
}
}
@@ -1,7 +1,11 @@
/*
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
<?php
declare(strict_types=1);
/**
* @copyright 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
* @author 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
@@ -19,16 +23,4 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// TODO: import Util directly: https://github.com/nextcloud/server/pull/13957
import OC from '../OC/index'
/**
* Format an UNIX timestamp to a human understandable format
* @param {number} timestamp UNIX timestamp
* @returns {string} Human readable format
* @deprecated 16.0.0 use OC.Util.formatDate instead
*/
export default function formatDate(timestamp) {
console.warn('formatDate is deprecated, use OC.Util.formatDate instead')
return OC.Util.formatDate(timestamp)
}
\OC::$server->query(\OCA\ContactsInteraction\AppInfo\Application::class);
+30
View File
@@ -0,0 +1,30 @@
<?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>contactsinteraction</id>
<name>Contacts Interaction</name>
<summary>Manages interaction between users and contacts</summary>
<description>Collect data about user and contacts interactions and provide an address book for the data</description>
<version>1.0.0</version>
<licence>agpl</licence>
<author>Christoph Wurst</author>
<namespace>ContactsInteraction</namespace>
<types>
<dav/>
</types>
<default_enable/>
<category>integration</category>
<category>social</category>
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="19" max-version="19"/>
</dependencies>
<background-jobs>
<job>OCA\ContactsInteraction\BackgroundJob\CleanupJob</job>
</background-jobs>
<sabre>
<address-book-plugins>
<plugin>OCA\ContactsInteraction\AddressBookProvider</plugin>
</address-book-plugins>
</sabre>
</info>
@@ -0,0 +1,7 @@
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInitContactsInteraction::getLoader();
@@ -0,0 +1,13 @@
{
"config" : {
"vendor-dir": ".",
"optimize-autoloader": true,
"classmap-authoritative": true,
"autoloader-suffix": "ContactsInteraction"
},
"autoload" : {
"psr-4": {
"OCA\\ContactsInteraction\\": "../lib/"
}
}
}
@@ -0,0 +1,445 @@
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Autoload;
/**
* ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
*
* $loader = new \Composer\Autoload\ClassLoader();
*
* // register classes with namespaces
* $loader->add('Symfony\Component', __DIR__.'/component');
* $loader->add('Symfony', __DIR__.'/framework');
*
* // activate the autoloader
* $loader->register();
*
* // to enable searching the include path (eg. for PEAR packages)
* $loader->setUseIncludePath(true);
*
* In this example, if you try to use a class in the Symfony\Component
* namespace or one of its children (Symfony\Component\Console for instance),
* the autoloader will first look for the class under the component/
* directory, and it will then fallback to the framework/ directory if not
* found before giving up.
*
* This class is loosely based on the Symfony UniversalClassLoader.
*
* @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/
*/
class ClassLoader
{
// PSR-4
private $prefixLengthsPsr4 = array();
private $prefixDirsPsr4 = array();
private $fallbackDirsPsr4 = array();
// PSR-0
private $prefixesPsr0 = array();
private $fallbackDirsPsr0 = array();
private $useIncludePath = false;
private $classMap = array();
private $classMapAuthoritative = false;
private $missingClasses = array();
private $apcuPrefix;
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {
return call_user_func_array('array_merge', $this->prefixesPsr0);
}
return array();
}
public function getPrefixesPsr4()
{
return $this->prefixDirsPsr4;
}
public function getFallbackDirs()
{
return $this->fallbackDirsPsr0;
}
public function getFallbackDirsPsr4()
{
return $this->fallbackDirsPsr4;
}
public function getClassMap()
{
return $this->classMap;
}
/**
* @param array $classMap Class to filename map
*/
public function addClassMap(array $classMap)
{
if ($this->classMap) {
$this->classMap = array_merge($this->classMap, $classMap);
} else {
$this->classMap = $classMap;
}
}
/**
* Registers a set of PSR-0 directories for a given prefix, either
* appending or prepending to the ones previously set for this prefix.
*
* @param string $prefix The prefix
* @param array|string $paths The PSR-0 root directories
* @param bool $prepend Whether to prepend the directories
*/
public function add($prefix, $paths, $prepend = false)
{
if (!$prefix) {
if ($prepend) {
$this->fallbackDirsPsr0 = array_merge(
(array) $paths,
$this->fallbackDirsPsr0
);
} else {
$this->fallbackDirsPsr0 = array_merge(
$this->fallbackDirsPsr0,
(array) $paths
);
}
return;
}
$first = $prefix[0];
if (!isset($this->prefixesPsr0[$first][$prefix])) {
$this->prefixesPsr0[$first][$prefix] = (array) $paths;
return;
}
if ($prepend) {
$this->prefixesPsr0[$first][$prefix] = array_merge(
(array) $paths,
$this->prefixesPsr0[$first][$prefix]
);
} else {
$this->prefixesPsr0[$first][$prefix] = array_merge(
$this->prefixesPsr0[$first][$prefix],
(array) $paths
);
}
}
/**
* Registers a set of PSR-4 directories for a given namespace, either
* appending or prepending to the ones previously set for this namespace.
*
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param array|string $paths The PSR-4 base directories
* @param bool $prepend Whether to prepend the directories
*
* @throws \InvalidArgumentException
*/
public function addPsr4($prefix, $paths, $prepend = false)
{
if (!$prefix) {
// Register directories for the root namespace.
if ($prepend) {
$this->fallbackDirsPsr4 = array_merge(
(array) $paths,
$this->fallbackDirsPsr4
);
} else {
$this->fallbackDirsPsr4 = array_merge(
$this->fallbackDirsPsr4,
(array) $paths
);
}
} elseif (!isset($this->prefixDirsPsr4[$prefix])) {
// Register directories for a new namespace.
$length = strlen($prefix);
if ('\\' !== $prefix[$length - 1]) {
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
}
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
$this->prefixDirsPsr4[$prefix] = (array) $paths;
} elseif ($prepend) {
// Prepend directories for an already registered namespace.
$this->prefixDirsPsr4[$prefix] = array_merge(
(array) $paths,
$this->prefixDirsPsr4[$prefix]
);
} else {
// Append directories for an already registered namespace.
$this->prefixDirsPsr4[$prefix] = array_merge(
$this->prefixDirsPsr4[$prefix],
(array) $paths
);
}
}
/**
* Registers a set of PSR-0 directories for a given prefix,
* replacing any others previously set for this prefix.
*
* @param string $prefix The prefix
* @param array|string $paths The PSR-0 base directories
*/
public function set($prefix, $paths)
{
if (!$prefix) {
$this->fallbackDirsPsr0 = (array) $paths;
} else {
$this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
}
}
/**
* Registers a set of PSR-4 directories for a given namespace,
* replacing any others previously set for this namespace.
*
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param array|string $paths The PSR-4 base directories
*
* @throws \InvalidArgumentException
*/
public function setPsr4($prefix, $paths)
{
if (!$prefix) {
$this->fallbackDirsPsr4 = (array) $paths;
} else {
$length = strlen($prefix);
if ('\\' !== $prefix[$length - 1]) {
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
}
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
$this->prefixDirsPsr4[$prefix] = (array) $paths;
}
}
/**
* Turns on searching the include path for class files.
*
* @param bool $useIncludePath
*/
public function setUseIncludePath($useIncludePath)
{
$this->useIncludePath = $useIncludePath;
}
/**
* Can be used to check if the autoloader uses the include path to check
* for classes.
*
* @return bool
*/
public function getUseIncludePath()
{
return $this->useIncludePath;
}
/**
* Turns off searching the prefix and fallback directories for classes
* that have not been registered with the class map.
*
* @param bool $classMapAuthoritative
*/
public function setClassMapAuthoritative($classMapAuthoritative)
{
$this->classMapAuthoritative = $classMapAuthoritative;
}
/**
* Should class lookup fail if not found in the current class map?
*
* @return bool
*/
public function isClassMapAuthoritative()
{
return $this->classMapAuthoritative;
}
/**
* APCu prefix to use to cache found/not-found classes, if the extension is enabled.
*
* @param string|null $apcuPrefix
*/
public function setApcuPrefix($apcuPrefix)
{
$this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;
}
/**
* The APCu prefix in use, or null if APCu caching is not enabled.
*
* @return string|null
*/
public function getApcuPrefix()
{
return $this->apcuPrefix;
}
/**
* Registers this instance as an autoloader.
*
* @param bool $prepend Whether to prepend the autoloader or not
*/
public function register($prepend = false)
{
spl_autoload_register(array($this, 'loadClass'), true, $prepend);
}
/**
* Unregisters this instance as an autoloader.
*/
public function unregister()
{
spl_autoload_unregister(array($this, 'loadClass'));
}
/**
* Loads the given class or interface.
*
* @param string $class The name of the class
* @return bool|null True if loaded, null otherwise
*/
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
includeFile($file);
return true;
}
}
/**
* Finds the path to the file where the class is defined.
*
* @param string $class The name of the class
*
* @return string|false The path if found, false otherwise
*/
public function findFile($class)
{
// class map lookup
if (isset($this->classMap[$class])) {
return $this->classMap[$class];
}
if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) {
return false;
}
if (null !== $this->apcuPrefix) {
$file = apcu_fetch($this->apcuPrefix.$class, $hit);
if ($hit) {
return $file;
}
}
$file = $this->findFileWithExtension($class, '.php');
// Search for Hack files if we are running on HHVM
if (false === $file && defined('HHVM_VERSION')) {
$file = $this->findFileWithExtension($class, '.hh');
}
if (null !== $this->apcuPrefix) {
apcu_add($this->apcuPrefix.$class, $file);
}
if (false === $file) {
// Remember that this class does not exist.
$this->missingClasses[$class] = true;
}
return $file;
}
private function findFileWithExtension($class, $ext)
{
// PSR-4 lookup
$logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
$first = $class[0];
if (isset($this->prefixLengthsPsr4[$first])) {
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
foreach ($this->prefixDirsPsr4[$search] as $dir) {
if (file_exists($file = $dir . $pathEnd)) {
return $file;
}
}
}
}
}
// PSR-4 fallback dirs
foreach ($this->fallbackDirsPsr4 as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
return $file;
}
}
// PSR-0 lookup
if (false !== $pos = strrpos($class, '\\')) {
// namespaced class name
$logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
. strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
} else {
// PEAR-like class name
$logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
}
if (isset($this->prefixesPsr0[$first])) {
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
if (0 === strpos($class, $prefix)) {
foreach ($dirs as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
return $file;
}
}
}
}
}
// PSR-0 fallback dirs
foreach ($this->fallbackDirsPsr0 as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
return $file;
}
}
// PSR-0 include paths.
if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
return $file;
}
return false;
}
}
/**
* Scope isolated include.
*
* Prevents access to $this/self from included files.
*/
function includeFile($file)
{
include $file;
}
@@ -0,0 +1,21 @@
Copyright (c) Nils Adermann, Jordi Boggiano
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
@@ -0,0 +1,19 @@
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = $vendorDir;
return array(
'OCA\\ContactsInteraction\\AddressBook' => $baseDir . '/../lib/AddressBook.php',
'OCA\\ContactsInteraction\\AddressBookProvider' => $baseDir . '/../lib/AddressBookProvider.php',
'OCA\\ContactsInteraction\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php',
'OCA\\ContactsInteraction\\BackgroundJob\\CleanupJob' => $baseDir . '/../lib/BackgroundJob/CleanupJob.php',
'OCA\\ContactsInteraction\\Card' => $baseDir . '/../lib/Card.php',
'OCA\\ContactsInteraction\\Db\\CardSearchDao' => $baseDir . '/../lib/Db/CardSearchDao.php',
'OCA\\ContactsInteraction\\Db\\RecentContact' => $baseDir . '/../lib/Db/RecentContact.php',
'OCA\\ContactsInteraction\\Db\\RecentContactMapper' => $baseDir . '/../lib/Db/RecentContactMapper.php',
'OCA\\ContactsInteraction\\Listeners\\ContactInteractionListener' => $baseDir . '/../lib/Listeners/ContactInteractionListener.php',
'OCA\\ContactsInteraction\\Migration\\Version010000Date20200304152605' => $baseDir . '/../lib/Migration/Version010000Date20200304152605.php',
);
@@ -0,0 +1,9 @@
<?php
// autoload_namespaces.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = $vendorDir;
return array(
);
@@ -0,0 +1,10 @@
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = $vendorDir;
return array(
'OCA\\ContactsInteraction\\' => array($baseDir . '/../lib'),
);
@@ -0,0 +1,46 @@
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInitContactsInteraction
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
}
/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader()
{
if (null !== self::$loader) {
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInitContactsInteraction', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInitContactsInteraction', 'loadClassLoader'));
$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';
call_user_func(\Composer\Autoload\ComposerStaticInitContactsInteraction::getInitializer($loader));
} else {
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
$loader->addClassMap($classMap);
}
}
$loader->setClassMapAuthoritative(true);
$loader->register(true);
return $loader;
}
}
@@ -0,0 +1,45 @@
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInitContactsInteraction
{
public static $prefixLengthsPsr4 = array (
'O' =>
array (
'OCA\\ContactsInteraction\\' => 24,
),
);
public static $prefixDirsPsr4 = array (
'OCA\\ContactsInteraction\\' =>
array (
0 => __DIR__ . '/..' . '/../lib',
),
);
public static $classMap = array (
'OCA\\ContactsInteraction\\AddressBook' => __DIR__ . '/..' . '/../lib/AddressBook.php',
'OCA\\ContactsInteraction\\AddressBookProvider' => __DIR__ . '/..' . '/../lib/AddressBookProvider.php',
'OCA\\ContactsInteraction\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
'OCA\\ContactsInteraction\\BackgroundJob\\CleanupJob' => __DIR__ . '/..' . '/../lib/BackgroundJob/CleanupJob.php',
'OCA\\ContactsInteraction\\Card' => __DIR__ . '/..' . '/../lib/Card.php',
'OCA\\ContactsInteraction\\Db\\CardSearchDao' => __DIR__ . '/..' . '/../lib/Db/CardSearchDao.php',
'OCA\\ContactsInteraction\\Db\\RecentContact' => __DIR__ . '/..' . '/../lib/Db/RecentContact.php',
'OCA\\ContactsInteraction\\Db\\RecentContactMapper' => __DIR__ . '/..' . '/../lib/Db/RecentContactMapper.php',
'OCA\\ContactsInteraction\\Listeners\\ContactInteractionListener' => __DIR__ . '/..' . '/../lib/Listeners/ContactInteractionListener.php',
'OCA\\ContactsInteraction\\Migration\\Version010000Date20200304152605' => __DIR__ . '/..' . '/../lib/Migration/Version010000Date20200304152605.php',
);
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInitContactsInteraction::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitContactsInteraction::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitContactsInteraction::$classMap;
}, null, ClassLoader::class);
}
}
@@ -0,0 +1,176 @@
<?php
declare(strict_types=1);
/**
* @copyright 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @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\ContactsInteraction;
use Exception;
use OCA\ContactsInteraction\AppInfo\Application;
use OCA\ContactsInteraction\Db\RecentContact;
use OCA\ContactsInteraction\Db\RecentContactMapper;
use OCA\DAV\CardDAV\Integration\ExternalAddressBook;
use OCA\DAV\DAV\Sharing\Plugin;
use OCP\AppFramework\Db\DoesNotExistException;
use OCP\IL10N;
use Sabre\DAV\Exception\NotFound;
use Sabre\DAV\PropPatch;
use Sabre\DAVACL\ACLTrait;
use Sabre\DAVACL\IACL;
class AddressBook extends ExternalAddressBook implements IACL {
public const URI = 'recent';
use ACLTrait;
/** @var RecentContactMapper */
private $mapper;
/** @var IL10N */
private $l10n;
/** @var string */
private $principalUri;
public function __construct(RecentContactMapper $mapper,
IL10N $l10n,
string $principalUri) {
parent::__construct(Application::APP_ID, self::URI);
$this->mapper = $mapper;
$this->l10n = $l10n;
$this->principalUri = $principalUri;
}
/**
* @inheritDoc
*/
public function delete(): void {
throw new Exception("This addressbook is immutable");
}
/**
* @inheritDoc
*/
public function createFile($name, $data = null) {
throw new Exception("This addressbook is immutable");
}
/**
* @inheritDoc
* @throws NotFound
*/
public function getChild($name) {
try {
return new Card(
$this->mapper->find(
$this->getUid(),
(int)$name
),
$this->principalUri,
$this->getACL()
);
} catch (DoesNotExistException $ex) {
throw new NotFound("Contact does not exist: " . $ex->getMessage(), 0, $ex);
}
}
/**
* @inheritDoc
*/
public function getChildren(): array {
return array_map(
function (RecentContact $contact) {
return new Card(
$contact,
$this->principalUri,
$this->getACL()
);
},
$this->mapper->findAll($this->getUid())
);
}
/**
* @inheritDoc
*/
public function childExists($name) {
try {
$this->mapper->find(
$this->getUid(),
(int)$name
);
return true;
} catch (DoesNotExistException $e) {
return false;
}
}
/**
* @inheritDoc
*/
public function getLastModified(): ?int {
return $this->mapper->findLastUpdatedForUserId($this->getUid());
}
/**
* @inheritDoc
*/
public function propPatch(PropPatch $propPatch) {
throw new Exception("This addressbook is immutable");
}
/**
* @inheritDoc
*/
public function getProperties($properties) {
return [
'principaluri' => $this->principalUri,
'{DAV:}displayname' => $this->l10n->t('Recently contacted'),
'{' . Plugin::NS_OWNCLOUD . '}read-only' => true,
'{' . \OCA\DAV\CalDAV\Plugin::NS_CALENDARSERVER . '}getctag' => 'http://sabre.io/ns/sync/' . ($this->getLastModified() ?? 0),
];
}
public function getOwner(): string {
return $this->principalUri;
}
/**
* @inheritDoc
*/
public function getACL() {
return [
[
'privilege' => '{DAV:}read',
'principal' => $this->getOwner(),
'protected' => true,
],
];
}
private function getUid(): string {
list(, $uid) = \Sabre\Uri\split($this->principalUri);
return $uid;
}
}
@@ -0,0 +1,80 @@
<?php
declare(strict_types=1);
/**
* @copyright 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @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\ContactsInteraction;
use OCA\ContactsInteraction\AppInfo\Application;
use OCA\ContactsInteraction\Db\RecentContactMapper;
use OCA\DAV\CardDAV\Integration\ExternalAddressBook;
use OCA\DAV\CardDAV\Integration\IAddressBookProvider;
use OCP\IL10N;
class AddressBookProvider implements IAddressBookProvider {
/** @var RecentContactMapper */
private $mapper;
/** @var IL10N */
private $l10n;
public function __construct(RecentContactMapper $mapper, IL10N $l10n) {
$this->mapper = $mapper;
$this->l10n = $l10n;
}
/**
* @inheritDoc
*/
public function getAppId(): string {
return Application::APP_ID;
}
/**
* @inheritDoc
*/
public function fetchAllForAddressBookHome(string $principalUri): array {
return [
new AddressBook($this->mapper, $this->l10n, $principalUri)
];
}
/**
* @inheritDoc
*/
public function hasAddressBookInAddressBookHome(string $principalUri, string $uri): bool {
return $uri === AddressBook::URI;
}
/**
* @inheritDoc
*/
public function getAddressBookInAddressBookHome(string $principalUri, string $uri): ?ExternalAddressBook {
if ($uri === AddressBook::URI) {
return new AddressBook($this->mapper, $this->l10n, $principalUri);
}
return null;
}
}
@@ -0,0 +1,45 @@
<?php
declare(strict_types=1);
/**
* @copyright 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @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\ContactsInteraction\AppInfo;
use OCA\ContactsInteraction\Listeners\ContactInteractionListener;
use OCP\AppFramework\App;
use OCP\Contacts\Events\ContactInteractedWithEvent;
use OCP\EventDispatcher\IEventDispatcher;
class Application extends App {
public const APP_ID = 'contactsinteraction';
public function __construct() {
parent::__construct(self::APP_ID);
$this->registerListeners($this->getContainer()->query(IEventDispatcher::class));
}
private function registerListeners(IEventDispatcher $dispatcher): void {
$dispatcher->addServiceListener(ContactInteractedWithEvent::class, ContactInteractionListener::class);
}
}
@@ -0,0 +1,51 @@
<?php
declare(strict_types=1);
/**
* @copyright 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @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\ContactsInteraction\BackgroundJob;
use OCA\ContactsInteraction\Db\RecentContactMapper;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\BackgroundJob\TimedJob;
class CleanupJob extends TimedJob {
/** @var RecentContactMapper */
private $mapper;
public function __construct(ITimeFactory $time,
RecentContactMapper $mapper) {
parent::__construct($time);
$this->setInterval(12 * 60 * 60);
$this->mapper = $mapper;
}
protected function run($argument) {
$time = $this->time->getDateTime();
$time->modify('-7days');
$this->mapper->cleanUp($time->getTimestamp());
}
}
+135
View File
@@ -0,0 +1,135 @@
<?php
declare(strict_types=1);
/**
* @copyright 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @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\ContactsInteraction;
use OCA\ContactsInteraction\Db\RecentContact;
use Sabre\CardDAV\ICard;
use Sabre\DAV\Exception\NotImplemented;
use Sabre\DAVACL\ACLTrait;
use Sabre\DAVACL\IACL;
class Card implements ICard, IACL {
use ACLTrait;
/** @var RecentContact */
private $contact;
/** @var string */
private $principal;
/** @var array */
private $acls;
public function __construct(RecentContact $contact, string $principal, array $acls) {
$this->contact = $contact;
$this->principal = $principal;
$this->acls = $acls;
}
/**
* @inheritDoc
*/
public function getOwner(): ?string {
$this->principal;
}
/**
* @inheritDoc
*/
public function getACL(): array {
return $this->acls;
}
/**
* @inheritDoc
*/
public function setAcls(array $acls): void {
throw new NotImplemented();
}
/**
* @inheritDoc
*/
public function put($data): ?string {
throw new NotImplemented();
}
/**
* @inheritDoc
*/
public function get() {
return $this->contact->getCard();
}
/**
* @inheritDoc
*/
public function getContentType(): ?string {
return 'text/vcard; charset=utf-8';
}
/**
* @inheritDoc
*/
public function getETag(): ?string {
return '"' . md5((string) $this->getLastModified()) . '"';
}
/**
* @inheritDoc
*/
public function getSize(): int {
throw new NotImplemented();
}
/**
* @inheritDoc
*/
public function delete(): void {
throw new NotImplemented();
}
/**
* @inheritDoc
*/
public function getName(): string {
return (string) $this->contact->getId();
}
/**
* @inheritDoc
*/
public function setName($name): void {
throw new NotImplemented();
}
/**
* @inheritDoc
*/
public function getLastModified(): ?int {
return $this->contact->getLastContact();
}
}
@@ -0,0 +1,96 @@
<?php
declare(strict_types=1);
/**
* @copyright 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @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\ContactsInteraction\Db;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IDBConnection;
use OCP\IUser;
use function is_resource;
use function stream_get_contents;
class CardSearchDao {
/** @var IDBConnection */
private $db;
public function __construct(IDBConnection $db) {
$this->db = $db;
}
public function findExisting(IUser $user,
?string $uid,
?string $email,
?string $cloudId): ?string {
$addressbooksQuery = $this->db->getQueryBuilder();
$cardQuery = $this->db->getQueryBuilder();
$propQuery = $this->db->getQueryBuilder();
$propOr = $propQuery->expr()->orX();
if ($uid !== null) {
$propOr->add($propQuery->expr()->andX(
$propQuery->expr()->eq('name', $cardQuery->createNamedParameter('UID')),
$propQuery->expr()->eq('value', $cardQuery->createNamedParameter($uid))
));
}
if ($email !== null) {
$propOr->add($propQuery->expr()->andX(
$propQuery->expr()->eq('name', $cardQuery->createNamedParameter('EMAIL')),
$propQuery->expr()->eq('value', $cardQuery->createNamedParameter($email))
));
}
if ($cloudId !== null) {
$propOr->add($propQuery->expr()->andX(
$propQuery->expr()->eq('name', $cardQuery->createNamedParameter('CLOUD')),
$propQuery->expr()->eq('value', $cardQuery->createNamedParameter($cloudId))
));
}
$addressbooksQuery->selectDistinct('id')
->from('addressbooks')
->where($addressbooksQuery->expr()->eq('principaluri', $cardQuery->createNamedParameter("principals/users/" . $user->getUID())));
$propQuery->selectDistinct('cardid')
->from('cards_properties')
->where($propQuery->expr()->in('addressbookid', $propQuery->createFunction($addressbooksQuery->getSQL()), IQueryBuilder::PARAM_INT_ARRAY))
->andWhere($propOr)
->groupBy('cardid');
$cardQuery->select('carddata')
->from('cards')
->where($cardQuery->expr()->in('id', $cardQuery->createFunction($propQuery->getSQL()), IQueryBuilder::PARAM_INT_ARRAY))
->andWhere($cardQuery->expr()->in('addressbookid', $cardQuery->createFunction($addressbooksQuery->getSQL()), IQueryBuilder::PARAM_INT_ARRAY))
->setMaxResults(1);
$result = $cardQuery->execute();
/** @var string|resource|false $card */
$card = $result->fetchColumn(0);
if ($card === false) {
return null;
}
if (is_resource($card)) {
return stream_get_contents($card);
}
return $card;
}
}

Some files were not shown because too many files have changed in this diff Show More