Commit graph

1700 commits

Author SHA1 Message Date
Lorenz Hübschle-Schneider
3c30e6ad07 Ctrl-w: ignore all whitespace, not just spaces 2017-05-06 13:11:27 +02:00
Simon Sapin
ea4de99e89 Fix Ctrl+W when the cursor follows a space.
This key binding does "Delete from cursor to previous space".
When the text before the cursor was `some example`,
it would find the space after "some" and delete "example".
When hitting Ctrl+W *again*, it would find the same space again…
and delete nothing.

This changes the code to ignore trailing spaces before the cursor
for the purspose of finding the previous space,
so that something (if at all possible) is always deleted.
2017-05-05 21:44:40 +02:00
Lorenz Hübschle-Schneider
c8c3c9aa8d Escape comma in password
Fixes #937
2017-05-05 12:48:41 +02:00
Lorenz Hübschle-Schneider
b04919002d Update encryption instructions in the README 2017-05-01 12:46:08 +02:00
Lorenz Hübschle-Schneider
eaffb17c5a Merge pull request #919 from txanatan/tidyup-cordova
Move Cordova specific fixes into main branch
2017-04-28 14:00:39 +02:00
Lorenz Hübschle-Schneider
56d190ab5c Improve documentation & cordova checks 2017-04-28 12:50:51 +02:00
Lorenz Hübschle-Schneider
8ba2b1acf6 cordova integration: small fixups 2017-04-19 14:55:48 +02:00
Lorenz Hübschle-Schneider
307a6a5344 revert changes to index.html
let's maintain a separate branch for now
2017-04-19 14:50:23 +02:00
Alice Jenkinson
b24a9e5137 Remove the negation of utils.isCordova() in settings
The settings were accidentally negated, causing them to be hidden
on desktop but not in Cordova. Oops.
2017-04-19 14:47:46 +02:00
Alice Jenkinson
9a4319ca7c Update manifests to use www.glowing-bear.org instead of glowing-bear.github.io 2017-04-19 14:47:46 +02:00
Alice Jenkinson
8fca35078a Change references to "browser" in welcome text to "app" on Cordova only 2017-04-19 14:46:43 +02:00
Alice Jenkinson
677db01d1b Change all references to "cordova" to "window.cordova" 2017-04-19 14:46:43 +02:00
Alice Jenkinson
d87f274c73 Hide some things on Cordova, fix links 2017-04-19 14:46:43 +02:00
Alice Jenkinson
8a1f02241f Move splashscreen logic out of app.js into glowingbear.js 2017-04-19 14:46:43 +02:00
Alice Jenkinson
6de8bdc41a Initial rework of Cordova branch 2017-04-19 14:46:43 +02:00
Lorenz Hübschle-Schneider
a49bc86554 Merge pull request #932 from JCallicoat/videoplugin_imgur_fix
Make videoPlugin work for all imgur gifv videos
2017-04-19 14:09:02 +02:00
Lorenz Hübschle-Schneider
8a230e9bf3 imgur: force https (2), fix comment 2017-04-19 14:05:37 +02:00
Lorenz Hübschle-Schneider
6d7de0c746 imgur: force https, simplify regex 2017-04-19 14:01:57 +02:00
Jordan Callicoat
14879811a5 Make videoPlugin work for all imgur gifv videos
Some gifv links on imgur.com do not have an associated webm video
and only provide an mp4 video. Add two source elements with proper
mimetypes for both types of video. The video player will fall back
to the secondary source if the first cannot be loaded (due to 404)

Example: Trying to load the webm version of this video

  http://i.imgur.com/i7D4GRb.webm

