Commit Graph

546 Commits

Author SHA1 Message Date
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
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
Hannes Mannerheim
6511f2e6cd minor faq fix again 2015-05-21 14:02:44 +02:00
Hannes Mannerheim
c133277410 minor faq fix 2015-05-21 12:34:59 +02:00
Hannes Mannerheim
2233e547f6 faq fix 2015-05-21 12:32:01 +02:00
Hannes Mannerheim
5485480933 remove log spam 2015-05-20 18:36:36 +02:00
Hannes Mannerheim
1c44f57cd7 Merge pull request #176 from knuthollund/master
Fixed issue #175
2015-05-20 18:28:42 +02:00
Knut Erik Hollund
d6760d02dd Fixed issue #175 2015-05-19 21:14:10 +02:00
Hannes Mannerheim
c3e2a0d19a implementation of #157 and no notifications from blocked profiles 2015-05-19 16:51:42 +02:00
Hannes Mannerheim
e49c8fd654 faq updates, thx @simsa0 and @moshpirit 2015-05-19 15:57:30 +02:00
Hannes Mannerheim
a19109545a correction 2015-05-19 15:24:11 +02:00
Hannes Mannerheim
a28089c89e fix for #148 and better caching of user designs 2015-05-19 15:22:52 +02:00
Hannes Mannerheim
95435143de fix for #166 2015-05-19 14:28:33 +02:00
Hannes Mannerheim
c2c664517d no duplicate mentions, thx @moshpirit #174 2015-05-19 14:11:33 +02:00
Hannes Mannerheim
c664148aff fix for #165, now works with localStorage disabled 2015-05-19 13:42:54 +02:00
Hannes Mannerheim
5c6f3a1daf Update faq.html 2015-05-12 20:30:09 +02:00
Hannes Mannerheim
f87660d36d patch by email that fixes a "PHP Fatal error: Call to a member function getEnclosure() on a non-object" error 2015-04-30 12:50:28 +02:00
Hannes Mannerheim
158ee6ec67 hide overflowing stuff when collapsing queet 2015-04-07 13:12:59 +02:00
Hannes Mannerheim
5ca01f9481 cache XRegExp regexps for performance, and XRegExp.forEach was really slow compared to ordinary while&match 2015-03-30 15:07:45 +02:00
Hannes Mannerheim
462b729af4 dots allowed in hashtags 2015-03-30 02:17:30 +02:00
Hannes Mannerheim
a93c60e6ea solves #43
this needed the addition of an external js lib to handle unicode regexp
2015-03-30 01:53:42 +02:00
Hannes Mannerheim
e569c8c21f fix for #147 2015-03-30 00:06:03 +02:00
Hannes Mannerheim
837ad8ca5a fix for #150 2015-03-29 23:49:26 +02:00