Commit Graph

343 Commits

Author SHA1 Message Date
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
JC Brand
133df99aec Honor the filesize restrictions of the XMPP server
updates #161
2018-04-18 11:35:33 +02:00
JC Brand
877acd16d2 Update eslint 2018-03-17 18:54:19 +00:00
JC Brand
439e2a25ca Merge branch 'master' into bootstrap4 2018-03-06 11:40:10 +01:00
JC Brand
25b345f677 Update moment 2018-03-06 11:32:18 +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
e630339a69 Update spec to test sent out stanza as well 2018-03-02 11:59:25 +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
c5d4d421a4 Updated dependencies
Use fork of otr.js (with updated webworker-threads) and use original snabbdom again
2018-02-06 18:02:03 +01:00
JC Brand
6b644d6d11 Release 3.3.2 2018-01-29 16:48:54 +01:00
JC Brand
682312a1f3 Bump versions for backbone.overview and backbone.vdomview 2018-01-29 15:29:12 +01:00
JC Brand
6dfd2f8855 Remove npm as dependency. Updates #884 2018-01-29 14:42:10 +01:00
JC Brand
6f59114989 Drop jquery and use native bootstrap 2018-01-23 09:49:13 +01:00
JC Brand
972e682e75 Update backbone.overview to 1.0.1
Fixes bug whereby `replaceWith` for HTMLElements not supported in IE or Safari

