Commit Graph

34164 Commits

Author SHA1 Message Date
Joas Schilling 366df29340
Don't log the user password in case something goes wrong
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-12-02 01:41:04 +01:00
Morris Jobke 1c4a1b8807 Merge pull request #2445 from nextcloud/stable10-detect-also-a-400-status
[stable10] Catch status code 400
2016-12-01 22:56:39 +01:00
Roeland Jago Douma c0f5f0a029 Merge pull request #2438 from nextcloud/stable10-dont-allow-subfolders-for-write-only-shares
[stable10] On write-only shares do not allow to specify subfolders
2016-12-01 20:19:52 +01:00
Lukas Reschke 461b277742
[stable10] Catch status code 400
In case the server returns a statuscode 400 we should also gracefully return to the home directory.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-01 19:15:19 +01:00
Lukas Reschke d012965053 Merge pull request #2440 from nextcloud/stable10-optimize-createParentDirectories
[stable10] Prevent endless loop in \OC\Files\View::createParentDirect…
2016-12-01 19:02:31 +01:00
Lukas Reschke 072794d78d
[stable10] Prevent endless loop in \OC\Files\View::createParentDirectories
\OC\Files\View::createParentDirectories was previously prone to an endless loop. If a path such as /foo/existingfile.txt/bar/foo was passed and existingfile.txt existed in foo the loop was never left and running until the PHP process timed out.

This commit changes the logic to a foreach loop over an array and additionally additional error handling using is_file.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-01 16:53:26 +01:00
Lukas Reschke 4045c7be73
[stable10] On write-only shares do not allow to specify subfolders
In case of a write-only share we should not allow to specify a subfolder as this is unexpected behaviour.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-01 16:12:25 +01:00
Nextcloud bot db2206450f
[tx-robot] updated from transifex 2016-12-01 01:07:24 +00:00
Nextcloud bot 7a32bd49d8
[tx-robot] updated from transifex 2016-11-30 14:18:15 +00:00
Nextcloud bot 1e818369a7
[tx-robot] updated from transifex 2016-11-30 01:07:24 +00:00
Nextcloud bot 823f480c83
[tx-robot] updated from transifex 2016-11-29 17:57:54 +00:00
Nextcloud bot cb910bfacc
[tx-robot] updated from transifex 2016-11-29 17:03:32 +00:00
Nextcloud bot 506196af6c
[tx-robot] updated from transifex 2016-11-29 01:06:54 +00:00
Nextcloud bot 74072d75d5
[tx-robot] updated from transifex 2016-11-28 09:52:03 +00:00
Nextcloud bot d1b0300d45
[tx-robot] updated from transifex 2016-11-28 09:31:09 +00:00
Nextcloud bot feefc9ed0b
[tx-robot] updated from transifex 2016-11-28 01:07:09 +00:00
Nextcloud bot 30c4f46d2a
[tx-robot] updated from transifex 2016-11-27 01:07:19 +00:00
Nextcloud bot 14a003eb32
[tx-robot] updated from transifex 2016-11-26 01:07:06 +00:00
Lukas Reschke eefc8ce961 Merge pull request #2320 from nextcloud/fix-getFileSizeViaCOM-regression
[stable10] Fix get file size via com regression
2016-11-24 22:21:42 +01:00
Morris Jobke 28eed678e0
Fix regressiong from #2048
* fixes https://github.com/nextcloud/server/pull/2048#issuecomment-262826162

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-11-24 20:54:33 +01:00
Morris Jobke f7a505ded6 Merge pull request #2291 from nextcloud/stable10-imagescale-fix
[stable10] Workaround for PHP bug when calling imagescale
2016-11-24 12:02:36 +01:00
Joas Schilling f7388575a8 Merge pull request #2295 from nextcloud/backport-2137-phpunit4-compatibility
Add a wrapper to allow phpunit4 to run the code again
2016-11-24 10:00:09 +01:00
Joas Schilling ac5a6b2d30
Add a magic wrapper from hell to allow phpunit4 to run the code again
Remove this once phpunit 5 is the lowest supported version, by reverting:
https://github.com/nextcloud/server/pull/2137

Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-24 09:11:47 +01:00
Julius Haertl c96bbd4953
Workaround for PHP bug when calling imagescale
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-23 21:54:55 +01:00
Nextcloud bot fee91b1073
[tx-robot] updated from transifex 2016-11-22 01:07:03 +00:00
Nextcloud bot c688613f5f
[tx-robot] updated from transifex 2016-11-21 01:07:05 +00:00
Nextcloud bot cd358b049d
[tx-robot] updated from transifex 2016-11-20 01:06:51 +00:00
Nextcloud bot 34d879bc14
[tx-robot] updated from transifex 2016-11-19 01:06:51 +00:00
Nextcloud bot 34f07f2bdd
[tx-robot] updated from transifex 2016-11-18 01:07:13 +00:00
Morris Jobke 9386e5b232 Merge pull request #2121 from nextcloud/stable10_2100
[Stable10] Fixes not allowed increasing of link share permissions
2016-11-17 18:55:40 +01:00
Morris Jobke 915334a44b Merge pull request #2186 from nextcloud/stable10-2122
[stable10] Hack to prevent warning for read-only wrapper in public links
2016-11-17 18:34:53 +01:00
Morris Jobke 14709ca7f7 Merge pull request #2185 from nextcloud/stable10-icons-audio-video-off
[stable10] add icons for audio mute and video off
2016-11-17 17:41:14 +01:00
Morris Jobke fcb6386b04
only use one kind of hack for the storage wrappers of the sharing code
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-11-17 17:00:56 +01:00
Vincent Petry db8b66c546
Hack to prevent warning for read-only wrapper in public links
Storage wrappers should normally always be registered inside a presetup
hook. However in the public link scenario this is not possible and
there is currently no good alternative with the current architecture.

