Roland Haeder
571ba1369b
Check for valid database connection object.
...
Signed-off-by: Roland Haeder <roland@mxchange.org>
2014-08-18 10:10:55 +02:00
Mikael Nordfeldth
8825aef1de
local variable format in ApiAction declared in class
2014-08-08 11:35:06 +02:00
Mikael Nordfeldth
e32178d3ce
Don't auto-enable Twitter and Facebook bridges (singleuser)
...
Multiuser instances already had them disabled.
2014-08-05 11:37:39 +02:00
Mikael Nordfeldth
1c04601a9c
Removing excessive "inline" attachment listings
2014-08-05 11:30:45 +02:00
Mikael Nordfeldth
17b9614ff8
File->getEnclosure improvements (text/html is not an attachment)
2014-08-05 10:54:00 +02:00
Mikael Nordfeldth
33a85ae945
Inline attachment layout improvement
2014-08-04 18:33:57 +02:00
Mikael Nordfeldth
89704bcdee
Fixes some non-defined variables in commit eb2f93a
2014-07-28 10:57:45 +02:00
Mikael Nordfeldth
483b2d3d29
quick fix for when there is no $cur defined
2014-07-28 10:11:28 +02:00
Mikael Nordfeldth
eb2f93ad2b
More use of Profile, less User
2014-07-28 09:34:46 +02:00
Mikael Nordfeldth
d11ce2ef3b
Consistently use "email-notify_fave" syntax for preference
2014-07-27 23:25:49 +02:00
Mikael Nordfeldth
f4be42c597
Sorry, left some debug lines in the pushed source :)
2014-07-16 13:06:29 +02:00
Mikael Nordfeldth
618e31a780
Further column collisions in ReplyNoticeStream
2014-07-16 13:02:55 +02:00
Mikael Nordfeldth
d6cc13ac33
Replies caused column name collision on joinAdd
2014-07-15 18:54:42 +02:00
Mikael Nordfeldth
0cefab3603
Replies and Conversation noticestreams should only get POSTs by default
2014-07-15 14:27:03 +02:00
Mikael Nordfeldth
c96f0aa30f
More Activity-based reasoning for saveActivity in Notice
...
If we can, get the activity ID from the activity itself, instead of the
supplied $options array.
2014-07-14 23:54:58 +02:00
Mikael Nordfeldth
eb955fe629
"Notice posted" message in Ajax title for NewnoticeAction
2014-07-14 17:11:54 +02:00
Mikael Nordfeldth
60016b0a8f
Bad variable reference in lib/mail.php
2014-07-14 17:01:52 +02:00
Mikael Nordfeldth
ae62b91940
Unifying HTML stripping functions to common_strip_html
2014-07-14 13:52:23 +02:00
Mikael Nordfeldth
5ebe01ba36
NoticeStream fixes regarding non-post verbs
2014-07-14 00:59:04 +02:00
Mikael Nordfeldth
6de410bb6b
Properly output error messages in AJAX mode
2014-07-13 19:46:51 +02:00
Mikael Nordfeldth
0a20abf1d8
Email notify-on-fave moved to Profile_prefs (run upgrade.php)
2014-07-13 19:46:40 +02:00
Mikael Nordfeldth
6f593a79d4
making more sense in mail_notify_fav
...
We should probably get rid of this function, at least storing everything in
lib/mail.php - but until then, at least let's make it more understandable.
2014-07-13 12:56:43 +02:00
Mikael Nordfeldth
b3d6c51c79
Strict standards and deprecation warnings are good, but confusing
...
we know we have to get rid of PEAR::DB, but don't alarm users with hundreds
of lines of output.
2014-07-10 13:23:10 +02:00
Mikael Nordfeldth
a2360f7538
check-fancy test gave confusing output (not the real message)
2014-07-10 13:10:48 +02:00
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
2eea7a2d4b
Do proper Activity-plugin based mention notification
2014-07-07 01:15:43 +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
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
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
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
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
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
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
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
f200d708bd
Simplify NoticeSimpleStatusArray inclusion in lib/apiaction.php
2014-06-28 11:52:51 +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
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