Commit Graph

888 Commits

Author SHA1 Message Date
JC Brand
a01d510249 Proper truncating (with ellipsis) of chatroom names 2013-10-08 09:09:17 +02:00
JC Brand
8a2e4e83e7 Remove getItem.
It's a relic from a time before the class subclassed a Backbone.Collection
2013-10-08 08:45:17 +02:00
JC Brand
a3dc23bf3e Bugfix. When trying to reconnect: 'connection' is not defined.
Conflicts:
	converse.js
2013-10-07 21:36:50 +02:00
JC Brand
86eef5b1c2 Re-minify JS 2013-10-07 09:21:15 +02:00
JC Brand
e883d137fc Bugfixes. RosterItemView didn't rebind events. Undefined vars in onConnect.
When using show_only_online_users, roster item DOM elements are removed from
the DOM if their status changed from 'online' to something else.

When their status changed to 'online' again, they were re-added.

Their views (RosterItemView) instances however didn't listen to events anymore.

Calling delegateEvents on the view after calling $.remove() fixed this.
2013-10-07 09:16:26 +02:00
JC Brand
1b1bac22ef Reminify JS 2013-10-05 23:18:57 +02:00
JC Brand
95dd2dac4b Don't use the requirejs task, it doesn't support almond.
Instead we build manually. Fixed paths in build.js

Conflicts:
	Gruntfile.js
2013-10-05 23:17:45 +02:00
JC Brand
3bf27e8b5f New config option `show_only_online_users`
If true, only users with a status of 'online' will be shown in the contacts
roster.
2013-10-05 23:07:42 +02:00
JC Brand
fcc1f5adf4 A bit of reordering.
Move all module-level functions/variables and Backbone Modules/Views together.
Add headings to indicate logical sections.
Make statuses variable module-level and indicate that it's a constant (all caps)
2013-10-05 22:34:47 +02:00
JC Brand
ef1c834090 Don't check for allow_contact_requests in RosterItemView render method
This method shouldn't be called when contact requests aren't allowed because
roster items are then not created for contact requests.
2013-10-05 22:16:09 +02:00
JC Brand
feda94178c Refactor incoming subscription handling code into its own method 2013-10-05 16:46:57 +02:00
JC Brand
ff8c509a60 Minify CSS and JS 2013-10-05 08:04:32 +02:00
JC Brand
feb87bc88b Mention new languages 2013-10-04 09:03:50 +02:00
JC Brand
3a1bd7c4e6 Remove duplicate allow_muc and sort 2013-10-03 19:01:58 +02:00
JC Brand
a5b5e7538f 2 Bugfixes.
- Register handlers that depend on the roster inside initRoster and the
  message handler inside chatboxes.onConnected. This solves problem of presence
  stanzas being received before handlers are initialized. Updates #65

- Check if MUC is allowed during feature discovery
2013-10-03 18:43:49 +02:00
JC Brand
7f371b883e Add config option `allow_contact_requests` to toggle user adding 2013-10-03 15:58:09 +02:00
JC Brand
6d026f010e Fix tests that were broken after vCard changes
Conflicts:
	tests_main.js
2013-10-03 13:51:29 +02:00
JC Brand
7f4bdb4098 Don't use id for controlbox panes 2013-10-03 13:45:50 +02:00
JC Brand
feaff64aab Add setting to enable/disable MUC 2013-10-03 13:16:26 +02:00
JC Brand
32593b755f Merge branch 'master' of git://github.com/bkocherov/converse.js into bkocherov-master
Conflicts:
	locale/locales.js

Conflicts:
	index.html

Add Russian translation by bkocherov (actually made against master branch)
2013-10-03 09:10:24 +02:00
JC Brand
3417e8fc08 Update CHANGES.rst 2013-10-03 08:36:57 +02:00
JC Brand
e9102a9621 Merge branch '0.6.x' of git://github.com/w3host/converse.js into w3host-0.6.x 2013-10-03 08:16:26 +02:00
JC Brand
3dfcd3c04a Remove old classes before adding new ones. Updates #38 2013-09-26 21:46:10 +02:00
w3host
d0e9618efa Hungarian translation 2013-09-26 15:19:14 +02:00
JC Brand
b36e6bbce1 Fetch vCard once a roster contact is added. Updates #38
This will happen in the background and in the meantime roster contacts will
appear under their JIDs.
2013-09-26 11:53:47 +02:00
JC Brand
aad8de02d0 Merge pull request #54 from TracyWebTech/css-clash
Avoiding clash with bootstrap
2013-09-20 00:03:33 -07:00
Sergio Oliveira
0bf807fd94 Avoiding clash with bootstrap
Using #chatpanel in front of every css class to avoid css name clashing
with bootstrap and other css frameworks
2013-09-19 13:05:29 -03:00
JC Brand
f80fd2a64c Mention case where grunt is not installed globally 2013-09-17 12:10:59 +02:00
JC Brand
2c884c05a3 Use * for rst bullet rendering 2013-09-15 21:44:55 +02:00
JC Brand
7432cd2406 Regenerated docs (new version number). Add release checklist 2013-09-15 21:37:56 +02:00
JC Brand
9c75683354 Bump versions and re-minified 2013-09-15 21:35:03 +02:00
JC Brand
bc31781309 Update Makefile to auto-bump version number 2013-09-15 21:35:02 +02:00
JC Brand
2be1b58721 Update DE and AF translations 2013-09-15 11:48:43 +02:00
JC Brand
a8fbfad073 update json and js pt-BR translation files 2013-09-15 11:48:43 +02:00
Sergio Oliveira
154df6c2d5 Updating pt-br translations 2013-09-15 11:48:43 +02:00
JC Brand
2cab56b66c Update af translations 2013-09-13 16:10:37 +02:00
JC Brand
4610dfb24c Regenerated POT and PO files 2013-09-13 16:10:37 +02:00
JC Brand
6b3611606b Update doc details on reverse-proxying the connection manager 2013-09-13 16:10:37 +02:00
JC Brand
373b235d30 Merge branch 'master' into 0.6.x 2013-09-13 12:18:55 +02:00
JC Brand
be66284748 Add a test for /clear functionality 2013-09-13 12:18:49 +02:00
JC Brand
367803d6ef The xa chat state wasn't being handled properly 2013-09-13 10:58:00 +02:00
JC Brand
cc37d6a183 The xa chat state wasn't being handled properly 2013-09-13 10:57:53 +02:00
JC Brand
f8cad74a74 Update CHANGES.rst 2013-09-13 10:38:31 +02:00
JC Brand
e33b8d34e5 Regenerated POT and PO files 2013-09-13 10:35:51 +02:00
JC Brand
b34a706132 We didn't have an icon for unavailable state.
Also, the status description was not translation aware
2013-09-13 10:35:37 +02:00
JC Brand
f15eb5a7d4 Remove messages from localStorage when calling /clear 2013-09-13 09:59:06 +02:00
JC Brand
84915290b2 Correct version is 0.6.3 2013-09-12 16:00:31 +02:00
JC Brand
8b5287dc05 Merge branch 'master' of github.com:jcbrand/converse.js 2013-09-12 15:53:09 +02:00
JC Brand
008bac4f21 Bump version and minimize files. 2013-09-12 15:51:30 +02:00
JC Brand
d4375029a7 Bump version and minimize files. 2013-09-12 15:49:44 +02:00