Commit Graph

12436 Commits

Author SHA1 Message Date
Nextcloud bot eb6df7b07d
[tx-robot] updated from transifex 2016-12-20 12:02:40 +00:00
Roeland Jago Douma c8d391a6a7 Merge pull request #2702 from nextcloud/enoch85-patch-1
[10] Do not connect to database before creating it
2016-12-16 16:09:16 +01:00
Lukas Reschke d739dfb8cb Merge pull request #2464 from nextcloud/backport-1973-dont-disable-shipped-apps-but-throw-instead
[stable10] Throw an exception when a shipped app was not replaced before the update
2016-12-16 13:29:25 +01:00
Joas Schilling 23521c5227
Do not connect to database before creating it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-12-15 18:28:46 +01:00
Joas Schilling 54b081226b
Get correct L10N for Settings Manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-12-14 12:30:05 +01:00
Joas Schilling d84234da13
Lower the role name before using it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-12-09 16:50:37 +01:00
Roeland Jago Douma 113a743b91
Use proper ALTER ROLE syntax
Fixes #1260

See https://www.postgresql.org/docs/9.0/static/sql-alterrole.html
2016-12-09 16:04:17 +01:00
Morris Jobke 5fd960b370
Document updater channel & check for correct PHP version in updater
* see https://github.com/nextcloud/updater/issues/53

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-12-06 11:22:00 +01:00
Lukas Reschke 8a65b56a03 Merge pull request #2465 from nextcloud/backport-1972-invalid-files-from-scanner
[stable10] Make sure we don't scan files that can not be accessed
2016-12-05 23:28:54 +01:00
Nextcloud bot bd6c00ee26
[tx-robot] updated from transifex 2016-12-04 01:07:38 +00:00
Lukas Reschke cf752bea22 Merge pull request #2485 from nextcloud/shared-storage-mask-10
[10] 	apply permissions mask for shared storage
2016-12-03 23:35:40 +01:00
Nextcloud bot c20532c01e
[tx-robot] updated from transifex 2016-12-03 01:07:34 +00:00
Robin Appelman d84f88b041
only update the cache if the storage operation succeeds
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-12-02 18:56:11 +01:00
Robin Appelman 2dd97bb52d
apply permissions mask for shared storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-12-02 18:02:34 +01:00
Joas Schilling eefd45875e
Make sure we don't scan files that can not be accessed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-12-02 11:14:00 +01:00
Morris Jobke ed71ecc2b2 Merge pull request #2452 from nextcloud/stable10-1826
[stable10] Fix post_unshareFromSelf hook parameter format
2016-12-02 10:41:57 +01:00
Joas Schilling 3060fc8597
Show all in one message
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-12-02 10:09:14 +01:00
Jan-Christoph Borchardt 4aa30464df
add explanatory text of what to do on app version error
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2016-12-02 10:08:47 +01:00
Joas Schilling 27d5142b1c
Throw an exception when a shipped app was not replaced before the update
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-12-02 10:07:15 +01:00
Lukas Reschke 5efb7ed043
Default to empty string
Otherwise `null` is returned which leads to a ton of similar error messages if the log condition setting is enabled.:

```
{"reqId":"3wVBarnDfOV3qkI1bVCU","remoteAddr":"89.98.78.41","app":"PHP","message":"hash_equals(): Expected user_string to be a string, null given at \/var\/www\/html\/lib\/private\/Log.php#275","level":3,"time":"2016-10-07T14:22:15+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"icewind"}
```
2016-12-02 01:09:04 +01:00
Vincent Petry f07c209cb9
Fix post_unshareFromSelf hook parameter format
When unsharing from self in a group share situation, the share items
passed to the post_unshareFromSelf hook were using the wrong format in
which the attribute names (ex: "share_type") have non camel-case format.

This fix makes sure that in group sharing case we use the correct
format. It looks like the code was already producing it but in
array_merge it was not using it and adding the unprocessed one.
2016-12-02 00:50:32 +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
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 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 14a003eb32
[tx-robot] updated from transifex 2016-11-26 01:07:06 +00: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
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
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
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
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
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
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
Nextcloud bot da7d4e4ae8
[tx-robot] updated from transifex 2016-11-10 01:07:22 +00:00
Morris Jobke 17b1a720fa Merge pull request #2059 from nextcloud/backport-2058-better-error-message-for-installation-error
[stable10] Use a better error message and point the users to the support channels
2016-11-09 14:00:58 +01:00
Joas Schilling 9e2e29aa10
Correctly catch the "soft errors" now
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-09 10:31:43 +01:00
Joas Schilling ef917ee9c8
Use a better error message and point the users to the support channels
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-09 09:20:55 +01:00
Morris Jobke 3f457943b0
Remove unneeded Windows logic
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-11-08 12:29:25 +01:00
Morris Jobke b718693842
Activate APCu on PHP 7
Fix an issue with APCus inc and dec methods on PHP 7

see https://github.com/krakjoe/apcu/issues/183#issuecomment-244038221 for details

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-11-08 12:29:25 +01:00
Nextcloud bot 7f3a13c968
[tx-robot] updated from transifex 2016-11-07 01:07:10 +00:00
Nextcloud bot b7aa793750
[tx-robot] updated from transifex 2016-11-06 01:07:57 +00:00
Nextcloud bot 75691d43af
[tx-robot] updated from transifex 2016-11-05 01:07:21 +00:00