Commit Graph

333 Commits

Author SHA1 Message Date
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
JC Brand 9c5fc2e4d3 Use package.json files to specify more precisely what gets packed 2020-01-10 13:29:42 +01:00
JC Brand e866248227 Don't include vim temp-files in release tarball
and bump post-release version number
2020-01-10 13:04:05 +01:00
JC Brand cd60614f88 Release 6.0.0 2020-01-09 17:15:43 +01:00
JC Brand e78aa68233 Build website css when running `make dist` 2020-01-09 17:07:31 +01:00
JC Brand 86809d9301 Fix RsT errors in docs and rename `html` recipe to `doc` 2019-11-22 13:50:36 +01:00
JC Brand e6e23a1a82 Add initial support for custom emojis 2019-10-17 12:12:08 +02:00
JC Brand 266fe131a9 Release 5.0.4 2019-10-08 14:22:56 +02:00
Maxime “pep” Buquet e29849fe5e Makefile: use spaces not tabs for alignment in make help
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-23 11:46:54 +02:00
JC Brand 7ee6152c0b Add recipe for package-lock.json 2019-09-20 09:56:51 +02:00
JC Brand 39896b508b Release 5.0.3 2019-09-13 15:19:00 +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 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 e5d07f5a41 Build resources before running tests 2019-09-05 15:04:16 +02:00
JC Brand 60f04bc915 converse-emoji: Avoid dangling pointers to removed category DOM elements 2019-09-05 14:07:25 +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 38919a35ba Remove traces of bourbon from Makefile and use tabs 2019-09-04 15:23:48 +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 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 8f571ff148 Release 5.0.1 2019-08-14 12:56:44 +02:00
JC Brand a116a1ec8f Fix various website CSS issues. Re-add images 2019-08-09 00:17:03 +02:00
JC Brand bc27b3a36a Release 5.0.0 2019-08-08 18:13:12 +02:00
JC Brand 918b314f70 `make clean` shouldn't break if some dirs aren't there 2019-08-02 10:47:05 +02:00
JC Brand c5193be44b Add `postrelease` make recipe to show dev version number in app 2019-07-25 13:45:51 +02:00
JC Brand 9a7dd99889 Ensure python 3.7 is used for sphinx and bump lerna version 2019-07-25 13:24:16 +02:00
JC Brand fa2d6cca10 Update developer documentation and buildout dependencies 2019-07-25 12:33:46 +02:00
JC Brand b7155359b2 Fixes #1588 2019-06-12 06:45:00 +02:00
JC Brand 85fc91d7a1 Fixes #641.
Remove Makefile.win and add build instructions for Windows based on NPM
scripts.
2019-05-15 13:03:13 +02:00
Maxime “pep” Buquet 3e0361ca65 Makefile: Add missing quote
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-05-13 07:59:59 +02:00
JC Brand 9dface5a49 Add make recipe to bump release version in HTML files 2019-05-10 12:57:30 +02:00
JC Brand 476069ec50 Let `npm pack` create the assets tarball for us
That way the tarball we upload to Github is the same as the one that we
get from installing Converse via NPM.

CC @ChaosKid42

