server/lib/public
Roeland Jago Douma a34495933e
Move caching logic to response
This avoids having to do it at all the places we want cached responses.

We can't inject the ITimeFactor without breaking public API.
However we can perfectly overwrite the service (resulting in the same
testable effect).

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-06-04 08:48:54 +02:00
..
Activity Update license headers 2017-11-06 16:56:19 +01:00
App Use isInstalled of AppManger instead of reimplement it 2018-03-21 11:34:18 +01:00
AppFramework Move caching logic to response 2018-06-04 08:48:54 +02:00
Authentication Strict 2FA 2018-03-26 11:31:02 +02:00
BackgroundJob Deprecated OCP interface to fetch background job type 2018-01-26 10:43:01 +01:00
Calendar Public interfaces for calendar API 2017-11-09 13:00:26 +01:00
Capabilities Update license headers 2017-11-06 16:56:19 +01:00
Collaboration Use type casting instead of *val() method 2018-01-26 11:35:42 +01:00
Command Update with robin 2016-07-21 18:13:58 +02:00
Comments Fix docs 2018-04-19 17:10:03 +02:00
Console
Contacts Add @since annotation and add missing new line 2017-12-11 18:18:58 +01:00
DB dont keep shared database locks when running cli scripts 2018-04-11 19:21:45 +02:00
Diagnostics Update license headers 2017-11-06 16:56:19 +01:00
Encryption Update license headers 2017-11-06 16:56:19 +01:00
Federation Make OCP\Federation strict 2018-01-16 19:25:08 +01:00
Files Make Appdata static 2018-05-14 13:25:54 +02:00
GlobalScale Update license headers 2017-11-06 16:56:19 +01:00
Group/Backend Added disabled count per groups 2018-05-24 17:52:15 +02:00
Http/Client Make OCP\Http strict 2018-01-16 19:19:58 +01:00
L10N Use symfony/translation for L10N plurals 2017-08-07 19:53:36 +02:00
LDAP Update license headers 2017-11-06 16:56:19 +01:00
Lock Log more info about locking conflicts for memcache locking backends 2018-05-04 13:30:18 +02:00
Lockdown Update license headers 2017-11-06 16:56:19 +01:00
Log log to $datadir/audit.log by default and add rotation 2018-04-26 12:10:53 +02:00
Mail Fix comments 2018-03-05 09:06:51 +01:00
Migration Add since tags 2018-05-30 21:28:55 +02:00
Notification Update license headers 2017-11-06 16:56:19 +01:00
OCS Fix PHPDoc 2018-04-18 19:20:26 +02:00
Preview
Remote add more typehints 2017-12-08 16:37:14 +01:00
RichObjectStrings Merge pull request #6552 from nextcloud/notifications-add-highlight-definition 2017-11-07 20:34:05 +01:00
Route Update with robin 2016-07-21 18:13:58 +02:00
Search Update license headers 2017-11-06 16:56:19 +01:00
Security Make OCP\Security stricter 2018-01-16 22:01:19 +01:00
Session/Exceptions
Settings Do not cache the settings/sections in the database anymore 2018-01-29 15:47:37 +01:00
Share Update license headers 2017-11-06 16:56:19 +01:00
Support/CrashReport Pass the exception context to the crash reporter 2017-11-14 14:28:04 +01:00
SystemTag Make SystemTag strict 2018-02-21 22:08:27 +01:00
User/Backend Document parameters 2018-03-22 16:32:05 +01:00
WorkflowEngine Update license headers 2017-11-06 16:56:19 +01:00
API.php
App.php Remove long time deprecated functions and deprecate \OCP\App 2018-01-31 14:13:15 +01:00
AutoloadNotAllowedException.php
BackgroundJob.php Remove old deprecated function from the BackgroundJob 2018-03-19 10:47:31 +01:00
Constants.php Remove deprecated constants 2018-01-13 19:46:19 +01:00
Defaults.php Fix email buttons for white theme 2017-12-11 14:33:54 +01:00
Files.php Deprecate OCP\Files 2018-03-21 14:29:35 +01:00
GroupInterface.php Update license headers 2017-11-06 16:56:19 +01:00
IAddressBook.php
IAppConfig.php Remove IAppConfig::setValue 2018-01-17 21:41:57 +01:00
IAvatar.php Remove generated avatar on displayname change 2017-12-19 18:49:26 +01:00
IAvatarManager.php Made AvatarManager string and add return types 2018-01-14 21:32:54 +01:00
ICache.php
ICacheFactory.php Properly provide local memcache check to ICacheFactory 2018-03-13 18:18:04 +01:00
ICertificate.php Update with robin 2016-07-21 18:13:58 +02:00
ICertificateManager.php Update with robin 2016-07-21 18:13:58 +02:00
IConfig.php Update with robin 2016-07-21 18:13:58 +02:00
IContainer.php Don't do a recursive search 2017-03-22 10:44:13 +01:00
IDateTimeFormatter.php Update license headers 2017-11-06 16:56:19 +01:00
IDateTimeZone.php
IDBConnection.php Emit event when running ./occ db:add-missing-indices 2018-05-24 18:03:10 +02:00
IEventSource.php Update with robin 2016-07-21 18:13:58 +02:00
IGroup.php Fixes since requirement 2018-05-24 17:52:15 +02:00
IGroupManager.php Update license headers 2017-11-06 16:56:19 +01:00
IImage.php Fix float/integer handling in image API 2018-01-17 10:00:33 +01:00
IL10N.php Relax what t accepts so we don't break it all 2018-02-22 12:37:29 +01:00
ILogger.php move log constants to ILogger 2018-04-26 10:45:52 +02:00
Image.php
IMemcache.php Update with robin 2016-07-21 18:13:58 +02:00
IMemcacheTTL.php Update with robin 2016-07-21 18:13:58 +02:00
INavigationManager.php Update phpDoc comments and add more type hinting 2018-02-15 10:38:25 +01:00
IPreview.php Update license headers 2017-11-06 16:56:19 +01:00
IRequest.php Make the Outlook and Thunderbird addons identifyable 2018-02-27 14:37:32 +01:00
ISearch.php Removed deprecated search function from ISearch 2018-01-13 19:27:25 +01:00
IServerContainer.php offer API to create own File log. admin_audit makes use of it 2018-04-26 12:10:52 +02:00
ISession.php Make ISession strict 2018-02-26 22:20:21 +01:00
ITagManager.php
ITags.php Use ::class statement instead of string 2018-01-29 12:03:47 +01:00
ITempManager.php Update with robin 2016-07-21 18:13:58 +02:00
IURLGenerator.php Make the URLGenerator strict 2018-01-14 21:18:48 +01:00
IUser.php Properly return boolean on enable state 2018-04-09 11:26:26 +02:00
IUserBackend.php
IUserManager.php more consistent naming 2018-04-05 12:46:15 +02:00
IUserSession.php Update with robin 2016-07-21 18:13:58 +02:00
PreConditionNotMetException.php
SabrePluginEvent.php
SabrePluginException.php
Share.php Remove unused resolveReshare of old sharing code 2018-03-16 12:26:38 +01:00
Share_Backend.php
Share_Backend_Collection.php
Share_Backend_File_Dependent.php
Template.php Remove deprecated template functions from OCP directly 2018-01-14 21:39:36 +01:00
User.php Remove deprecated \OCP\User::userExists 2018-03-26 11:16:23 +02:00
UserInterface.php Deprecate implementsActions 2018-03-22 16:32:04 +01:00
Util.php Fix PHPDoc 2018-05-22 15:11:32 +02:00