Commit Graph

418 Commits

Author SHA1 Message Date
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
8443b37035 small css fix 2015-06-10 08:26:17 +02:00
Hannes Mannerheim
7e9257635b only count image attachments 2015-06-10 02:49:07 +02:00
Hannes Mannerheim
62a546a1c1 gnusocial's reported width and height did not work with "orientatated" (e.g. portrait) images 2015-06-10 02:27:57 +02:00
Hannes Mannerheim
c95be84e60 no mixed content for sites like quitter.se 2015-06-10 01:47:50 +02:00
Hannes Mannerheim
f0aff8cb97 no thumbs in profile popup notices 2015-06-10 01:02:55 +02:00
Hannes Mannerheim
fdb2c5b49f better yt video support 2015-06-10 00:25:36 +02:00
Hannes Mannerheim
dd14e3977e image popups 2015-06-09 23:42:41 +02:00
Hannes Mannerheim
0c5d8b9e43 better unicode support for highlighting regexps 2015-06-07 12:15:50 +02:00
Hannes Mannerheim
871f0b6382 Merge pull request #188 from mmn/forgot_i_had_changed_variable_name
$logged_in_user was changed to $scoped before
2015-06-07 12:11:30 +02:00
Mikael Nordfeldth
5c0733eba1 $logged_in_user was changed to $scoped before 2015-06-07 12:02:30 +02:00
Hannes Mannerheim
b292a273d8 design change fix 2015-06-07 11:48:41 +02:00
Hannes Mannerheim
3d7113bf62 solves https://github.com/hannesmannerheim/qvitter/issues/178#issuecomment-109660610 thanks @moshpirit 2015-06-07 11:07:23 +02:00
Hannes Mannerheim
f4d565c282 version 2015-06-07 10:57:25 +02:00
Hannes Mannerheim
c36100d9df minicolors updated, #186 fixed, wait 0,5s before saving new colors, and new domains in regexp 2015-06-07 10:52:38 +02:00
Hannes Mannerheim
2ff0f8ac7b Merge pull request #187 from mmn/settings_should_be_static
QvitterPlugin::settings should be declared static
2015-06-07 10:38:19 +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
Hannes Mannerheim
d079f94936 don't expand notices in local profile popups 2015-06-05 09:13:36 +02:00
Hannes Mannerheim
d1af138974 popup fix 2015-06-05 08:32:11 +02:00
Hannes Mannerheim
ddddbfd87d don't update (and open) popup if it's already closed 2015-06-05 02:45:20 +02:00
Hannes Mannerheim
d749713ef3 caching of profile cards in window object. also: open popups for local users 2015-06-05 02:17:33 +02:00
Hannes Mannerheim
a017ad1940 xss fix 2015-06-04 21:41:03 +02:00
Hannes Mannerheim
e2b7ec3b23 Merge pull request #183 from mmn/no_need_to_check_logged_in_user
No need to check logged in user
2015-06-04 21:06:21 +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
Hannes Mannerheim
48baf874dc Merge pull request #181 from mmn/GET_p_not_always_set
$_GET['p'] is not always set (like when using PATH_INFO)
2015-06-04 08:48:55 +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
4a069e1b13 show server in mention suggestions when multiple users with same nickname matches 2015-06-02 17:10:58 +02:00
Hannes Mannerheim
d9385c68bd the quitter favicon had become low-res somehow 2015-06-02 15:22:09 +02:00
Hannes Mannerheim
60e6345c13 Merge pull request #180 from mmn/mention_fixing
Mention fixing
2015-06-02 15:16:26 +02:00
Mikael Nordfeldth
2c24b705de Correct error log message 2015-06-02 14:44:44 +02:00
Mikael Nordfeldth
2843606a83 Merge branch 'master' of https://github.com/hannesmannerheim/qvitter into mention_fixing 2015-06-02 14:41:15 +02:00
Hannes Mannerheim
e4f8d27937 follows you badge in external profile card popups #178 2015-06-02 14:06:05 +02:00
Mikael Nordfeldth
2cabb47269 Merge branch 'master' of https://github.com/hannesmannerheim/qvitter into mention_fixing 2015-06-02 14:04:35 +02:00
Mikael Nordfeldth
d69453f846 Exception handling for notice parent fetching 2015-06-02 14:04:22 +02:00
Hannes Mannerheim
d5a3c0f003 faster retrieval of external profiles 2015-06-02 13:53:36 +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
4677503011 reintroduce the old getRedirectUrl()
cc @mmn

the new getRedirectUrl() didn't work with quitter.es, either from
quitter.se or quitter.no

it also looked like the HTTPClient-based function downloaded the whole
file, instead of only the headers. (but i'm not sure)
2015-06-02 09:13:21 +02:00
Hannes Mannerheim
a016241dea compatibility with the libreJS plugin 2015-06-01 18:27:36 +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
fb271860b0 readme cleanup for final v4 release 2015-05-26 20:07:43 +02:00