185 Commits

Author SHA1 Message Date
Simon Grim
ec37c824f9 fetch shortened URI on click 2016-05-06 16:40:12 +05:00
Simon Grim
572242e0c1 fix for retry to decode shortened URI if we got null response 2016-05-05 09:32:45 +05:00
Simon Grim
c93474d3d5 retry to decode shortened URI if we got null response 2016-05-05 09:14:35 +05:00
Miguel Freitas
dccc5695e0 support decodeShortURI returning an array [url,mimetype] instead of just url string 2016-05-03 23:02:54 -03:00
Simon Grim
6ff3252148 add rel="noreferrer" to external links 2016-04-05 19:35:59 +05:00
Simon Grim
1d480f2009 add fetched URIs' text cropping (23 chars + '…') for better readability 2016-04-03 15:44:30 +05:00
Simon Grim
d63918dac6 add confirmation to ~shorten URL~ in DMs to tmobile 2016-03-30 04:34:47 +05:00
Simon Grim
4f38edc466 add confirmation to ~shorten URL~ in DMs 2016-03-29 16:17:18 +05:00
Simon Grim
e5a8c44d11 tune profile modals openning 2016-03-25 04:06:15 +05:00
Simon Grim
e4bc01ecd3 rename openConversationClick() to handleClickOpenConversation() 2016-03-23 23:56:36 +05:00
Simon Grim
c7f3c9780b fix routeOnClick() to open already active routes in new tab 2016-03-23 23:52:53 +05:00
Simon Grim
b7a8240bbc tune profile modals openning 2016-03-23 23:51:12 +05:00
Simon Grim
07260049cc add flag to getElem() to search in templates too 2016-03-23 23:49:58 +05:00
Simon Grim
6cdc6cc511 tune 'shorten URL', add related localization 2016-03-23 21:47:22 +05:00
Simon Grim
085108cc58 add 'shorten URL' link to .post-area-new textareas and fix misc 2016-03-23 04:02:20 +05:00
Simon Grim
2cfaae8568 fix misspelling of 'shorten' verb 2016-03-22 23:12:34 +05:00
Simon Grim
ee7f84d2b6 add and fix checks for daemon version and input data for short URI related functions 2016-03-22 17:43:04 +05:00
Simon Grim
2c26754228 add dummy URI shortener with link in .userMenu-config-dropdown 2016-03-22 01:54:56 +05:00
Simon Grim
08856095b0 fix applyShortenedURI() to handle detached elements too 2016-03-21 23:10:50 +05:00
Simon Grim
7542eddf5b fix console warning for decodeShortURI() 2016-03-21 22:58:42 +05:00
Miguel Freitas
f0d80e25c0 reuse the same mechanism that limits parallel dhtgets also for decodeshorturl 2016-03-20 18:44:28 -03:00
Simon Grim
7d0ee60aba add caching of shortened URIs after fetching 2016-03-21 00:55:32 +05:00
Simon Grim
3e43fdb594 add fetching of shortened URIs
see a00dfcf247
and also cb020faba8 for daemon version
2016-03-20 22:49:50 +05:00
Simon Grim
68fe2b0174 add workaround to be able to play sound notifications on Firefox 2016-03-09 01:23:39 +05:00
Simon Grim
3d68b90ef9 fix wrong bindings for hyperlinks in fillElemWithTxt() 2016-02-23 01:08:01 +05:00
Simon Grim
a9e750c257 apply fillElemWithTxt() where htmlFormatMsg() was applied 2016-02-22 17:09:01 +05:00
Simon Grim
d33f77a44e add fillElemWithTxt() to fill elements with formatted text with bind actions on it 2016-02-22 16:40:04 +05:00
Simon Grim
f656997fa4 fix muteEvent()'s default behaviour preventing 2016-02-22 16:03:09 +05:00
Simon Grim
8533e8c6e7 fix routeOnClick()'s routing in new tab 2016-02-22 16:02:12 +05:00
Simon Grim
b0c2bacb15 fix modals' minimising-resuming-closing in some conditions 2016-02-16 04:46:47 +05:00
Simon Grim
bf88024cb3 fix modals' scroll on resuming 2016-02-16 04:17:33 +05:00
Simon Grim
44e190bc4a make link to more followers in profile to be openning followers modal 2016-02-16 03:48:39 +05:00
Simon Grim
1f95dcb534 fix openFollowersModal() to show not only local user's followers 2016-02-16 03:35:34 +05:00
Simon Grim
a4f2d87678 add .followers-list updating on twisterFollowingO.knownFollowers updating 2016-02-15 23:53:12 +05:00
Simon Grim
9baa250ef0 rename followingList related stuff, delete MAL.followingListLoaded() 2016-02-15 22:56:05 +05:00
Simon Grim
57374638e0 add #followers modal with brief explanation of current inability of obtaining of complete followers list 2016-02-15 22:32:37 +05:00
Simon Grim
d0098f9f3e make confirmPopup() to be able to polyglot .txtMessage at execution 2016-02-15 15:18:06 +05:00
Simon Grim
fae9122cf7 make alertPopup() available to use on events 2016-02-15 01:05:24 +05:00
Simon Grim
702bfd0f96 fix wrong selector which is used to hide following config for ourself in Following 2016-02-09 23:20:39 +05:00
Simon Grim
78af1e6bf1 add open in new modal by MMB & open in new tab by ctrl+LMB; fix misc hash handling 2016-02-04 00:03:45 +05:00
Simon Grim
f6f807205b optimization of DMs list handling 2016-02-03 22:04:53 +05:00
Simon Grim
8bb4216ac8 more accurate postExpandFunction() click binding 2016-02-03 18:04:42 +05:00
Simon Grim
7614201d85 attach templates to twister.tmpl.root instead twister.html.detached 2016-02-03 12:02:47 +05:00
Simon Grim
77d51b77c2 fix join-group-import-key inputs via slight rewriting of importSecretKeypress(), move last one to js/interface_common.js 2016-02-03 01:39:35 +05:00
Simon Grim
322d6b7062 add nuteEvent wrapper over event.stopPropagation() to prevent misc unwanted things 2016-02-03 01:29:41 +05:00
Simon Grim
8c9c5f9293 The Natural Born Twister. Mess-O-Rama Music Vol. 2: Songs About Templates, Followings, Confirms, Alerts, Blank Windows And Clicks 2016-01-31 11:23:07 +05:00
Simon Grim
8608a9d235 fix modals' closing on window history navigation 2016-01-10 03:25:40 +05:00
Simon Grim
3da830567d fix window history navigation (and in particular bring back forward button, pardon the pun) 2016-01-10 03:22:28 +05:00
Simon Grim
e94a813587 add check if cbFunc is function to focusModalWithElement() 2016-01-09 00:03:11 +05:00
Simon Grim
0b68a00481 insignificant optimization of vars in postSubmit() 2016-01-08 23:58:56 +05:00