Commit Graph

6698 Commits

Author SHA1 Message Date
JC Brand
f6f7d05c8b Revert "Add terser minifier for webpack"
This reverts commit 34436b7f56.

I'm experiencing issues with map files while using the debugger in
the browser console.
2020-02-13 16:30:36 +01:00
JC Brand
34436b7f56 Add terser minifier for webpack 2020-02-13 14:42:59 +01:00
JC Brand
98963366b7 Add the clean-webpack-plugin 2020-02-13 14:30:29 +01:00
JC Brand
2d57f6c889 Make sure webfonts dir is copied over
Also move `custom_emojis` dir out of `dist` and copy it over as well.
2020-02-13 13:42:18 +01:00
JC Brand
d833120f5e Fixees #1747
Don't rewrite the urls for assets loaded via `url()` in CSS.

Instead, they should be relative to the CSS file.
2020-02-13 12:31:10 +01:00
dependabot-preview[bot]
49fa881be8
[Security] Bump npm from 6.11.3 to 6.13.4 (#1870)
Bumps [npm](https://github.com/npm/cli) from 6.11.3 to 6.13.4. **This update includes security fixes.**
- [Release notes](https://github.com/npm/cli/releases)
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md)
- [Commits](https://github.com/npm/cli/compare/v6.11.3...v6.13.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-13 11:31:36 +01:00
dependabot-preview[bot]
2598a8fa8d
[Security] Bump tar from 2.2.1 to 2.2.2 (#1869)
Bumps [tar](https://github.com/npm/node-tar) from 2.2.1 to 2.2.2. **This update includes a security fix.**
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v2.2.1...v2.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-13 10:01:13 +01:00
dependabot-preview[bot]
7fafabf7c4
Bump uglify-js from 3.7.4 to 3.7.7 (#1871)
Bumps [uglify-js](https://github.com/mishoo/UglifyJS2) from 3.7.4 to 3.7.7.
- [Release notes](https://github.com/mishoo/UglifyJS2/releases)
- [Commits](https://github.com/mishoo/UglifyJS2/compare/v3.7.4...v3.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-13 10:00:13 +01:00
dependabot-preview[bot]
c31b19a640
Bump webpack-merge from 4.2.1 to 4.2.2 (#1872)
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/survivejs/webpack-merge/releases)
- [Changelog](https://github.com/survivejs/webpack-merge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v4.2.1...v4.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-13 09:59:43 +01:00
dependabot-preview[bot]
88ff2276e3
[Security] Bump fstream from 1.0.11 to 1.0.12 (#1862)
Bumps [fstream](https://github.com/npm/fstream) from 1.0.11 to 1.0.12. **This update includes a security fix.**
- [Release notes](https://github.com/npm/fstream/releases)
- [Commits](https://github.com/npm/fstream/compare/v1.0.11...v1.0.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-12 12:38:21 +01:00
dependabot-preview[bot]
e8b750c54f
[Security] Bump mixin-deep from 1.3.1 to 1.3.2 (#1866)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. **This update includes a security fix.**
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-12 12:38:01 +01:00
dependabot-preview[bot]
2a21a35a8e
[Security] Bump https-proxy-agent from 2.2.2 to 2.2.4 (#1864)
Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) from 2.2.2 to 2.2.4. **This update includes security fixes.**
- [Release notes](https://github.com/TooTallNate/node-https-proxy-agent/releases)
- [Commits](https://github.com/TooTallNate/node-https-proxy-agent/compare/2.2.2...2.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-12 12:37:36 +01:00
dependabot-preview[bot]
788a3b930f
Bump install from 0.9.6 to 0.13.0 (#1865)
Bumps [install](https://github.com/benjamn/install) from 0.9.6 to 0.13.0.
- [Release notes](https://github.com/benjamn/install/releases)
- [Commits](https://github.com/benjamn/install/compare/v0.9.6...v0.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-12 12:36:54 +01:00
dependabot-preview[bot]
d893d7853b
Bump http-server from 0.11.1 to 0.12.1 (#1861)
Bumps [http-server](https://github.com/http-party/http-server) from 0.11.1 to 0.12.1.
- [Release notes](https://github.com/http-party/http-server/releases)
- [Commits](https://github.com/http-party/http-server/compare/0.11.1...v0.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-12 12:36:10 +01:00
dependabot-preview[bot]
177501a14a
Bump @babel/plugin-syntax-dynamic-import from 7.2.0 to 7.8.3 (#1867)
Bumps [@babel/plugin-syntax-dynamic-import](https://github.com/babel/babel) from 7.2.0 to 7.8.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.2.0...v7.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-12 12:35:52 +01:00
dependabot-preview[bot]
a5b68b09ef
Bump sinon from 7.3.2 to 8.1.1 (#1868)
Bumps [sinon](https://github.com/sinonjs/sinon) from 7.3.2 to 8.1.1.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v7.3.2...v8.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-12 12:34:26 +01:00
JC Brand
ad4c6dd60c Generate new pot and po files 2020-02-11 10:13:29 +01:00
JC Brand
181d18fcfe Translation and undefined variable fixes 2020-02-11 10:13:23 +01:00
GriZmio
897d3af277
Allow ignore bootstrap modules at build (#1852)
* This allow you to ignore some bootstrap modules you have already included/imported
to your project. Fix error: In a webpage you are already using bootstrap and have
a dropdown, but you have to click twice to make it work, because conversejs added
another handler.

* Add:
   - Allow ignoring bootstrap modules using environment variable: BOOTSTRAP_IGNORE_MODULES="Modal,Dropdown".
     Example: export BOOTSTRAP_IGNORE_MODULES="Modal,Dropdown" ; make dist
2020-02-11 09:53:37 +01:00
JC Brand
5edb62c3c0 Translated using Weblate (Afrikaans)
Currently translated at 100.0% (440 of 440 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/af/
2020-02-11 09:52:00 +01:00
Arunothai Supsook
2775f24610 Translated using Weblate (Thai)
Currently translated at 32.2% (142 of 441 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/th/
2020-02-11 09:52:00 +01:00
Arunothai Supsook
054f4174a2 Added translation using Weblate (Thai) 2020-02-11 09:52:00 +01:00
Prachi Joshi
4a5e30717c Translated using Weblate (Marathi)
Currently translated at 8.6% (38 of 440 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/mr/
2020-02-11 09:52:00 +01:00
Антон
08f1b73c34 Translated using Weblate (Russian)
Currently translated at 88.2% (388 of 440 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ru/
2020-02-11 09:52:00 +01:00
Szilágyi Gyula
8d91c33c0b Translated using Weblate (Hungarian)
Currently translated at 83.0% (365 of 440 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/hu/
2020-02-11 09:52:00 +01:00
Tymofij Lytvynenko
a16851fa92 Translated using Weblate (Ukrainian)
Currently translated at 31.4% (138 of 440 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/uk/
2020-02-11 09:52:00 +01:00
Nathan
65f40e493f Translated using Weblate (French)
Currently translated at 99.8% (439 of 440 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/
2020-02-11 09:52:00 +01:00
Licaon Kter
02509eb43e Translated using Weblate (Romanian)
Currently translated at 48.9% (215 of 440 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ro/
2020-02-11 09:52:00 +01:00
Mako N
ef3bff76fe Translated using Weblate (Japanese)
Currently translated at 100.0% (440 of 440 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ja/
2020-02-11 09:52:00 +01:00
Xosé M
ee91745545 Translated using Weblate (Galician)
Currently translated at 100.0% (440 of 440 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/gl/
2020-02-11 09:52:00 +01:00
JC Brand
64f5bfa09f Don't gatekeep rendering of the chatroom heading 2020-02-10 23:21:35 +01:00
JC Brand
faa02b058d Make sure messages Collection exists when we receive an error message 2020-02-10 18:41:32 +01:00
JC Brand
893ef10563 Use lit-html to render chat head 2020-02-07 16:09:12 +01:00
JC Brand
2235d4c432 Use lit-html to render MUC heading 2020-02-07 14:58:26 +01:00
JC Brand
64e8291eaf Set padding for chat-head 2020-02-07 13:45:25 +01:00
JC Brand
15f15e9a09 Bugfix. Declare parameter 2020-02-07 13:34:22 +01:00
JC Brand
cf5f78cb79 Use 10% avatar border radius for concord theme 2020-02-07 13:28:33 +01:00
JC Brand
5fd3ce0138 Remove flyout padding in fullscreen view mode 2020-02-07 13:19:35 +01:00
JC Brand
7d91b17552 Rename methods to clarify their purpose 2020-02-07 12:42:19 +01:00
JC Brand
0653505a40 tests: Use u.getUniqueId instead of time for message ids 2020-02-07 12:35:54 +01:00
JC Brand
fb9fe280ac Updates to how dupes are detected.
- Collapse 3 different loops into one.
- Check all saved stanza ids in the parsed attrs, not just the archive id
- Remove check for archive id in converse-mam since it just duplicates what's now being done in converse-chat
- Don't use disco to check for support, XEP-359 mandates that services SHOULD advertise support,
  which is not a strong enough guarantee that they do.

updates #1856
2020-02-07 12:35:45 +01:00
JC Brand
746fe441e2 Updates the message parsing.
Only set `id` once we've actually parsed the sender attributes,
otherwise `attrs.from` is `undefined`.

Use `Array.prototype.reduce` to generate stanza_ids attributes map.

Add `from_muc` attribute which contains the MUC JID
2020-02-07 12:12:38 +01:00
JC Brand
d2b6b41128 emoji-picker: Make sure that emojis as images are rendered properly 2020-02-06 16:27:44 +01:00
JC Brand
976c3d6006 Remove the formdata and promise polyfills 2020-02-06 15:20:29 +01:00
JC Brand
a1670462ca Remove jquery and undersscore shims 2020-02-06 14:51:50 +01:00
JC Brand
9b279ad39d Various emoji-picker fixes after recent refactoring
- Fix choosing of a categoy
- Make the highlight color darker (more visible)
2020-02-05 23:20:51 +01:00
JC Brand
9e86b5e8df emoji-picker: Disable using the right arrow to initiate keyboard nav 2020-02-05 18:05:32 +01:00
JC Brand
4b3d330190 Avoid sending blur event when navigating the emoji picker
Also, listen to the `focusin` and `focusout` events, since they bubble,
allowing us to listen on the chatbox itself.
2020-02-05 16:08:54 +01:00
JC Brand
6e8a987694 Fix failing test (when run in isolation) 2020-02-04 13:46:43 +01:00
JC Brand
f854e477b7 Add placeholder to MUC invite modal input 2020-02-03 23:24:44 +01:00