Commit graph

11538 commits

Author SHA1 Message Date
Victor Dubiniuk
a808233ee7
Check if color exists in palette before using it
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-02-10 16:30:02 +01:00
Joas Schilling
3b70a57e1d
Make sure invalid images don't flood the log file
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-02-10 13:48:30 +01:00
Lukas Reschke
8491cfe878 Merge pull request #2467 from nextcloud/backport-1972-invalid-files-from-scanner-9
[stable9] Make sure we don't scan files that can not be accessed
2016-12-05 23:29:01 +01:00
Robin Appelman
b9ff7172f2
only update the cache if the storage operation succeeds
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-12-02 18:56:29 +01:00
Joas Schilling
5a7dfcacc5
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:47 +01:00
Vincent Petry
a05bdcf1df
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:59:31 +01:00
Joas Schilling
ef53c5f75c
Correctly catch the "soft errors" now
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-09 10:30:52 +01:00
Joas Schilling
37b02fdcae
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:25:47 +01:00
Joas Schilling
e12e27fa65
Fix issues where some user settings cannot be loaded when the user id differs in case sensitivity
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-21 11:25:22 +02:00
blizzz
f82ef09150 Merge pull request #1698 from nextcloud/backport-1558-remove-notifications-upon-user-deletion-9
[stable9] Remove notifications upon user deletion
2016-10-11 16:48:15 +02:00
Joas Schilling
1d9738006a
Only trigger postDelete hooks when the user was deleted...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-11 14:18:01 +02:00
Joas Schilling
1b006b9d6e
Remove notifications upon user deletion
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-11 10:49:40 +02:00
Joas Schilling
ee2d77279f
Fallback from "de" to "de_DE" and the other way around
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-11 10:09:21 +02:00
Joas Schilling
45d5f7adc2
Allow multiple names and description
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-11 10:06:56 +02:00
Morris Jobke
a8d2aacaa2 log version number in each log line
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-10-07 10:20:26 +02:00
Joas Schilling
40ad62306d
Use the same URL everywhere
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-27 15:19:39 +02:00
Joas Schilling
182f6ec6c6
Return the autoupdater value from the server
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-27 15:06:59 +02:00
Morris Jobke
2fb10ce629
Add repair step to remove .step file after update
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-09-23 14:10:28 +02:00
Joas Schilling
4071982454
Change updater URL 2016-09-08 12:28:32 +02:00
Joas Schilling
a9a43e9384
Allow to call status.php before the instance is installed 2016-09-06 16:12:48 +02:00
Joas Schilling
f7092c981f
Fix "Undefined index" when the values do not exist 2016-08-18 12:10:26 +02:00
Roeland Jago Douma
aed78c242d
Backport of #864
* 26342061b9
* 264aaf9ffa
2016-08-17 15:55:02 +02:00
Joas Schilling
8aa91478b7
Allow to retrieve the quota itself via the provisioning api 2016-08-17 12:33:58 +02:00
Bjoern Schiessle
6f3d9ec024
getJailedPath expects to have a trailing / 2016-08-10 11:35:38 +02:00
Morris Jobke
066ac4f6a8
libxml - compare against loaded version
* if the compiled in version is older than the loaded version Nextcloud doesn't work
* uses the loaded libxml version to check against

