summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4380 from nextcloud/show-instance-name-in-fromMorris Jobke2017-04-181-1/+1
|\ | | | | Add instance name to default sender
| * Add instance name to default senderLukas Reschke2017-04-181-1/+1
| | | | | | | | | | | | Otherwise your mail program shows "foo@mail.com" instead of "Nextcloud" or whatever your instance name is. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Don't put the SMTP password into the HTML codeJoas Schilling2017-04-181-0/+4
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #2834 from nextcloud/accesListToShareManagerMorris Jobke2017-04-155-23/+465
|\ | | | | Access list to share manager
| * Fix server container registrationRoeland Jago Douma2017-04-131-1/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Not needed in the DIContainer anymoreRoeland Jago Douma2017-04-131-6/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Do not set full path if not currentAccessRoeland Jago Douma2017-04-131-6/+11
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Add samples to the docsJoas Schilling2017-04-131-0/+38
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Catch exceptions and use as many results as possibleJoas Schilling2017-04-131-24/+59
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Adjust docs and make !$currentAccess simplerJoas Schilling2017-04-133-12/+33
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Fix default share providerJoas Schilling2017-04-131-6/+7
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Fix tests for ShareHelperJoas Schilling2017-04-131-0/+15
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Fix returned paths for remote sharesJoas Schilling2017-04-131-20/+9
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Return the token as wellJoas Schilling2017-04-131-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Also return the tokenJoas Schilling2017-04-131-5/+11
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Return the paths for the users without setting them all upJoas Schilling2017-04-134-40/+152
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Fix commentsRoeland Jago Douma2017-04-133-1/+14
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Add mail element to access listRoeland Jago Douma2017-04-132-4/+12
| | | | | | | | | | | | | | | | * Each provider just returns what they have so adding an element won't require changing everything * Added tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Offload acceslist creation to providersRoeland Jago Douma2017-04-132-41/+92
| | | | | | | | | | | | | | | | * This allows for effective queries. * Introduce currentAccess parameter to speciy if the users needs to have currently acces (deleted incomming group share). (For notifications) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Added ShareHelperRoeland Jago Douma2017-04-131-0/+64
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Port Encryption/file to new getAccessListRoeland Jago Douma2017-04-132-7/+32
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Added to public interfaceRoeland Jago Douma2017-04-131-4/+11
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Add owner to access listRoeland Jago Douma2017-04-131-1/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Add getAccessList to ShareManagerRoeland Jago Douma2017-04-131-5/+62
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #4330 from nextcloud/activities-for-password-mail-changeRoeland Jago Douma2017-04-143-5/+15
|\ \ | | | | | | Add activities when email or password is changed
| * | Allow to read the old email on the hook as wellJoas Schilling2017-04-132-5/+6
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Add activities when email or password is changedJoas Schilling2017-04-131-0/+9
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Make BruteForceProtection annotation more cleverLukas Reschke2017-04-133-17/+98
| | | | | | | | | | | | | | | | This makes the new `@BruteForceProtection` annotation more clever and moves the relevant code into it's own middleware. Basically you can now set `@BruteForceProtection(action=$key)` as annotation and that will make the controller bruteforce protected. However, the difference to before is that you need to call `$responmse->throttle()` to increase the counter. Before the counter was increased every time which leads to all kind of unexpected problems. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #4326 from nextcloud/downstream-27562Morris Jobke2017-04-132-5/+6
|\ \ | | | | | | Reorder the entries of the log for easier reading
| * | Use constantsJoas Schilling2017-04-132-2/+2
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Reorder the entries of the log for easier readingJuan Pablo Villafáñez2017-04-122-6/+7
| | |
* | | Merge pull request #4308 from nextcloud/lost-password-emailLukas Reschke2017-04-131-2/+13
|\ \ \ | | | | | | | | Update email template for lost password email
| * | | Update email template for lost password emailMorris Jobke2017-04-121-2/+13
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Merge pull request #2424 from ↵Morris Jobke2017-04-132-43/+55
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/fix-login-controller-test-consolidate-login Fix login controller test and consolidate login
| * | | | Improve PHPDocMorris Jobke2017-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | | use known LockdownManagerArthur Schiwon2017-04-061-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | | Save correct login nameArthur Schiwon2017-04-061-1/+8
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | | Add method to $methodsWithSensitiveParametersMorris Jobke2017-04-061-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | | don't regenerate Session ID twice, also fixes testsArthur Schiwon2017-04-061-4/+7
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | | regenerate session id on successful login, fixes integration testArthur Schiwon2017-04-061-0/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | | do login routine only once when done via LoginControllerArthur Schiwon2017-04-061-43/+40
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | | Remove expired attemptsLukas Reschke2017-04-132-12/+32
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | | | Move to dedicated MiddleWareLukas Reschke2017-04-133-38/+160
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | | | Add isset() as it can be an empty resultLukas Reschke2017-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | | | Register in ServerContainerLukas Reschke2017-04-132-18/+15
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | | | Add support for ratelimiting via annotationsLukas Reschke2017-04-139-108/+483
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows adding rate limiting via annotations to controllers, as one example: ``` @UserRateThrottle(limit=5, period=100) @AnonRateThrottle(limit=1, period=100) ``` Would mean that logged-in users can access the page 5 times within 100 seconds, and anonymous users 1 time within 100 seconds. If only an AnonRateThrottle is specified that one will also be applied to logged-in users. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | | Merge pull request #3966 from nextcloud/downstream-26570Lukas Reschke2017-04-131-2/+12
|\ \ \ \ | | | | | | | | | | Override config.php values through environment variables
| * | | | Check for boolean false and add testsMorris Jobke2017-04-041-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | | OC_ -> NC_Morris Jobke2017-04-041-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | | Override config.php values through ENV variables (#26570)Philipp Schaffrath2017-04-041-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added functionality to override config.php values with 'OC_' prefixed environment variables * use getenv to read environment variables since apache does not set $_ENV variables, fixed test Signed-off-by: Morris Jobke <hey@morrisjobke.de>