Commit graph

1277 commits

Author SHA1 Message Date
Tor Hveem
2006070d59 Merge pull request #444 from ailin-nemui/help-kbd
make the help more pleasant by adding kbd tags
2014-09-05 18:08:16 +02:00
Ailin Nemui
91480e91ab make the help more pleasant by adding kbd tags 2014-09-05 18:03:38 +02:00
Lorenz Hübschle-Schneider
c501215bae Re-enable "fetch more lines" after trimming lines on buffer switch
Fixes #404
2014-09-04 22:37:46 +01:00
David Cormier
38be11fd24 Merge pull request #441 from glowing-bear/connection-form
Don't capitalise host name
2014-09-02 15:40:23 -04:00
Lorenz Hübschle-Schneider
89391c0c61 Don't capitalise host name
Fixes #439
2014-09-02 19:06:31 +01:00
Lorenz Hübschle-Schneider
5b7f2b4ed1 Merge pull request #433 from glowing-bear/fix-font-size-glitch
fixup font-family and font-size setting glitches
2014-09-01 15:26:31 +01:00
David Cormier
658e876643 fixup font-family and font-size setting glitches
Replace fontSize placeholder by default value. Placeholders should be used
as suggestions, not effective values.

Remove spurious default value for fontFamily (it is defined right below)
2014-09-01 09:37:17 -04:00
Lorenz Hübschle-Schneider
6a26c61c9e Merge pull request #432 from glowing-bear/disconnect-when-closing
When closing the window, disconnect instead of asking the user to do it
2014-08-31 16:25:36 +01:00
David Cormier
9438c3844f Ask confirmation before closing if user has unsent input 2014-08-31 11:14:56 -04:00
David Cormier
24f63be25c When closing the window, disconnect instead of asking the user to do it 2014-08-31 11:12:09 -04:00
David Cormier
4f23eb7334 Merge pull request #430 from glowing-bear/refactor
[WIP] Refactor Glowing Bear
2014-08-31 11:03:36 -04:00
Lorenz Hübschle-Schneider
fe24302a73 Karma: Include files in the right order
glowing-bear.js needs to be loaded before the modules building upon it
2014-08-31 15:57:36 +01:00
Lorenz Hübschle-Schneider
21f8f47efe Split things up into logical blocks 2014-08-31 15:57:36 +01:00
David Cormier
6001de0ccf Merge pull request #431 from glowing-bear/fix-buffer-ordering
Fix Alt+[0-9] buffer access order
2014-08-31 10:51:21 -04:00
Lorenz Hübschle-Schneider
0c2e7635ed Fix Alt+[0-9] buffer access order
WeeChat sends them in no particular order, we need to sort the buffers by
their WeeChat number. To avoid copying the potentially very large buffer
objects around needlessly, extract the relevant keys and sort, then access.

