Commit graph

229 commits

Author SHA1 Message Date
David Cormier
d14afb9c81 Add previous buffer shortcut to instructions 2014-02-19 11:50:18 -05:00
David Cormier
11e5b6fbda Merge development branch of creesch 2014-02-19 09:58:31 -05:00
Lorenz Hübschle-Schneider
e5476dfd02 Whitespace fixes, some {} blocks 2014-02-18 18:13:23 +00:00
Creesch
14706d1e33 html&css changes for mobile usage 2014-02-18 14:50:38 +01:00
David Cormier
0bfbd3eb0b Add missing keyboard shortcuts on landing page
Fixes #80
2014-02-17 10:55:56 -05:00
David Cormier
4e5f239980 Merge pull request #144 from lorenzhs/linkify
Linkify IRC channels
2014-02-17 10:24:00 -05:00
creesch
a7e325de00 small html error as well. 2014-02-16 21:38:10 +01:00
creesch
651287ad62 Bootstrap requires jquery
Without jquery the menu in the upper right corner will not open.
2014-02-16 21:33:13 +01:00
Lorenz Hübschle-Schneider
eaf5adf467 Linkify IRC channels
Make '#foo' in a message or buffer title clickable, taking the user to the IRC
channel specified, joining it if necessary.
2014-02-16 14:10:56 +00:00
David Cormier
557fd64ab7 Remove jquery from dependencies 2014-02-15 11:41:06 -05:00
David Cormier
bb44a87560 Revert "Remove superfluous password box"
This reverts commit d26120953f.
2014-02-14 11:44:37 -05:00
David Cormier
6fb1aa8e5c Merge pull request #142 from lorenzhs/merge
Fix botched merge
2014-02-14 11:41:55 -05:00
Lorenz Hübschle-Schneider
f018876987 Fix botched merge 2014-02-14 16:40:44 +00:00
David Cormier
d26120953f Remove superfluous password box 2014-02-14 11:37:04 -05:00
Tor Hveem
0f44465faa Better connection / password error handling 2014-02-14 09:16:40 -05:00
Lorenz Hübschle-Schneider
9c1ced3249 Fix the markup a bit 2014-02-12 23:16:40 +00:00
Lorenz Hübschle-Schneider
ee4207ffd0 Fix label for save password checkbox 2014-02-12 23:16:39 +00:00
Lorenz Hübschle-Schneider
a069a171c2 Slightly rephrase some of the text on the landing page
* 4096 bit keys are better
* add port number to explanation
* Firefox 26 isn't all that brand-new any more
2014-02-12 23:16:39 +00:00
Lorenz Hübschle-Schneider
4d2e85d1dd Add a 'Get involved' section 2014-02-12 23:16:36 +00:00
David Cormier
65a6ad1049 Merge pull request #133 from lorenzhs/fetchmorelines
Dynamically fetch lines
2014-02-10 20:10:51 -05:00
Lorenz Hübschle-Schneider
6e48513d4b Update dependencies 2014-02-10 21:10:46 +00:00
Lorenz Hübschle-Schneider
8068be8de2 Remove setting and calculate number of lines from display properties 2014-02-10 20:18:44 +00:00
Lorenz Hübschle-Schneider
7764fc6910 Dynamically load lines for each buffer on startup
Add setting for number of lines to fetch initally.

TODO: styling
2014-02-10 20:15:50 +00:00
Lorenz Hübschle-Schneider
32bcb1c943 Fetch more lines on request 2014-02-10 20:15:50 +00:00
David Cormier
d4a4f1bd7f Create websockets module 2014-02-09 19:40:10 -05:00
Tor Hveem
4f6d8d12e0 Remove noise 2014-02-08 10:37:51 -05:00
David Cormier
6b12926887 Move plugin to it's own directive 2014-02-06 21:00:07 -05:00
David Cormier
6605a49f7c Rename websockets.js to glowingbear.js 2014-02-06 20:39:58 -05:00
Tor Hveem
c0b8c54bc0 Better embed buttons, use less vertical space 2014-02-05 09:19:42 -05:00
Lorenz H-S
36340030a0 Clean up bindonce scoping
Each bindonce directive has a scope of its own and causes unnecessary
overhead without any benefit to us. As rebinding will be per-scope, we need to
consolidate this anyway in the near future.
2014-02-05 09:19:42 -05:00
David Cormier
ef62ddb267 Merge pull request #112 from lorenzhs/fixtimestampdisplay
Fix timestamp hiding/showing
2014-02-05 09:08:11 -05:00
David Cormier
2835a2deef Merge pull request #120 from lorenzhs/debugbutton
Non-layout-killing debug button ("count watchers")
2014-02-02 06:39:02 -08:00
David Cormier
0e4c38fbd8 Merge pull request #121 from lorenzhs/update
Update third party libs
2014-02-02 06:38:10 -08:00
Lorenz H-S
8e624ba7f0 Update favico.js to beyond bleeding edge 2014-02-02 12:55:28 +00:00
Lorenz H-S
0ae4d388ff Non-layout-killing debug button ("count watchers") 2014-02-02 11:52:30 +00:00
Lorenz H-S
f0fe8be18a Do channel indendation in CSS.
Fixes the issue with new query buffers' titles not being shown.

