aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #479 from nextcloud/add-bruteforce-throttlerLukas Reschke2016-07-215-25/+275
|\ | | | | Implement brute force protection
| * Mitigate race conditionLukas Reschke2016-07-202-9/+49
| |
| * Implement brute force protectionLukas Reschke2016-07-205-25/+235
| | | | | | | | | | | | | | | | | | 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)
* | Merge pull request #476 from nextcloud/port-same-site-cookiesLukas Reschke2016-07-202-94/+431
|\ \ | | | | | | [master] Port Same-Site Cookies to master
| * | [master] Port Same-Site Cookies to masterLukas Reschke2016-07-202-94/+431
| |/ | | | | | | Fixes https://github.com/nextcloud/server/issues/50
* | Merge pull request #475 from nextcloud/ocs-middlewareRoeland Douma2016-07-201-0/+108
|\ \ | | | | | | Add OCS Middleware
| * | Add unit testsRoeland Jago Douma2016-07-201-0/+108
| |/
* | Merge pull request #471 from nextcloud/storage-fopenspecialcharsMorris Jobke2016-07-201-6/+20
|\ \ | |/ |/| Added storage tests for fopen with special chars
| * Added storage tests for fopen with special charsVincent Petry2016-07-201-6/+20
| | | | | | | | | | | | This makes it possible to test special chars with unit tests. There is already a test for directories but there was none for file names.
* | Merge pull request #402 from nextcloud/smb-notificationsMorris Jobke2016-07-201-1/+26
|\ \ | |/ |/| smb update notifications
| * Save the files external mount id in the mount cache tableRobin Appelman2016-07-131-1/+26
| |
* | Add route testsRoeland Jago Douma2016-07-181-0/+131
| |
* | Merge pull request #381 from nextcloud/postgres-setupRoeland Douma2016-07-151-8/+8
|\ \ | | | | | | use pdo for postgres setup
| * | fix testRobin Appelman2016-07-131-8/+8
| |/
* | Merge pull request #395 from nextcloud/user-preferences-occRoeland Douma2016-07-151-0/+464
|\ \ | | | | | | Allow to change user preferences via occ
| * | Use argument instead of valueJoas Schilling2016-07-141-20/+18
| | |
| * | FIx my emailJoas Schilling2016-07-131-1/+1
| | |
| * | Add tests for set/get/delete/listJoas Schilling2016-07-131-5/+234
| | |
| * | Make sure the exception is catchedJoas Schilling2016-07-131-5/+31
| | |
| * | Add tests for checkInput()Joas Schilling2016-07-131-0/+211
| | |
* | | Cleanup ManagerTestRoeland Jago Douma2016-07-141-12/+32
|/ / | | | | | | | | * Fix deprecated getMock call * No longer requires DB
* | Merge pull request #392 from nextcloud/roottest_nodbJoas Schilling2016-07-131-20/+39
|\ \ | | | | | | RootTest does not require DB
| * | RootTest does not require DBRoeland Jago Douma2016-07-131-20/+39
| |/ | | | | | | | | | | * Removed from DB group * Also mock the manager * Fixed deprecated getMock warnings
* / Fix failing tests after db splitRoeland Jago Douma2016-07-132-5/+5
|/
* Some UtilTests require DBRoeland Jago Douma2016-07-111-0/+8
| | | | In the current setup there is no DI so no way to mock them.
* LegacyGroupTest need DBRoeland Jago Douma2016-07-111-0/+6
| | | | | Those old tests make it impossible in the current state to abstract away.
* Improve ManagerTestRoeland Jago Douma2016-07-112-207/+205
| | | | | * No DB required * Fixed phpunit 5.4 warnings
* Improve GroupTestRoeland Jago Douma2016-07-111-43/+124
| | | | * No longer require DB
* Merge pull request #364 from nextcloud/ca-bundle-testsBjörn Schießle2016-07-111-0/+92
|\ | | | | add test for needsRebundling() check
| * add test for needsRebundling() checkBjoern Schiessle2016-07-111-0/+92
| |
* | Improve NodeTestRoeland Jago Douma2016-07-111-123/+76
|/ | | | | | * Do not use DB * Fix phpunit-5.4 warnigns * Moved commong stuff to setup
* Merge pull request #347 from nextcloud/drop-windows-fooLukas Reschke2016-07-1112-175/+9
|\ | | | | Remove unneeded checks if it runs on a Windows machine
| * Fix some more testsJoas Schilling2016-07-111-96/+1
| |
| * Remove unneeded checks if it runs on a Windows machineMorris Jobke2016-07-0811-79/+8
| | | | | | | | * the setup check is still there
* | Merge pull request #351 from nextcloud/improve_filetest_unittestMorris Jobke2016-07-111-237/+153
|\ \ | | | | | | Improve FileTest
| * | Improve FileTestRoeland Jago Douma2016-07-081-237/+153
| |/ | | | | | | | | | | * No longer requires DB * Fixed phpunit 5.4 warnings * Moved common stuff to Setup phase
* | Mock loggerRoeland Jago Douma2016-07-111-3/+3
| |
* | Fix phpunit-5.4 wargningRoeland Jago Douma2016-07-1113-116/+185
| | | | | | | | | | * getMock is deprecated. * \PDOStatement mocking fails hard on phpunit 4.8
* | Correction is no longer required in php7Roeland Jago Douma2016-07-081-1/+1
| |
* | Fix phpunit Trait warningRoeland Jago Douma2016-07-081-1/+1
|/
* Merge pull request #314 from jernst/masterLukas Reschke2016-07-071-1/+30
|\ | | | | Allow wildcard * to be used in trusted domains
| * Disallow certain malformed domain names even if they match the trusted ↵Johannes Ernst2016-07-061-0/+4
| | | | | | | | | | | | domain expression Stricter checking for valid domain names
| * Trusted domain wildcard checking made shorter, supporting multiple *Johannes Ernst2016-07-061-1/+26
| | | | | | | | Added test cases
* | Revert "occ web executor (#24957)"Morris Jobke2016-07-071-143/+0
| | | | | | | | This reverts commit 854352d9a064a1e469ede207493bce44fd41d96c.
* | Merge branch 'master' into sync-masterMorris Jobke2016-07-0711-37/+100
|\|
| * Changed name of default logfile from owncloud.log to nextcloud.log.Thomas Pulzer2016-07-043-6/+6
| |
| * Merge remote-tracking branch 'upstream/master' into master-sync-upstreamLukas Reschke2016-07-018-4/+1603
| |\
| * | Set content-type to "application/octet-stream"Lukas Reschke2016-06-301-1/+5
| | | | | | | | | | | | Some browsers such as Firefox on Microsoft Windows otherwise do offer to open the file directly which is kinda silly.
| * | Merge pull request #206 from nextcloud/ci-mysqlMorris Jobke2016-06-301-0/+8
| |\ \ | | | | | | | | Add mysql job to CI
| | * | mysql only works with 3 byte UTF-8Morris Jobke2016-06-291-0/+8
| | | |