]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Rewriting code for notice representation
authorMikael Nordfeldth <mmn@hethane.se>
Fri, 4 Jul 2014 12:14:49 +0000 (14:14 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Fri, 4 Jul 2014 12:14:49 +0000 (14:14 +0200)
commitffb9d7ad3fb9ad5d9ed0ada9fb9b88fa7ae8e146
tree000bf339459ea01ea90c4a99c52a68cc9d252b3d
parentb9a8b2ad056b0e944bdcae2b2a6ecb8f88a46f2f
Rewriting code for notice representation

Getting rid of NoticeListItemAdapter, putting more into ActivityHandlerPlugin
and relying on plugins to handle rendering code of the content. This gives us
a lot more structure and consistency in notice structure and allows activity
plugins to stop rendering certain kinds of notices more easily.

There should also be a property for an ActivityHandlerPlugin class to avoid
rendering notices in the ordinary stream, so we don't have to overload stuff.
12 files changed:
classes/Notice.php
lib/activityhandlerplugin.php
lib/microappplugin.php
lib/noticelistitem.php
plugins/Bookmark/BookmarkPlugin.php
plugins/Bookmark/lib/bookmarklistitem.php
plugins/Event/EventPlugin.php
plugins/Favorite/FavoritePlugin.php
plugins/GNUsocialPhoto/GNUsocialPhotoPlugin.php
plugins/GNUsocialVideo/GNUsocialVideoPlugin.php
plugins/Poll/PollPlugin.php
plugins/QnA/QnAPlugin.php