Commit Graph

463 Commits

Author SHA1 Message Date
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
Simon Grim
e95f745d93 add checkbox to #options to enable/disable *post preview* 2015-07-25 02:48:19 +05:00
Simon Grim
4e7e09456f dynamic width and margin for post preview, some other fixes 2015-07-25 02:19:52 +05:00
Simon Grim
3b696e336a initial very basic post preview 2015-07-24 00:51:24 +05:00
Simon Grim
a245bc449f update ~Posts display~ section of *es* in localization file 2015-07-22 22:16:27 +05:00
Simon Grim
78622d86a6 add markout option lines to localization file 2015-07-22 21:52:29 +05:00
Simon Grim
9df6ae2253 option to apply, ignore or clear out posts markout 2015-07-22 21:33:25 +05:00
Simon Grim
56dca3bfb7 fix of post formatting: links templates caching fix 2015-07-19 05:36:59 +05:00
Simon Grim
ec73147c75 fix of CSP violations like unsafe-eval 2015-07-19 05:23:50 +05:00
Simon Grim
107754752a fix of post formatting: fix of injection filter 2015-07-19 05:10:12 +05:00
Simon Grim
4baadb1165 update of localization file with Chinese and replace some malicious -> this suspicious 2015-07-19 04:12:11 +05:00
Simon Grim
b2824aced9 post formatting for DM snippets 2015-07-19 04:10:59 +05:00
Simon Grim
fb67d7a04d fix of post formatting: optimizing 2015-07-19 04:09:41 +05:00
Simon Grim
2f4e91ff63 fix of post formatting: German localization for ** message 2015-07-19 04:05:31 +05:00
Simon Grim
31003c23e8 fix of post formatting: localization of *I'm busted* message 2015-07-19 04:05:30 +05:00
Simon Grim
17b3fea42d fix of post formatting: wrong link words dropping 2015-07-19 04:05:30 +05:00
Simon Grim
928688bdac fix of post formatting: turn on []() syntax for link, now with checking for injections 2015-07-19 04:05:01 +05:00
Miguel Freitas
5519d01359 update jquery 2015-07-17 17:18:00 -03:00
Miguel Freitas
de78dfd8a6 remove inline scripts 2015-07-17 17:17:28 -03:00
Miguel Freitas
cae04cc2f9 trying some small cleanups 2015-07-17 15:34:07 -03:00
Miguel Freitas
c447b39ab6 a different take on preventing XSS.
it must be safe by design, not by checking every possible injection pattern.
2015-07-17 15:03:22 -03:00
Simon Grim
cc2a08e7e0 push the tempo for XSS in post formatting 2015-07-16 03:46:41 +05:00
Simon Grim
ca7da9d4a1 fix of post formatting at detecting of stop chars & whitespaces in ~markdown 2015-07-16 01:21:17 +05:00
Simon Grim
bb64c05061 fix of post formatting []() 2015-07-15 22:42:58 +05:00
Simon Grim
72e47e0de4 fix of post formatting to parse ~markdown~ inside [] of link definition 2015-07-15 16:24:56 +05:00
Simon Grim
45788ac9d6 delete dev comment 2015-07-15 14:05:10 +05:00
Simon Grim
c6c4531a11 fix of post formatting to handle sequence of markdown chars correctly 2015-07-15 11:19:58 +05:00
Simon Grim
4eb9ab9213 more fixes of post formatting 2015-07-14 23:47:24 +05:00
Simon Grim
17328b0d7b make ` to be escaping character for any markup, fixes of post formatting 2015-07-14 20:10:59 +05:00
Simon Grim
98c875b2c2 fix of RTF markup 2015-07-14 17:37:10 +05:00
Simon Grim
ad7c95308c text markdown with monospace 2015-07-14 12:58:33 +05:00
Simon Grim
f6d8e6a380 text markdown with [link](url) 2015-07-14 05:55:25 +05:00
Simon Grim
fc61d019b6 text markdown with *bold*, ~italic~, _underlined_ and -strikethrough- 2015-07-14 05:54:11 +05:00
Simon Grim
bc7b09abb8 fix of post formatting 2015-07-10 22:24:19 +05:00
Simon Grim
8b925986ed fix of post formatting, moving from regexps to achieve more flexibility 2015-07-10 01:31:54 +05:00
Simon Grim
3fdfe0f33f restyling of js/interface_profile-edit.js 2015-07-04 20:08:35 +05:00
Simon Grim
058e24ba6a setup twisterFollowingO before calling of verifyUserAlreadyInBlockchain because following twister requires updating of it 2015-07-04 19:26:06 +05:00
Simon Grim
a4ae9f80cf clone of branch with fixes for dynamic setting of content's height of modal windows on openning 2015-06-12 03:34:59 +05:00
miguelfreitas
8b4efa9fcf Revert "dynamic setting of content's height of modal windows on openning" 2015-06-10 16:19:15 -03:00
Simon Grim
e377325a07 dynamic setting of content height of modal windows on openning, fix of CSS 2015-06-10 02:38:53 +05:00
Miguel Freitas
cab3fe85b0 report post delivery for direct messages and group chat. nice! 2015-05-31 09:10:42 -03:00
Miguel Freitas
0ef54f463e experimental post delivery indicator. requires twister-core update. 2015-05-30 21:12:33 -03:00
Simon Grim
7082d0aedd delete unnecessary check in a loop in processDMsnippet() 2015-05-29 12:31:48 +05:00
Simon Grim
b8644a0639 hiding lists in twistday reminder module which have no items 2015-05-26 11:06:02 +05:00
Simon Grim
021bbe2d43 fix of traversing in directMsgSubmit 2015-05-26 01:53:34 +05:00
Simon Grim
5c35807932 add missing flags to clone event too from DM template textareas, code restyling 2015-05-26 01:47:53 +05:00
Simon Grim
3b6be26184 one repeated array slice and one repeated eval of function call lesser 2015-05-25 18:05:30 +05:00
Simon Grim
498470f436 fix of setting of profile modal's postboard height 2015-05-24 14:01:18 +05:00
Simon Grim
93320ed25b fix to update only user's own following_counter 2015-05-24 00:18:06 +05:00
Simon Grim
9150e87809 localization of header of modal of direct messages with peer 2015-05-23 23:45:12 +05:00
Simon Grim
fad1e9780a check to avoid infinite loop of direct messages postboard updating 2015-05-23 23:23:11 +05:00
Simon Grim
c95e3d14bd The Fastest In Town Orchestra. Mess-O-Rama Music Vol. 1: Living Through This 2015-05-23 22:26:23 +05:00
Miguel Freitas
f447d84e06 another undefined (typo) 2015-05-21 10:13:25 -03:00
Miguel Freitas
70a43d18d2 display group chat sender's avatar properly 2015-05-20 23:05:51 -03:00
Miguel Freitas
fb71afd78f fix undefined 2015-05-20 23:04:24 -03:00
Simon Grim
7fa35cd23b fix of wrong name of option to display image preview 2015-05-20 12:56:54 +05:00
Simon Grim
ede178eb32 rewrite of options.js to get it more useful and faster, move localizeLabels() to theme_option.js of nin, introduce playSound(), clean up a bit trailing spaces 2015-05-19 23:33:59 +05:00
Simon Grim
2cc86a55fb fix of htmlFormatMsg() RegExp to allow -+= in hashtags 2015-05-14 11:41:20 +05:00
Simon Grim
371fa926c9 fix of refreshTwistdayReminder() to remove peer from listUpcoming when adding to listCurrent occurs 2015-05-14 11:34:09 +05:00
Simon Grim
0a51e2f0da exluding advert msg of random guy from twisterday reminder routine, fixes of its css 2015-05-13 00:38:36 +05:00
Simon Grim
c149e8bbc1 fixes of RegExps and behaviour of htmlFormatMsg() and slightly filterLang() 2015-05-12 20:38:41 +05:00
Simon Grim
257aedf61a crazy gonzales optimization of htmlFormatMsg() to avoid AMAP DOM interacting (but with too many RegExps), some minor optimization for postToElem(), introducing of proxyURL() 2015-05-12 04:41:32 +05:00
Simon Grim
3574c0389c even more optimization for attachPostsToStream() to avoid as much as possible of DOM traversing 2015-05-12 04:29:48 +05:00
Simon Grim
345966effd more optimization of showPosts(), renaming of it to attachPostsToStream() and applying of it in displayHashtagPending() 2015-05-10 00:32:54 +05:00
Simon Grim
4ee5ee0bde fix of ordering in postboard showPosts() 2015-05-09 10:08:06 +05:00
Simon Grim
ef210732fe optimization of postboard showPosts() and preventing of post duplication 2015-05-09 00:51:13 +05:00
Simon Grim
c60b8ef17e fix of wrong binding of functions on keyup event 2015-05-06 21:52:49 +05:00
Simon Grim
9fb767619e fix of twistday reminder doesnt show list if there is less than 2 twisters in it 2015-05-06 21:43:01 +05:00
Denis Ryabov
ec24f22ee1 Fix new posts notification button 2015-04-28 21:57:51 +03:00
erqan
ce5beafc36 a little addition... 2015-04-27 13:05:39 +03:00
erqan
c0b5ce6109 updated translation for turkish 2015-04-27 12:56:17 +03:00
Miguel Freitas
cc1c5e5d11 very crude initial support to display group chat as standard direct messages.
still a lot to do: using the "from" field from group messages to display
who sent each message, options to invite, display members, change
group description, leave etc.
2015-04-24 17:49:55 -03:00
miguelfreitas
6c4ea6544a Merge pull request #250 from dryabov/patch-3
Fix "Maximum call stack size exceeded" error
2015-04-24 16:13:33 -03:00
Miguel Freitas
9dd6839036 Merge branch 'master' of github.com:miguelfreitas/twister-html 2015-04-24 16:09:33 -03:00
miguelfreitas
cc7d7ebbe7 Merge pull request #247 from shaman/master
How about next localization pack & fix locale containers?
2015-04-24 16:09:16 -03:00
Denis Ryabov
4ef977c78a Fix "Maximum call stack size exceeded" error
A dirty hack to wait for loading of wallet users list without "Maximum call stack size exceeded" error. It would be better to call `initWhoToFollow` after `loadFollowing` method is executed, but there is adventure of `setTimeout`: it reduces CPU usage if there are no users to suggest.
2015-04-24 21:54:08 +03:00
Miguel Freitas
4365e83028 filter out group aliases from listwalletusers 2015-04-24 11:36:33 -03:00
miguelfreitas
658cb76b15 Merge pull request #248 from dryabov/patch-2
Revert changes in Russian translation made by @shaman
2015-04-24 07:28:29 -03:00
Eugene Kuligin
049af87dc1 revert changes in Russian translation 2015-04-24 12:38:45 +03:00
Simon Grim
dde3a77c92 fix of tmobile 2015-04-24 14:17:07 +05:00
Denis Ryabov
43b44f14a2 Revert changes in Russian translation made by @shaman 2015-04-24 10:57:03 +03:00
Simon Grim
095b46af4f fix of tmobile textarea input 2015-04-24 12:55:21 +05:00
Eugene Kuligin
e7e31f3287 fix TwistDay ukrainian localization 2015-04-23 21:11:05 +03:00
Eugene Kuligin
852850b6e2 TwistDay ukrainian localization 2015-04-23 21:00:47 +03:00
Eugene Kuligin
7e655152ff fix typos 2015-04-23 20:42:32 +03:00
Eugene Kuligin
4829209fed Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	js/interface_localization.js
2015-04-23 20:33:01 +03:00
Simon Grim
d45f8e9376 twistday reminder strings fix and reply popup 2015-04-21 23:28:48 +05:00
Simon Grim
252f22fd69 tunning of dashboard modules 2015-04-21 19:50:10 +05:00
Simon Grim
fa825f77cd twistday reminder with most of functionality, creepy looking in nin theme 2015-04-21 02:00:05 +05:00
Eugene Kuligin
2235220ac0 update ukrainian localization 2015-04-20 04:20:52 +03:00
Eugene Kuligin
b20d6d789c update ukrainian localization 2015-04-20 03:55:10 +03:00
Eugene Kuligin
fbeee7cbf6 Merge remote-tracking branch 'origin/master' 2015-04-20 03:42:14 +03:00
Eugene Kuligin
4f60878f31 add localization support support for "Direct messages with" raw string 2015-04-20 03:39:44 +03:00
Eugene Kuligin
876304052d update ukrainian localization 2015-04-20 03:37:05 +03:00