Doesn't introduce any new watchers
2014-02-02 11:26:43 +00:00
Lorenz H-S
8bbff0ab16 Switch to newer and minified bindonce.js
https://github.com/Pasvaz/bindonce
2014-01-30 16:13:13 +00:00
Tor Hveem
c34192aace Switch to most recent version of bootstrap 2014-01-25 14:57:41 +01:00
Tor Hveem
f3a8dc21b6 Enable add to homescreen for android chrome and IOS 2014-01-25 14:55:08 +01:00
Tor Hveem
b289fc472f Newer angular, fix broken merge 2014-01-22 11:32:24 +01:00
Tor Hveem
37dbd0bbe7 topbar and css fixes 2014-01-22 11:08:07 +01:00
Tor Hveem
f9ba30f102 Collapsable sidebar for mobile sized screens 2014-01-22 11:08:07 +01:00
Lorenz H-S
9b755be7fd Improve mobile layout
* more densely packed channel switching buttons (increased their size to better match android design guidelines)
* disable zooming
* disable scrolling to the side
2014-01-22 11:08:07 +01:00
Tor Hveem
928cd034e7 Improve feedback 2014-01-22 11:08:06 +01:00
David Cormier
222419cdcc Merge pull request #113 from lorenzhs/reduceWatchers
Reduce number of watchers
2014-01-06 10:32:41 -08:00
Lorenz H-S
b88b046222 Bind bufferlist only once where possible 2013-12-28 16:58:32 +01:00
Lorenz H-S
42d993be78 Fix timestamp hiding/showing
Fixes #105
2013-12-26 18:35:30 +01:00
Lorenz H-S
5ac2d6dce1 Reduce number of watchers by one per line by removing broken watcher 2013-12-26 18:34:35 +01:00
Lorenz H-S
0a32aab309 Bind nicklist only once
this only refers to each entry of the nicklist, which will never change, as ng-repeat takes care of that.
2013-12-26 17:02:54 +01:00
Lorenz H-S
836edf917d Making compression optional was a stupid idea. Revert.
Instead, add a parameter to the connect function that allows disabling compression.
2013-12-20 16:10:58 +00:00
David Cormier
3b2af82d36 Merge pull request #103 from lorenzhs/compression
Implement compression
2013-12-20 06:27:18 -08:00
Lorenz H-S
d1e6bd6698 Add UI support for compression 2013-12-20 13:31:37 +00:00
Lorenz H-S
bf6e92fc24 Implement support for compression (not enabled yet) 2013-12-20 13:31:31 +00:00
Lorenz H-S
2eed56e744 Button captions can be bound once 2013-12-20 11:28:47 +00:00
Lorenz H-S
e5f1d9821a Fix content embedding
there were a few bindonce statements that broke content embedding by removing too many watchers
2013-12-20 00:44:35 +00:00
Lorenz H-S
f67ac87057 Move dependencies to a different folder
fixes build :)
2013-12-19 16:45:29 +00:00
David Cormier
a41bea5745 Merge pull request #100 from lorenzhs/documentation
Update instructions
2013-12-19 07:51:47 -08:00
David Cormier
e38dca2853 Revert "Use bower for dependency management"
This reverts commit f77ecd00e1.
2013-12-19 10:34:48 -05:00
Lorenz H-S
69657f97c6 Update instructions 2013-12-19 14:54:45 +00:00
David Cormier
460e6eb86d Add shortcuts list on the landing page (#80) 2013-12-19 09:01:04 -05:00
Lorenz H-S
f77ecd00e1 Use bower for dependency management 2013-12-16 21:55:34 +00:00
David Cormier
a78f49c0fc Add bindonce and remove 50% of the watchers in the buffers 2013-12-16 11:40:53 -05:00
David Cormier
c88576fad2 Add button to count watcher and debug mode
Performance issues are mainly caused by spurious angularjs watchers.
This debug mode provides a button to display the number of registered
watchers in the console.
2013-12-16 11:17:47 -05:00
Lorenz H-S
ae3a9f7044 Fix clickable area
Whole column should be active
2013-12-14 15:40:26 +00:00
Lorenz H-S
9368f2480d Open query when clicking nick in the sidebar 2013-12-14 15:40:05 +00:00
Lorenz H-S
f8f2f8bf6a Fix ordering of nicklist
We need the quotes around 'name' so that angularjs knows that it's an attribute and not a variable, and keeps the ordering up to date when people join or get different rights or whatever
2013-12-14 12:49:22 +00:00
Lorenz H-S
78121ff3a6 Add possibility to order channels hierarchically by server 2013-12-08 21:29:48 +00:00
Lorenz H-S
c4d29a7eb0 Fix ordering of channels
As channels aren't added right away (but as soon as the info was
received from the server), somehow the orderBy didn't do its job.
2013-12-08 20:42:30 +00:00
Tor Hveem
cb73039b67 Use a simpler method to insert readmarker 2013-11-01 11:15:35 +01:00
Tor Hveem
c2ce47e217 remove connection infos from title bar
I find the connection info very displeasing to the eye, so I removed it
and added it to a hover on the icon instead.
I don't see the point of displaying where you are connected, and I want
the interface to be uncluttered by default.
2013-10-31 00:18:10 +01:00
Vivien Didelot
4b5192ce7f linkify topics 2013-10-28 10:24:07 -04:00
Tor Hveem
1615f3016b Use angular function to linkify text.
Fixes bugs with HTML escaping in text
2013-10-28 14:37:21 +01:00
Tor Hveem
6258303465 New user setting for display embedded content by default 2013-10-28 13:32:47 +01:00
David Cormier
fcfe8ba4be Create inputbar directive 2013-10-27 17:54:51 -04:00
David Cormier
84cc93fbb0 Initialize angularjs routing module 2013-10-27 15:49:51 -04:00
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