aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/api.php
Commit message (Collapse)AuthorAgeFilesLines
* Move legacy classes from PSR0 to PSR4Christoph Wurst2020-04-071-189/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-6/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-5/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Removes unused OC_API::registerMorris Jobke2019-07-181-30/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Replace hardcoded status headers with calls to http_response_code()Morris Jobke2018-06-261-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unused methods and constants from legacy OC_APIMorris Jobke2018-03-121-277/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* OC_OCS_Response is deprecatedRoeland Jago Douma2017-09-211-7/+7
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use public methods for OC_App::isShippedMorris Jobke2017-08-011-3/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Refactor auth methodsJörn Friedrich Dreyer2017-04-261-12/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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.
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-34/+4
|
* Implement brute force protectionLukas Reschke2016-07-201-1/+1
| | | | | | | | | Class Throttler implements the bruteforce protection for security actions in Nextcloud. It is working by logging invalid login attempts to the database and slowing down all login attempts from the same subnet. The max delay is 30 seconds and the starting delay are 200 milliseconds. (after the first failed login)
* Allow login by email address via webdav as well - fixes #24791Thomas Müller2016-06-091-2/+2
|
* block OCS if 2FA challenge needs to be solved firstChristoph Wurst2016-06-011-0/+4
|
* Update license headersLukas Reschke2016-05-261-2/+4
|
* fix PHPDoc and other minor issuesChristoph Wurst2016-05-111-1/+1
|
* pass in $request on OCS apiChristoph Wurst2016-05-111-1/+2
|
* Add token auth for OCS APIsChristoph Wurst2016-05-111-27/+16
|
* OCS API should catch LoginExceptionsRoeland Jago Douma2016-05-021-1/+5
| | | | | Catching the login exception and returning false (login failed). Makes the OCS API properly return data instead of printing the exception page.
* Move non PSR-4 files from lib/private root to legacyRoeland Jago Douma2016-04-301-0/+533
As discussed we move all old style classes (OC_FOO_BAR) to legacy. Then from there we can evaluate the need to convert them back or if they can be fully deprecated/deleted.