fixes #205
2016-07-28 14:18:48 +02:00
Joas Schilling
593608f25c
Make sure we try to autoload the class 2016-07-25 09:46:07 +02:00
Joas Schilling
ca6a7d9e6a
Run the license script 2016-07-22 09:48:05 +02:00
Lukas Reschke
c008346c08
[stable9] Use explode() instead of split
Upstream from https://github.com/owncloud/core/pull/25488
2016-07-20 14:37:34 +02:00
Björn Schießle
1681433696 Merge pull request #442 from nextcloud/fix-maintenance-mode-9
[stable9] Fix maintenance mode
2016-07-19 16:59:51 +02:00
Joas Schilling
3024f20270
Fix maintenance mode
When the server is in maintenance mode, apps are not loaded.
That means apps/theming/ is not in the allowed paths. So we
need to check without autoloading, whether the class exists.
2016-07-19 10:23:26 +02:00
Joas Schilling
06ac822b71
Use the themed Defaults everywhere 2016-07-15 09:22:44 +02:00
Morris Jobke
f593a09360
Revert "occ web executor (#24957)"
This reverts commit 9fcb26910e.
2016-07-07 12:08:10 +02:00
Morris Jobke
4782b92347
Revert "Bypass upgrade page when occ controller is requested (#25363)"
This reverts commit 445a76bb1b.
2016-07-07 12:07:35 +02:00
Morris Jobke
06964b32f3
Revert "Revert "Remove repair steps for broken updater repair""
This reverts commit 1a42979104.
2016-07-07 12:04:57 +02:00
Morris Jobke
11e834ea74
Merge branch 'stable9' into sync-stable9 2016-07-07 12:03:34 +02:00
VicDeo
445a76bb1b Bypass upgrade page when occ controller is requested (#25363) 2016-07-06 22:08:58 +02:00
Vincent Petry
116a6f3938 Merge pull request #25343 from owncloud/stable9-revertrepairrevert
Revert "Remove repair steps for broken updater repair"
2016-07-06 17:49:05 +02:00
Vincent Petry
3864555390 Merge pull request #25360 from owncloud/stable9-backportshareownerfix
[stable9] Change order of share creation validation
2016-07-06 12:48:26 +02:00
Vincent Petry
a2bbc220e0
Change order of share creation validation
Makes sure that the share owner is set before entering the checks that
need it.

Partial backport of afa37d3
2016-07-05 10:59:27 +02:00
Lukas Reschke
70f36b40df Use proper branding again
The merge of the theming app changed these defaults back again.
2016-07-04 20:43:35 +02:00
Vincent Petry
1a42979104
Revert "Remove repair steps for broken updater repair"
This reverts commit 58ed5b9328e9e12dd4319c0730202f385ca0dc5d.
2016-07-04 12:49:46 +02:00
Lukas Reschke
ce70ea3501
[stable9] Use paramterized parameter for \OC\SystemTag\SystemTagManager
$nameSearchPattern was passed in and directly appended to the SQL query. Luckily the code path isn't reached anywhere in Nextcloud or the included apps.
2016-07-03 16:50:28 +02:00
VicDeo
9fcb26910e
occ web executor (#24957)
* Initial web executor

* Fix PHPDoc

Fix broken integration test

OccControllerTests do not require database access - moch them all!

Kill unused sprintf
2016-07-01 11:31:57 +02:00
VicDeo
21bdd3005b Fix OC_Helper::rmdirr for nested symlinks (#25255) 2016-07-01 11:31:02 +02:00
Thomas Müller
4ac256ea6c [stable9] Fix decrypt message stable9 (#25188)
* Fix Decrypt message via occ

* Comments fixed

* Fixed reviews

* Originally:
commit 2304e4bda027e61ff1302c55c2f70f8e4c8f47d0
Author: Joas Schilling <nickvergessen@owncloud.com>
Date:   Tue Jun 7 09:13:11 2016 +0200

    Allow to decrypt user '0' files only

* Fix uid comparison
2016-07-01 11:30:39 +02:00
Bjoern Schiessle
3cb7672b06
initial commit for the theming app 2016-06-30 17:26:03 +02:00
Björn Schießle
eed6c6a8b9 Merge pull request #266 from nextcloud/fix-262
[stable9] getShareByToken() should also consider remote shares
2016-06-30 17:17:21 +02:00
Lukas Reschke
912f07e2a9 Merge pull request #249 from nextcloud/add-exemption-for-acs
[stable9] Add exemption for ACS endpoint
2016-06-30 17:06:11 +02:00
Bjoern Schiessle
347787d92c
getShareByToken() should also consider remote shares 2016-06-30 16:45:13 +02:00
Lukas Reschke
f56ea98993
Add exemption for ACS endpoint
In a SAML scenario we don't get any strict or lax cookie send for
the ACS endpoint. Since we have some legacy code in Nextcloud
(direct PHP files) the enforcement of lax cookies is performed here
instead of the middleware.

This means we cannot exclude some routes from the cookie validation,
which normally is not a problem but is a little bit cumbersome for
this use-case.

Once the old legacy PHP endpoints have been removed we can move
the verification into a middleware and also adds some exemptions.

Not super awesome code to have but the best that I could come up
with that doesn't add another ton of technical debt.
2016-06-29 19:51:27 +02:00