JC Brand
b2e1896274
Clarify a little
2016-07-25 13:34:44 +00:00
JC Brand
71381e2f22
Show requesting contacts when filtering by chat state.
...
Also add an initial test case for filtering by chat state.
2016-07-18 08:42:07 +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
be122af3ed
Add tests for rendering of error messages.
2016-06-23 08:56:15 +02:00
JC Brand
9e8674ef55
Rename ChatBoxView.insertIntoPage
to ChatBoxView.insertIntoDOM
...
to ensure naming consistency, we have the same method on `ChatRoomView`.
2016-06-22 15:54:22 +02:00
JC Brand
9cfec0ba8c
Show requesting contacts at the top of the roster view.
2016-06-21 17:48:18 +00:00
JC Brand
888cd8c982
Mention the new CDN
2016-06-21 07:07:22 +00:00
JC Brand
ffa8661799
Update chatroom css
2016-06-20 19:56:06 +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
2c6f6bfef2
Merge branch 'soft-dependencie'
2016-06-13 07:45:15 +00:00
amanzur
45a3e643a8
online users count issue-656 ( #657 )
...
* online users count issue-656
* change log entry added for issue 656
2016-06-10 16:27:28 +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
b4aeb94279
Don't use sound/desktop notification for OTR messages.
2016-05-30 18:19:10 +00:00
JC Brand
6bfcce5fcb
Don't ignore incoming messages from current JID
...
they might be MAM archived messages.
Fixes #650
2016-05-30 17:30:14 +00:00
JC Brand
2b88db812d
Don't show "new messages" indicator for archived messages
2016-05-30 17:18:07 +00:00
JC Brand
a050015e61
Add processing hints to chat state notifications
...
So that they're not stored in MAM.
2016-05-30 16:53:31 +00:00
JC Brand
bd23a7751a
Add processing hints to OTR messages
...
so that they're not stored in MAM and not forwarded.
updates #553
2016-05-30 16:52:26 +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
Kamran
b82e0f3136
Fix for issue #648 ( #649 )
...
* Updated onDisconnected method to fire disconnected event. Issue #648
* Updated docs/CHANGES.md
2016-05-28 00:31:58 +02:00
JC Brand
29c2a96481
Bot message doesn't appear when it has the same id as its command
2016-05-25 07:54:58 +00:00
JC Brand
aaaacf2513
Also show the day for the first received messages.
...
Until now, new days were only indicated for messages received on different days
*after* the day's messages.
2016-05-25 06:24:42 +00:00
JC Brand
cb288341fb
Bugfix. Login form doesn't render after logging out
...
when auto_reconnect = false
2016-05-24 09:03:41 +00:00
JC Brand
1545018edf
New release 1.0.2
2016-05-24 08:47:22 +00:00
JC Brand
6550544b41
Bugfix. Bind to right context.
2016-05-24 08:41:59 +00:00
JC Brand
8a74cc3323
New release: 1.0.1
2016-05-24 08:23:19 +00:00
JC Brand
0a7caa27d9
Update changelog for next release.
2016-05-24 08:06:54 +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
5fa5f8272f
New release 1.0.0
2016-05-03 15:37:41 +00:00
José María Rubio Moral
902cf0720e
Feature/add catalan language ( #634 )
...
* feature add catalan language
* feature add catalan language
2016-04-14 11:05:22 +02: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
8e0f8f0a6d
Add the ability to filter contacts by chat state.
...
The roster filter is now also remembered across page loads.
2016-04-02 11:30:54 +00:00
JC Brand
332a0d920d
Sass and CSS fixes for landscape mobile views.
2016-04-01 12:40:38 +00:00
JC Brand
76f538db7c
Mention new config options in changelog
2016-03-31 09:41:15 +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
b3e9a177e2
Merge pull request #617 from lixmal/master
...
Remove split of fullname. Fixes #609
2016-03-28 10:28:38 +02: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
82aa9fec2c
Support for showing headline messages.
2016-03-21 10:00:10 +00:00
Viktor Liu
ad036ea75f
Remove split of fullname. Fixes #609
2016-03-20 01:47:51 +01: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
df99fa8c0d
Use rel=noopener
with links that contain target=_blank
...
...
to prevent potential phishing attacks.
More info here: https://mathiasbynens.github.io/rel-noopener
2016-03-16 08:52:45 +00:00
JC Brand
4f8c46c4a7
Update changelog
2016-03-15 18:14:49 +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
badfiles
2e76fea647
Update CHANGES.md
2016-03-06 22:07:50 +03: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
7f5962a177
Add plugin for HTML5 notifications. updates #443
2016-02-29 20:59:11 +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
JC Brand
8bf8c318aa
Merge pull request #600 from davec82/master
...
change xmpp status also on icon-status click
2016-02-20 10:22:41 +01:00
JC Brand
f371b62157
Move XMPP Ping code to a plugin.
2016-02-19 13:02:31 +00:00
Davide Colombo
cde205f673
fix change xmpp status also on icon-status click
2016-02-19 12:49:02 +01:00
JC Brand
cb241dd594
Moved all the registration code into a plugin
2016-02-19 10:43:46 +00:00
Davide Colombo
e934917685
add synchronize_availability option
2016-02-18 12:18:56 +01:00
JC Brand
8c06f917ae
Restore @rlanvin's changes that were lost during merge
...
Fixes #596
2016-02-17 17:09:48 +00: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
Davide Colombo
2e50ecb9c1
add method to generate random resource and add random resource also for auto_login
2016-02-16 15:29:13 +01:00
JC Brand
a687e87e01
Remove deprecated API and update changelog.
2016-02-16 07:50:52 +00:00
JC Brand
e94904e4a1
Don't play sound notifications for...
...
OTR messages which are setting up an encrypted session.
2016-02-16 07:47:16 +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
rlanvin
6599b70602
Don't steal focus when the chatbox opens automatically
...
- Adding a new parameter "focus" to ChatBoxView.show
- Removing the parameter "callback" not used
2016-02-15 18:19:14 +02:00
rlanvin
1d005a5612
Keep scroll position on minimize/maximize
2016-02-15 14:37:53 +02:00
Christopher Rüprich
aec966e36a
Fix for issue #261
...
When converse is first initialized this.model.get('closed') is undefined, at least with some configurations. This patch initializes the attribute with !show_controlbox_by_default if it is undefined.
Update CHANGES.md
fix make check
Update CHANGES.md
2016-02-11 11:05:57 +01:00
JC Brand
a42ce378a1
Fall back to using python as xgettext language
...
if javascript is not supported. Fixes #573
2016-02-08 09:34:05 +00:00
JC Brand
cbdda26a19
New release: 0.10.1
2016-02-06 09:23:50 +00:00
JC Brand
26b45be9e0
Clear the roster when a BOSH session can't be restored
...
Fixes #555
2016-02-06 09:08:05 +00:00
m0cs
b645d8fb30
Added changelog entry.
2016-01-25 10:05:45 -03:00
rlanvin
8d495d30fe
Fix #487
...
Emptying the resources array when the resource is null
2016-01-19 13:52:04 +02: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
99f1a9c93d
Markdown formatting in changelog.
2016-01-15 09:44:07 +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
f779b9a3c0
Fixes #535 . Room doesn't get opened when mixed-case JID is used.
2016-01-15 08:49:19 +00:00
JC Brand
6dcafb5b2c
Don't scroll down on event notifications
...
(when user manually scrolled up).
Updates #352
2016-01-15 07:40:40 +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
9d7b41cd96
Fixes #540 . Remove deprecated way of initializing plugins.
...
Should already have been removed in the previous release.
2016-01-14 21:09:35 +00:00
JC Brand
48c6e3778b
Fixes #521 and fixes #536 (hopefully)
...
Make sure to send out a presence stanza when one of the following:
1. The connection dropped and the user logged in again
2. Websockets are used (each session is established anew)
3. Keepalive isn't being used in BOSH (each session is established anew).
2016-01-13 20:25:56 +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
JC Brand
8f5114578b
Make clear in changelog that 0.10.1 is not yet released.
2015-12-04 10:20:33 +00:00
andreabenini
2db3f364c5
Update CHANGES.md
2015-12-02 11:17:24 +01: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
1fb0de06f3
Update changelog for next release.
2015-11-05 11:08:06 +00:00
JC Brand
c1d9f1e201
Converse the changelog to markdown.
2015-11-05 10:59:46 +00:00
JC Brand
ea701f3865
updates #493
...
Compare bare JID of from attr in roster update. @teseo's fix was too specific
and tailored for a misbehaving server (servers shouldn't be sending from the
full JID in a roster push).
2015-11-04 18:00:44 +00:00
JC Brand
1dffa823dd
Fixes #459
2015-11-02 00:16:45 +00:00
JC Brand
88f043d9ca
Merge branch 'master' into sass-refactor
2015-10-31 17:44:59 +00:00
JC Brand
b767051d9d
Remove "is typing" notification after 10 seconds. fixes #508
2015-10-31 17:38:51 +00:00
JC Brand
c0863d3eb2
Fixes #510 Collection should not get an id.
2015-10-31 17:28:05 +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
8b3ede9e56
Remove unused parts from Gruntfile
...
Wouldn't mind getting rid of grunt completely.
2015-10-27 09:11:36 +00:00
JC Brand
218b4714fd
Add changelog entry for horizontal drag resize.
2015-10-24 20:46:58 +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
JC Brand
d14cb4c14b
Update changelog.
2015-10-22 10:39:36 +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
6344703cb8
Merge pull request #500 from 1st8/master
...
Fix #467
2015-10-12 16:53:23 +02:00
JC Brand
12d6785d02
Fixes #472 Cannot read property 'splitOnce' of undefined
2015-10-12 14:24:22 +00:00
JC Brand
7d1fc391ac
Don't attempt to fetch archived messages if not supported
...
by the server. Otherwise we get a spinner that doesn't disappear.
2015-10-12 13:22:06 +00:00
Christoph
e20018961f
Fix outgoing chat messages not having a msgid when being put into sessionStorage, fixes #467
2015-10-12 11:06:12 +02:00
JC Brand
57a309177f
Fix link to prosody.im
2015-10-08 12:11:48 +00:00
JC Brand
eeb8210ff6
Fixes #496 . Bind converse to this in callback.
2015-10-07 08:07:05 +00:00
JC Brand
0d9d632f40
Bugfix for #493
2015-09-30 21:04:37 +02:00
JC Brand
f3e2de9945
Document allow_dragresize option.
2015-09-22 12:40:08 +00:00
Christoph Geschwind
1463e7cc33
Update CHANGES.rst
2015-09-09 13:25:53 +02:00
JC Brand
0d4cf15f0e
Move changelog entry to right version and add test case.
2015-09-09 10:17:46 +02:00
Christoph Geschwind
d08ce409c8
Add #462 to CHANGES.rst
2015-09-04 13:26:33 +02: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
f7c27a08a5
Mention that MAM is now supported.
2015-07-29 14:20:39 +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