mediawiki-extensions-Echo/includes
Matthias Mullie 0ef4df8e15 Expose more data through API
Instead of relying on the frontend to render, this enables the frontend
to do it.

The API will now accept a new format: 'model', which is basically the
presentation model's data in json format.

Some of the render code is currently only in the backend (e.g. get icon
path from icon type) so other api formats will stay available. At some
point, however, we may be able to kill those.

Bug: T115418
Change-Id: Ibc3ad54c94d6ea9bf751f3927cf69e1d062f4780
2015-11-20 19:27:34 +00:00
..
api Expose more data through API 2015-11-20 19:27:34 +00:00
cache Migrate LocalCache from MapCacheLRU to HashBagOStuff 2015-11-03 06:49:50 +00:00
controller Allow presentation models to indicate a notification can't be formatted 2015-10-28 18:28:08 -07:00
exception Hygiene: Update method documentation & split exception to a file 2014-08-04 17:43:57 -07:00
formatters Expose more data through API 2015-11-20 19:27:34 +00:00
gateway Update formatting 2015-10-03 23:28:54 -04:00
iterator Update formatting 2015-10-03 23:28:54 -04:00
jobs Update formatting 2015-10-03 23:28:54 -04:00
mapper EventMapper::fetchByUserBundleHash(): Always return an array 2015-11-19 10:12:43 -08:00
model Make EchoEvent::create() a no-op if the DB is read-only 2015-11-02 11:17:05 -08:00
special 'Load more' check should be based on retrieved data, not what could render 2015-11-18 11:06:22 +01:00
AttributeManager.php Update formatting 2015-10-03 23:28:54 -04:00
BatchRowUpdate.php build: Enable phpcs rule 'MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment' and make pass 2015-10-29 13:06:14 +01:00
ContainmentSet.php Remove unused code and fix missing/broken documentation 2014-06-04 04:54:00 +00:00
DataOutputFormatter.php Expose more data through API 2015-11-20 19:27:34 +00:00
DeferredMarkAsReadUpdate.php Allow presentation models to indicate a notification can't be formatted 2015-10-28 18:28:08 -07:00
DiffParser.php build: Enable phpcs rule 'PSR2.Methods.MethodDeclaration.StaticBeforeVisibility' and make pass 2015-10-29 13:06:43 +01:00
DiscussionParser.php Unstub $wgLang before passing it to DiscussionParser::getTextSnippet() 2015-11-16 10:41:51 -08:00
EchoDbFactory.php Update formatting 2015-10-03 23:28:54 -04:00
EmailBatch.php IDatabase::delete() does not take a fourth parameter 2015-10-30 10:49:59 -07:00
EmailBundler.php IDatabase::delete() does not take a fourth parameter 2015-10-30 10:49:59 -07:00
EmailFormatter.php Update formatting 2015-10-03 23:28:54 -04:00
EventLogging.php EventLogging: Make sure eventId is an integer 2015-10-21 11:08:50 -07:00
NotifUser.php Remove unused NotifUser::getFormattedNotificationCount() 2015-11-12 11:21:56 -08:00
schemaUpdate.php Update formatting 2015-10-03 23:28:54 -04:00
SeenTime.php Update formatting 2015-10-03 23:28:54 -04:00
UserLocator.php Update formatting 2015-10-03 23:28:54 -04:00