Commit Graph

432 Commits

Author SHA1 Message Date
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
thierrytiti
05cc4d714a CSS: Fonts Path: editable $font-path via sass/variables.scss
Add a variable to build CSS with another path for the fonts
import added in  ``sass/converse.scss`` : Undefined variable $font-path
with ``make css``
2015-05-22 13:57:50 +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
thierrytiti
08c94be1b7 CSS Fixes
main div conversejs
- left and width: The last 35px at bottom of the page is not clickable
- right: in some case (e.g. frame in div), the div is over the vertical
scrollbar

room-info:
- wrong placement on hover after information fetched on a room
2015-05-20 17:52:19 +02:00
thierrytiti
a660f853c1 XEP-0352: Client State Indication
XEP-0352 support added to Auto Away Mode
2015-05-20 12:12:08 +02:00
thierrytiti
aebd59825c Changelog
French translation
2015-05-15 19:09:12 +02:00
JC Brand
3cbb93479f Mention json header. updates #395. 2015-05-15 14:46:09 +02:00
JC Brand
68bcc9d0eb Merge pull request #399 from thierrytiti/bugfixes
Bugfix. fullname is null
2015-05-15 14:41:18 +02:00
thierrytiti
7a359562ad Add placeholder for 'Insert a smiley' 2015-05-15 12:01:29 +02:00
thierrytiti
e64c19fc18 Bugfix. fullname is null
wrong callback argument mapping in XmppStatus initialize: fullname is
null
2015-05-15 11:05:26 +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
Guillermo Bonvehí
2e516f347e Updated CHANGES 2015-05-08 14:12:14 -03:00
Guillermo Bonvehí
ef305fff55 Updated CHANGES.rst 2015-05-07 12:59:36 -03:00
JC Brand
c0bec459a0 Bugfix. See below.
Manual login doesn't work when websocket_url is set and not bosh_service_url

It's already a while since we don't include an input for the bosh_service_url in the login panel.
2015-05-06 16:46:37 +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
6088eaf9dc Remove strophe.roster.js and update changelog. 2015-05-01 14:50:27 +02:00
JC Brand
145fd016a3 New release: 0.9.3 2015-05-01 12:29:48 +02:00
JC Brand
e7180f20b1 Add Ukranian translations 2015-05-01 11:16:23 +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
c2be6019f7 Remove type="email" from JID input. 2015-04-25 23:34:52 +02:00
JC Brand
a3da42aeed Update changelog 2015-04-25 22:45:16 +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
JC Brand
3c71031390 Update changelog for issue #372 2015-04-21 17:34:15 +02:00
JC Brand
6dc355a02a Show the domain when rendering a legacy registration form.
Also updated the changelog with #377
2015-04-21 17:21:26 +02:00
Florian Cargoët
50ef156a6d Add changelog entry for #374 2015-04-17 17:06:17 +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
3f884f0d03 Update the changelog after merge from 'anon_login' branch. 2015-04-09 14:13:21 +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
JC Brand
b177a6a7a0 Bugfix for incorrect roster height when allow_contact_requests=false.
Also update changelog and fix some linting errors.

Fixes #360
2015-04-08 13:12:29 +02:00
JC Brand
abae9ad6c0 Merge pull request #362 from pzia/master
Adding 'rooms' API
2015-04-08 12:24:49 +02:00
JC Brand
f3101a347f Use the ::-moz-selection because Firefox doesn't know ::selection
fixes #364
2015-04-08 12:20:50 +02:00
pzia
fb8c71b4c7 API documentation for jcbrand/converse.js#355 2015-04-05 08:36:26 +02:00
JC Brand
df0c55ed4d Merge branch 'master' into anon_login 2015-04-04 11:32:22 +02:00
JC Brand
5a488333ec Add a test and changelog entry for #359
updates #359
2015-04-04 11:25:50 +02:00
JC Brand
a2be2567d2 Allow auto_login also with a provided jid and password.
* Update the docs to mention the new ``authentication`` option.
* Update failing tests due to ``prebind`` being replaced with ``authentication``.
* Rename 'manual' value for authentication to 'login' since it's used in both manual and auto cases.
2015-04-02 13:07:59 +02:00
JC Brand
5ec7c67b50 Don't automatically show a chat box when creating it. updates #357
This caused a bug whereby a chat box would open only on chat state
notifications.

