Commit graph

1030 commits

Author SHA1 Message Date
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
David Cormier
26a5a03435 Merge pull request #418 from glowing-bear/kill-the-watchers
[PLS TEST] Don't watch for changes on existing lines, s/bindonce/angular one-time binding/
2014-08-23 18:18:24 -04:00
David Cormier
da49f2e66b Merge pull request #414 from glowing-bear/plugin-fixes
Image plugin fixes
2014-08-23 15:31:16 -04: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
2cb6b05498 Wrap inlinecolour filter in $sce.trustAsHtml
This is required because bo-html is unsafe whereas ng-bind-html requires
"safe" HTML (ng-bind-html-unsafe is deprecated since 1.2)
2014-08-23 12:25:26 +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
Lorenz Hübschle-Schneider
b939bc7ca8 Check GET parameters in image embedding
This is a great candidate for the tests!
2014-08-18 16:41:30 +01:00
Lorenz Hübschle-Schneider
1235a5e148 Embed Dropbox images
We need to pass a parameter, "?dl=1", to get the actual file
2014-08-18 16:37:45 +01:00
Tor Hveem
08847883dd Merge pull request #409 from glowing-bear/hide-sidebar-onfocus
Sidebar focus fixes
2014-08-15 12:43:11 +02: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
ae5f0effcf Auto-close keyboard when opening sidebar (bufferlist)
This is for mobile
2014-08-13 09:22:41 +01: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
Lorenz Hübschle-Schneider
f7aa7a0871 Hide sidebar when focusing input bar
This is for mobile
2014-08-13 08:39:32 +01:00
Tor Hveem
09f94d360e Merge pull request #398 from glowing-bear/async-plugins
Plugin system improvements, Gist & Tweet plugins
2014-08-09 15:31:59 +02:00
Lorenz Hübschle-Schneider
7d13f49dab Add tweet embedding plugin 2014-08-09 14:18:13 +01:00
Lorenz Hübschle-Schneider
6d988069c7 Add asynchronous GitHub Gist embedding plugin
requires a few selectors to be more precise in our CSS
2014-08-09 14:18:13 +01:00
Lorenz Hübschle-Schneider
3d719f3671 Simplify plugins that detect URLs by eliminating redundancy 2014-08-09 14:18:13 +01:00
Lorenz Hübschle-Schneider
703fcb1668 Add support for asynchronous / lazy plugins
Fixes #253
2014-08-09 14:18:13 +01:00
Tor Hveem
7ad1974d12 Merge pull request #396 from glowing-bear/default-ssl
Default to using SSL if the page is using it as well
2014-08-09 15:13:52 +02:00
Tor Hveem
21cf46d74a Merge pull request #397 from glowing-bear/accordion-indicators
Add indicators to the accordion so people will notice it's actually there
2014-08-09 15:13:06 +02:00
Lorenz Hübschle-Schneider
6f5047fb68 Add indicators to the accordion so people will notice it's actually there 2014-08-07 18:41:18 +01:00
Lorenz Hübschle-Schneider
0de5511544 Default to using SSL if the page is using it as well 2014-08-07 18:02:39 +01:00
David Cormier
f114adc5f0 Bump project version to 0.4.0 2014-08-02 10:27:15 -04:00
Lorenz Hübschle-Schneider
6ab31b5a74 Merge pull request #394 from rscullin/master
Fix for iOS status bar not being visible due to black background
2014-08-02 07:16:03 +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
David Cormier
12a8726407 Merge pull request #382 from glowing-bear/fixautoconnect
Prevent autoconnect from connecting twice
2014-08-01 15:57:24 -04:00
David Cormier
9c59114e00 Merge pull request #392 from Sqozz/improve-connection-form
Put the port input sideways the host input.
2014-08-01 15:39:15 -04:00
Nick Singer
d03b5b8a07 modified stylesheet and index.html for a better looking connection form 2014-07-31 22:14:22 +02:00
David Cormier
770616cf93 Merge pull request #389 from glowing-bear/fix-history-exception
Fix an exception when pressing up-arrow in a buffer without history
2014-07-31 09:26:12 -04:00
David Cormier
ace63454a7 Merge pull request #390 from glowing-bear/inlinecolours
Display HTML colour codes inline
2014-07-31 09:25:44 -04:00
Lorenz Hübschle-Schneider
cd4b5c8abe Display HTML colour codes inline 2014-07-31 14:20:42 +01:00
Lorenz Hübschle-Schneider
57ce4e252a Fix an exception when pressing up-arrow in a buffer without history 2014-07-31 14:10:18 +01:00
Lorenz Hübschle-Schneider
cbcae58760 Fix typo in README.md
Remember to use pull requests for every trivial edit in the future
2014-07-29 15:32:32 +01:00
Lorenz Hübschle-Schneider
38df097b49 Use our domain in the readme 2014-07-29 15:30:28 +01:00
Lorenz Hübschle-Schneider
88424279c7 Prevent autoconnect from connecting twice
once from the watcher, once from the autoconnect call.
-> remove the autoconnect call, it is not needed
2014-07-28 10:02:43 +01:00
David Cormier
fcc4d8a888 Merge pull request #387 from glowing-bear/multipleembeds
Allow multiple embeds per plugin and line
2014-07-27 10:55:32 -04:00
Lorenz Hübschle-Schneider
ccf7b1c51e Adapt common plugins to make use of multiple embeds per message 2014-07-27 12:55:25 +01:00
Lorenz Hübschle-Schneider
e962472414 Fix Google maps regex 2014-07-27 12:55:25 +01:00
Lorenz Hübschle-Schneider
ac31901d7d Allow plugins to return an array of results and display each of them
Also fix the URL regex to match multiple URLs ('g' modifier)
2014-07-27 12:55:22 +01:00
Lorenz Hübschle-Schneider
9090f50c5d Merge pull request #386 from glowing-bear/fix-default-embed
Fix default settings for embedding values
2014-07-26 14:44:47 +01:00
David Cormier
04efb16424 Rename rootScope.visible -> rootScope.auto_display_embedded_content
More verbose but more descriptive
2014-07-26 09:38:24 -04:00
David Cormier
ceb31c1947 contentForMessage doesn't have to care about content visibility 2014-07-26 09:38:24 -04:00
David Cormier
d2a30c1d13 Plugin visibility defaults to value of rootScope.visible
And plugin content is shown if it has to be visible
2014-07-26 09:38:24 -04:00
Lorenz Hübschle-Schneider
dc1ce08800 Merge pull request #384 from glowing-bear/default-font
Make sure that a favourite font is always set when using Glowing Bear.
2014-07-26 13:44:38 +01:00
David Cormier
7ee237cf3a Merge pull request #381 from glowing-bear/fix-esc
Properly iterate over modals in ESC key handler
2014-07-25 16:52:09 -04:00
David Cormier
01a1d79a54 Remove font definition from css file
The font for the .favorite-font class is now set programmatically
2014-07-25 09:43:07 -04:00
David Cormier
9b55244f13 Set and bind font-family if unset
Default for desktop is monospace and default for mobile
is sans-serif
2014-07-25 09:43:03 -04:00