Commit Graph

100 Commits

Author SHA1 Message Date
Hannes Mannerheim
76dcc86ffc stop xss 2015-09-06 01:21:43 +02:00
Hannes Mannerheim
89b82becf4 tooltips, bookmark streams and clear browsing history 2015-08-31 23:53:09 +02:00
Hannes Mannerheim
721cb83201 add new group memberships to suggestion array, and delete when leaving group. also use group's proper id not group's profile id 2015-08-26 01:40:29 +02:00
Hannes Mannerheim
45b0019750 various fixes for the new group suggestion 2015-08-26 00:11:31 +02:00
Hannes Mannerheim
976be81ce9 suggest group mentions, and always post to correct group even user is member of multiple groups with same nickname 2015-08-25 23:27:08 +02:00
Hannes Mannerheim
3a7f8ab84d fixes #96 2015-08-25 13:27:14 +02:00
Hannes Mannerheim
dc189e1662 fixes this bug: https://quitter.se/notice/3962192 thx @saziusquitter 2015-08-22 21:30:26 +02:00
Hannes Mannerheim
8c817d0979 fixes #243 2015-08-05 13:49:42 +02:00
Hannes Mannerheim
f465a8aea7 fixes #238 2015-07-12 13:27:45 +02:00
Hannes Mannerheim
916fb82d65 linkify by default #236 2015-07-11 22:25:34 +02:00
Hannes Mannerheim
37a30cbe5c moving rerouting check from initialize() to onRouterInitialized() 2015-07-11 15:09:39 +02:00
Hannes Mannerheim
840a72dec7 hello #224 2015-07-11 01:13:18 +02:00
Hannes Mannerheim
04c242450d the hide_replies pref is returning 1 not true 2015-07-11 01:06:46 +02:00
Mikael Nordfeldth
f1ba999006 Don't examplify with a string boolean
there's strict type comparison later on (===, three equals) for true and false
2015-07-10 23:40:40 +02:00
Hannes Mannerheim
f099e37d13 fumbling in the dark #224 2015-07-10 23:27:20 +02:00
Hannes Mannerheim
db42f1186f more for #224 2015-07-10 21:51:20 +02:00
Hannes Mannerheim
5f24802df0 #224... 2015-07-10 21:47:37 +02:00
Hannes Mannerheim
a255b9fba6 some more guessing about issue #224 2015-07-10 21:39:15 +02:00
Hannes Mannerheim
51cda6f1da logic that i understand.. 2015-07-10 19:15:08 +02:00
Hannes Mannerheim
68e20d9ff1 maybe fix for #224 2015-07-10 15:30:24 +02:00
Hannes Mannerheim
bdf669e2ed adds feature requested in #138 2015-07-07 00:52:26 +02:00
Hannes Mannerheim
0c79026f77 human readable text-field for qvitter's new deleted-notice activity 2015-07-02 15:00:57 +02:00
Hannes Mannerheim
e3da8af8e2 fave number in non-expanded queets 2015-06-24 15:34:44 +02:00
Hannes Mannerheim
1c8d539237 hide&delete remote notices from qvitter-instances 2015-06-18 20:55:46 +02:00
Hannes Mannerheim
fdda2e4e0d no autoplay for animated gifs, better handling of youtube and webm videos
also solves @moshpirit's issue in #190, but when there's a mix of local
images and videos gnusocial messes up the order...
2015-06-17 00:44:18 +02:00
Hannes Mannerheim
80b9ca7fec finally found a fix for #92 2015-06-16 20:20:28 +02:00
Hannes Mannerheim
4610d596d9 thumnails for youtube-videos was not added when doing this.. 2015-06-15 17:58:47 +02:00
Mikael Nordfeldth
216750e084 makeRegex now static public in GNU social 2015-06-12 17:16:04 +02:00
Mikael Nordfeldth
113f7d04a7 These lines didn't do anything that the following line didn't just overwrite 2015-06-12 17:10:40 +02:00
Mikael Nordfeldth
92dace9f2a Removing last ?> since it is unnecessary
It might just end up throwing out whitespace to the PHP parser, causing
errors like "headers already sent" etc. because output has already begun.
2015-06-12 16:56:48 +02:00
Mikael Nordfeldth
18877f77f0 setting in_reply_to_profileurl with exception handling 2015-06-12 16:56:25 +02:00
Hannes Mannerheim
dd14e3977e image popups 2015-06-09 23:42:41 +02:00
Mikael Nordfeldth
5c0733eba1 $logged_in_user was changed to $scoped before 2015-06-07 12:02:30 +02:00
Hannes Mannerheim
f4d565c282 version 2015-06-07 10:57:25 +02:00
Mikael Nordfeldth
c0e1327288 Move some stuff to separate Plugin initialize() function
conflicted because of previously not static declaration of QvitterPlugin::settings
2015-06-07 10:15:35 +02:00
Mikael Nordfeldth
f9a683f8a1 onPluginVersion should have type 'array' for the arg 2015-06-07 10:14:33 +02:00
Mikael Nordfeldth
2a57bbaf84 don't use uninitialized $valid_code 2015-06-07 10:14:28 +02:00
Mikael Nordfeldth
acfed2353c QvitterPlugin::settings should be declared static
since it exclusively gets called statically and it otherwise generates
PHP Strict Standards warnings.
2015-06-07 10:04:53 +02:00
Hannes Mannerheim
9e45bcab47 better support for custom sprites 2015-06-06 16:20:26 +02:00
Mikael Nordfeldth
d1005c67a9 No need to check logged in user
It's always the notice's author we want to check this for anyway.

I kept getting errors like, which are now fixed:
   Trying to get property of non-object in /srv/www/vhosts/se/umeahackerspace/social/%/htdocs/local/plugins/Qvitter/QvitterPlugin.php on line 594

I guess it might also screw up (somehow?) if some future awesome
notice handling thing decided to run the StartNoticeDistribute event
when the session is not currently used by the notice's author. But
that's a bit far-fetched.
2015-06-04 20:21:49 +02:00
Mikael Nordfeldth
cc989fae6e $_GET['p'] is not always set (like when using PATH_INFO)
This uses the function in GNU social index.php which does the exact same
filtering as desired by Qvitter, but in a compatible way with both the
querystring and PATH_INFO rewrite rules for webservers.
2015-06-03 23:25:55 +02:00
Hannes Mannerheim
150bb1b9d6 better handling of profile cards, work in progress 2015-06-02 23:45:46 +02:00
Hannes Mannerheim
d9385c68bd the quitter favicon had become low-res somehow 2015-06-02 15:22:09 +02:00
Mikael Nordfeldth
2c24b705de Correct error log message 2015-06-02 14:44:44 +02:00
Mikael Nordfeldth
d69453f846 Exception handling for notice parent fetching 2015-06-02 14:04:22 +02:00
Mikael Nordfeldth
c4683bb3ba $notice->id is always set here!
Added assert() call to possibly review bugs in the future.
2015-06-02 13:31:35 +02:00
Hannes Mannerheim
a6618b8dcc enablewelcometext = true as usual 2015-05-29 17:43:13 +02:00
Hannes Mannerheim
b3f890053e readme update 2015-05-29 17:40:45 +02:00
Hannes Mannerheim
ce0100ee1e better handling of user designs, and a new custom welcome text option 2015-05-29 17:30:03 +02:00
Hannes Mannerheim
dc3d1d2fb7 fixes bug on quitter.se, where getUrl returned 400 error for activity notices (which don't have url:s) 2015-05-25 12:17:38 +02:00