JC Brand
a75779300d
Document security considerations around OMEMO and webcrypto
2018-10-19 12:26:03 +02:00
JC Brand
aa30d97cea
Update build documentation to mention make watch
2018-10-18 20:33:46 +02:00
JC Brand
18dad134fc
Document that OMEMO is disabled when the device is untrusted
2018-10-18 08:08:44 +02:00
JC Brand
0c58cb7c48
Add the show_images_inline
option
...
updates #1228
2018-10-16 00:06:01 +02:00
JC Brand
053d4070f2
Fixes #1176
...
Add config setting `send_chat_state_notifications`
2018-10-07 05:08:08 +02:00
JC Brand
5d97445d3e
Show the sponsors in the sphinx docs
2018-10-06 22:29:57 +02:00
JC Brand
79b8ed7177
New release 4.0.2
2018-10-02 22:51:01 +02:00
JC Brand
b9c6a29fdf
Update to newest lodash
2018-09-24 21:53:54 +02:00
JC Brand
99bd98004b
Add 404 for OPTIONS request to troubleshooting section
2018-09-24 09:52:09 +02:00
JC Brand
11dd79f8cd
New release 4.0.1
2018-09-19 16:16:10 +02:00
JC Brand
cb8b5a7039
Update the developer documentation
2018-09-18 11:17:27 +02:00
JC Brand
8c391fe067
Add new config setting enable_muc_push
2018-09-13 11:48:11 +02:00
JC Brand
2df9b24211
Add option to auto-register your nickname to a room
...
See https://xmpp.org/extensions/xep-0045.html#register
2018-09-12 12:36:13 +02:00
Martin/Geno
dbe88535f1
[BUGFIX] html br
2018-09-10 15:58:17 +02:00
JC Brand
09bb6b494d
New release 4.0.0
2018-09-07 16:20:30 +02:00
JC Brand
1d38d8af03
Use twemoji for rendering emojis
2018-09-03 13:24:37 +02:00
JC Brand
b79c946c52
Don't show old API in the table of contents
2018-09-03 09:50:50 +02:00
JC Brand
866f2737da
More JSDoc docstrings for API methods
2018-09-02 23:43:39 +02:00
JC Brand
16deecd468
All API methods of converse-core are now documented with jsdoc
2018-09-02 12:15:26 +02:00
JC Brand
45fc71c05d
More jsdoc docstrings as well as an intro page and JSON config
2018-09-02 10:11:37 +02:00
JC Brand
9f8d30dde3
Create a new store, _converse.config
to store trusted
...
The `_converse.session` store gets cleared after logout, but we want the
`trusted` flag to persist after logout.
Also update the documentation no that the `storage` config option has
been removed in favor of `trusted`.
2018-08-23 09:41:39 +02:00
JC Brand
bfb7ea4fc8
Add missing index.rst to integrate JSDoc API into sphinx
2018-08-03 14:48:04 +02:00
JC Brand
dc4c832fce
Add jsdoc docstrings to chats
API.
...
Link to the jsdoc output from the Sphinx docs
2018-08-01 12:11:10 +02:00
JC Brand
1443fdd447
(WIP) Wait for promises before opening chats in API methods
2018-08-01 11:10:43 +02:00
JC Brand
964b10dc33
Set default BOSH wait
time to 59
...
to avoid timing conflicts with the webserver
2018-07-28 17:13:13 +02:00
JC Brand
b323794fe4
Document timeout fix for parsing errors
2018-07-28 16:57:08 +02:00
JC Brand
3dac4ae45c
Add support for logging in with OAuth
2018-06-13 18:39:51 +02:00
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