Commit graph

1421 commits

Author SHA1 Message Date
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
Lorenz Hübschle-Schneider
edb34144c7 Move current line into history when pressing down in input bar 2014-07-21 15:35:53 +01:00
Tor Hveem
a5c68a8053 fix keybindings relying on caretPos 2014-07-21 15:55:50 +02:00
Lorenz Hübschle-Schneider
ff63a9d8bd Merge pull request #374 from glowing-bear/autoconn
New feature: Automatically connect
2014-07-21 14:50:44 +01:00
Tor Hveem
204a6f9325 Merge pull request #375 from glowing-bear/zopfli
Optipng-zopfli for even smaller pngs
2014-07-20 16:06:27 +02:00
Lorenz Hübschle-Schneider
9b64d32828 Optipng-zopfli for even smaller pngs 2014-07-20 13:50:20 +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
Lorenz Hübschle-Schneider
95c9969e71 Merge pull request #373 from glowing-bear/readline
Add some emacs keybindings. Fixes #371
2014-07-20 12:38:09 +01:00
Tor Hveem
99cf794efc Use title tag to explain keybindings 2014-07-20 13:21:39 +02:00
Lorenz Hübschle-Schneider
c9e3c1a55c Close modal with escape key 2014-07-20 11:48:51 +01: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
Lorenz Hübschle-Schneider
15bb4a21d9 Remove now-obsolete toggle prevention function 2014-07-19 15:05:15 +01: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
73dcddac0e increase max height of accordion fields for mobile 2014-07-19 15:05:14 +01:00
Lorenz Hübschle-Schneider
4259b070de Fix modal height and accordion in firefox 2014-07-19 15:05:14 +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
Tor Hveem
018feb2fd5 Merge pull request #368 from glowing-bear/sidebar-animation
[PLEASE TEST] Animate sidebar with CSS transitions
2014-07-18 15:18:53 +02:00
Tor Hveem
98c4f35fef Merge pull request #366 from glowing-bear/linebreak
[PLEASE TEST] Fix line breaks on mobile by shifting around padding
2014-07-18 15:11:50 +02:00
Tor Hveem
c57b4d0cc7 Merge pull request #364 from glowing-bear/embedmaxwidth
Prevent embeds from overflowing
2014-07-18 15:01:45 +02:00
Lorenz Hübschle-Schneider
97cf908932 Prevent embeds from overflowing
Fixes #347
2014-07-18 13:47:18 +01:00
Lorenz Hübschle-Schneider
8816fe221e Animate sidebar with CSS transitions 2014-07-18 13:46:01 +01:00
Lorenz Hübschle-Schneider
638aeb6697 Merge pull request #363 from glowing-bear/fixlocalstorage
localstorage: fix initial value setting
2014-07-18 13:37:32 +01:00
Tor Hveem
25fefb0443 Merge pull request #361 from glowing-bear/jshintrc
Add Jshintrc
2014-07-18 14:27:28 +02: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
Tor Hveem
5173f86b53 Merge pull request #367 from glowing-bear/defaultfont
Change order of default monospace fonts, remove Terminus
2014-07-18 14:25:02 +02:00
Tor Hveem
2f7f463473 Merge pull request #362 from glowing-bear/hideDebug
Make debug mode a parameter, not a setting
2014-07-18 14:23:40 +02:00
Lorenz Hübschle-Schneider
6e0e1d122f Change order of default monospace fonts, remove Terminus
Having a bitmap font as first choice is really stupid, as noted
by @Evropi in #322 (this fixes #322)

As Inconsolata is a wonderful font that has the advantages of
a monospace font combined with a level of readability that is
otherwise reserved to sans-serif fonts, I think it should be first
in the list.
2014-07-18 12:43:19 +01: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
3eb1345612 Don't use globalstrict, it produces lots of errors
...about missing "use strict"s
2014-07-18 12:26:10 +01:00
Lorenz Hübschle-Schneider
74f9ac94ea Use the function form of 'use strict' 2014-07-18 12:23:25 +01:00
Lorenz Hübschle-Schneider
fa6f108fe5 Make debug mode a parameter, not a setting 2014-07-18 12:17:19 +01:00
Tor Hveem
9a9617565d jshintrc: add jshintrc
Relax checking on some globals
2014-07-17 16:33:38 +02:00
Tor Hveem
852c9ad4fb Merge pull request #342 from glowing-bear/ffapp
Fix the name in the browser apps
2014-07-17 15:33:18 +02:00
Tor Hveem
bc8f86ebae Merge pull request #354 from glowing-bear/yr
Yr.no meteogram embedding
2014-07-17 15:31:36 +02:00
David Cormier
e3fde146f8 Merge pull request #352 from glowing-bear/fontchoice
User configurable font choice. Fixes #351
2014-07-17 09:10:54 -04:00
Lorenz Hübschle-Schneider
fcfd9fce91 Make it pretty 2014-07-17 15:06:39 +02:00
Tor Hveem
836b2940ce Use crossbrowser compatible attr. names 2014-07-17 15:06:39 +02:00
Tor Hveem
6318a94163 Helpers for class styling
Implement our own helpers for getting and setting class styles instead
of using jquery functions, since we are getting rid of jquery
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
16f9897964 use angular.element instead of jquery 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
Lorenz Hübschle-Schneider
44ebcc6083 Merge pull request #355 from torhve/syncphrashing
Clarify hotlist sync option.
2014-07-16 21:59:06 +01:00
David Cormier
2a2c7e1281 Merge pull request #350 from glowing-bear/keep-keyboard-open
Focus input bar after pressing the send button
2014-07-16 16:54:56 -04:00
Tor Hveem
a7a8d60aea localstorage: fix initial value setting 2014-07-16 20:34:50 +02: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