Commit Graph

321 Commits

Author SHA1 Message Date
JC Brand cb1f929045 Fixes #3123: Contacts do not show up online until chat is opened with them.
The issue was that nothing was listening to the new `presenceChanged` event.
2023-06-09 20:37:27 +02:00
JC Brand 8b28ffecfe Don't run type check when making dist files 2023-06-09 11:40:04 +02:00
JC Brand 7fdbcd0e64 Make sure node_modules are installed 2023-06-09 11:23:56 +02:00
JC Brand 975a2c2305 Remove Lerna and bump Node version.
Lerna doesn't seem to be needed anymore, NPM workspaces functionality suffices.
2023-06-09 11:19:23 +02:00
JC Brand b647f5463f Check out new repo when making a release
Ignore media dir
2023-06-06 10:31:53 +02:00
JC Brand f91f4cb7ab Allow arguments to be passed when running tests 2023-06-05 09:39:37 +02:00
JC Brand f2ac748e06 Add `test` and `lint` NPM scripts 2023-06-02 07:31:47 +02:00
JC Brand 48e7987f38 Start work on removing constants from _converse object 2023-03-03 17:28:26 +01:00
JC Brand 3530ccc35d Add initial TypeScript support and declaration files 2023-02-23 09:38:11 +01:00
JC Brand 9899351597 Add a deploy Makefile recipe 2023-02-17 12:19:08 +01:00
JC Brand 0b3bcbfe40 Release 10.1.2 2023-02-17 11:56:30 +01:00
JC Brand 6719aeba45 Release 10.1.1 2023-02-15 15:14:13 +01:00
JC Brand 078936fb8a Release 10.1.0 2023-01-07 21:14:22 +01:00
JC Brand d5deed0871 Release 10.0.0 2022-10-30 17:03:41 +01:00
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