nextcloud-server/tests/lib
Lukas Reschke 66835476b5
Add support for ratelimiting via annotations
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>
2017-04-13 12:00:16 +07:00
..
Accounts Merge pull request #4256 from nextcloud/theming 2017-04-11 14:39:46 +07:00
Activity Fix activity manager tests 2016-11-16 09:25:45 +07:00
App Fix tests 2017-04-04 10:29:12 +07:00
AppFramework Add support for ratelimiting via annotations 2017-04-13 12:00:16 +07:00
Archive
Authentication Don't do a recursive search 2017-03-22 10:44:13 +07:00
BackgroundJob
Cache
Command Add proper tests 2016-12-19 15:35:31 +07:00
Comments update FakeManager 2017-03-30 12:48:34 +07:00
DB Merge pull request #4146 from nextcloud/unread-comments-folder 2017-04-10 13:21:39 +07:00
Encryption create new encryption keys on password reset and backup the old one 2017-01-10 17:04:32 +07:00
Federation clean cloud ids 2017-02-09 13:31:06 +07:00
Files Simplify the test 2017-04-12 13:23:55 +07:00
Group Fix 5.6 duplicate class import 2017-03-17 13:54:58 +07:00
Hooks
Http/Client Merge pull request #2912 from nextcloud/increase-coverage-response.php 2017-01-02 16:01:47 +07:00
IntegrityCheck Add proper tests 2016-12-19 15:35:31 +07:00
L10N Don't force the use of Accept-Language anymore 2017-04-07 11:10:04 +07:00
Lock
Lockdown Save the scope of an auth token in the session 2017-04-05 17:58:33 +07:00
Log
Mail Use instance name as alt-text 2017-04-12 17:16:26 +07:00
Memcache Kill APC because it requires PHP 5.4 2017-01-05 10:58:34 +07:00
Migration
Notification Use a php class for the definitions to avoid loading problems 2016-11-09 08:52:07 +07:00
OCS add tests for discovery service 2017-04-11 15:04:01 +07:00
Preview Fix tests 2017-03-19 21:15:54 +07:00
PublicNamespace
Repair Adjust tests as well 2017-03-21 16:42:42 +07:00
RichObjectStrings Add test and adjust PHP function arguments 2016-11-09 10:49:57 +07:00
Security Add support for ratelimiting via annotations 2017-04-13 12:00:16 +07:00
Session
Settings Merge pull request #2095 from nextcloud/bruteforcesetttings 2017-04-04 11:57:43 +07:00
Share Merge pull request #3614 from nextcloud/discover-federatedsharing-endpoints 2017-04-12 16:01:07 +07:00
Share20 update unit tests 2017-04-07 15:43:59 +07:00
SystemTag test setTagGroups with empty groupids 2017-03-19 22:01:46 +07:00
Template Move OC_Defaults to OCP\Defaults 2017-04-09 21:43:01 +07:00
Traits
Updater Document updater channel & check for correct PHP version in updater 2016-12-06 00:19:13 +07:00
User Save the scope of an auth token in the session 2017-04-05 17:58:33 +07:00
Util
APITest.php
AllConfigTest.php
AppConfigTest.php Fix tests 2017-01-12 10:49:22 +07:00
AppTest.php Fix tests 2017-01-13 18:33:43 +07:00
AutoLoaderTest.php
AvatarManagerTest.php Add using casing check/fix for initMountPoints 2016-11-02 22:21:46 +07:00
AvatarTest.php
CapabilitiesManagerTest.php
ConfigTest.php Check for boolean false and add tests 2017-04-04 15:56:50 +07:00
ContactsManagerTest.php
DateTimeFormatterTest.php Fix more tests 2016-10-28 22:16:28 +07:00
ErrorHandlerTest.php
FileChunkingTest.php
FilesTest.php
HTTPHelperTest.php
HelperStorageTest.php
HookHelper.php
ImageTest.php Use 90% JPEG quality for thumbnails and previews by default 2017-02-22 14:53:15 +07:00
InfoXmlTest.php Add the AppContainer 2017-03-22 11:24:16 +07:00
InstallerTest.php Don't use cached informations for app version 2016-12-09 18:01:45 +07:00
LargeFileHelperGetFileSizeTest.php
LargeFileHelperTest.php
LegacyHelperTest.php Simplify isSubDirectory check 2016-10-07 21:56:43 +07:00
LoggerTest.php Better fallback for unknown log types 2017-01-10 12:59:13 +07:00
NaturalSortTest.php
NavigationManagerTest.php Allow multiple navigation links from info.xml 2017-03-26 21:15:25 +07:00
RepairStepTest.php
ServerTest.php Remove IDb interface which was deprecated for 3 years already 2016-12-14 11:42:16 +07:00
SetupTest.php Move OC_Defaults to OCP\Defaults 2017-04-09 21:43:01 +07:00
SubAdminTest.php
TagsTest.php
TempManagerTest.php
TemplateFunctionsTest.php
TestCase.php Move OC_Defaults to OCP\Defaults 2017-04-09 21:43:01 +07:00
TestMoveableMountPoint.php
UpdaterTest.php Prevent migration from ownCloud 11 to Nextcloud 12 2017-01-23 12:04:46 +07:00
UrlGeneratorTest.php Fix urlgenerator test 2016-11-03 14:00:33 +07:00
UserTest.php Remove warning 2017-01-05 12:17:30 +07:00
UtilCheckServerTest.php Use SystemConfig instead of AllConfig for DB stuff 2017-03-19 15:53:49 +07:00
UtilTest.php Add system config htaccess.IgnoreFrontController for prettyURLs w/o mod_env 2016-11-16 22:28:49 +07:00