summaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* Mark IP as whitelisted if brute force protection is disabledLukas Reschke2017-05-011-8/+51
| | | | | | | | Currently, when disabling the brute force protection no new brute force attempts are logged. However, the ones logged within the last 24 hours will still be used for throttling. This is quite an unexpected behaviour and caused some support issues. With this change when the brute force protection is disabled also the existing attempts within the last 24 hours will be disregarded. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Rename “Server settings” to “Basic settings”Marius Blüm2017-04-291-2/+2
| | | | | | * fixes #4587 Signed-off-by: Marius Blüm <marius@lineone.io>
* UserManager can now count disabled usersArthur Schiwon2017-04-291-0/+25
| | | | | | Users page takes advantage of that Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix email verification statusBjoern Schiessle2017-04-281-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* updated unit testsBjoern Schiessle2017-04-281-6/+50
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Merge pull request #4522 from nextcloud/downstream-27596Morris Jobke2017-04-271-5/+11
|\ | | | | Allow to create a user for a specific backend
| * Use the new method in the old one to remove duplicate codeJoas Schilling2017-04-271-5/+11
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #4501 from nextcloud/downstream-27144Morris Jobke2017-04-261-9/+13
|\ \ | | | | | | Add duration of last job execution to the table
| * | Add duration of last job execution to the tableNoveen Sachdeva2017-04-251-9/+13
| | |
* | | Merge pull request #4515 from nextcloud/downstream-27643Morris Jobke2017-04-262-0/+120
|\ \ \ | | | | | | | | Adjust query/event logging code in favour of more complex owncloud/di…
| * | | Adjust query/event logging code in favour of more complex ↵Piotr Mrówczyński2017-04-262-0/+120
| | |/ | |/| | | | | | | | | | | | | | | | owncloud/diagnostics (#27643) * Adjust query/event logging code in favour of more complex owncloud/diagnostics * Add descriptions to IQueryLogger and IEventLogger interfaces
* | | Merge pull request #4526 from nextcloud/downstream-27269Morris Jobke2017-04-261-32/+42
|\ \ \ | | | | | | | | Don`t allow upload of files with extension .part
| * | | Use regex to detect part filesVincent Petry2017-04-261-32/+42
| |/ /
* | | Add SocialSharingBundleLukas Reschke2017-04-262-0/+42
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Add tests for repairstepLukas Reschke2017-04-261-0/+144
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Add spreed to Groupware bundleLukas Reschke2017-04-261-0/+1
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Add tests for bundle codeLukas Reschke2017-04-265-0/+250
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Adjust testsLukas Reschke2017-04-261-4/+13
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | fix ContactsStoreTestGeorg Ehrke2017-04-261-5/+10
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | add contactsmenu popoverGeorg Ehrke2017-04-262-0/+135
|/ / | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Merge pull request #4449 from stweil/mimetypesMorris Jobke2017-04-261-0/+21
|\ \ | | | | | | Add mimetypes for jp2 and webp
| * | Add test code for new image mime typesStefan Weil2017-04-251-0/+21
| |/ | | | | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* | Merge branch 'master' into contactsmenuJan-Christoph Borchardt2017-04-261-1/+49
|\ \ | | | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
| * | Trigger change when a user is enabled/disabledJoas Schilling2017-04-251-1/+49
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Adjust entry unit test to newly added avatar propertyChristoph Wurst2017-04-251-0/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use absolute URI for action iconsChristoph Wurst2017-04-251-3/+16
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Don't show contacts an entry for themselvesChristoph Wurst2017-04-252-10/+49
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Let apps register contact menu provider via info.xmlChristoph Wurst2017-04-252-8/+62
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Contacts menuChristoph Wurst2017-04-257-0/+642
|/ | | | | | | * load list of contacts from the server * show last message of each contact Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #3531 from nextcloud/theming-scssMorris Jobke2017-04-251-23/+33
|\ | | | | Theming using SCSS variables
| * Implement scss variable injection by OC_DefaultsJulius Haertl2017-04-251-23/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net> Add Scss variables to example theme and theming app Signed-off-by: Julius Haertl <jus@bitgrid.net> Use SCSSCacher to build theming css Signed-off-by: Julius Härtl <jus@bitgrid.net> Update theming.scss Signed-off-by: Julius Härtl <jus@bitgrid.net> Code cleanup Signed-off-by: Julius Härtl <jus@bitgrid.net> Fix tests Signed-off-by: Julius Härtl <jus@bitgrid.net> Inject SCSSCacher for easier testing Signed-off-by: Julius Härtl <jus@bitgrid.net> Fix typehint Signed-off-by: Lukas Reschke <lukas@statuscode.ch> Generate absolute URLs Signed-off-by: Lukas Reschke <lukas@statuscode.ch> Fix tests to always use absolute urls for theming images Signed-off-by: Julius Härtl <jus@bitgrid.net> MailheaderColor -> ColorPrimary Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #4462 from danxuliu/fix-sharing-password-protected-linkRoeland Jago Douma2017-04-251-2/+94
|\ \ | |/ |/| Fix sharing a password protected link
| * Add missing unit test for updateShare with email shareDaniel Calviño Sánchez2017-04-241-0/+75
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Add missing hook checkDaniel Calviño Sánchez2017-04-241-2/+13
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Fix double hashing of shared link passwordsDaniel Calviño Sánchez2017-04-241-0/+6
| | | | | | | | | | | | | | | | | | | | The plain text password for a shared links was hashed and, then, the hashed password was hashed again and set as the final password. Due to this the password introduced in the "Authenticate" page for the shared link was always a wrong password, and thus the file could not be accessed. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add unit tests for mounts of delete usersJoas Schilling2017-04-241-0/+24
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure we use a new encryption module all the timeJoas Schilling2017-04-201-7/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use the correct Dummy and Backend classJoas Schilling2017-04-201-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Kill dead codeJoas Schilling2017-04-201-125/+0
| | | | | | > No tests found in class "Test\Share\MailNotificationsTest". Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix warning with undefined methodJoas Schilling2017-04-201-4/+4
| | | | | | | | Trying to configure method "getRemember" which cannot be configured because it does not exist, has not been specified, is final, or is static Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't use deprecated getMock() anymoreJoas Schilling2017-04-203-16/+18
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Restoring the error handler within the error handler causes unexpected resultsJoas Schilling2017-04-201-3/+10
| | | | | | | See http://php.net/manual/en/function.restore-error-handler.php#120879 for more information. Signed-off-by: Joas Schilling <coding@schilljs.com>
* Delete the correct config valueJoas Schilling2017-04-201-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #4398 from nextcloud/fix_accesslistcodeJoas Schilling2017-04-201-2/+1
|\ | | | | Get proper accesslist for userFolder
| * Get proper accesslist for userFolderRoeland Jago Douma2017-04-201-2/+1
| | | | | | | | | | | | | | If the accesslist is requested for a users root folder we should properly construct the path Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Rename renderHTML to renderHtmlMorris Jobke2017-04-191-4/+4
|/ | | | | | | * fixes #4383 * improves consistency Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #4371 from nextcloud/dont-allow-dot-usernamesMorris Jobke2017-04-181-0/+43
|\ | | | | Better validation of allowed user names
| * Better validation of allowed user namesJoas Schilling2017-04-181-0/+43
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #4369 from nextcloud/fix-translationsMorris Jobke2017-04-182-3/+3
|\ \ | | | | | | Fix translations
| * | Fix translationsJoas Schilling2017-04-182-3/+3
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>