Commit Graph

2428 Commits

Author SHA1 Message Date
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
da0c858fe0 Used debounce ineffectually. Fixed now.
The ChatBox.show() method was being called for every invocation, 100ms after
the fact, instead of it being called only once.

Fixed that and also changed to call it at the start.
2016-02-16 07:47:16 +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
e27dfa060a Add a new template for OTR-related toolbar buttons
The OTR functionality is now fully decoupled and can be removed entirely
without breakage.
2016-02-16 07:47:16 +00:00
JC Brand
9eba9989dc OTR stuff has been moved to a component/plugin in src/converse-otr.js
Also fixed errors with converse obj not being defined in the MUC plugin.
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
JC Brand
02e74ed377 Merge pull request #587 from davec82/master
logout if you are using auto_login=true
2016-02-16 08:41:32 +01:00
JC Brand
894bc41a0f Merge pull request #590 from rlanvin/no-focus-stealing
Don't steal focus when chatbox is opened automatically
2016-02-15 21:13:50 +01: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
JC Brand
76ed0b7b85 Disable cache when using make serve 2016-02-15 15:07:12 +00:00
JC Brand
b99cfddec3 Merge pull request #589 from rlanvin/save-scroll
Keep scroll position on minimize/maximize
2016-02-15 13:41:57 +01:00
rlanvin
1d005a5612 Keep scroll position on minimize/maximize 2016-02-15 14:37:53 +02:00
JC Brand
94004eaa99 Render the default mockup from the templates
The default mockup is now a "live mockup" in the sense that it renders based
upon the templates in `src/templates`.

We use Jasmine and the test_utils to render the different elements.

updates #576
2016-02-15 08:52:23 +00:00
JC Brand
fae4f36886 Use the unminified build file, instead of the minified one.
This should keep diffs smaller and readable.
2016-02-13 18:53:56 +00:00
Davide Colombo
c29534801a disable auto_login on logout 2016-02-12 15:26:39 +01:00
Davide Colombo
69c6749e6a fix typo in italian translation 2016-02-12 14:28:40 +01:00
JC Brand
875a05e0a5 Merge pull request #586 from diditopher/patch-1
Fix for issue #261
2016-02-11 11:51:14 +01: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
174f41f298 Merge pull request #582 from thesabbir/path-01
Bumped version to fix mismatch
2016-02-10 13:22:30 +01:00
JC Brand
0a03e4778f Merge pull request #583 from thesabbir/path-02
Ignoring .idea
2016-02-10 13:21:36 +01:00
Sabbir Ahmed
97e111f5a4 Ignoring .idea 2016-02-10 16:42:20 +06:00
Sabbir Ahmed
19be4e1923 Bumped version to fix mismatch 2016-02-10 16:39:28 +06: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
JC Brand
049782651c Merge pull request #559 from m0cs/fix_reconnect_timeout
A cleaner reconnect timeout.
2016-01-25 14:27:55 +01:00
m0cs
b645d8fb30 Added changelog entry. 2016-01-25 10:05:45 -03:00
m0cs
ca222415b7 A cleaner reconnect timeout. 2016-01-25 10:03:23 -03:00
JC Brand
dd6eae7f2b Merge pull request #534 from LaconicTranslator/master
Translation for Russian language updated.
2016-01-25 13:51:57 +01:00
LaconicTranslator
4b911bc119 Russian translation almost done 2016-01-22 20:50:42 +03:00
JC Brand
b63cd38e13 Merge pull request #554 from rlanvin/master
Fix #487
2016-01-19 13:47:50 +01: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
bc571732e0 Sort config variables. 2016-01-18 10:18:54 +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
1884621f3f Bugfix. Avoid passing IQ to sendPresence. 2016-01-15 09:02:48 +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
9fe6087e39 Simplify the logic of when to send out a presence stanza.
Updates #521 and #536.

Turn the logic around so that a presence stanza is always sent out, except in
the single case where we know for sure that the session was restored, in which
case a presence stanza is not required becaus we "never left".
2016-01-15 05:40:17 +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
LaconicTranslator
ab28a3375b Translation for Russian language updated. Still undone. 2015-12-24 17:41:07 +03:00
JC Brand
8f5114578b Make clear in changelog that 0.10.1 is not yet released. 2015-12-04 10:20:33 +00:00