Commit graph

404 commits

Author SHA1 Message Date
Tor Hveem
e8e44d85ce Maintained cached flatnicklist, maintain shownicklist cached value for
template
2013-10-27 10:50:18 +01:00
Philippe Proulx
0f1bde187a Support colors in nick list 2013-10-27 04:49:59 -04:00
Philippe Proulx
08fd89284e Display host:port in top right corner when connected
Closes #69
2013-10-27 04:08:18 -04:00
Philippe Proulx
9274a918ff Restore monospace/bright style for text inputs 2013-10-27 04:08:16 -04:00
Philippe Proulx
a918923852 Implement IRC nick completion uility 2013-10-26 18:44:48 -04:00
Tor Hveem
902f344d25 move logic into models, attempt at sorting 2013-10-27 00:26:17 +02:00
Tor Hveem
57b8a7a146 re-add horizontal line that got removed by accident 2013-10-26 23:41:37 +02:00
Tor Hveem
1a451fd705 Improve hiding/showing nicklist 2013-10-26 23:17:32 +02:00
Tor Hveem
a06916f63e Better styles for nicklist, implement UI for hiding 2013-10-26 22:56:52 +02:00
Tor Hveem
404f8c8cba Implement nicklist 2013-10-26 22:19:13 +02:00
Tor Hveem
66963d8329 Style chat time. Hide lines with repeated time 2013-10-26 20:07:21 +02:00
Tor Hveem
f7de27eff7 jQuery should be loaded before angular 2013-10-26 20:07:21 +02:00
Philippe Proulx
51916ebba3 Support WeeChat color scheming of date prefixes 2013-10-26 04:42:11 -04:00
Philippe Proulx
e019c8ea8b Minor UI improvements 2013-10-26 04:41:38 -04:00
Philippe Proulx
9772da0095 Implement full support of WeeChat text styling 2013-10-26 04:30:35 -04:00
Philippe Proulx
ea798ef3c4 Fix <pre> rendering on landing page 2013-10-26 02:36:06 -04:00
Tor Hveem
c9f7e9a732 Make scrolling into the bufferlines div, not the whole window
This should improve scrolling experience, especially on webkit.
It also is needed for when nicklist will appear
2013-10-25 22:19:23 +02:00
Tor Hveem
d3aa1d768d Only store password if user requests it. 2013-10-25 13:45:29 +02:00
Tor Hveem
0d963f2fd8 Use CDN for underscore also 2013-10-25 13:45:29 +02:00
Tor Hveem
e974dde95c Fix markup error 2013-10-22 13:26:35 +02:00
Tor Hveem
641faa4df3 App support for firefox 2013-10-21 15:51:05 +02:00
Tor Hveem
6fb59dd268 give the actions in topbar some air and a line 2013-10-19 12:45:16 +02:00
Tor Hveem
5712a55620 New option to sync hotlist with weechat. Fixes #56 2013-10-19 12:14:32 +02:00
Sebastien Bourdelin
d6de5805a2 Handle wrong password. Fixes #4.
This commit introduces a way to handle wrong password.

