Tor Hveem
31ba8db33d
Fix problem with saving of sound notify
10 years ago
Tor Hveem
c9dbdc39e4
fetch weechat configuration variables
...
Usage: fetchConfValue('weechat.look.buffer_time_format')
will result in models.wconfig['weechat.look.buffer_time_format'] to be
set when the result returns from WeeChat.
Could maybe be extended to also call a callback when it's available if
needed.
10 years ago
Tor Hveem
e1102522ac
weechat.js: implement infolist
10 years ago
Patrick Melanson
86f6a37702
semicolons :'( :'( :'( fixes failing build
10 years ago
Patrick Melanson
e3f2a160b9
#700 increment buffer.lastSeen on date change message
10 years ago
Tor Hveem
68a766af0a
Fix for password error
...
The old error handler wasn't really working for unknown reasons, but
this seems to fix it.
10 years ago
Tor Hveem
5494fefbcb
use spinner for connect/reconnect/fetchmorelines
10 years ago
Lorenz Hübschle-Schneider
ceceac78a2
Use buffer localvars instead of regex hackery
...
Fixes #589
10 years ago
Mukunda Modell
3b60f992b4
Switch to adjacent buffer with alt+arrow
...
Use alt+up and alt+down to switch to previous / next buffer.
Works when bufferlist is nested or flat.
This implements issue #511 .
10 years ago
Hannu Hartikainen
b0f4ee4413
fix #688 and provide a unit test
10 years ago
Lorenz Hübschle-Schneider
a631a913c7
Fix initialisation of global unread count
...
Fixes #595
10 years ago
Lorenz Hübschle-Schneider
507a39f68f
Don't show date change message for free buffers
...
This requires requesting the buffer type and handling the
apropriate event
10 years ago
Lorenz Hübschle-Schneider
735798831f
Date change marker: Don't modify last line's date
10 years ago
Hannu Hartikainen
d1176a5b2b
disallow nested links in DOMfilter ( fixes #680 )
10 years ago
Lorenz Hübschle-Schneider
da7a7f85e8
Date change: refactoring
10 years ago
Tor Hveem
4f686d512d
Request nicklist using ptr instead of fullname
10 years ago
Patrick Melanson
9334f44cde
more human readable date change, per #679
...
For one day later: Friday (November 27) (examples in en-US)
For n>1 days: Friday (November 27, 2 days later)
For n<0 days: Friday (November 27, 1 day before)
For different years: Friday (November 27, 2015, 2156 days later)
10 years ago
Patrick Melanson
271a5d0626
when switching buffers, will inject date change if date changed
10 years ago
Lorenz Hübschle-Schneider
5dc40cb134
Date change: prettier messages, code cleaning
...
Has a weird bug:
https://github.com/glowing-bear/glowing-bear/pull/677#issuecomment-158891237
10 years ago
Patrick Melanson
9955056ed9
dates change with weechat 2date behaviour
10 years ago
Patrick Melanson
0a1726e359
date change messages are chat_day_change color, multiple messages generated for diff of 1-5 days
10 years ago
Lorenz Hübschle-Schneider
b883a52b09
Date change message prototype
10 years ago
hormigas
b5594d5754
adding imgur gifv support to the videoPlugin
10 years ago
pmelanson
643278478f
IPv6 address literals won't be surrounded by [ ... ] if it's already there
10 years ago
Lorenz Hübschle-Schneider
a6c2e6f387
Insert URL at caret when dropping image into GB
...
unfortunately this pollutes the root scope a bit more
10 years ago
Magnus Hauge Bakke
3f661ded6c
Support sending multiple images
10 years ago
Magnus Hauge Bakke
f2bb543796
Add support for dropping images on bufferlines and input form
10 years ago
Lorenz Hübschle-Schneider
3b4f91249f
Convert indention to spaces
10 years ago
Magnus Hauge Bakke
f2953d1190
Add image upload progressbar and error msg
10 years ago
Lorenz Hübschle-Schneider
960d5ba17a
Insert image URL into input bar
10 years ago
Magnus Hauge Bakke
aef26a2dc5
Add file input with button and send file to imgur
10 years ago
Magnus Hauge Bakke
f6bfa4161b
Add imgur provider
10 years ago
Magnus Hauge Bakke
0d7d8e0cce
Add directive for file input change
10 years ago
Tor Hveem
a02573a9c2
Construct plugin elements async. Fixes #660
...
This commit changes the plugins that uses angular.element to load
resources directly to instead return a function that runs
angular.element. When the browser runs angular.element('<img>') and gets
a src attr it will fetch the content in the src. This makes the
browser running gb automatically fetch all plugin content that gets
linked even if the user didn't request it.
Maybe we could change our plugin architecture to split the match
function and the generator functions so this could be solved more
elegantly.
10 years ago
Alex Schneider
1d628ed849
Remove comments that we don't really need
10 years ago
Alex Schneider
6dcb579de4
Fix sanitization by constructing elements in Javascript.
...
This is still technically a hack, the elements should really be defined in a view with templates, but it fixes the issue with sanitize where it can't sanitize if it can't parse HTML.
10 years ago
David Cormier
0afa7bc184
plugins: sanitize user input before passing it to plugins
10 years ago
Colin Arnott
2f8ab9dbf3
roll back tls upgrade for giphy plugin link, as it conflicts with printed link
10 years ago
Colin Arnott
875001f1b2
simplify regex matching and increase readability of the giphy plugin and have plugin link to original userfacing url, not cdn image file
10 years ago
Colin Arnott
03a6e391f6
added plugin support for giphy gifs as embedded content and created testcases
10 years ago
Tor Hveem
1f37f848fc
fix another version check
10 years ago
AppleDash
fafed6a915
Add support for supplying credentials in the URL via the hash.
10 years ago
Lorenz Hübschle-Schneider
6ca1deb66d
Always show server buffers in hierarchical view
...
Show them even if 'Only show buffers with unread messages' is set
10 years ago
Angus Gibson
117d9991ec
Handle hidden weechat buffers
...
This adds a new 'hidden' field to the Buffer model, which stays in sync
with weechat's notion of hidden buffers.
10 years ago
Chris Moeller
c7a5d8decf
Added a check for DOM 3 getModifierState before attempting to use it, as some browsers may not have implemented that spec yet (Like stable Safari)
10 years ago
Tor Hveem
e096284502
Check modifier state and don't trigger on any altgr event
10 years ago
Peter Elmers
febbb3ffdb
Re-implement click to join functionality.
...
Clicking channel names to join broke because of angular issue 9515.
Reimplement the functionality by binding the scope.openBuffer method to
the window and calling it from an onclick handler for channel name
anchors.
10 years ago
Tor Hveem
1f89a0ef0b
Use new version check
10 years ago
Lorenz Hübschle-Schneider
2626b5e936
openBuffer: send /join and /query with -noswitch parameter
...
this functionality is currently broken (#618 ) but this is a good idea nonetheless
10 years ago
Lorenz Hübschle-Schneider
8c965e0b90
Store WeeChat version is an array of numbers
10 years ago