Commit Graph

5298 Commits

Author SHA1 Message Date
JC Brand
55fce912df
Merge branch 'master' into async-await 2018-10-25 18:36:04 +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
fe00fd4f47 Emit an event when sending a stanza 2018-10-25 08:01:46 +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
53b1239964 Avoid inserting invalid dates and/or empty divs 2018-10-24 22:42:46 +02:00
Emmanuel Gil Peyrot
35b7dbe389 Convert a few functions to async/await. 2018-10-24 21:23:32 +02:00
JC Brand
aac8b741b9
Merge pull request #1262 from cmrd-senya/fix-webpack-headless
Fix headless build webpack config
2018-10-23 20:40:10 +02:00
cmrd Senya
d60d4fe125 Fix headless build webpack config 2018-10-23 19:25:48 +03:00
JC Brand
7b2d64b066 Use _converse.api.send instead of _converse.connection.send
so that we can emit an event when sending a stanza.
2018-10-23 16:06:43 +02:00
JC Brand
02f1b33143 New build and package-lock.json 2018-10-23 15:50:55 +02:00
JC Brand
a3040a45fc Move the converse-roster plugin to the @converse/headless build 2018-10-23 15:40:06 +02:00
JC Brand
14b9c5792d Remove unused files 2018-10-23 15:32:08 +02:00
JC Brand
a20fd39313 Upgrade NPM and avoid duplicate deps 2018-10-23 15:08:53 +02:00
JC Brand
30e045517b
Merge pull request #1258 from guusdk/1257_notifications-prefer-probably-over-maybe
#1257: Prefer 'probably' over 'maybe' when evaluating Audio support.
2018-10-23 13:10:03 +02:00
JC Brand
ce30b64b71
Merge branch 'master' into 1257_notifications-prefer-probably-over-maybe 2018-10-23 12:34:13 +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
Guus der Kinderen
daa1654d35 #1257: Prefer 'probably' over 'maybe' when evaluating Audio support. 2018-10-23 10:15:20 +02:00
JC Brand
c684105fed New build of converse.js 2018-10-22 14:44:54 +02:00
JC Brand
3f7ffd025a Remove Backbone.View related dependencies from headless package 2018-10-22 14:06:03 +02:00
JC Brand
7590a030b0 Move unnecessary templates in headless package to main package 2018-10-22 13:59:06 +02:00
JC Brand
18024b8bd2 Store lerna packages in the src directory
- Also update versions in package.json
- Update Makefile
2018-10-22 13:29:25 +02:00
cmrd Senya
1ed12d964f Update package-lock.json 2018-10-22 12:46:11 +02:00
cmrd Senya
dae3574e9a Update dependency path in tests runner 2018-10-22 12:44:53 +02:00
cmrd Senya
c8348db5c8 Install lerna globally in travis 2018-10-22 12:44:53 +02:00
cmrd Senya
8ba8eb02fa Update main converse.js package to use @converse/headless
* Update moved dependencies references to @converse/headless
* Remove unused webpack resolve aliases
2018-10-22 12:44:38 +02:00
cmrd Senya
ae1424aa5b @converse/headless: update dependencies references
* Link internal dependencies by relative path
* Don't use webpack aliases for external dependencies to reduce
user-side configuration
2018-10-22 12:44:38 +02:00
cmrd Senya
12b9824e75 Create package @converse/headless 2018-10-22 12:42:48 +02:00
cmrd Senya
0370ced93f Init project with lerna 2018-10-22 12:42:30 +02:00
JC Brand
279fda7877 New release 4.0.3 2018-10-22 11:41:40 +02:00
ButterflyOfFire
9d82aba0e7 Weblate Translations: Converse.js/Translations
Arabic: Currently translated at 82.9% (297 of 358 strings)
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ar/

Norwegian Bokmål: Currently translated at 62.8% (225 of 358 strings)
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nb/

French: Currently translated at 98.8% (354 of 358 strings)
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/

Hungarian: Currently translated at 100.0% (358 of 358 strings)
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/hu/

Polish: Currently translated at 80.7% (289 of 358 strings)
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/pl/

Czech: Currently translated at 99.7% (357 of 358 strings)
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/cs/

Romanian: Currently translated at 26.8% (96 of 358 strings)
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ro/

Spanish: Currently translated at 60.0% (215 of 358 strings)
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/es/

German: Currently translated at 88.2% (316 of 358 strings)
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/de/

Basque: Currently translated at 100.0% (358 of 358 strings)
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/eu/

Japanese: Currently translated at 100.0% (358 of 358 strings)
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ja/
2018-10-22 11:35:11 +02:00
JC Brand
f2c1455762 Bump waiting time for room opened via modal in test utils
Convert more promise-based tests to async/await
2018-10-22 09:59:53 +02:00
JC Brand
0d3e94c60b Minor testing changes
- Use async/await instead of promises.
- Use different room jids (to try and see whether this fixes heisenbugs on travis)
2018-10-22 09:40:24 +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
JC Brand
49bfc3cb2c Don't build font-awesome.css 2018-10-21 23:45:54 +02:00
JC Brand
fea11ea639 Remove reference to deprecated preset-es2015 2018-10-21 23:45:43 +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
a75779300d Document security considerations around OMEMO and webcrypto 2018-10-19 12:26:03 +02:00
JC Brand
aa30d97cea Update build documentation to mention make watch 2018-10-18 20:33:46 +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
18dad134fc Document that OMEMO is disabled when the device is untrusted 2018-10-18 08:08:44 +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
JC Brand
029fb6d60b Make sure we have a device to publish before doing so 2018-10-18 00:17:21 +02:00
JC Brand
94a1852b4f Use async function instead of explicit promises 2018-10-17 23:58:11 +02:00
JC Brand
abd9786c0f Fix failing test and update changelog. updates #1185 2018-10-17 22:31:21 +02:00