Commit Graph

394 Commits

Author SHA1 Message Date
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
Hannes Mannerheim
c22eaa9f1b hoover cards (almost finished) 2015-09-16 22:41:48 +02:00
Hannes Mannerheim
3de43b6b33 hoover cards [work in progress...] 2015-09-15 03:58:11 +02:00
Hannes Mannerheim
69e29469a3 separate function for aligning tooltip, to be reused for the profile hoovercards 2015-09-14 18:04:27 +02:00
Hannes Mannerheim
3eebbb34ef remove profile popups (being replaced with hoovercards), tooltip fixes, ostatus uri in api user arrays 2015-09-14 17:49:06 +02:00
Hannes Mannerheim
22b720b08f option to cache remote images, direct links to image thumbnails, session cleanup to allow for simultaneous api requests 2015-09-13 01:59:02 +02:00
Hannes Mannerheim
cb7df0eead mistake, not intended for master 2015-09-06 20:33:16 +02:00
Hannes Mannerheim
3754ef5b3d title attributes can contain malicious code 2015-09-06 20:31:25 +02:00
Hannes Mannerheim
018d1d1bbb one more possible xss issue 2015-09-06 01:50:20 +02:00
Hannes Mannerheim
76dcc86ffc stop xss 2015-09-06 01:21:43 +02:00
Hannes Mannerheim
fff77da69c stop some far-fetched xss scenarios 2015-09-06 00:26:33 +02:00
Hannes Mannerheim
89b82becf4 tooltips, bookmark streams and clear browsing history 2015-08-31 23:53:09 +02:00
Hannes Mannerheim
721cb83201 add new group memberships to suggestion array, and delete when leaving group. also use group's proper id not group's profile id 2015-08-26 01:40:29 +02:00
Hannes Mannerheim
d9c978e5fa small fix related to group mentions 2015-08-26 01:00:37 +02:00
Hannes Mannerheim
45b0019750 various fixes for the new group suggestion 2015-08-26 00:11:31 +02:00
Hannes Mannerheim
976be81ce9 suggest group mentions, and always post to correct group even user is member of multiple groups with same nickname 2015-08-25 23:27:08 +02:00
Hannes Mannerheim
e0bd1dc586 feature requested in #262 2015-08-25 14:12:50 +02:00
Hannes Mannerheim
88c076ad11 further refinements for #96 2015-08-25 14:00:07 +02:00
Hannes Mannerheim
3a7f8ab84d fixes #96 2015-08-25 13:27:14 +02:00
Hannes Mannerheim
b4104b6635 fixes #259 and a bug with dates not showing on windows 2015-08-17 21:42:32 +02:00
Hannes Mannerheim
c77d3840ee xregexp updated, maybe solves #258 2015-08-11 17:53:58 +02:00
Hannes Mannerheim
9e12263ff5 somtimes groups got tagged with "!@" 2015-08-06 21:53:24 +02:00
Hannes Mannerheim
1c3c8e306d accessibility toggle link to switch to standard UI 2015-08-06 21:32:32 +02:00
Hannes Mannerheim
8c817d0979 fixes #243 2015-08-05 13:49:42 +02:00
Hannes Mannerheim
fbd081ecc5 fixes #237 2015-07-11 21:33:02 +02:00
Hannes Mannerheim
bf3178d799 error reporting for shortening 2015-07-10 21:35:16 +02:00
Hannes Mannerheim
2f1af5a59b fixes #233 2015-07-10 19:32:34 +02:00
Hannes Mannerheim
c2365bd7db fixes #213 2015-07-06 21:36:07 +02:00
Hannes Mannerheim
3097953589 fixes #211 2015-07-06 21:30:16 +02:00
Hannes Mannerheim
393cef75b6 makes the keyboard shortcut documentations appear on '?' on US keyboards, see https://quitter.no/notice/526853 2015-07-06 19:20:56 +02:00
Hannes Mannerheim
2143afd35f fixes #216 2015-07-06 18:49:45 +02:00
Hannes Mannerheim
20dbc02e58 addresses #219 and fixes #204 2015-07-06 18:29:15 +02:00
Hannes Mannerheim
01461be17f input cache should be cleared when sending a queet 2015-07-06 17:32:52 +02:00
Hannes Mannerheim
f0405de2e4 make sure all activity notices get proper design 2015-07-06 10:36:25 +02:00
Hannes Mannerheim
972f37cd7f protect users from accidentally loosing unposted queets, also make localStorageObjectCache_GET less insane 2015-07-02 16:57:51 +02:00
Hannes Mannerheim
0c79026f77 human readable text-field for qvitter's new deleted-notice activity 2015-07-02 15:00:57 +02:00
Hannes Mannerheim
871fab52b9 push new followed users into the mentions suggestion array 2015-07-02 13:58:45 +02:00
Hannes Mannerheim
9bf09b7f6d bugfix. inputs we're not possible to focus in popups in firefox 2015-07-02 00:25:55 +02:00
Hannes Mannerheim
18536da247 no shortcuts if we're typing in an input, or logged out 2015-07-02 00:08:54 +02:00
Hannes Mannerheim
8559bac6e2 bugfix, expand/collapse keyboard shortcut didn't work after stream-change 2015-07-01 19:49:50 +02:00
Hannes Mannerheim
a13ccd7ca1 keyboard shortcuts
also the new editor removed whitespace in the end of rows...
2015-07-01 19:15:31 +02:00
Hannes Mannerheim
e3da8af8e2 fave number in non-expanded queets 2015-06-24 15:34:44 +02:00
Hannes Mannerheim
8ac7cfdb17 cache syntax highlighting regexps at page load, not when typing first letter 2015-06-21 01:29:14 +02:00
Hannes Mannerheim
1c8d539237 hide&delete remote notices from qvitter-instances 2015-06-18 20:55:46 +02:00
Hannes Mannerheim
1e00226c7b localization of the hardcoded "click to drag" string in jWindowCrop 2015-06-18 14:57:23 +02:00
Hannes Mannerheim
ddf7347f5d rtl/ltr setting in language files 2015-06-18 14:24:37 +02:00
Hannes Mannerheim
205d0bc40c better support for old statusnet style mentions 2015-06-18 00:15:44 +02:00
Hannes Mannerheim
354f886304 small bugfixes 2015-06-18 00:09:04 +02:00
Hannes Mannerheim
9aa8c5f0a1 small bugfixes 2015-06-17 02:16:03 +02:00
Hannes Mannerheim
25c6c9261c last commit broke group links 2015-06-17 01:47:25 +02:00
Hannes Mannerheim
95b117a249 fixes #179 and #137 2015-06-17 01:37:35 +02:00
Hannes Mannerheim
fdda2e4e0d no autoplay for animated gifs, better handling of youtube and webm videos
also solves @moshpirit's issue in #190, but when there's a mix of local
images and videos gnusocial messes up the order...
2015-06-17 00:44:18 +02:00
Hannes Mannerheim
84ddb07130 bugfixes
small images displayed incorrectly in popup, and there we're navigation
controls in popup sometimes when there were only one image
2015-06-12 22:35:37 +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
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
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
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
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
e4f8d27937 follows you badge in external profile card popups #178 2015-06-02 14:06:05 +02:00
Hannes Mannerheim
d5a3c0f003 faster retrieval of external profiles 2015-06-02 13:53:36 +02:00
Hannes Mannerheim
a016241dea compatibility with the libreJS plugin 2015-06-01 18:27:36 +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
5485480933 remove log spam 2015-05-20 18:36:36 +02:00
Knut Erik Hollund
d6760d02dd Fixed issue #175 2015-05-19 21:14:10 +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
c664148aff fix for #165, now works with localStorage disabled 2015-05-19 13:42:54 +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
Hannes Mannerheim
5376a9954a fixes bug with "show more in conversation" shown in the middle of the conversation 2015-03-29 23:38:45 +02:00
Hannes Mannerheim
4253bffebb saner each statement 2015-03-29 23:07:43 +02:00
Hannes Mannerheim
592d712599 first attachment on top in thumbnails, solves issue with expanding later 2015-03-29 22:51:34 +02:00
Hannes Mannerheim
e556351906 fix for #142 2015-03-21 17:16:09 +01:00
Hannes Mannerheim
de772f644c add non breaking space as separator for url syntax highlighting #135 2015-03-17 20:57:21 +01:00
llebegue
c010ca7787 Latest jquery version : 2.1.3 2015-03-07 17:59:43 +01:00
Hannes Mannerheim
e0324a3562 hashtags with special characters now works (better, at least) in browsing history 2015-03-07 15:50:43 +01:00
Hannes Mannerheim
f7e0a05478 more rtl fixes 2015-03-06 01:34:02 +01:00
Hannes Mannerheim
5092d5c708 cache conversations by conversation-id, of course! 2015-03-05 23:35:08 +01:00
Hannes Mannerheim
c2ace7695c better localStorage cache management 2015-03-05 22:22:48 +01:00
Hannes Mannerheim
8c06700953 unseen notifications glitch fix 2015-03-05 16:04:40 +01:00
Hannes Mannerheim
a2af140a18 mistake 2015-03-05 13:04:27 +01:00
Hannes Mannerheim
0847e4de93 svg attachment support 2015-03-05 13:00:24 +01:00
Hannes Mannerheim
5a6b68289a something here caused firefox to hang. don't know if this fixes it 2015-03-04 01:26:53 +01:00
Hannes Mannerheim
5ebe154879 add hooks for other plugins to tap into qvitter 2015-03-03 00:33:18 +01:00
Hannes Mannerheim
140d9aa560 federated-tooltip didn't work 2015-02-27 23:13:44 +01:00
Hannes Mannerheim
9ebacf245f minor bugfixes 2015-02-26 20:13:52 +01:00
Hannes Mannerheim
9a4147fb60 cache full text of truncated queets in localStorage 2015-02-25 23:46:32 +01:00
Hannes Mannerheim
8463546ec8 image deep linking feature got lost in 2d1c237fa4 2015-02-25 22:53:09 +01:00
Hannes Mannerheim
fb4ad4e1f9 avatar row can overflow, but hidden 2015-02-25 21:50:16 +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
af1635825d fix for #40, localStorage.doShake not used anymore 2015-02-25 03:45:13 +01:00
Hannes Mannerheim
d9a3055f5e don't collapse expanded queets when clicking video elements 2015-02-25 02:55:18 +01:00
Hannes Mannerheim
1ea39b765a Merge pull request #122 from mmn/html5_video_support_fix
Test against an element that actually will exist
2015-02-25 02:54:21 +01:00
Mikael Nordfeldth
cbe84b4e21 Test against an element that actually will exist 2015-02-25 02:27:11 +01:00
Hannes Mannerheim
174b13ef17 Merge pull request #121 from mmn/html5_video_support
Add HTML5 video support
2015-02-25 02:16:23 +01:00
Mikael Nordfeldth
e2fad3fe05 Add HTML5 video support
Requires the underlying GNU social instance to have the VideoThumbnails
plugin and (for that) 'libav-tools' (with 'avconv') installed. Support
for ffmpeg or maybe mplayer as a fallback is considered but not planned.

