Commit Graph

477 Commits

Author SHA1 Message Date
Magnus Hauge Bakke
bbb4d259be Use arrow keys to select buffer in buffer search 2016-04-06 09:20:23 +02:00
Lorenz Hübschle-Schneider
b8854a287a Switch math rendering to KaTeX 2016-04-03 15:26:14 +02:00
Rémi Marenco
2c883d65aa Fix a typo issue in index.html
Just a typo issue when having Encryption error ;)
2016-03-10 12:35:57 -05:00
Lorenz Hübschle-Schneider
af7f27df15 Update keyboard shortcuts on landing page
See https://github.com/glowing-bear/glowing-bear/pull/691#issuecomment-191744945
Good idea, @fuzzy76
2016-03-04 10:15:12 +01:00
Lorenz Hübschle-Schneider
fd3e4d440e Fix minification and bump versions to prepare for release 2016-02-27 14:58:47 +01:00
Tor Hveem
2c9e7c7023 Merge pull request #732 from glowing-bear/custom-css
Add support for custom CSS
2016-02-08 20:02:12 +01:00
Lorenz Hübschle-Schneider
f2a9f1f6d8 Merge pull request #742 from torhve/new-emojione
Update emojione to latest
2016-02-03 17:09:49 +01:00
Tor Hveem
756871c35c Update emojione to latest
From 1.5.2 to 2.1.0
2016-02-03 11:47:46 +01:00
Lorenz Hübschle-Schneider
06d7f6dfee Include version information in settings dialog, update version numbers 2016-01-16 15:01:46 +01:00
Lorenz Hübschle-Schneider
d34cf89aaa Add support for custom CSS
Fixes #647
2016-01-10 11:37:27 +01:00
Cameron Kilgore
9e8d94b0f2 #725 Updated wording to include reference to openssl sha256 argument 2016-01-02 21:08:20 -05:00
Lorenz Hübschle-Schneider
407f9111ad Update Angular to 1.4.x series (1.4.8)
Angular now has a .$$watchersCount property, which makes our watcher
counting function unnecessary.

Also add sha384 emojione SRI hash
2015-12-27 19:42:51 +01:00
Lorenz Hübschle-Schneider
688c6f1ee5 Merge pull request #714 from torhve/infscroll
Implement infinite scrolling
2015-12-22 14:25:33 +01:00
Tor Hveem
efa6e39b93 Chrome WebApp now loads manifest 2015-12-20 14:52:13 +01:00
Tor Hveem
df36d56fa7 Implement infinite scrolling
I't not perfect but it's a start.
2015-12-19 19:45:33 +01:00
Tor Hveem
59e0662320 fixes regarding EmojiOne
* Add attribution, EmojiOne requires attribution, see: http://emojione.com/developers
 * Upgrade to newest version
 * Remove mention of old twemoji
2015-12-16 12:34:35 +01:00
Tor Hveem
5494fefbcb use spinner for connect/reconnect/fetchmorelines 2015-12-14 16:02:49 +01:00
Lorenz Hübschle-Schneider
34b25bf80c Add empty hrefs to make browser extensions happy
Fixes #656
2015-11-28 21:08:42 +01:00
Lorenz Hübschle-Schneider
94923fb4bb Disable DNS prefetching
Fixes #674
2015-11-19 19:46:52 +01:00
Magnus Hauge Bakke
f2bb543796 Add support for dropping images on bufferlines and input form 2015-11-07 12:45:05 +01:00
Magnus Hauge Bakke
f2953d1190 Add image upload progressbar and error msg 2015-11-07 12:44:22 +01:00
Magnus Hauge Bakke
f6bfa4161b Add imgur provider 2015-11-07 12:44:21 +01:00
Magnus Hauge Bakke
0d7d8e0cce Add directive for file input change 2015-11-07 12:29:53 +01:00
Lorenz Hübschle-Schneider
b7c281d058 Use Cloudflare CDN for everything, and always use https
they redirect http -> https anyway
2015-11-01 13:28:22 +01:00
Lorenz Hübschle-Schneider
64af0908cf Use subresource integrity to prevent CDN resource tampering
See https://hacks.mozilla.org/2015/09/subresource-integrity-in-firefox-43/
2015-11-01 13:09:48 +01:00
Lorenz Hübschle-Schneider
699a4fd9af Self-host app store badges to reduce number of connections
These are so rarely seen, extra connections on page load are really wasteful there
2015-11-01 12:56:40 +01:00
AppleDash
fafed6a915 Add support for supplying credentials in the URL via the hash. 2015-09-11 09:10:05 +02:00
Lorenz Hübschle-Schneider
cfad82ec3e Properly fix #622 by escaping input into DOM filters 2015-06-08 23:35:18 +02:00
Lorenz Hübschle-Schneider
bdb968d3af More strict escaping
Thanks, @nathan0!