Refs #995
2018-01-22 12:00:21 +01:00
JC Brand
7d7b4c7e75 Updated npm 2018-01-22 09:38:24 +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
59c11526f2 Use latest releases and update test for travis 2018-01-15 21:24:08 +01:00
JC Brand
f8bcdad8ea Use newest pluggable.js 2018-01-11 22:48:26 +00:00
JC Brand
c22aff9b13 Use newest pluggable.js.
`optional_dependencies` is now called `dependencies`
2018-01-10 13:13:26 +00:00
JC Brand
00b7c4adf4 Remove greenkeeper 2018-01-05 11:57:20 +00:00
greenkeeper[bot]
247148648e Update dependencies to enable Greenkeeper 🌴 (#877)
* chore(package): update dependencies
* docs(readme): add Greenkeeper badge
2018-01-05 11:24:20 +00:00
JC Brand
1d2bc11840 Fix build scripts 2018-01-04 17:17:17 +00:00
JC Brand
ee751ec58e Update jquery and sizzle and fix/improve some tests
Fixes #825
2018-01-04 13:11:50 +00:00
JC Brand
199e2e7e27 The refreshWebkit hack appears to no longer be necessary 2018-01-04 12:11:03 +00:00
JC Brand
671691353a Use Backbone.NativeView instead of Backbone.View 2018-01-03 20:41:03 +00:00
JC Brand
d327da68ea Also check out vdomview via https 2017-12-24 17:43:48 +00:00
JC Brand
f0c97ee3aa Use https instead of ssh 2017-12-24 17:35:35 +00:00
JC Brand
1e41785c72 Make sure master of backbone.overview is checked out 2017-12-24 17:15:12 +00:00
JC Brand
49addedd1f Update babel version and use transpiled dist files 2017-12-22 20:35:58 +00:00
JC Brand
c6d2108024 Let RosterView also be an OrderedListView 2017-12-22 15:53:03 +00:00
JC Brand
9fca25b6a9 Use snabbdom via backbone.vdomview 2017-12-13 22:04:58 +00:00
JC Brand
124a45026f Upgrade to latest babel 2017-11-17 11:03:58 +01:00
JC Brand
691c48468f Hide the roster filter by default. Updates #949
- Also, use a virtual-dom view for rendering the roster filter.
2017-11-11 09:16:45 +01:00
JC Brand
cfd5dad9c5 Use [backbone.vdomview](https://github.com/jcbrand/backbone.vdomview)
For the MUCJoinView and the LoginPanel
2017-11-10 22:01:36 +01:00
JC Brand
62cb65a94f Update the pluggable.js 1.0.1 2017-11-05 17:24:05 +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
305f8d2499 Use latest pluggable.js 2017-11-02 17:30:24 +01:00
JC Brand
be7f8ab4c4 Use a virtual dom to render the login form 2017-09-24 00:30:43 +02:00
JC Brand
34e214d0df New release 3.2.1 2017-08-29 13:28:34 +02:00
JC Brand
8f88f35e0b New release 3.2.0 2017-08-09 18:00:09 +02:00
JC Brand
8113a14ace Release candicate for 3.2.0 2017-07-22 22:23:44 +02:00
JC Brand
284e884766 Add js-xss and use it to sanitize message HTML 2017-07-15 19:15:48 +02:00
JC Brand
67578c9747 Merge branch 'master' into emoji 2017-07-15 07:16:37 +02:00
JC Brand
bd38f0d634 Update the website to not use jquery.easing
It will now also no longer be included in the full bundle.
2017-07-14 23:01:09 +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
647395a504 Use a patched version of awesomplete...
which doesn't render suggestions as HTML.

See https://github.com/LeaVerou/awesomplete/pull/17082
2017-07-12 22:46:24 +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
e1b745b71f Initial steps to adding babel. 2017-07-10 12:44:29 +02:00
JC Brand
c422237668 New release: 3.1.0 2017-07-05 10:07:28 +00:00
JC Brand
70f56b31f4 Merge branch 'master' into emoji 2017-06-24 11:04:19 +02:00
JC Brand
8abe68677b Bump strophe.js 2017-06-21 22:51:23 +02:00
JC Brand
02e5921415 Fix problem of stuck/hanging tests on TravisCI 2017-06-19 15:05:22 +02:00
JC Brand
ca53a8d8ef Add support for Emojis 2017-06-17 01:01:52 +02:00
JC Brand
d5b152906f Bump greenkeeper 2017-06-13 14:58:17 +02:00
JC Brand
e907bec4d8 Run tests using chromium headless. 2017-06-13 14:49:23 +02:00
JC Brand
a128a70d41 Discriminate between which unread messages to indicate per tab 2017-06-07 00:55:57 +02:00
JC Brand
5e783e70e4 Lay the groundwork for being able to have separate ChatRoom models 2017-05-23 18:16:47 +02:00
Greenkeeper
bbc4a0e1cd chore(package): update http-server to version 0.10.0 (#868)
https://greenkeeper.io/
2017-05-02 09:37:36 +02:00
JC Brand
e338afadc2 New release 3.0.2 2017-04-23 17:25:19 +00: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
47a9566bb2 Update moment.js to 2.18.1 2017-04-06 22:11:39 +02:00
JC Brand
0c43e4b87c Upgrade to Jasmine 2.5.3 2017-04-06 11:31:05 +02:00
JC Brand
21bc95a9f3 New release 3.0.1 2017-04-04 15:26:06 +00:00
Greenkeeper
24b39b3ee9 chore(package): update install to version 0.8.5 (#772)
https://greenkeeper.io/
2017-03-16 14:03:11 +01:00
Greenkeeper
75d78a71f4 chore(package): update eslint to version 3.16.1 (#791)
https://greenkeeper.io/
2017-03-16 14:01:50 +01:00
JC Brand
704cef5590 Make work with latest strophe build 2017-02-25 22:26:54 +00:00
Greenkeeper
497df9745b chore(package): update strophe.js to version 1.2.13 (#793)
https://greenkeeper.io/
2017-02-25 22:59:53 +01:00
Greenkeeper
4f8b4e7f4d chore(package): update requirejs to version 2.3.3 (#786)
https://greenkeeper.io/
2017-02-19 19:56:30 +01:00
JC Brand
026bb0cdde The wrong fontawesome was being used 2017-02-16 14:12:16 +01:00
JC Brand
4a37c6940b Use individual strophe plugins instead of entire repo 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
8b19ba51e8 Use NPM to install bourbon 2017-02-16 11:50:31 +01:00
JC Brand
53468800bd Install and use bootstrap via NPM 2017-02-16 11:33:00 +01:00
JC Brand
148516e0cc Fix almond builds. updates #779 2017-02-15 20:01:41 +00:00
JC Brand
ba9d3c36d5 Refactored converse-otr.js
- Removed password encryption of the key.
  It never properly worked and bloated the build through extra dependencies.
- Store the key and instance tag on the ChatBox model.
2017-02-15 11:15:03 +00:00
JC Brand
d2227c8d44 Replace typeahead with awesomplete.
Much smaller library.
No dependence on jQuery.

Updates #779
2017-02-14 12:26:56 +01:00
JC Brand
1a0cb07098 Install sinon via npm. Bump version in package.json 2017-02-14 08:21:05 +01:00
JC Brand
e6f8648bf0 Install jasmine via npm 2017-02-14 07:47:15 +01:00
JC Brand
b07af4c0e5 Update to newest pluggable.js 2017-02-10 09:28:08 +01:00
JC Brand
7ad555d97f Correct rev for pluggable.js.
Don't include muc-embedded by default
2017-02-04 09:32:24 +00:00
JC Brand
ebbde138db Add the ability to whitelist/blacklist plugins. 2017-02-03 18:26:27 +00:00
JC Brand
4a6d85661a Use template loader that works with lodash.
Also update pluggable.js to a version that works with lodash.
2017-02-01 13:24:34 +00:00
JC Brand
081f075aa9 Add eslint with lodash checking and apply its suggestions 2017-02-01 14:02:18 +01:00
Richard Icke
343e5777d1 first attempt to replace underscore with lodash 2017-02-01 14:00:38 +01:00
JC Brand
527ed7bb64 Downgrade clean-css, image URLs were wrong. 2017-02-01 12:50:23 +01:00
JC Brand
85b264e859 Use clean-css-cli 2017-02-01 11:39:16 +00:00
JC Brand
e34adf8000 New release: 2.0.5 2017-02-01 11:08:13 +00:00
JC Brand
4093064eaa chore(package): update greenkeeper to version 4.1.0 (#769)
https://greenkeeper.io/
2017-02-01 10:49:13 +00:00
Greenkeeper
3b921fa409 chore(package): update clean-css to version 4.0.3 (#767)
https://greenkeeper.io/
2017-02-01 10:49:13 +00:00
JC Brand
1fb6ad7310 Update changelog and bump pluggable.js 2017-01-26 09:37:35 +00:00
JC Brand
0b6775e6d4 Update to strophe 1.2.12. Updates #751 and #753 2017-01-15 10:22:07 +00:00
JC Brand
06805d80b8 New release 2.0.4 2016-12-13 19:47:00 +00:00
JC Brand
088eb03b54 Immediately hide chat room on close.
Also, use sendPresence from latest strophe so that we have a timeout in case a
responding presence never comes.
2016-12-05 10:49:51 +00:00
JC Brand
8bbd88ba86 New release 2.0.3 2016-11-30 17:51:17 +00:00
JC Brand
829f9ab216 Release 2.0.2 2016-11-30 16:27:20 +00:00
JC Brand
0eee0dcaa1 Add Snyk (security-vulnerability checker) 2016-11-30 15:39:48 +01:00
JC Brand
5026627b95 Bump to strophe 1.2.10 2016-11-30 14:17:51 +00:00
JC Brand
de07b6a529 No need for two AMD-load cycles. 2016-11-30 12:18:58 +00:00
JC Brand
ea71ca4b51 Update to latest strophe.js commit. Updates #721 2016-11-18 14:32:33 +01:00
JC Brand
9bf00241de Updates #721 Restore sessions when logging in anonymously
together with keepalive.
2016-11-07 18:48:49 +01:00
JC Brand
8c3ffdffbb Release 2.0.1 2016-11-07 14:43:48 +00:00
JC Brand
5610d759c8 Call removeAll on rosterview when tearing down.
Otherwise RosterContactView objects stay around and keep on listening.
2016-11-03 13:59:05 +00:00
JC Brand
cb79ccb3a4 Update to strophe.js 1.2.9 2016-10-26 09:56:12 +02: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
fe37b4e5ae Make all NPM dependencies dev dependencies. 2016-10-13 22:04:41 +00:00
JC Brand
2712bcb7cc Use strophejs-plugins from NPM 2016-10-13 21:55:39 +00:00
JC Brand
2691658f49 Bump to latest backbone version 2016-10-06 12:40:27 +02:00
JC Brand
d1e9d7002d Bump to jquery 2 2016-10-04 09:40:05 +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
1e07767ab1 Get latest requirejs/text version.
https://github.com/requirejs/text/issues/122
2016-09-23 13:10:23 +02:00
JC Brand
aef32fedad Bump some versions (without letting tests fail) 2016-09-21 18:18:31 +02:00
JC Brand
197d50496e Moving crypto-js to NPM dependency broke tests 2016-09-21 17:57:22 +02:00
JC Brand
59d00b8e00 Move more dependencies from bower to NPM 2016-09-21 17:24:32 +02:00
JC Brand
10da240e7e New release 2.0.0 2016-09-16 12:35:02 +00:00
JC Brand
713922a9e1 Update to Strophe 1.2.8 and add support for SASL-EXTERNAL auth 2016-09-16 13:06:52 +02:00
JC Brand
55aa98be0a Bump backbone.browserStorage to 0.0.3 2016-08-31 11:25:45 +00:00
JC Brand
89e5bd7c54 Update to pluggable.js 0.0.2 2016-08-31 10:39:11 +00:00
JC Brand
d507184731 Master branch of pluggable.js contains breaking changes.
Fall back to working version.
2016-08-23 09:31:44 +00:00
JC Brand
fccd0860eb New release 1.0.6 2016-08-12 20:52:21 +00:00
JC Brand
0098b8687c Move low hanging fruit from bower to NPM.
The goal is to eventually remove bower as a dependency.
2016-08-11 16:54:31 +00:00
JC Brand
cd46e96783 Converse.js's plugin architecture has been moved to a separate repo
See https://github.com/jcbrand/pluggable.js
2016-08-11 14:05:25 +00:00
JC Brand
4c123d51d4 New release: 1.0.5 2016-07-28 16:07:47 +00:00
JC Brand
d7c026e128 New release 1.0.4 2016-07-26 06:00:30 +00:00
JC Brand
598e29c910 New release: 1.0.3 2016-06-20 19:20:47 +00:00
JC Brand
1545018edf New release 1.0.2 2016-05-24 08:47:22 +00:00
JC Brand
8a74cc3323 New release: 1.0.1 2016-05-24 08:23:19 +00:00
JC Brand
5fa5f8272f New release 1.0.0 2016-05-03 15:37:41 +00:00
JC Brand
35f222d339 Newer Grunt and jQuery versions 2016-04-08 07:40:13 +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
6524614491 Not going to use uglify.js.
It doesn't properly preserve copyright headers from r.js builds.
2016-02-28 00:37:57 +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
Sabbir Ahmed
19be4e1923 Bumped version to fix mismatch 2016-02-10 16:39:28 +06:00
JC Brand
2253ec3d00 New release 0.10.0 2015-11-05 11:23:19 +00:00
JC Brand
e835a25184 Add jshint checking and fix errors. 2015-10-25 17:55:18 +00:00
JC Brand
af77b3189e New release: 0.9.6 2015-10-12 15:09:47 +00:00
JC Brand
6369465661 Making a new 0.9.5 release. 2015-08-24 17:56:50 +02:00
JC Brand
14c64151ab New release: 0.9.4 2015-07-04 17:21:21 +02:00
JC Brand
145fd016a3 New release: 0.9.3 2015-05-01 12:29:48 +02:00
JC Brand
995c5fdb44 Make release 0.9.2 2015-04-08 13:41:31 +02:00
JC Brand
e0e0f1b7d7 Make release 0.9.1 2015-03-26 09:58:09 +01:00
JC Brand
17da00d5c1 Release version 0.9.0 2015-03-06 18:49:31 +01:00
JC Brand
d20a8a65e4 Add a webserver for serving files during development. 2015-02-05 15:57:39 +01:00
Guillermo Bonvehi
6d29f03ae1 Added new Makefile.win, it only has dev/build/check targets
Gruntfile now appends .cmd extension to r.js if platform is win32
Made touch-npm/bower grunt task/targets
make -f Makefile.win to build on Windows
2015-01-22 11:46:28 -03:00
JC Brand
9c0feea10a Bump require.js version 2015-01-17 13:26:16 +01:00
JC Brand
31cb3d4b6e Fix the non-AMD case. 2015-01-16 22:07:27 +01:00
JC Brand
303a412b38 New release 0.8.6 2014-12-07 22:50:10 +01:00
JC Brand
92ed46f844 New release 0.8.5 2014-12-01 20:53:08 +01:00
JC Brand
c98e516e39 New release 0.8.4 2014-11-15 16:40:34 +01:00
JC Brand
d8bf1961a7 Making a 0.8.3 release.
The 0.8.2 release didn't include new builds due to an unnoticed build error.
2014-09-22 18:17:40 +02:00
JC Brand
56ec4cf7bc New release 0.8.2 2014-09-22 17:57:56 +02:00
JC Brand
072f9e8534 Add updated hebrew translations. 2014-09-22 17:06:22 +02:00
JC Brand
c9958182ff Making 0.8.1 release 2014-08-23 11:15:56 +02:00
JC Brand
4f5534ed66 Finally fixed the non-AMD case to work with external templates. 2014-07-06 17:32:06 +02:00
JC Brand
0948546cdb Add less npm package 2014-05-07 09:38:42 +02:00
JC Brand
7d472eb26d Add new dependency moment.js
Use it to better compare dates when trying to determine whether a message falls
on a different day.

Also upgraded some dependencies' versions.
2014-04-19 01:30:48 +02:00
JC Brand
2a83d557d1 Order Makefile a bit more and bump release number 2014-04-18 17:47:47 +02:00
JC Brand
53a8f288bc Better phantomjs test runnning and reporting
* Use phantom-jasmine instead of jasmine-reporters
* Update Makefile to use the test runner from phantom-jasmine
* Use newest phantomjs
* Use latest bower
* Turn of jquery effects when testing
2014-04-18 17:41:59 +02:00
JC Brand
9b3af57d13 Release version 0.7.4 2014-03-05 08:44:01 +02:00
JC Brand
fb1ed29c8f Bump release to version 0.7.3 2014-02-12 14:41:56 +02:00
JC Brand
e3e8bf6c69 New release 0.7.2 2013-12-18 17:07:11 +02:00
JC Brand
8cd05206cb Bump release to 0.7.1 2013-11-17 17:15:07 +02:00
JC Brand
b140596b50 Bump version to 0.7 and minify css and js 2013-11-13 08:19:14 +02:00
JC Brand
29fc658c05 New release, 0.6.6 2013-10-16 11:26:22 +02:00
JC Brand
90be11aee8 New release: 0.6.5.
Bumped version
Updated release date in CHANGES.rst
Minified CSS and JS
Generate HTML docs
2013-10-08 09:11:04 +02:00
JC Brand
95dd2dac4b Don't use the requirejs task, it doesn't support almond.
Instead we build manually. Fixed paths in build.js

Conflicts:
	Gruntfile.js
2013-10-05 23:17:45 +02:00
JC Brand
9c75683354 Bump versions and re-minified 2013-09-15 21:35:03 +02:00
JC Brand
84915290b2 Correct version is 0.6.3 2013-09-12 16:00:31 +02:00
JC Brand
008bac4f21 Bump version and minimize files. 2013-09-12 15:51:30 +02:00
JC Brand
68a9909311 Bump version everywhere and regenerate docs. 2013-09-12 15:33:11 +02:00
JC Brand
fde8bb3500 New minified files. Bump version to 0.6.1 2013-08-30 00:00:34 +02:00
JC Brand
eb39faa732 Re-minified files (without version numbers). 2013-08-04 18:43:55 +02:00
JC Brand
1ec3fef131 Add Grunt tasks to help with creating releases. 2013-07-30 21:41:55 +02:00
JC Brand
883c64cc16 Add bower as npm dependency
- Also added bower.json with all 3rd party dependencies specified
- And .bowerrc to specify components dir
2013-07-29 22:20:52 +02:00
JC Brand
8e04ea51c3 Add grunt task to run the tests.
- Removed phantom-jasmine, not used.
- Updated CONTRIBUTING.rst
2013-07-28 22:51:25 +02:00
JC Brand
143875bf32 Add jasmine and jasmine-html as require deps. Also add Console reporter 2013-07-28 21:20:36 +02:00
JC Brand
a9a3724766 Initial works towards having headless tests with PhantomJS 2013-07-27 10:51:55 +02:00
JC Brand
f318ec226a Add grunt dependencies and Gruntfile.js 2013-07-25 09:46:03 +02:00
JC Brand
1c95e473f9 Regenerated package.js (via npm init) 2013-07-25 09:12:17 +02:00
Remko Plantenga
daac3fdff0 Added package.json file to be able to use Converse.js as dependency 2013-07-17 13:02:52 +02:00
Remko Plantenga
786f79e860 Added package.json file to be able to use Converse.js as dependency 2013-07-17 13:00:48 +02:00