Commit Graph

273 Commits

Author SHA1 Message Date
Hannes Mannerheim
86ea303e4e Merge pull request #65 from mmn/neustatus_ios_client
Neustatus is a working iOS StatusNet client
2015-01-19 17:13:21 +01:00
Mikael Nordfeldth
8378b09b68 Neustatus is a working iOS StatusNet client 2015-01-19 17:07:20 +01:00
Hannes Mannerheim
13d7976dd7 removal of duplicate notifications was broken 2015-01-19 17:05:12 +01:00
Hannes Mannerheim
fce5e17f51 Merge pull request #63 from mmn/no_duplicates_in_feed_end
Duplicate items appeared when scrolling to bottom of feed
2015-01-19 16:52:19 +01:00
Mikael Nordfeldth
ce4b99e2a5 Duplicate items appeared when scrolling to bottom of feed
At least on the "notifications" feed page many users on quitter.es reported
that their notifications were duplicated when scrolling down.

It appears that qvitter.js fetches notices but does not check which notices
were already there, so I did a quick fix and set the feed to only fetch
notices which had a max_id of the last item _minus one_.

max_id is inclusive in GNU social.
2015-01-19 15:41:52 +01:00
Hannes Mannerheim
259651e671 the source of notices is probably safe html to render 2015-01-19 14:07:46 +01:00
Hannes Mannerheim
518daa127e Merge pull request #59 from mmn/no_http_replacement
Don't replace https with http in form action URL
2015-01-19 14:05:55 +01:00
Mikael Nordfeldth
ec057fe8a4 Don't replace https with http in form action URL
I guess this is a residual line from when quitter.se had to rewrite their calls to http manually?
2015-01-19 09:31:43 +01:00
Hannes Mannerheim
5b711d981f replace html special chars to stop xss 2015-01-18 20:36:08 +01:00
Hannes Mannerheim
4765039f43 Merge pull request #55 from postblue/fix-capitals
Uniform capitalization of languages
2015-01-18 17:40:32 +01:00
Hannes Mannerheim
f165ca53c4 Merge pull request #54 from mmn/indexes_in_qvitternotification
Indexes for QvitterNotification dataobject
2015-01-18 17:38:08 +01:00
postblue
83f20288ba Uniform capitalization of languages 2015-01-18 17:08:16 +01:00
Mikael Nordfeldth
fc7ea82724 Indexes for QvitterNotification dataobject 2015-01-18 16:54:59 +01:00
Hannes Mannerheim
6967bf667f Merge pull request #53 from postblue/fr
Fixing mix up
2015-01-18 16:39:01 +01:00
postblue
566dc891d7 Fixing mix up 2015-01-18 16:20:19 +01:00
Hannes Mannerheim
8dbbd9a1f4 Merge pull request #51 from postblue/fr
Missed a line
2015-01-18 15:18:09 +01:00
postblue
17f03c9f1d Missed a line 2015-01-18 15:15:01 +01:00
Hannes Mannerheim
c3f2009837 french translations fixes by @postblue@herds.eu 2015-01-18 15:02:03 +01:00
Hannes Mannerheim
def16d377c Merge pull request #50 from mmn/class_qvitternotifications_undefined_property
Class var declarations did not match SQL table
2015-01-18 14:56:20 +01:00
Mikael Nordfeldth
08ee629b92 Class var declarations did not match SQL table 2015-01-18 14:45:41 +01:00
Hannes Mannerheim
067d6a72f9 Merge pull request #49 from mmn/qvitter_notification_code_style
Qvitter notification code style
2015-01-18 14:38:52 +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
Hannes Mannerheim
eacf063b0f .zone in url regexp. this needs fixing later, with all new domains 2015-01-16 01:55:17 +01:00
Hannes Mannerheim
54644f13b7 Merge pull request #31 from rozzin/invite-button
Enable invitations whenever invitations are enabled.
2014-12-19 15:43:28 +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
Hannes Mannerheim
73c32af95d undo commit 3ad2e0a 2014-12-08 16:23:00 +01:00
Hannes Mannerheim
dae93799b9 Merge pull request #28 from rozzin/bugfixes
Fix path to toggleqvitter.js; CSS background-image fixup.
2014-12-08 16:16:27 +01:00
Joshua Judson Rosen
69db9a06fb Prevent background-image from tiling.
Some browsers apparently mess up rendering unless we do this
(discovered in Epiphany on Debian 7.7/wheezy).
2014-12-05 00:10:51 -05:00
Joshua Judson Rosen
3ad2e0abba Use the background-image even in condensed view.
Scale and position it so as to smoothly transition across the condensed/full threshold.
2014-12-05 00:08:09 -05:00
Joshua Judson Rosen
751a9503d7 Fix path to toggleqvitter.js
Plugin::path() needs its argument to actually be a file that exists
relative to the plugin base directory so that it can determine
whether the plugin is rooted in / or /local.

So don't include HTTP GET args in the path() argument--append them after
getting the value back from path().
2014-12-04 22:48:55 -05:00
Hannes Mannerheim
ecc0aa8d36 Merge pull request #24 from rozzin/bugfixes
Bugfixes
2014-12-02 23:52:51 +01:00
Hannes Mannerheim
ce738d6b09 faq corr 2014-12-02 23:46:12 +01:00
Hannes Mannerheim
e48f6fbb47 remove references to quitter 2014-12-02 16:32:53 +01:00
Hannes Mannerheim
c614eaf35a faq corrections by @simsa0 2014-12-02 16:31:11 +01:00
Joshua Judson Rosen
4d16fd0010 Fix autocomplete overflow on condensed view 2014-11-30 21:49:52 -05: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
96867c8983 Don't insert extra whitespace in queetbox. 2014-11-30 21:48:11 -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
Hannes Mannerheim
179a49cfa1 more more dynamic plugin directory lookup 2014-11-28 15:54:23 +01:00
Hannes Mannerheim
79ba613042 Merge pull request #23 from mmn/master
More dynamic plugin directory lookup
2014-11-28 15:44:55 +01: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
94fe4284a0 not a clip 2014-11-28 03:42:13 +01:00
Hannes Mannerheim
60ec96c2a8 minor correction 2014-11-28 03:30:06 +01:00