Commit graph

359 commits

Author SHA1 Message Date
Lorenz Hübschle-Schneider
fa6f108fe5 Make debug mode a parameter, not a setting 2014-07-18 12:17:19 +01:00
Lorenz Hübschle-Schneider
fcfd9fce91 Make it pretty 2014-07-17 15:06:39 +02:00
Tor Hveem
6a3b4a1506 new option for overriding font size 2014-07-17 15:06:39 +02:00
Tor Hveem
cdcdcb096b User configurable font choice. Fixes #351 2014-07-17 15:06:38 +02:00
David Cormier
77ffbb2f22 Merge pull request #356 from torhve/swipefixes
Disable nicklist swipe
2014-07-16 17:04:58 -04:00
Tor Hveem
7f76ed69dd Disable nicklist swipe
Behaviour was pretty unintuive with the previous way. This should be a
little more consistant
2014-07-16 19:47:57 +02:00
Tor Hveem
59040785aa Clarify option. 2014-07-16 19:44:42 +02:00
Lorenz Hübschle-Schneider
a2cc3558c3 Remove ngAnimate for the moment, we're not even using it
It does have a very significant performance impact, in my
measurements, buffer switching is 30% faster without it!
2014-07-07 18:54:56 +01:00
David Cormier
528237071f Merge pull request #343 from glowing-bear/defaultport
Fix default port
2014-07-02 08:55:44 -04:00
Kramer Campbell
b21662da3c Remove duplicate source of truth with buffers. 2014-07-01 15:07:34 -07:00
Lorenz Hübschle-Schneider
9379a53543 Set placeholder text to "Port" instead so it is clear what is needed here 2014-06-30 20:25:10 +01:00
Lorenz Hübschle-Schneider
f5855e0712 Revert "Set port variable instead of placeholder"
This reverts commit 6b4d2fddbb.

...because it didn't work. I just got an empty box and the variable wasn't set
2014-06-30 20:24:50 +01:00
David Cormier
8bdfd68438 Merge pull request #336 from glowing-bear/title-alt-text
Add buffer title to alt text
2014-06-23 14:56:47 -04:00
Kramer Campbell
9aa6a374cd Add option to show seconds in timestamps. 2014-06-23 09:34:27 -07:00
Lorenz Hübschle-Schneider
04c8ef45ec Add buffer title to alt text
Fixes #333
2014-06-23 17:09:38 +01:00
David Cormier
6b4d2fddbb Set port variable instead of placeholder
Suggesting a port in the placeholder can be confusing, as it may
lead people to believe that this value will be sent to the server
while in fact it will not be.

Fix #324
2014-06-16 22:53:39 -04:00
Lorenz Hübschle-Schneider
f374bebc4e Turn notimestamp into a positive setting (showtimestamp) 2014-06-07 19:52:22 +01:00
Lorenz Hübschle-Schneider
f69a1ce3c4 Fix scrolling on landing page (mobile) 2014-06-07 19:52:22 +01:00
Lorenz Hübschle-Schneider
92e7670637 Use our name in the title 2014-05-19 13:37:48 +01:00
Lorenz Hübschle-Schneider
e7eeac1be7 Use minified libraries
How did that happen? :O
2014-05-18 21:03:06 +01:00
Lorenz Hübschle-Schneider
7b6c1df954 Update angular to 1.3.0-beta.8
Fixes multibyte utf-8 issue
2014-05-12 13:43:04 +01:00
David Cormier
b7c508dc14 Merge pull request #300 from glowing-bear/indentation
Fix broken indentation and closing tags
2014-05-09 15:44:42 -04:00
Lorenz Hübschle-Schneider
f5223cc602 Fix broken indentation and closing tags
There were extraneous </div>s around, ugh
2014-05-09 17:49:07 +01:00
Lorenz Hübschle-Schneider
afc3aa169f Reduce number of watchers for buffer list
One watcher for each buffer
One additional watcher for each buffer without activity
2014-05-09 16:46:46 +01:00
Lorenz Hübschle-Schneider
78056fd994 Remove unnecessary DOM element for plugin 2014-05-09 16:29:07 +01:00
Lorenz Hübschle-Schneider
bf4488a60a remove nonexistent clickhandler nickAction 2014-05-09 16:16:33 +01:00
Lorenz Hübschle-Schneider
703953a0f6 Rename highlightNick to addMention
...because that's what it does
2014-05-09 09:13:46 +01:00
Lorenz Hübschle-Schneider
91bca211ee Merge pull request #290 from torhve/sslerror
Better user feedback for connection problems
2014-05-07 18:20:08 +01:00
Tor Hveem
fbfeec8fca Change the connect button text based on connection status 2014-05-06 22:00:02 +02:00
Tor Hveem
d2f11ad89d Catch DOMException 2014-05-06 22:00:02 +02:00
Lorenz Hübschle-Schneider
b766b41ed4 Improve encryption instructions 2014-05-04 19:07:08 +01:00
Tor Hveem
dc077ac903 Improve CSS layout. Fix 98% bug that affects chrome/ff differently.
Conflicts:
	css/glowingbear.css