This is based on ad50220bfd
2014-08-31 14:57:16 +01:00
David Cormier
4ac8f02fcb Bump vesion of manifest.webapp 2014-08-29 11:48:53 -04:00
David Cormier
9ee6dbb11b Bump version to 0.4.1 2014-08-29 11:25:33 -04:00
Lorenz Hübschle-Schneider
9030ac50aa Merge pull request #426 from glowing-bear/add-travis-instructions
Update README.md
2014-08-28 13:56:56 +01:00
David Cormier
93e2d0d7b5 Update README.md
* Add precisions on the contribution process.
* Add precisions on end to end testing.
2014-08-27 16:42:02 -04:00
Lorenz Hübschle-Schneider
226068152f Hotfix strict injection to undo terrible breakage 2014-08-27 18:47:58 +01:00
David Cormier
cd483eed7b Merge pull request #425 from glowing-bear/build-process
Add a minification process
2014-08-27 12:42:33 -04:00
David Cormier
2599edec5a Format README titles appropriately 2014-08-27 12:36:34 -04:00
Lorenz Hübschle-Schneider
33d43ee28d Add minification 2014-08-27 17:30:16 +01:00
Lorenz Hübschle-Schneider
69e1e1907d Use strict angular dependency injection
Prerequisite for proper minification
2014-08-27 17:28:01 +01:00
Lorenz Hübschle-Schneider
aef707a12f Merge pull request #424 from glowing-bear/add-e2e-tests
Setup testing
2014-08-27 17:23:57 +01:00
David Cormier
06b1db8c9d Merge pull request #399 from glowing-bear/fix-keypress
Handle keypress events as well
2014-08-26 20:23:58 -04:00
David Cormier
9675909ab5 Add sample E2E test 2014-08-26 20:17:22 -04:00
David Cormier
f1d36c1f96 Setup end to end testing
Add necessary targets in the package.json file
and update test instructions
2014-08-26 20:17:22 -04:00
Lorenz Hübschle-Schneider
92282e3a93 Test images with GET parameters as well (#414) 2014-08-26 20:17:22 -04:00
Lorenz Hübschle-Schneider
6d36bf1c82 Add tests for Gist & Tweet plugins 2014-08-26 20:17:22 -04:00
Lorenz Hübschle-Schneider
a46df4baab Use valid test URLs 2014-08-26 20:17:22 -04:00
Lorenz Hübschle-Schneider
230e33136c Don't fail failed tests by accessing undefined members
If a plugin didn't recognize something it should have recognized, don't fail in
checking whether it failed.

Also, semicolons.
2014-08-26 20:17:22 -04:00
Lorenz Hübschle-Schneider
f2bfb3444e Documentation; make test file executable, jshint tests, add a gitignore 2014-08-26 20:17:22 -04:00
David Cormier
4c3d481447 Add tests for all plugins 2014-08-26 20:17:22 -04:00
David Cormier
b16e9536f0 Make travis run the tests 2014-08-26 20:17:22 -04:00
David Cormier
9da4ece76d Add instructions on how to run the tests 2014-08-26 20:17:22 -04:00
David Cormier
341fa9f616 Add unit test setup files and sample plugin unit test 2014-08-26 20:17:22 -04:00
David Cormier
583f5b0abe Add necessary files for unit tests setup 2014-08-26 20:17:22 -04:00
Lorenz Hübschle-Schneider
9501b9f3d3 Fix history keybindings for keypress
because ASCII != keydown code in JS m(
2014-08-26 12:44:34 +01:00
Lorenz Hübschle-Schneider
64f412e047 Handle keypress events as well
keydown is not enough, because browsers. A (very very very) long
explanation that I read in part is at http://unixpapa.com/js/key.html

E.g. on my keyboard layout (neo2), I don't get a keydown event for alt+<,
which in QWERTY keys is alt + caps lock + u (or the key above shift next to
enter on the right side, which actually isn't present on QWERTY (not ' but to
the right of it - it's not there on a US layout, but it is # on QWERTZ). I do get
a keypress event though.
2014-08-26 12:44:34 +01:00
David Cormier
9e0e3d06ae Merge pull request #419 from glowing-bear/glyphicon
Use "off" glyphicon instead of "remove"
2014-08-25 16:26:17 -04:00
David Cormier
a9f06ee46b Merge pull request #421 from glowing-bear/double-apply
Prevent triggering ng-focus on input during completion
2014-08-25 16:22:21 -04:00
Tor Hveem
5408d77a1b Merge pull request #422 from glowing-bear/update-angular
update angularjs to 1.3 beta 19 to fix bug with quotes around URL
2014-08-25 13:54:29 +02:00
Lorenz Hübschle-Schneider
9c99eefb83 update angularjs to 1.3 beta 19 to fix bug with quotes around URL 2014-08-25 12:40:49 +01:00
Lorenz Hübschle-Schneider
6f1f84aa62 Prevent triggering ng-focus on input during completion
$apply during another $apply is not possible, and .focus() on the input node
triggers the ng-focus on it (which hides the sidebar, if on mobile), so to
prevent the exception from being thrown, move the input node focusing
out of the $apply with a timeout of 0.
2014-08-24 18:13:24 +01:00
Lorenz Hübschle-Schneider
611abdf51a Use "off" glyphicon instead of "remove"
Needs a few fixes to not look disproportionately large next to the cog.
Also remove that sodden trailing space.
2014-08-24 17:14:35 +01:00
David Cormier
1c54f0bba0 Merge pull request #400 from glowing-bear/docs
Potential improvements to our README
2014-08-24 12:11:38 -04:00
Lorenz Hübschle-Schneider
60e6d0b4b4 Potential improvements to our README 2014-08-24 17:03:52 +01:00
Lorenz Hübschle-Schneider
a6e15fb47a Delete bindonce mention from README
Actually stage the change this time m(
2014-08-24 11:38:53 +01:00
Lorenz Hübschle-Schneider
bb069f8135 Delete bindonce file and mention in README 2014-08-24 11:36:21 +01:00