Commit Graph

556 Commits

Author SHA1 Message Date
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
21ee46a466 add appending of twists' elements to twister.html.detached immediately after creation
to be able to select them via getElem() in situation where they are not selected because not appended yet to body
e.g. it fixes case when fetched short URIs can't be applied on twists which are created in newConversationModal()
2016-03-21 23:53:51 +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
Simon Grim
c5d178779d rewrite of twister_io.js: indentation, vars renaming, styling, console messages, misc 2016-03-21 22:55:51 +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
9ac1daabf1 add volume parameter to playSound() 2016-03-09 01:23:30 +05:00
Erkan Yilmaz
b4abc9a4ab DE: typo 2016-02-25 19:27:38 +01:00
Simon Grim
3d68b90ef9 fix wrong bindings for hyperlinks in fillElemWithTxt() 2016-02-23 01:08:01 +05:00
Simon Grim
17bfce7c43 delete console.log() in htmlFormatMsg() for empty input string 2016-02-22 17:10:54 +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
c306ef4401 change refreshTwistdayReminder() to match first twist time in local shift, like it was New Year event; fix for #344 2016-02-20 20:58:57 +05:00
kissge
e1de767f34 Make sure defaultScreenName is loaded as a string value
This fixes the problem that users with screen name consisting only digit characters cannot login.
See #342.
2016-02-19 11:44:40 +09:00
Simon Grim
d1351e9c7e fix profile-edit missed popup message on saving: wrong text variable name 2016-02-16 18:56:55 +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
606dd0ad67 rewrite getFullname() 2016-02-16 01:16:57 +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
b8f0c104a9 delete needless .open-following-page binding 2016-02-15 22:40:21 +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
88c3f6f6ef fix confirm_terminate_daemon popup text to be polygloted when showing 2016-02-15 15:22:40 +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
82ec957172 closeModal() after group leaving instead unsatisfactory history.back() 2016-02-03 01:51:33 +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
76a0d16836 avatar images' base64 encoding-decoding for gif for local storage, #339 2016-01-18 11:24:29 +05:00
Simon Grim
f9ca714791 avatar images' base64 encoding-decoding for jpeg and png for local storage, #339 2016-01-18 10:59:55 +05:00
Simon Grim
573d28723b compress a bit avatar images' base64 headers for jpeg and png for local storage, #339 2016-01-18 00:21:19 +05:00
Simon Grim
57cc22a2fc don't store avatar to local storage if it is 'img/genericPerson.png', #339 2016-01-17 23:48:39 +05:00
Simon Grim
e82959efde restyle getAvatar() 2016-01-17 23:45:38 +05:00
Simon Grim
65c5278169 reduce accuracy of time property of storage items to seconds to save some space of local storage, #339 2016-01-17 23:36:14 +05:00
Simon Grim
c07e6281ba add removing of old cached avatars and profiles from localStorage, see #339 2016-01-17 02:52:43 +05:00
Simon Grim
ac4bb8718b quick fix of DMs openning 2016-01-10 21:47:57 +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
erqan
b7929abe29 fix typo.. 2016-01-09 14:40:51 +02:00
Simon Grim
e94a813587 add check if cbFunc is function to focusModalWithElement() 2016-01-09 00:03:11 +05:00
Simon Grim
0599685df4 add sound and desktop notification and counter indication if we got new DMs in minimized modal 2016-01-09 00:02:12 +05:00
Simon Grim
a6b89ce271 rename some vars and restyle a bit in js/twister_directmsg.js 2016-01-09 00:00:40 +05:00
Simon Grim
0b68a00481 insignificant optimization of vars in postSubmit() 2016-01-08 23:58:56 +05:00
Miguel Freitas
f7094887d7 hide empty posts (without text) 2015-12-24 14:07:07 -02:00
Miguel Freitas
3b1428c441 report listening ports and test if they are open (using an external site) 2015-12-24 13:46:07 -02:00
Miguel Freitas
00fa7904a9 bytes, not bits 2015-12-24 13:08:16 -02:00
slr
85a6ecbd32 Merge pull request #334 from erqan/patch-1
update tr translation
2015-12-09 13:32:55 +05:00
erqan
0433315bf7 update tr... 2015-12-07 16:41:26 +02:00
Erkan Yilmaz
7689d1af2e DE: +3 localized group msg items
see https://github.com/miguelfreitas/twister-html/pull/332
2015-12-07 11:31:17 +01:00
Simon Grim
316ea505f1 fix of wrong options' notification test setup 2015-12-03 14:06:12 +05:00
Simon Grim
9279b93edf fix of unwanted watchHashChange() initialization 2015-12-03 03:37:40 +05:00
Simon Grim
6a6b3aba5d fix updating of minimized modals / add resuming from desktop notifications 2015-12-03 03:31:49 +05:00
Simon Grim
44641a5271 rewrite showDesktopNotification() 2015-12-03 03:24:22 +05:00
Simon Grim
5acb60a7c8 fix miguelfreitas/twister-html#330: posts' wrong ordering 2015-11-28 12:55:18 +05:00
Xue Fuqiao
a3e1b0f9b5 Minor fix for zh-CN translation 2015-11-26 20:14:46 +08:00
Simon Grim
7d35a50b20 add check if target element exists to getAvatar() 2015-11-21 03:45:17 +05:00
Simon Grim
bc309abb0a add setting of avatar image in right upper dropdown menu 2015-11-21 03:34:50 +05:00
Simon Grim
25163ed1c5 fix missed parameters in htmlFormatMsg() 2015-11-21 02:35:40 +05:00
Simon Grim
07d8f171ee tune confirm_switch_to_network pop-up 2015-11-20 03:24:11 +05:00
Simon Grim
0d2b64b778 replace window.confirm() with confirmPopup() for 'confirm_terminate_daemon' confirmation 2015-11-20 01:19:26 +05:00
Simon Grim
813a5984d0 make confirmPopup() to apply htmlFormatMsg() with enabled markout to text of confirmation message 2015-11-20 01:09:08 +05:00
Simon Grim
f90c1db413 add 'opt' parameter object to htmlFormatMsg(), initially to set markout applicability 2015-11-20 01:00:30 +05:00
Simon Grim
4466c72814 make confirmPopup() to be able to fetch req object from event.data 2015-11-19 23:29:24 +05:00
Simon Grim
07beae2a42 fix unwanted minimizing of active modal in case of resuming of some other minimized modal in case if it happens not in result of clicking on it's resume button 2015-11-19 22:22:32 +05:00
Simon Grim
e28e824a94 add ability to minimize and resume modal buttons 2015-11-19 01:09:04 +05:00
Simon Grim
b622635952 rewrite processDmConversation() to avoid appending of double posts in DMs 2015-11-18 16:59:19 +05:00
Erkan Yilmaz
d7acc2d14d DE for "new group msg" 2015-11-14 13:31:03 +01:00
Xue Fuqiao
765f33564f Update zh-CN translation 2015-11-14 14:58:02 +08:00
Simon Grim
8163a7ebad tune 'twisted again by @' line to make it translateable & more cuztomizable 2015-11-04 01:29:43 +05:00
Сёма Мрачный
f5937880d1 Merge pull request #320 from erqan/blaster
add time of RT to post's 'twisted again by @' line...
2015-11-03 21:35:12 +05:00
Simon Grim
8feb66bc72 optimize attachPostsToStream() 2015-11-03 21:13:58 +05:00
erqan
45c6b969ed rt time... 2015-11-03 17:42:34 +03:00
Erkan Yilmaz
7e8fd60f7c typo
see https://github.com/miguelfreitas/twister-html/pull/318
2015-11-03 13:20:45 +01:00
Simon Grim
c4a5b6f98c replace window.confirm() with confirmPopup() for 'switch to network.html' confirmation 2015-11-02 04:33:51 +05:00
Simon Grim
614d96b470 delete missed console.log 2015-11-02 02:30:01 +05:00
Simon Grim
1d1abd24ad add informational popup after profile saving 2015-11-02 02:26:19 +05:00
Simon Grim
b2e2ba308c tune confirmPopup() 2015-11-02 02:15:58 +05:00
Simon Grim
50827a6691 individual new messages counters in DM modals for each peer/group 2015-10-30 04:28:23 +05:00
Simon Grim
f8b8b777a1 applying of htmlFormatMsg() for 'bio' field in peer/group profile 2015-10-27 21:31:04 +05:00
Simon Grim
1afe26afb3 fix check for emptiness of input in htmlFormatMsg() 2015-10-24 02:10:58 +05:00
Simon Grim
d5bbe2c6f1 replace .parents() method with .closest() — need only first ancestor 2015-10-24 01:39:22 +05:00
Simon Grim
98bbdbc560 add ability to change DM's group description 2015-10-24 01:20:41 +05:00
Simon Grim
7339ef71e5 #fix of group profile modal to show scroll-bar if member list doesn't fit on window 2015-10-22 02:05:18 +05:00
Simon Grim
e123478982 import #jQuery plugin from https://github.com/dreamerslab/jquery.actual 2015-10-22 02:00:05 +05:00
Simon Grim
638af49ece fix peers invitation on DM group creation 2015-10-01 23:27:01 +05:00
Simon Grim
c89b37acd5 fix wrong condition statements 2015-09-05 15:30:38 +05:00
Simon Grim
7ef1f0129e add alias textcompletion for peers invitation form; textcompletion refactoring 2015-09-05 04:14:16 +05:00
Simon Grim
89e4d5ed07 show usernames in #groupchat messages 2015-09-04 17:18:49 +05:00
Simon Grim
3595a9d2c5 introduce #groupchat #UI 2015-09-04 03:21:33 +05:00
Simon Grim
3b19eb584e Merge remote-tracking branch 'origin/tasty-fixes-13' 2015-09-04 02:04:33 +05:00
Erkan Yilmaz
17377d3b9f typo 2015-08-21 15:47:44 +02:00
Simon Grim
fe1d11316b add quote fetching for retwisted twists with comments 2015-08-21 14:36:05 +05:00
Simon Grim
bfa925347a fix post preview hiding; clear some CSS 2015-08-21 10:10:46 +05:00
Simon Grim
65833ed34a change way of post preview hiding; focus on textarea if it has some when switching 2015-08-20 17:31:16 +05:00
Simon Grim
b12d3d450e add button to switch beetween reply and retransmit on the fly; fix of modal prompt CSS 2015-08-20 17:19:54 +05:00
Simon Grim
7d156063ee move sent indicator to time stamp 2015-08-20 12:47:39 +05:00
Simon Grim
0b87aefca5 don't turn window scroll lock on prompt 2015-08-20 10:30:07 +05:00
Simon Grim
6028a58777 hide post preview on textarea focus out 2015-08-20 09:36:16 +05:00
Simon Grim
0d2cfc5d83 fix network promoted message set up 2015-08-18 22:21:03 +05:00
Simon Grim
22b3ba93ce fix of #markout chars position data collecting 2015-08-18 20:23:34 +05:00
Simon Grim
045836a020 fix options image preview showing 2015-08-18 19:08:26 +05:00
Simon Grim
80be52b2d9 add click to post citation to open post in tmobile 2015-08-16 00:25:17 +05:00
Simon Grim
7a6669d926 add click to post citation to open related conversation 2015-08-15 02:17:17 +05:00
Simon Grim
21e9db5ea3 fix doSubmitPost() dynamic declaration 2015-08-13 19:05:15 +05:00
Simon Grim
f251cf0949 add handling of new userpost property sig_wort finally 2015-08-13 01:07:13 +05:00
Simon Grim
5da5cde79a add check to newRtMsg() to avoid undefined sig_userpost 2015-08-13 00:32:51 +05:00
Simon Grim
66431127e6 introduce sending posts with citation (retwists with comments) 2015-08-12 22:10:42 +05:00
Simon Grim
48a5292249 fix of deleting user mention from mentions to reply 2015-08-12 16:24:09 +05:00
Simon Grim
6537515dac show post retwists with comment as posts with citation 2015-08-12 05:10:56 +05:00
Simon Grim
29e4130e72 fix mentions thing in htmlFormatMsg() 2015-08-12 01:49:30 +05:00
Simon Grim
d61a07f810 restyle postToElem() 2015-08-12 00:36:26 +05:00
Simon Grim
dbd49d4183 yet another fix of #markdown chars position data collecting 2015-08-10 07:03:25 +05:00
Simon Grim
5e93f5263b fix of #markdown chars position data collecting 2015-08-10 06:39:51 +05:00
Simon Grim
2ae0996c2e fix proxy() to not proxy local URLs 2015-08-10 03:42:34 +05:00
Simon Grim
f902055293 add image preview to #options's post preview 2015-08-10 03:41:41 +05:00
Simon Grim
ea144e63f9 move image preview setup to ~setPostImagePreview()~ in twister_formatpost.js and fix it slightly 2015-08-10 03:02:15 +05:00
erqan
fe8b59f356 show sent info for RTs, not for original posts
use always `userpost` values.
2015-08-10 01:55:53 +05:00
Simon Grim
59fb0e9c19 add post preview to #options's Post display section 2015-08-10 00:59:28 +05:00
Simon Grim
47836913cf fix postPreview summoning 2015-08-07 21:08:46 +05:00
Simon Grim
4a9069189f delete modal closing after post sending, no reason to do it 2015-07-29 19:53:20 +05:00
Simon Grim
c3e1f03c00 fix post preview to don't do it if it is turned off 2015-07-29 17:13:32 +05:00
miguelfreitas
de1334706b Merge pull request #276 from slr/tasty-markdown
post preview
2015-07-27 10:54:31 -03:00
erqan
7847ba3a40 removes debuging lines 2015-07-27 15:16:23 +03:00
erqan
414e5cb3c0 show replied promoted post and don't show the sent indicator with promoted posts 2015-07-27 14:50:11 +03:00
miguelfreitas
aa401d1dbc Merge pull request #281 from Erkan-Yilmaz/patch-2
1 more DE translation by @vegos
2015-07-26 17:22:16 -03:00
miguelfreitas
847b9e9837 Merge pull request #282 from Erkan-Yilmaz/patch-3
for DE: add missing entry
2015-07-26 17:21:40 -03:00
Erkan Yilmaz
c8e2b5263b for DE: add missing entry 2015-07-25 17:59:16 +02:00
Erkan Yilmaz
fedc51e8d6 1 more DE translation by @vegos 2015-07-25 16:45:54 +02:00
Erkan Yilmaz
0127674356 DE translations by @vegos 2015-07-25 16:43:47 +02:00
miguelfreitas
a90d201781 Merge pull request #279 from Erkan-Yilmaz/patch-2
2 typos + add some DE localization
2015-07-25 09:46:45 -03:00
Erkan Yilmaz
5083a9aa62 2 typos + add some DE localization 2015-07-25 13:12:24 +02:00
Erkan Yilmaz
efe2e99b7c typo 2015-07-25 13:00:50 +02:00
Simon Grim
27256788ed add hide post preview in directMsgSubmit() too 2015-07-25 12:16:18 +05:00
Simon Grim
b3a281a693 fix missing argument in htmlFormatMsg() call on DM snippet show 2015-07-25 12:00:32 +05:00
Simon Grim
fe0a1e1d50 hide post preview if textarea is empty 2015-07-25 04:13:53 +05:00
Simon Grim
d123c3838c fix of dynamic width for post preview 2015-07-25 03:19:12 +05:00