Commit Graph

308 Commits

Author SHA1 Message Date
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
JC Brand
18024b8bd2 Store lerna packages in the src directory
- Also update versions in package.json
- Update Makefile
2018-10-22 13:29:25 +02:00
cmrd Senya
0370ced93f Init project with lerna 2018-10-22 12:42:30 +02:00
JC Brand
279fda7877 New release 4.0.3 2018-10-22 11:41:40 +02:00
JC Brand
49bfc3cb2c Don't build font-awesome.css 2018-10-21 23:45:54 +02:00
JC Brand
d81f585894 Updates #1232 2018-10-06 19:30:04 +02:00
JC Brand
490d3bbdf1 Let make watch handle both css and js 2018-10-06 06:59:04 +02:00
JC Brand
79b8ed7177 New release 4.0.2 2018-10-02 22:51:01 +02:00
JC Brand
11dd79f8cd New release 4.0.1 2018-09-19 16:16:10 +02:00
JC Brand
505df62eab Remove start.frag and end.frag
They're no longer needed since we're using webpack
2018-09-19 16:00:39 +02:00
JC Brand
09bb6b494d New release 4.0.0 2018-09-07 16:20:30 +02:00
JC Brand
eca11953bb Upgrade to fontawesome 5 2018-09-04 13:34:06 +02:00
JC Brand
45fc71c05d More jsdoc docstrings as well as an intro page and JSON config 2018-09-02 10:11:37 +02:00
JC Brand
dc4c832fce Add jsdoc docstrings to chats API.
Link to the jsdoc output from the Sphinx docs
2018-08-01 12:11:10 +02:00
JC Brand
81ed773baa Updated css and fix some niggles in the Makefile 2018-06-14 10:22:16 +02:00
Maxime Buquet
2ff9a3c6fd Fix build targets in Makefile (#1112)
The 'dist/converse-no-dependencies-es5.js' rule is called
'dist/converse-no-dependencies-es2015.js'.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-06-11 22:50:06 +02:00
JC Brand
907775d784 No further need for a separate babel file and transpile step 2018-06-07 19:06:35 +02:00
JC Brand
659f70b28b Add the ability to make different kinds of builds 2018-06-04 13:38:53 +02:00
JC Brand
bc872ee2cb Fix various failing tests and update Makefile 2018-06-04 11:20:34 +02:00
JC Brand
6dc9e8edf1 Use webpack for module bundling 2018-05-25 14:23:32 +02:00
JC Brand
fa849b3dfa fixes #1091
We no longer need inverse.css
2018-05-24 14:38:17 +02:00
JC Brand
d0f490bbdc Start using Sass for the website CSS and rename 2018-05-15 09:38:20 +02:00
JC Brand
72001cb9df updates #1100 More jsdoc docstrings 2018-05-11 13:42:35 +02:00
JC Brand
38499917a9 updates #194
Include entity capabilities hash in outgoing presences

Also, started some work on using jsdoc for rendering API documentation.
Ideally that would go into a separate commit but that would take ages to
untangle.
2018-05-11 13:35:27 +02:00
JC Brand
df948a8dd6 Also allow a single-user chat to be embedded into the page 2018-05-03 17:01:17 +02:00
JC Brand
28ce3b5fa4 Fix paths for making css 2018-04-30 15:40:34 +02:00
JC Brand
aa6a739cfa Initial work on showing avatars in messages.
- Update the mockups to show avatars.
2018-04-30 15:37:36 +02:00
JC Brand
fe1ba6265a Revert "Doesn't seem necessary to build fonts.css"
Actually, it's used for rendering a MUC inside a webcomponent!
2018-04-24 16:27:56 +02:00
JC Brand
07ac8d4a3e Various HTML/CSS fixes for the demos, particularly embedded MUC 2018-04-24 14:46:09 +02:00
Emmanuel Gil Peyrot
2267c8459d Add rules to generate PNG logos 2018-03-30 14:59:32 +02:00
Emmanuel Gil Peyrot
8efcbeabb0 Fix make help’s unclosed strings 2018-03-30 14:59:32 +02:00
JC Brand
1cec976b5b Don't build theme.css from sass
The theme is still bootstrap3 based and there isn't enough time
currently to redo on bootstrap4.
2018-03-30 14:23:39 +02:00
JC Brand
a9d2740b8a Regenerated 2018-03-30 14:22:41 +02:00
JC Brand
516352c413 Disable emoji images by default 2018-03-30 14:16:06 +02:00
JC Brand
3f729aac1b Doesn't seem necessary to build fonts.css 2018-03-30 14:16:05 +02:00
JC Brand
ba1d49383f No rule to make mobile.min.css 2018-03-30 14:16:04 +02:00
JC Brand
877acd16d2 Update eslint 2018-03-17 18:54:19 +00:00
JC Brand
fa30f936b6 Use sass for the theme css 2018-03-11 12:04:27 +01:00
JC Brand
439e2a25ca Merge branch 'master' into bootstrap4 2018-03-06 11:40:10 +01:00
JC Brand
37a182d4c0 Clean up and condense Makefile 2018-03-06 11:26:47 +01:00
JC Brand
d4d3d4c838 Merge branch 'split-muc' into bootstrap4 2018-03-05 16:51:33 +01:00
JC Brand
8211ed8f70 Release 3.3.4 2018-03-05 14:43:53 +01:00
JC Brand
e143c88475 More work on the "add chatroom" modal. Working now. 2018-02-22 15:58:23 +01:00
JC Brand
617019af0e Merge remote-tracking branch 'origin' into bootstrap4 2018-02-15 14:15:04 +01:00
JC Brand
db85cb7f1d Release 3.3.3 2018-02-14 16:53:07 +01:00
JC Brand
08a76d8a6b Merge branch 'webcomponent-embedded' 2018-02-14 02:15:49 +01:00
JC Brand
2a2e4688a7 Update version number for CDN files in quickstart 2018-02-14 02:05:53 +01:00
JC Brand
03371c1815 Add css file with only fonts.
Needed when converse.js is included inside a webcomponent.
The fonts.css file is then copied over to the host DOM.

Necessary due to this bug:
  https://bugs.chromium.org/p/chromium/issues/detail?id=336876
2018-02-09 16:37:55 +01:00
JC Brand
e7aed050b4 Move test pages into the tests folder 2018-02-07 13:26:39 +01:00
JC Brand
1da5592607 We need NPM dependencies to generate CSS 2018-01-29 17:05:23 +01:00
JC Brand
6b644d6d11 Release 3.3.2 2018-01-29 16:48:54 +01:00
JC Brand
808155bc3c Place chat boxes inside bootstrap rows
instead of the other way around.
2018-01-26 14:41:50 +01:00
JC Brand
7f8b42faf0 Some work on bundling bootstrap within the css files.
Will likely later have to create versions which exclude bootstrap
2018-01-25 16:52:01 +01:00
JC Brand
ccf5ce2ae5 New release 3.3.1 2018-01-18 14:48:32 +01:00
JC Brand
8f455cf902 Release 3.3.0 2018-01-17 19:45:33 +01:00
JC Brand
fc17550d0c Trying to get tests to pass on travis 2018-01-15 20:13:12 +01:00
JC Brand
b47ecb7ccf Fix to work with Jed 1.1 2018-01-05 11:47:50 +00:00
JC Brand
71bdf08c25 Fix the no-dependencies demo 2018-01-04 17:02:29 +00:00
JC Brand
aa7483a881 Initial work on allowing a headless build 2017-12-22 21:24:15 +00:00
Justin Hornosty (jjrh)
075b1842a2 Option to use RVM for ruby 2017-12-20 11:02:46 +00:00
Justin Hornosty (jjrh)
a0ed8dee8d allow use of alternative port to for HTTPSERVE ( HTTPSERVE_PORT ) 2017-12-06 10:10:30 +01:00
JC Brand
c95a9d2728 Generate dist files with changes so far. 2017-12-04 12:29:46 +01:00
JC Brand
0acef8b49d Transpile backbone.vdomview 2017-11-17 11:02:55 +01:00
JC Brand
4d06228d89 Various changes around making builds.
- Update build scripts to use transpiled versions of newly added modules
- Stop building locales.js and remove locales stuff from build scripts
- No need for Grunt anymore since we don't need to make locales.js
2017-11-03 08:45:47 +01:00
JC Brand
007e608f32 More work on combining the inverse/converse builds
- Use `enabled` method for plugins
- Rename `converse-inverse.js` to `converse-fullscreen.js` and make it a
  core plugin.
- We're no longer making separate mobile and inverse builds

No longer a need to whitelist/blacklist plugins for inverse to work.
2017-11-02 16:41:06 +01:00
JC Brand
50064ec1fd Translation bugfix. Wait until after locales attribute is there 2017-09-27 00:33:58 +02:00
JC Brand
80b3692131 More work in removing locales from builds 2017-09-26 18:27:41 +02:00
JC Brand
3d53943f49 Generate pot file from the converse-no-dependencies build
This is a workaround for the fact that getttext doesn't support ES2015 template
literals and it also allows us to scan for translateable strings in our HTML
templates.
2017-09-24 00:30:43 +02:00
JC Brand
f120103c55 Remove never used sphinx options 2017-09-05 13:21:06 +02:00
JC Brand
34e214d0df New release 3.2.1 2017-08-29 13:28:34 +02:00
JC Brand
6ba923223a No apparent need to use python as gettext langauage fallback 2017-08-23 11:56:40 +02:00
JC Brand
f07f6e7bb7 Fix output files. 2017-08-09 18:43:05 +02:00
JC Brand
d6784201eb Bugfix. Uglify can't handle emojis 2017-08-09 18:24:20 +02:00
JC Brand
93e67567ce Make sure transpiling is done before building individual files 2017-08-09 17:33:41 +02:00
JC Brand
2603e6880e Fixes #899: Only touch stamp-npm if npm install was successful 2017-08-09 16:06:42 +02:00
JC Brand
4c853bff6f Fixes #902 2017-08-09 15:57:05 +02:00
JC Brand
8113a14ace Release candicate for 3.2.0 2017-07-22 22:23:44 +02:00
JC Brand
f0b61036d9 Also bump version in copyright header 2017-07-22 22:18:55 +02:00
JC Brand
b2a118ca9e Refactor slide methods in utils and use them for toolbar menus 2017-07-15 11:03:22 +02:00
JC Brand
3fabe88970 Updated package-lock. Fix tests. 2017-07-15 07:58:57 +02:00
JC Brand
914f739dbc Add slideUp and slideDown methods
And use them in the roomslist plugin instead of the jQuery methods.
ALso removed the jQuery dependency in roomslist.
2017-07-14 10:08:42 +02:00
JC Brand
019008c5af Merge branch '3.1.x' 2017-07-12 23:33:35 +02:00
JC Brand
7721275962 New release v3.1.1 2017-07-12 22:51:56 +02:00
JC Brand
ac1475ed43 Use uglify-es to minimize files.o 2017-07-10 16:25:27 +02:00
JC Brand
9333415640 Builds are now created from babel transpiled code
Except for the esnext builds, which use the original code.

Fixes #866
2017-07-10 16:25:21 +02:00
JC Brand
c422237668 New release: 3.1.0 2017-07-05 10:07:28 +00:00
JC Brand
3310df88c0 Regenerate build files. Some small fixes to inverse 2017-06-21 22:26:00 +02:00
JC Brand
02e5921415 Fix problem of stuck/hanging tests on TravisCI 2017-06-19 15:05:22 +02:00
JC Brand
b0c20d5473 We're now able to make inverse.js builds 2017-06-14 19:47:06 +02:00
JC Brand
7c831e1166 Various theming tweaks and improvements 2017-06-14 15:41:47 +02:00
JC Brand
615c00dba1 Create sass/converse dir to hold files for that theme 2017-06-13 21:17:00 +02:00
JC Brand
b66ff721cd Merge inVerse into this repo 2017-06-13 21:10:32 +02:00
JC Brand
e907bec4d8 Run tests using chromium headless. 2017-06-13 14:49:23 +02:00
JC Brand
e0ea0dfd88 Use --skip-rebase to not rebase URLs when using cleancss-cli 2017-04-26 09:34:02 +02:00
JC Brand
e338afadc2 New release 3.0.2 2017-04-23 17:25:19 +00:00
JC Brand
1936e28275 Enable creation of dist/converse-muc-embedded.js build file 2017-04-21 18:06:27 +02:00
JC Brand
3ea43c6a0f Use noConflict to avoid polluting globale namespace
with lodash and Backbone.
2017-04-21 18:06:27 +02:00
JC Brand
b41d978d00 Update sinon to 2.1.0 and eslint to 3.19.0
Also update clean-css
2017-04-06 23:09:22 +02:00
JC Brand
0c43e4b87c Upgrade to Jasmine 2.5.3 2017-04-06 11:31:05 +02:00
JC Brand
1fc4edd55f Update changelog after release. 2017-04-04 17:36:38 +00:00
JC Brand
21bc95a9f3 New release 3.0.1 2017-04-04 15:26:06 +00:00
JC Brand
06668d8733 3.0.0 release 2017-03-05 10:39:15 +00:00
JC Brand
cfb0cd0970 New defaults 2017-02-27 10:41:46 +00:00
JC Brand
38c9a9e10c Rework the way builds are created.
Builds are now themselves UMD modules, so they could be `require`'d like any
other AMD module or they can still be used as old ES5 modules with globals.

Additionally the build is now closured, so that the almond API doesn't pollute
the global context with `define` or `require`. This does however mean that
`require` can no longer be used outside of the build (unless requirej.s is
included directly.
2017-02-27 09:00:45 +00:00
JC Brand
1c4494967c Fix regex for double-digit numbers 2017-02-25 22:26:54 +00:00
JC Brand
6379b0dd7a Include the version number in the build files. 2017-02-17 20:52:08 +00:00
JC Brand
29ddf0b4db CSS: fix line heights 2017-02-16 14:42:50 +01:00
JC Brand
e7670a780a remove bower stuff from makefile 2017-02-16 13:02:09 +01:00
JC Brand
16688ebe1c Install fontawesome via NPM and remove last bower stuff 2017-02-16 12:03:56 +01:00
JC Brand
890d87c980 Add initial demo of embedded MUC chat 2017-02-02 21:55:05 +00:00
JC Brand
081f075aa9 Add eslint with lodash checking and apply its suggestions 2017-02-01 14:02:18 +01:00
JC Brand
9a09409ead Make sure bower and bundler are installed for dist/build 2016-11-07 15:53:51 +00:00
JC Brand
24a93c5638 Two changes. See below:
- Updated to newest requirejs/text.
- Don't build dist files when running `make dev`
2016-10-19 13:30:13 +00:00
JC Brand
f4fa753eda Add a mobile version of the website. 2016-10-19 10:51:21 +02:00
JC Brand
49d0834719 One less Grunt dependency (minifying css) 2016-09-23 13:57:53 +02:00
JC Brand
47214108d4 No need to build dist/templates.js anymore. 2016-09-23 13:14:54 +02:00
JC Brand
d005fe3f7a Mention KeyCDN 2016-05-23 19:31:56 +00:00
JC Brand
e1e37cbdce Regenerated location files (and fix Makefile to do this properly) 2016-04-04 10:34:39 +00:00
JC Brand
3787a34435 Create a mobile-specific build of converse.js
This build doesn't include the converse-minimize and converse-dragresize
components.

Also regenerated the other builds.
2016-04-01 13:37:53 +00:00
JC Brand
7f842c423f Update some bower dependencies and rebuilt dist files
fixes #437
2016-03-29 06:56:13 +00:00
JC Brand
c0c4cd9272 Rename builds directory to dist
To conform with how many other projects name their directories.
2016-02-28 09:00:22 +00:00
JC Brand
7eb453efa1 Somewhere along the way the code to build the locales got removed
Adding it back again.
2016-02-28 08:26:56 +00:00
JC Brand
7e8a11df88 Some cleanup refactoring of how stuff is built.
Strophe.ping.js was still in the no-dependencies build

Also clean up wrapper-end.js a bit as well as the grouping of dependencies in
non_amd.html

Remove locales from utils.js and include it in converse.js so that the locales
can more easily be removed from the build.
2016-02-28 00:33:24 +00:00
JC Brand
77a563955e Move build instructions from Gruntfile to Makefile
Also, remove build-no-locales-no-otr.js
2016-02-27 15:57:30 +00:00
JC Brand
16cdd4444e Fix JSHint issues. 2016-02-26 18:23:30 +00:00
JC Brand
ba05d4e779 Add a build step to create a build of only the converse.js modules
This is now used in non_amd.html and means that the individual converse.js
modules don't need to support the non-AMD case.
2016-02-26 17:28:18 +00:00