JC Brand
7b19483271
Rename push_services
to push_app_servers
to avoid confusion
2018-06-11 14:17:34 +02:00
JC Brand
a09333f82c
Allow multiple push services to be enabled and also allow disabling
2018-06-07 16:25:59 +02:00
JC Brand
7ee71b0132
Add a plugin for XEP-0357
...
Currently only allows enabling an "App Service", based on pass-in
configuration values.
2018-06-06 14:00:52 +02:00
JC Brand
188047dc93
Update out of date docs concerning locales
...
updates #1107
2018-06-01 09:17:18 +02:00
JC Brand
9c6c90a4fc
Move config settings into the relevant plugins
2018-05-31 06:38:40 +02:00
JC Brand
195a9781c1
Use an event instead of an override
2018-05-30 17:18:41 +02:00
JC Brand
4e67b420ba
New event streamFeaturesAdded
2018-05-29 12:04:42 +02:00
JC Brand
fa849b3dfa
fixes #1091
...
We no longer need inverse.css
2018-05-24 14:38:17 +02:00
JC Brand
36fd859a88
Store presence info in a separate collection
...
So that we can cache roster data for longer and presence data for
shorter.
2018-05-22 21:09:43 +02:00
JC Brand
c920725832
Add a clearSession
event to avoid using overrides.
2018-05-18 15:44:42 +02:00
JC Brand
2508ef0e9e
Make the default value for the 'trusted' checkbox configurable
...
Also remove the `message_storage` setting.
2018-05-18 15:44:42 +02:00
ChaosKid42
7a36acade5
remove "?" from user-search-query ( #1103 )
2018-05-17 18:26:06 +02:00
JC Brand
38499917a9
updates #194
...
Include entity capabilities hash in outgoing presences
Also, started some work on using jsdoc for rendering API documentation.
Ideally that would go into a separate commit but that would take ages to
untangle.
2018-05-11 13:35:27 +02:00
JC Brand
708b1dbe99
fixes #337
...
It's now possible to set your VCard via the UI and via the API
2018-05-08 18:14:56 +02:00
JC Brand
7e94f3c691
Bugfix. Send model instance to event listeners
...
So that we can call `getDisplayName`
2018-05-07 10:58:58 +02:00
JC Brand
09c55ebc28
Remove the use_vcards
settings
...
VCards will now always be used.
2018-05-04 22:50:41 +02:00
JC Brand
4c15ac2e8c
Add new config setting: auto_join_private_chats
2018-05-03 16:36:02 +02:00
JC Brand
53f5627b72
Add support for rendering avatars in groupchats
2018-05-01 18:18:02 +02:00
JC Brand
b5a516e044
Add new api method vcard.update
2018-05-01 14:59:02 +02:00
JC Brand
54cafb1243
Update vcard.get
API method to accept either a JID string or a model
2018-05-01 11:45:12 +02:00
JC Brand
3d42425083
Some UI improvements
...
- Render images as thumbnails
- Use the image.html template when rendering images from pasted URLs
- Update message and spoiler markup to render avatars
- Use the default avatar as fallback when user doesn't have one
- Instead of 'me' render own name or JID
2018-04-30 15:37:36 +02:00
midzer
2b5b2fae2c
add another server which supports websockets ( #1086 )
2018-04-26 14:46:03 +02:00
JC Brand
c01e9f8265
Move methods from chatbox view to message view
...
Specifically the methods related to requesting an upload slot and uploading a file.
Also show a progress indicator while a file is being uploaded.
Updates #161
2018-04-17 15:21:38 +02:00
JC Brand
24d55d6cbd
Remove reference to inverse.min.js
and fix tables
2018-04-13 20:22:58 +02:00
JC Brand
9528d81c00
Move various MUC methods onto the Backbone.Model
...
To more cleanly separate views and models and to make MUC in headless
mode more viable.
Refs #1032
2018-04-10 18:59:02 +02:00
ChaosKid42
fce9ee0db9
replace geoURIs (e.g. from Convesations) by links to openstreetmap ( #1054 )
...
* replace geoURIs by link to openstreetmap
* Added testcase
2018-03-31 18:29:01 +02:00
Richard Fairthorne
6bbbe8a393
add utf-8 tag so minified build will load on all platforms
2018-03-31 15:59:09 +02:00
JC Brand
44a2f7807c
Hook in ar
and eu
locales and document.
2018-03-31 15:45:23 +02:00
JC Brand
b584f2efb3
Add a new config setting nickname
...
- for subscription requests
- when entering chat rooms
2018-03-30 14:22:53 +02:00
JC Brand
95406a149d
Re-add xhr_user_search_url
and autocomplete when adding contacts
2018-03-30 14:22:51 +02:00
JC Brand
deff6e071c
Remove the clear
button. It was pretty useless
...
because it didn't actually clear anything permanently and upon page
reload the messages were there again.
2018-03-30 14:16:06 +02:00
JC Brand
ca13c3286e
Merge branch 'master' of github.com:conversejs/converse.js into bootstrap4
2018-03-18 03:42:49 +00:00
JC Brand
ae3942bc75
Update docs.
...
- Mention CSS file needed for embedded case.
- Update some outdated text
2018-03-15 20:22:32 +00:00
JC Brand
b0176e62f8
Mention where the embedded MUC gets embedded into
2018-03-15 19:52:11 +00:00
JC Brand
2045741fbe
Add api.chatviews.get
method
2018-03-14 13:27:36 +00:00
JC Brand
05e7cc8529
Let api.contacts.get
return the RosterContact model
2018-03-14 13:01:29 +00:00
JC Brand
d4d3d4c838
Merge branch 'split-muc' into bootstrap4
2018-03-05 16:51:33 +01:00
JC Brand
8211ed8f70
Release 3.3.4
2018-03-05 14:43:53 +01:00
JC Brand
e344bf769a
New modal for adding contacts.
...
Remove the xhr_user_search and xhr_user_search_url options
Lazily create modals
2018-02-23 16:33:09 +01:00
JC Brand
d9709af7cf
Initial work on the new chatroom modal
2018-02-21 16:59:16 +01:00
JC Brand
ec2bda338b
Refactor XMPPStatus.
...
- Remove undocumented and unused event `update-status-ui`
- Remove xhr_custom_status and xhr_custom_status_url options
- Use default value
- Remove unnecessary getter and setter
2018-02-21 14:41:54 +01:00
JC Brand
db85cb7f1d
Release 3.3.3
2018-02-14 16:53:07 +01:00
JC Brand
08a76d8a6b
Merge branch 'webcomponent-embedded'
2018-02-14 02:15:49 +01:00
JC Brand
2a2e4688a7
Update version number for CDN files in quickstart
2018-02-14 02:05:53 +01:00
JC Brand
2d746d2a1e
Make converse-muc-embedded
a core plugin.
...
1. Add a new `view_mode` value: `embedded`.
This value is used to determine wether the `converse-muc-embedded`
plugin is active or not.
2. Remove the need for the #converse-embedded-chat element.
Instead we reuse the #conversejs element and embed inside that.
3. Removed the need to manually blacklist core plugins
This is now done automatically if `view_mode` is set to `embedded`.
Perhaps eventually we don't blacklist at all and instead use the
`enable` plugin method. For some that probably won't work, like
`converse-chatview`, which we still need to be active.
2018-02-09 16:37:55 +01:00
JC Brand
5517e3554c
Add a new configuration setting: root
2018-02-09 16:08:39 +01:00
JC Brand
50f03c90e1
Write "chat room" as "chatroom" and "chat box" as chatbox"
...
We have bedroom, bathroom, classroom and boardroom as one word.
Living room is spelled separately because of the present participle (+ing) in living.
With "chatbox" it's a bit more subjective.
We have chatbot as one word (but litter box as two).
For consistency with chatroom, I'll go with one word.
2018-02-09 12:13:11 +01:00
JC Brand
055c4d2104
New config setting allow_public_bookmarks
2018-02-08 15:39:27 +01:00
JC Brand
d4ceb6d340
Add the ability to query for a disco identity
2018-02-07 17:24:25 +01:00
JC Brand
6b644d6d11
Release 3.3.2
2018-01-29 16:48:54 +01:00
linkmauve
4dc5e01d76
Replace tabs with spaces in source files. ( #1005 )
2018-01-27 16:20:35 +01:00
JC Brand
ccf5ce2ae5
New release 3.3.1
2018-01-18 14:48:32 +01:00
JC Brand
db8fd5c018
Turn off message animations by default
2018-01-18 11:41:47 +01:00
JC Brand
8f455cf902
Release 3.3.0
2018-01-17 19:45:33 +01:00
Senya
ff0f1d698d
Fix mistyped example ( #991 )
...
was open instead of get in the example for get
2018-01-15 20:25:43 +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
bcc367ef5b
Mention the headless build
2018-01-09 14:52:36 +00:00
happy-dev
787a2a71f9
Typos ? ( #981 )
2018-01-06 21:32:57 +00:00
JC Brand
27c59cfe6c
Update plugin docs prose a bit
2018-01-05 16:57:28 +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
3c7454c4c1
Document a better way to open a room from a plugin
2017-12-15 20:17:31 +00:00
JC Brand
d331594225
Various small fixes based on real-world usage
2017-12-03 19:18:25 +01:00
JC Brand
79fd27ce58
Remove interpolation markup from yeoman
2017-12-03 18:52:32 +01:00
JC Brand
8662f751e3
Refactor converse-vcard
and add API method to fetch a VCard
2017-12-02 18:01:56 +01:00
Taylor SaBell
adc4e6ebbc
Changed connection manager URL ( #955 )
2017-11-17 19:20:42 +01:00
JC Brand
a6f2877ed9
Disco API refactoring
...
This came out of the desire to let `converse-muc` use the API to
determine whether MUC is supported. However, we don't know the entity
JID before hand and I couldn't think of a good way to query all current
and future entities for a feature.
So `converse-muc` still does it's own thing without the API, but some
refactoring came as a result of attempting.
2017-11-10 21:37:35 +01:00
JC Brand
042a26d05d
New API method _converse.disco.supports
...
to check whether a certain service discovery feature is supported by an entity.
2017-11-02 23:23:01 +01:00
JC Brand
007e608f32
More work on combining the inverse/converse builds
...
- Use `enabled` method for plugins
- Rename `converse-inverse.js` to `converse-fullscreen.js` and make it a
core plugin.
- We're no longer making separate mobile and inverse builds
No longer a need to whitelist/blacklist plugins for inverse to work.
2017-11-02 16:41:06 +01:00
JC Brand
3514d6d56b
fixes #316
...
- Also allow private chats to be opened via URL fragment.
- Make sure to clear the URL fragment when the relevant chat is closed.
2017-10-31 23:11:27 +01:00
JC Brand
ad0e457486
Update API documentation to mention promises to wait for
2017-10-31 20:38:52 +01:00
JC Brand
2d747bb287
Various changes. See below.
...
* Update localisation/translation documentation due to recent changes.
* Remove `moment_locales.js` and instead load the moment locales in `src/i18n.js`
* Mention how to load the fullscreen version. Refs #939
2017-10-31 20:38:51 +01:00
JC Brand
c789af346f
Add another example to the section about dealing with async
2017-10-31 20:38:51 +01:00
JC Brand
724e66d0e5
Initial code for opening a room via URL
2017-09-29 00:07:16 +02: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
7e4fb52f8d
Render register and login forms via links
2017-09-24 00:30:43 +02:00
JC Brand
6a4b62de0e
Fix links
2017-09-13 11:14:58 +02:00
JC Brand
8d0cf8fa8c
Update setup and integration docs
2017-09-13 11:12:15 +02:00
JC Brand
66ef67a589
Add setup diagram to docs
2017-09-04 16:19:12 +02:00
JC Brand
36e02fb30b
Add doc section on dealing with asynchronicity in plugins
2017-09-04 09:54:18 +02:00
JC Brand
c6839479c3
Mention plugin arch in readme.
...
Also, turn the sections about the fiddle example and the generator into notes.
2017-09-04 09:24:38 +02:00
JC Brand
8416143c65
Height fix for document sidebar
2017-09-04 09:13:23 +02:00
JC Brand
38e6012f06
Mention the Yeoman plugin generator
2017-09-04 07:51:02 +02:00
JC Brand
061832df41
Show documentation TOC in a left sidebar
2017-09-04 07:28:47 +02:00
JC Brand
11ff072366
Properly captitalize JavaScript
2017-09-03 22:12:17 +02:00
JC Brand
f668f2981a
Update plugin example with code from the yeoman generator
...
Also improve the introductory text.
2017-09-03 22:10:45 +02:00
JC Brand
34e214d0df
New release 3.2.1
2017-08-29 13:28:34 +02:00
JC Brand
bfeb297ffc
Clarify usage of locked_domain
.
...
Also, declare it in the controlbox plugin, not in core, where it's not used.
2017-08-15 10:23:57 +02:00
JC Brand
38f8724dd9
roomslist: Add ability to add or remove bookmarks
2017-08-09 15:50:24 +02:00
JC Brand
faa614ba3b
Update events documentation to also mention promises.
2017-08-09 12:16:47 +02:00
JC Brand
8113a14ace
Release candicate for 3.2.0
2017-07-22 22:23:44 +02:00
JC Brand
0a47f60f94
Emit new event `afterMessagesFetched
`
2017-07-21 15:09:50 +02:00
JC Brand
a9589cba71
Don't expose 'connected' as a promise.
...
'reconnected' cannot be used as a promise (because it's recurring),
so to avoid confusion let's not have a 'connected' promise either.
2017-07-21 15:09:50 +02:00
JC Brand
49f26d8e49
emoji: Allow the assets path of Emojione to be overridden
2017-07-16 12:30:40 +02:00
JC Brand
972c31be1d
emoji: Allow the option of using emojione (now that we sanitize)
2017-07-16 12:29:02 +02:00
JC Brand
ce2548c838
Remove the visible_toolbar_buttons.emoticons
config option
...
in favor of `visible_toolbar_buttons.emoji`.
2017-07-15 08:17:41 +02:00
JC Brand
67578c9747
Merge branch 'master' into emoji
2017-07-15 07:16:37 +02:00
JC Brand
7721275962
New release v3.1.1
2017-07-12 22:51:56 +02:00
JC Brand
c422237668
New release: 3.1.0
2017-07-05 10:07:28 +00: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
ca53a8d8ef
Add support for Emojis
2017-06-17 01:01:52 +02:00
JC Brand
651a5de315
inverse: Set more defaults in the plugin itself
2017-06-13 21:40:06 +02:00
JC Brand
754caad079
No way currently to remove plugins
...
and I'm not aware of a valid usecase for doing so.
2017-05-22 13:40:07 +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
d8963a8a8c
bookmarks: New setting hide_open_bookmarks
2017-05-08 21:28:56 +02:00
JC Brand
47ca3e64b2
Emit new event roomsPanelRendered
2017-05-08 21:28:56 +02:00
JC Brand
ed9ba78863
Mention that credentials_url
can/should be used with auto_login
2017-05-03 09:18:58 +02:00
Novokreshchenov Konstantin
7c057910a8
Inconsistent unread messages count updating #873 ( #874 )
...
* Consistent unread messages count updating on ChatBoxView, Minimized ChatBoxView, RosterView and page's title
* Add tests for checking unread messages count updates in different GUI parts
* Update docs/CHANGES.md
* document windowStateChanged event in events.rst
2017-05-03 09:06:28 +02:00
JC Brand
f3d29e016e
Show unread messages counter next to roster contacts
2017-04-24 15:57:22 +02:00
JC Brand
e338afadc2
New release 3.0.2
2017-04-23 17:25:19 +00:00
JC Brand
0992c8d92e
Update events documentation
...
Looks like now that we use Backbone.Events we don't get event objects passed
to the handlers.
2017-04-19 17:48:50 +02:00
JC Brand
a2735d4caa
#844 : Private API is accessible via attribute
2017-04-19 15:00:59 +02:00
JC Brand
853c765f0d
Update the documentation.
...
- Fix event listener code examples
- Mention the preferability of using versions in the CDN
2017-04-18 20:20:08 +02:00
JC Brand
93b1481a2c
Update Angular integration docs based on plugin changes in 3.0.x
2017-04-11 07:32:46 +00:00
JC Brand
bf9ba245b4
Fix title level inconsistencies
2017-04-04 20:43:25 +00:00
JC Brand
58f62998f9
Fix loading of converse.js in the docs
2017-04-04 18:43:52 +00:00
JC Brand
21bc95a9f3
New release 3.0.1
2017-04-04 15:26:06 +00:00
JC Brand
e88afa0421
auto_reconnect
is false by default. Fixes #834
2017-04-04 11:21:25 +00:00
JC Brand
a4be25e05c
Fix time format to show seconds instead of month
2017-03-31 02:01:53 +00:00
Anshul Singhal
99647438ac
Adds the send button at bottom of chatbox ( #796 )
...
Fixes #796 New config option: `show_send_button`
* Adds show_send_button setting to docs
* Change log updated
* Improves send button CSS, style fixes and documentation corrections
* Adds missing setting in rendering template for headlines
2017-03-30 12:40:17 +02:00
Soumit Bose
e6f3406977
Implemented auto fetching of registration form for default XMPP domain ( #812 )
2017-03-20 13:21:03 +01:00
Soumit Bose
2c5ecd7120
Make messages' time format configurable ( #797 )
...
Fixes #675
* Made time format configurable
* Made changes to values of time_format
* Removed user restrictions on time format
* Added documentation for time-format config
* Edited changes.md
* Edited config doc
* Modified time-format explanation
* Added link to moment
* Added test to check rendered time
* Edited CHANGES and removeunncessary lines from time format checking spec
* Removed unncessary spaces
2017-03-12 11:32:38 +01:00
JC Brand
4ebc00282c
Update plugin docs. Show fiddle example
2017-03-09 14:02:55 +00:00
JC Brand
f1bf5a9654
Fixes #807
...
- Document `optional_plugin_dependencies`
- Also make `converse-headlines` an optional dependency of `converse-dragresize`
2017-03-08 11:36:46 +00:00
JC Brand
42f32e5c00
require
is no longer used because we wrap our almond build
...
updates #805
2017-03-07 06:57:53 +00:00
JC Brand
06668d8733
3.0.0 release
2017-03-05 10:39:15 +00:00
JC Brand
f28cb1f2e2
Update docs around single-session support
2017-03-03 16:16:41 +01:00
JC Brand
128335e1dc
50 seems like a better default
2017-02-27 21:12:15 +00:00
JC Brand
a21fdce8fa
Add JSON example
2017-02-27 17:56:39 +00:00
JC Brand
9779e83931
Make the default archived_messages_page_size
100
2017-02-25 09:57:22 +01:00
JC Brand
0d48929bb3
Show join/leave messages in chat rooms. Updates #365
2017-02-24 17:54:45 +00:00
JC Brand
8a63813f5e
Add the ability to set the presence priority.
...
Fixes #745
2017-02-22 22:13:23 +01:00
JC Brand
a1c156456d
Make keepalive
and roster_groups
true by default.
2017-02-17 08:54:58 +01:00
JC Brand
483d01fbbf
Fix link to converse.js in docs
2017-02-16 20:52:20 +01:00
JC Brand
2819148669
Document white- and blacklisting of plugins
2017-02-16 20:37:33 +01:00
JC Brand
f43084861e
Remove references to bower in docs
2017-02-16 15:39:52 +01:00
JC Brand
16688ebe1c
Install fontawesome via NPM and remove last bower stuff
2017-02-16 12:03:56 +01:00
JC Brand
bc8e3e1a01
Return a Backbone.View object instead of a wrapper
...
When returning chat boxes via the API.
We can do this now because these API methods are only available to
(whitelisted) plugins.
2017-02-14 15:10:46 +00: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
7b65155d5b
Don't show chat-state notifications by default.
2017-02-14 13:00:45 +00:00
JC Brand
994c961d9c
Add a waitUntil
API for promises.
2017-02-14 11:24:20 +01:00
JC Brand
6d2a38a7c1
Fixes #486 Update docs and fix failing test.
2017-02-12 19:01:07 +00:00
JC Brand
38f3dc66a3
Update documentation
2017-02-02 20:46:30 +00:00
JC Brand
a30cf931b8
Split API into public and private (plugin only) parts.
2017-02-02 20:09:52 +00:00
JC Brand
aacee2eb83
Replace jQuery-based event emitter with Backbone.Events
2017-02-02 19:49:49 +00:00
JC Brand
83feebb229
Two plugins changes
...
- Remove the `plugins.remove` API method.
- Throw an error when attempting to register multiple plugins with the same name.
2017-02-02 18:54:15 +00:00
JC Brand
6de6d526b0
Various documentation improvements.
2017-02-02 18:34:13 +00:00
JC Brand
7389e1e058
Add documentation on security considerations
2017-02-02 18:34:13 +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
55dbbede8a
Update documentation
2017-02-02 18:34:13 +00:00
JC Brand
4dcb855562
Split API into public and private (plugin only) parts.
2017-02-02 18:30:59 +00:00
JC Brand
647ee1ff04
Replace jQuery-based event emitter with Backbone.Events
2017-02-02 18:30:43 +00:00
Richard Icke
343e5777d1
first attempt to replace underscore with lodash
2017-02-01 14:00:38 +01:00
JC Brand
e34adf8000
New release: 2.0.5
2017-02-01 11:08:13 +00:00
JC Brand
25d9880f9e
Add config setting allow_non_roster_messaging
...
- Add a test case.
- Don't allow passing of `attrs` to `chats.open`. Not sure yet of the
implications of this.
2017-02-01 10:49:13 +00:00
JC Brand
bd00fabe18
Add documentation on creating custom builds.
2017-01-20 09:18:18 +00:00
JC Brand
06805d80b8
New release 2.0.4
2016-12-13 19:47:00 +00:00
JC Brand
f5fbf71275
New config setting: muc_disable_moderator_commands
2016-12-07 13:48:47 +00:00
JC Brand
8bbd88ba86
New release 2.0.3
2016-11-30 17:51:17 +00:00
JC Brand
829f9ab216
Release 2.0.2
2016-11-30 16:27:20 +00:00
JC Brand
9edc97101b
Don't maximize minimized rooms when calling rooms.open
2016-11-30 11:03:28 +01:00
JC Brand
0d542cee8c
New config settings `allow_bookmarks
`
2016-11-24 09:52:05 +01:00
JC Brand
0b22b5a6e0
Emit a reconnecting
event.
2016-11-23 14:50:28 +00:00
JC Brand
ebc7409d55
Enable new rooms to be configured automatically
...
Via `rooms.open` API method.
2016-11-20 16:42:11 +00:00
JC Brand
8c3ffdffbb
Release 2.0.1
2016-11-07 14:43:48 +00:00
JC Brand
55c2c383d1
Link to blogpost about client cert auth
2016-11-03 14:38:29 +00:00
JC Brand
8fdc664b24
Add table of contents and edit link
2016-11-02 14:31:58 +00:00
JC Brand
a66f056def
Markup should be RsT, not markdown.
2016-11-02 14:21:20 +00:00
JC Brand
f5ce9620c1
Update angular.js integration example.
2016-11-02 14:17:05 +00:00
JC Brand
fa338c4828
Provide a brief explanation of converse.js's dependencies.
2016-11-02 15:08:31 +01:00
JC Brand
38db959e11
Reconnection fixes. Fixes #712
...
- Remove groupviews, so that they'll get recreated upon reconnection
- Don't call `clearSession` when reconnecting. We want to reuse the
Backbone collections.
- Emit `rosterInitialized` event and use that in converse-rosterview.js
(instead of overriding).
- Refactor `onReconnected` to emit `rosterReadyAfterReconnection`, call
`converse.populateRoster()` and `converse.chatboxes.onConnected()`.
- Recreate the roster view on the `rosterReadyAfterReconnection` event.
2016-11-02 13:13:49 +00:00
JC Brand
e63853ee92
Add a logout
event.
...
updates #714
2016-11-02 08:42:24 +01:00
JC Brand
aad90cc9df
Add the ability to set the MUC domain to be used.
...
updates #203
2016-10-26 13:31:18 +00:00
JC Brand
575e9da705
Split development docs into separate files/sections
2016-10-21 14:36:05 +00:00
JC Brand
bfd7d037d7
Document angular.js integration
2016-10-21 13:52:34 +00:00
JC Brand
f8a9a98637
Fix markup (should be rst instead of md)
2016-10-21 13:52:00 +00:00
JC Brand
3edaffd3ec
Fix typo
2016-10-13 10:12:23 +02:00
JC Brand
5a3917925e
Add a new configuration setting: connection_options
...
Allows you to pass in options for the `Strophe.Connection` constructor.
2016-10-12 14:16:34 +02:00
JC Brand
90d1071df0
Load templates in the respective plugins
2016-09-23 12:35:01 +02:00
JC Brand
ab76f1da44
Let core populated the roster, and send the initial presence
...
This allows for cleaner separation between core and rosterview, making it
easier to remove that plugin for more stripped down deployments.
2016-09-21 15:06:48 +02:00
JC Brand
ac2c5f3e4e
Allow the context to be passed in when registering event listeners
...
Similar to how backbone.js does it.
2016-09-21 13:15:45 +02:00
JC Brand
10da240e7e
New release 2.0.0
2016-09-16 12:35:02 +00:00
JC Brand
89e5bd7c54
Update to pluggable.js 0.0.2
2016-08-31 10:39:11 +00:00
JC Brand
b0de7948f3
Document the update to the rooms API.
2016-08-21 11:09:08 +00:00
JC Brand
b8aaf751d2
Changes concerning caching of data in the browser.
...
- Add new configuration setting messages_storage
- Hardcode the storage for roster contacts and chatroom occupants to `sessionStorage`.
2016-08-21 10:55:45 +00:00
JC Brand
1ee7d06a08
Further document the auto_reconnect
option
...
and drop the reconnection timeout to 3 seconds (from 5).
2016-08-19 14:11:37 +00:00
JC Brand
fccd0860eb
New release 1.0.6
2016-08-12 20:52:21 +00:00
JC Brand
66d80cc4db
New configuration setting muc_instant_rooms
.
...
This option is by default set to `true` which entails no changes in behavior
compared to previous versions of converse.js.
If set to `false`, then rooms first need to be configured before they can be
joined by other users (so-called "reserved" rooms).
More info on "instant" and "reserved" rooms here:
http://xmpp.org/extensions/xep-0045.html#createroom
2016-08-11 16:05:07 +00:00
JC Brand
462a43b891
Add new config option muc_nickname_from_jid
...
which if set to `true` will let converse.js automatically take the node part of
a user's JID as their nickname when entering a room.
If there is a nickname clash, then the nickname will be disambiguated by adding
integers to it.
For example, john will become john-1, then john-2 and so forth.
2016-08-11 12:02:35 +00:00
JC Brand
4c123d51d4
New release: 1.0.5
2016-07-28 16:07:47 +00:00
JC Brand
d7c026e128
New release 1.0.4
2016-07-26 06:00:30 +00:00
JC Brand
b2e1896274
Clarify a little
2016-07-25 13:34:44 +00:00
JC Brand
01f576e505
Return all rooms or private chat when caling get
without arguments
2016-06-24 10:54:39 +02:00
JC Brand
888cd8c982
Mention the new CDN
2016-06-21 07:07:22 +00:00
JC Brand
598e29c910
New release: 1.0.3
2016-06-20 19:20:47 +00:00
JC Brand
10ca2900d4
Add a "create" parameter to rooms.get
...
to indicate whether the room should be created if not found.
2016-06-17 09:30:31 +00:00
JC Brand
e12c165454
Add new event pluginsInitialized
and use it in converse-notifications
...
By listening for this event before registering event handlers, other plugins
can first get their overrides of those handlers applied.
2016-06-16 17:21:49 +02:00
JC Brand
70135ba070
Add new config option notify_all_room_messages
2016-06-16 13:29:49 +02:00
JC Brand
854633089d
Add config setting to disable MUC direct invites.
2016-06-10 14:17:10 +00:00
JC Brand
6c99c51c74
New API method converse.rooms.close()
.
2016-06-03 08:41:13 +00:00
JC Brand
f60a0512d9
Emit an event when the roster is fetched from the cache
...
We already emit an event when the roster is fetched from the XMPP server,
similarly, it would be useful to know when the roster was instead fetched from
the cache.
2016-06-01 16:04:06 +00:00
JC Brand
f70a3c3ed2
Add new configuration variable: default_state
2016-05-31 09:37:42 +00:00
JC Brand
82ee7f694e
Don't ignore messages sent to different resource
...
But make this behavior configurable. Updates #647
2016-05-28 06:36:24 +00:00
JC Brand
1545018edf
New release 1.0.2
2016-05-24 08:47:22 +00:00
JC Brand
8a74cc3323
New release: 1.0.1
2016-05-24 08:23:19 +00:00
JC Brand
29262cdbe2
mention how to pass in domain for anon connections
2016-05-17 16:04:01 +00:00
JC Brand
c243aba98f
Add jid
method to converse API, to retrieve the user's JID.
2016-05-10 08:08:42 +00:00
JC Brand
dd5c3c7a38
Bump version of docs.
2016-05-03 15:54:12 +00:00
JC Brand
a969d010cb
Don't try to reconnect on auth fail.
2016-04-13 12:09:16 +00:00
JC Brand
e09328df6a
Add login
API method.
2016-04-13 11:52:28 +00:00
JC Brand
ea9665df4b
Add the option sticky_controlbox, to disable closing it.
...
updates #622
2016-03-31 09:17:32 +00:00
JC Brand
2cbf20c6db
Add the ability to fetch credentials for auto_login
...
via the new config option credentials_url
2016-03-31 08:38:43 +00:00
JC Brand
2341c0914d
Correct docs on csi_waiting_time
2016-03-30 15:49:19 +00:00
JC Brand
3815d77cc1
Make 'connected' an attribute.
2016-03-29 13:57:33 +00:00
JC Brand
a6b6ad5e9e
Add 'connection' API grouping and 'connected' API method.
2016-03-29 13:41:10 +00:00
JC Brand
d2b2437a2b
Fix wrong default value mentioned in docs.
2016-03-23 14:43:18 +00:00
JC Brand
946e9fed5d
Add new MUC option auto_join_rooms
.
...
Fixes #156
2016-03-22 08:15:52 +00:00
JC Brand
3aefba3200
Change ping plugin to not have to use overrides.
...
Had to add a `reconnect` event to core.
2016-03-21 10:00:15 +00:00
JC Brand
ae6a7f4b02
Option to ignore certain JIDs' chat state notifications
2016-03-18 09:11:43 +00:00
JC Brand
f65b99e81c
RST formatting fixes.
2016-03-18 08:39:47 +00:00
JC Brand
36a875a402
Add stanza-specific event listener.
...
Therefore removing the `presence` event again.
2016-03-16 18:12:11 +00:00
JC Brand
1c961ab4d1
Emit an event presence
when a presence stanza is received.
2016-03-16 15:59:07 +00:00
JC Brand
08222182c5
Move VCard functionality into separate plugin
2016-03-16 11:21:27 +00:00
JC Brand
57aae4ad26
Mention send
API command and fix formatting.
2016-03-15 08:28:41 +00:00
JC Brand
80c26e708c
Add new option strict_plugin_dependencies
2016-03-14 17:03:48 +00:00
JC Brand
d92645c8d3
Show a desktop notification when a contact request is received
...
updates #443
2016-03-08 11:04:10 +00:00
JC Brand
0aa0c02124
Add tests for src/converse-notification.js. updates #443
...
In the process refactored the code being tested.
- Move notifications code in MUC to src/converse-notification.js
- Trigger the 'contactStatusChanged' event in RosterContact and not in
ChatBoxView (which might not exist).
2016-03-08 10:44:27 +00:00
JC Brand
efa4a9ff23
Fixes #577 Add a timeout config var for MAM
2016-03-07 17:16:57 +00:00
JC Brand
23a1dc4f2b
Some fixes concerning event emitting.
...
Don't make the event "this" context the protected converse object.
Can't trigger multiple data parameters, need to pass an object if there are
multiple values to be sent.
2016-03-01 22:39:45 +00:00
JC Brand
f7725943f8
Emit an event 'contactRequest' when a subscription request is received
2016-03-01 21:57:49 +00:00
JC Brand
bc42d50a86
Update docs to mention desktop notifications. updates #443
2016-03-01 09:43:44 +00:00
JC Brand
26cb98d963
Move playing of sounds to the notification plugin.
...
Also add a config setting for the icon shown in HTML5 notificatins.
updates #443
2016-03-01 08:58:36 +00:00
JC Brand
a4fd252a30
Elaborate on the right way to call super methods in plugins.
2016-02-29 13:50:44 +00:00
JC Brand
c0c4cd9272
Rename builds directory to dist
...
To conform with how many other projects name their directories.
2016-02-28 09:00:22 +00:00
Davide Colombo
e934917685
add synchronize_availability option
2016-02-18 12:18:56 +01:00
JC Brand
f1b999d01a
update the plugin docs
...
Add a UMD header so that the example plugin can be used without require.js
Remove needles cruft and dependencies.
2016-02-17 17:01:55 +00:00
JC Brand
576efc4815
Initial work on breaking converse.js up into components
...
First component to remove is MUC which was moved to src/converse-muc.js
The components are written as plugins and use converse.js's plugin machinery.
Update the plugin docs somewhat with new insites found while working on the muc
plugin.
2016-02-16 07:47:08 +00:00
JC Brand
226e2e910d
Arrange config options alphabetically
2016-01-18 10:41:41 +00:00
JC Brand
dcf09ee924
Add new option include_offline_state
which is by default false
...
We remove the offline state as a choice in the dropdown because
'offline' is not a valid XMPP state and it doesn't propagate across tabs.
Updates: #547
2016-01-18 10:40:59 +00:00
JC Brand
98a7033078
Fixes #520 .
...
Two new configuration settings: locked_domain and default_domain.
2016-01-15 09:31:36 +00:00
JC Brand
28f5ee855b
Fixes #546
2016-01-15 06:18:22 +00:00
JC Brand
19ad5728f9
Remove google analytics from docs.
2016-01-15 06:03:10 +00:00
JC Brand
db82333782
Add section on performance under troubleshooting chapter.
2016-01-15 05:58:34 +00:00
JC Brand
20910707b2
Re-add troubleshooting section that got somehow removed.
...
Also add an introductory section on debugging.
2016-01-13 07:55:42 +00:00
andreabenini
8c14424f62
Update configuration.rst
2015-12-02 11:14:17 +01:00
JC Brand
44c7c877a6
Fix malformed table in docs.
2015-11-05 11:30:31 +00:00
JC Brand
2253ec3d00
New release 0.10.0
2015-11-05 11:23:19 +00:00
JC Brand
88f043d9ca
Merge branch 'master' into sass-refactor
2015-10-31 17:44:59 +00:00
JC Brand
dfcebeb621
Rename participants to occupants.
2015-10-31 16:48:50 +00:00
JC Brand
ebd0089446
Mention that controlbox stays open on page reload.
2015-10-29 14:50:18 +00:00
JC Brand
4f86a7ed58
Two small changes.
...
- Width needs to be set on .chatroom obj as well.
- Update docs on allow_dragresize to mention that min-width and min-height
values are honored.
2015-10-24 20:46:58 +00:00
JC Brand
2083413431
Update changelog and small fixes to coding style guide
2015-10-24 20:46:57 +00:00
Javier Mellado
bef4e26a4b
Better writing.
2015-10-20 11:04:15 +01:00
Javier Mellado
b6d463b214
Update development.rst
...
remove capital letter.
2015-10-20 11:02:42 +01:00
Javier Mellado
5f27e25648
Better writing.
2015-10-20 11:01:05 +01:00
Javier Mellado
3142ebbb6b
Force type comparison and documentation updates
2015-10-20 10:57:21 +01:00
JC Brand
af77b3189e
New release: 0.9.6
2015-10-12 15:09:47 +00:00
JC Brand
57a309177f
Fix link to prosody.im
2015-10-08 12:11:48 +00:00
JC Brand
f3e2de9945
Document allow_dragresize option.
2015-09-22 12:40:08 +00:00
JC Brand
ce222e5b75
Small improvements to theming page and tweak css.
2015-08-29 11:51:41 +02:00
JC Brand
0672e84990
Correctly place config setting in right order.
2015-08-24 18:42:08 +02:00
JC Brand
6369465661
Making a new 0.9.5 release.
2015-08-24 17:56:50 +02:00
JC Brand
96253f9673
Document using serviceDiscovery with archive.query.
2015-07-22 00:40:51 +02:00
JC Brand
cd4aabc586
Rename the page size option and document it.
...
updates #306
2015-07-22 00:18:51 +02:00
JC Brand
e03db127cf
Add a new configuration setting. muc_history_max_stanzas
2015-07-21 11:36:07 +02:00
JC Brand
ccf908a658
Document that previous and next RSM methods take limit parameter.
...
updates #306
2015-07-19 23:36:26 +02:00
JC Brand
8a6bca191a
Small doc fixes.
2015-07-17 20:57:00 +02:00
JC Brand
99c7b9cb95
Add a new emitted event: serviceDiscovered.
...
Gets thrown every time converse learns of a supported server service.
Useful when 3rd party code wants to use API methods that depend on the service
being discovered first.
2015-07-17 20:34:48 +02:00
JC Brand
080d86e7fe
Show most recent archived messages first.
...
- Also ensure that the archive.query API always return messages chronologically.
- Fix docs which wrongly state that null can be passed in.
updates #306
2015-07-17 17:56:47 +02:00
JC Brand
69de033cea
Write documentation for the archive API. Also add another test.
...
update #306
2015-07-12 21:27:22 +02:00
JC Brand
eeeaddbe04
Add the ability to read and set MAM preferences.
2015-07-10 15:24:13 +02:00
JC Brand
14c64151ab
New release: 0.9.4
2015-07-04 17:21:21 +02:00
JC Brand
114a25a172
Add initial text on writing a converse.js plugin.
2015-06-27 21:49:40 +02:00
JC Brand
b47069b4f6
Add, test and document an API method for setting the user's status.
...
fixes #367
2015-06-27 21:21:27 +02:00
JC Brand
98f6ea8a3f
Merge pull request #428 from thierrytiti/chat-with-pending
...
Enhancement #394 Option to allow chatting with pending contacts
2015-06-22 21:30:24 +02:00
JC Brand
952b5098cd
Small improvements to quickstart text.
2015-06-22 14:47:53 +02:00
JC Brand
868435173f
Decouple automatic away and XEP-0352 support.
...
- Add new config option csi_waiting_time for CSI support.
- The auto_away and auto_xa options won't send out CSI stanzas if csi_waiting_time is 0
- Update docs and add tests for both features.
2015-06-22 00:01:31 +02:00
JC Brand
19065e62b6
Update the style guide.
2015-06-19 17:54:49 +02:00
thierrytiti
479bab2ce4
Enhancement #394 Option to allow chatting with pending contacts
2015-06-18 16:31:30 +02:00
JC Brand
785244f15e
Add a styleguide to the documentation.
...
Also update the contributor guidelines to mention the styleguide.
2015-06-16 00:20:28 +02:00
JC Brand
a412bd92c4
Merge branch 'MUC-toggle-Call' of https://github.com/thierrytiti/converse.js into thierrytiti-MUC-toggle-Call
2015-05-29 10:12:40 +02:00
JC Brand
8e5d481e1c
Merge branch 'auto-away' of https://github.com/thierrytiti/converse.js into thierrytiti-auto-away
...
Conflicts:
converse.js
2015-05-27 20:01:22 +02:00
thierrytiti
fb589398ad
XEP-0199: XMPP Ping
...
Use modified StropheJS ping plugin (AMD support)
Add Ping functionality
Add Pong handler
Fix to issue #144 :
2015-05-27 18:14:58 +02:00
thierrytiti
7366bb709d
MUC: missing toggle Call handler and function
...
the Call button is visible but no action is done
2015-05-26 16:39:06 +02:00
JC Brand
1d0ffe34ab
Merge branch 'detect_lang' of https://github.com/thierrytiti/converse.js into thierrytiti-detect_lang
2015-05-20 19:20:17 +02:00
JC Brand
3cbb93479f
Mention json header. updates #395 .
2015-05-15 14:46:09 +02:00
thierrytiti
d631af58a9
Automatic Away Mode
...
Add functions for changing user presence to ``away`` or ``xa``
2015-05-13 13:51:24 +02:00
thierrytiti
f521532f2f
Language Detection
...
Replace default en language to autodetection if no i18n setting is set.
2015-05-11 17:36:12 +02:00
JC Brand
f868917d54
Add an "Edit me on Github" ribbon to the docs
2015-05-02 01:21:25 +02:00
JC Brand
e15ec7d443
Add an initial user manual for converse.js
2015-05-02 00:22:50 +02:00
JC Brand
145fd016a3
New release: 0.9.3
2015-05-01 12:29:48 +02:00
pzia
68d111e4b7
bundler is not needed anymore as a debian package
2015-04-26 11:13:35 +02:00
pzia
7e44694d66
Note for debian & ubuntu users
2015-04-26 07:56:22 +02:00
JC Brand
d6038c7c7b
Allow the URL to the sounds to be configurable.
...
Made some modifications to the code contributed by @thierrytiti and documented
the change.
Fixes #344
2015-04-25 22:41:29 +02:00
JC Brand
1ba42a0d4d
Document the change by @thierrytiti
2015-04-25 22:22:16 +02:00
JC Brand
87ff04d806
Some small documentation fixes.
2015-04-24 12:03:22 +02:00
Guillermo Bonvehí
98191056e1
Fix rooms grouping examples in docs
2015-04-16 01:23:13 -03:00
JC Brand
fde0e9c199
Fix RsT errors in docs.
2015-04-09 14:16:29 +02:00
JC Brand
6ef2e50387
Merge branch 'anon_login'
2015-04-09 14:09:26 +02:00
JC Brand
995c5fdb44
Make release 0.9.2
2015-04-08 13:41:31 +02:00