Commit Graph

243 Commits

Author SHA1 Message Date
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
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
07d8f171ee tune confirm_switch_to_network pop-up 2015-11-20 03:24:11 +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
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
c4a5b6f98c replace window.confirm() with confirmPopup() for 'switch to network.html' confirmation 2015-11-02 04:33:51 +05:00
Simon Grim
b2e2ba308c tune confirmPopup() 2015-11-02 02:15:58 +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
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
7ef1f0129e add alias textcompletion for peers invitation form; textcompletion refactoring 2015-09-05 04:14:16 +05:00
Simon Grim
3595a9d2c5 introduce #groupchat #UI 2015-09-04 03:21:33 +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
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
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
66431127e6 introduce sending posts with citation (retwists with comments) 2015-08-12 22:10:42 +05:00
Simon Grim
29e4130e72 fix mentions thing in htmlFormatMsg() 2015-08-12 01:49:30 +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
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
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
ec73147c75 fix of CSP violations like unsafe-eval 2015-07-19 05:23:50 +05:00
Miguel Freitas
de78dfd8a6 remove inline scripts 2015-07-17 17:17:28 -03: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
Simon Grim
498470f436 fix of setting of profile modal's postboard height 2015-05-24 14:01:18 +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
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
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
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
Simon Grim
8765e98a01 option to disable who-to-follow module 2015-04-14 22:39:20 +05:00
Simon Grim
ae2af33506 fix of post splitting 2015-04-13 01:20:41 +05:00
Simon Grim
4c1645858b fix of post splitting 2015-04-10 06:59:57 +05:00
Simon Grim
b7da08f31d fix of post splitting, $.fn.caret, licenses for caret, franc and notify modules 2015-04-09 22:09:05 +05:00
Simon Grim
15aaefd484 fix of post splitting 2015-04-09 03:13:41 +05:00
Simon Grim
6ad8f87bdd global fix of mentions autocomleting, upd of jquery.textcomplete 2015-03-30 05:16:41 +05:00
Simon Grim
33bea37ae0 improve of timeline updates, fix of follow button event handler 2015-03-10 22:23:28 +05:00
Simon Grim
8178c6e5f8 fix of window resize things, set font size to follow button, remove instead detach on modal closing 2015-03-09 12:21:06 +05:00
Simon Grim
9281f8f6a7 fix of follow-unfollow button behaviour, multiple fixes and improvements of UI glitches, adding of missing players 2015-03-07 07:16:45 +05:00
Simon Grim
ac59448db0 prompt template to following, follow-unfollow window events and listeners, MAL.showMentions and MAL.showDMchat, notify.js to tmobile 2015-03-05 21:40:52 +05:00
Simon Grim
44462098ef various fixes around follow button 2015-03-04 04:26:20 +05:00
Simon Grim
baf1060030 switch to home page when clicking on notify, watch hash on loading, return scrolling after modal, primary-btn-only expand 2015-03-01 13:31:56 +05:00
Simon Grim
a70b751d96 removed calls of non-event e in openMentionsModal 2015-02-16 12:32:12 +05:00
Simon Grim
99063d6e37 added focusing on tab after click on notificaton, removed notification in modal of mentions, fixed something 2015-02-16 02:51:57 +05:00
Simon Grim
7aa999fc9a added options of desktop notifications, fixed somewhat 2015-02-15 01:49:19 +05:00
Simon Grim
028492166f fixed notification handling, added localization lines 2015-02-08 22:31:02 +06:00
Simon Grim
581d6c0a8d removed notification when sending own post or DM, fixed hashtag searching and message about sending 2015-02-07 23:21:19 +06:00
Simon Grim
09f4a64980 initial commit of desktop notifications via notify.js by alexgibson 2015-02-06 10:00:23 +06:00
Miguel Freitas
104986c808 remove extra parenthesis 2015-01-24 16:24:27 -02:00
Julian Steinwachs
69fdace49f fixed bug: back button shows up when navigated to first modal in history 2015-01-24 09:44:48 +01:00
Julian Steinwachs
40246e6e65 no more location.reload() 2015-01-23 10:15:56 +01:00
Julian Steinwachs
a688dc5958 working hashscheme for conversation modal 2015-01-23 09:48:30 +01:00
Julian Steinwachs
d52ad05630 somewhat working hashscheme for conversation modal 2015-01-23 09:08:52 +01:00
Julian Steinwachs
299772ee88 tweaking nin theme 2015-01-22 21:22:23 +01:00
Julian Steinwachs
3266426eaa back button binding is now in html, seams more robust 2015-01-22 20:15:22 +01:00
Julian Steinwachs
293a658302 moved style from html into themes 2015-01-22 18:11:25 +01:00
Julian Steinwachs
4880d4c972 refurbish 2015-01-22 17:22:58 +01:00
Julian Steinwachs
c42965de88 fixed an event propagation issue 2015-01-22 16:43:25 +01:00
Julian Steinwachs
12ec501d8d implemented hasscheme for who-to-follow, added additional popuplayer called prompt and moved retwist reply and following-config from the modal to the prompt 2015-01-22 15:59:00 +01:00
Julian Steinwachs
190ce55d46 cleaned up comments 2015-01-21 15:37:19 +01:00
Julian Steinwachs
c09e4199f3 seams to work with defualt theme and calm theme 2015-01-21 15:12:49 +01:00
Julian Steinwachs
fd26787549 router also following modal navigation through watchHashChange 2015-01-21 14:13:45 +01:00
Julian Steinwachs
04b0d8f636 still experimenting 2015-01-21 12:10:04 +01:00
Austin
49292bf61e fix multi-byte character hashtag 2014-12-06 20:54:03 -08:00
miguelfreitas
04ffaa588d Merge pull request #209 from slr/tasty-fix-add-following-method
add following config method modal, fix some related
2014-12-06 10:31:16 -02:00
digital dreamer
76d0373101 Register protocol handler only once 2014-12-04 21:35:27 +01:00
Simon Grim
d998de6299 fix follow button behavior 2014-12-05 01:13:45 +06:00
Miguel Freitas
1a79865b77 use #mentions?user= for mentions, add new button to user profile.
calm theme needs some layout fixing for the new button (a sync with their repo is badly needed)
2014-11-14 18:39:33 -02:00
Miguel Freitas
b5baa85362 improving hashtag modal latency 2014-11-14 17:34:34 -02:00
Miguel Freitas
8099b91d1a fix "There aren't any posts with this hashtag" bug 2014-11-14 17:21:05 -02:00
Miguel Freitas
23cff52f03 Merge branch 'issp-switch-postboard' of github.com:slr/twister-html into slr-issp-switch-postboard
Conflicts:
	js/interface_home.js
