Commit Graph

354 Commits

Author SHA1 Message Date
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
Eugene Kuligin
00e305e169 optimize common text containers -> that fixes some untranslatable text strings (e.g. Who To Follow) 2015-04-20 03:36:00 +03:00
Miguel Freitas
e9e80f8bad it's alright to get spam from getposts eventually.
that is how it is supposed to work.
2015-04-19 14:21:34 -03:00
Miguel Freitas
e17da0ebb3 use UI language as a first guess for the preferred spam language.
(maybe we should add another option for that)
2015-04-19 14:01:41 -03:00
miguelfreitas
91cc1f4182 Merge pull request #242 from slr/tasty-appearance-options
option to disable toptrends module
2015-04-17 15:29:13 -03:00
Eugene Kuligin
0c866d32c8 update ukrainian localization 2015-04-17 13:48:38 +03:00
Eugene Kuligin
6176a3de52 update ukrainian localization 2015-04-17 10:54:45 +03:00
Eugene Kuligin
1f7dd4cc1c next part of ukrainian translation 2015-04-17 03:27:44 +03:00
Eugene Kuligin
b0bd9e3d8b the next part of ukrainian translation 2015-04-17 01:33:32 +03:00
Eugene Kuligin
7256490496 fixed definition of string 2015-04-17 01:12:43 +03:00