summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #746 from nextcloud/jail-rootLukas Reschke2016-08-091-2/+11
|\ | | | | getJailedPath expects $path to have a trailing /
| * Adding test case for getPathById including a jailed cache where root is just ↵Thomas Müller2016-08-051-2/+11
| | | | | | | | empty
* | Hanlde Core and Settings app in AppFrameworkRoeland Jago Douma2016-08-081-0/+51
| | | | | | | | | | | | 'core' and 'settings' are just apps but we treat them slightly different. Make sure that we construct the correct namespace so we can actually do automatic AppFramework stuff.
* | Move Share backends to PSR-4 instead of using class path (#24941)Joas Schilling2016-08-051-2/+2
|/
* Fix RepairUnmergedShares to not skip valid repair casesVincent Petry2016-08-031-2/+42
| | | | | | The repair step was a bit overeager to skip repairing so it missed the case where a group share exists without subshares but with an additional direct user share.
* Add repair step for unmerged shares (WIP)Vincent Petry2016-08-031-0/+409
|
* We should properly check for 'true' instaed of the boolRoeland Jago Douma2016-08-011-1/+2
|
* Dark hackery to not always disable CSRF for OCS controllersRoeland Jago Douma2016-07-291-0/+55
|
* Merge pull request #556 from nextcloud/nextcloud-version-checkMorris Jobke2016-07-291-1/+3
|\ | | | | Allow apps to check for a given nextcloud version
| * Translate the server version for nextcloudJoas Schilling2016-07-261-1/+3
| |
* | Support subdir in the OCS v2 endpointRoeland Jago Douma2016-07-271-0/+30
| | | | | | | | | | | | | | We should check against the ending substring since people could run their nextcloud in a subfolder. * Added test
* | fix enabled apps testsMorris Jobke2016-07-271-0/+5
| |
* | fix unit testsMorris Jobke2016-07-261-2/+2
| |
* | Add workflowengineMorris Jobke2016-07-261-2/+4
|/
* Merge pull request #292 from nextcloud/recent-filesWilliam Bargent2016-07-251-4/+169
|\ | | | | Add "Recent" file listing
| * use limit instead of since when listing recent filesRobin Appelman2016-07-221-7/+6
| |
| * fix testRobin Appelman2016-07-221-1/+4
| |
| * add recent files to node apiRobin Appelman2016-07-221-4/+167
| |
* | Merge pull request #523 from Faldon/masterJoas Schilling2016-07-253-13/+13
|\ \ | | | | | | Renamed file logging
| * | Renamed test classes for file logging tests.Thomas Pulzer2016-07-222-3/+3
| | |
| * | Changed logtype to file instead of owncloud.Thomas Pulzer2016-07-223-10/+10
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | - Updated the config sample to point to log_type='file' - Renamed the Class for logfile logging to File in namespace 'OC\Log\'. Changed the occurrences of 'OC\Log\Owncloud' to 'OC\Log\File'. - Renamed the Class for log:file command to File in namespace 'OC\Core\Command\Log\File'. Changed registration of the command to use 'OC\Core\Command\Log\File'. - Changed default Syslog tag to Nextcloud - Retained backwards compatibility for configs with 'logtype' => 'owncloud' - Adjusted tests for the new file log. Closes #490.
* / Add testsRoeland Jago Douma2016-07-221-1/+35
|/
* 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