summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
Commit message (Collapse)AuthorAgeFilesLines
* pass through ServerNotAvailableException on app initArthur Schiwon2019-11-141-0/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Always check via http and https whether htaccess is workingJoas Schilling2019-11-121-1/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* actually return the quote when getting global storage infoRobin Appelman2019-11-071-2/+7
| | | | | | prevents 'undefined' index errors when 'include external storage in quota' is enabled Signed-off-by: Robin Appelman <robin@icewind.nl>
* Prevent faulty logs from nested setupFS callsJoas Schilling2019-06-211-2/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use non-absolute logout URL to fix wrong URL in reverse proxy scenarioMorris Jobke2019-05-081-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Improve data directory write checking for NFS mountsRobert Dailey2019-01-301-7/+15
| | | | | | | | | | | | | If `is_writable()` fails, fall back to logic that attempts to create a file and then checks if it exists. If this check fails, an error occurs as it did before. Discussion on this solution was found here: https://help.nextcloud.com/t/write-errors-for-nfs-mount/23328 Fixes #7124 Signed-off-by: Robert Dailey <rcdailey@gmail.com>
* Change doc link for 15Daniel Kesselberg2018-12-101-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* PHP module is named mbstringMorris Jobke2018-12-041-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Set Referrer-Policy also in addSecurityHeaders()Peter Kraume2018-11-291-0/+1
| | | | | Fix: #12689 Signed-off-by: Peter Kraume <peter.kraume@gmx.de>
* Fix string doc type casingChristoph Wurst2018-11-151-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use numeric placeholders if there are multiple, so that RTL languages can ↵Joas Schilling2018-10-091-1/+1
| | | | | | operate better Signed-off-by: Joas Schilling <coding@schilljs.com>
* Deprecate unused, private OC_Helper::linkToPublicMorris Jobke2018-10-081-17/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #10898 from ↵Morris Jobke2018-10-081-2/+2
|\ | | | | | | | | nextcloud/feature/10684/default-logo-color-theme-colors Switches the default logo color depending on the primary color
| * Moves the logo files to logoMichael Weimann2018-10-021-2/+2
| | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | Merge pull request #11613 from nextcloud/add-missing-throw-statementMorris Jobke2018-10-041-1/+2
|\ \ | | | | | | add missing throw statement to doc block
| * | add missing throw statement to doc blockBjoern Schiessle2018-10-041-1/+2
| | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | Remove unused code in legacy classesMorris Jobke2018-10-032-80/+24
| |/ |/| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Dont use find to lookup binariesDaniel Kesselberg2018-09-291-14/+1
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Compile contactmenu handlebars templatesRoeland Jago Douma2018-09-271-0/+1
|/ | | | | | | | | | Fixes #11029 For https://github.com/orgs/nextcloud/projects/18 Ship the compiled handlebars templates. This makes it possible to have a scricter CSP. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* add back-end as parameter to the pre-login hookBjoern Schiessle2018-09-141-1/+1
| | | | | | | | | This is needed for the Global Scale setup to allow the master node to perform different operations during login, depending on the user management. Because in case of SAML, the authentication at the idp happens at the master node. Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* also catch exceptions when loading appsRobin Appelman2018-08-241-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Drop support for xcacheDaniel Kesselberg2018-08-121-8/+0
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Check if HTTP_USER_AGENT is set before using itRoeland Jago Douma2018-08-081-0/+4
| | | | | | | Sentry reported some errors regarding this. Apparently not everybody sets a user agent. If it is not set we assume this is not IE ;) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #8380 from nextcloud/bugfix/noid/reenable-disabled-appsMorris Jobke2018-07-251-0/+2
|\ | | | | Re-enable apps that got automatically disabled while updating
| * Re-enable apps that got automatically disabled while updatingJoas Schilling2018-06-261-0/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Design structure fixesJohn Molakvoæ (skjnldsv)2018-07-211-0/+10
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #8188 from arnowelzel/masterMorris Jobke2018-07-201-2/+2
|\ \ | | | | | | Avoid error messages for restricted opcache API
| * | Avoid error messages for restricted opcache APIArno Welzel2018-02-051-2/+2
| | |
* | | Fix accessibility invertJohn Molakvoæ (skjnldsv)2018-07-191-2/+9
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Try to not run into the white page of death and still log something in the ↵Morris Jobke2018-06-291-3/+15
| | | | | | | | | | | | | | | | | | web server error log Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Do not use HTTP code OC_Response constants anymoreMorris Jobke2018-06-261-9/+0
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Replace hardcoded status headers with calls to http_response_code()Morris Jobke2018-06-263-40/+6
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Server exception error pages by default with a 500 status codeMorris Jobke2018-06-261-29/+5
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Server error/hint pages with a 500 error code to avoid it being seen instead ↵Morris Jobke2018-06-262-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | of the actual resource * found while reviewing #7205 * allow to specify a special status code Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Change status code when config is write protectedEric Masseran2018-06-261-1/+3
| |/ |/| | | | | | | | | | | | | | | | | Add hint msg, you can make config file read only If the config.php is not writable, print an error message: #6893 - set config writable - or set option to keep it read only Signed-off-by: Eric Masseran <rico.masseran@gmail.com>
* | Merge pull request #9518 from ↵Roeland Jago Douma2018-06-211-1/+1
|\ \ | | | | | | | | | | | | nextcloud/feature/5986/public_share_controller_middleware Public share middleware & controller
| * | Move public preview endpoint overRoeland Jago Douma2018-06-201-1/+1
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Split css variables and fix url variablesJohn Molakvoæ (skjnldsv)2018-06-201-0/+1
|/ / | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Added new search standardJohn Molakvoæ (skjnldsv)2018-06-191-0/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Better design for core search, fixes and style to scssJohn Molakvoæ (skjnldsv)2018-06-191-0/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Properly clear cacheJulius Härtl2018-06-061-0/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Implement update functionalityJulius Härtl2018-06-061-0/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Get correct version of an appRoeland Jago Douma2018-05-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Related to #8929 We should get the version of the app. Not of the appfolder. Else there is no way to properly compare the versions. Now note that installing in 1 go will still fail. But at least on the next page load the new version will be properly detected. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Make it possible to make external storages read onlyRoeland Jago Douma2018-05-011-0/+17
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | move log constants to ILoggerArthur Schiwon2018-04-265-16/+23
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix appinfo parsing when a single localized option is providedRobin Appelman2018-04-171-0/+5
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Use zip32 only if there are less than 65536 filesDaniel Calviño Sánchez2018-04-061-4/+33
| | | | | | | | | | | | | | A zip32 file can contain, at most, 65535 files (and folders), so take that constraint into account. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Use zip32 if possibleRoeland Jago Douma2018-04-061-3/+14
| | | | | | | | | | | | | | | | | | * OSX doesn't handle 64zip that well * Some other implentations don't handle it perfectly either * If the file is belog 4GiB (some overhead) => zip32 * This covers the 99% case I bet Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #8976 from nextcloud/dep_user_codeRoeland Jago Douma2018-03-281-19/+2
|\ \ | | | | | | Remove deprecated functions from OCP\User
| * | Remove deprecated OCP\User::getDisplaynameRoeland Jago Douma2018-03-251-0/+2
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>