Fixes #622
2015-06-08 22:19:11 +02:00
Daniel Leining
0618a769d5 Add hidden brackets around user nicks 2015-05-10 20:11:29 -04:00
Johan Stenehall
11e2906888 Better ios bookmark title 2015-03-30 11:02:22 +02:00
Johan Stenehall
3ce93122a3 Handle mobile breakpoints correctly 2015-03-29 16:33:31 +02:00
Tor Hveem
9b2a527cb7 Limit prefix parts to at most 25 chars 2015-03-26 14:41:19 +01:00
Lorenz Hübschle-Schneider
41ce296e83 Merge pull request #575 from stenehall/count-in-topbar
Add notification and unread count to topbar
2015-03-25 09:25:20 +01:00
Tor Hveem
10adc201a6 Merge pull request #576 from stenehall/update-topbar
Update topbar
2015-03-25 00:46:54 +01:00
Johan Stenehall
bf706d1483 Add prefix for buffers in topbar 2015-03-25 00:41:31 +01:00
Johan Stenehall
18716387b8 Increase click area for topbar icons 2015-03-25 00:00:07 +01:00
Johan Stenehall
2c61ccf122 Click on channel name in topbar to show topic 2015-03-24 23:29:52 +01:00
Johan Stenehall
2372acf209 Remove topic and add channel name for mobile
* Removing topic from topbar.
* Adding channel name to the topbar.

This is done using visible-lg from bootstrap. As of v3.2.0 it's replaced by visible-lg-block. But that doesn't exist in v3.1.1 that's currently being used by glowing-bear.
2015-03-24 23:29:45 +01:00
Johan Stenehall
5643df2292 Add notification and unread count to topbar
Conflicts:
	css/glowingbear.css
