JC Brand
|
ba09996998
|
Don't allow PEP bookmarks if #publish-options is not advertised
|
2018-02-08 09:49:05 +01:00 |
|
JC Brand
|
fbef370b65
|
Listen for new room bookmarks pushed from the user's PEP service
|
2018-02-07 21:59:45 +01:00 |
|
JC Brand
|
5f3761dc7f
|
Only initialize bookmarks and show icon if PEP is supported
which we check by checking if the PEP identity is provided.
https://xmpp.org/extensions/xep-0163.html#support
|
2018-02-07 21:05:38 +01:00 |
|
JC Brand
|
a1767ffecd
|
Make sure rooms and bookmarks lists are recreated and shown after reconnect
|
2018-01-15 22:03:31 +01:00 |
|
JC Brand
|
8d999b2802
|
Explicit plugin dependencies. Make hide_open_bookmarks false by default
|
2018-01-10 13:26:50 +00:00 |
|
JC Brand
|
c22aff9b13
|
Use newest pluggable.js.
`optional_dependencies` is now called `dependencies`
|
2018-01-10 13:13:26 +00:00 |
|
JC Brand
|
96742a6684
|
Also make the open rooms list an OrderedListView
|
2018-01-06 20:42:46 +00:00 |
|
JC Brand
|
a91e9216e6
|
No need to manually remove. Gets done in the OrderedListView
|
2018-01-06 20:42:46 +00:00 |
|
JC Brand
|
fc631e7f8c
|
Minor refactoring
|
2018-01-06 19:02:50 +00:00 |
|
JC Brand
|
5ea1b07b6b
|
Use an OrderedListView to render the bookmarks list
|
2018-01-04 21:51:42 +00:00 |
|
JC Brand
|
671691353a
|
Use Backbone.NativeView instead of Backbone.View
|
2018-01-03 20:41:03 +00:00 |
|
JC Brand
|
a6d4419c04
|
Remove jQuery from converse-bookmarks
|
2017-12-23 20:56:20 +00:00 |
|
JC Brand
|
21241c5cff
|
Fixes #967. Rooms list not shown when server doesn't support bookmarks
|
2017-12-19 16:32:23 +00:00 |
|
JC Brand
|
bc81a3d680
|
Specify dependencies, so that their initialize methods get called first
|
2017-12-17 15:01:45 +00:00 |
|
JC Brand
|
fbc81d30ec
|
Add and document bring_to_foreground option to rooms API
|
2017-12-15 20:51:07 +00:00 |
|
JC Brand
|
85bea60066
|
Some of refactoring to avoid code duplication and jQuery
|
2017-12-06 16:26:53 +01:00 |
|
JC Brand
|
87213bf90a
|
Rename getPromiseWrapper to getResolveablePromise
Let a promise be returned instead of a wrapper, but glue the `resolve`
and `reject` methods onto it
|
2017-11-10 21:37:35 +01:00 |
|
JC Brand
|
0acaaeb2a0
|
Log as warning instead of error
|
2017-10-31 18:06:39 +01:00 |
|
JC Brand
|
f0debc61ab
|
Refactor i18n so that only relevant translations are fetched
instead of bundling all translations in the dist file.
|
2017-09-25 12:49:10 +02:00 |
|
JC Brand
|
158acbf1d7
|
Fixes #828 Add routing for login and register URL fragments
|
2017-09-24 00:30:43 +02:00 |
|
JC Brand
|
6c3aa34c23
|
Some work on removing jquery from converse-bookmarks
|
2017-08-15 21:47:06 +02:00 |
|
JC Brand
|
38f8724dd9
|
roomslist: Add ability to add or remove bookmarks
|
2017-08-09 15:50:24 +02:00 |
|
JC Brand
|
6af029048d
|
Replace $.Deferred with ES2015 promises
|
2017-07-11 17:21:13 +02:00 |
|
JC Brand
|
6ef0536e31
|
Some work on using es6 promises
|
2017-07-10 21:14:48 +02:00 |
|
JC Brand
|
9a9eae3fcf
|
Use esnext to auto-generate es2015 syntax
|
2017-07-10 17:46:22 +02:00 |
|
JC Brand
|
40e7ee1ae6
|
Initial stab at using ES2015
Mostly replaced ``var`` with ``let`` and ``const``.
Also added a few arrow functions.
|
2017-07-10 12:49:20 +02:00 |
|
JC Brand
|
2d89589b54
|
bookmarks: clear the fetched_flag upon logout
|
2017-07-10 10:43:37 +02:00 |
|
JC Brand
|
5ab1693136
|
logging: Add deprecation warning for updateSettings
and also use the Strophe.LogLevel levels for logging in general.
|
2017-07-05 11:33:55 +02:00 |
|
JC Brand
|
f81a94baf1
|
Move updateSettings to the private API.
Also add an API method for exposing new promises.
Update the plugin and API documentation, specifically concerning the above
changes.
|
2017-07-05 11:03:13 +02:00 |
|
JC Brand
|
857c5ccdb3
|
Reset bookmarks when logging out
|
2017-07-03 09:57:11 +02:00 |
|
JC Brand
|
ea4c490283
|
bookmarks: bugfix, deferred might be null
|
2017-06-27 13:02:40 +02:00 |
|
JC Brand
|
023a68458c
|
Initial work on showing unread messages indicator for chat rooms
|
2017-05-15 19:08:08 +02:00 |
|
JC Brand
|
26cd567cca
|
bookmarks: only emit once the view has been created.
|
2017-05-15 18:04:28 +02:00 |
|
JC Brand
|
e49fbc457d
|
bookmarks: Don't duplicate bookmarks in list.
|
2017-05-15 18:04:28 +02:00 |
|
JC Brand
|
1ef99b3ecc
|
bookmarks: Handle chat box being passed into renderBookmarkListElement
|
2017-05-08 21:28:56 +02:00 |
|
JC Brand
|
3835ab7af6
|
bookmarks: Don't autojoin rooms prematurely
by first waiting until chatboxes have been fetched as well.
|
2017-05-08 21:28:56 +02:00 |
|
JC Brand
|
70e4f28548
|
Initial work on showing open rooms in the "Rooms" panel
|
2017-05-08 21:28:56 +02:00 |
|
JC Brand
|
d8963a8a8c
|
bookmarks: New setting hide_open_bookmarks
|
2017-05-08 21:28:56 +02:00 |
|
JC Brand
|
09bf04bf03
|
converse-bookmarks: Bugfix + make bookmark.html more generic
- Bugfix: Entire list was removed when last bookmark was removed.
- Make the template more generic so that it can be used for showing open chat
rooms
|
2017-05-08 21:28:56 +02:00 |
|
JC Brand
|
3ea43c6a0f
|
Use noConflict to avoid polluting globale namespace
with lodash and Backbone.
|
2017-04-21 18:06:27 +02:00 |
|
JC Brand
|
898ad3107f
|
Get 3rd party dependencies from the converse obj
|
2017-03-30 17:00:24 +02:00 |
|
JC Brand
|
62c8177142
|
Bugfix.
After bookmarking a room for which a nickname is required, return to the nickname form.
|
2017-03-02 23:28:22 +01:00 |
|
JC Brand
|
9817aedea7
|
No need to set templates on the _converse object.
If it's needed in another plugin, it can simply be `require`'d.
|
2017-02-19 11:12:26 +01:00 |
|
JC Brand
|
9218d649e9
|
Bugfix. Avoid infinite recursion (used wrong model).
|
2017-02-16 11:17:38 +01:00 |
|
JC Brand
|
fe6a9ca748
|
Merge converse-api and converse-core
Otherwise `require('converse-core')` can be called, exposing the inner converse
object.
|
2017-02-14 14:35:52 +00:00 |
|
JC Brand
|
f73a1d3fc0
|
Don't name the modules.
According to the require.js docs this shouldn't be done.
http://requirejs.org/docs/whyamd.html#namedmodules
|
2017-02-13 14:37:17 +00:00 |
|
JC Brand
|
63888dd454
|
Fix failing tests
|
2017-02-02 21:55:05 +00:00 |
|
JC Brand
|
9b48b2d6bd
|
Update plugins to not depend on converse-core
To illustrate that this is not necessary (and also not possible with
non-bundled plugins).
|
2017-02-02 18:34:13 +00:00 |
|
JC Brand
|
b701c4830f
|
Also use _converse as pluggable object reference.
|
2017-02-02 18:34:13 +00:00 |
|
JC Brand
|
b7b9711296
|
Rename the closured converse object to _converse
to indicate that it's private and to differentiate it from the outer "global"
converse object.
|
2017-02-02 18:34:13 +00:00 |
|