The only way to know it is by sending an other message after the init
one.
If we receive an answer to this second message id then we know we are
connected with the good password, otherwise we will received an onclose
event from the websocket.
2013-10-17 18:54:20 -04:00
Philippe Proulx
6b8f5b5a0f Fix prefix wrapping again
nowrap is not enough because it still breaks on hyphens sometimes. But
since we're using pre now, we need to make sure no whitespace/newline is
around each <span> because they will be outputted.
2013-10-17 15:52:35 -04:00
Tor Hveem
f4b5cdfbc9 keyHandler for buffer searching 2013-10-17 13:13:01 +02:00
Tor Hveem
3a52840111 New setting for hiding timestamps 2013-10-17 10:50:29 +02:00
Tor Hveem
96a96af7c8 Beautiful lines 2013-10-16 23:29:52 +02:00
Tor Hveem
0222dc1026 Only search buffer name 2013-10-16 23:29:51 +02:00
Tor Hveem
729a22c7b9 Use activeBuffer for title, not the shared pageTitle 2013-10-16 23:29:51 +02:00
eirikb
8602f9d477 Replace weechat-protocol.js with weechat.js from https://github.com/eirikb/weechat.js 2013-10-16 23:10:49 +02:00
Tor Hveem
0dd525477f Merge remote-tracking branch 'upstream/master' 2013-10-16 17:51:43 +02:00
Tor Hveem
b56e51b9d5 try to fix small visual problems with topbar 2013-10-16 16:04:37 +02:00
Tor Hveem
a1124ee9df attempt to improve the look of the badges and the bufferlist 2013-10-16 15:24:21 +02:00
Tor Hveem
cf8325b21b Implement drop down menu for top bar for options 2013-10-16 15:09:27 +02:00
Tor Hveem
ce22e44534 Use point icon for ng-click 2013-10-16 14:25:07 +02:00
Tor Hveem
b40ff4fb43 include a topbar with title 2013-10-16 14:13:23 +02:00
Tor Hveem
38db2afe0a pull-right on hide button to save vertical space 2013-10-16 00:07:33 +02:00
Vivien Didelot
a29905e02c index: disable input bar autocompletion
The autocompletion support on the input bar is global, which makes no
sense to use.
2013-10-15 18:00:58 -04:00
Tor Hveem
b2174db197 Remove URLplugin, replace URLs inline with a hrefs 2013-10-15 18:58:00 +02:00
Tor Hveem
001024db7d Collapse for frontpage, and style inputs 2013-10-15 16:09:08 +02:00
Tor Hveem
d1ab293b4b Attempt at tidying up the landing page slightly 2013-10-15 15:41:13 +02:00
Tor Hveem
a9d469867a Add Favio.js support. Fixes #28 2013-10-15 15:21:13 +02:00
Tor Hveem
2617dadb65 Simplify/clean up the unread and notification code 2013-10-15 14:59:06 +02:00
Tor Hveem
a9dcc68af2 Instead of using buffer.notification as a boolean, save number of
notifications into the variable. And when displaying unread messages
display unread notifications if any and if not then display number of
unreads.
2013-10-15 14:31:41 +02:00
David Cormier
b2ee67707b plugins: let plugins name their content 2013-10-13 14:57:54 -04:00
David Cormier
41b0684c82 plugins: use buttons to display additional content 2013-10-13 14:55:38 -04:00
David Cormier
3f56c80f56 plugins: warn the user that content may not be safe for work 2013-10-13 14:49:38 -04:00
David Cormier
1f7cb5c3ba plugins: use to explicitely trust html 2013-10-13 14:33:09 -04:00
Tor Hveem
fc8714b4d4 Fix bug with readmarker 2013-10-12 21:06:59 +02:00
Tor Hveem
ee890222c5 implement last read marker 2013-10-12 21:06:59 +02:00
Tor Hveem
9969c826b8 Use classes instead of ids 2013-10-12 11:49:14 +02:00
David Cormier
8057c0639c Align nicks on the right. Fixes #19. 2013-10-11 20:37:11 -04:00
David Cormier
48ff9ba501 Add WeeChat version information on index.html. Fixes #30 2013-10-11 19:41:23 -04:00
Tor Hveem
31228d6362 move around landing page somewhat 2013-10-11 23:38:30 +02:00
Tor Hveem
1609346668 Form control for number of lines to sync 2013-10-11 23:27:55 +02:00
Tor Hveem
5a8294b2cc Use separate form fields for host and port 2013-10-11 23:27:29 +02:00
Tor Hveem
2996192c5f Fix word wrap 2013-10-11 23:26:51 +02:00
Tor Hveem
bfa4e9da2d Include sanitize library to get metadata content to work again 2013-10-11 23:26:19 +02:00
Tor Hveem
2ee29923c1 Fix keys quirks for different browsers 2013-10-11 23:22:54 +02:00
Tor Hveem
a686d7e398 implement alt-a and ctrl-g keybindings 2013-10-11 23:22:54 +02:00
Tor Hveem
f1582b463b Implement searching and display buffers with unread lines only 2013-10-11 23:22:54 +02:00
Tor Hveem
1f4579748c Use sidebar instead of top nav 2013-10-11 23:22:53 +02:00
David Cormier
c41c33f9ab Merge remote-tracking branch 'torhve/master' 2013-10-10 15:34:33 -04:00
Tor Hveem
340915576b Display full name when shortName is missing 2013-10-10 12:49:04 +02:00
Tor Hveem
8028070aaa Merge 2013-10-09 17:53:25 +02:00
David Cormier
7db8e31a7f plugins: Move plugins to external module 2013-10-08 19:08:13 -04:00
David Cormier
b1d7655776 Add documentation, remove spurious methods and junk 2013-10-08 10:26:06 -04:00
David Cormier
236a82ec4e Support text input 2013-10-08 09:55:07 -04:00
David Cormier
553f40e220 Add Buffer model 2013-10-07 21:17:19 -04:00
David Cormier
c538d759b8 Add model module 2013-10-07 20:54:00 -04:00
Tor Hveem
5032af8ab3 fix automatic scrolling 2013-10-07 16:59:42 +02:00
Tor Hveem
628961026b Add support for encryption 2013-10-07 15:38:47 +02:00
Tor Hveem
001b05beeb Use protocol agnostic links to CDN resources 2013-10-07 14:26:05 +02:00
Tor Hveem
a82ca40db8 better formatting 2013-10-07 12:09:30 +02:00
Tor Hveem
f7abb3448e use different badge color for highlight/notification 2013-10-07 12:04:28 +02:00
Tor Hveem
599cf0733f Add unread counter to buffer nav 2013-10-07 01:56:26 +02:00
Tor Hveem
e7adbffa47 improve chatpanes with scrolling and fix nav 2013-10-07 00:49:20 +02:00
Tor Hveem
8c69511b5f Improve date handling 2013-10-07 00:41:32 +02:00
Tor Hveem
02d0c25c12 handle pagetitle, use better background color 2013-10-07 00:12:44 +02:00
Tor Hveem
2100fabf24 handle initial sync and no notification, use short_name 2013-10-06 23:59:34 +02:00
Tor Hveem
6455256b9e design improvements, and add time to each line 2013-10-06 19:15:34 +02:00
Tor Hveem
4db0a985c5 Improve design of landing page 2013-10-06 13:59:34 +02:00
Tor Hveem
8520c7251a Support weechat extended colors, sort buffers 2013-10-06 13:42:45 +02:00
Tor Hveem
e88c1084ca Add notification support 2013-10-06 12:34:41 +02:00
Philippe Proulx
d332635a4e Fix message time display 2013-10-06 00:17:13 -04:00
Philippe Proulx
a7f3412b5d protocol.js -> weechat-protocol.js
This makes it more clear that this script's code parses the WeeChat
protocol specifically.
2013-10-05 14:23:18 -04:00
David Cormier
fda2fffb99 Center connection information 2013-10-05 12:41:48 -04:00
David Cormier
fa2fb0957d Push command textbox at the bottom of the screen 2013-10-05 12:40:01 -04:00
David Cormier
cae156d60c Fix html error and indentation 2013-10-05 12:20:54 -04:00
David Cormier
07d09e9aa6 Show timestamp before message 2013-10-05 12:05:38 -04:00
David Cormier
8adbcc1176 Add BufferLine model 2013-10-05 11:57:46 -04:00
Tor Hveem
6949f919a1 Save the connection paramaters into localStorage
using a simple angular module for localstorage

