JC Brand
e68c51d2fa
Explicitly list dependencies for modules
...
Instead of using the deps-*.js files. Builds will currently break, they still
need to be reworked.
Also moved the refreshWebkit method to utils.
2016-02-23 07:15:37 +00:00
JC Brand
e79c204241
Refactor the API out into a separate module, src/convers-api.js
...
Plugins are now also updated so that they can get the closured converse object
directly and don't need to rely on _super.
2016-02-20 15:06:12 +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
0db447a585
Add some tests for the ping feature.
2016-02-19 13:02:42 +00: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
16f8b14ea8
Trying out the new pull request template
2016-02-19 10:50:40 +00:00
JC Brand
cb241dd594
Moved all the registration code into a plugin
2016-02-19 10:43:46 +00:00
JC Brand
147a3c9e3e
Found more MUC stuff in core.
...
Move the Occupants views and models to converse-muc.js as well as some
MUC-specific config variables.
2016-02-19 09:45:24 +00:00
JC Brand
572d896676
Merge pull request #598 from davec82/master
...
Add synchronize_presence option
2016-02-18 12:28:54 +01: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
JC Brand
767da07f49
Add converse-otr to non_amd.html
2016-02-17 16:52:02 +00:00
JC Brand
2765715f32
Merge pull request #595 from rlanvin/fix-non-amd
...
Fix non_amd.html
2016-02-17 15:14:00 +01:00
rlanvin
00caccd1a3
Fix non_amd.html
...
- converse-muc.js was overriding the global "converse" variable
with undefind (the factory function didn't return anything)
- locales was not defined in utils.js in non AMD (not passed in
the factory function)
2016-02-17 10:04:46 +02:00
JC Brand
d66ea2079f
Merge pull request #592 from davec82/master
...
add random resource also for auto_login
2016-02-16 15:52:22 +01: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
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