Commit graph

1288 commits

Author SHA1 Message Date
Tor Hveem
376c006398 Merge pull request #448 from glowing-bear/fix-scrolling-fetchMoreLines
Scroll to correct position when fetching more lines
2014-09-17 11:48:35 +02:00
Lorenz Hübschle-Schneider
ddbb3a4e21 Merge pull request #455 from ailin-nemui/ifneeded-conditional
embedded content: check if scrollIntoViewIfNeeded vendor method is available
2014-09-15 16:40:28 +01:00
Ailin Nemui
5e9fd27c89 embedded content: check if scrollIntoViewIfNeeded vendor method is available 2014-09-15 17:35:17 +02:00
Lorenz Hübschle-Schneider
121c165a39 Scroll to correct position when fetching more lines
Fixes #406
2014-09-13 18:25:12 +01:00
Tor Hveem
2163b930f6 Merge pull request #447 from glowing-bear/unread-only-show-core
Keep core buffer visible with 'only show unread'
2014-09-13 18:42:06 +02:00
Lorenz Hübschle-Schneider
c6e1bca78d Keep core buffer visible with 'only show unread' 2014-09-13 17:39:29 +01:00
Lorenz Hübschle-Schneider
a80db339f8 Use strict
Requires turning IrcUtils into an Angular service, because the global variable
trick won't work with use strict.
Reuse is still easily possible by removing the angular wrapping around it.
2014-09-07 16:55:18 +01:00
David Cormier
8758cad336 Merge pull request #442 from glowing-bear/fix-line-fetching-after-switch
Re-enable "fetch more lines" after trimming lines on buffer switch
2014-09-05 16:45:11 -04:00
Ailin Nemui
a63150e697 add pgup/pgdn keys and fix history in multiline edits 2014-09-05 18:18:05 +02:00
Tor Hveem
ec81bbafb3 Merge pull request #446 from ailin-nemui/show-sidebar
Properly Show and hide the sidebar on mobile layout when using Alt+g
2014-09-05 18:17:03 +02:00
Ailin Nemui
156640c3ba Properly Show and hide the sidebar on mobile layout when using Alt+g 2014-09-05 18:10:12 +02:00
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