Commit Graph

331 Commits

Author SHA1 Message Date
JC Brand
7ebaac0b63 Explicitly add lit-element as dependency and update lockfile 2020-05-13 12:19:01 +02:00
JC Brand
089a54281e Bump various 3rd party dependencies 2020-04-29 16:01:33 +02:00
JC Brand
5546085f0d Add keywords 2020-04-29 11:17:21 +02:00
JC Brand
4b270359f6 Use Karma as test runner 2020-04-23 11:55:51 +02:00
JC Brand
7e23adf26f Remove the need for require.js to run tests 2020-04-22 12:10:39 +02:00
JC Brand
622abbe128 Downgrade style-loader
Webfonts don't load when running the dev server
2020-04-17 14:17:57 +02:00
JC Brand
5e91adbf4e Update various 3rd party dependencies 2020-04-17 11:40:14 +02:00
JC Brand
be3cbe6dc3 Downgrade dayjs
Due to this bug: https://github.com/iamkun/dayjs/issues/792
2020-04-15 17:47:50 +02:00
JC Brand
0660663161 Bump various 3rd party dependencies 2020-04-15 12:31:30 +02:00
JC Brand
2dd6bc85ea Fixes #1961
Make sure dist dir is included in headless NPM package
2020-04-13 11:45:02 +02:00
JC Brand
8824bb26c4 Bump various dependencies 2020-04-13 11:39:00 +02:00
JC Brand
ac4440f4bf Update 3rd party deps and disable XEP-156 to speed up tests 2020-04-10 21:13:37 +02:00
JC Brand
727ddc29bf Fix travis 2020-04-07 17:03:45 +02:00
JC Brand
9c509eae4b Update to latest sass-loader 2020-04-07 14:08:01 +02:00
JC Brand
619cb8973d Update various 3rd party dependencies 2020-04-07 13:18:55 +02:00
dependabot-preview[bot]
6a66ba7158
Bump @fortawesome/fontawesome-free from 5.9.0 to 5.13.0 (#1921)
Bumps [@fortawesome/fontawesome-free](https://github.com/FortAwesome/Font-Awesome) from 5.9.0 to 5.13.0.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases)
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/5.9.0...5.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-25 08:47:58 +01:00
JC Brand
4727f3b3bb Add support for optional chaining and nullish coalascing 2020-03-24 09:38:32 +01:00
JC Brand
e691d858e3 Add version number and sized images to manifest.json 2020-03-03 16:00:57 +01:00
dependabot-preview[bot]
56cbb69ad1
Bump mini-css-extract-plugin from 0.7.0 to 0.9.0 (#1878)
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.7.0 to 0.9.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.7.0...v0.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 13:07:14 +01:00
JC Brand
3400acbfeb Show MUC buttons in a dropdown menu
- Get rid of the ChatBoxHeading class
- Add support for showing standalone buttons in overlay viewmode
2020-02-13 20:57:47 +01:00
JC Brand
2a7773dce5 Bump bootstrap.native 2020-02-13 20:03:48 +01:00
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
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]
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
976c3d6006 Remove the formdata and promise polyfills 2020-02-06 15:20:29 +01:00
JC Brand
29aed314c1 Remove Backbone
* Remove backbone as NPM deps and from docs
* Remove backbone stuff from webpack
2020-01-30 17:36:55 +01:00
JC Brand
ad93407907 Replace modal templates with lit-html components 2020-01-30 17:36:55 +01:00
JC Brand
a8104d7498 Add Skeletor as dependency 2020-01-30 17:36:55 +01:00
JC Brand
9c5fc2e4d3 Use package.json files to specify more precisely what gets packed 2020-01-10 13:29:42 +01:00
raphaelSeguin
97b8ecbbdf Display status avatars in the occupants list 2019-12-05 14:13:52 +01:00
JC Brand
13ffe5a667 Various smaller retraction related fixes and improvements 2019-11-26 12:16:48 +01:00
JC Brand
1fa203c990 Support for IndexedDB. updates #1105
Depend on latest backbone.browserStorage which has support for IndexedDB
via localforage.

Storage operations are now asynchronous and transactional.

Bugs fixed (mostly by waiting for operations to complete):

* Rooms are now fetched asynchronously, so wait before triggering `show`
  or when closing.
* Make sure chat create/update transactions complete before firing events
* Make sure chats and messages have been fetched before creating new ones.
* When doing a `fetch` with `wait: false` on a collection and then
  creating a model in that collection, then once the read
  operation finishes (after creating the model), the collection is emptied again.
* Patch and wait when saving.
  Otherwise we have previously set attributes overriding later ones.
* Make sure api.roomviews.close returns a promise

Test fixes:

* Chats are now asynchronously returned, so we need to use `await`
* Wait for the storage transaction to complete when creating and updating messages
* Wait for all chatboxes to close
    Otherwise we get sessionStorage inconsistencies due to the async nature of localforage.
* Wait for room views to close in spec/chatroom.js

In the process, remove the `closeAllChatBoxes` override in
converse-controlbox by letting the `close` method decide whether it
should be closed or not.
2019-10-30 13:02:23 +01:00
JC Brand
1e707f7cf2 npm run build should also build unminified JS 2019-10-09 16:57:32 +02:00
JC Brand
266fe131a9 Release 5.0.4 2019-10-08 14:22:56 +02:00
JC Brand
c357dec8ed Fix CDN path 2019-09-13 16:04:25 +02:00
JC Brand
39896b508b Release 5.0.3 2019-09-13 15:19:00 +02:00
JC Brand
bdf4f3f536 Bump npm and lodash 2019-09-13 13:38:20 +02:00
JC Brand
31860acc9d Makefile: add recipe for setting the CDN url as the publicPath 2019-09-13 13:29:49 +02:00
JC Brand
43c7040331 Include the locale dir in package builds 2019-09-11 18:42:38 +02:00
JC Brand
5bf0955193 Release 5.0.2 2019-09-11 17:44:38 +02:00
JC Brand
b3e13c5ea5 Add webpack config for making a headless build 2019-09-11 17:18:11 +02:00
JC Brand
54b3fc6dfc Update eslint 2019-09-09 13:13:23 +02:00
JC Brand
e5d07f5a41 Build resources before running tests 2019-09-05 15:04:16 +02:00
JC Brand
64135b7731 Update webpack config to re-add the old make watch 2019-09-04 19:09:16 +02:00
JC Brand
df7e3841a2 Add latest babel plugin for dynamic imports 2019-09-04 15:18:51 +02:00
JC Brand
cf7d2fb648 Add webpack.nodeps.js
Use it to generate dist/converse-no-dependencies.js which we use to
generate the converse.pot file.
2019-08-23 21:36:27 +02:00
JC Brand
12bca2298c Replace Bourbon with postcss/autoprefixer 2019-08-23 15:09:37 +02:00
JC Brand
9ae71104c2 webpack: split css out into separate file
- Add postcss with autoprefixer and cleancss
2019-08-23 14:56:10 +02:00