Commit graph

291 commits

Author SHA1 Message Date
David Cormier
658e876643 fixup font-family and font-size setting glitches
Replace fontSize placeholder by default value. Placeholders should be used
as suggestions, not effective values.

Remove spurious default value for fontFamily (it is defined right below)
2014-09-01 09:37:17 -04:00
David Cormier
9438c3844f Ask confirmation before closing if user has unsent input 2014-08-31 11:14:56 -04:00
Lorenz Hübschle-Schneider
21f8f47efe Split things up into logical blocks 2014-08-31 15:57:36 +01:00
Lorenz Hübschle-Schneider
64f412e047 Handle keypress events as well
keydown is not enough, because browsers. A (very very very) long
explanation that I read in part is at http://unixpapa.com/js/key.html

E.g. on my keyboard layout (neo2), I don't get a keydown event for alt+<,
which in QWERTY keys is alt + caps lock + u (or the key above shift next to
enter on the right side, which actually isn't present on QWERTY (not ' but to
the right of it - it's not there on a US layout, but it is # on QWERTZ). I do get
a keypress event though.
2014-08-26 12:44:34 +01:00
David Cormier
9e0e3d06ae Merge pull request #419 from glowing-bear/glyphicon
Use "off" glyphicon instead of "remove"
2014-08-25 16:26:17 -04:00
Lorenz Hübschle-Schneider
9c99eefb83 update angularjs to 1.3 beta 19 to fix bug with quotes around URL 2014-08-25 12:40:49 +01:00
Lorenz Hübschle-Schneider
611abdf51a Use "off" glyphicon instead of "remove"
Needs a few fixes to not look disproportionately large next to the cog.
Also remove that sodden trailing space.
2014-08-24 17:14:35 +01:00
Lorenz Hübschle-Schneider
4cdf86ed14 Remove bindonce for Angular 1.3 One-Time Bindings 2014-08-23 12:26:04 +01:00
Lorenz Hübschle-Schneider
d3b8df8bb0 Don't watch for changes on existing lines
How did we miss this angular 1.3 feature? 
It appears to be a bit similar to bindonce, but also works in ng-repeat!

See https://docs.angularjs.org/guide/expression#one-time-binding
2014-08-23 11:46:05 +01:00
Lorenz Hübschle-Schneider
6fb2d6b364 Merge pull request #411 from torhve/wordbreak
Fix word breaking
2014-08-18 08:48:02 -07:00
Tor Hveem
7baffb15e0 Fix word breaking
Use break-all to force breaking in all browsers.
2014-08-14 15:35:40 +02:00
Lorenz Hübschle-Schneider
e46efba5cf Update angular version from beta 8 to beta 18
ngFocus is broken in beta8
2014-08-13 08:39:56 +01:00
Robert Scullin
e3341f8d37 Fix for iOS status bar not being visible due to black background
Adds a meta tag to have the top status bar in iOS render with white
text rather than black text.
2014-08-02 01:35:17 -04:00
Nick Singer
d03b5b8a07 modified stylesheet and index.html for a better looking connection form 2014-07-31 22:14:22 +02:00
Lorenz Hübschle-Schneider
cd4b5c8abe Display HTML colour codes inline 2014-07-31 14:20:42 +01:00
David Cormier
7c5a396171 Rename 'monospace' class to 'favorite-font' 2014-07-24 21:36:56 -04:00
Lorenz Hübschle-Schneider
7a374740af Fix rendering of settings dialog on mobile 2014-07-23 19:22:23 +01:00
David Cormier
013cc03380 Merge pull request #349 from glowing-bear/dejquery
[PLEASE TEST] Remove dependency on jQuery
2014-07-21 16:18:57 -04:00
Tor Hveem
f95a84a93d Merge pull request #376 from glowing-bear/readline
fix keybindings relying on caretPos
2014-07-21 16:42:13 +02:00
Lorenz Hübschle-Schneider
0984a2f8b4 Make readline/emacs keybindings a setting
Also fix some labels while we're at it
2014-07-21 15:38:28 +01:00
Tor Hveem
065d8a240d New feature: Automatically connect
Check if user saved password, and then offer to automatically connect.
Use a angular watch on the autoconnect and connect as soon as user
selects it.

Check for error messages so it doesn't try to reconnect if there is
errors.
2014-07-20 14:32:53 +02:00
Tor Hveem
99cf794efc Use title tag to explain keybindings 2014-07-20 13:21:39 +02:00
Lorenz Hübschle-Schneider
bc958a3f7b Fix modal so that it reliably works on all plattforms 2014-07-20 11:40:23 +01:00
Tor Hveem
4081b18ed2 Add some emacs keybindings. Fixes #371
Add the most commonly used emacs/readline keybindings to input field and
document them.
Also change the wording on some of the old descritions to clarify
intent.
2014-07-20 12:21:46 +02:00
Tor Hveem
63f30215ed Fix modal closing on mobile
Removing the click handler on the backdrop fixes it, because apparently
the inside listeners stop propagating. We should look for a fix on
backdrop clicking too. And we should also support clicking ESC to close
modal.
2014-07-19 15:05:15 +01:00
Lorenz Hübschle-Schneider
e236d937e2 Simplify usage of modal 2014-07-19 15:05:15 +01:00
Lorenz Hübschle-Schneider
640f3f8228 Remove jQuery and bootstrap js 2014-07-19 15:05:14 +01:00
Lorenz Hübschle-Schneider
7d5bc0f078 Accordion without jQuery / bootstrap js
it's not quite 100% as nice though
2014-07-19 15:05:14 +01:00
Lorenz Hübschle-Schneider
23fb4da05a Implement modal without bootstrap.js and jQuery 2014-07-19 15:05:14 +01:00
Lorenz Hübschle-Schneider
8816fe221e Animate sidebar with CSS transitions 2014-07-18 13:46:01 +01:00
Tor Hveem
f7ef7e95b9 Merge pull request #365 from glowing-bear/defaultsettings
Enable hierarchical server view by default
2014-07-18 14:25:47 +02:00
Lorenz Hübschle-Schneider
2c4a28f559 Enable hierarchical server view by default
Also fix its label

Fixes #331
2014-07-18 12:35:13 +01:00
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