2015-03-24 23:27:29 +01:00
Tor Hveem
32a998c949 Use cdnjs since we already use that 2015-03-23 15:09:02 +01:00
Tor Hveem
99ccd551b6 Enable by default, except on mobile. Convert by default. 2015-03-22 13:11:39 +01:00
Lorenz Hübschle-Schneider
2d3c2c11bb Load theme without angular to reduce flicker
Initialising with dark theme prevents flicker
2015-03-21 12:56:30 +01:00
Lorenz Hübschle-Schneider
be8ab42b7c Make MathJax a setting and load it only if enabled 2015-03-21 12:45:45 +01:00
Lorenz Hübschle-Schneider
5740c647d6 Basic MathJax hackery 2015-03-21 12:45:45 +01:00
Lorenz Hübschle-Schneider
6af6d34a4f Dynamically load twemoji if required 2015-03-21 12:27:20 +01:00
Tor Hveem
7029511029 Style the reconnect banner, clean up apply usage 2015-03-14 21:16:45 +01:00
Lorenz Hübschle-Schneider
97871fb83f Angular.js update 1.3.9 -> 1.3.14
bugfix releases
2015-03-14 21:16:45 +01:00
Lorenz Hübschle-Schneider
86f9ed8bd5 Enable autocomplete on input, disable on search
In essence, this reverts a29905e02c which doesn't make much sense to me
2015-03-14 21:16:45 +01:00
Lorenz Hübschle-Schneider
2523ff80ee Improve app installation instructions
Also fix encryption instructions URL for those who proxy their relay
2015-03-14 21:16:44 +01:00
Lorenz Hübschle-Schneider
de69f820fe Save emojify preference in settings
This fixes a bug where the preference would not be saved
2015-03-14 21:16:44 +01:00
Lorenz Hübschle-Schneider
849da1b5a2 Implement reconnecting upon connection loss
TODO: test in various conditions
2015-02-17 09:42:48 +01:00
Lorenz Hübschle-Schneider
6522cd72d3 Fix Chrome application shortcut
closes #521
2015-02-08 10:42:28 +01:00
Lorenz Hübschle-Schneider
be6e356363 Settings module 2015-02-04 19:56:56 +01:00
David Cormier
a0f85f8589 Merge pull request #536 from glowing-bear/theme-colour
Add theme-color meta tag for Android 5
2015-01-19 09:58:01 -05:00
Lorenz Hübschle-Schneider
4476ff5064 Update dependenices
Angular 1.3.{2→9} has some nice bugfixes and features (esp for linky)
zlib.js was compressed a bit better, I don't think the code changed...
2015-01-18 12:05:21 +01:00
Lorenz Hübschle-Schneider
25ecdb7158 Add theme-color meta tag for Android 5 2015-01-18 11:48:51 +01:00
Anders Bergh
45ff81f7e7 Remove href="#" from the buffer list to prevent the status bar in Chrome. 2015-01-17 17:30:08 +01:00
Tor Hveem
638a4595c7 Merge pull request #530 from glowing-bear/twemoji
Adds emoji support using Twitter's twemoji
2015-01-13 13:58:06 +01:00
Tor Hveem
63c7e10832 Merge pull request #496 from glowing-bear/colourise-title
Parse colours in buffer title
2015-01-13 13:54:52 +01:00
Lorenz Hübschle-Schneider
1068f36a74 Clarify NSFW hiding help text in autoembed setting 2015-01-04 18:45:36 +01:00
Lorenz Hübschle-Schneider
f125c43ccb Adds emoji support using Twitter's twemoji 2015-01-03 18:29:59 +01:00
Lorenz Hübschle-Schneider
1d4caa91cd Parse colours in buffer title
Requires a WeeChat version including 013165209a
i.e., WeeChat 1.1 or a November 2014 nightly (or later)
(for previous versions, see https://github.com/weechat/weechat/issues/237)

Fixes #308
2015-01-03 18:18:20 +01:00
Lorenz Hübschle-Schneider
7f7a32df0c Close the correct tag 2014-11-20 14:09:49 +01:00
Tor Hveem
53325a4cd0 Merge pull request #508 from glowing-bear/fix-non-hash-channels
Fix non-#channels and single-symbol channels (#)
2014-11-20 13:23:37 +01:00
Lorenz Hübschle-Schneider
3bb9094ab4 Clarify unread only setting 2014-11-20 13:04:11 +01:00
Lorenz Hübschle-Schneider
9b7a778186 Fix non-#channels and single-symbol channels (#) 2014-11-20 12:59:33 +01:00
Lorenz Hübschle-Schneider
640eda8682 Update AngularJS 1.3.0 → 1.3.2 2014-11-08 10:30:35 +01:00
Lorenz Hübschle-Schneider
1f601e56c8 Fix linkification target
The target attribute was passed to the wrong filter
2014-11-06 16:31:31 +01:00
Lorenz Hübschle-Schneider
0bc7571217 Fix conflicts between URL/email and irc channel linkification
URL/email links take priority over IRC channel links with this filter order.
2014-11-06 13:55:33 +01:00
Lorenz Hübschle-Schneider
6ac133867c Update encryption instructions
- use TLS instead of SSL
- put a link to my encryption guide for trusted relay
- unify port throughout instructions (9001)
2014-11-03 16:36:37 +01:00
Tor Hveem
84c425cb41 Merge pull request #484 from ailin-nemui/scrolling-poll2
[Please test] some scrolling updates via polling
2014-10-28 01:31:35 +01:00
Tor Hveem
1dc32fd847 Merge pull request #483 from glowing-bear/key-overlays
Show quick access keys on Alt keypress
2014-10-28 01:24:11 +01:00
Lorenz Hübschle-Schneider
d95abdd0df Fix inline colour filter by applying to text nodes only
this requires traversing the line's DOM and manipulating things there
2014-10-27 21:54:38 +01:00
Ailin Nemui
a1f6012fcc index: be extra careful to escape space in order to avoid uncollapsed space with white-space:pre 2014-10-26 21:21:24 +01:00
Ailin Nemui
0b15e2f74f some scrolling updates 2014-10-24 12:26:21 +02:00
Ailin Nemui
9827710736 Support narrowing buffer selection with Alt+0-9 after using Alt+g or when onlyUnread is enabled, and show numeric overlays for Alt+0-9 keys on the buffers 2014-10-20 11:45:56 +02:00
David Cormier
7fa1b7cc9d Create dark theme by extracting theme settings from glowingbear.css
* Remove style.css as those values should be themable as well.
* Update urls in index.html to link to dark theme by default
2014-10-18 14:42:41 -04:00
Lorenz Hübschle-Schneider
4fd5ceadb2 Don't automatically show NSFW content
Fixes #472
2014-10-16 15:50:36 +02:00
Lorenz Hübschle-Schneider
e26827242d Update AngularJS to 1.3.0 2014-10-14 12:37:00 +02:00
Oystein Steimler
b9d95c6ea8 Shows how to set password in SSL help as well 2014-10-09 18:33:00 +02:00
Oystein Steimler
32b23bdc9b Using port from connection settings in SSL help 2014-10-09 18:31:59 +02:00
Lorenz Hübschle-Schneider
e535099390 update angular to 1.3.0-rc3, underscore to 1.7.0, and favico to 0.3.5 2014-09-24 21:16:33 +02:00
Lorenz Hübschle-Schneider
2475ad2c61 Bufferlist design attempt 2014-09-17 13:24:27 +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
89391c0c61 Don't capitalise host name
Fixes #439
2014-09-02 19:06: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
David Cormier
9438c3844f Ask confirmation before closing if user has unsent input 2014-08-31 11:14:56 -04:00
Lorenz Hübschle-Schneider
21f8f47efe Split things up into logical blocks 2014-08-31 15:57:36 +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
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
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
Lorenz Hübschle-Schneider
4cdf86ed14 Remove bindonce for Angular 1.3 One-Time Bindings 2014-08-23 12:26:04 +01:00
Lorenz Hübschle-Schneider
d3b8df8bb0 Don't watch for changes on existing lines
How did we miss this angular 1.3 feature? 
It appears to be a bit similar to bindonce, but also works in ng-repeat!

See https://docs.angularjs.org/guide/expression#one-time-binding
2014-08-23 11:46:05 +01:00
Lorenz Hübschle-Schneider
6fb2d6b364 Merge pull request #411 from torhve/wordbreak
Fix word breaking
2014-08-18 08:48:02 -07:00
Tor Hveem
7baffb15e0 Fix word breaking
Use break-all to force breaking in all browsers.
2014-08-14 15:35:40 +02:00
Lorenz Hübschle-Schneider
e46efba5cf Update angular version from beta 8 to beta 18
ngFocus is broken in beta8
2014-08-13 08:39:56 +01:00
Robert Scullin
e3341f8d37 Fix for iOS status bar not being visible due to black background
Adds a meta tag to have the top status bar in iOS render with white
text rather than black text.
2014-08-02 01:35:17 -04:00
Nick Singer
d03b5b8a07 modified stylesheet and index.html for a better looking connection form 2014-07-31 22:14:22 +02:00
Lorenz Hübschle-Schneider
cd4b5c8abe Display HTML colour codes inline 2014-07-31 14:20:42 +01:00
David Cormier
7c5a396171 Rename 'monospace' class to 'favorite-font' 2014-07-24 21:36:56 -04:00
Lorenz Hübschle-Schneider
7a374740af Fix rendering of settings dialog on mobile 2014-07-23 19:22:23 +01:00
David Cormier
013cc03380 Merge pull request #349 from glowing-bear/dejquery
[PLEASE TEST] Remove dependency on jQuery
2014-07-21 16:18:57 -04:00
Tor Hveem
f95a84a93d Merge pull request #376 from glowing-bear/readline
fix keybindings relying on caretPos
2014-07-21 16:42:13 +02:00
Lorenz Hübschle-Schneider
0984a2f8b4 Make readline/emacs keybindings a setting
Also fix some labels while we're at it
2014-07-21 15:38:28 +01:00
Tor Hveem
065d8a240d New feature: Automatically connect
Check if user saved password, and then offer to automatically connect.
Use a angular watch on the autoconnect and connect as soon as user
selects it.

Check for error messages so it doesn't try to reconnect if there is
errors.
2014-07-20 14:32:53 +02:00
Tor Hveem
99cf794efc Use title tag to explain keybindings 2014-07-20 13:21:39 +02:00
Lorenz Hübschle-Schneider
bc958a3f7b Fix modal so that it reliably works on all plattforms 2014-07-20 11:40:23 +01:00
Tor Hveem
4081b18ed2 Add some emacs keybindings. Fixes #371
Add the most commonly used emacs/readline keybindings to input field and
document them.
Also change the wording on some of the old descritions to clarify
intent.
2014-07-20 12:21:46 +02:00
Tor Hveem
63f30215ed Fix modal closing on mobile
Removing the click handler on the backdrop fixes it, because apparently
the inside listeners stop propagating. We should look for a fix on
backdrop clicking too. And we should also support clicking ESC to close
modal.
2014-07-19 15:05:15 +01:00
Lorenz Hübschle-Schneider
e236d937e2 Simplify usage of modal 2014-07-19 15:05:15 +01:00
Lorenz Hübschle-Schneider
640f3f8228 Remove jQuery and bootstrap js 2014-07-19 15:05:14 +01:00
Lorenz Hübschle-Schneider
7d5bc0f078 Accordion without jQuery / bootstrap js
it's not quite 100% as nice though
2014-07-19 15:05:14 +01:00
Lorenz Hübschle-Schneider
23fb4da05a Implement modal without bootstrap.js and jQuery 2014-07-19 15:05:14 +01:00
Lorenz Hübschle-Schneider
8816fe221e Animate sidebar with CSS transitions 2014-07-18 13:46:01 +01:00
Tor Hveem
f7ef7e95b9 Merge pull request #365 from glowing-bear/defaultsettings
Enable hierarchical server view by default
2014-07-18 14:25:47 +02:00
Lorenz Hübschle-Schneider
2c4a28f559 Enable hierarchical server view by default
Also fix its label

Fixes #331
2014-07-18 12:35:13 +01:00
Lorenz Hübschle-Schneider
fa6f108fe5 Make debug mode a parameter, not a setting 2014-07-18 12:17:19 +01:00
Lorenz Hübschle-Schneider
fcfd9fce91 Make it pretty 2014-07-17 15:06:39 +02:00
Tor Hveem
6a3b4a1506 new option for overriding font size 2014-07-17 15:06:39 +02:00
Tor Hveem
cdcdcb096b User configurable font choice. Fixes #351 2014-07-17 15:06:38 +02:00
David Cormier
77ffbb2f22 Merge pull request #356 from torhve/swipefixes
Disable nicklist swipe
2014-07-16 17:04:58 -04:00
Tor Hveem
7f76ed69dd Disable nicklist swipe
Behaviour was pretty unintuive with the previous way. This should be a
little more consistant
2014-07-16 19:47:57 +02:00
Tor Hveem
59040785aa Clarify option. 2014-07-16 19:44:42 +02:00
Lorenz Hübschle-Schneider
a2cc3558c3 Remove ngAnimate for the moment, we're not even using it
It does have a very significant performance impact, in my
measurements, buffer switching is 30% faster without it!
2014-07-07 18:54:56 +01:00
David Cormier
528237071f Merge pull request #343 from glowing-bear/defaultport
Fix default port
2014-07-02 08:55:44 -04:00
Kramer Campbell
b21662da3c Remove duplicate source of truth with buffers. 2014-07-01 15:07:34 -07:00
Lorenz Hübschle-Schneider
9379a53543 Set placeholder text to "Port" instead so it is clear what is needed here 2014-06-30 20:25:10 +01:00
Lorenz Hübschle-Schneider
f5855e0712 Revert "Set port variable instead of placeholder"
This reverts commit 6b4d2fddbb.

...because it didn't work. I just got an empty box and the variable wasn't set
2014-06-30 20:24:50 +01:00
David Cormier
8bdfd68438 Merge pull request #336 from glowing-bear/title-alt-text
Add buffer title to alt text
2014-06-23 14:56:47 -04:00
Kramer Campbell
9aa6a374cd Add option to show seconds in timestamps. 2014-06-23 09:34:27 -07:00
Lorenz Hübschle-Schneider
04c8ef45ec Add buffer title to alt text
Fixes #333
2014-06-23 17:09:38 +01:00
David Cormier
6b4d2fddbb Set port variable instead of placeholder
Suggesting a port in the placeholder can be confusing, as it may
lead people to believe that this value will be sent to the server
while in fact it will not be.

Fix #324
2014-06-16 22:53:39 -04:00
Lorenz Hübschle-Schneider
f374bebc4e Turn notimestamp into a positive setting (showtimestamp) 2014-06-07 19:52:22 +01:00
Lorenz Hübschle-Schneider
f69a1ce3c4 Fix scrolling on landing page (mobile) 2014-06-07 19:52:22 +01:00
Lorenz Hübschle-Schneider
92e7670637 Use our name in the title 2014-05-19 13:37:48 +01:00
Lorenz Hübschle-Schneider
e7eeac1be7 Use minified libraries
How did that happen? :O
2014-05-18 21:03:06 +01:00
Lorenz Hübschle-Schneider
7b6c1df954 Update angular to 1.3.0-beta.8
Fixes multibyte utf-8 issue
2014-05-12 13:43:04 +01:00
David Cormier
b7c508dc14 Merge pull request #300 from glowing-bear/indentation
Fix broken indentation and closing tags
2014-05-09 15:44:42 -04:00
Lorenz Hübschle-Schneider
f5223cc602 Fix broken indentation and closing tags
There were extraneous </div>s around, ugh
2014-05-09 17:49:07 +01:00
Lorenz Hübschle-Schneider
afc3aa169f Reduce number of watchers for buffer list
One watcher for each buffer
One additional watcher for each buffer without activity
2014-05-09 16:46:46 +01:00
Lorenz Hübschle-Schneider
78056fd994 Remove unnecessary DOM element for plugin 2014-05-09 16:29:07 +01:00
Lorenz Hübschle-Schneider
bf4488a60a remove nonexistent clickhandler nickAction 2014-05-09 16:16:33 +01:00
Lorenz Hübschle-Schneider
703953a0f6 Rename highlightNick to addMention
...because that's what it does
2014-05-09 09:13:46 +01:00
Lorenz Hübschle-Schneider
91bca211ee Merge pull request #290 from torhve/sslerror
Better user feedback for connection problems
2014-05-07 18:20:08 +01:00
Tor Hveem
fbfeec8fca Change the connect button text based on connection status 2014-05-06 22:00:02 +02:00
Tor Hveem
d2f11ad89d Catch DOMException 2014-05-06 22:00:02 +02:00
Lorenz Hübschle-Schneider
b766b41ed4 Improve encryption instructions 2014-05-04 19:07:08 +01:00
Tor Hveem
dc077ac903 Improve CSS layout. Fix 98% bug that affects chrome/ff differently.
Conflicts:
	css/glowingbear.css
2014-04-29 21:31:49 -04:00