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
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
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
andreabenini
3011461fdb
Update converse.js
2015-12-02 11:11:06 +01:00
JC Brand
d36775fe91
Fixes around resizing of chats.
...
- The .box-flyout container also needs it's width set upon page load.
- Remove custom height/width upon viewport change (if viewport is small enough).
2015-11-05 10:02:23 +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
341d5e746d
Update styling for the status change form.
2015-11-03 17:14:13 +00:00
JC Brand
984c74b516
Updates after testing on IE edge.
2015-11-03 16:42:39 +00:00
JC Brand
1dffa823dd
Fixes #459
2015-11-02 00:16:45 +00:00
JC Brand
80d8b89797
Remove the VCard rendering code.
...
Probably won't make it in next release.
2015-11-01 23:26:24 +00:00
JC Brand
43b9fa0fc8
Initial work on rendering VCard info in chat box
2015-11-01 02:31:59 +00:00
JC Brand
9436f6ed2f
Initial updates to the chat head look.
...
- Round buttons
- Make the head taller
- Wrap name
- Add "view" button for viewing vcard data (needs JS code still).
2015-10-31 18:29:43 +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
7a5cd11c3c
Bugfix. Occupants list not shown after save/cancel of config form
2015-10-31 16:57:36 +00:00
JC Brand
dfcebeb621
Rename participants to occupants.
2015-10-31 16:48:50 +00:00
JC Brand
35a4f9bd7e
Update the JS to better render the chatroom config form.
...
Other small tweaks as well.
2015-10-31 16:18:31 +00:00
JC Brand
4a8b5da197
Some work on nicer rendering of chat room form.
...
Still needs more work. Needs <fieldset> tags.
2015-10-31 13:02:47 +00:00
JC Brand
c647783281
Make avatar round and center/resize image properly.
2015-10-30 17:10:09 +00:00
JC Brand
e1f41777a4
Updated button styles and update buttons all over the place.
2015-10-29 09:57:52 +00:00
JC Brand
7ad3c385aa
Rename chat-message-* class to chat-msg-*
2015-10-28 08:52:19 +00:00
JC Brand
ca2b40f79c
More css refactoring.
2015-10-28 08:49:28 +00:00
JC Brand
37c6925e9c
More refactoring of css/sass.
...
- All chats (boxes and rooms) should now have .chatbox class (for base styles)
- Move specific stuff to new sass files (fonts, chatbox, normalize)
2015-10-27 10:22:19 +00:00
JC Brand
e835a25184
Add jshint checking and fix errors.
2015-10-25 17:55:18 +00:00
JC Brand
ff2910b9ce
Fix CSS and horizontal dragresize for chat rooms.
...
- Rename .chat-body to .chatroom-body
- Upate SASS for chat rooms
- Hide the room occupants view by toggling the class "hidden"
- The chatroom chat area and occupants list are now shown as table cells.
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
69dc80f60c
Bugfixes around resizing for chat rooms.
...
- Make sure initDragResize gets called (in .show())
- Handle case (which shouldn't happen and is hopefully now fixed) when min_height is not set.
2015-10-24 20:46:58 +00:00
JC Brand
fa49fbeed5
Remove 'Connecting' message if login fails.
2015-10-24 20:46:58 +00:00
JC Brand
969c94d473
Honor the min-width and min-height CSS properties...
...
when it comes to chat box resizing.
2015-10-24 20:46:58 +00:00
JC Brand
9c16711581
Add polyfill.js with 2 polyfills.
2015-10-24 20:46:58 +00:00
JC Brand
74aa6021f4
Enable diagonal and horizontal drag-resizing.
...
Only leftward resizing is allowed since there's no space for boxes to expand on the right.
Text area of chat boxes don't yet resize properly.
Didn't test at all on chat rooms.
2015-10-24 20:46:57 +00:00
Władysław Koszałko
6e6f852a9b
Typo caused [object Object] in room info
2015-10-22 12:28:00 +02:00
Javier Mellado
3142ebbb6b
Force type comparison and documentation updates
2015-10-20 10:57:21 +01:00
Javier Mellado
4fb99c0c2a
Fix roster push when new contact is pushed from server and emit rosterPush event
2015-10-19 14:52:49 +01: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
eeb8210ff6
Fixes #496 . Bind converse to this in callback.
2015-10-07 08:07:05 +00:00
JC Brand
795d5fb6fd
Merge branch 'master' of github.com:jcbrand/converse.js
2015-10-07 08:04:28 +00:00
JC Brand
0d9d632f40
Bugfix for #493
2015-09-30 21:04:37 +02:00
JC Brand
414265299a
Drop dragresize-tm class. Don't set height if not available
2015-09-24 13:55:48 +00:00
JC Brand
a9c2b7d99f
Remove the default_box_size setting.
...
Instead, get the height from how it's rendered in the browser (i.e. from CSS)
2015-09-24 13:52:35 +00:00
JC Brand
f3e2de9945
Document allow_dragresize option.
2015-09-22 12:40:08 +00:00