Commit Graph

1678 Commits

Author SHA1 Message Date
Lorenz Hübschle-Schneider d87a2cdfff Merge pull request #959 from TPXP/patch-1
Upgrade karma-phantomjs-launcher to 1.0.0
2017-07-30 16:15:21 +02:00
Thomas P 4c061ba9f4 Upgrade karma-phantomjs-launcher to 1.0.0
`phantomjs` was renamed to `phatomjs-prebuilt` but this change was integrated in the 1.0.0 release of `karma-phantomjs-launcher`. The previous versions import the `phantomjs` module, which results in a failure since this module is not anymore installed. Consequently, the `run_tests.sh` script hands infinitely because the launcher fails.

This commit makes the run_tests.sh script work again. :-)
2017-07-30 16:02:44 +02:00
Lorenz Hübschle-Schneider 938ce13fcc Merge pull request #849 from lorenzhs/swipe
better swipe handling and nicklist behaviour on mobile
2017-06-26 10:34:47 +02:00
Lorenz Hübschle-Schneider 89bfac964e Simplify updateShowNicklist 2017-06-26 10:29:49 +02:00
Lorenz Hübschle-Schneider 9c28ec4055 Document, simplify, and improve swipe logic 2017-06-26 10:29:49 +02:00
Lorenz Hübschle-Schneider f3e0e3e047 Stop abusing "hide nicklist" setting to show/hide sidebar on mobile 2017-06-26 10:29:49 +02:00
Lorenz Hübschle-Schneider f44b67489d Use CSS-based mobile detection 2017-06-26 10:29:48 +02:00
Lorenz Hübschle-Schneider 1c71ede145 simplify touch detection logic
no swipes on desktop needed with the previous commit!
2017-06-26 10:29:17 +02:00
Lorenz Hübschle-Schneider 6b7b639618 Add an "always show nicklist" setting on mobile to replace "hide nicklist" 2017-06-26 10:29:10 +02:00
Lorenz Hübschle-Schneider e37666a571 better swipe handling
this makes the mobile UI less pleasant to use on Desktop :\
2017-06-26 10:24:45 +02:00
Lorenz Hübschle-Schneider 363f4a9e36 Merge pull request #951 from glowing-bear/revert-905-dont-scroll-to-readmarker
Revert "[DISCUSS] Remove "scroll to readmarker" functionality"
2017-06-16 21:31:45 +02:00
Lorenz Hübschle-Schneider c4d8a4fe10 Revert "[DISCUSS] Remove "scroll to readmarker" functionality" 2017-06-16 21:29:48 +02:00
Lorenz Hübschle-Schneider 773a80b40c fix title positioning on mobile
Closes #948
2017-06-09 09:49:18 +02:00
Lorenz Hübschle-Schneider efb23d0ee8 Merge pull request #946 from lorenzhs/title-modal
Enable title modal on desktop, too, and improve it a bit
2017-06-07 17:13:12 +02:00
Lorenz Hübschle-Schneider 1f86485376 Merge pull request #947 from txanatan/base16-ocean-dark
Add base16-ocean-dark
2017-06-03 11:53:01 +02:00
Alice Jenkinson 027c7bb03f Add base16-ocean-dark 2017-06-03 10:05:12 +12:00
Lorenz Hübschle-Schneider 5d090dd0ed Enable title modal on desktop, too, and improve it a bit
- make it full-width for clickability of the entire top region
- show the buffer's name in the modal dialog

Fixes #943
2017-06-02 11:37:41 +02:00
Lorenz Hübschle-Schneider d45763d736 Merge pull request #905 from lorenzhs/dont-scroll-to-readmarker
[DISCUSS] Remove "scroll to readmarker" functionality
2017-05-26 14:23:37 +02:00
Lorenz Hübschle-Schneider 6c78b13dfb Merge pull request #945 from rscullin/noscript
UX Improvements when JS is disabled or blocked
2017-05-20 08:25:08 +02:00
Robert Scullin c3214a2ad6 Noscript code cleanup 2017-05-19 15:09:57 -04:00
Robert Scullin 945e84c538 Improves UX when JavaScript is disabled/blocked 2017-05-19 14:59:25 -04:00
Lorenz Hübschle-Schneider 899413d134 Merge pull request #944 from rscullin/master
Make buffer search case insensitive
2017-05-19 09:35:50 +02:00
Robert Scullin b598d1b8d1 Make buffer search case insensitive 2017-05-19 00:35:04 -04:00
Lorenz Hübschle-Schneider 539f892e8e Merge pull request #922 from glowing-bear/buffer-jump
Implement Alt+J buffer jump like in WeeChat
2017-05-14 20:13:15 +02:00
Lorenz Hübschle-Schneider 236275a33b Merge pull request #931 from lorenzhs/emojification
Emojification: only replace sequences of emoji surrounded by whitespace
2017-05-14 20:12:57 +02:00
Lorenz Hübschle-Schneider 4158ecebe7 Merge pull request #935 from lorenzhs/readme-tls
Update encryption instructions in the README
2017-05-10 22:39:42 +02:00
Lorenz Hübschle-Schneider 6af2a870fb Merge pull request #938 from lorenzhs/password-escape-comma
Escape comma in password
2017-05-10 22:38:34 +02:00
Lorenz Hübschle-Schneider 92d707a51d Merge pull request #939 from SimonSapin/ctrl-w-w-w-w
Fix Ctrl+W when the cursor follows a space.
2017-05-06 13:12:34 +02:00
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