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
Mikael Nordfeldth
c74dc15173
DiscoveryHints gets microformats2 parsing abilities
2014-06-24 01:27:03 +02:00
Mikael Nordfeldth
da04334028
Microformats2 parser class added to extlib (MIT license)
...
Retrieved from https://raw.githubusercontent.com/indieweb/php-mf2/master/Mf2/Parser.php
GitHub project page: https://github.com/indieweb/php-mf2/
2014-06-23 20:52:43 +02:00
Mikael Nordfeldth
55418685c4
DiscoveryHints now properly returns hcard url
2014-06-23 20:51:37 +02:00
Mikael Nordfeldth
41a233f106
ModPlus available also for non-logged in users.
2014-06-23 20:30:00 +02:00
Mikael Nordfeldth
725af5edd0
Event listing boolean logic error
2014-06-23 20:22:15 +02:00
Mikael Nordfeldth
86fa4f5fe5
There was no getNickname() for User_group
2014-06-23 19:12:10 +02:00
Mikael Nordfeldth
4f59abea9a
don't show ModPlus for group profiles
2014-06-23 19:08:15 +02:00
Mikael Nordfeldth
abcbca5a94
Group listing in Directory plugin works again
2014-06-23 19:02:47 +02:00
Mikael Nordfeldth
faa12e63c0
No nickname in profile listing
2014-06-23 18:59:32 +02:00
Mikael Nordfeldth
51e96e580f
Attachments were not separated from e-content
2014-06-23 14:52:04 +02:00
Mikael Nordfeldth
af02f445e4
Event cache clearing bug
2014-06-23 14:23:44 +02:00
Mikael Nordfeldth
703443f152
Event upgraded to microformats2
2014-06-23 14:20:06 +02:00
Mikael Nordfeldth
658c6ab9a8
RSVP stricter typing
2014-06-23 14:16:34 +02:00
Mikael Nordfeldth
734287cfd3
showAvatar requires a profile
2014-06-22 22:49:28 +02:00
Mikael Nordfeldth
fb9214a853
Site notice on top now stretches out wide
2014-06-22 19:32:50 +02:00
Mikael Nordfeldth
783cc20586
We don't have the thumbnail title in attachment list
2014-06-22 19:17:49 +02:00
Marcel van der Boom
42104612bd
Make sure the Attention::saveNew does not cause an exception so queue items get removed
...
It's less of a problem that one queue-item does not get handled, attention wise,
than that the queue keeps filling up. The typical error raised here is 'already exists'
so it's not even the case that the item won't get handled (it already has been).
The real problem is that the queue_item table accepts duplicates (content-wise) which it
should not.
2014-06-22 17:22:04 +02:00