Commit graph

812 commits

Author SHA1 Message Date
David Cormier
b0df74a59e Add glowing bear logo
Replace weechat logo with a bear that glows
2014-02-27 08:47:45 -05:00
David Cormier
d5cbdf2d4a Respect mobile users settings
Do not set the values for "nonicklist" "noembed" and "notimestamp"
regardless of what the mobile user had set. Only change the default
values for the bindings if none has been set.

Fix #147
2014-02-27 08:28:01 -05:00
Tor Hveem
d21267289c Modal for settings instead of dropdown 2014-02-27 08:09:50 -05:00
Tor Hveem
9dfcc06c41 Bump bootstrap 2014-02-27 08:09:50 -05:00
Tor Hveem
5ac710a694 Fixes warnings in console with getelementid in firefox 2014-02-27 08:09:50 -05:00
David Cormier
69292d0088 Merge pull request #192 from torhve/clean-bufferlist
Remove duplicate bufferlist storage. Only use object
2014-02-27 08:08:13 -05:00
David Cormier
9a98f9b951 Merge pull request #193 from Isgar/master
fixed launch path for firefox app
2014-02-26 15:23:10 -05:00
Isgar
9d861cb4c5 fixed launch path for firefox app 2014-02-26 20:53:22 +01:00
Tor Hveem
bebc1c7bce Remove duplicate bufferlist storage. Only use object 2014-02-26 19:39:48 +01:00
David Cormier
22977a0772 Modify manifest point to cormier.github.io
Manifest now points to cormier.github.io
2014-02-26 12:57:38 -05:00
David Cormier
ef8a3ef343 Merge pull request #189 from torhve/optimize-nicklist
Makes buffer switching a little bit faster if you don't use nicklist
2014-02-26 08:16:02 -05:00
David Cormier
71a3f00479 Merge pull request #187 from torhve/master
call the right scope
2014-02-26 08:13:43 -05:00
David Cormier
9ae3ef1c63 Merge pull request #191 from creesch/patch-1
Make manifest.webapp point to cormier.github.io
2014-02-26 08:13:13 -05:00
creesch
f7097bdeb3 manifest.webapp was pointing to the wrong repo 2014-02-26 10:17:48 +01:00
Tor Hveem
3f1984859e Makes buffer switching a little bit faster if you don't use nicklist 2014-02-26 01:36:36 +01:00
David Cormier
1c3115660a Merge pull request #188 from lorenzhs/cleanup
Code cleanup
2014-02-25 16:30:26 -05:00
Lorenz Hübschle-Schneider
0cc693fe7d Move mobile device detection to a function
avoids code duplication
2014-02-25 21:17:29 +00:00
Lorenz Hübschle-Schneider
1664b34cc9 Reorder statements for easier reading 2014-02-25 21:12:36 +00:00
Lorenz Hübschle-Schneider
997fe91d3e Remove redundant line
localStorage triggers this on page load anyway
2014-02-25 21:12:36 +00:00
Lorenz Hübschle-Schneider
3f68a156a4 Move initialisation code to functions 2014-02-25 21:12:36 +00:00
Lorenz Hübschle-Schneider
e301849a73 Remove unused functions and parameters 2014-02-25 21:12:36 +00:00
Lorenz Hübschle-Schneider
330942b111 Remove unused variable 2014-02-25 21:12:36 +00:00
Tor Hveem
d6a64b32b9 call the right scope 2014-02-25 17:33:05 +01:00
David Cormier
67d1e40013 Merge pull request #185 from cormier/fix-input-bar
Fix input bar
2014-02-25 10:01:29 -05:00
David Cormier
c85d22a587 Merge pull request #186 from torhve/container-panel
Set container to panel
2014-02-25 10:00:59 -05:00
Magnus Hauge Bakke
b17a48d446 Set container to panel 2014-02-25 15:18:55 +01:00
David Cormier
4451bff60d Move activeBufferChanged listener to WeechatCtrl
I don't believe that the inputBar directive should know about the
mobile cutoff we have set for GB. We should aim to make it as
reusable as possible
2014-02-25 09:14:08 -05:00
David Cormier
c04b6e64f6 Let user specify the id of the input bar
Input bar id is not globally set, but passed to the directive
through the input-id attribute.
2014-02-25 09:12:52 -05:00
David Cormier
f3f5330aed Merge pull request #178 from cormier/fix-74
Fix nick completion issues
2014-02-24 12:20:05 -05:00
David Cormier
c163e9933f Merge pull request #171 from lorenzhs/fixduplicatenotifications
[WIP?] Fix an issue with notifications being shown when fetching old lines
2014-02-24 10:23:04 -05:00
David Cormier
dcfc2284ea Merge pull request #181 from tribut/notification-nick
Add nick to highlight notification from channels
2014-02-24 10:19:42 -05:00
Felix Eckhofer
c1c2297833 Add nick to highlight notification from channels 2014-02-24 15:41:15 +01:00
David Cormier
24234be451 Merge pull request #180 from tribut/nonmobile-focus
Focus input bar when not on mobile
2014-02-24 09:08:59 -05:00
Felix Eckhofer
18dd4eae1f Replace tabs with spaces 2014-02-24 11:41:25 +01:00
Felix Eckhofer
b3b4651e33 Remove trailing spaces 2014-02-24 11:41:25 +01:00
Felix Eckhofer
7a003f8227 Focus input bar when not on mobile
This improves the UX on desktop while avoiding the virtual keyboard
popping up on touch devices
2014-02-24 11:41:20 +01:00
David Cormier
41bdb90a5e Merge pull request #177 from lorenzhs/mobile
Further improve mobile layout
2014-02-23 11:58:04 -05:00
David Cormier
0578f54584 Merge pull request #179 from tribut/install-notes
Rework installation instructions
2014-02-23 11:36:16 -05:00
Felix Eckhofer
6d0dea1004 Rework installation instructions
- Add note on installation being optional
- Add some instruction how to create app shortcut for Chrome
2014-02-23 17:18:03 +01:00
David Cormier
b5afa48b54 Merge pull request #175 from cormier/asciinema
Implement asciinema plugin
2014-02-23 10:56:52 -05:00
David Cormier
5cd36f0779 Remove unnecessary id
Encapsulating the feature in a angular directive let us avoid
setting global ids for elements.
2014-02-23 10:56:04 -05:00
David Cormier
5f25a96b51 Work with inputNode element directly
Instead of using $scope.command, we work with the inputNode element
directly to have control over the caret position. This let us have
nick completition in the same way as WeeChat.

