Commit Graph

3569 Commits

Author SHA1 Message Date
JC Brand
397927b189 Fix broken tests and update changelog 2017-07-12 09:58:14 +02:00
JC Brand
6af029048d Replace $.Deferred with ES2015 promises 2017-07-11 17:21:13 +02:00
JC Brand
16d62bf9e4 Fix broken tests due to using ES2015 promises 2017-07-11 17:05:02 +02:00
JC Brand
e75b6ad694 Recreate promises whenever initialize is called. 2017-07-11 17:05:01 +02:00
JC Brand
6ef0536e31 Some work on using es6 promises 2017-07-10 21:14:48 +02:00
JC Brand
9a9eae3fcf Use esnext to auto-generate es2015 syntax 2017-07-10 17:46:22 +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
40e7ee1ae6 Initial stab at using ES2015
Mostly replaced ``var`` with ``let`` and ``const``.
Also added a few arrow functions.
2017-07-10 12:49:20 +02:00
JC Brand
e1b745b71f Initial steps to adding babel. 2017-07-10 12:44:29 +02:00
JC Brand
2d89589b54 bookmarks: clear the fetched_flag upon logout 2017-07-10 10:43:37 +02:00
JC Brand
8c1c665e2e core: Some more logging improvements. 2017-07-10 10:43:13 +02:00
JC Brand
468c796cfa Add website CSS and fonts
So that it's not necessary to set up the whole dev environment to use
index.html or inverse.html
2017-07-06 17:35:25 +02:00
JC Brand
1fb710f3cf Update contact section 2017-07-06 15:32:27 +00:00
JC Brand
b5d3d6f2b5 Forgot to add link 2017-07-05 11:13:35 +00:00
JC Brand
17419025b5 Mention inverse on demo page 2017-07-05 11:06:55 +00:00
JC Brand
a3e694f800 Mention inverse in the readme and index.html 2017-07-05 11:02:36 +00:00
JC Brand
e6a9bc81f1 CSS fix. Rounded corners in inverse 2017-07-05 10:35:47 +00:00
JC Brand
c422237668 New release: 3.1.0 2017-07-05 10:07:28 +00:00
JC Brand
a36e8a63ce Fix test when not running on localhost 2017-07-05 09:55:40 +00:00
JC Brand
6e67bdfdb5 roomslist: Less confusing code by using promises 2017-07-05 11:40:54 +02:00
JC Brand
5ab1693136 logging: Add deprecation warning for updateSettings
and also use the Strophe.LogLevel levels for logging in general.
2017-07-05 11:33:55 +02:00
JC Brand
f81a94baf1 Move updateSettings to the private API.
Also add an API method for exposing new promises.

Update the plugin and API documentation, specifically concerning the above
changes.
2017-07-05 11:03:13 +02:00
JC Brand
857c5ccdb3 Reset bookmarks when logging out 2017-07-03 09:57:11 +02:00
JC Brand
ea4c490283 bookmarks: bugfix, deferred might be null 2017-06-27 13:02:40 +02:00
JC Brand
c11a1b40e8 muc: bugfix, presence referring to current user doesn't have a jid attr 2017-06-27 12:56:50 +02:00
JC Brand
ea04b11724 Try to fix what appears to be a timing bug 2017-06-27 09:29:46 +02:00
JC Brand
2cd0a16655 Merge remote-tracking branch 'weblate/master' 2017-06-25 12:36:08 +02:00
JC Brand
5d99076f62 Filter out some emojis which don't have native support yet 2017-06-24 12:36:02 +02:00
JC Brand
b4ff38dba7 Pad the emoji categories 2017-06-24 12:27:59 +02:00
JC Brand
6a40b6e9aa Pad the emoji categories 2017-06-24 11:38:39 +02:00
JC Brand
4e467044d3 Some usability fixes around the toolbar and emojis 2017-06-24 11:34:01 +02:00
JC Brand
70f56b31f4 Merge branch 'master' into emoji 2017-06-24 11:04:19 +02:00
JC Brand
da74615b07 Regenerate dist files 2017-06-23 23:22:52 +02:00
JC Brand
095e7add86 mam: Upgrade MAM support to version 2 2017-06-23 22:58:47 +02:00
JC Brand
4536fdf07d Merge branch 'master' of github.com:jcbrand/converse.js 2017-06-23 20:49:58 +02:00
JC Brand
891f8afb53 CSS fix for login/register panels of inverse 2017-06-23 20:49:25 +02:00
JC Brand
b9c42af677 Ignore analytics for inverse 2017-06-23 20:30:34 +02:00
JC Brand
ce3e063c13 Generate new dist files 2017-06-23 20:25:33 +02:00
JC Brand
66fd9a9f28 muc: Fix: after reconnecting, already open room didn't receive new messages 2017-06-23 20:19:38 +02:00
JC Brand
47cf5c1910 Fixup 2017-06-23 20:18:57 +02:00
JC Brand
36e078c9f6 utils: Rename saveWithFallback to safeSave 2017-06-23 20:17:58 +02:00
JC Brand
86c20ce2a7 muc: When exiting, don't wait for confirmation before cleaning up
During logout we don't have enough time.
2017-06-23 18:22:19 +02:00
JC Brand
53643ab541 core: Close chats when logging out, before disconnecting
Otherwise rooms cannot be exited properly.

Also, no need to call `_tearDown` in `logOut` when `connection.disconnect` gets
called since it will get called afterwards in the handler.
2017-06-23 18:21:00 +02:00
JC Brand
3e8e770517 chatview: use utils.isPersistableModel 2017-06-23 18:19:20 +02:00
JC Brand
713e24e0e6 Don't let images go over the available width 2017-06-23 17:20:17 +02:00
JC Brand
8abe68677b Bump strophe.js 2017-06-21 22:51:23 +02:00
JC Brand
f83349f19f Fix scrolling on login/register 2017-06-21 22:35:02 +02:00
JC Brand
cad77c2e15 Regenerate pot and po files. 2017-06-21 22:27:37 +02:00
Weblate
03f5edecb2 Merge remote-tracking branch 'origin/master' 2017-06-21 22:27:06 +02:00