Commit Graph

86 Commits

Author SHA1 Message Date
Hannes Mannerheim
5ebe154879 add hooks for other plugins to tap into qvitter 2015-03-03 00:33:18 +01:00
Hannes Mannerheim
1e36c997f0 conversation, repeat and fav caching, new api for getting favs&repeats in same request, etc 2015-02-25 21:16:24 +01:00
Hannes Mannerheim
1e74ad026e languages separated, jquery easing removed (wasn't used (i think)) 2015-02-24 22:36:36 +01:00
Hannes Mannerheim
69c10f6df5 another solution for #105 thx @rozzin 2015-02-24 18:34:51 +01:00
Mikael Nordfeldth
e88d716279 Use getActivePlugins() list to see if OpenID is active 2015-02-08 22:23:28 +01:00
Hannes Mannerheim
e72a7d3894 openid head tags 2015-02-08 14:02:34 +01:00
Mikael Nordfeldth
69b86c86a4 Use GNU social HTTPClient to GET and HEAD (consistent HTTP config)
The GNU social node has configured HTTPClient (HTTP_Request2 object) with
certain characteristics, which won't be respected when just using the PHP
built-in fetchers. This way we can have the same TLS certificate policy,
timeouts etc.

Also removed one test if get_headers() had returned an array, which it
never will since the "Location" is always a single absolute URL:
   "The field value consists of a single absolute URI."
        - https://tools.ietf.org/html/rfc2616#section-14.30
2015-02-07 16:06:43 +01:00
llebegue
e6eedc7454 Merge README.md with upstream 2015-02-04 21:46:06 +01:00
llebegue
9ba4dede19 Issue #58 : conditional welcome text 2015-02-04 21:40:56 +01:00
Mikael Nordfeldth
2041e2498b Feed fixes for QvitterAction when showing a local group 2015-02-04 18:19:49 +01:00
Mikael Nordfeldth
9c6d426b44 matching groups by nickname only must be for Local_group 2015-02-04 18:03:49 +01:00
Hannes Mannerheim
98cd4ed66a possibility to block ip addresses from registration 2015-02-04 14:44:04 +01:00
llebegue
10b984464a Fix #42 add missing ; 2015-01-29 21:12:56 +01:00
llebegue
d41d105237 Fix #42 link color on main page 2015-01-29 21:00:39 +01:00
llebegue
2ae3d05606 External parameter for favicon.ico 2015-01-27 21:22:17 +01:00
Hannes Mannerheim
a7f0100d42 rudamentary blocking, work in progress 2015-01-27 01:57:08 +01:00
Hannes Mannerheim
5ffe3faf96 follow button css class renamed to work with some adblock lists 2015-01-26 17:35:44 +01:00
Hannes Mannerheim
8d2d4d7cca new notifications check moved to http header to reduce polling 2015-01-26 17:13:34 +01:00
Hannes Mannerheim
8c38287b0c terms of use, and video thumbnail fix 2015-01-25 19:05:09 +01:00
Hannes Mannerheim
dab96e99a9 #89 extended to work with rotation and thumbnails 2015-01-23 16:28:41 +01:00
Hannes Mannerheim
50aab959ad revert #89 2015-01-23 13:20:30 +01:00
Mikael Nordfeldth
22e4c00e23 Use GNU social upload API instead of selfmade for images etc. 2015-01-23 02:08:21 +01:00
llebegue
d15ec44392 Fix #41 Image background as external parameter 2015-01-21 21:03:38 +01:00
Hannes Mannerheim
a9dd7e44d6 Asturian in menu 2015-01-20 22:11:54 +01:00
Hannes Mannerheim
bbbbfb2920 prevent corrupt notifications without notice_id 2015-01-20 15:14:46 +01:00
Hannes Mannerheim
f84c48f5ca optional ahorita 2015-01-19 22:55:19 +01:00
Hannes Mannerheim
20fa00e187 catalan language, thx to nomdusuaria@quitter.no and bueno@quitter.se 2015-01-19 21:19:20 +01:00
postblue
83f20288ba Uniform capitalization of languages 2015-01-18 17:08:16 +01:00
Mikael Nordfeldth
55b2f7a69d protected functions prepare and handle (and no args to handle) 2015-01-18 14:37:49 +01:00
Mikael Nordfeldth
5d83ff5b34 only updating the changed fields (performance) 2015-01-18 14:28:53 +01:00
Mikael Nordfeldth
03cba8fc0c It was the exact same loop all over again 2015-01-18 14:27:42 +01:00
Mikael Nordfeldth
3b9fd25787 formatting and layout (tabs = 4 spaces, no trailing whitespace) 2015-01-18 14:26:07 +01:00
Mikael Nordfeldth
0d6318c92b No need to test if it's empty when we're running foreach 2015-01-18 14:18:19 +01:00
Joshua Judson Rosen
bd67dce5bb Enable invitations whenever invitations are enabled.
Use the same logic as GNU social does: invitations enabled and registration not closed.
2014-12-09 20:25:37 -05:00
Hannes Mannerheim
0a048baea7 invite friends for invite-only instances, thx @rozzin 2014-12-09 02:24:23 +01:00
Hannes Mannerheim
ebb2fad1c7 title attribute in openid link 2014-12-08 17:43:21 +01:00
Hannes Mannerheim
c7b84ce637 OpenID login link 2014-12-08 17:39:47 +01:00
Joshua Judson Rosen
6de248fe04 autocompletion: use avatar URLs, not filenames.
Not all avatar-providing plugins generate a local filename;
just using a pregenerated URL is safer.
2014-11-30 21:49:19 -05:00
Joshua Judson Rosen
8ad46d8534 Make Qvitter work when `SSL sometimes' sites load it w/out SSL
Using HTTPS URLs from a non-HTTPS site can make browsers think
that there's a cross-site issue, for example when loading JSON data
via qvitter HTTP API calls (which makes the browsers block the data,
which breaks Qvitter).

So let the site config decide whether to use HTTPS or not;
on `ssl = sometimes' sites, generally try to use HTTPS only when
it's consistent with how the current page is being loaded
(which is consistent with what the main GNU Social code does).
2014-11-30 21:48:04 -05:00
Mikael Nordfeldth
6083c43863 More dynamic plugin directory lookup
I installed Qvitter in local/plugins/ rather than plugins/ which
meant that some statically assigned paths were incorrect. This patch
will instead find the current Qvitter directory when the plugin is
loaded and use that when finding ctime for files on the filesystem.
2014-11-28 13:54:58 +01:00
Hannes Mannerheim
ef51b7da86 move faq to own file and faq menu item in classic 2014-11-28 01:16:34 +01:00
Hannes Mannerheim
8a72b24ea2 makes thumbnails show again 2014-11-27 23:29:58 +01:00
Hannes Mannerheim
8303c557dd easier updates 2014-11-27 21:04:41 +01:00
Hannes Mannerheim
62a0357577 on 404, only redirect to front page if this is a user stream 2014-11-27 13:20:00 +01:00
Hannes Mannerheim
e19892584f missing brackets making background image not appear in webkit 2014-11-27 12:40:05 +01:00
Hannes Mannerheim
46bf7bf232 design consistency 2014-11-26 01:51:07 +01:00
Hannes Mannerheim
e442a6d67d fix issues with mention suggestions 2014-11-26 00:58:56 +01:00
Hannes Mannerheim
5e8c84edb2 notifications bug 2014-11-25 21:38:00 +01:00
Hannes Mannerheim
b69f5d364a upload image design thing
(also fixes bug on quitter.se causing images not to preview, caused by
our https substitutions in apache)
2014-11-25 10:01:57 +01:00
Hannes Mannerheim
010666c20c removes a php warning 2014-11-25 02:38:46 +01:00