Commit graph

1583 commits

Author SHA1 Message Date
David Cormier
7ee237cf3a Merge pull request #381 from glowing-bear/fix-esc
Properly iterate over modals in ESC key handler
2014-07-25 16:52:09 -04:00
David Cormier
01a1d79a54 Remove font definition from css file
The font for the .favorite-font class is now set programmatically
2014-07-25 09:43:07 -04:00
David Cormier
9b55244f13 Set and bind font-family if unset
Default for desktop is monospace and default for mobile
is sans-serif
2014-07-25 09:43:03 -04:00
David Cormier
7c5a396171 Rename 'monospace' class to 'favorite-font' 2014-07-24 21:36:56 -04:00
David Cormier
05e74ba5cd Merge pull request #380 from glowing-bear/settings-mobile-design
Fix rendering of settings dialog on mobile
2014-07-24 11:32:27 -04:00
Lorenz Hübschle-Schneider
bea1cf6923 Properly iterate over modals in ESC key handler
the old way included attributes like 'length' and would raise an
exception, causing disconnection via double-esc to fail
2014-07-23 19:33:39 +01:00
David Cormier
a9758db585 Merge pull request #379 from glowing-bear/sidebar-swipe-mobileonly
Don't hide the sidebar when "swiping" with the mouse on desktop
2014-07-23 14:23:00 -04:00
Lorenz Hübschle-Schneider
7a374740af Fix rendering of settings dialog on mobile 2014-07-23 19:22:23 +01:00
Lorenz Hübschle-Schneider
fec3c57da3 Don't hide the sidebar when "swiping" with the mouse on desktop 2014-07-23 19:16:48 +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
8a15690557 Merge pull request #377 from glowing-bear/historystash
Move current line into history when pressing down in input bar
2014-07-21 16:43:09 +02: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
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