JC Brand
f24e7c0905
Remove scrollDownMessageHeight. Fix failing test
2017-03-03 15:12:48 +01:00
JC Brand
0bc0072fea
chatview: Mark whether scrolling was automatic
...
so that we don't confuse it with the case where it was manual.
2017-03-03 14:55:03 +01:00
JC Brand
246dec3788
Update description
2017-03-03 14:44:23 +01:00
JC Brand
e1e20690f0
muc: the original stanza must be emitted
...
Otherwise other plugins don't know whether the message was forwarded or not.
2017-03-03 14:44:04 +01:00
JC Brand
eb82d64426
converse-controlbox: Retain open state after logging in.
2017-03-03 14:43:13 +01:00
JC Brand
62c8177142
Bugfix.
...
After bookmarking a room for which a nickname is required, return to the nickname form.
2017-03-02 23:28:22 +01:00
JC Brand
a5c0d5c451
Wrap long lines. No need for that
2017-03-02 23:06:40 +01:00
JC Brand
6121a3e11c
Borderless window buttons.
...
The padding didn't appear consistent across browsers.
2017-03-01 22:12:30 +01:00
JC Brand
c58348dd02
Emit the original message, not just the forwarded part
...
Otherwise we receive HTML5 notifications for MAM messages because they can't be
identified as such.
2017-03-01 10:37:07 +00:00
JC Brand
a895c91f14
Programmatically set the occupants height
...
since I couldn't find a way to do this with only CSS.
2017-03-01 08:42:26 +01:00
JC Brand
78865bbccb
Don't show the features heading if we don't know of any
2017-02-28 22:34:16 +01:00
JC Brand
a3407bb98b
Move MAM specific code to converse-mam.js
2017-02-28 22:34:04 +01:00
JC Brand
dc8cbc6104
3 changes
...
- immediately show chat box (sometimes fetching features takes long)
- add timeout for fetching features
- don't register scroll handler twice for chat rooms.
2017-02-28 17:25:33 +00:00
JC Brand
2c88545b28
Fix edge case with /me messages. Show in italics.
2017-02-28 07:58:17 +00:00
JC Brand
9c72205774
Show room jid in a tooltip
2017-02-28 07:44:08 +00:00
JC Brand
0e3a979548
Some css tweaks
2017-02-28 07:44:08 +00:00
JC Brand
c7de70052c
Fix failing test
2017-02-28 07:17:30 +00:00
JC Brand
bccdedc64f
Also show a hint explaining the roomchat status
2017-02-28 06:52:33 +01:00
JC Brand
f20d391ea6
Show chat room occupants' states.
2017-02-28 05:28:09 +00:00
JC Brand
f2f05ff484
MUC: Don't show duplicate join
messages.
2017-02-28 05:02:36 +00:00
JC Brand
21fbb7b7ac
Fix failing test by making sure chatroom gets destroyed
2017-02-27 21:21:38 +00:00
JC Brand
128335e1dc
50 seems like a better default
2017-02-27 21:12:15 +00:00
JC Brand
f8d9368163
MUC: only render and listen to 'scroll' event...
...
after the cached messages have been fetched.
2017-02-27 21:09:17 +00:00
JC Brand
adeac37b5c
Move more features HTML to chatroom_features.html
2017-02-27 17:59:33 +00:00
JC Brand
946a240080
Make sure to show the invite widget
...
when the room features change.
2017-02-27 17:56:40 +00:00
JC Brand
a21fdce8fa
Add JSON example
2017-02-27 17:56:39 +00:00
JC Brand
971e1e2e26
Padding tweak
2017-02-27 17:56:39 +00:00
JC Brand
84a21415f0
Shut eslint up
2017-02-27 10:41:46 +00:00
JC Brand
cfb0cd0970
New defaults
2017-02-27 10:41:46 +00:00
JC Brand
ac867c9524
Rework the way builds are created.
...
Builds are now themselves UMD modules, so they could be `require`'d like any
other AMD module or they can still be used as old ES5 modules with globals.
Additionally the build is now closured, so that the almond API doesn't pollute
the global context with `define` or `require`. This does however mean that
`require` can no longer be used outside of the build (unless requirej.s is
included directly.
2017-02-27 10:37:01 +00:00
JC Brand
38c9a9e10c
Rework the way builds are created.
...
Builds are now themselves UMD modules, so they could be `require`'d like any
other AMD module or they can still be used as old ES5 modules with globals.
Additionally the build is now closured, so that the almond API doesn't pollute
the global context with `define` or `require`. This does however mean that
`require` can no longer be used outside of the build (unless requirej.s is
included directly.
2017-02-27 09:00:45 +00:00
JC Brand
b28b011eb7
Generate builds so that I can diff afterwards
2017-02-26 11:04:03 +00:00
JC Brand
1c4494967c
Fix regex for double-digit numbers
2017-02-25 22:26:54 +00:00
JC Brand
704cef5590
Make work with latest strophe build
2017-02-25 22:26:54 +00:00
JC Brand
08fc0823de
More scrolling improvements
2017-02-25 22:26:54 +00:00
JC Brand
ad1d5c6c8e
Don't show scrollbar if not necessary
2017-02-25 22:26:54 +00:00
Greenkeeper
497df9745b
chore(package): update strophe.js to version 1.2.13 ( #793 )
...
https://greenkeeper.io/
2017-02-25 22:59:53 +01:00
JC Brand
f60b4fc268
auto_away
shouldn't change the user's status if it's set to dnd
...
Fixes #620
2017-02-25 09:52:31 +00:00
JC Brand
9779e83931
Make the default archived_messages_page_size
100
2017-02-25 09:57:22 +01:00
JC Brand
adb4f62ea9
Fixes #790 mam retrieval broken
2017-02-25 09:54:41 +01:00
JC Brand
2c8b31c19d
Bugfix. getAttribute
returns null
2017-02-25 09:33:34 +01:00
JC Brand
2998ef818a
Chat rooms weren't being scrolled down after page reload
2017-02-25 07:48:28 +00:00
JC Brand
61b2dc7f99
Move MAM code to proper place.
...
Also, don't query for MAM messages if the chat room doesn't support it.
2017-02-24 20:52:23 +00:00
JC Brand
0d48929bb3
Show join/leave messages in chat rooms. Updates #365
2017-02-24 17:54:45 +00:00
JC Brand
e140eb84c8
updated to use initConverse
2017-02-24 17:13:38 +00:00
JC Brand
b15c107e4e
Don't show notifications for full JID headline messages if...
...
allow_non_roster_messaging is false.
2017-02-24 17:13:38 +00:00
JC Brand
453d98db2c
Use native API instead of jquery
2017-02-24 17:13:38 +00:00
JC Brand
5c445a0268
Don't show headlines from full JID if allow_non_roster_messaging is false
2017-02-24 17:13:38 +00:00
JC Brand
6dfc82da0b
Native querying instead of using jquery
2017-02-24 12:00:05 +00:00
JC Brand
2ae2a1b505
Updated a bit to make it clearer.
2017-02-24 12:00:05 +00:00