Instead of logging a warning every time, this fix prevents the warning
to be shown but also adds a FIXME in the code for the future. This is
ok because this app is already using private/internal APIs at the
moment and should be reworked properly in the future.
2016-11-17 17:00:49 +01:00
Jan-Christoph Borchardt 32773b4b5e add icons for audio mute and video off
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2016-11-17 16:49:09 +01:00
Nextcloud bot 2600bb2dbb
[tx-robot] updated from transifex 2016-11-17 01:07:09 +00:00
Morris Jobke 4d0037c461 Merge pull request #2091 from nextcloud/fix_1862
Do not request node when creating a user-group share
2016-11-17 00:42:50 +01:00
Roeland Jago Douma e9c41b25a0 Merge pull request #2142 from nextcloud/stable10-icon-background
[stable10] add dark background fade to icons to make them visible on light backgrounds
2016-11-17 00:01:48 +01:00
Roeland Jago Douma d2ea6f6d5c Merge pull request #2155 from nextcloud/stable10-federated-cloud-id
[stable10] specify Federated Cloud ID syntax
2016-11-16 16:14:34 +01:00
Jan-Christoph Borchardt fadc25134d specify Federated Cloud ID syntax
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2016-11-16 11:57:13 +01:00
Jan-Christoph Borchardt 9789d4985a add dark background fade to icons to make them visible on light backgrounds
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2016-11-15 17:50:39 +01:00
Roeland Jago Douma 5039b37570
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-15 09:41:59 +01:00
Roeland Jago Douma 8315891418
[Stable10] Fixes not allowed increasing of link share permissions
Backport of #2100

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-15 09:17:02 +01:00
Nextcloud bot 46a6cbadfc
[tx-robot] updated from transifex 2016-11-15 01:07:12 +00:00
Roeland Jago Douma ba0f899cb2 Merge pull request #2118 from nextcloud/stable10-add-bruteforce-check-to-person-endpoint
[stable10] Add bruteforce checker to Person.php
2016-11-14 18:10:23 +01:00
Lukas Reschke 6afad44091
Add bruteforce checker to Person.php
Also check for attempts on this endpoint

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-11-14 15:28:53 +01:00
Nextcloud bot 3acfc4e9cd
[tx-robot] updated from transifex 2016-11-14 01:07:13 +00:00
Nextcloud bot 9cffa6bebb
[tx-robot] updated from transifex 2016-11-13 01:07:17 +00:00
Nextcloud bot 4e3e2f5f48
[tx-robot] updated from transifex 2016-11-12 01:07:18 +00:00
Roeland Jago Douma b6284d1664
Fixes retargeting a share of a deleted source
Fixes #1862

We tried to construct the actual node. While this node was no longer
available. This work around makes sure that we don't try to do this.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-11 10:35:04 +01:00