Commit Graph

11523 Commits

Author SHA1 Message Date
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
Bjoern Schiessle 27059107f8
add events to check passwords with the password policy app 2016-06-28 11:43:23 +02:00
Lukas Reschke 9f7141d26d
Move OC_Channel to system config
The Nextcloud and ownCloud updaters allow someone to configure a custom release channel, this can then be used to publish different versions. (e.g. one channel stays on 9.x while another one already gets 10.x)

There is however one big problem with it: The value is effectively stored in the app config, which is stored in the database. So to be able to read the update channel a connection to the database is necessary. This is quite error prone and also causes some of the issues in the original ownCloud updater.

This moves the channel registration to the config.php and also includes a repair step.
2016-06-27 17:13:40 +02:00
Lukas Reschke dcb5f00461
Merge remote-tracking branch 'upstream/stable9' into stable9-upstream-sync 2016-06-26 12:48:19 +02:00
Joachim Sokolowski b1d60eb738
some text-changes to nextcloud 2016-06-22 10:22:55 +02:00
Morris Jobke ce7d9998dc
Drop old authtoken table (pre 5.0.0)
* fixes #155
2016-06-21 16:35:08 +02:00
Lukas Reschke a11896766c
Some more branding 2016-06-20 22:10:20 +02:00
Morris Jobke 8abf6e0ed1
fixed code 2016-06-20 18:50:56 +02:00
Jörn Friedrich Dreyer cf3b5e3e86
Capped cache for user config 2016-06-20 17:39:00 +02:00
Roeland Jago Douma 07436d089b
Do not recurse link share fetching
* Might fix an issue on oracle
2016-06-20 17:38:59 +02:00
Vincent Petry ac56629c86
Capped cache for cache info in UserMountCache 2016-06-20 17:37:38 +02:00
Vincent Petry 3189c22ff3
Use capped cache for encryption's user access list 2016-06-20 17:37:09 +02:00
Vincent Petry 826654bb70 Merge pull request #25165 from owncloud/stable9-capped-user-cache
[stable9] Capped cache for user config
2016-06-20 17:15:18 +02:00
Vincent Petry a3111e8589 Merge pull request #25160 from owncloud/fix-oracle-endless-loop-stable9
Do not recurse link share fetching
2016-06-17 15:24:47 +02:00
Jörn Friedrich Dreyer 0e3682d810 Capped cache for user config 2016-06-17 12:46:28 +02:00
Roeland Jago Douma 2d7bbf4a63
Do not recurse link share fetching
* Might fix an issue on oracle
2016-06-17 11:09:27 +02:00