Emmanuel Gil Peyrot
8c61922d7f
Replace the default avatar with a SVG version.
...
This is both lighter, looks better when rendered at arbitrary
resolutions (as there is no scaling being done), and actually editable
for different deployments.
This image has been hand-drawn using the PNG as a background.
2018-10-28 23:51:00 +01:00
JC Brand
64e22fc612
Regenerate pot and po files after previous change
2018-10-28 23:24:33 +01:00
JC Brand
27e748534a
Stop including the no-dependencies build
2018-10-28 23:24:32 +01:00
JC Brand
11a53608d9
Right Align badges of room occupants
...
fixes #1264
Also...
- hide the badges in overlayed view mode
- hide the features list in overlayed view mode
2018-10-28 23:20:29 +01:00
JC Brand
fd41994672
Pin to latest backbone.browserStorage, then make clean && make dist
2018-10-28 18:23:05 +01:00
JC Brand
11ac846b31
Fixes #1259
2018-10-27 22:56:05 +02:00
JC Brand
f0c5f69757
Fix unclarity in tooltip
2018-10-27 19:23:35 +02:00
JC Brand
36f63d9000
Fixes #1272 Hiding MUC occupants leaves a blank space
2018-10-26 16:37:56 +02:00
JC Brand
20098c08fd
Restrict whitelist for headless only to the relevant plugins
2018-10-26 16:09:45 +02:00
JC Brand
6a70f8abb4
Updated build
2018-10-26 14:45:36 +02:00
JC Brand
ad27edb238
Updated build
2018-10-26 12:53:25 +02:00
JC Brand
c583678c86
Use _coverse.api.sendIQ
instead of _converse.connection.sendIQ
...
So that we know an event will be emitted when the stanza is sent.
2018-10-25 18:29:29 +02:00
JC Brand
6ebf6f6ecc
Fix failing test by making sure notifications are cleared
2018-10-25 08:21:38 +02:00
JC Brand
0715476862
Add package-log.json for headless build. Set to 4.0.4
...
This is probably fine as a patch release. Even tough files have been
moved around, the API is still the same.
2018-10-25 08:01:47 +02:00
JC Brand
e0f0617629
Don't store the File
object in browserStorage
...
With the recent fixes in backbone.browserStorage, the 'file' attributes
gets persisted to browserStorage before Converse tries to upload the
file.
The File object can't actually be serialized, so an empty map gets
stored and then returned together with a 'change' event.
Instead, store the file as a direct attribute on the message object.
Fixes #1261
2018-10-24 22:59:43 +02:00
JC Brand
02f1b33143
New build and package-lock.json
2018-10-23 15:50:55 +02:00
JC Brand
6904f9a897
Use es2015 modules instead of UMD
2018-10-23 12:25:58 +02:00
JC Brand
3a33d6f99b
Fix linting errors
2018-10-23 12:25:35 +02:00
JC Brand
c684105fed
New build of converse.js
2018-10-22 14:44:54 +02:00
JC Brand
279fda7877
New release 4.0.3
2018-10-22 11:41:40 +02:00
JC Brand
1c7c70af66
Use new status icon CSS classes for roster contacts as well
...
updates #1209
2018-10-21 23:49:41 +02:00
Lauren Mayers
ba689f4185
Update user status colors and icons
...
fixes #1209
2018-10-21 23:36:57 +02:00
JC Brand
a49c1f5592
Update Strophe.js, strophe plugins and backbone.browserStorage
2018-10-21 23:19:39 +02:00
JC Brand
dfcc1d97a1
Make sure encrypted messages aren't falsely matched as CSNs
2018-10-18 20:33:40 +02:00
JC Brand
c8dc7b63b2
Disable OMEMO when the current device is not trusted.
...
updates #1242
2018-10-18 07:47:25 +02:00
JC Brand
bb78d8519f
Use async function instead of explicit promises
2018-10-18 07:03:42 +02:00
JC Brand
23cb7d31ec
New dev bundle
2018-10-18 00:17:28 +02:00
alan
45cda8494a
possible fix for issue #1185
2018-10-17 22:17:57 +02:00
JC Brand
ceb0b82245
Two changes. See below
...
- No need for the `edited` event.
- Also, don't add load animation for MAM corrections
2018-10-16 21:58:36 +02:00
JC Brand
a8ef1d2904
Fixes #1058 Send inactive CSN when user switches tab
2018-10-16 13:30:29 +02:00
JC Brand
09c3d30ccc
Make sure messages are marked as followups after re-render
2018-10-16 11:56:43 +02:00
JC Brand
82239d281f
Refactor file-extension checking into utility functions
2018-10-16 00:22:39 +02:00
JC Brand
0c58cb7c48
Add the show_images_inline
option
...
updates #1228
2018-10-16 00:06:01 +02:00
JC Brand
a5a600bade
Fixes #1193 Properly handle OMEMO messages without body
tag
2018-10-15 23:47:22 +02:00
JC Brand
e181aaf99b
Make the message view's render
method async
...
So that we first render dynamic content (e.g. images) before inserting
it into the chat.
Also, add the `show_images_inline` setting (which is the cause of this
whole change).
Updated tests to handle this new change and start using async/await
instead of promise callbacks.
2018-10-15 22:19:04 +02:00
JC Brand
2426f9b7c8
Only attempt loading img URL with filename and appropriate extension
...
updates #1228
2018-10-13 21:12:48 +02:00
JC Brand
e425f25753
Listen for xmpp:
URIs in all of Converse, not only chatrooms
...
updates #537
2018-10-13 20:55:05 +02:00
JC Brand
9e47fff0ba
Fix failing tests by avoiding empty class attr
2018-10-13 20:26:23 +02:00
JC Brand
99c0687684
Fixes #537 Open xmpp: URIs inside Converse
2018-10-13 20:16:00 +02:00
JC Brand
d77802da86
Avoid showing notification messages twice
...
For example `This groupchat is not anonymous`
2018-10-13 14:41:16 +02:00
JC Brand
1c89af47ef
Bugfix. Promise is not callable
2018-10-13 14:14:02 +02:00
JC Brand
7270abb08b
Some refactoring of the code that collapses leave/join messages
...
Mostly to match any previous leave/join message from the same user
Fixes #1062
2018-10-13 13:23:55 +02:00
JC Brand
7b9c97dfd3
Also squash leave/join messages
...
And fix an HTML rendering bug for info messages and nicks that contain spaces
2018-10-11 19:04:06 +02:00
JC Brand
71cc98d6f6
Reduce join/leave clutter by removing subsequent ones
...
Previously we checked only if the last message was a join message from
the same person.
Now instead we check the last n messages that are join or leave
notifications.
2018-10-11 15:59:52 +02:00
JC Brand
cf75d37587
join/leave notification fixes.
...
* Don't show leave notification twice when someone leaves, joins and then leaves again
* Add a test case for a member joining and then leaving
2018-10-11 14:05:52 +02:00
JC Brand
aa50942400
Don't show join message for non-online occupants created from members list
...
Fixes #1169
2018-10-11 13:23:39 +02:00
JC Brand
a339053163
Revert "Remove check for @
and for allow_non_roster_messaging
"
...
Seems to make some sense after all, but we need to add a check that the
user isn't a roster contact as well.
2018-10-11 11:58:45 +02:00
JC Brand
eee7ff763e
Remove check for @
and for allow_non_roster_messaging
...
The second especially doesn't make sense and I'm currently not aware of
a case headline stanzas with a JIDs containing `@` and with a body
exist.
2018-10-11 11:02:20 +02:00
JC Brand
dffcc13dea
Fixes #1140 Add support for destroyed chatrooms
2018-10-10 22:57:12 +02:00
JC Brand
23e9c48e53
Avoid creating a headlines box...
...
if we don't have anything to show inside it.
Updates #1221
2018-10-10 20:12:29 +02:00
JC Brand
053d4070f2
Fixes #1176
...
Add config setting `send_chat_state_notifications`
2018-10-07 05:08:08 +02:00
JC Brand
b039398a73
Fixes #1204
2018-10-07 05:05:29 +02:00
JC Brand
6a5a502d58
Add support for rendering xmpp: and mailto: URIs
2018-10-07 04:46:41 +02:00
JC Brand
7a612460da
Fixes #1063 Make URLs in topic clickable
2018-10-07 03:31:18 +02:00
JC Brand
2b5d6327f8
New builds
2018-10-06 19:39:45 +02:00
JC Brand
c62dca4bd4
Fixes #1199 Provide a link back to the login form
2018-10-05 20:32:34 +02:00
JC Brand
d30efcb3ab
Better bootstrap markup for the account registration form
2018-10-05 20:12:13 +02:00
JC Brand
11bd3db86b
Fixes #1190 by explicitly setting the column width
2018-10-05 17:40:57 +02:00
JC Brand
7a330600d4
Fixes #1214
...
Hide "add contact" button and requesting/pending contacts when
allow_contact_requests is false.
2018-10-05 17:19:53 +02:00
JC Brand
ad142028ca
Updated builds
2018-10-05 04:54:00 +02:00
JC Brand
9bc8bdf34c
Test updates after updating to use latest strophe.js
...
`toLocaleString` now returns element attributes in alphabetical order
(for better cross-browser consistency).
Also, `toLocaleString` is now used in favor of `outerHTML` because
browsers aren't consistent with one another in their output.
2018-10-03 21:11:20 +02:00
JC Brand
79b8ed7177
New release 4.0.2
2018-10-02 22:51:01 +02:00
JC Brand
dbfd460125
Don't include additionalData
when en/decrypting with crypto.subtle
...
Otherwise compatibility with Conversations is broken.
Unfortunately this means that OMEMO won't work on Edge, because it
for some reason requires the additionalData.
References:
* https://github.com/conversejs/converse.js/issues/1187#issuecomment-426276243
* https://stackoverflow.com/questions/42933162/web-crypto-api-using-microsoft-edge-38-14393-0-0/42950731
Fixes #1187
2018-10-02 22:07:16 +02:00
JC Brand
148eaeacf5
Bugfix. Error messages don't have associated vcards
2018-10-02 18:04:03 +02:00
JC Brand
ba37826d44
Hook in Hindi and Romanian and update all pot, po and json files
2018-10-02 17:34:59 +02:00
JC Brand
45643d52bf
fixes #1225
2018-10-01 21:50:25 +02:00
JC Brand
e05b7e9de3
OMEMO fixes for Edge.
2018-09-25 13:21:48 +02:00
JC Brand
bf76b3b486
Add a polyfill for TextEncoder/TextDecoder for Edge
2018-09-25 13:20:55 +02:00
JC Brand
6bd4782ff6
Include filename in download link and embedd ogg audio
2018-09-25 00:21:17 +02:00
JC Brand
af35d461e8
Set max-height for embedded videos.
...
Also udpate markup to not use `<source>`.
updates #1189
2018-09-24 23:56:54 +02:00
JC Brand
b9c6a29fdf
Update to newest lodash
2018-09-24 21:53:54 +02:00
JC Brand
31080bf2f9
Add a FormData polyfill for Edge comptaibility
...
Fixes #1220
2018-09-24 16:18:51 +02:00
JC Brand
11dd79f8cd
New release 4.0.1
2018-09-19 16:16:10 +02:00
JC Brand
682bace83b
Don't show new messages indicator for CSN messages
2018-09-19 13:27:03 +02:00
JC Brand
6dfd0d1aa5
Make sure popovers also work in overlay view mode
2018-09-19 13:01:15 +02:00
JC Brand
094a8a578a
Fixes #1201 Emoji picker appears when pressing enter
2018-09-18 16:26:10 +02:00
JC Brand
0833478da4
Use bootstrap4 for the Converse website
2018-09-18 16:15:32 +02:00
JC Brand
dee49e382c
Avoid horizontal scrolling for messages in Firefox
2018-09-18 13:14:55 +02:00
JC Brand
c37a1dcbb2
Add explanatory snippets from relevant XEP
2018-09-17 10:26:05 +02:00
JC Brand
60b08d41a7
Fixes #1203
...
Update to Strophe 1.2.16
2018-09-16 10:54:40 +02:00
JC Brand
ad9a840cb7
Avoid saving full MUC JID as domain
2018-09-14 10:31:58 +02:00
JC Brand
b4a70c5f31
Refactor getJidsWithAffiliations
...
Previously the Promise.all made it all-or-nothing, now it'll return
partial matches as well and it'll also log error stanzas.
2018-09-13 16:42:54 +02:00
JC Brand
93c956ba4b
Bugfix. Should be && not ||
2018-09-13 16:42:54 +02:00
JC Brand
0a3a6222c6
Provide error feedback to the /register
command.
...
Also fix if/boolean bug when checking whether we should automatically
register
2018-09-13 12:39:50 +02:00
JC Brand
aeb0c0c7bb
Updated build
2018-09-13 11:48:11 +02:00
JC Brand
acef8feaaa
Refactoring of fetching of reserved nick
...
- Move `getDefaultNickName` to the model and rename to `getDefaultNick`
- Let `checkForReservedNick` return a promise and save `nick` once received
- Updated `openAndEnterChatRoom` to wait appropriately and remove presence-wrapper
- Update tests to wait appropriately
- Remove presence-wrapper in `getRoomFeatures`
2018-09-12 12:36:13 +02:00
JC Brand
2df9b24211
Add option to auto-register your nickname to a room
...
See https://xmpp.org/extensions/xep-0045.html#register
2018-09-12 12:36:13 +02:00
JC Brand
764686dd19
Enable push services for a MUC domain
...
As soon as a chatroom from that domain is opened and if the MUC supports it.
2018-09-11 11:29:02 +02:00
JC Brand
989ce0f54d
Fixes #1184
2018-09-10 16:21:52 +02:00
JC Brand
a3911094d3
Fix incorrect closing tag
2018-09-10 16:09:38 +02:00
Martin/Geno
dbe88535f1
[BUGFIX] html br
2018-09-10 15:58:17 +02:00
JC Brand
2f2b2ceaf2
Bugfix. Don't create occupants without nick/JID
2018-09-10 08:11:09 +02:00
JC Brand
09bb6b494d
New release 4.0.0
2018-09-07 16:20:30 +02:00
JC Brand
8cc88d9b17
Fixes #1152 CSN in MUC triggers rate limiting.
...
- Avoid registering `sendChatState` twice as handler.
- Avoid sending out a CSN right after sending out a message
2018-09-07 14:00:57 +02:00
JC Brand
999536365d
Fixes #1014 Don't show IRC gateway as MUC prefill
2018-09-07 13:14:36 +02:00
JC Brand
014354d075
Fixes #986 Affiliation changes aren't displayed in the chat
2018-09-07 11:54:29 +02:00
JC Brand
47bde92513
Fixes #1052 Moment locale incorrectly set to zh-tw
2018-09-07 10:38:47 +02:00
JC Brand
27378068c0
Fixes #1064 /topic without argument sets topic to "undefined"
2018-09-07 10:21:47 +02:00
JC Brand
572cc49498
Show room subject in heading, not description
2018-09-07 09:55:36 +02:00
JC Brand
2ef117e402
Fix more missing icons due to Fontawesome upgrade
2018-09-06 19:50:41 +02:00
JC Brand
2acc11f776
Fixes #1158 . Fall back to bookmark JID if name is not available
2018-09-06 17:25:10 +02:00
JC Brand
eb8953795f
New builds
2018-09-06 16:56:40 +02:00
JC Brand
023249f62e
Render profile avatar as canvas.
...
We now have uniform avatar rendering for the profile, messages and
chatboxes.
By rendering as canvas, we can avoid stretching the image.
In the process I also moved the ChatBoxViews collection into its own
plugin `converse-chatboxviews` and placed the AvatarAware views there.
fixes #1157
2018-09-06 15:33:13 +02:00
JC Brand
9da214fb76
Match uppercase file names and extensions
2018-09-06 14:03:41 +02:00
JC Brand
c7ae188002
Re-add signout icon and hide clear-text icon when appropriate
2018-09-06 13:37:55 +02:00
JC Brand
4903d748d0
Save hidden state of singletons if possible
2018-09-06 09:44:44 +02:00
JC Brand
eca11953bb
Upgrade to fontawesome 5
2018-09-04 13:34:06 +02:00
JC Brand
adee252b28
Close emoji dropdown on enter and prevent default
2018-09-03 14:36:09 +02:00
JC Brand
23b65f5fc5
Lazily load emoji images
2018-09-03 14:20:14 +02:00
JC Brand
e35fceff1a
Remove the need for emojione
2018-09-03 14:16:59 +02:00
JC Brand
1d38d8af03
Use twemoji for rendering emojis
2018-09-03 13:24:37 +02:00
JC Brand
6b157eedde
Remove converse-oauth as core plugin
2018-09-03 10:50:51 +02:00
JC Brand
866f2737da
More JSDoc docstrings for API methods
2018-09-02 23:43:39 +02:00
JC Brand
6f13676ee1
Show OMEMO error messages only in debug mode
2018-08-31 21:33:46 +02:00
JC Brand
1d5cf8eb7c
Fix AES-GCM encryption/decryption so that it works with Conversations
...
Fixes #497
2018-08-31 21:13:33 +02:00
JC Brand
c2184ce8e1
Always create a new session
2018-08-31 18:44:24 +02:00
JC Brand
c8211085fd
Pass array buffer to libsignal encrypt/decrypt methods
2018-08-31 18:10:09 +02:00
JC Brand
6a061b4525
Use raw
key format and not jwk
. Set correct key size.
2018-08-31 17:15:03 +02:00
JC Brand
ed9afe9afb
Only include key and not whole payload from libsignal
2018-08-31 13:57:49 +02:00
JC Brand
18c7ba4ad8
Bugfix. Need to first create bookmark
...
Otherwise we don't include it in the stanza.
So if an error occurs, remove the bookmark again.
2018-08-31 11:24:05 +02:00
JC Brand
bb6d4f75bf
Fade out enter/leave messages sooner and add check
2018-08-31 10:36:51 +02:00
JC Brand
86a0fa280b
Call clearSession
when disconnecting
...
So that the chatboxes get closed/removed.
Also, don't render the login form when we're just reconnecting.
2018-08-31 10:17:24 +02:00
JC Brand
38bfbbf61f
New builds
2018-08-30 23:14:23 +02:00
JC Brand
3ecb906dbd
New builds
2018-08-29 13:56:23 +02:00
JC Brand
da68ea9c9f
New build
2018-08-27 21:02:31 +02:00
JC Brand
ea5144c7e5
Refactor the OMEMOStore to not duplicate prekeys
...
Before these changes, prekeys were stored in two places, one place that
converse-omemo accessed and one that libsignal accessed and when
libsignal deleted a prekey the other store wasn't updated.
Now we let the methods called by libsignal store/remove prekeys (and the
signed_prekey) in the same place as used by the code in converse-omemo.
2018-08-25 23:22:18 +02:00
JC Brand
7959855891
Move publishBundle
to OMEMOStore
...
updates #497
2018-08-24 16:32:40 +02:00
JC Brand
d784e4a73a
Show an icon to indicate that a message is encrypted
...
updates #497
2018-08-24 16:26:54 +02:00
JC Brand
4c5ea34acf
New build
2018-08-24 15:39:14 +02:00
JC Brand
781ad3d643
Update to use _converse.config
2018-08-23 09:49:51 +02:00
JC Brand
5e9d6c3d6a
Merge branch 'master' into converse-omemo
2018-08-23 09:45:13 +02:00
JC Brand
9f8d30dde3
Create a new store, _converse.config
to store trusted
...
The `_converse.session` store gets cleared after logout, but we want the
`trusted` flag to persist after logout.
Also update the documentation no that the `storage` config option has
been removed in favor of `trusted`.
2018-08-23 09:41:39 +02:00
JC Brand
62cecbec5f
Merge branch 'master' into converse-omemo
2018-08-22 23:41:36 +02:00
JC Brand
76a2192afa
Singleton models need an id attribute via its getter
...
Setting it on the model itself is not sufficient and then causes
changes which should be type `update` become type `create`, causing
multiple versions of the model... resulting in chaos.
2018-08-22 23:39:42 +02:00
JC Brand
9ed2ad631a
Store whether this is a trusted device in _converse.session
...
So that it persists across page loads. Otherwise storage falls back to
the default, causing records to be in both local- and sessionStorage.
Additionally, update singleton models to have the 'id' available as a getter.
Otherwise multiple records gets stored in browserStorage, causing random
results being returned.
2018-08-22 23:36:54 +02:00
JC Brand
f01b6c29c8
Collections shouldn't have id attributes
...
Otherwise the collection's items aren't fetched but it's own properties.
The way to persistently remove items from a collection is to destroy
them, NOT to call `remove`.
2018-08-22 19:26:38 +02:00
JC Brand
5ded22207b
identity_key should be stored as base64, not array buffer
2018-08-22 18:32:31 +02:00
JC Brand
fa0e7aeff5
Updated so that own device is properly created and published
...
Based on live testing. Updated tests accordingly.
2018-08-22 18:16:36 +02:00
JC Brand
4141a22306
new builds
2018-08-22 11:44:55 +02:00
JC Brand
97467214ac
New build
2018-08-21 18:32:17 +02:00
JC Brand
26e936583f
Add devices section to own profile modal
...
Allow for devices to be removed.
2018-08-21 09:28:16 +02:00
JC Brand
cda426bc82
Merge branch 'master' into converse-omemo
2018-08-20 10:34:04 +02:00
JC Brand
e7f211bacf
Avoid an unnecessary promise and create message as soon as possible
...
under non-OMEMO circumstances. Otherwise, when messages are fetched in
bulk via MAM, then a message referring to a previous one (e.g.
a correction) may be processed before the message being referred to has
been created.
2018-08-19 10:32:43 +02:00
JC Brand
ca9229a906
createMessage
now returns a promise.
...
Also, fix all broken tests, mostly related to this.
2018-08-18 17:12:22 +02:00
JC Brand
b4110dc162
Merge branch 'master' into converse-omemo
2018-08-18 10:24:55 +02:00
JC Brand
299fa4f3f8
Nicer error logging when translations are not found
2018-08-18 10:22:31 +02:00
JC Brand
e123c690f0
Add autocomplete support for occupants with only a JID
2018-08-16 17:11:04 +02:00
JC Brand
1511eb13d9
New builds
2018-08-16 15:18:08 +02:00
JC Brand
b6f4f05b9e
Add converse-autocomplete and use that in the chat textarea
2018-08-16 15:17:53 +02:00
JC Brand
45d1440684
Cancel message correction by pressing escape.
...
Also fixes #1153
2018-08-10 11:48:07 +02:00
JC Brand
c652568a03
Clear color after submitting a corrected message
2018-08-09 16:33:25 +02:00
JC Brand
5d64f4c704
Newly generated build
2018-08-09 15:46:52 +02:00
JC Brand
5e42bb2d49
Bugfix. Don't only set
, save to storage.
...
Otherwise the flag doesn't persist across page loads.
2018-08-08 10:01:26 +02:00
JC Brand
8d40d5f108
Bugfix. Stanza passed in as 2nd parameter
2018-08-08 09:43:32 +02:00
JC Brand
99bdf235dd
Newly generated build
2018-08-07 15:32:13 +02:00
JC Brand
2884549bb3
Test decryption of incoming OMEMO message
...
updates #497
2018-08-04 23:49:01 +02:00
JC Brand
713f49453f
Working example of AES-GCM encryption and decryption
...
with key import and export.
updates #497
2018-08-04 21:32:08 +02:00
JC Brand
f2c283c907
More work on decrypting messages
2018-08-04 19:41:06 +02:00
JC Brand
4c3645c559
Merge branch 'master' into converse-omemo
2018-08-03 14:47:20 +02:00
JC Brand
b027f0f784
Fixes #1143 Disallow sending of empty messages
2018-08-01 18:48:02 +02:00
JC Brand
f120fbd209
Bugfix. Own groupchat messages weren't being recognized
2018-08-01 18:37:54 +02:00
JC Brand
506aa33131
Wait for promises before opening chats in API methods
2018-08-01 11:12:00 +02:00
JC Brand
1443fdd447
(WIP) Wait for promises before opening chats in API methods
2018-08-01 11:10:43 +02:00
JC Brand
7fafc6758e
Updated build
2018-07-28 17:16:33 +02:00
JC Brand
a3593dbc7d
Implement and test sending of encrypted messages
...
updates #497
2018-07-28 15:37:36 +02:00
JC Brand
f40e4b4dbb
Merge branch 'master' into converse-omemo
2018-07-25 12:06:42 +02:00
JC Brand
bcd6845756
Show fingerprints in the user details modal
...
updates #497
2018-07-25 11:33:16 +02:00
JC Brand
ce447e4035
Merge branch 'master' into converse-omemo
2018-07-22 12:15:16 +02:00
JC Brand
5abb9f8bb2
Found more instance of room
to be replaced with groupchat
2018-07-22 11:31:45 +02:00
JC Brand
6424844a90
Updated translation files
2018-07-22 10:43:50 +02:00
JC Brand
114e46dfab
Fix broken test and refactor slightly. updates #497
2018-07-22 10:33:57 +02:00
JC Brand
b80a77a21c
Include signedPreKeySignature in published bundle
...
updates #497
2018-07-21 21:53:31 +02:00
JC Brand
bf13927946
Merge branch 'master' into converse-omemo
2018-07-21 11:34:51 +02:00
JC Brand
87406f5f93
Allow messages to be edited by clicking a pencil icon
...
updates #421
2018-07-21 10:41:10 +02:00
JC Brand
6a790916d3
Only own messages should be editable.
...
Fixes #1139
2018-07-21 08:12:33 +02:00
JC Brand
acd9a18696
Update with new message markup
2018-07-21 07:34:03 +02:00
JC Brand
b751c06694
Start using BEM to structure messages Sass/CSS
...
updates #421
2018-07-20 14:09:30 +02:00
JC Brand
62dc0c494e
Merge branch 'linkmauve-better-chat_status'
2018-07-16 01:10:05 +02:00
JC Brand
6717315d05
Add support for message corrections in MUC.
2018-07-16 00:49:00 +02:00
JC Brand
16faf62d3f
Fixes #1129 Hide "Contacts" section when logged in anonymously
2018-07-16 00:09:54 +02:00
JC Brand
b4d2007972
Allow any earlier message to be edited.
...
updates #421
2018-07-08 15:20:58 +02:00
JC Brand
a9bb99a1a7
Show animation when a message has been corrected
...
updates #421
2018-07-08 13:43:28 +02:00
JC Brand
84a10d77d9
Cancel message correction by pressing the down arrow
...
Also, add a class `correcting` to the message being corrected, to
provide a visual cue.
updates #421
2018-07-08 11:30:15 +02:00
JC Brand
2929647e16
Add support for correcting the last message sent
...
fixes #421
2018-07-08 00:39:28 +02:00
JC Brand
f3f58a8da4
Test multiple corrections of the same message
2018-07-06 01:51:27 +02:00
JC Brand
9e965fa20e
Add a rudimentary message versions modal
2018-07-06 01:36:34 +02:00
JC Brand
19b9aeadfd
Show an indicator that the message has been edited
2018-07-06 01:18:03 +02:00
JC Brand
9f42f09d1e
Get the first message correction test to pass
2018-07-06 01:04:34 +02:00
JC Brand
52d5677e40
Rename message
to stanza
to avoid confusion
2018-07-06 00:59:16 +02:00
JC Brand
7b86e24b9a
Add missing CSS class to bookmark list item and fix test
...
updates #1069
2018-07-04 11:24:02 +02:00
JC Brand
388719ff2d
Update CSS of controlbox list items
...
Trying to use more generic CSS selectors and to extract out common patterns.
2018-07-04 10:57:30 +02:00
JC Brand
47ec7501ed
updates #1069 Don't show room-info icon for bookmarks
...
Currently we can only show the room info modal for open rooms, because
we need the Backbone.Model.
Querying the room info and displaying it for non-open rooms will be more
work and will require a separate modal.
2018-07-04 09:18:54 +02:00
JC Brand
145167baae
Don't remove ourselves as occupant
...
when removing offline users who are no longer on the member lists
2018-07-04 09:08:23 +02:00
JC Brand
efa5e30596
updates #1069 Highlight currently open private chat in the sidebar
2018-07-04 09:08:22 +02:00
JC Brand
58ee1460fe
Updates #1069
...
Highlight the currently open groupchat in the sidebar (in singleton mode).
2018-07-02 23:29:57 +02:00
JC Brand
a67fa6d4e5
Render URLs in the topic in the room details modal
2018-07-02 21:20:37 +02:00
JC Brand
a2fef1277c
Don't render labels for hidden inputs
2018-07-02 20:22:16 +02:00
JC Brand
d335173fd7
Bootstrap markup for auto-generated forms
2018-07-02 20:18:22 +02:00
JC Brand
a200ff953a
Make new pot and po files
2018-07-02 16:33:57 +02:00
JC Brand
102505c1a9
Generate new translation strings
2018-07-02 15:44:37 +02:00
JC Brand
4331f920cf
Fix failing tests
2018-07-02 15:23:49 +02:00
JC Brand
c6d7317bb2
Show the topic in the room info modal
2018-07-02 13:41:15 +02:00
JC Brand
1880b3f209
Nicer rendering of MUC disconnection messages
2018-07-02 12:52:19 +02:00
JC Brand
fad6b5368d
Fix incorrect merge (from master into converse-omemo branch)
2018-07-01 12:04:45 +02:00
JC Brand
e5c030c15a
Render max 2 newlines
2018-06-30 16:15:27 +02:00
JC Brand
6e99af698d
Merge branch 'timetag' of https://github.com/Zash/converse.js into Zash-timetag
2018-06-30 15:12:57 +02:00
JC Brand
b5a27b34a1
Render newlines
2018-06-30 15:07:30 +02:00
JC Brand
cc98cea009
Fix failing tests by waiting appropriately
2018-06-30 14:01:47 +02:00
JC Brand
9a60b5bb15
Let api.disco.info
use api.sendIQ
(and therefore be promise based)
2018-06-30 14:01:47 +02:00
JC Brand
81ed773baa
Updated css and fix some niggles in the Makefile
2018-06-14 10:22:16 +02:00
JC Brand
3dac4ae45c
Add support for logging in with OAuth
2018-06-13 18:39:51 +02:00
JC Brand
a2dec2371d
Bugfix. jid
of null
was set on own VCard
...
Also made a few other minor improvements and did some cleanup.
2018-06-12 12:14:49 +02:00
JC Brand
7b19483271
Rename push_services
to push_app_servers
to avoid confusion
2018-06-11 14:17:34 +02:00
JC Brand
a09333f82c
Allow multiple push services to be enabled and also allow disabling
2018-06-07 16:25:59 +02:00
JC Brand
5954cd8f29
Avoid duplicating entities
2018-06-07 15:27:11 +02:00
JC Brand
6126781d83
Proper checking of disco support for push notifications
2018-06-07 15:00:36 +02:00
JC Brand
6cd9d2e813
Rename _tearDown
to tearDown
and rebuild
2018-06-07 14:30:10 +02:00
JC Brand
d4d03925b8
Set hidden
to true
by default for chats in singleton mode.
...
However, when a new chat is created due to an incoming message, and
there aren't any other chats visible, then show it.
2018-06-07 14:09:19 +02:00
JC Brand
37b622251e
Improve and simplify unread message notifications in the roster
...
Use one event instead of two, by listening to `num_unread` on chatboxes.
2018-06-07 13:40:20 +02:00
JC Brand
083f191ead
Consider delayed, non-archived messages as "new"
...
New in the sense that we haven't seen them before
2018-06-07 13:06:32 +02:00
JC Brand
ec65bb3512
createMessage
doesn't need the delay parameter
2018-06-07 12:37:56 +02:00
JC Brand
57b4dec5a0
Bugfix. Validation messages wasn't being shown
...
due to Awesomplete doing things to the DOM and then confusing Snabbdom.
2018-06-06 18:31:04 +02:00
JC Brand
7ee71b0132
Add a plugin for XEP-0357
...
Currently only allows enabling an "App Service", based on pass-in
configuration values.
2018-06-06 14:00:52 +02:00
JC Brand
eed141b53e
Remove unnecessary path aliases from the webpack config
2018-06-06 11:04:23 +02:00
JC Brand
1dac1d781f
Don't show own typing notifications in groupchats
2018-06-06 09:57:37 +02:00
JC Brand
734f3469dd
Bugfix. Message indicator wasn't shown
...
when we received a message for a yet non-existing chat in singleton
mode.
2018-06-06 09:56:46 +02:00
JC Brand
3153604823
Inform user of error messages which don't have text
2018-06-05 13:14:24 +02:00
JC Brand
a3fe6162c1
Proper MUC reconnection is handled in converse-muc-views
2018-06-05 13:01:47 +02:00
JC Brand
78d6d493d6
Add info icon in room header and show room details in modal
2018-06-04 19:54:11 +02:00
JC Brand
f7c3351e2b
Merge branch 'master' into webpack
2018-06-04 13:46:27 +02:00
JC Brand
659f70b28b
Add the ability to make different kinds of builds
2018-06-04 13:38:53 +02:00
JC Brand
bc872ee2cb
Fix various failing tests and update Makefile
2018-06-04 11:20:34 +02:00
JC Brand
74eed32e82
Add shims to webpack config and fix bugs in templates
2018-06-02 17:18:42 +02:00
JC Brand
ebcf7098bb
New dist files
2018-05-30 11:31:20 +02:00
JC Brand
6dc9e8edf1
Use webpack for module bundling
2018-05-25 14:23:32 +02:00
JC Brand
4d004a5c90
New dist files
2018-05-24 15:51:04 +02:00
JC Brand
da06a62b22
Regenerated dist files
2018-05-23 04:27:33 +02:00
JC Brand
7076146dae
Updated pot and po files
2018-05-17 11:21:29 +02:00
JC Brand
fcf865444e
Updated dist files
2018-05-15 10:32:13 +02:00
JC Brand
04e948ad67
Fix build error by setting dependency
2018-05-11 19:56:32 +02:00
JC Brand
2515001a5c
Variables were moved to common file
2018-05-11 19:51:41 +02:00
JC Brand
1d8a45ff88
Updated dist files
2018-05-11 00:19:49 +02:00
JC Brand
19a2fb17ad
Create new build files
2018-05-09 14:37:27 +02:00
JC Brand
127f458978
Update dist files
2018-05-08 19:58:12 +02:00
JC Brand
ea1abba00d
Remove unused build
2018-05-07 18:31:17 +02:00
JC Brand
2d5e8262e9
Create new builds
2018-05-07 18:24:24 +02:00
JC Brand
cfea066a29
update dist files
2018-04-30 16:05:20 +02:00
JC Brand
d0387a65ca
Let an embedded MUC expand to fill its containing element
2018-04-24 17:31:44 +02:00
JC Brand
07ac8d4a3e
Various HTML/CSS fixes for the demos, particularly embedded MUC
2018-04-24 14:46:09 +02:00
JC Brand
c9ce440219
Regenerated pot, po and json files
2018-03-30 14:37:05 +02:00
JC Brand
08ab2e5416
Regenerated dist files
2018-03-30 14:23:34 +02:00
JC Brand
3354083934
Bugfix. Remove view for contact moved to different group
...
Otherwise the contact stays visible under "Pending Contacts" although
the subscription request has been accepted.
2018-03-30 14:22:53 +02:00
JC Brand
e8718ec3d3
Bugfix. Make sure group gets inserted
...
when it's created due to a new contact being added.
Was previously in the wrong place.
2018-03-30 14:22:52 +02:00
JC Brand
a9d2740b8a
Regenerated
2018-03-30 14:22:41 +02:00
JC Brand
69172af4d0
Make sure to use transpiled modules
2018-03-30 14:16:05 +02:00
JC Brand
de66a7ddfa
Cleanup post release
2018-03-05 15:12:29 +01:00
JC Brand
8211ed8f70
Release 3.3.4
2018-03-05 14:43:53 +01:00
JC Brand
db85cb7f1d
Release 3.3.3
2018-02-14 16:53:07 +01:00
JC Brand
e8dd75a126
Add dist/converse-muc-embedded.js
2018-02-09 17:22:28 +01:00
JC Brand
6b644d6d11
Release 3.3.2
2018-01-29 16:48:54 +01:00
JC Brand
476e1d79cd
IE11 fixes
2018-01-29 14:40:45 +01:00
JC Brand
ccf5ce2ae5
New release 3.3.1
2018-01-18 14:48:32 +01:00
JC Brand
8f455cf902
Release 3.3.0
2018-01-17 19:45:33 +01:00
JC Brand
71bdf08c25
Fix the no-dependencies demo
2018-01-04 17:02:29 +00:00
JC Brand
102f39ed41
Regenerate po, pot and json
2017-12-20 17:08:08 +00:00
JC Brand
c95a9d2728
Generate dist files with changes so far.
2017-12-04 12:29:46 +01:00
JC Brand
4d06228d89
Various changes around making builds.
...
- Update build scripts to use transpiled versions of newly added modules
- Stop building locales.js and remove locales stuff from build scripts
- No need for Grunt anymore since we don't need to make locales.js
2017-11-03 08:45:47 +01:00
JC Brand
007e608f32
More work on combining the inverse/converse builds
...
- Use `enabled` method for plugins
- Rename `converse-inverse.js` to `converse-fullscreen.js` and make it a
core plugin.
- We're no longer making separate mobile and inverse builds
No longer a need to whitelist/blacklist plugins for inverse to work.
2017-11-02 16:41:06 +01:00
JC Brand
2bce9e7272
Various changes. See below.
...
* Update localisation/translation documentation due to recent changes.
* Remove `moment_locales.js` and instead load the moment locales in `src/i18n.js`
* Mention how to load the fullscreen version. Refs #939
2017-10-30 10:44:00 +01:00
JC Brand
3d53943f49
Generate pot file from the converse-no-dependencies
build
...
This is a workaround for the fact that getttext doesn't support ES2015 template
literals and it also allows us to scan for translateable strings in our HTML
templates.
2017-09-24 00:30:43 +02:00
JC Brand
3d0f2ce645
Use CDN to serve scripts
2017-09-04 09:09:48 +02:00
JC Brand
34e214d0df
New release 3.2.1
2017-08-29 13:28:34 +02:00
JC Brand
8f88f35e0b
New release 3.2.0
2017-08-09 18:00:09 +02:00
JC Brand
4d2c807cf2
Fixes #220 . Enable usage of both _
and fp
in non-AMD case
2017-08-09 17:35:48 +02:00
JC Brand
4e491ac5d3
Regenerated dist files.
2017-08-08 22:11:13 +02:00
JC Brand
5e68364ede
Regenerated dist files.
2017-08-08 17:44:01 +02:00
JC Brand
8113a14ace
Release candicate for 3.2.0
2017-07-22 22:23:44 +02:00
JC Brand
7721275962
New release v3.1.1
2017-07-12 22:51:56 +02:00
JC Brand
c422237668
New release: 3.1.0
2017-07-05 10:07:28 +00:00
JC Brand
da74615b07
Regenerate dist files
2017-06-23 23:22:52 +02:00
JC Brand
ce3e063c13
Generate new dist files
2017-06-23 20:25:33 +02:00
JC Brand
0c30717a69
Add inverse.js build file.
2017-06-21 22:26:53 +02:00
JC Brand
3310df88c0
Regenerate build files. Some small fixes to inverse
2017-06-21 22:26:00 +02:00
JC Brand
b0c20d5473
We're now able to make inverse.js builds
2017-06-14 19:47:06 +02:00
JC Brand
e338afadc2
New release 3.0.2
2017-04-23 17:25:19 +00:00
JC Brand
21bc95a9f3
New release 3.0.1
2017-04-04 15:26:06 +00:00
JC Brand
06668d8733
3.0.0 release
2017-03-05 10:39:15 +00:00
JC Brand
b28b011eb7
Generate builds so that I can diff afterwards
2017-02-26 11:04:03 +00:00
JC Brand
50c1b99448
Generate new dist files.
2017-02-13 16:16:13 +00:00
JC Brand
ebbde138db
Add the ability to whitelist/blacklist plugins.
2017-02-03 18:26:27 +00:00
JC Brand
5e7427214c
Generate dist files.
2017-02-03 12:51:07 +00:00
JC Brand
65852f4e7c
Remove what appear to be unnecessary calls
2017-02-01 17:08:36 +00:00
JC Brand
e34adf8000
New release: 2.0.5
2017-02-01 11:08:13 +00:00
JC Brand
06805d80b8
New release 2.0.4
2016-12-13 19:47:00 +00:00
JC Brand
8bbd88ba86
New release 2.0.3
2016-11-30 17:51:17 +00:00
JC Brand
829f9ab216
Release 2.0.2
2016-11-30 16:27:20 +00:00
JC Brand
8c3ffdffbb
Release 2.0.1
2016-11-07 14:43:48 +00:00
JC Brand
90d1071df0
Load templates in the respective plugins
2016-09-23 12:35:01 +02:00
JC Brand
59d00b8e00
Move more dependencies from bower to NPM
2016-09-21 17:24:32 +02:00
JC Brand
10da240e7e
New release 2.0.0
2016-09-16 12:35:02 +00:00
JC Brand
fccd0860eb
New release 1.0.6
2016-08-12 20:52:21 +00:00
JC Brand
4c123d51d4
New release: 1.0.5
2016-07-28 16:07:47 +00:00
JC Brand
d7c026e128
New release 1.0.4
2016-07-26 06:00:30 +00:00
JC Brand
598e29c910
New release: 1.0.3
2016-06-20 19:20:47 +00:00
JC Brand
1545018edf
New release 1.0.2
2016-05-24 08:47:22 +00:00
JC Brand
8a74cc3323
New release: 1.0.1
2016-05-24 08:23:19 +00:00
JC Brand
5fa5f8272f
New release 1.0.0
2016-05-03 15:37:41 +00:00
JC Brand
3787a34435
Create a mobile-specific build of converse.js
...
This build doesn't include the converse-minimize and converse-dragresize
components.
Also regenerated the other builds.
2016-04-01 13:37:53 +00:00
JC Brand
8e3c97ae61
Some fixes to minimization of chats. Updates #622
...
Don't call trimChats in onChatBoxAdded event. Reduntant because it will be
called after maximization and after being shown.
Add new method getShownChats and don't trim if only one or zero chats are being
shown.
Don't trim chats when in responsive mode.
Don't call trimChats unnecessarily in the render method of the trimmed chats
thingy.
2016-03-30 12:18:45 +00:00
JC Brand
7f842c423f
Update some bower dependencies and rebuilt dist files
...
fixes #437
2016-03-29 06:56:13 +00:00
JC Brand
55593245f3
converse-otr should depend on converse-minimize
...
Also generated new dist files.
updates #616
2016-03-19 13:34:03 +00:00
JC Brand
f57f02029a
Generated new dist files.
2016-03-16 11:49:35 +00:00
JC Brand
02faa555bb
Recreate dist files. fixes #443
2016-03-08 12:16:26 +00:00
JC Brand
cc2d9a495c
Regenerated dist files
2016-03-07 17:54:07 +00:00
JC Brand
c0c4cd9272
Rename builds directory to dist
...
To conform with how many other projects name their directories.
2016-02-28 09:00:22 +00:00