Also refactored the chats.open and chats.get methods so that they now reuse the
same map function and so that chats.get can now return any chat box and not
just already open ones.

Updated the tests to properly test this and updated the docs.
2015-04-02 02:01:53 +02:00
JC Brand
14c09c509e Add some consistency to how errors are thrown.
Add tests for contacts.add API method and make it a bit more compact.
Add entry in changelog.

update #354
2015-03-31 15:29:41 +02:00
pzia
6879405e85 Throw exception if no jid or invalid jid. (#354) 2015-03-30 12:02:28 +02:00
JC Brand
e0e0f1b7d7 Make release 0.9.1 2015-03-26 09:58:09 +01:00
JC Brand
7cd27a71b3 Enable automatic reconnecting when `prebind and prebind_url` are
specified.

fixes #330
updates #333
2015-03-21 23:41:39 +01:00
JC Brand
8d818fd5fd updates #339.
* The JID is only required when using keepalive with prebind.
* Provide a logout API method.
2015-03-21 21:50:48 +01:00
JC Brand
1a670e1d47 Require that a "JID" be specified with keepalive. updates #339 2015-03-21 21:32:04 +01:00
JC Brand
c1d48b6f2c Docs fix: converse.on should be converse.listen.on
fixes #341
2015-03-18 11:33:26 +01:00
JC Brand
d0b8a3870b Add a test to check that notifications are properly sent in chat rooms. 2015-03-16 17:27:26 +01:00
JC Brand
77137a538c Document that event listeners receive event as first arg. Fixes #336 2015-03-16 10:41:20 +01:00
JC Brand
5fb319fcae Documentation fix. 2015-03-11 12:47:09 +01:00
JC Brand
90e4d6cba6 Add new configuration setting "allow_contact_removal". 2015-03-09 19:47:24 +01:00
JC Brand
f1753be5a6 Expand the setup docs and re-add section "What you will need" 2015-03-08 14:17:21 +01:00
JC Brand
17da00d5c1 Release version 0.9.0 2015-03-06 18:49:31 +01:00
JC Brand
7473f458eb Mention prebind_url in changes and update links to docs for older settings. 2015-03-05 23:20:46 +01:00
JC Brand
d40eebc41f Document the prebind_url option. 2015-03-05 23:11:07 +01:00
JC Brand
5e1a4bd9f4 Remove tests for old deprecated API methods. 2015-02-27 21:42:40 +01:00
JC Brand
387bb6f3a4 Bugfix. Custom status message form does not submit/disappear. 2015-02-27 18:32:23 +01:00
JC Brand
c70561b898 Some API changes:
* Let contacts.get() return all roster contacts.
* Also, add "open" method for the chats API.
* chats.get will now only return a chat box if it's already open.
2015-02-25 18:31:09 +01:00
JC Brand
04912c5c5a Merge branch 'master' into amd-strophe
Conflicts:
	docs/CHANGES.rst
2015-02-22 12:53:18 +01:00
JC Brand
b31261f6fd Expand the API to allow configuration settings to...
be set on the fly.
2015-02-11 15:08:10 +01:00
JC Brand
0407826057 Two websocket related changes. updates #204
* Handle case where no websocket url is specified.
* Update the documentation w.r.t. websockets
2015-02-08 20:02:53 +01:00
JC Brand
3e9994e01c Websocket support. closes #204 2015-02-07 16:54:58 +01:00
JC Brand
af87d59e96 Add analytics for the documentation. 2015-02-07 14:07:31 +01:00
JC Brand
ec51c3660a Add theming documentation and extend the docs on creating builds. 2015-02-05 15:58:51 +01:00
Guillermo Bonvehí
fc0a1d9dbd Added test case for #305 and updated CHANGES.rst 2015-01-23 12:06:10 -03:00
Guillermo Bonvehí
025d032e7a Added change to CHANGES.rst 2015-01-22 17:44:24 -03:00
Guillermo Bonvehi
972fe46bf0 Added build instructions for Windows environments.
Add Makefile.win example
Add Chocolatey references + required packages
2015-01-22 13:55:43 -03:00
JC Brand
c646e93a9b Don't set out message carbons IQ stanza on each page load. 2015-01-17 13:24:05 +01:00
JC Brand
ad0f8a336a Update translation docs.
We now no longer need the step of pasting the json code into a standalong .js
file.
2015-01-16 23:06:06 +01:00
JC Brand
5379c5f294 Mention polish translations in readme. 2015-01-16 22:57:48 +01:00
JC Brand
cea68e5af0 Merge branch 'chat_states'
Conflicts:
	docs/CHANGES.rst
2015-01-16 20:06:53 +01:00
JC Brand
7df30beae2 Merge branch 'add-allow-registration-doc' of https://github.com/gbonvehi/converse.js into gbonvehi-add-allow-registration-doc
Conflicts:
	docs/CHANGES.rst
2015-01-07 14:55:14 +01:00
Guillermo Bonvehi
a666ba467d added #295 document allow_registration to changes.rst 2015-01-06 00:29:00 -03:00
Guillermo Bonvehi
3bbdafcb9d Closes #295: allow_registration is now mentioned in configuration doc 2015-01-05 14:08:40 -03:00
Guillermo Bonvehi
f7566d0299 Add related issues solved #252 and #253 to CHANGES.rst 2015-01-05 12:40:01 -03:00
JC Brand
bb468ae0a3 Add better support for XEP-0085. closes #292
Converse.js will now send chat state notifications of <paused>, <inactive> and
<gone> when the user has stopped typing for 30 seconds, 2 minutes and 10 minutes
respectively.
2015-01-01 22:59:10 +01:00
JC Brand
f738698525 Add dev.html specifically for development. Update CHANGES
removes need to modify index.html all the time.
2015-01-01 03:49:42 +01:00
JC Brand
3b65a029cf Update af translations. 2014-12-20 11:56:45 +01:00
JC Brand
8576d9487c Add Norwegian translations. 2014-12-20 11:18:44 +01:00
JC Brand
3e03df4745 Add headings to translations docs. 2014-12-20 10:59:39 +01:00
JC Brand
6ea9d1771e Change headings to make TOC clearer. 2014-12-18 14:39:03 +01:00
JC Brand
303a412b38 New release 0.8.6 2014-12-07 22:50:10 +01:00
JC Brand
5142f5637b Mention Gina Moerk's mailing list post. 2014-12-07 12:37:33 +01:00
JC Brand
3bf5eeb4a8 Bugfix. Could not render chat room configuration form. 2014-12-07 11:13:50 +01:00
JC Brand
9359c76c42 Small tweaks to site and doc css.
Also, in Makefile, remove old HTML build first during "make html" step.
2014-12-07 10:48:32 +01:00
JC Brand
bcf47d6c7c Add documentation on how to contribute to the docs. 2014-12-07 01:19:01 +01:00
JC Brand
84fd21b38b Configure docs theme. 2014-12-07 00:53:59 +01:00
JC Brand
1be0917a7b Enable chat for the documentation as well. 2014-12-07 00:53:41 +01:00
JC Brand
c8e4f02bf5 Split the documentation out into subfiles. 2014-12-07 00:53:17 +01:00
JC Brand
f893e94312 rid, jid and sid weren't being set. fixes #285 2014-12-06 19:05:50 +01:00
JC Brand
20e15b5623 Sphinx changes.
* Add buildout config for Sphinx
* Add new Sphinx theme
* Remove the built html theme files
2014-12-06 18:58:58 +01:00
JC Brand
e4307f7ab8 See below
* Fix login panel rendering bug
* Make registration form i18n aware.
* Make providers link configurable.
2014-12-06 18:58:14 +01:00
JC Brand
92ed46f844 New release 0.8.5 2014-12-01 20:53:08 +01:00
JC Brand
5f41d9779a Update readme and changes 2014-11-25 10:59:59 +01:00
JC Brand
e246335b03 Bugfix. JIDs not shown in chatrooms. fixes #282 2014-11-25 09:55:15 +01:00
JC Brand
9a84e44db4 updates #234 Cannot send/receive messages when JIDs have mixed case 2014-11-16 22:23:24 +01:00
JC Brand
c98e516e39 New release 0.8.4 2014-11-15 16:40:34 +01:00
JC Brand
3f01e94b9b Fixes #177 Setting status to 'offline' does nothing in other clients. 2014-11-15 16:09:36 +01:00
JC Brand
efa56ffb33 Fixes #232 Always get full name from model. 2014-11-15 15:44:33 +01:00
JC Brand
52c3df7cb4 Fixes #260 Sent message carbons are not displayed. 2014-11-15 15:38:15 +01:00
JC Brand
ef8082a31d Fixes #262 Contact requests not shown if page reloaded. 2014-11-15 14:42:56 +01:00
JC Brand
3d6d14c47d Fixes #274 Roster filtering results change with presence changes 2014-11-15 14:03:17 +01:00
JC Brand
d007339415 Fixes #275 Custom status message doesn't reset. 2014-11-15 13:28:11 +01:00
JC Brand
fdb80e3d2c Save the MUC domain to session storage.
Fixes #237
Fixes #238
2014-11-15 13:17:40 +01:00
JC Brand
6cdd793758 Update docs due to recent pull requests. 2014-11-15 11:04:33 +01:00
JC Brand
25b56e3538 Rename "buddy" to "contact". Fixes #226 2014-11-09 18:07:06 +01:00
JC Brand
1bb7900bdd Update changelog 2014-11-09 13:11:05 +01:00
JC Brand
6100aaf114 Refactor the API. updates #46
API methods now consist of simple accessors and mutators that are logically
grouped.
2014-11-09 13:06:09 +01:00
JC Brand
7bdb7ae5aa Revert "Small change to remove need for jquery-private-external.js updates #269"
This reverts commit d33faa53d0.

Conflicts:
	src/build-no-jquery.js
2014-10-30 15:25:53 +01:00
JC Brand
d33faa53d0 Small change to remove need for jquery-private-external.js updates #269 2014-10-30 11:57:25 +01:00
JC Brand
147e62d000 Don't increment unread msgs counter for <paused> chat state.
Also update release notes. updates #267
2014-10-30 11:48:58 +01:00
JC Brand
96b6b55257 Update CHANGES 2014-10-28 18:19:24 +01:00
JC Brand
8dedef7002 Create new PO file for Polish.
Also update documentation to mention msginit.
2014-10-21 13:18:26 +02:00
JC Brand
4bcf26114c Add docs for the 2 new API methods. updates #46 2014-10-12 11:03:35 +02:00
JC Brand
48dd0cc674 Trying to organize doc chapters a bit more logically. 2014-10-12 11:03:25 +02:00
JC Brand
5b46e27c41 Add 2 new API methods. updates #46
Added openChatBox and getChatBox.
2014-10-12 10:34:33 +02:00
Sergey Fedoseev
adbcf01a98 index.rst: change duplicated allow_muc to allow_otr 2014-10-01 14:01:45 +06:00
Sergey Fedoseev
0c840aa8d4 index.rst: remove trailing spaces 2014-10-01 14:01:40 +06:00
JC Brand
5bad6b02b6 Clarify how one should use prebind and keepalive together. 2014-09-30 12:27:53 +02:00
JC Brand
64847bcb96 Add new event noResumeableSession 2014-09-26 17:20:52 +02:00
JC Brand
c71b03094d Move website specific code out of main.js and into index.html. updates #229
Otherwise, we get errors "Cannot read property top of undefined".
2014-09-26 11:33:47 +02:00