Note: it also saves the password into localStorage, this
should be further improved to present a simple checkbox to the user
asking if they want to save the password or not
2013-10-05 16:05:16 +02:00
David Cormier
345dc70f7a Support weechat colors 2013-10-04 14:19:37 -04:00
David Cormier
b409bd5e37 Set the background black 2013-10-04 14:19:37 -04:00
David Cormier
ab490074d3 Add connection error message
fixes #3
2013-10-02 19:55:30 -04:00
David Cormier
38a960788c Take bootstrap from the CDN 2013-10-01 20:32:32 -04:00
David Cormier
f0317c505f Declare ng-app in the body 2013-10-01 18:29:23 -04:00
David Cormier
cf8bade2c8 Change password input type to password 2013-09-19 16:22:03 -04:00
David Cormier
89614a33b5 Hides additional plugin content by default 2013-08-06 17:07:29 -04:00
David Cormier
f9641519f4 Handles additional content with a simple plugin manager 2013-08-06 16:39:10 -04:00
David Cormier
8d183a835c Only displays metadata if needed 2013-08-06 16:29:00 -04:00
David Cormier
c80dc34770 Displays notifications in buffer title 2013-08-06 16:28:34 -04:00
Vivien Didelot
3cfb2ceca2 rename html file
This will avoid renaming the html file in the gh-pages branch.
2013-08-05 16:22:38 -04:00
Renamed from websockets.html (Browse further)