summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/util.php
Commit message (Collapse)AuthorAgeFilesLines
* 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-031-61/+24
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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>
* 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>
* | 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>
* | 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-261-4/+5
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Use proper method to format absolute timestampMorris Jobke2018-03-121-23/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Simplify ternary operator statementsMorris Jobke2018-01-261-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove IAppConfig::getValueRoeland Jago Douma2018-01-171-3/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Cleanup OC_User and OCP\UserMorris Jobke2018-01-161-1/+1
| | | | | | * mainly removes deprecated methods and old static code Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove deprecated \OCP\ConfigRoeland Jago Douma2018-01-131-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #7334 from ↵blizzz2017-12-081-1/+17
|\ | | | | | | | | nextcloud/feature/noid/language-depending-skeleton-directory Allow `{lang}` as a placeholder in the skeleton directory
| * Fallback to "default" and check if directory existsMorris Jobke2017-12-081-1/+4
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Allow `{lang}` as a placeholder in the skeleton directoryJoas Schilling2017-11-291-1/+14
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Allow to skip data dir permission checks by configArthur Schiwon2017-11-301-1/+4
|/ | | | | | | Enables installation on services that don't allow/support permission changes. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Get the Installer via DIMorris Jobke2017-11-251-2/+9
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use basename() instead of self implementationMorris Jobke2017-11-231-10/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Change @georgehrke's emailMorris Jobke2017-11-061-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-2/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Some more invalid PHPDocs in legacy classesLukas Reschke2017-08-011-3/+2
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Replace wrong PHPDocsLukas Reschke2017-08-011-3/+16
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Use IConfig instead of static OCP\ConfigMorris Jobke2017-07-271-2/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update setupchecks.jsrakekniven2017-05-311-2/+2
| | | | | | | | | | | Fixed typo and removed doclink symbol. Reported at transifex Update util.php Another l10n improvement from transifex. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Setup root FS for multibucket object storageMorris Jobke2017-05-101-1/+46
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix missing placeholder for doc linkJoas Schilling2017-05-101-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix escaped HTML on error pagesMorris Jobke2017-05-081-12/+8
| | | | | | * fixes #4655 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use regex to detect part filesVincent Petry2017-04-261-2/+2
|
* #7496 Don`t allow upload of files with extension .partIlja Neumann2017-04-261-0/+6
|
* Fix translationsJoas Schilling2017-04-181-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #4256 from nextcloud/themingLukas Reschke2017-04-111-1/+1
|\ | | | | Move OC_Defaults to OCP\Defaults
| * Move OC_Defaults to OCP\DefaultsMorris Jobke2017-04-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * currently there are two ways to access default values: OCP\Defaults or OC_Defaults (which is extended by OCA\Theming\ThemingDefaults) * our code used a mixture of both of them, which made it hard to work on theme values * this extended the public interface with the missing methods and uses them everywhere to only rely on the public interface Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Lowercase "data" correctlyJoas Schilling2017-04-101-6/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | removed path to datadirKawohl2017-04-041-13/+13
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Redirect to 2FA selection screenChristoph Wurst2017-04-031-2/+2
| | | | | | | | | | | | Apps like 'rainloop' use \OCP\Util::isLoggedIn() to check whether the current request is authenticated. Since we redirected to the index page before, it resulted in an infinite redirection loop. This change sets the redirection URL to the 2FA selection page, which is the only allowed page in that authentication state. Fixes https://github.com/nextcloud/server/issues/3702 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use SystemConfig instead of AllConfig for DB stuffMorris Jobke2017-03-191-11/+11
| | | | | | * preparation for followup PRs to clean up the DB bootstrapping Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove deprecated OC_User::isLoggedInSebastian Wessalowski2017-03-021-2/+2
| | | | Signed-off-by: Sebastian Wessalowski <sebastian@wessalowski.org>
* always allow remembered loginChristoph Wurst2017-01-111-21/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Only show version in settings - do not list channelMorris Jobke2016-12-221-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Properly check the data dirMorris Jobke2016-12-051-0/+2
| | | | | | * fixes #1364 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #2066 from nextcloud/fix-redirect-double-encodingMorris Jobke2016-11-291-1/+1
|\ | | | | do not double encode the redirect url
| * do not double encode the redirect urlChristoph Wurst2016-11-091-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use correct channel informationMorris Jobke2016-11-291-7/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Add system config htaccess.IgnoreFrontController for prettyURLs w/o mod_envFelix Epp2016-11-161-3/+4
| | | | | | | | | | | | | | Added the system config which sets all conditions to true that query the FrontControllerActive mod_env variable. Signed-off-by: Felix A. Epp <work@felixepp.de>