will result in a 302 redirect to the gifv url, which tries to load
an HTML document. This will cause our video player to reject the
document as an invalid video format (text/html); on some videos it
will simply 404. The mp4 version is available and our player will
fall back to that.
2017-04-18 16:55:44 +00:00
Lorenz Hübschle-Schneider
98d4bd9613 Emojification: only replace sequences of emoji surrounded by whitespace
Fixes #903, #930
2017-04-18 16:07:07 +02:00
Lorenz Hübschle-Schneider
e7fdf05890 Merge pull request #928 from JCallicoat/streamable_plugin
Add streamable.com video plugin
2017-04-17 18:05:44 +02:00
Jordan Callicoat
c880546882 Add streamable.com video plugin 2017-04-14 13:16:55 +00:00
Lorenz Hübschle-Schneider
45edc0d3a5 Merge pull request #927 from 20after4/multi-devtools
dev toools: separate shortcut for electron and for web content
2017-04-07 12:38:43 +02:00
Mukunda Modell
cca80cd992 dev toools: separate shortcut for electron and for web content 2017-04-07 05:35:44 -05:00
Lorenz Hübschle-Schneider
b448bb563b webapp.manifest.json: fix chrome warning
`"false"` vs `false`, yay. Thanks for the heads-up, Xarthus.
2017-04-06 13:01:56 +02:00
Lorenz Hübschle-Schneider
804e2ff39a Merge pull request #923 from lorenzhs/mobile-tab-tweak
Use CSS to show/hide tab-complete button instead of ng-hide
2017-04-05 14:35:27 +02:00
Lorenz Hübschle-Schneider
4bf35e7ae2 Merge pull request #881 from lorenzhs/docs-make-local
Add FAQ section on getting GB to run completely local
2017-04-05 14:34:55 +02:00
Lorenz Hübschle-Schneider
9b2e5d77db Merge pull request #896 from lorenzhs/fix-fontsize-unit-fixing
Fix fontsize unit fixing (assume px if no unit specified)
2017-04-05 14:34:04 +02:00
Lorenz Hübschle-Schneider
5ed67d871f Merge pull request #908 from lorenzhs/altoption
Allow users to disable the alt+%d buffer switching
2017-04-05 14:33:22 +02:00
Lorenz Hübschle-Schneider
cade004f31 Merge pull request #906 from lorenzhs/spotify-regex
Add play.spotify.com to spotify plugin
2017-04-05 14:32:30 +02:00
Lorenz Hübschle-Schneider
fde346bc2f Use CSS to show/hide tab-complete button instead of ng-hide
should've been ng-show anyway
2017-03-23 15:53:02 +01:00
Lorenz Hübschle-Schneider
f4db7c2647 Don't show quick keys if they're disabled 2017-03-23 15:48:07 +01:00
Lorenz Hübschle-Schneider
e17fce6f6d Rename setting for consistency 2017-03-23 15:48:07 +01:00
Lorenz Hübschle-Schneider
64fc470cf3 Hide Alt+[0-9] checkbox on mobile
Mobile users don't typically have an Alt key
2017-03-23 15:47:51 +01:00
Evan Tschuyi
231a524438 allow users to disable the alt+%d buffer switching 2017-03-23 15:26:26 +01:00
Lorenz Hübschle-Schneider
26d8b5faee Animate jumpkey transition & change placeholder to "Number" 2017-03-23 13:53:07 +01:00
David Cormier
f09997b145 readme: fix github title formatting
titles are not displayed as such on github when there is no space between the hash sign and the title
2017-03-20 16:30:36 -04:00
Lorenz Hübschle-Schneider
915d0d5d3e Reset search state when initiating jump 2017-03-18 17:04:37 +01:00
Lorenz Hübschle-Schneider
22cb962e63 jumpkeys: filter on entry of first digit
not quite sure whether I like changing the sort order
2017-03-18 16:33:54 +01:00
Lorenz Hübschle-Schneider
d9346f5f3e simplify buffer jumping logic 2017-03-18 16:33:54 +01:00
Lorenz Hübschle-Schneider
cdd88baa62 Add "Jump:" label to search box when jumping 2017-03-18 16:33:54 +01:00
Lorenz Hübschle-Schneider
e5b8f8fffe Force jump keys to double digits 2017-03-18 16:33:54 +01:00
Tobias Theuer
833a2a8c0f Improved timing. Made code more readable. 2017-03-18 16:33:54 +01:00
Tobias Theuer
811e76d443 Jump to any buffer (up to 99) with Alt+J followed by 2 digits. 2017-03-18 16:33:54 +01:00
Lorenz Hübschle-Schneider
7663fa079d ng-class tweak 2017-03-18 14:56:15 +01:00
Lorenz Hübschle-Schneider
3847f0f011 Merge pull request #918 from txanatan/master
Add a button to the input bar to complete nicks
2017-03-18 14:56:02 +01:00
Alice Jenkinson
1b7f7354aa Change nick complete button glyph to bullhorn 2017-03-19 02:24:58 +13:00
Alice Jenkinson
0eb01bad51 Use ng-class instead of string interpolation in input.html 2017-03-19 01:51:15 +13:00
Lorenz Hübschle-Schneider
6215f79a14 Merge pull request #920 from ttheuer/electron-close-window-fix
Changed "close Window" shortcut from Ctrl+W to Ctrl+Q.
2017-03-18 13:38:09 +01:00
Tobias Theuer
d912ee0d37 Changed "close Window" shortcut to Ctrl+Q. 2017-03-18 11:36:50 +01:00