Commit Graph

52 Commits

Author SHA1 Message Date
JC Brand 1ee75b78b7 Replace more font icons with svg icons
Updates #1004
2021-11-14 22:53:04 +01:00
JC Brand 5dd0065936 Embedded demo: Make links relative
Otherwise https://converse.js/trunk/demo/embedded.html wrongly uses files from the site root.
2021-11-14 08:20:29 +01:00
JC Brand 84c6a0039c Fix embedded, singleton mode.
It's now necessary to add a `converse-root` element in the DOM where you
want Converse to render (previously it was any element with the id
`#conversejs`).

Also, turned `converse-chats` element into a Lit element and re-render
`converse-root` and `converse-chats` when the `view-mode` or `singleton`
settings change. This is a step towards being able to change the view
mode on the fly and have the entire chat re-render appropriately.

Fixes #2647
2021-09-24 11:53:49 +02:00
JC Brand 87b69c1d11 Update documentation in anticipation of next release
Site HTML: make links relative
2020-09-18 11:34:14 +02:00
JC Brand cd60614f88 Release 6.0.0 2020-01-09 17:15:43 +01:00
JC Brand 84ff74242e Update demo/index.html to not rely on old code 2019-11-20 11:04:50 +01:00
JC Brand 266fe131a9 Release 5.0.4 2019-10-08 14:22:56 +02:00
JC Brand 39896b508b Release 5.0.3 2019-09-13 15:19:00 +02:00
JC Brand 5bf0955193 Release 5.0.2 2019-09-11 17:44:38 +02:00
JC Brand 8f571ff148 Release 5.0.1 2019-08-14 12:56:44 +02:00
JC Brand a116a1ec8f Fix various website CSS issues. Re-add images 2019-08-09 00:17:03 +02:00
JC Brand bc27b3a36a Release 5.0.0 2019-08-08 18:13:12 +02:00
JC Brand 8a98ef87fe Various small fixes. (Unused imports, unused vars etc). 2019-07-11 12:37:17 +02:00
JC Brand f387c947f5 Allow the full app to be embedded.
- new config option `singleton`.
- new plugin `converse-uniview`
- removed `converse-embedded`.
- various CSS changes, to properly render an embedded full app
- don't re-open cached and non-autojoined chats in singleton mode

The goal here is to extend the `embedded` `view_mode` so that the full app can
also be embedded, not just a single MUC or private chat.

To do this, we'll need to differentiate between multi and singleton chat apps.

* A singleton chat app contains only a single chat.
* A multi-chat app can contain zero or more chats

So we introduce a new config option, `singleton`, which when used with
`view_mode` set to `embedded` will determine whether a single chat or the full
app is embedded.

Similarly, in `overlayed`, `fullscreen` and `mobile` view modes, `singleton`
set to true will allow only one chat within the parameters of that view mode.

We're appropriating the word `singleton` and introducing the concepts of
`uniview` and `multiview` (see a785ca8) to cover what was
previously meant with `singleton`.