To create the tarball containing the assets, just run `npm pack`.
This is the same tarball that gets uploaded to https://npmjs.org
2019-05-10 12:57:30 +02:00
JC Brand 0e7d64818d Add NPM scripts so that we can build dist files 2019-05-10 12:57:30 +02:00
JC Brand c2a0999627 Put CSS files also in `./dist` 2019-05-10 12:57:30 +02:00
JC Brand e9e17cb293 Fixes #1543 2019-04-23 10:47:17 +02:00
JC Brand 0288ef437e Fixes #1542 2019-04-19 10:55:06 +02:00
JC Brand 1251f395b1 Use webpack to generate css/converse.css 2019-04-18 17:50:05 +02:00
JC Brand acab0339f1 New release 4.2.0 2019-04-04 12:33:08 +02:00
JC Brand a45bd8d14b Convert older docstrings to JSDoc syntax 2019-03-30 12:54:56 +01:00
JC Brand 81820d22a5 Build headless builds in src/headless/dist 2019-03-29 21:56:56 +01:00
JC Brand a0f5dfd35f Make sure API docs are also generated from headless code 2019-03-15 15:49:12 +01:00
JC Brand 11c1b01692 Add converse-headless.js dist file and recipes
updates #1352
2019-03-15 10:24:39 +01:00
Johan Oudinet 44e7275d89 Makefile: Fix .min.css filename and include headless variant in assets
Also include the unminified versions for people who wants to modify
them.
2019-02-25 18:37:40 +01:00
JC Brand 5afb3051cc New release v4.1.2 2019-02-22 16:49:45 +01:00
joudinet 21c8be8da3 Makefile: Keep .min extension and add sourcemap to the assets archive (#1453) 2019-02-22 16:34:39 +01:00
JC Brand e389d77107 New release 4.1.1 2019-02-18 20:40:55 +01:00
JC Brand 7100681496 Use devDependencies consistently
'dependencies' in package.json get installed as well when installing
converse.js or @converse/headless in a 3rd party project, which is
unnecessary.
2019-02-11 19:34:21 +01:00
Johan Oudinet a7386200f7 Makefile: Simplify sed commands
And fix an extra space added by mistake by the sed command on
_converse.VERSION_NAME in converse-core.js.
2019-02-11 04:45:35 -07:00
Johan Oudinet c5bd4c62cf Makefile: Create an archive with all assets.
Add the version to the archive name so it also fixes #1375.
Remove the recipes for css/webfonts.zip, sounds.zip, and locale.zip.
2019-02-11 04:45:35 -07:00
JC Brand c023bd1d47 Fix test failures on Chrome 72 2019-02-01 21:37:29 +01:00
JC Brand 20a14f5877 Build before testing 2019-01-28 13:30:47 +01:00
JC Brand a1795c29ba 3 small changes
- Set correct default value
- Set proper Makefile recipe dependency
- Fix rendering issue in changelog
2019-01-14 12:06:55 +01:00
JC Brand a2f42d27a2 New release 4.1.0 2019-01-11 18:49:37 +01:00
JC Brand 73ba427ba5 Add Make recipes for buildout and Sphinx and update docs 2018-12-19 11:03:54 +01:00
JC Brand cd29d10436 Don't include *~ files in zip 2018-12-11 11:44:11 +01:00
JC Brand 02c907128c Fix regex for setting the version number.
updates #1366
2018-12-07 13:55:41 +01:00
JC Brand 384f1d7977 New release 4.0.6 2018-12-07 12:40:02 +01:00
JC Brand 6e05f3b67c Create sourcemaps for CSS 2018-12-04 13:50:15 +01:00
JC Brand 588b015e62 Release v4.0.5 2018-11-15 13:24:22 +01:00
JC Brand e3a5bf7e23 Make recipe for sounds.zip 2018-11-13 16:06:11 +01:00
JC Brand 601ee673fa Fix typo in URL. Build JSDoc and Sphinx docs together 2018-11-13 12:59:51 +01:00
JC Brand 1d371ebfd8 Add make recipe for building font-awesome.css
Won't be included in the repo, but is useful in certain cases, for
example when embedding Converse in a web component, the fonts need to be
loaded in the main document.
2018-11-12 21:01:19 +01:00
JC Brand 975e111de3 Remove publish recipe and update release notes 2018-10-29 23:16:07 +01:00
JC Brand 5188c5d0e8 Fix publish recipe 2018-10-29 22:35:18 +01:00
JC Brand f471dd2474 Release 4.0.4 2018-10-29 22:28:28 +01:00
JC Brand 9a4bceba60 Add make recipes for zip files of webfonts and locales 2018-10-29 22:11:01 +01:00
JC Brand 11a53608d9 Right Align badges of room occupants
fixes #1264

Also...

- hide the badges in overlayed view mode
- hide the features list in overlayed view mode
2018-10-28 23:20:29 +01:00
JC Brand fd41994672 Pin to latest backbone.browserStorage, then `make clean && make dist` 2018-10-28 18:23:05 +01:00
JC Brand bf187560ee Replace ruby-sass with node-sass 2018-10-28 17:27:01 +01:00
Maxime “pep” Buquet 6f8b5d104b
Reword 'make watch' help to make it more accurate
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-10-25 21:53:47 +01:00
Maxime “pep” Buquet 79a0992507 Fix make help indentation
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-10-25 21:16:57 +01:00
Maxime “pep” Buquet 215086ffb2 Fix quotes and escaping in make help
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-10-25 21:16:52 +01:00
JC Brand 6904f9a897 Use es2015 modules instead of UMD 2018-10-23 12:25:58 +02:00