summaryrefslogtreecommitdiffstats
path: root/lib/private/util.php
Commit message (Collapse)AuthorAgeFilesLines
* Move login form into controllerLukas Reschke2016-04-151-39/+2
| | | | First step on getting the authorisation stuff cleaned up. This is only for the login form, all other stuff is still where it is.
* lib: Fix typos (found by codespell)Stefan Weil2016-04-071-1/+1
| | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Consistently use rel=noreferrerLukas Reschke2016-03-201-4/+4
| | | | When linking to external entities we should consistently use rel=noreferrer
* Require at least libxml 2.7.0Lukas Reschke2016-03-121-0/+8
| | | | Fixes https://github.com/owncloud/core/issues/23168
* Add XMLReader as requirementLukas Reschke2016-03-091-1/+2
| | | | | | | | The SabreDAV release in 9.0 requires XMLReader, while this is usually compiled in by default some distributions like Gentoo don't. Without this ownCloud gives a fatal 500 error instead of telling people to enable XMLReader. Fixes https://github.com/owncloud/core/issues/23003
* Fix share mounting recursionVincent Petry2016-03-081-1/+1
|
* Remove Scrutinizer Auto FixerLukas Reschke2016-03-011-1/+0
|
* Update author informationLukas Reschke2016-03-011-1/+1
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* getRootFolder should not setup the FS for any userRoeland Jago Douma2016-02-181-1/+3
| | | | | | | | | | | | | Fixes #22467 This can go wrong when an app (take the ldap app) DIs something that needs the rootFolder. This break if we use cookie auth since then we know the user at that point and thus try to setup the fs for that user. However if there are then incomming shares from an ldap user they will fails since the user manager can't find them yet. Now getRootFolder does not setup the fs for any user.
* refactoring codeVincent Chan2016-02-101-0/+1
|
* Consolidate getQuota and setQuota methods in User instanceArthur Schiwon2016-02-091-5/+1
|
* Add mount option to disable sharingRobin Appelman2016-01-291-0/+10
|
* Add new CSRF manager for unit testing purposesLukas Reschke2016-01-251-36/+0
| | | | This adds a new CSRF manager for unit testing purposes, it's interface is based upon https://github.com/symfony/security-csrf. Due to some of our required custom changes it is however not possible to use the Symfony component directly.
* Happy new year!Thomas Müller2016-01-121-2/+4
|
* getMediumStrengthGenerator is deprecated and does not do anything anymoreRoeland Jago Douma2016-01-111-2/+2
|
* getLowStrengthGenerator does not do anything anymoreRoeland Jago Douma2016-01-111-1/+1
|
* Revert "Remove unneeded check if htaccess test file already exists"Lukas Reschke2016-01-111-0/+4
|
* Remove generateRandomBytes from OC_UtilRoeland Jago Douma2016-01-101-12/+0
|
* Merge pull request #21479 from owncloud/fix-broken-state-in-htaccess-testThomas Müller2016-01-081-4/+0
|\ | | | | Remove unneeded check if htaccess test file already exists
| * Remove unneeded check if htaccess test file already existsMorris Jobke2016-01-061-4/+0
| | | | | | | | * fixes #20199
* | Merge pull request #21292 from owncloud/checkAppEnabled-not-needed-anymoreThomas Müller2016-01-081-14/+0
|\ \ | | | | | | core will handle invalid URLs and redirects properly
| * | core will handle invalid URLs and redirects properlyMorris Jobke2015-12-181-14/+0
| | |
* | | Allow downgrades for our brave developers, that switch between branchesJoas Schilling2016-01-071-0/+14
| |/ |/|
* | Refactor OC_Util::callCheckMorris Jobke2015-12-221-22/+0
| |
* | Use OCP\Util::getVersion instead of the internal private implementationMorris Jobke2015-12-181-1/+1
|/
* Merge pull request #21283 from owncloud/cleanup_configThomas Müller2015-12-181-6/+6
|\ | | | | Cleanup OC_Config mess
| * Use SystemConfig internallyRoeland Jago Douma2015-12-181-6/+6
| |
| * Get rid of legacy OC_ConfigRoeland Jago Douma2015-12-181-6/+6
| | | | | | | | | | We were still using the lecagy class OC_Config all over the place. Which was a wrapper around the new class OC\Config
* | properly use OCP\Util instead of OC_HelperMorris Jobke2015-12-181-4/+4
|/
* Remove deprecated function OC_User::getManagerRoeland Jago Douma2015-12-171-1/+1
| | | | | Private deprecated function => removed Replaced all instances with suggested replacement
* Check if user isset in $_REQUEST firstRobin Appelman2015-12-141-3/+5
|
* Add support for read only config dirLukas Reschke2015-12-091-7/+9
| | | | | | | | | | We already support the `config_is_read_only` for the config file itself. However not for the whole directory (which is a bug). This unifies the check in the checkServer routine with the one in base.php. Now one can enable a read only config folder so that ownCloud is not allowed to overwrite it's own source code. To test this set the whole config folder to read only, clear your session, refresh, see it fails, add the new code, refresh, see it works. Also verify that setup still works fine. (obviously setup does not work with a read only config Also verify that setup still works fine. (obviously setup does not work with a read only config)) Fixes https://github.com/owncloud/core/issues/14455
* Get rid of passing a referenceLukas Reschke2015-12-081-4/+6
| | | | Fixes https://github.com/owncloud/core/issues/14643
* Allow specifying a custom reset-password-urlJoas Schilling2015-12-071-3/+5
|
* Remove password reset when the user can not change the passwordJoas Schilling2015-12-071-0/+6
|
* Merge pull request #20960 from owncloud/drop-OC_Util-getUrlContentThomas Müller2015-12-071-18/+5
|\ | | | | Remove OC_Util::getUrlContent and replace by proper usage of public i…
| * Remove OC_Util::getUrlContent and replace by proper usage of public interfacesMorris Jobke2015-12-041-18/+5
| |
* | Merge pull request #11131 from owncloud/use-phpini-wrapperThomas Müller2015-12-071-1/+1
|\ \ | |/ |/| Replacing ini_get instances with inigetwrapper usages
| * Replace new occurences of ini_get with IniWrapper methodsMorris Jobke2015-11-231-1/+1
| |
* | Merge pull request #19461 from owncloud/reuse_codeThomas Müller2015-12-031-43/+38
|\ \ | | | | | | reuse code
| * | reuse codeIndividual IT Services2015-11-231-43/+38
| |/
* | Support pretty URLsLukas Reschke2015-12-011-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | This changeset allows ownCloud to run with pretty URLs, they will be used if mod_rewrite and mod_env are available. This means basically that the `index.php` in the URL is not shown to the user anymore. Also the not deprecated functions to generate URLs have been modified to support this behaviour, old functions such as `filePath` will still behave as before for compatibility reasons. Examples: http://localhost/owncloud/index.php/s/AIDyKbxiRZWAAjP => http://localhost/owncloud/s/AIDyKbxiRZWAAjP http://localhost/owncloud/index.php/apps/files/ => http://localhost/owncloud/apps/files/ Due to the way our CSS and JS is structured the .htaccess uses some hacks for the final result but could be worse... And I was just annoyed by all that users crying for the removal of `index.php` ;-)
* | Untangle the linkToDocs method in OC_HelperMorris Jobke2015-11-261-4/+7
|/ | | | | * now uses the proper URLGenerator interface * add comment about DI problems
* Merge pull request #20524 from owncloud/pgsql-version-check-errorThomas Müller2015-11-231-6/+3
|\ | | | | assume pgsql >=9 if checking the version fails
| * assume pgsql >=9 if checking the version failsRobin Appelman2015-11-161-6/+3
| |
* | Fix failing unit test :skull:Thomas Müller2015-11-191-1/+1
| |
* | Use mocks when testing isSharingDisabledForUserThomas Müller2015-11-191-8/+14
|/
* Merge pull request #17920 from andyboeh/masterThomas Müller2015-11-121-0/+1
|\ | | | | Add possibility for alternative logins to force redirection of login page
| * Add hook 'pre_displayLoginPage'Andreas Böhler2015-07-281-8/+1
| |
| * Add possibility for alternative logins to force redirection of login pageAndreas Böhler2015-07-281-0/+8
| |