Commit Graph

6491 Commits

Author SHA1 Message Date
JC Brand
c26ccf5e01 Remove jQuery as dependency for converse-mam.
Also, if a message has no `archive_id` attribute, then do a time-based MAM query.
2017-12-02 14:26:28 +01:00
JC Brand
d420a35e91 Merge remote-tracking branch 'weblate/master' 2017-11-23 15:23:06 +01:00
JC Brand
3de8e6c0ac Regenerated po and pot files 2017-11-23 12:10:40 +01:00
JC Brand
fa7ca46d12 Text fixes based on feedback from translator 2017-11-23 12:10:40 +01:00
Allan Nordhøy
8d4bdd6d3a Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.5% (276 of 283 strings)

Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nb/
2017-11-20 05:47:52 +01:00
Weblate
c063c90d41 Merge remote-tracking branch 'origin/master' 2017-11-17 19:20:46 +01:00
Taylor SaBell
adc4e6ebbc Changed connection manager URL (#955) 2017-11-17 19:20:42 +01:00
Weblate
dec4677a87 Merge remote-tracking branch 'origin/master' 2017-11-17 14:42:20 +01:00
JC Brand
5939f11192 Some work on removing jquery from the controlbox code 2017-11-17 14:42:09 +01:00
JC Brand
141eaa6a39 Fix rendering of heading for headlines boxes 2017-11-17 14:41:54 +01:00
Weblate
394cd2bca1 Merge remote-tracking branch 'origin/master' 2017-11-17 14:21:20 +01:00
JC Brand
9aefd2739f Remove jquery as dependency for converse-profile.js 2017-11-17 14:21:18 +01:00
JC Brand
9d1c6236ac Move the xmpp status (e.g. profile) view into separate plugin 2017-11-17 13:32:03 +01:00
JC Brand
d395387861 25% rounded avatars for all 2017-11-17 13:31:56 +01:00
JC Brand
ca0cbb1c31 Use an img tag instead of canvas for rendering avatars 2017-11-17 13:19:21 +01:00
Weblate
d0d5f7c800 Merge remote-tracking branch 'origin/master' 2017-11-17 12:59:13 +01:00
JC Brand
bac1d22205 Fix: In chatbox heading two avatars sometimes get rendered 2017-11-17 12:50:16 +01:00
Weblate
74e2a77091 Merge remote-tracking branch 'origin/master' 2017-11-17 11:31:04 +01:00
JC Brand
250b06475e Bugfix. Disappearing contacts filter when changing the type 2017-11-17 11:30:50 +01:00
Weblate
58bd0c551e Merge remote-tracking branch 'origin/master' 2017-11-17 11:13:31 +01:00
JC Brand
d5e2aa5992 Fix failing test 2017-11-17 11:13:27 +01:00
JC Brand
124a45026f Upgrade to latest babel 2017-11-17 11:03:58 +01:00
JC Brand
0acef8b49d Transpile backbone.vdomview 2017-11-17 11:02:55 +01:00
Weblate
b0ad6a23fd Merge remote-tracking branch 'origin/master' 2017-11-12 20:55:13 +01:00
JC Brand
adb92a2eda Two small UX fixes
- Don't close the emojis panel after inserting an emoji.
- Focus the message textarea when the emojis panel is opened or closed.
2017-11-12 20:08:37 +01:00
Weblate
02539317f9 Merge remote-tracking branch 'origin/master' 2017-11-11 09:16:55 +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
Weblate
7e0e109fc5 Merge remote-tracking branch 'origin/master' 2017-11-10 22:01:56 +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
ed4c393a9d Create separate view for the MUC join form 2017-11-10 21:37:35 +01:00
JC Brand
a6f2877ed9 Disco API refactoring
This came out of the desire to let `converse-muc` use the API to
determine whether MUC is supported. However, we don't know the entity
JID before hand and I couldn't think of a good way to query all current
and future entities for a feature.

So `converse-muc` still does it's own thing without the API, but some
refactoring came as a result of attempting.
2017-11-10 21:37:35 +01:00
JC Brand
87213bf90a Rename getPromiseWrapper to getResolveablePromise
Let a promise be returned instead of a wrapper, but glue the `resolve`
and `reject` methods onto it
2017-11-10 21:37:35 +01:00
Weblate
9f523d70b6 Merge remote-tracking branch 'origin/master' 2017-11-09 10:25:15 +01:00
Reventl0v
695e8f5cf2 IM is not a french word / « ouvrir » means « to open » (#948) 2017-11-09 10:25:07 +01:00
Weblate
8e73e820e5 Merge remote-tracking branch 'origin/master' 2017-11-05 21:19:10 +01:00
JC Brand
8a4aa4efdd Use a named variable for _.template
This removes the need for `switch (obj)` in the template which is not
allowed in strict mode.

Additionally using a named variable speeds up rendering.
2017-11-05 18:59:29 +01:00
JC Brand
62cb65a94f Update the pluggable.js 1.0.1 2017-11-05 17:24:05 +01:00
Weblate
bc4fbde91d Merge remote-tracking branch 'origin/master' 2017-11-03 09:16:00 +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
Weblate
c6dc730b7a Merge remote-tracking branch 'origin/master' 2017-11-02 23:23:55 +01:00
JC Brand
042a26d05d New API method _converse.disco.supports
to check whether a certain service discovery feature is supported by an entity.
2017-11-02 23:23:01 +01:00
Weblate
584598fd59 Merge remote-tracking branch 'origin/master' 2017-11-02 17:30:32 +01:00
JC Brand
305f8d2499 Use latest pluggable.js 2017-11-02 17:30:24 +01:00
Weblate
42b442f142 Merge remote-tracking branch 'origin/master' 2017-11-02 16:41:43 +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
754ad7a027 Initial work on combining the converse and inverse modes
- Adds new config setting: `view_mode`
- `converse-singleton` is now a core plugin and its behavior depends on `view_mode`.
2017-11-02 14:21:29 +01:00
Weblate
ff45c9b697 Merge remote-tracking branch 'origin/master' 2017-10-31 23:13:57 +01:00
JC Brand
221798e6e1 Merge branch 'open-room-via-url' 2017-10-31 23:11:37 +01:00
JC Brand
3514d6d56b fixes #316
- Also allow private chats to be opened via URL fragment.
- Make sure to clear the URL fragment when the relevant chat is closed.
2017-10-31 23:11:27 +01:00
JC Brand
985cf6c294 Use global router to open chat rooms 2017-10-31 22:08:06 +01:00