Mikael Nordfeldth
509f31af0e
Favorite plugin now "extends" Activity on NoticeAsActivity
...
Got this mainly from my patches to FreeSocial. The idea is to migrate
also the Note activity to a plugin and have everything be handled as
events, only filling out the basic "context" stuff in the Notice class.
2014-07-28 10:02:53 +02:00
Mikael Nordfeldth
6e481d35ed
Start/End NoticeAsActivity modifications
...
More 'scoped' profiles and typing to the functions.
Also, there's no need to send an object as a reference.
2014-07-28 09:40:07 +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
2d0c7c2c99
ensureWebfinger was never complete in StatusNet. Worked a bit on it.
2014-07-27 23:08:02 +02:00
Mikael Nordfeldth
bb1ac66d74
Cronish plugin minor debugging text fixes and so
2014-07-21 09:51:28 +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
9a2e3a52c9
Don't access HTTP_USER_AGENT if it doesn't exist
2014-07-15 20:38:58 +02:00
Mikael Nordfeldth
d6cc13ac33
Replies caused column name collision on joinAdd
2014-07-15 18:54:42 +02:00
Mikael Nordfeldth
55db74291c
Using empty on a function return value (thanks mrvdb)
...
Source: https://gist.github.com/mrvdb/0b49dd3c580bcfbe1358
2014-07-15 18:15:36 +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
9afdc40763
Show correct number of POSTs in conversation "more" link
2014-07-15 14:26:42 +02:00
Mikael Nordfeldth
ea8cb21e98
Allow exception to be thrown if saveActivityObject fails
2014-07-15 14:12:39 +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
1ee79dc379
Merge request from chimo adding getvaliddaemons to stopdaemons.php
...
Source: https://gitorious.org/statusnet/gnu-social/merge_requests/15
2014-07-14 23:53:55 +02:00
Mikael Nordfeldth
7617fb65d7
Merge request from robmyers upping the PHP version dependency
...
Source: https://gitorious.org/statusnet/gnu-social/merge_requests/16
2014-07-14 23:50:59 +02:00
Mikael Nordfeldth
31d53ede91
Bad variable reference in Fave class
2014-07-14 23:37:28 +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
b0c4a35940
Local favoriting fills out content to saveActivity
2014-07-14 14:05:47 +02:00
Mikael Nordfeldth
ae62b91940
Unifying HTML stripping functions to common_strip_html
2014-07-14 13:52:23 +02:00
Mikael Nordfeldth
e0a10f775f
Store activity content into Notice table in saveActivity
2014-07-14 13:29:03 +02:00
Mikael Nordfeldth
ac44695c44
Put text content into Favorite activities/activityobjects
2014-07-14 13:25:26 +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
b46b588522
New Profile_prefs get a 'created' value now.
2014-07-13 17:09:18 +02:00
Mikael Nordfeldth
b5fd2a048f
Shortcut to Profile_prefs get/set Data in Profile and User
2014-07-13 16:49:35 +02:00
Mikael Nordfeldth
b67a611ca7
Allow default data from Profile_prefs::getData call
2014-07-13 16:26:08 +02:00
Mikael Nordfeldth
933bf0b026
Start and End EmailSaveForm events now take a scoped profile
2014-07-13 15:42:15 +02:00
Mikael Nordfeldth
c8873de08b
Start and End EmailFormData events include current profile
2014-07-13 15:33:44 +02:00
Mikael Nordfeldth
a9bfa1979d
Don't send favorite notifications unless the user wants it.
2014-07-13 12:58:52 +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
e328fd7901
PEAR::HTTP_Request2 updated to 2.2.1
...
Release date: 2014-01-16 19:53 UTC
2014-07-10 16:25:59 +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
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