Commit Graph

517 Commits

Author SHA1 Message Date
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