Commit Graph

307 Commits

Author SHA1 Message Date
JC Brand 603f8349e8 Bump eslint and use `@babel/eslint-parser`
Also had to add a `babel.config.js` for it to work
2022-08-09 11:56:00 +02:00
JC Brand 0cfe2a18af Apply eslint to all JS files in src/ 2022-07-26 21:39:50 +02:00
JC Brand 6d39fae71a Remove Buildout and just use `pip` to genrate the Sphinx docs 2022-06-11 23:42:47 +02:00
JC Brand ae2bd63d8f Release 9.1.1 2022-05-05 21:33:31 +02:00
JC Brand 4b6626ee70 Improve and simplify the webpack builds
I've now also figured out why loading of chunks failed when running
using converse.js (but not when using converse.min.js or when running `make watch`).

When running `make dist`, first `converse.js` and `converse.min.js` were
built with `mode` set to `development` (via `webpack.dev.js`) and then
`converse.min.js` was again built with mode set to `production` (via
`webpack.prod.js`).

When running only one build or the other (either `webpack.dev.js` or
`webpack.prod.js`) then the loading of chunks didn't fail, so it had
something to do with running both builds back to back.

I've now removed the `.dev.js` webpack config files and instead build
the minimized and non-minimized from the same config file
`webpack.build.js`.

I did the same for the headless builds.
2022-05-05 07:28:44 +02:00
JC Brand c590c4f4bb Updated to latest Sphinx version 2022-04-02 20:32:34 +02:00
JC Brand 6b1845ff39 Release 9.1.0 2022-04-02 19:31:37 +02:00
JC Brand c2ba8ecf97 Upgrade Python dependencies
Allows for docs to be built on Python3.9
2022-02-20 18:45:21 +01:00
JC Brand 351212cd13 Move webpack files into dir 2022-01-27 13:08:40 +01:00
JC Brand 93ec6e4e83 Also build a non-minified version of converse-headless
Relevant to #2788
2022-01-27 11:51:54 +01:00
JC Brand 077162529d Release 9.0.0 2021-11-29 10:00:38 +01:00
JC Brand 2b7624e622 Make sure all files are used when generating API docs 2021-09-14 15:04:12 +02:00
JC Brand 6b3f8a3f39 Release 8.0.1 2021-09-09 22:09:26 +02:00
JC Brand 9b4ce0011e Postrelease 2021-09-04 09:42:45 +02:00
JC Brand c03bc7d600 Prepare release 8.0.0 2021-09-03 15:40:11 +02:00
JC Brand d0627f800c Clear unread message counters when chat becomes visible 2021-07-30 09:56:17 +02:00
JC Brand 14e5e3b3a6 Bump more deps and update changelog to mention required Node version 2021-07-15 12:47:19 +02:00
JC Brand ba0ea6c2c4 Update translations based on suggestions from Zash on weblate 2021-06-25 10:38:38 +02:00
JC Brand dc711d494f Add a placeholder to indicate a gap in the message history
The user can click the placeholder to fill in the gap.
2021-06-17 11:35:06 +02:00
JC Brand 39d60f05c3 Remove twitter link from homepage. Make navbar more visible 2021-06-10 10:07:19 +02:00
JC Brand 4bdafb8ea3 Break Sass up into more files
And import where appropriate to allow for custom builds that are still styled properly
2021-04-30 17:36:40 +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 be9db63718 Fixes #2443 2021-04-09 10:17:38 +02:00
JC Brand 724a6855ed Fixes #2443 2021-04-01 13:05:36 +02:00
JC Brand c11b3d03f4 Make sure `dist/converse-headless.min.js` gets built
Fixes #2377
2021-02-24 07:57:56 +01:00
JC Brand d2074afe9a Document breaking changes to message transformation events 2020-11-25 14:53:27 +01:00
JC Brand db1905fdb6 Release 7.0.2 2020-11-23 10:18:35 +01:00
JC Brand 85375842a8 Release 7.0.1 2020-11-19 11:23:04 +01:00
JC Brand 357cad8a49 Release 7.0.0 2020-11-18 12:10:32 +01:00
JC Brand ced43363f6 Document how to run tests 2020-09-18 21:37:26 +02:00
JC Brand 87b69c1d11 Update documentation in anticipation of next release
Site HTML: make links relative
2020-09-18 11:34:14 +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 3e8b3f73bd Move pot and po files to src/i18n and regenerate 2020-08-16 22:54:45 +02:00
JC Brand 43ccc09cf2 Don't assume that converse is a global 2020-07-10 14:20:02 +02:00
JC Brand 8943609d10 Refactor the body directive
Changes how rich message markup is generated and kept track of.
We now have a MessageText class which subclasses String and which keeps
track of the rich markup associated with the message.
2020-07-09 20:50:25 +02:00
JC Brand cf258f0b4c Add new public API method `converse.insertInto` 2020-06-10 12:42:46 +02:00
JC Brand 6ad76c14ef Fix test failure on travis 2020-06-05 16:02:23 +02:00
JC Brand 4b270359f6 Use Karma as test runner 2020-04-23 11:55:51 +02:00
JC Brand 65246d0041 Update Makefile
- Don't unnecessarily build dist files
2020-04-21 14:25:27 +02:00
JC Brand d9c41f62cf Add `install` recipe as alias to `build` and `dist` 2020-04-20 18:49:02 +02:00
JC Brand 5e91adbf4e Update various 3rd party dependencies 2020-04-17 11:40:14 +02:00
JC Brand fef5292a12 Replace JID with 'XMPP Address' 2020-04-13 14:46:31 +02:00
JC Brand df304a908f Manually merge translations from weblate 2020-04-13 14:29:39 +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 3954e7c6fa Remove need for stamp-npm file 2020-04-07 15:10:50 +02:00
JC Brand 5b6a69e0ab Makefile: rebuild node-sass to fix build error on Travis
See: https://github.com/sass/node-sass/issues/1579#issuecomment-227663782
2020-04-07 14:13:49 +02:00
JC Brand e691d858e3 Add version number and sized images to manifest.json 2020-03-03 16:00:57 +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
JC Brand ad4c6dd60c Generate new pot and po files 2020-02-11 10:13:29 +01:00