Commit Graph

455 Commits

Author SHA1 Message Date
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
JC Brand
6cd9fb5500 Merge branch 'master' into mam 2015-07-14 10:43:35 +02:00
JC Brand
7fd475e2a3 Avoid adding a falsey value as resource. fixes #440 2015-07-14 10:27:40 +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
ae58e3d1be Merge branch 'master' into mam 2015-07-11 13:53:28 +02:00
JC Brand
1766aa75f2 Bugfix: keepalive and autologin aren't mutually exclusive.
fixes #439
2015-07-11 13:51:44 +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
0afa7ec188 Don't carbon copy OTR messages. 2015-07-03 11:41:14 +02:00
thierrytiti
f514081a78 Cleanup references to strophe.roster.js 2015-07-01 16:56:36 +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
f73f61e622 Expose is_chatroom attribute on chat boxes returned by the API 2015-06-27 08:44:14 +02:00
JC Brand
14c868f134 With keepalive, don't send out a presence stanza on each page load. 2015-06-27 07:33:16 +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
e999f2c6df Merge branch 'i18n-momentjs' of https://github.com/thierrytiti/converse.js into thierrytiti-i18n-momentjs
Conflicts:
	converse.js

Also refactored the code to adhere to the style guide.
2015-06-22 19:54:51 +02:00
JC Brand
56cd540f5d Update changelog after merge. 2015-06-22 18:55:02 +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
b7761ea169 Sort changes, add issue numbers and add entry...
mentioning plugins architecture refactoring.
2015-06-04 12:23:11 +02:00
JC Brand
217f3255f7 Sorted the latest changes and combine some. 2015-05-31 14:52:18 +02:00
JC Brand
bf61122805 Avoid trying to retrieve non-existing models. fixes #415 2015-05-31 14:39:28 +02:00
JC Brand
15e5df74e0 Merge branch 'icomoon-xa-icon' of https://github.com/thierrytiti/converse.js into thierrytiti-icomoon-xa-icon 2015-05-29 12:00:14 +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
thierrytiti
85915a6498 Add XA status icon
fonts built with icomoon
2015-05-28 16:55:14 +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
f75b3a075a I18N: detect language for MomentJS
user language detection in order to format date and time in correct
locale
2015-05-27 14:29:22 +02:00
thierrytiti
24b204e8a4 Offline Pretty Status
add offline as possible case to enable translation
2015-05-26 18:36:17 +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