Commit graph

943 commits

Author SHA1 Message Date
Lorenz Hübschle-Schneider 38df097b49 Use our domain in the readme 2014-07-29 15:30:28 +01:00
David Cormier fcc4d8a888 Merge pull request #387 from glowing-bear/multipleembeds
Allow multiple embeds per plugin and line
2014-07-27 10:55:32 -04:00
Lorenz Hübschle-Schneider ccf7b1c51e Adapt common plugins to make use of multiple embeds per message 2014-07-27 12:55:25 +01:00
Lorenz Hübschle-Schneider e962472414 Fix Google maps regex 2014-07-27 12:55:25 +01:00
Lorenz Hübschle-Schneider ac31901d7d Allow plugins to return an array of results and display each of them
Also fix the URL regex to match multiple URLs ('g' modifier)
2014-07-27 12:55:22 +01:00
Lorenz Hübschle-Schneider 9090f50c5d Merge pull request #386 from glowing-bear/fix-default-embed
Fix default settings for embedding values
2014-07-26 14:44:47 +01:00
David Cormier 04efb16424 Rename rootScope.visible -> rootScope.auto_display_embedded_content
More verbose but more descriptive
2014-07-26 09:38:24 -04:00
David Cormier ceb31c1947 contentForMessage doesn't have to care about content visibility 2014-07-26 09:38:24 -04:00
David Cormier d2a30c1d13 Plugin visibility defaults to value of rootScope.visible
And plugin content is shown if it has to be visible
2014-07-26 09:38:24 -04:00
Lorenz Hübschle-Schneider dc1ce08800 Merge pull request #384 from glowing-bear/default-font
Make sure that a favourite font is always set when using Glowing Bear.
2014-07-26 13:44:38 +01:00
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