Commit Graph

4015 Commits

Author SHA1 Message Date
Mikael Nordfeldth
39b5e08d44 Possible XSS scenario when posting Bookmarks 2014-10-25 15:00:29 +02:00
Mikael Nordfeldth
048af5ac73 Can't use empty on a function call 2014-10-25 14:29:27 +02:00
Roland Haeder
3d031951f9 Fixed syntax error. :-(
Signed-off-by: Roland Haeder <roland@mxchange.org>
2014-10-25 14:26:22 +02:00
Roland Haeder
db704b5d10 Fixed type-hints + added assert + method getGroup().
Signed-off-by: Roland Haeder <roland@mxchange.org>
2014-10-25 14:26:18 +02:00
Roland Haeder
419c2cd5b3 Some fixes/improvements - added getter getGroup() for https://bugz.foocorp.net/T44 - added type-hints in method signatures
---------------------------------------------------------
WARNING: Some plugins attempt to get a property 'group' from (basicly) a Menu
class which does NOT have such property. This badly needs fixing.
---------------------------------------------------------

Signed-off-by: Roland Haeder <roland@mxchange.org>
2014-10-25 14:25:12 +02:00
Mikael Nordfeldth
57b5e2483d A little bit more debugging. 2014-10-25 14:23:15 +02:00
Hannes Mannerheim
8dba84bd76 i had introduced a bug... userdirectory didn't work when logged out 2014-10-21 02:57:52 +02:00
Hannes Mannerheim
0f87edd9f4 remove dupes when infinitescrolling, and add infinitescroll to user lists and userdirectory also 2014-10-20 16:34:37 +02:00
Hannes Mannerheim
4d4a0491f1 groups/all didn't work, also fixed pagination in directory/users, and a convenient delete-button for admins 2014-10-20 16:24:53 +02:00
Hannes Mannerheim
e3bb5e1df9 do favorites from default like in API
not quite sure about this, but the deleted code in this commit created
activity notices that we couldn't turn off in config.
2014-10-20 16:17:40 +02:00
Mikael Nordfeldth
d0401b19a5 statusnet/gnu-social merge request 22 2014-10-10 20:52:09 +02:00
Aqeel Zafar
a7ffc9e14e Fix T46 Blog Plugin is broken
Adds newFormAction() in Blog Plugin to redirect to correct action.
2014-09-29 18:06:54 +05:00
Mikael Nordfeldth
78781050b3 Mats Sjöberg's merge request no.5 from Gitorious 2014-09-25 08:41:25 +02:00
Mikael Nordfeldth
ee41bc560c Updated LDAP2 extlib to latest version. 2014-09-25 08:34:55 +02:00
Mikael Nordfeldth
a6545d09b8 Added a return true statement for an event handler 2014-09-25 08:32:10 +02:00
Silke Meyer
731d619c1e "return parent" breaks ldap plugin, there's no parent 2014-09-17 17:15:32 +02:00
Mikael Nordfeldth
7e47026085 QnA layout fix, still no answer-action
There is required to be an answer-action element for the threaded view
so we can fetch that action value to an AJAX call which fetches the form.

That is: Currently the "Your answer..." placeholder will fetch a blank URL.
2014-08-24 13:34:01 +02:00
Mikael Nordfeldth
f851d3dbf9 tabs to spaces 2014-08-24 13:33:52 +02:00
Roland Haeder
e1eadbcf4f Fixes for making Meteor working with HTTPS.
Signed-off-by: Roland Haeder <roland@mxchange.org>
2014-08-24 13:24:42 +02:00
Roland Haeder
c1a0132cab Added missing index declarations.
Signed-off-by: Roland Haeder <roland@mxchange.org>
2014-08-24 13:21:59 +02:00
Roland Haeder
3ec64116a4 This JavaScript file is located in js/ - Fixed paths for all targets.
Signed-off-by: Roland Haeder <roland@mxchange.org>
2014-08-24 13:10:19 +02:00
Mikael Nordfeldth
63b61ea2d1 QnA fixes from chimo 2014-08-24 13:05:49 +02:00
Mikael Nordfeldth
3cdc313429 Poll fixes by chimo 2014-08-24 13:01:13 +02:00
Mats Sjöberg
376e63db77 TwitterBridge should not try to send replies to tweets back to Twitter if user hasn't selected to import tweets. 2014-08-21 21:04:06 +03:00
chimo
3edc200b26 PollListItem: Use showNotice args 2014-08-17 13:39:19 -04:00
chimo
0a95cdfa88 Added adaptNoticeListItem and QnAListItem 2014-08-17 13:37:43 -04:00
chimo
850d687901 Added adaptNoticeListItem and PollListItem 2014-08-17 13:33:07 -04:00
Mikael Nordfeldth
9933c00c4f TwitterBridge PHP require_once paths now relative 2014-08-06 09:29:47 +02:00
Mikael Nordfeldth
a9676f5b2b RSVP fromNotice now throws NoResultException 2014-08-06 09:23:42 +02:00
Mikael Nordfeldth
9018fd75c6 JOINs and FOLLOWs would have null titles in Activity representation of notices 2014-07-30 00:21:00 +02:00
Mikael Nordfeldth
8674b51144 Activity plugin fix (LeaveListItem unused) 2014-07-29 10:43:58 +02:00
Mikael Nordfeldth
78dc376f01 Moved some FAVORITE handling from Activity plugin to Favorite 2014-07-28 10:58:24 +02:00
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
9a2e3a52c9 Don't access HTTP_USER_AGENT if it doesn't exist 2014-07-15 20:38:58 +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
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
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
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
0a20abf1d8 Email notify-on-fave moved to Profile_prefs (run upgrade.php) 2014-07-13 19:46:40 +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