Lorenz Hübschle-Schneider
79ebead64f
Disable debug data in Angular unless debug mode is enabled
...
Performaaance!
11 years ago
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
11 years ago
Ailin Nemui
85ef764faf
make pageup key trigger fetch more lines
11 years ago
Ailin Nemui
4e2a5dbe88
fix $apply exception on showSidebar
11 years ago
Ailin Nemui
0b15e2f74f
some scrolling updates
11 years ago
Lorenz Hübschle-Schneider
80b0d2ca6a
Quick keys disappear only after releasing alt key
...
Other changes:
- 0.2s delay so they don't appear when pressing Alt+A etc
- don't appear when other modifier keys are pressed
11 years ago
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
11 years ago
David Cormier
bda4e1af3e
light-theme: darken most colors by 50% and add it to theme manager
11 years ago
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
11 years ago
Lorenz Hübschle-Schneider
66b48d83fb
Fix clicking the bear on mobile
...
closes #469
11 years ago
Lorenz Hübschle-Schneider
4fd5ceadb2
Don't automatically show NSFW content
...
Fixes #472
11 years ago
Kenneth Chung
fdc598c00f
fix a typo and some grammar mistakes
11 years ago
Lorenz Hübschle-Schneider
bc037720bd
Fix plugin selectors after angular upgrade
...
The recent angular update changed the format of the hash keys.
They're now in the format 'object:123' (etc), which isn't a valid
CSS class name any more, but we used the $$hashKey as such.
I used this opportunity to introduce a bit of abstraction there as well
11 years ago
Lorenz Hübschle-Schneider
68adfb6cc2
Hotfix irclinky filter: only #channels
...
&channels match HTML-escaped special chars like " m(
11 years ago
Lorenz Hübschle-Schneider
de6ea98c72
Rerun async plugins after buffer switch
...
TODO: cache result. This is necessary at the moment because currently,
they just stop working after a buffer switch
11 years ago
Lorenz Hübschle-Schneider
565ee16990
Fix linkification of IRC channels
...
Closes #451
11 years ago
Ailin Nemui
081c141760
apply-exception in inputbar/bufferFilter.focus
11 years ago
Lorenz Hübschle-Schneider
2475ad2c61
Bufferlist design attempt
11 years ago
Ailin Nemui
5e9fd27c89
embedded content: check if scrollIntoViewIfNeeded vendor method is available
11 years ago
Lorenz Hübschle-Schneider
121c165a39
Scroll to correct position when fetching more lines
...
Fixes #406
11 years ago
Lorenz Hübschle-Schneider
c6e1bca78d
Keep core buffer visible with 'only show unread'
11 years ago
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.
11 years ago
Ailin Nemui
a63150e697
add pgup/pgdn keys and fix history in multiline edits
11 years ago
Ailin Nemui
156640c3ba
Properly Show and hide the sidebar on mobile layout when using Alt+g
11 years ago
Lorenz Hübschle-Schneider
c501215bae
Re-enable "fetch more lines" after trimming lines on buffer switch
...
Fixes #404
11 years ago
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)
11 years ago
David Cormier
9438c3844f
Ask confirmation before closing if user has unsent input
11 years ago
David Cormier
24f63be25c
When closing the window, disconnect instead of asking the user to do it
11 years ago
Lorenz Hübschle-Schneider
21f8f47efe
Split things up into logical blocks
11 years ago
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
11 years ago
Lorenz Hübschle-Schneider
226068152f
Hotfix strict injection to undo terrible breakage
11 years ago
Lorenz Hübschle-Schneider
69e1e1907d
Use strict angular dependency injection
...
Prerequisite for proper minification
11 years ago
Lorenz Hübschle-Schneider
9501b9f3d3
Fix history keybindings for keypress
...
because ASCII != keydown code in JS m(
11 years ago
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.
11 years ago
Lorenz Hübschle-Schneider
4cdf86ed14
Remove bindonce for Angular 1.3 One-Time Bindings
11 years ago
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)
11 years ago
Lorenz Hübschle-Schneider
b939bc7ca8
Check GET parameters in image embedding
...
This is a great candidate for the tests!
11 years ago
Lorenz Hübschle-Schneider
1235a5e148
Embed Dropbox images
...
We need to pass a parameter, "?dl=1", to get the actual file
11 years ago
Lorenz Hübschle-Schneider
ae5f0effcf
Auto-close keyboard when opening sidebar (bufferlist)
...
This is for mobile
11 years ago
Lorenz Hübschle-Schneider
f7aa7a0871
Hide sidebar when focusing input bar
...
This is for mobile
11 years ago
Lorenz Hübschle-Schneider
7d13f49dab
Add tweet embedding plugin
11 years ago
Lorenz Hübschle-Schneider
6d988069c7
Add asynchronous GitHub Gist embedding plugin
...
requires a few selectors to be more precise in our CSS
11 years ago
Lorenz Hübschle-Schneider
3d719f3671
Simplify plugins that detect URLs by eliminating redundancy
11 years ago
Lorenz Hübschle-Schneider
703fcb1668
Add support for asynchronous / lazy plugins
...
Fixes #253
11 years ago
Lorenz Hübschle-Schneider
0de5511544
Default to using SSL if the page is using it as well
11 years ago
Lorenz Hübschle-Schneider
cd4b5c8abe
Display HTML colour codes inline
11 years ago
Lorenz Hübschle-Schneider
57ce4e252a
Fix an exception when pressing up-arrow in a buffer without history
11 years ago
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
11 years ago
Lorenz Hübschle-Schneider
ccf7b1c51e
Adapt common plugins to make use of multiple embeds per message
11 years ago
Lorenz Hübschle-Schneider
e962472414
Fix Google maps regex
11 years ago