Commit Graph

42715 Commits

Author SHA1 Message Date
Morris Jobke d62f5c10d3
Remove not needed change
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-05-31 17:20:33 +02:00
Morris Jobke fa41a4cc21
Remove type hints for PHP 5.6
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-05-31 17:16:47 +02:00
Nextcloud bot cc6317f2af
[tx-robot] updated from transifex 2018-05-31 00:13:02 +00:00
Roeland Jago Douma 188a41a2be
Make sure the log doesn't try to read from PUT if it can't
If a PUT request comes in that is not JSON or from encoded. Then we can
only read it (exactly) once. If that is the case we must assume no
shared secret is set.

If we don't then we either are the first to read it, thus causing the
real read of the data to fail.

Or we are later and then it throws an exception (also failing the
request).

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-30 20:16:18 +02:00
Roeland Jago Douma 4fae9bedc9
Move repairstep to a custom command
People that have issues can run it manually

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-30 13:27:52 +02:00
Roeland Jago Douma 29f1ea2fbe
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-30 13:27:51 +02:00
Roeland Jago Douma 1ea356cd6a
Adding repair step which cleans shares of invalid principals
edacf22fbc

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-30 13:27:51 +02:00
Roeland Jago Douma 0f88f3f00e
CalDAV and CardDAV plugins need to be registered for the principals collection as well
9f2e6431b8

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-30 13:27:51 +02:00
Roeland Jago Douma 3a133b151f
When sharing calendars and addressbooks the principal has to be verified to be valid
d3fb8fcdd3

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-30 13:27:51 +02:00
Roeland Jago Douma ed0069b8e6
Do not load calendar/addressbook plugins if not needed
Fixes #6711
Based on f0fb21cf35

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-30 13:27:51 +02:00
Morris Jobke 4c1f88efb1
Merge pull request #9654 from nextcloud/backport/9360/stable13
[stable13] Fix "Invalid argument supplied for foreach()"
2018-05-30 11:50:35 +02:00
Morris Jobke 3acfcc433a
Merge pull request #9668 from nextcloud/backport/9666/stable13
[stable13] Make sure the file is readable before attempting to create a preview
2018-05-30 11:34:29 +02:00
Morris Jobke db59474868
Merge pull request #9662 from nextcloud/backport/9640/stable13
[stable13] check user state when fetching to avoid dealing with offline objects
2018-05-30 09:19:24 +02:00
Morris Jobke d95757b7d0
Merge pull request #9657 from nextcloud/backport/9256/stable13
[stable13] improve error reporting and move format parameter to the options
2018-05-30 09:18:36 +02:00
Morris Jobke fd9c134d66
Merge pull request #9672 from nextcloud/drone-mysqlmb4-fix-stable13
[stable13] Fix drone mysqlmb4 tests
2018-05-30 09:17:41 +02:00
John Molakvoæ (skjnldsv) 9a0126cadd
Fix drone mysqlmb4 tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-05-30 08:57:51 +02:00
Nextcloud bot b889259b1e
[tx-robot] updated from transifex 2018-05-30 00:12:31 +00:00
Roeland Jago Douma e55effc5ef
Make sure the file is readable before attempting to create a preview
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-29 22:03:43 +02:00
Morris Jobke b71c90bac1
Merge pull request #9650 from nextcloud/backport/8842/stable13
[stable13] fix(AmazonS3):  fix loop $result['Contents'] error
2018-05-29 20:56:03 +02:00
Arthur Schiwon d33ba08b05
check user state when fetching to avoid dealing with offline objects
fixes #9502

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-05-29 20:54:48 +02:00
Roeland Jago Douma d6ab2a4ddb
Merge pull request #9661 from nextcloud/backport/9288/stable13
[stable13] LDAP password renewal fixes
2018-05-29 20:16:05 +02:00
Morris Jobke a52f0150af
Merge pull request #9659 from nextcloud/backport/9653/stable13
[stable13] The OAuth endpoint needs to support Basic Auth
2018-05-29 17:12:00 +02:00
Morris Jobke 5c9f2dd99f
Merge pull request #9651 from nextcloud/backport/9271/stable13
[stable13] Fix undefined variables
2018-05-29 17:08:40 +02:00
Morris Jobke b3e9e36b14
Merge pull request #9656 from nextcloud/backport/9490/stable13
[stable13] Make LargeFileHelper.php faster by avoiding execs as much as possible
2018-05-29 17:08:12 +02:00
Morris Jobke de539c6e27
Merge pull request #9649 from nextcloud/sabre-head-dont-open-file-13
[13] dont open the file on dav HEAD request
2018-05-29 17:02:47 +02:00
Morris Jobke 9f793f91c9
Merge pull request #9608 from nextcloud/smb-exceptions-on-listing
[13] Handle exception while itterating trough smb file listing
2018-05-29 17:01:51 +02:00
Roger Szabo 49c1a7f2ae
Remove unneeded semicolon and parentheses
Signed-off-by: Roger Szabo <roger.szabo@web.de>
2018-05-29 16:40:50 +02:00
Roger Szabo b3b774dfc5
css indent alignment
Signed-off-by: Roger Szabo <roger.szabo@web.de>
2018-05-29 16:40:46 +02:00
Roger Szabo 733eae5b91
adjust css to nc13 core changes
Signed-off-by: Roger Szabo <roger.szabo@web.de>
2018-05-29 16:40:43 +02:00
Roger Szabo 4ba9556bc2
remove reset password link
Signed-off-by: Roger Szabo <roger.szabo@web.de>
2018-05-29 16:40:39 +02:00
Morris Jobke c61e9577e6
Merge pull request #9652 from nextcloud/search-category-stable13
[stable13] Add search category icon
2018-05-29 16:39:43 +02:00
Roeland Jago Douma d48333910e
The OAuth endpoint needs to support Basic Auth
* Add test

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-29 15:57:04 +02:00
Robin Appelman a8b674fd8c
dont open the file on dav HEAD request
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-05-29 15:42:29 +02:00
Bjoern Schiessle 58be1f1b2f
improve error reporting and move format parameter to the options
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-05-29 15:34:32 +02:00
marco44 184a0b97fc
Make LargeFileHelper.php faster by avoiding execs as much as possible
Signed-off-by: Marc Cousin <cousinmarc@gmail.com>
2018-05-29 15:31:55 +02:00
Roger Szabo 0b25317269
adjust unit tests for \"Invalid argument supplied for foreach()\" fix
Signed-off-by: Roger Szabo <roger.szabo@web.de>
2018-05-29 15:21:23 +02:00
Roger Szabo 27fca0eebc
Fix "Invalid argument supplied for foreach()"
Signed-off-by: Roger Szabo <roger.szabo@web.de>
2018-05-29 15:21:19 +02:00
John Molakvoæ (skjnldsv) 221f3a4819
Add search category icon
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-05-29 15:13:58 +02:00
Morris Jobke 57489f1013
Remove a check for an unused variable
Left over from a refactoring