2014-11-07 15:31:08 -02:00
Miguel Freitas
f415c0e516 trying to add closeModal to browser's url/hash history 2014-11-07 11:18:58 -02:00
Simon Grim
b34bd7d027 move theme-specific JS to theme-related files 2014-11-04 22:42:31 +06:00
Étienne Deparis
4efada7fd8 Fix error when browser doesn't know how to deal with window.navigator.registerProtocolHandler 2014-10-21 00:33:14 +02:00
Étienne Deparis
46fc58f69e Fix hashtag watching bugs and add custom protocol handler support 2014-10-17 00:17:40 +02:00
Étienne Deparis
0ea050571a Generalize hash affectation 2014-10-16 16:57:25 +02:00
Étienne Deparis
7ed9b8b84f First try around hashchange monitoring 2014-10-16 10:47:08 +02:00
Miguel Freitas
f3b82534e4 improved theme selection mechanism: don't force display:block on every themable element. 2014-09-25 22:50:17 -03:00
digital dreamer
b0e89777c4 Update i18n 2014-09-21 14:06:48 +02:00
miguelfreitas
a96bcbdbf9 Merge pull request #174 from digital-dreamer/improved-unicode-conversion
Improved unicode conversion
2014-09-20 18:47:37 -03:00
Miguel Freitas
1122fefa94 merge nin theme by @myleneb
https://github.com/myleneb/twister-nin
2014-09-19 19:09:08 -03:00
digital dreamer
d33730653a Improved unicode conversion 2014-07-31 20:43:01 +02:00
erqan
39ff28141e fixing DM splitting issue... thanks to @RealVegOs
splitting is exactly disabled at DMs.
2014-06-24 20:01:38 +03:00
erqan
bd8075fbdf wide screen adaptation 2014-05-20 19:38:34 +03:00
erqan
0496ba4623 fixing some setTimeout issues 2014-05-20 16:17:31 +03:00
erqan
1a48d32473 fixing #158 2014-05-19 22:00:31 +03:00
erqan
e513d4b84b grabed copy to clipboard functions from Calm client for Tox and Bitmessage address 2014-05-16 01:36:44 +03:00
erqan
5f10a1f6ee more calm theme css adaptation 2014-05-16 00:09:51 +03:00
erqan
cb7eb0f7ff changed conversation listing method...
- made the requestRepliesAfter function recursive
- displayed replies indented (something like #153)
- changed maxExpandPost value to 8
- added conversation modal to show all post in a conversation...
- added Symbola.ttf for possible missing unicode symboles..
2014-05-13 19:46:35 +03:00
erqan
2563ce1def - removed '+' sign from end of splitted posts
- moved splitted post counter to end
- not forced anymore to add all mentions while replying
2014-05-11 22:18:33 +03:00
miguelfreitas
ae39f68006 Merge pull request #149 from erqan/classified-new-following-elements
arranged following's followings and known followers
2014-05-09 16:36:39 -03:00
erqan
41b82d7c74 fixing first post size error on splitting function 2014-05-09 20:55:26 +03:00
erqan
661ab4b338 following's followings and known followers are cached in localStorage instead of session... and added a simple adaptive updating method for following's followings to reduce rpc requests.. 2014-05-09 12:27:48 +03:00
erqan
09d9719094 added mention support for post spliting while replying, removed its warning at options page 2014-05-08 23:28:16 +03:00
erqan
0e18ee0912 changed conversation twists expand label to 'Show conversation' 2014-05-07 13:28:16 +03:00
erqan
97449fbe46 fixing lazy load for full who to follow list 2014-05-06 14:43:39 +03:00
erqan
2a0a9267b8 discovering some followers and bringing to life some death functions around of 'who to follow' 2014-05-05 22:28:15 +03:00
erqan
aa0d2c6c7b bug fix on split function 2014-04-22 02:52:40 +03:00
erqan
36fbe9a6b8 improvemnts on split functionality 2014-04-18 18:55:12 +03:00
erqan
3b2fc6a2b2 bug fix 2014-04-17 02:19:20 +03:00
erqan
b16aa79887 split long posts 2014-04-17 01:21:17 +03:00
digital dreamer
a81246cd5f add hashtag search 2014-04-14 12:01:26 +02:00
Miguel Freitas
dd900563c2 merge original and calm menus. new css classes have been defined to allow some entities to show/hide depending on the selected theme.
use class="selectable_theme theme_XXX" to display only in theme XXX.
2014-04-11 11:53:07 -03:00
Miguel Freitas
bcc51d9613 merge more calm code into interface_common.js so we may remove dependency on calm.js 2014-04-10 18:57:49 -03:00
Miguel Freitas
66e865afc2 disable smiley that replaces url separator :/ 2014-04-09 11:24:32 -03:00
erqan
7fdc40fd3c proxy for external links and preview feature for multiple images 2014-04-09 15:45:14 +03:00
erqan
dabff232be added proxy option for external links 2014-04-08 13:34:09 +03:00
erqan
5af110450d more stable and new labels are added to eng. 2014-04-08 01:56:12 +03:00
erqan
5dcf8e84ee some improvements at undo function 2014-04-07 20:22:47 +03:00
erqan
860feec894 automatic ascii to unicode convertion feature 2014-04-07 19:11:41 +03:00
erqan
917cd1301b adding link check for preview 2014-04-02 11:21:01 +03:00
digital dreamer
e4cad372a3 guest mode browsing 2014-03-29 18:16:24 +01:00
erqan
e13143229a Added show preview option 2014-03-26 20:53:15 +02:00
erqan
2f14512025 Adding preview for the direct image links 2014-03-26 19:20:52 +02:00
Miguel Freitas
38aea75c8b revert profile's height tweaking by code 2014-03-25 17:19:49 -03:00
Miguel Freitas
f808426c44 more merging with twister-calm + fixes 2014-03-25 00:01:30 -03:00
Miguel Freitas
7a68cccfde import username autocomplete from calm 2014-03-17 00:03:12 -03:00
Miguel Freitas
6efe263833 move javascripts to js/ like in twister-calm 2014-03-16 22:19:37 -03:00