Commit Graph

3694 Commits

Author SHA1 Message Date
JC Brand
284e884766 Add js-xss and use it to sanitize message HTML 2017-07-15 19:15:48 +02:00
JC Brand
b85b29bb20 vcard: Bugfix. 'FN' may not be defined. 2017-07-15 17:26:59 +02:00
JC Brand
e6492e286d Don't specify method 2017-07-15 16:00:36 +02:00
JC Brand
0958915021 Refactor slightly to improve readability 2017-07-15 16:00:18 +02:00
JC Brand
f69e39dc8b Reuse code for submitting a message 2017-07-15 15:58:11 +02:00
JC Brand
cf1e8f2921 Fix failing test for emoji picker 2017-07-15 15:16:38 +02:00
JC Brand
4ea50de927 Use emoji instead of emoticon 2017-07-15 15:14:47 +02:00
JC Brand
a65b319d57 Improve styling for emoji-picker in the converse theme 2017-07-15 11:51:15 +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
ce2548c838 Remove the visible_toolbar_buttons.emoticons config option
in favor of `visible_toolbar_buttons.emoji`.
2017-07-15 08:17:41 +02:00
JC Brand
3fabe88970 Updated package-lock. Fix tests. 2017-07-15 07:58:57 +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
d156a20852 Add package-lock.json 2017-07-14 10:09:13 +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
76cc9642e0 roomslist: replace jQuery methods with native 2017-07-13 23:55:40 +02:00
JC Brand
2fe77b8a5c Don't escape room name.
It's being rendered as a string literal.
2017-07-13 23:55:16 +02:00
JC Brand
dc7249f07d roomslist: Room name wasn't being shown in confirm dialog 2017-07-13 23:54:06 +02:00
JC Brand
27760a7d51 vcard: remove jQuery as dependency 2017-07-13 23:27:24 +02:00
JC Brand
1487e63988 Add build scripts for esnext version 2017-07-13 12:25:03 +02:00
JC Brand
9a38a9790f Don't blanket ignore dist dir, to avoid confusion 2017-07-13 12:22:39 +02:00
JC Brand
019008c5af Merge branch '3.1.x' 2017-07-12 23:33:35 +02:00
JC Brand
1f0fa06ac4 New release v3.1.1
-----BEGIN PGP SIGNATURE-----
 
 iQEcBAABAgAGBQJZZoyUAAoJEKA7hNiGb/6kh7YIAOEX1Z5W5SOc5cd7hzAKQYhR
 auiOFPXHa83qbp0TtajJsKNgWzjFcPafaDv7iJuC6l+zrBRNGFvgudBX+bKiaETr
 pyqACoJPZqgpn1RSj2YkyLt4N9pQuL40B6f1n8vT0bXSQ3bWywn2mrIHOOiGsHC+
 xf72Ico4bTIX8tRQ/qStWmctLmBXEsvv8NSH046OS0RVjxUZdAB+1C9JEuM68RNr
 MoTlWLBp5O/p7CA0QQBjrlc8hOXzvaoVyNrS2RTWiIlzo55FQ4h0a0NhSyNlfQjc
 N6m2ulbeHTRQn4vA5ZM4ljVeeboNLgdNh3cNlpi0ZqqQuI3bqovZV3g6HlkK6cI=
 =KzsX
 -----END PGP SIGNATURE-----

Merge tag 'v3.1.1'

New release v3.1.1
2017-07-12 23:06:15 +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
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