David Cormier
e457e96cd6
plugins: define plugins as Plugin objects
12 years ago
David Cormier
cc2eda7057
plugins: create PluginManager service
12 years ago
David Cormier
1fd6e1b0b6
plugins: Create a plugins service with a Plugin definition
12 years ago
David Cormier
7db8e31a7f
plugins: Move plugins to external module
12 years ago
Sébastien Bourdelin
e3ef67d617
model.js: fix an error when parsing null string
...
Avoiding error when accessing a null string in map.
12 years ago
David Cormier
c4697feede
Put class definitions on top
12 years ago
David Cormier
b1d7655776
Add documentation, remove spurious methods and junk
12 years ago
David Cormier
019f1ce585
Support close buffer
12 years ago
David Cormier
1404c04590
Support BufferOpened
12 years ago
David Cormier
02c57fef6d
Remove isActiveBuffer function
12 years ago
David Cormier
c0f22c4ec8
Add notification support
12 years ago
David Cormier
236a82ec4e
Support text input
12 years ago
David Cormier
553f40e220
Add Buffer model
12 years ago
David Cormier
ebecc5faae
Move BufferLine to models
12 years ago
David Cormier
c538d759b8
Add model module
12 years ago
Philippe Proulx
d332635a4e
Fix message time display
12 years ago
Philippe Proulx
8a07be5aef
weechat-protocol.js: factor common commands formatting code
12 years ago
Philippe Proulx
7780a66264
weechat-protocol.js: file header: mention command formatting
12 years ago
Philippe Proulx
e8ae26d50e
Strip trailing slashes
12 years ago
Philippe Proulx
4f07d6048f
weechat-protocol.js: add comments to formatting functions
12 years ago
Philippe Proulx
257b4f01cf
weechat-protocol.js: add command formatting helper functions
12 years ago
Philippe Proulx
bd4bfe0cb3
weechat-protocol.js: fix hash table parsing
12 years ago
Philippe Proulx
187f22036b
weechat-protocol.js: stricter slicing and type checking
12 years ago
Philippe Proulx
f05fb72aaa
weechat-protocol.js: comment object and methods
12 years ago
Philippe Proulx
74192c3df4
weechat-protocol.js: implement hash table parsing
12 years ago
Philippe Proulx
de163d6bc9
weechat-protocol.js: add time parsing and factor "number as string" code
12 years ago
Philippe Proulx
fef3e7542a
weechat-protocol.js: move getSlice()
12 years ago
Philippe Proulx
0c02cae6a9
weechat-protocol.js: clean _uia2s()
12 years ago
Philippe Proulx
df7d21f63f
weechat-protocol.js: use pointer instead of slicing
...
I don't know if this changes anything to performance, but my instinct
tells me that it's better to update a pointer within a big array to get
slices than creating a new slice each time.
Perhaps the JS engine is clever enough to not create a copy each time
and only update its internal references of the array bounds, but just
in case...
12 years ago
Philippe Proulx
c12f56c614
weechat-protocol.js: uniformize code
12 years ago
Philippe Proulx
7011f8f6b9
weechat-protocol.js: put similar methods nearby
12 years ago
Philippe Proulx
f2b44a4e6b
weechat-protocol.js: prepend _ to private methods names
12 years ago
Philippe Proulx
5a14c1a412
weechat-protocol.js: uiatos -> uia2s
12 years ago
Philippe Proulx
3a9ccc4098
weechat-protocol.js: refactor with prototype
12 years ago
Philippe Proulx
9bdcb814ab
weechat-protocol.js: clean code (indentation/trailing spaces)
12 years ago
Philippe Proulx
a7f3412b5d
protocol.js -> weechat-protocol.js
...
This makes it more clear that this script's code parses the WeeChat
protocol specifically.
12 years ago
David Cormier
07d09e9aa6
Show timestamp before message
12 years ago
David Cormier
8adbcc1176
Add BufferLine model
12 years ago
Tor Hveem
6949f919a1
Save the connection paramaters into localStorage
...
using a simple angular module for localstorage
Note: it also saves the password into localStorage, this
should be further improved to present a simple checkbox to the user
asking if they want to save the password or not
12 years ago
David Cormier
d468d1f0d6
Put the initialization in one string
...
Fixes #5 , thanks to @torhve
12 years ago
David Cormier
345dc70f7a
Support weechat colors
12 years ago
David Cormier
b409bd5e37
Set the background black
12 years ago
Tristan Matthews
1a66d18537
js: allow plugins to declare themselves as exclusive handlers
12 years ago
Tristan Matthews
5168b833cb
urlplugin: fix regex
12 years ago
David Cormier
ab490074d3
Add connection error message
...
fixes #3
12 years ago
Vivien Didelot
862e44ab57
js: add image plugin
12 years ago
David Cormier
4743d3d15a
Handle _buffer_closed event
12 years ago
David Cormier
38a960788c
Take bootstrap from the CDN
12 years ago
Tristan Matthews
90c874dbde
js: added url plugin
12 years ago
David Cormier
951abf878b
Always have an activeBuffer
12 years ago