updates #1297
2019-05-24 20:39:19 +02:00
JC Brand b1ef3f5b24 Re-add the favicon 2019-05-14 10:31:51 +02:00
JC Brand 5b4224b5f9 clean up and improve demos
Remove demo/without_bundled_dependencies.html
2019-05-10 12:57:30 +02:00
JC Brand 6dfa94f1cf Use CDN for resources in the HTML files 2019-05-10 12:57:30 +02:00
Witek 84e0ce6617 Change jcbrand to conversejs in releases urls (#1443)
* change jcbrand to conversejs in releases links
2019-02-12 18:19:18 +01:00
JC Brand 0833478da4 Use bootstrap4 for the Converse website 2018-09-18 16:15:32 +02:00
JC Brand 5444f54d00 Add message edit icons to mockups
updates #421
2018-07-19 17:06:58 +02:00
JC Brand d0387a65ca Let an embedded MUC expand to fill its containing element 2018-04-24 17:31:44 +02:00
JC Brand 07ac8d4a3e Various HTML/CSS fixes for the demos, particularly embedded MUC 2018-04-24 14:46:09 +02:00
gnunicode 23c5312642 LibreJS support (#1001)
* Update jslicenses-inverse.html

* Update inverse.html

* Update index.html

* Update mobile.html

* Update anonymous.html

* Update CHANGES.md
2018-02-21 10:09:04 +01:00
JC Brand 9edcea1181 Include `converse-muc-embedded` in main build 2018-02-14 02:40:56 +01:00
JC Brand 08a76d8a6b Merge branch 'webcomponent-embedded' 2018-02-14 02:15:49 +01:00
JC Brand 4e599600e4 Drop the .js 2018-02-10 19:06:40 +01:00
Seve e47bc5eff3 Get files from CDN (#1015) 2018-02-10 16:30:08 +01:00
JC Brand 2d746d2a1e Make `converse-muc-embedded` a core plugin.
1. Add a new `view_mode` value: `embedded`.

   This value is used to determine wether the `converse-muc-embedded`
   plugin is active or not.

2. Remove the need for the #converse-embedded-chat element.

   Instead we reuse the #conversejs element and embed inside that.

3. Removed the need to manually blacklist core plugins

   This is now done automatically if `view_mode` is set to `embedded`.
   Perhaps eventually we don't blacklist at all and instead use the
   `enable` plugin method. For some that probably won't work, like
   `converse-chatview`, which we still need to be active.
2018-02-09 16:37:55 +01:00
linkmauve 4dc5e01d76 Replace tabs with spaces in source files. (#1005) 2018-01-27 16:20:35 +01:00
JC Brand 71bdf08c25 Fix the no-dependencies demo 2018-01-04 17:02:29 +00:00
Emmanuel Gil Peyrot f2ecf3c010 Remove executable bit from files which don’t need it 2017-12-24 17:05:01 +00:00
JC Brand 3d0f2ce645 Use CDN to serve scripts 2017-09-04 09:09:48 +02:00
JC Brand 4d2c807cf2 Fixes #220. Enable usage of both `_` and `fp` in non-AMD case 2017-08-09 17:35:48 +02:00
JC Brand 17419025b5 Mention inverse on demo page 2017-07-05 11:06:55 +00:00
JC Brand 8a5b4a65e7 Use CDN 2017-04-23 19:49:53 +02:00
JC Brand 1936e28275 Enable creation of `dist/converse-muc-embedded.js` build file 2017-04-21 18:06:27 +02:00
JC Brand 0e3a979548 Some css tweaks 2017-02-28 07:44:08 +00:00
JC Brand 5aabe31749 A bit nicer styling for the demo page and link to it from index.html 2017-02-17 20:59:35 +01:00
JC Brand 2819148669 Document white- and blacklisting of plugins 2017-02-16 20:37:33 +01:00
JC Brand 054b85942a Move embedded.html to demo folder and update to work. 2017-02-16 15:55:40 +01:00
JC Brand 0a7a35372f renamed: non_amd.html -> demo/without_bundled_dependencies.html 2017-02-16 15:39:11 +01:00
JC Brand 026bb0cdde The wrong fontawesome was being used 2017-02-16 14:12:16 +01:00
JC Brand 16688ebe1c Install fontawesome via NPM and remove last bower stuff 2017-02-16 12:03:56 +01:00
JC Brand 53468800bd Install and use bootstrap via NPM 2017-02-16 11:33:00 +01:00
JC Brand 474d14d1ce Fix links 2016-11-07 15:36:36 +00:00
JC Brand cfd1ec5e66 Don't allow logout for the anonymous demo 2016-11-04 12:02:39 +01:00
JC Brand 6c08e4b7d6 Use CDN for index.html and demo/anonymous.html 2016-11-04 11:45:37 +01:00
JC Brand d12309d70e Move converse.js to src/converse.js
Also remove "jquery", will be loaded implicitly
2016-10-21 13:52:00 +00:00
JC Brand eb51c18493 Mention that anonymous login is supported. 2016-08-12 10:02:29 +00:00
JC Brand e0215c997d Update initialization settings
to make sense within the context of anonymous chat.
2016-07-26 08:30:42 +00:00