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
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
30ad84d386
Update Lerna
2019-07-23 08:14:13 +02:00
JC Brand
a1630b5c1f
Replace wait-until-promise with utility method
...
and bump default timeout
Also let `_converse.api.waitUntil` use it if a function is passed in.
2019-07-11 23:34:27 +02:00
JC Brand
8938245cdd
Update various dependencies to their latest versions
2019-07-11 09:46:17 +02:00
JC Brand
98215deb21
Update to latest backbone.overview which debounces sorting on add
event
2019-06-27 13:15:55 +02:00
Chaimaa ZEGOUMOU
a0b925ef6e
Fixes #1071 . x clear cross now same size as text ( #1609 )
2019-06-19 15:37:55 +02:00
JC Brand
91882e2b23
Bump clean-css and http-server versions
2019-06-12 06:45:13 +02:00
JC Brand
01fce55733
Add prettierx and tentatively use it for some formatting
...
I'm using prettierx, which is a fork of prettier so that we can have
spaces before the brackets in a function declaration.
I don't like how restrictive prettier is concerning its configuration
and formatting.
- it messes up some indentation in specs/
- it removes a second newline when I specifically want to have two
- it doesn't allow spaces before brackets in function declarations (hence prettierx)
- it adds spaces for function parameters with default values
None of this is configurable.
So auto-formatting is not turned on by default, but it might be a useful
tool in some cases.
Fixes an issue where indentation was off in converse-core.js, causing
vim-sleuth to wrongly indent by three spaces only.
2019-06-05 10:25:31 +02:00
JC Brand
3c6a17f85c
Update to latest Strophe commit with explicit bind support
2019-06-03 10:02:57 +02:00
JC Brand
aece956281
Refactor strophe usage
...
- Upgrade to latest commit in Strophe
- Import individual Strophe dependencies
- Replace strophe plugins with code in Converse
2019-05-29 18:27:34 +02:00
JC Brand
b876500865
Update to latest backbone.overview
2019-05-23 14:44:10 +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
JC Brand
d3bc206413
Update lerna to latest version
2019-05-15 10:00:14 +02:00
JC Brand
d91a5ca6de
Remove alias for xss
. Upgrade pluggable.js to version 2.0.1
2019-05-13 18:54:00 +02:00
JC Brand
a94f47141e
Also include sass files in NPM package
2019-05-10 15:36:12 +02:00
JC Brand
84472ab752
Bugfix. npm install converse.js
failed
...
because @converse-headless wasn't available
2019-05-10 15:26:50 +02:00
JC Brand
587dddd81d
Update to latest version of Strophe
...
which logs less on the INFO loglevel
2019-05-10 13:26: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
a276a05094
Avoid main.js
being generated in dist
...
when were generating only the CSS
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
dd20fc4b07
Updated deps eslint, eslint-plugin-lodash, node-sass
2019-05-10 10:58:45 +02:00
JC Brand
8283ea3d1a
Remove unused dependency
2019-05-08 21:37:37 +02:00
JC Brand
61727f4c45
DayJS should be a dev dependency
2019-05-06 15:06:03 +02:00
JC Brand
c3dac272f8
Replace moment with DayJS
2019-05-06 14:27:18 +02:00
supun19
eec51f9d62
Doc rooms api ( #1551 )
...
* Rooms Api
number of parameters in the documentation was made 2 from 3 as api which is used to open a room with default configuration has only 2 parameters.
2019-05-03 11:38:05 +02:00
JC Brand
1251f395b1
Use webpack to generate css/converse.css
2019-04-18 17:50:05 +02:00
JC Brand
6f25adf033
Upgrade to bootstrap.native 2.0.26
2019-04-18 16:14:51 +02:00
JC Brand
8bc3aaa224
Upgrade to Webpack 4.28.1
2019-04-18 16:14:51 +02:00
JC Brand
aa90ebd7f0
Bugfix. Don't delete JID or resource...
...
when an affiliation change presence is received.
2019-04-11 01:39:06 +02:00
JC Brand
5532a9ec63
Remove jquery from tests
2019-04-08 21:45:09 +02:00
JC Brand
acab0339f1
New release 4.2.0
2019-04-04 12:33:08 +02:00
JC Brand
b726a2353c
Remove Awesomeplete in favor of _converse.AutoComplete
2019-03-28 12:43:34 +01:00
JC Brand
ba81207da5
Upgrade to Jasmine 2.99.2
2019-03-25 23:05:21 +01:00
JC Brand
b15ebdde40
Update to Backbone 1.4.0 and use fork of Backbone.NativeView
...
with `_setElement` fix.
See https://github.com/akre54/Backbone.NativeView/pull/29
2019-03-01 11:56:22 +01:00
JC Brand
5afb3051cc
New release v4.1.2
2019-02-22 16:49:45 +01:00
JC Brand
e389d77107
New release 4.1.1
2019-02-18 20:40:55 +01:00
JC Brand
fb5c299d9b
Upgrade lerna to latest version
2019-02-12 14:21:40 +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
JC Brand
004519931c
Upgrade babel and lodash
2019-02-05 13:02:36 -07:00
JC Brand
450c0e5e0f
Use bootstrap.native-loader to avoid including unused code
2019-01-25 07:32:51 +01:00
JC Brand
46d404809d
Upgrade bootstrap.native to 2.0.24
2019-01-25 07:32:50 +01:00
JC Brand
a2f42d27a2
New release 4.1.0
2019-01-11 18:49:37 +01:00
JC Brand
0464772bfe
Update package data
2019-01-10 12:12:14 +01:00
JC Brand
4013fbd273
Updated dependencies
2018-12-11 11:43:40 +01:00
JC Brand
384f1d7977
New release 4.0.6
2018-12-07 12:40:02 +01:00
JC Brand
588b015e62
Release v4.0.5
2018-11-15 13:24:22 +01:00
JC Brand
9f98a5cd72
Use snabbdom 0.7.2
2018-11-12 20:29:55 +01:00
JC Brand
f471dd2474
Release 4.0.4
2018-10-29 22:28:28 +01:00
JC Brand
bf187560ee
Replace ruby-sass with node-sass
2018-10-28 17:27:01 +01:00
JC Brand
0715476862
Add package-log.json for headless build. Set to 4.0.4
...
This is probably fine as a patch release. Even tough files have been
moved around, the API is still the same.
2018-10-25 08:01:47 +02:00
JC Brand
e0f0617629
Don't store the File
object in browserStorage
...
With the recent fixes in backbone.browserStorage, the 'file' attributes
gets persisted to browserStorage before Converse tries to upload the
file.
The File object can't actually be serialized, so an empty map gets
stored and then returned together with a 'change' event.
Instead, store the file as a direct attribute on the message object.
Fixes #1261
2018-10-24 22:59:43 +02:00
JC Brand
a20fd39313
Upgrade NPM and avoid duplicate deps
2018-10-23 15:08:53 +02:00
JC Brand
3f7ffd025a
Remove Backbone.View related dependencies from headless package
2018-10-22 14:06:03 +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
12b9824e75
Create package @converse/headless
2018-10-22 12:42:48 +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
a49c1f5592
Update Strophe.js, strophe plugins and backbone.browserStorage
2018-10-21 23:19:39 +02:00
JC Brand
e181aaf99b
Make the message view's render
method async
...
So that we first render dynamic content (e.g. images) before inserting
it into the chat.
Also, add the `show_images_inline` setting (which is the cause of this
whole change).
Updated tests to handle this new change and start using async/await
instead of promise callbacks.
2018-10-15 22:19:04 +02:00
JC Brand
5c3661d730
Remove unused dependency protobufjs
2018-10-10 19:28:25 +02:00
JC Brand
9bc8bdf34c
Test updates after updating to use latest strophe.js
...
`toLocaleString` now returns element attributes in alphabetical order
(for better cross-browser consistency).
Also, `toLocaleString` is now used in favor of `outerHTML` because
browsers aren't consistent with one another in their output.
2018-10-03 21:11:20 +02:00
JC Brand
79b8ed7177
New release 4.0.2
2018-10-02 22:51:01 +02:00
JC Brand
bf76b3b486
Add a polyfill for TextEncoder/TextDecoder for Edge
2018-09-25 13:20:55 +02:00
JC Brand
b9c6a29fdf
Update to newest lodash
2018-09-24 21:53:54 +02:00
JC Brand
31080bf2f9
Add a FormData polyfill for Edge comptaibility
...
Fixes #1220
2018-09-24 16:18:51 +02:00
JC Brand
11dd79f8cd
New release 4.0.1
2018-09-19 16:16:10 +02:00
JC Brand
60b08d41a7
Fixes #1203
...
Update to Strophe 1.2.16
2018-09-16 10:54:40 +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
e35fceff1a
Remove the need for emojione
2018-09-03 14:16:59 +02:00
JC Brand
1d38d8af03
Use twemoji for rendering emojis
2018-09-03 13:24:37 +02:00
JC Brand
21178add98
Remove converse-otr
2018-08-27 22:09:22 +02:00
JC Brand
4c3645c559
Merge branch 'master' into converse-omemo
2018-08-03 14:47:20 +02:00
JC Brand
7c20e16ea8
Bump bootstrap.native
2018-07-30 16:43:28 +02:00
JC Brand
6785eff4a7
Merge branch 'master' into converse-omemo
2018-07-01 11:44:04 +02:00
JC Brand
3dac4ae45c
Add support for logging in with OAuth
2018-06-13 18:39:51 +02:00
JC Brand
f7c3351e2b
Merge branch 'master' into webpack
2018-06-04 13:46:27 +02:00
JC Brand
659f70b28b
Add the ability to make different kinds of builds
2018-06-04 13:38:53 +02:00
JC Brand
596082eecc
Get tests to run agains the webpack build
2018-06-03 16:40:20 +02:00
JC Brand
74eed32e82
Add shims to webpack config and fix bugs in templates
2018-06-02 17:18:42 +02:00
JC Brand
ec12e6cbc5
Update to strophe.js 1.2.15
2018-05-28 10:38:05 +02:00
JC Brand
6dc9e8edf1
Use webpack for module bundling
2018-05-25 14:23:32 +02:00
JC Brand
0c50808b65
Add missing declaration and don't run OTR tests
...
Add 3rd party dependencies
updates #497
2018-05-23 12:51:01 +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
b1a54e626d
Update bootstrap.native
2018-05-10 21:30:11 +02:00
JC Brand
6c513ad4be
Remove dependency on strophe's vcard plugin
2018-05-08 18:11:56 +02:00
JC Brand
b3619077f9
Remove dependency on the strophe disco plugin
...
And instead implement it ourselves.
This solves a bug with that plugin whereby the connection handlers are
added to early and are therefore never fired.
Also fixed a problem whereby entity items are queried for features
before the features have been fetched.
2018-05-07 18:06:50 +02:00
JC Brand
b6f10f0efe
Update eslint to ES2017 syntax so that we can use async/await
2018-05-01 11:30:46 +02:00
JC Brand
56e4e8b8ee
Fix rendering of headline messages.
...
Also, add urijs to more intelligently handle URIs
2018-04-30 15:37:36 +02:00