summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/util.php
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | Fix testsRoeland Jago Douma2016-11-151-15/+9
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Do not cache version info in the sessionsRoeland Jago Douma2016-11-151-29/+32
| | | | | | | | | | | | | | | | | | If the session is cleared and closed for whatever reason the loadVersion will write to the session anyways. This will lead to an exception. This should fix #1303 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | We need to ensure that the app holding the objectstore implementation is ↵Thomas Müller2016-11-141-0/+5
|/ | | | loaded - fixes owncloud/objectstore#38
* Add update supportLukas Reschke2016-10-311-0/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Move away from OC_L10NRoeland Jago Douma2016-10-281-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove checks whether OC is running on Windows pt. 2RealRancor2016-10-241-18/+0
|
* Move OC\Files\Storage\Shared to the right namespaceJoas Schilling2016-10-201-3/+2
|
* Kill users with the reserved name on loginRoeland Jago Douma2016-10-051-1/+11
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Graceful error handling and loggingLukas Reschke2016-09-251-1/+16
| | | | | | | | Right now a failed "copyr" will result in the error log being spammed with not really helpful error messages. Also situations such as `$dir` returning `false` are not really caught. This adds more error handling and logging to make debugging such situations easier. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Deprecate getEditionString()Joas Schilling2016-09-061-9/+2
|
* Merge pull request #1054 from nextcloud/less-cache-hitsLukas Reschke2016-08-271-0/+1
|\ | | | | Reduce the number of cache operations for dav operations
| * cache user foldersRobin Appelman2016-08-251-0/+1
| |
* | prevent infinite redirect loops if the there is no 2fa provider to passChristoph Wurst2016-08-241-1/+1
|/ | | | | | | This fixes infinite loops that are caused whenever a user is about to solve a 2FA challenge, but the provider app is disabled at the same time. Since the session value usually indicates that the challenge needs to be solved before we grant access we have to remove that value instead in this special case.