Commit graph

191 commits

Author SHA1 Message Date
Tor Hveem
53d9f51d0c Request hotlist from weechat and sync unread and lastSeen 2013-10-16 01:09:31 +02:00
Tor Hveem
e324a5fa2d Use sans serif font for buttons 2013-10-16 00:41:04 +02:00
Tor Hveem
830c486af0 Regard the weechat buffer notify level 2013-10-16 00:32:56 +02:00
Tor Hveem
38db2afe0a pull-right on hide button to save vertical space 2013-10-16 00:07:33 +02:00
Tor Hveem
3a1fb161a7 Remove uneeded parseInt 2013-10-15 19:08:24 +02:00
Tor Hveem
b2174db197 Remove URLplugin, replace URLs inline with a hrefs 2013-10-15 18:58:00 +02:00
Tor Hveem
5ed02a5e54 Change lineinfo into async promise 2013-10-15 17:20:35 +02:00
Tor Hveem
dd77529cba remove old bufinfo handler 2013-10-15 16:57:40 +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
Vivien Didelot
8fea1c072e plugins: (url) do not return the whole message 2013-10-14 15:18:00 -04:00
Vivien Didelot
97da1928de plugins: match /nsfw/i tag anywhere in the message
Sometimes you may have trailing whitespace or put this tag at the
beginning of the line.

Ref: #27
2013-10-14 12:01:25 -04:00
David Cormier
2377253676 plugins: fix imagePlugin 2013-10-13 15:14:43 -04:00
David Cormier
741416cb79 plugins: provide names for plugins 2013-10-13 15:00:00 -04: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
a1123ddad0 plugins: automatically hide lines that ends with nsfw 2013-10-13 14:44:37 -04:00
David Cormier
1f7cb5c3ba plugins: use to explicitely trust html 2013-10-13 14:33:09 -04:00
David Cormier
d3f844acb4 Fix wrapping and set all vertical alignment of cells to top 2013-10-13 12:29:18 -04:00
David Cormier
1e8d657608 Remove black foreground colors 2013-10-13 12:22:18 -04:00
David Cormier
14a40c1039 ui: scroll to bottom when receiving activeBufferChanged signal
Triggers the ui manipulation code when the rootScope receives the signal.
Supports multiple ways of changing the buffer (clicking, shortcuts, etc.)
without having to duplicate this code.
2013-10-12 16:09:02 -04:00
David Cormier
fb0ce21fc5 models: add activeBufferChanged signal
When the active buffer is changed on the model, the model
now emits a signal on the rootScope
2013-10-12 16:07:46 -04:00
Tor Hveem
824e86774c Use non-browser specific code for scrolling 2013-10-12 21:16:40 +02: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
David Cormier
c3ce6b3da8 css: use pre instead of pre-wrap to avoid wrapping '--' messages 2013-10-12 12:56:47 -04:00
David Cormier
6271dc6577 shortcuts: implement switching buffer using ALT-number 2013-10-12 12:54:13 -04:00
David Cormier
5cf635bc70 Handle lineinfo with callback 2013-10-12 12:29:10 -04:00
David Cormier
9668b65f7a Add a doSendWithCallBack method
Hooks into the angularjs promise mecanism to send commands to the weechat
realy.
2013-10-12 12:16:46 -04:00
Tor Hveem
6e1ec22fe4 Add target=_blank on links again, it got lost in earlier merge 2013-10-12 17:23:04 +02:00
Tor Hveem
9d8bdc0dc5 fix both word break and pre 2013-10-12 12:18:05 +02:00
Tor Hveem
2f1e7834a3 Fix color parsing in prefix 2013-10-12 11:54:19 +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
f8bb1f4b78 Focus input bar on buffer change. Fixes #15 2013-10-11 19:50:27 -04:00
David Cormier
48ff9ba501 Add WeeChat version information on index.html. Fixes #30 2013-10-11 19:41:23 -04:00
Tor Hveem
c91b56f776 Padding > Margin 2013-10-12 00:36:58 +02:00
Tor Hveem
56d7b4215e Bufferlines need extra margin to not go under input bar 2013-10-11 23:53:19 +02:00
Tor Hveem
c2bc034293 Always show current buffer in list 2013-10-11 23:47:47 +02:00
Tor Hveem
d797f4a305 Merge remote-tracking branch 'upstream/master' 2013-10-11 23:41:03 +02: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
0d7cfcf376 Fix problem with activity switch 2013-10-11 23:26:51 +02:00
Tor Hveem
d5608fe7c1 Remove uneeded preventDefault 2013-10-11 23:26:51 +02:00
Tor Hveem
2996192c5f Fix word wrap 2013-10-11 23:26:51 +02:00