If the underlying instance does _not_ support video thumbnailing there
will simply be none to fetch and none will be listed.

One bug remains and that is when the video is clicked (on the play button)
the notice closes again. I am not sure how to abort that properly.
2015-02-25 02:13:21 +01:00
Hannes Mannerheim
600e2bc022 cache language version in localStorage 2015-02-25 00:12:20 +01:00
Hannes Mannerheim
31aede3418 maybe solves @mmn's issue https://social.umeahackerspace.se/notice/193530 2015-02-24 23:34:52 +01:00
Hannes Mannerheim
d790b970c8 Ostatus alt text #107 #109, thx @llebegue! 2015-02-24 22:50:31 +01:00
Hannes Mannerheim
1e74ad026e languages separated, jquery easing removed (wasn't used (i think)) 2015-02-24 22:36:36 +01:00
Mikael Nordfeldth
6b85f449dc $.inArray(...) was always evaluated as true
>= 0 because index entries start at 0 (if not found, inArray returns -1)
2015-02-24 21:31:29 +01:00
Mikael Nordfeldth
2d1c237fa4 Use attachment mimetype to identify image attachments 2015-02-24 20:46:51 +01:00
Knut Erik Hollund
8f2c419e47 Translated new items in lan.js to Norwegian 2015-02-11 23:49:43 +01:00
Knut Erik Hollund
58a677c9f9 Finished norwegian translation of ./doc/no/faq.html 2015-02-11 22:41:54 +01:00
Knut Erik Hollund
1b085abf12 Small fix in Norwegian translation 2015-02-10 23:51:02 +01:00