Commit Graph

414 Commits

Author SHA1 Message Date
Hannes Mannerheim
eb3a2af822 use script element instead of attribute for attachment json, and avoid that header&body in oembed is the same by checking similarity 2016-01-21 16:15:56 +01:00
Hannes Mannerheim
5510b7d622 trust oembedHTML to be cleaned server side 2016-01-21 10:05:45 +01:00
Hannes Mannerheim
c10d20a138 remove trailing <br>s from queet text 2016-01-21 03:00:17 +01:00
Hannes Mannerheim
8a7f7ce368 bug with diaspora notices quoting tweets, unwrap p 2016-01-21 02:47:34 +01:00
Hannes Mannerheim
3b39b3fc43 handle twitter oembed in same way as quotes 2016-01-21 02:16:39 +01:00
Hannes Mannerheim
ba1816a6fd more oembed fixes 2016-01-20 19:06:21 +01:00
Hannes Mannerheim
1b00c75700 youtube is a special case 2016-01-20 18:40:27 +01:00
Hannes Mannerheim
c44f7f4f41 don't ask the server about profile cards if we already asked less than a minute ago 2016-01-20 18:30:16 +01:00
Hannes Mannerheim
965f40dc93 strip tags serverside and convert html special chars client side, we don't want html in our oembed body anyway 2016-01-20 18:21:03 +01:00
Hannes Mannerheim
960c98429c attachments were sometimes added after .expanded-content 2016-01-20 17:54:35 +01:00
Hannes Mannerheim
bcb88e5239 oembed 2016-01-20 17:39:34 +01:00
Hannes Mannerheim
3cc2eb3f14 rant mode, design fixes, move user stream item html to separate function, etc 2016-01-18 19:30:29 +01:00
Hannes Mannerheim
74c52babc2 ask users to help with translation 2016-01-18 15:26:54 +01:00
Hannes Mannerheim
33bf3e2912 new url 2016-01-18 01:24:37 +01:00
Hannes Mannerheim
95838ace25 hide multiple repeats of same notice 2016-01-17 00:21:30 +01:00
Hannes Mannerheim
35aad6a531 we really want to make sure page-container is visible at these points 2016-01-16 22:24:48 +01:00
Hannes Mannerheim
7ad39a5315 #350 reroute qvitter's ApiQvitterStatusesUpdate to its own url instead 2016-01-14 20:50:17 +01:00
Hannes Mannerheim
89110d38f5 dropdown menus could leave ghosts in the cache 2016-01-13 22:08:20 +01:00
Hannes Mannerheim
5319fe4359 Merge pull request #346 from mmn/dont_use_suggestion_when_ctrl_key_is_pressed
Avoid selecting profile suggestion if Ctrl+Enter is pressed
2016-01-13 22:02:32 +01:00
Mikael Nordfeldth
6b778feb31 Avoid selecting profile suggestion if Ctrl+Enter is pressed
If I was typing a queet and ended with a mention (@theru) it listed
several nicknames matching '%theru%', such as 'anoTHERUser'. When I
send the queet with the short command Ctrl+Enter it chose @anotheruser
and my friend theru was ever so sad not to receive the notification :(
2016-01-13 21:55:20 +01:00
Hannes Mannerheim
e43b9359fc quick fix fort the hidden urls issue, will fix properly later 2016-01-13 20:54:17 +01:00
Hannes Mannerheim
42740518d3 attachment fixes 2016-01-10 21:31:19 +01:00
Hannes Mannerheim
48f5cb0c8b disregard protocol when comparing quoted notice urls 2016-01-10 20:55:04 +01:00
Hannes Mannerheim
74950a5325 gif-badge on gif-animations 2016-01-10 18:14:34 +01:00
Hannes Mannerheim
aaf93bce01 quoted notices inside the queet text instead 2016-01-10 17:19:47 +01:00
Hannes Mannerheim
72508f8e5a fixes https://quitter.im/notice/46643 2016-01-10 12:29:56 +01:00
Hannes Mannerheim
eb10b4c906 fix for last commit 2016-01-09 21:27:02 +01:00
Hannes Mannerheim
977faaade3 switching stream in the middle of a stream item collapse sometimes left unwanted style attributes in the cache 2016-01-09 21:01:34 +01:00
Hannes Mannerheim
3c6243ac50 disregard protocol for quoted notices 2016-01-07 16:07:15 +01:00
Hannes Mannerheim
369fabef09 buildAttachmentHTML() was changed in previous commit 2016-01-07 14:00:38 +01:00
Hannes Mannerheim
7554706792 quoted notices 2016-01-07 03:03:18 +01:00
Hannes Mannerheim
62817126a4 don't cache temp-posts 2016-01-05 15:24:52 +01:00
Hannes Mannerheim
5baaa38a78 clean up any stray collapsing classes (user might have changed stream while collapsing a notice) 2016-01-05 13:24:26 +01:00
Mikael Nordfeldth
1eceb0888a Change 'is_activity' to the inverse, 'is_post_verb' 2016-01-02 16:11:46 +01:00
Hannes Mannerheim
f0786ee8fe fixes for quitter.se https setup 2015-12-29 16:35:09 +01:00
Hannes Mannerheim
ebaee73b03 update queet times immediately when switching to a cached stream 2015-12-22 13:36:44 +01:00
Hannes Mannerheim
02eced7291 check if email is already in use when registering + some rtl css fixes 2015-12-14 21:01:27 +01:00
Hannes Mannerheim
40edfae0a2 fix for https://quitter.no/notice/824574 2015-12-10 17:36:28 +01:00
Hannes Mannerheim
b11d690e9f update changed user data in elements already added to DOM 2015-12-03 21:41:00 +01:00
Hannes Mannerheim
44815db8d0 times of notifications didn't update properly 2015-12-03 16:19:03 +01:00
Hannes Mannerheim
7534937fb7 login cleanup and fixes #322 2015-12-03 16:06:02 +01:00
Hannes Mannerheim
71e9014bcd hide notices in cache from blocked users 2015-12-03 11:29:08 +01:00
Hannes Mannerheim
7fc8daac3b remove classes from notices incorrectly marked as unrepeated 2015-12-01 09:13:59 +01:00
Hannes Mannerheim
ffbeaf309c bugfix 2015-12-01 01:03:07 +01:00
Hannes Mannerheim
4b66bcfe04 lists 2015-11-29 20:19:23 +01:00
Hannes Mannerheim
73a77a02fb update attachment data attribute and thumbnails on any attachment data change 2015-11-25 21:00:30 +01:00
Hannes Mannerheim
8e210301cd show full notice text for all cached notices, if we have it in cache 2015-11-25 20:36:28 +01:00
Hannes Mannerheim
10b5e76295 better handling of the small not-seen disc 2015-11-25 20:11:59 +01:00
Hannes Mannerheim
29b5b316f3 delete fixes and update already loaded notices with attachments if attachments were in processing when we first got the notice 2015-11-25 19:51:51 +01:00
Hannes Mannerheim
d54da897e4 no longer needed since updating is already done (better as well) in searchForUpdatedNoticeData 2015-11-23 12:44:36 +01:00
Hannes Mannerheim
846b051ec4 "double posting" fixed, and other various fixes 2015-11-23 02:23:44 +01:00
Hannes Mannerheim
fb0549693d more specific selector needed not to change other stuff 2015-11-23 00:31:17 +01:00
Hannes Mannerheim
072c411ac2 big change in how streams are changed, and lots of bugfixes 2015-11-23 00:24:33 +01:00
Hannes Mannerheim
9d4ee91d38 maybe solves #312 2015-11-20 12:04:20 +01:00
Hannes Mannerheim
ae24576fe7 update the stream states in localstorage more often, and some messing with setting new streams 2015-11-19 21:22:59 +01:00
Hannes Mannerheim
cff9c53f78 small fixes 2015-11-19 18:32:46 +01:00
Hannes Mannerheim
f3161ec32f more generic menu building 2015-11-19 15:39:19 +01:00
Hannes Mannerheim
527b4ec86d no html (i.e. chev-rights) in saved bookmark and history json 2015-11-19 15:38:25 +01:00
Hannes Mannerheim
8e001e3708 tooltip for hidden notices from blocked users 2015-11-18 22:14:12 +01:00
Hannes Mannerheim
989beec472 bugfix 2015-11-18 21:15:43 +01:00
Hannes Mannerheim
14ae286aeb semi-hide notices form profiles we're blocking 2015-11-18 16:38:19 +01:00
Hannes Mannerheim
fd43133f0f stream menus, mark all notifications as read, opt-out from certain notifications 2015-11-17 22:48:28 +01:00
Hannes Mannerheim
560b71d93b bugfix, when you cancelled the file dialog and opened it again, files were uploaded twice 2015-11-16 21:46:09 +01:00
Hannes Mannerheim
b57857b1bb older gs doesn't supply the the atom:link element in the upload media api 2015-11-16 20:38:55 +01:00
Hannes Mannerheim
8a71ee5b7e cleaner image upload without canvas, also possible to upload any attachment, plus error message when upload fails 2015-11-16 20:27:40 +01:00
Hannes Mannerheim
789c397ddc fixes #278 2015-11-16 18:24:34 +01:00
Hannes Mannerheim
8a76a28a66 handle conversation links, fixes #269 2015-11-16 18:13:48 +01:00
Hannes Mannerheim
2ffe165d41 honour start time hash in youtube videos #273, and make youtu.be links embed the video #270 2015-11-16 17:40:04 +01:00
Hannes Mannerheim
fefe9f2b87 fixes #283 2015-11-16 17:13:26 +01:00
Hannes Mannerheim
99a0350cd7 error reporting for status code 0 2015-11-16 16:37:47 +01:00
Hannes Mannerheim
111f57a269 browser detection library and no basicauth popup hack in microsoft browsers 2015-11-16 16:09:01 +01:00
Hannes Mannerheim
cf576c939a slightly better syntax highlighting in safari 2015-11-06 03:56:56 +01:00
Hannes Mannerheim
8fd44ec71e fixes #286 2015-11-05 13:27:23 +01:00
Hannes Mannerheim
4a4c2aff0d adds a tooltip that shows when a notice was repeated #300 2015-11-05 13:10:11 +01:00
Hannes Mannerheim
f893eb6dab fixes #301 2015-11-05 12:54:03 +01:00
Hannes Mannerheim
b12bad0ebd set logged in user data server side 2015-11-05 12:34:12 +01:00
Hannes Mannerheim
76f579b84a possibility for other plugins to add streams and translations to qvitter 2015-10-19 18:47:24 +02:00
Hannes Mannerheim
66f4ee92d8 blur all selections on escape (makes e.g. keyboard shortcuts work after collapsing a notice with escape) 2015-10-13 13:20:48 +02:00
Hannes Mannerheim
ca6ff275ff error message for removed notices 2015-10-13 13:19:06 +02:00
Hannes Mannerheim
022a76d2dc fixes #279 2015-10-03 19:24:02 +02:00
Hannes Mannerheim
66728fb136 remove old error messages on stream change 2015-09-29 17:05:20 +02:00
Hannes Mannerheim
6149e736d7 the effect core in jQuery UI was missing 2015-09-29 16:58:14 +02:00
Hannes Mannerheim
dc5dcc6cf8 wrong header 2015-09-29 16:32:02 +02:00
Hannes Mannerheim
3825d0af5f error reporting 2015-09-29 16:31:05 +02:00
Hannes Mannerheim
9009133199 rtfm hannes... same as https://github.com/pieroxy/lz-string/issues/59 2015-09-26 01:57:40 +02:00
Hannes Mannerheim
ded70bec07 cache stream state in localStorage 2015-09-21 22:46:15 +02:00
Hannes Mannerheim
903ca469a9 custom jquery-ui with only draggable and sortable 2015-09-21 19:08:06 +02:00
Hannes Mannerheim
21de93375f compress data in localStorage with lz-string 2015-09-21 18:30:37 +02:00
Hannes Mannerheim
bf0c0fcbc9 sometimes profile cards became "sticky", so always make sure there's no card over streams that don't have the qvitter-user-array header 2015-09-21 02:10:23 +02:00
Hannes Mannerheim
d8abe400a7 handle group/{id}/id links 2015-09-21 02:00:03 +02:00
Hannes Mannerheim
dcd4f55c69 get text attachments directly instead of via the api 2015-09-21 00:58:11 +02:00
Hannes Mannerheim
d35368039c non-breaking space after mentions 2015-09-19 22:36:15 +02:00
Hannes Mannerheim
66124e5fa0 skip too short syntax highlighting matches 2015-09-19 22:17:22 +02:00
Hannes Mannerheim
ce79f407ea browser could get caught in infinite loop here 2015-09-19 20:39:01 +02:00
Hannes Mannerheim
ad2af23220 no follow button in remote profile hover cards for logged out users 2015-09-18 22:08:53 +02:00
Hannes Mannerheim
9d323a6dde hover cards also for remote users 2015-09-18 17:23:08 +02:00
Hannes Mannerheim
ae5ccea547 better support for links to profiles that has changed nickname after the link was created 2015-09-18 13:42:19 +02:00
Hannes Mannerheim
2e4a8923ef better/different is:ing 2015-09-18 12:02:23 +02:00
Hannes Mannerheim
1ba3c6bd29 handle group/{id}/id urls, always cache user array headers, window.following as object with local id as key (instead of array) for easier lookup by id 2015-09-18 03:04:28 +02:00
Hannes Mannerheim
df99f9bbaa better stream handling (hopefully..), and hover not hoover 2015-09-18 01:42:52 +02:00