]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
pluginified most of hasFave, getFaves and related calls
authorMikael Nordfeldth <mmn@hethane.se>
Fri, 27 Jun 2014 11:58:35 +0000 (13:58 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Fri, 27 Jun 2014 12:09:02 +0000 (14:09 +0200)
commitfcdd061b4f89d04889025c516f98c9eead53ad1a
tree4233572e753c3b59fe6b037336d1b5e34ae4e7fa
parent29730b6ca7e23d5686491a39ba3464a38d4313a0
pluginified most of hasFave, getFaves and related calls

The code is now more event-driven when it comes to rendering notices
and their related HTML elements, since we can't have direct calls from
core to a plugin.

lib/activitymover.php has a function to move a Favorite activity which
will not happen now. The move must be pluginified and performed as an
event which plugins can catch on to.
29 files changed:
EVENTS.txt
actions/apistatusesupdate.php
classes/Notice.php
lib/activitymover.php
lib/apiaction.php
lib/command.php
lib/commandinterpreter.php
lib/noticelist.php
lib/noticelistactorsitem.php [new file with mode: 0644]
lib/noticelistitem.php
lib/noticelistitemadapter.php
lib/threadednoticelist.php
lib/useractivitystream.php
plugins/Activity/lib/systemlistitem.php
plugins/ActivitySpam/ActivitySpamPlugin.php
plugins/AnonymousFave/AnonymousFavePlugin.php
plugins/AnonymousFave/actions/anonfavor.php
plugins/Favorite/EVENTS.txt
plugins/Favorite/FavoritePlugin.php
plugins/Favorite/actions/apifavoritecreate.php
plugins/Favorite/actions/favor.php
plugins/Favorite/classes/Fave.php
plugins/Favorite/lib/favcommand.php [new file with mode: 0644]
plugins/Favorite/lib/threadednoticelistfavesitem.php [new file with mode: 0644]
plugins/Favorite/lib/threadednoticelistinlinefavesitem.php [new file with mode: 0644]
plugins/GroupPrivateMessage/GroupPrivateMessagePlugin.php
plugins/Realtime/RealtimePlugin.php
scripts/upgrade.php
tests/CommandInterperterTest.php