summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Use the mocked config versionJoas Schilling2016-12-141-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #2636 from nextcloud/add-repair-step-to-fix-mountsv11.0.0Lukas Reschke2016-12-134-0/+82
|\ | | | | Add a repair step to fix broken mounts
| * Update autoloadingJoas Schilling2016-12-132-0/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Add a repair step to fix broken mountsJoas Schilling2016-12-132-0/+80
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #2637 from nextcloud/mount-cache-storageidLukas Reschke2016-12-133-6/+9
|\ \ | |/ |/| also compare storage ids when checking for changed mounts
| * always use numeric storage id in cacheentryRobin Appelman2016-12-133-6/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * fix cacheentry return wrong storage idRobin Appelman2016-12-132-1/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * also compare storage ids when checking for changed mountsRobin Appelman2016-12-131-1/+6
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fixed correct filename of MoveAvatarsBackgroundJobRoeland Jago Douma2016-12-133-2/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Update autoloaderRoeland Jago Douma2016-12-134-6/+48
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #2590 from nextcloud/postgres-install-failingRoeland Jago Douma2016-12-091-5/+5
|\ | | | | Revert "Quote database and role in queries"
| * Lower the role name before using itJoas Schilling2016-12-091-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Revert "Quote database and role in queries"Joas Schilling2016-12-091-4/+4
| | | | | | | | This reverts commit 9ebd5d5bb20af9178e071c3c6f3b41d9a9bc8be0.
* | Don't use cached informations for app versionLukas Reschke2016-12-092-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | When installing an app from the appstore the `\OC_App::getAppVersion` code is triggered twice: - First when the downloader tries to compare the current version to the new version on the appstore to check if there is a newer version. This protects against downgrade attacks and is implemented in `\OC\Installer::downloadApp`. - Second, when the app is actually installed the current version is written to the database. (`\OC\Installer::installApp`) This fails however when the version is actually cached. Because in step 1 the cached version will be set to "0" and then be reused in the second step. While this is probably not the cleanest version I assume this is an approach that is least invasive. Feedback and suggestions welcome :) Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Check if the theming app is loadedJulius Haertl2016-12-091-1/+1
|/ | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Allow to overwrite the message which we already do in SubadminMiddlewareJoas Schilling2016-12-081-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #2565 from nextcloud/direct-desktop-clientsRoeland Jago Douma2016-12-081-1/+1
|\ | | | | Change URL for desktop clients directly to pop-up
| * Cahnge URL for desktop clients directly to pop-upFelix A. Epp2016-12-081-1/+1
| | | | | | | | | | | | by adding `/#install-clients` to the URL Signed-off-by: Felix A. Epp <work@felixepp.de>
* | Quote database and role in queriesLari Tikkanen2016-12-071-4/+4
|/ | | | | Fixes #1793 Signed-off-by: Lari Tikkanen <lartza@outlook.com>
* Make sure $provider is defined when we use itJoas Schilling2016-12-071-10/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #2513 from nextcloud/fix-htaccess-checksRoeland Jago Douma2016-12-061-0/+2
|\ | | | | Properly check the data dir
| * Properly check the data dirMorris Jobke2016-12-051-0/+2
| | | | | | | | | | | | * fixes #1364 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Document updater channel & check for correct PHP version in updaterMorris Jobke2016-12-061-0/+3
| | | | | | | | | | | | * see https://github.com/nextcloud/updater/issues/53 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #2520 from nextcloud/replace-stringMorris Jobke2016-12-051-2/+8
|\ \ | | | | | | Check for nextcloud version as well
| * | Check for nextcloud version as wellLukas Reschke2016-12-051-2/+8
| |/ | | | | | | | | | | The code checker didn't consider the "nextcloud" version before, resulting in fails such as https://travis-ci.org/nextcloud/richdocuments/jobs/181470760#L415-L416 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #497 from nextcloud/postgres-setup-no-adminMorris Jobke2016-12-052-39/+50
|\ \ | | | | | | handle postgres setup when we cant connect as admin
| * | handle postgres setup when we cant connect as adminRobin Appelman2016-12-052-39/+50
| |/
* | Merge pull request #2505 from nextcloud/sudo-mode-provisioning-apiMorris Jobke2016-12-051-0/+5
|\ \ | | | | | | Require sudo mode on the provisioning API
| * | Set last-login-check on basic authRoeland Jago Douma2016-12-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Else the last-login-check fails hard because the session value is not set and thus defaults to 0. * Started with tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Handle unavailable share providers more gracefulRoeland Jago Douma2016-12-051-8/+34
| |/ |/| | | | | | | | | | | | | If the sharebymail app (or the federatedshareprovider app) are disabled this kills a lot of stuff. So we should handle a share provider not begin available a bit more graceful. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #2411 from nextcloud/fix-encryption-home-storageMorris Jobke2016-12-051-2/+30
|\ \ | |/ |/| check if the file should really be encrypted before we update the file cache
| * check if the file should really be encrypted before we update the file cacheBjoern Schiessle2016-11-291-2/+30
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | [tx-robot] updated from transifexNextcloud bot2016-12-042-2/+2
| |
* | [tx-robot] updated from transifexNextcloud bot2016-12-032-0/+8
| |
* | Merge pull request #2486 from nextcloud/shared-storage-maskLukas Reschke2016-12-021-1/+1
|\ \ | | | | | | apply permissions mask for shared storage
| * | apply permissions mask for shared storageRobin Appelman2016-12-021-1/+1
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #2437 from nextcloud/update-notification-iconsMorris Jobke2016-12-021-39/+57
|\ \ \ | | | | | | | | Use an icon for the update notifications
| * | | Update versions to 11.0.0Joas Schilling2016-12-011-39/+39
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Highlight the app name in the notificationJoas Schilling2016-12-011-0/+18
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | only update the cache if the storage operation succeedsRobin Appelman2016-12-021-3/+3
| |/ / |/| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #2432 from nextcloud/activity-mail-languageMorris Jobke2016-12-011-4/+7
|\ \ \ | | | | | | | | Make sure the activity emails can be sent in the users language
| * | | Add language to the parse method for emailsJoas Schilling2016-12-011-4/+7
| |/ / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Prevent endless loop in \OC\Files\View::createParentDirectoriesLukas Reschke2016-12-011-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | \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>
* | | Merge pull request #2371 from ↵Lukas Reschke2016-12-011-0/+4
|\ \ \ | |/ / |/| | | | | | | | nextcloud/issue-2369-add-share-indicator-for-mail-shares Add share indicator for mail shares
| * | Also return the ShareByMail provider when getting allJoas Schilling2016-11-301-0/+4
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | [tx-robot] updated from transifexNextcloud bot2016-12-012-0/+8
| | |
* | | [tx-robot] updated from transifexNextcloud bot2016-11-30180-10084/+16
| | |
* | | Merge pull request #2415 from nextcloud/fix_encrypted_trash_previewsLukas Reschke2016-11-301-0/+1
|\ \ \ | | | | | | | | Ignore AppData in encryption wrapper
| * | | Ignore AppData in encryption wrapperRoeland Jago Douma2016-11-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes part of #2407 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #2405 from nextcloud/add-avatar-job-onceRoeland Jago Douma2016-11-302-9/+17
|\ \ \ \ | | | | | | | | | | Execute MoveAvatars repair step only once