Mikael Nordfeldth
e15f322187
Replies don't have verbs (we'll do some join magic later)
2014-07-09 21:53:21 +02:00
Mikael Nordfeldth
efa3e8f3f4
Only get POST verbs for noticestreams for now
...
Since we store 'favorite' verbs as notices now too, they caused a lot of
"null" notices that might not be interesting before we handle them better
in the UIs.
2014-07-09 13:37:09 +02:00
Mikael Nordfeldth
42e2232371
Use canonical object type in Notice title as ActivityObject
2014-07-09 13:36:57 +02:00
Mikael Nordfeldth
0e8148af86
When modplus.css got moved, it should've re-related an image path
2014-07-07 01:40:33 +02:00
Mikael Nordfeldth
2eea7a2d4b
Do proper Activity-plugin based mention notification
2014-07-07 01:15:43 +02:00
Mikael Nordfeldth
eda0e25147
content_inner HTML element needed clear:both;
...
because otherwise pages which don't display the breaking <h1> element
(like showstream, i.e. your own profile for example) won't have clickable
entry forms.
2014-07-06 13:10:41 +02:00
Mikael Nordfeldth
9ce06f3e82
Adapt NewnoticeAction to latest Form- and ManagedAction
2014-07-06 13:10:22 +02:00
Mikael Nordfeldth
9a92b8ba33
Form- and ManagedAction improvements
2014-07-06 12:55:18 +02:00
Mikael Nordfeldth
aadc7398dc
ModPlus and some layouting issues regarding fixes
2014-07-06 01:37:31 +02:00
Mikael Nordfeldth
fffacaa27c
FavorAction now uses Notice::saveActivity
2014-07-06 01:37:03 +02:00
Mikael Nordfeldth
aa33b7f21c
Fave does not carry a type
...
it did in FreeSocial, where I copied my code from.
2014-07-05 16:28:09 +02:00
Mikael Nordfeldth
57a2d7a0e2
Bad ActivityObject generation of Fave
2014-07-05 00:15:22 +02:00
Rob Myers
adb3c9f6b6
Update required PHP version in INSTALL.
2014-07-04 14:12:15 -07:00
Mikael Nordfeldth
182605cb6a
TagAction extends ManagedAction
2014-07-04 19:32:57 +02:00
Mikael Nordfeldth
f42f7a1c85
Removed some lighttpd-specific code that messed up Unicode parameters
2014-07-04 19:16:23 +02:00
Mikael Nordfeldth
ffb9d7ad3f
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.
2014-07-04 14:14:49 +02:00
Mikael Nordfeldth
b9a8b2ad05
missing file for 4b40d6bb2a
2014-07-04 14:13:48 +02:00
Mikael Nordfeldth
eda69cabaf
Remove Ostatus_profile when releted Profile is deleted
2014-07-04 11:45:42 +02:00
Mikael Nordfeldth
a35838be9e
FormAction->showContent had to be 'protected'
2014-07-04 11:22:32 +02:00
Mikael Nordfeldth
53b794342c
Saved incoming activites for Favorite as wrong profile
...
also removed some debugging lines
Now we have to get rid of OStatus dependency in lib/activityhandlerplugin.php
2014-07-03 14:08:26 +02:00
Mikael Nordfeldth
4b40d6bb2a
TagprofileAction fiddled with, now doesn't require OStatus override
...
But it still doesn't quite work properly, so a lot of work is necessary for this.
2014-07-03 14:02:21 +02:00
Mikael Nordfeldth
7f0c7e8e80
Widgets require Action not HTMLOutputter (getScoped)
2014-07-03 14:02:01 +02:00
Mikael Nordfeldth
2e77cbfa86
FormAction updates, also fixing NoticeForm CSS
2014-07-03 14:01:12 +02:00
Mikael Nordfeldth
1f97376813
Occasionally we'd get a false from Profile::getKV
...
Due to cache miss? Probably, but now we simply say that it's null in that case
so we get a proper exception from Notice::_setProfiles
2014-07-03 11:55:24 +02:00
Mikael Nordfeldth
b63f6e949c
Converted all ActivityObject::fromProfile to $profile->asActivityObject
2014-07-03 10:51:36 +02:00
Mikael Nordfeldth
1d981b826a
ActivityObject::fromProfile implemented in Profile
2014-07-02 18:39:53 +02:00
Mikael Nordfeldth
c44146d6f8
Favorites are now being stored from activities
2014-07-02 18:38:19 +02:00
Mikael Nordfeldth
2e6a32c7be
Most of the activityobject-saving for Favorite implemented
2014-07-02 11:38:55 +02:00
Mikael Nordfeldth
b66ec247db
Caching fixes for Fave class
2014-07-02 11:38:51 +02:00
Mikael Nordfeldth
9f4bcbad8a
checkAuthorship events, Ostatus_profile rewrite to handle it
...
Lost dependency of OStatus plugin for lib/microappplugin.php, whoo!
also noting which plugins should be upgraded to new saveActivity support.
Favorite plugin won't work with the new system just yet, it doesn't have
the necessary functions to extract activity objects, but that's coming
in the next (few) commits.
2014-07-02 11:38:45 +02:00
Mikael Nordfeldth
acb07ef52f
Added saveActivity method to Notice class
...
saveActivity will accept an Activity which gets parsed and saved through
plugins. So when an ActivityHandlerPlugin (such as Favorite will be soon)
gets a feed to save, this will be the function called instead of saveNew.
2014-07-02 11:38:37 +02:00
Mikael Nordfeldth
687f8ab42c
GET, HEAD, DELETE are strings not constants
2014-07-02 11:38:27 +02:00
Mikael Nordfeldth
96babc59f5
getIdentifiers, resolveUri, findLocalObject Activity algorithms
...
Also modified related classes to support this feature.
2014-07-02 11:38:20 +02:00
Mikael Nordfeldth
38bea34562
Moved functions into ActivityHandlerPlugin from MicroAppPlugin
...
Dummy functions in Favorite plugin so far
2014-07-02 11:37:46 +02:00
Mikael Nordfeldth
d0da552722
SalmonAction and extensions simplified
2014-06-28 20:33:09 +02:00
Mikael Nordfeldth
3f21d22a31
Failed to reference an object property
2014-06-28 20:19:49 +02:00
Mikael Nordfeldth
138d26d488
Favorite "aside"-sections moved, also small fixes left from before
...
Action now has 'isAction' which compares the loaded Action with names
of classes in an array (added without the 'Action') to its own type.
2014-06-28 16:09:46 +02:00
Mikael Nordfeldth
7e597ea7cc
More Favorite pluginification (favecount, cache, menus(favecount, cache, menus))
2014-06-28 14:03:30 +02:00
Mikael Nordfeldth
c137ead909
Confusing documentation and tooltip texts in Bookmark
2014-06-28 13:02:52 +02:00
Mikael Nordfeldth
7642f008fb
Bad error message in atompubmembershipfeed
2014-06-28 12:58:24 +02:00
Mikael Nordfeldth
f200d708bd
Simplify NoticeSimpleStatusArray inclusion in lib/apiaction.php
2014-06-28 11:52:51 +02:00
Mikael Nordfeldth
04f60fd1d9
Favorites not part of simulation, must implement plugin support
2014-06-28 11:22:07 +02:00
Mikael Nordfeldth
fcdd061b4f
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.
2014-06-27 14:09:02 +02:00
Mikael Nordfeldth
29730b6ca7
Fave pluginified, not a core DB class
2014-06-27 13:56:22 +02:00
Mikael Nordfeldth
c447d1f53a
Pretty fave/repeat CSS!
2014-06-27 13:56:15 +02:00
Mikael Nordfeldth
c4037a7549
Moved Favorite EVENTS into plugin folder text file
2014-06-24 16:47:44 +02:00
Mikael Nordfeldth
b864caa665
MicroAppPlugin extends to intermediate ActivityHandlerPlugin
2014-06-24 16:46:11 +02:00
Mikael Nordfeldth
db7cc7fa75
Favorite functionality put into plugin (not done yet)
...
Now we have to fix any code in the core which directly uses the Fave class
or any other favorite stuff, since it is pluginised and thus might not be
available on some installations.
2014-06-24 15:58:53 +02:00
Mikael Nordfeldth
67ed1ec77e
Repeated and Favorited CSS/mf2 fixes
...
For some reason I'd added an 'e-content' class for repeats and faves
2014-06-24 15:34:36 +02:00
Mikael Nordfeldth
53fb39a1d0
Nicknames in subscriptions list
2014-06-24 01:56:55 +02:00