JC Brand
51e0237f5d
Upgrade lit to 2.0.0-rc.2
2021-06-25 11:34:56 +02:00
JC Brand
14020125b9
Remove sinon and bump npm
2021-06-25 11:21:17 +02:00
JC Brand
4c6c774251
Bump jasmine from 3.5.0 to 3.7.0
2021-06-25 10:55:56 +02:00
JC Brand
fe28b3e6af
Upgrade copy-webpack-plugin to 9.0.0
2021-06-25 10:51:36 +02:00
JC Brand
ba0ea6c2c4
Update translations based on suggestions from Zash on weblate
2021-06-25 10:38:38 +02:00
JC Brand
14f0ed43c5
Add dayjs as dependency to @converse/headless
2021-06-16 14:47:34 +02:00
JC Brand
dd609c1cec
Get the webpack dev server to work again
...
This required triggering the `converse-loaded` event in the entry.js
file, which means it won't be triggered for `@converse/headless` when
used in isolation.
Not ideal, but probably ok because consumers of `@converse/headless`
should probably import it into their own project in any case.
2021-05-06 12:07:44 +02:00
JC Brand
8966290369
Don't make bundled dependencies devDependencies
...
Otherwise you need to manually include them in downstream consumer projects
2021-04-30 14:17:46 +02:00
Shaun Wu
9ea8653ef7
Upgrade to Webpack 3
...
Had to make various other changes due to incompatibilities.
- Use the new `lit` package instead of `lit-html` or `lit-element`
- Drop `haunted` since it breaks the rules by specifying `type: module`
but then doesn't import with file extensions
- Use Sass Dart instead of node-sass (fixes #2445 )
- Upgrade Karma
2021-04-30 13:50:50 +02:00
JC Brand
57ccf4c20e
Batched writes to IndexedDB
...
- Update to the latest @converse/skeletor (which uses mergebounce to batch writes)
- Flush storage before logging out
- Flush when reloading the tab
- Create initStorage method
2021-04-28 16:53:50 +02:00
JC Brand
ccd60f76c3
Cleanup
...
- Move top-level functinos to utils files
- Get rid of unused/obsolete overrides
- Only import components there where they're used
- Bump version in package.json
2021-03-26 10:58:51 +01:00
JC Brand
16e7133e31
update to newer webpack-http-dev-server
2021-03-23 16:18:46 +01:00
JC Brand
89906f4826
Update bootstrap to version 4.6.0
...
Also update webpack-merge, webpack-cli and @babel/plugin-proposal-nullish-coalescing-operator
2021-03-19 13:02:56 +01:00
JC Brand
b19a1e79f5
Security fix update for uri.js
2021-03-08 11:20:07 +01:00
JC Brand
8b052e20b9
Fix tests by pinning to latest @converse/skeletor
2021-02-10 16:14:34 +01:00
JC Brand
9a2ded5a9a
Remove global lodash
2020-12-29 15:12:45 +01:00
JC Brand
bb3ac36098
Render the roster container and filter with lit-html
...
This is the first commit that makes use of the `ElementView` from
Skeletor, which lets us turn views into custom elements.
2020-12-28 20:56:37 +01:00
JC Brand
3b00a0e30d
Bump lit-element and xss
2020-12-10 17:29:47 +01:00
JC Brand
5a82478381
Declare sizzle as a dependency for @converse/headless
2020-12-10 17:13:40 +01:00
JC Brand
c0dc8c8915
Bump 3rd party dev dependencies
2020-12-03 12:25:43 +01:00
JC Brand
db1905fdb6
Release 7.0.2
2020-11-23 10:18:35 +01:00
JC Brand
1b50696ca7
Make sure all necessary files are included in the NPM package
2020-11-19 13:12:13 +01:00
JC Brand
85375842a8
Release 7.0.1
2020-11-19 11:23:04 +01:00
JC Brand
16b16a109e
Make sure JS files in templates are included in package
2020-11-18 18:00:21 +01:00
JC Brand
cf94a5193a
Move dependency to headless package.json
2020-11-05 14:26:04 +01:00
JC Brand
bdb347b703
Updates #1471
...
OMEMO should not be enabled if the device is not trusted and also not if
the cache gets cleared on logout.
2020-11-02 13:22:00 +01:00
Dele Olajide
9f548ae8de
fix #1250 ( #2323 )
...
Fixes #1250 Change favicon color when unread messages
2020-11-02 09:10:07 +01:00
Dele Olajide
285bbbc2f1
fix #2321 ( #2322 )
...
When Converse runs inside a browser extension, enable browser sync and local storage for persistent storage
2020-10-30 12:51:55 +01:00
JC Brand
8c1e886af9
Fixes #2302 Bookmarks get duplicated on server push
2020-10-23 16:22:40 +02:00
JC Brand
383b6a27c3
Render the brand heading as a component
2020-10-02 11:44:28 +02:00
JC Brand
fc2a0d07ab
Build improvemnets
...
* Remove CleanWebpackPlugin
This pugin would wipe the non-minified files every time `make dist` was called,
and generally made it more difficult to build only particular files.
* Use order-only prerequisites for the `dist` Make recipe
This allows more efficient building because order-only prerequisites
don't force a rebuild of the main recipe.
https://www.gnu.org/software/make/manual/make.html#Prerequisite-Types
2020-09-18 11:34:14 +02:00
JC Brand
2c042cc3fa
Fixes #2184 : Headless build relies on locale directory
...
Removed Jed from the headless build and instead let `__` call sprintf.
It's now up to downstream users for `@converse/headless` to decide
whether they want i18n support for the few translatable strings in that package
and to implement it themselves.
2020-09-10 08:55:38 +02:00
JC Brand
945d7e9891
Update 3rd party dependencies
2020-07-22 10:04:59 +02:00
JC Brand
cb50de16e2
Update 3rd party dependencies
2020-07-20 13:19:12 +02:00
JC Brand
f4f183bc46
Rendeer SVG icons inline
...
to overcome cross-site restrictions on using the `use` attribute of the `<svg>` element.
2020-07-02 01:21:40 +02:00
JC Brand
694e7abe9c
Bump dependencies
2020-06-26 16:00:48 +02:00
JC Brand
bec476b601
Bump various dependencies
2020-06-25 11:19:07 +02:00
JC Brand
a31d245136
Update to eslint 7.3.0
2020-06-22 11:01:19 +02:00
JC Brand
e0be139783
Update copy-webpack-plugin to version 6.0.2
2020-06-18 13:33:56 +02:00
Ariel Fuggini
73d33e1161
Makes mentions case-insensitive, plus parsing functionality refactor ( #2061 )
2020-06-18 11:19:01 +02:00
JC Brand
3f7e5e29f3
Downgrade style-loader. Breaks font icons in dev server
2020-06-11 16:10:39 +02:00
JC Brand
9780024dc6
Bump various dependencies
2020-06-09 11:39:58 +02:00
JC Brand
b0cb489769
Use @converse/skeletor, lodash-es and latest webpack-dev-server
2020-06-08 19:38:16 +02:00
JC Brand
ccd817cce1
Update to latest version of karma
2020-06-01 16:04:56 +02:00
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
JC Brand
9f054dd767
Update webpack config
...
- hot reloading
- split config into dev and prod
2019-08-23 13:29:26 +02:00
JC Brand
76f2b66445
Add a po loader for webpack.
...
- Removes the need for generating and keeping json files
2019-08-23 11:42:37 +02:00
JC Brand
8aaf50d58c
Use webpack's dynamic imports feature for fetching emoji JSON
2019-08-23 09:18:10 +02:00
JC Brand
8f571ff148
Release 5.0.1
2019-08-14 12:56:44 +02:00
JC Brand
bc27b3a36a
Release 5.0.0
2019-08-08 18:13:12 +02:00
JC Brand
ade6266de8
Update backbone.overview and strophe.js
2019-08-08 12:45:17 +02:00