2014-04-29 21:31:49 -04:00
Tor Hveem
a2969adf9b Remove old cruft 2014-04-29 21:31:48 -04:00
Lorenz Hübschle-Schneider
26d43fa694 Merge pull request #272 from torhve/versionbump
Bump angular and underscore.js versions
2014-04-28 13:05:22 +01:00
Tor Hveem
3b74512c77 Bump versions 2014-04-26 22:56:30 +02:00
Lorenz Hübschle-Schneider
18d1f4716b Revert "use ng-if to hide date instead of css"
That actually decreases performance, because it adds a watcher to every line

This reverts commit 16365db588.
2014-04-26 16:50:04 +01:00
Lorenz Hübschle-Schneider
677ec7783d Reduce usage of ng-show/hide to reduce number of useless DOM elements (fixed)
Progress in the direction of #87, especially on mobile.
This version doesn't break everything for new users.
2014-04-26 16:49:56 +01:00
Lorenz Hübschle-Schneider
16365db588 use ng-if to hide date instead of css 2014-04-26 10:48:19 -04:00
David Cormier
253e2ffc60 Revert "Minimise usage of ng-show/hide to reduce number of useless DOM elements"
This reverts commit b4e1a5aaad.
2014-04-24 23:20:56 -04:00
Felix Eckhofer
482639f7e6 Update URL to point to new Github Org
Travis-CI url to be updated at a later date?
2014-04-24 17:08:58 +02:00
David Cormier
aa42027e98 Merge pull request #258 from lorenzhs/performance
Performance improvements
2014-04-24 10:18:51 -04:00
Lorenz Hübschle-Schneider
e732d72550 Detect self-signed cert errors 2014-04-22 19:04:31 +02:00
Lorenz Hübschle-Schneider
b4e1a5aaad Minimise usage of ng-show/hide to reduce number of useless DOM elements
Progress in the direction of #87, especially on mobile.
2014-04-21 18:31:02 +02:00
Lorenz Hübschle-Schneider
3ad76d2ff3 Don't ng-repeat function calls, they're expensive
See http://tech.small-improvements.com/2013/09/10/angularjs-performance-with-large-lists/
2014-04-21 18:31:02 +02:00
David Cormier
81c5974369 Merge pull request #257 from lorenzhs/nickclick
Highlight user when clicking their nick
2014-04-19 10:07:50 -04:00
Lorenz Hübschle-Schneider
76d7572622 Highlight user when clicking their nick 2014-04-19 15:47:33 +02:00
Lorenz Hübschle-Schneider
16664cefc0 Double-tap escape to disconnect 2014-04-19 14:13:32 +02:00
David Cormier
2719caf956 Revert "Bring up number keypad for port on mobile phones, URL for address"
This reverts commit bbcdada331.
2014-03-18 14:57:34 -04:00
Lorenz Hübschle-Schneider
bbcdada331 Bring up number keypad for port on mobile phones, URL for address
An alternative would be type="tel", which has bigger number buttons for me,
but it seems wrong to use.
2014-03-14 14:52:23 +00:00
Lorenz Hübschle-Schneider
f2680419b6 Use svg logo on landing page 2014-03-10 17:32:22 +00:00
Lorenz Hübschle-Schneider
2227e31fe4 Bigger logo on landing page
I rendered the svg with inkscape
2014-03-09 10:32:35 +00:00
David Cormier
a8b1fbd512 Move img directory to assets directory 2014-03-03 22:13:41 -05:00
Lorenz Hübschle-Schneider
aecae9f0e6 Optionally play a sound on notification
Fixes #42
TODO: find and add a sound file
2014-03-03 21:23:15 -05:00
David Cormier
9a40f61517 Merge pull request #196 from cormier/glowing-logo
Glowing logo
2014-02-28 09:11:58 -05:00
David Cormier
e274935537 Rename content -> buffer
Makes more sense as this variable is called "buffer" everywhere
else in the code base.
2014-02-27 21:55:42 -05:00
David Cormier
c4dc74ca8d Make allLinesFetched an attribute of buffer
Remove noMoreLines from the rootScope.
2014-02-27 21:55:42 -05:00
Tor Hveem
ad68e32c08 Don't show fetch more lines when there aren't any 2014-02-27 21:55:42 -05:00
David Cormier
583a4bab58 Merge pull request #199 from torhve/improve-swipe
Increase swipe area
2014-02-27 21:37:10 -05:00
Tor Hveem
5dd11d72c0 Fix alt-n again 2014-02-28 00:31:32 +01:00
Tor Hveem
4fccf9dc8d Fix HTML syntax error 2014-02-28 00:14:33 +01:00
Tor Hveem
93a7e524d3 Increase swip area 2014-02-28 00:00:37 +01:00
David Cormier
b0df74a59e Add glowing bear logo
Replace weechat logo with a bear that glows
2014-02-27 08:47:45 -05:00
Tor Hveem
d21267289c Modal for settings instead of dropdown 2014-02-27 08:09:50 -05:00
Tor Hveem
9dfcc06c41 Bump bootstrap 2014-02-27 08:09:50 -05:00
Tor Hveem
5ac710a694 Fixes warnings in console with getelementid in firefox 2014-02-27 08:09:50 -05:00
Tor Hveem
3f1984859e Makes buffer switching a little bit faster if you don't use nicklist 2014-02-26 01:36:36 +01:00
David Cormier
c04b6e64f6 Let user specify the id of the input bar
Input bar id is not globally set, but passed to the directive
through the input-id attribute.
2014-02-25 09:12:52 -05:00
Felix Eckhofer
6d0dea1004 Rework installation instructions
- Add note on installation being optional
- Add some instruction how to create app shortcut for Chrome
2014-02-23 17:18:03 +01:00
David Cormier
335e31fa1f Merge pull request #173 from lorenzhs/mobilescroll
Improve mobile behaviour
2014-02-22 22:27:15 -05:00
Lorenz Hübschle-Schneider
6cfabdd0bd Extend swipe region. Still not optimal.
It would be nice if we could scroll on the whole `content` div, but then the
open sidebar and close nicklist swipes collide
2014-02-22 11:40:22 +00:00
David Cormier
a28ee6033b Merge pull request #163 from lorenzhs/flashtitle
Flash title when receiving lines in the background & make use of favico configurable
2014-02-21 09:58:28 -05:00
David Cormier
7b79d7dc5a Merge pull request #166 from torhve/swipe-animate
Use ngAnimate to animate sidebar hiding/showing
2014-02-21 09:46:36 -05:00
Tor Hveem
056aa3deed Use CSS classes instead of javascript for margin 2014-02-21 15:35:06 +01:00
Lorenz Hübschle-Schneider
df1bb08749 Only update title for notifications, not other kinds of activity
Also make the unread count the first thing in the title
2014-02-21 10:22:27 +00:00
Felix Eckhofer
e0aef4c6e1 make enter switch to the first match in the list 2014-02-21 09:55:56 +01:00
Felix Eckhofer
212aa1ba69 use consistent format to explain shortcuts 2014-02-21 09:45:56 +01:00
Felix Eckhofer
fead046eed use alt-g for filter bufferlist
this is more consistent with the other existing shortcuts and is also
the same shortcut go.py recommends in weechat-curses
2014-02-21 09:45:56 +01:00
Tor Hveem
46b503e1b4 Use ngAnimate to animate sidebar hiding/showing 2014-02-21 09:34:30 +01:00
Lorenz Hübschle-Schneider
9ac7b341ec Make use of favico an option
@tribut: does this resolve your issue?
2014-02-20 22:47:24 +00:00
David Cormier
5b5082dfd4 Merge pull request #160 from cormier/previous-buffer
PR#155 with shortcut added in front page instructions
close #155
2014-02-19 11:53:06 -05:00
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