https://github.com/nextcloud/server/pull/1940

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-05-29 15:13:57 +02:00
Morris Jobke 6a4a7c868c
Fix undefined variable - found by Phan
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-05-29 15:12:10 +02:00
enoch 65bb12032d
fix(AmazonS3): fix loop $result['Contents'] error
Invalid argument supplied for foreach() at /var/www/html/apps/files_external/lib/Lib/Storage/AmazonS3.php#295
2018-05-29 15:03:28 +02:00
blizzz af2ecbbd5a
Merge pull request #9647 from nextcloud/release/noid/theming-1.4.5-translations
[stable13] prepare another theming release including translations for recently added imprint and privacy policy strings
2018-05-29 14:37:23 +02:00
Morris Jobke b03752b1d9
Merge pull request #9620 from nextcloud/backport/9576/stable13
[stable13] Emit event when running ./occ db:add-missing-indices
2018-05-29 14:30:27 +02:00
Arthur Schiwon c2041c5d4a
prepare another theming release including translations for recently
added imprint and privacy policy strings.

Languages: fi, fr, de, de_DE (formal), it, es, pt_BR, tr

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-05-29 14:13:58 +02:00
Nextcloud bot 00edb8f2d4
[tx-robot] updated from transifex 2018-05-29 00:12:43 +00:00
Roeland Jago Douma c07f23ca72
Merge pull request #9629 from nextcloud/backport/9627/stable13
[stable13] Limit Sinon version to 5.0.7 at most
2018-05-28 13:27:34 +02:00
Morris Jobke 8889220f55
Merge pull request #9622 from nextcloud/backport/9475/stable13
[stable13] Delete the previews when a version is restored
2018-05-28 11:20:18 +02:00
Daniel Calviño Sánchez fe93f0935b
Limit Sinon version to 5.0.7 at most
When using fake servers with Sinon.JS, the JavaScript test framework,
the XHR objects are also fake. In Sinon 5.0.8 the "setRequestHeader" of
XMLHttpRequest was modified to normalize the header values (as requested
by the spec), but since then only string values are accepted; null or
integer values can no longer be passed to "setRequestHeader", as it
expects the "replace" function to be available in the object. However,
in the tests null and integer values are passed to "setRequestHeader",
which causes them to fail.

Both Firefox and Chromium accept passing non-string values to their
"setRequestHeader" implementation, and it is done, for example, in
davclient.js; it is not clear yet whether Sinon got too restrictive or
the code calling "setRequestHeader" was too loose. Given that
davclient.js is an external dependency, as a temporary measure Sinon
version is forced to be 5.0.7 at most until either Sinon or davclient.js
are updated.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-05-28 11:07:11 +02:00
Roeland Jago Douma 5536d17181
Merge pull request #9619 from nextcloud/backport/9515/stable13
[stable13] Regenerate session id after public share auth
2018-05-28 09:05:53 +02:00
Roeland Jago Douma dd5995a2f8
Emit event when running ./occ db:add-missing-indices
This allows apps to listen to this event in order to also update
indecies there.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-28 09:04:59 +02:00