Fix #74
2014-02-23 10:55:59 -05:00
David Cormier
f141095312 Add method to retrieve inputNode element from directive 2014-02-23 10:48:21 -05:00
David Cormier
fb5a477b73 Implement asciinema plugin
Close #66
2014-02-23 10:04:14 -05:00
Lorenz Hübschle-Schneider
17cc3c9088 Disable swiping on desktop 2014-02-23 14:17:59 +00:00
Lorenz Hübschle-Schneider
5938bbb436 Further improve mobile layout
* Dynamic sidebar width
* Add padding so that entire sidebar is shown when scrolling is needed
  * this also applies to desktop, btw
2014-02-23 13:39:26 +00:00
David Cormier
335e31fa1f Merge pull request #173 from lorenzhs/mobilescroll
Improve mobile behaviour
2014-02-22 22:27:15 -05:00
David Cormier
6b38be4121 Merge pull request #174 from tribut/webapp
Install Firefox Webapp from local checkout
2014-02-22 09:34:32 -05:00
Felix Eckhofer
fa01c0a53f Install Firefox Webapp from local checkout
Ask Firefox to install the currently running copy of glowing bear
instead of the copy from torhve.github.io

This also fixes a bug when glowing bear is not running from a
subdirectory (or one other than /glowing-bear) which would lead to a 404
because of torhve.github.io/original_subdir being loaded instead of
/glowing-bear.

Note that installing to a different subdirectory than /glowing-bear will
lead to the icons not being found due to the fact that all icon paths
inside manifest.webapp have to be absolute.
2014-02-22 13:46:45 +01:00
Lorenz Hübschle-Schneider
40492cf519 Adaptive nicklist width 2014-02-22 11:48:58 +00:00