summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
Commit message (Collapse)AuthorAgeFilesLines
* Make the auto-disabled list more broadJoas Schilling2019-08-151-3/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* instead of upsert, fallback to default query on PgSQL <= 9.4Arthur Schiwon2019-08-141-2/+2
| | | | | | because there is no upsert yet Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Remove duplicated spacesJ0WI2019-08-111-1/+1
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Sort headersJ0WI2019-08-111-4/+4
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Add X-Frame-Options header to .htaccessJ0WI2019-08-111-1/+1
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Merge pull request #16461 from nextcloud/fix/noid/pgsql-versionRoeland Jago Douma2019-07-261-2/+2
|\ | | | | fixes the check for postgresql
| * fixes the check for postgresqlArthur Schiwon2019-07-181-2/+2
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Removes unused OC_API::registerMorris Jobke2019-07-181-30/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #15540 from ↵Joas Schilling2019-06-211-2/+3
|\ | | | | | | | | nextcloud/bugfix/noid/prevent-faulty-logs-from-nested-setupFS-calls Prevent faulty logs from nested setupFS calls
| * Prevent faulty logs from nested setupFS callsJoas Schilling2019-05-151-2/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix missing login hook wih Apache/SAMLChristoph Wurst2019-06-111-1/+9
|/ | | | | | | | | Without this patch the hook does not transport the information whether the login is done with an app password or not. The suspicious login app requires the parameter to function correctly, hence adding it will make suspicious login detection also possible with SAML users. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Show supported apps in app managementMorris Jobke2019-05-131-0/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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>
* Forbid eval on legacy responsesRoeland Jago Douma2019-04-091-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* allow enforcing apps to ignore the max versionRoeland Jago Douma2019-03-201-4/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove the upload and memory settingJoas Schilling2019-03-042-108/+0
| | | | | | | | | | * Remove unneeded private method phpFileSize() * Bump autoloader * Remove setUploadLimit tests * Remove integrity check hacks for upload limit Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make sure maintenance mode is always casted to boolJoas Schilling2019-02-221-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move jquery.ocdialog.scss to bundleRoeland Jago Douma2019-02-141-1/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move jquery-ui-fixes to bundleRoeland Jago Douma2019-02-141-1/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move the contactsmenu handlebars templates to the bundleRoeland Jago Douma2019-02-041-1/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not try to load js moved to bundleRoeland Jago Douma2019-02-011-2/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #13927 from nextcloud/remove-dead-codeMorris Jobke2019-02-011-50/+0
|\ | | | | Don't call apc_delete_file and apc_clear_cache anymore
| * Remove deleteFromOpcodeCache & clearOpcodeCacheDaniel Kesselberg2019-01-301-31/+0
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * Don't call apc_delete_file and apc_clear_cache anymoreDaniel Kesselberg2019-01-301-25/+6
| | | | | | | | | | | | | | There is no apc for PHP7+ so there is no need to check if exist. accelerator_reset looks even more ancient. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Improve data directory write checking for NFS mountsRobert Dailey2019-01-241-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>
* Urlencode the requesttokenRoeland Jago Douma2019-01-231-1/+1
| | | | | | Followup of #13757 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Request plain logout urlRoeland Jago Douma2019-01-231-6/+2
| | | | | | | By requesting the plain logout url we allow it to be properly cached by the caching router. We just add the requesttoken manually. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update select2, include cssChristoph Wurst2019-01-091-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove core.jsChristoph Wurst2019-01-091-20/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Npmize (vendor) scriptsChristoph Wurst2019-01-091-3/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use OC_Util::getVersion instead of getSystemValueDaniel Kesselberg2018-12-071-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Use version to generate docversionDaniel Kesselberg2018-12-071-4/+3
| | | | 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-271-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>