Commit Graph

428 Commits

Author SHA1 Message Date
John Livingston
ae2d45b007
Enable the chat by default when a live is created:
So that lives created by the Android Peertube Live app will have chat by default.
Fix #400.
2024-06-14 17:33:49 +02:00
John Livingston
75dd2e4d59
Rewriting Share modal WIP:
Using lit to entirely rewrite the share chat modal.
2024-06-14 14:22:17 +02:00
John Livingston
990ff2385a
Refactoring: merge video-watch scope into common.
In order to be able to use lit in videowatch related code, we have to
merge these scopes.
2024-06-13 16:36:16 +02:00
OPNA2608
ad27a76fab Deregister prosodyctl interval callback when spawn.stdin disappears
To avoid running into "write EPIPE" errors.
2024-06-11 22:45:00 +02:00
John Livingston
92cf83dcdf
Custom channel emoticons WIP (#130): fix CSS 2024-06-07 14:08:35 +02:00
John Livingston
1b9ecea443
Custom channel emoticons WIP (#130): tabs 2024-06-07 13:45:07 +02:00
John Livingston
200d21d5a6
Custom channel emoticons WIP (#130): federation 2024-06-07 13:45:06 +02:00
John Livingston
893708d93a
Custom channel emoticons WIP (#130) + Fix cleanup on channel deletion. 2024-06-07 13:45:05 +02:00
John Livingston
dad29a941f
Custom channel emoticons WIP (#130) 2024-06-07 13:45:04 +02:00
John Livingston
decc13ec5a
Fix changelog. 2024-05-28 14:08:57 +02:00
Mehdi Benadel
c5a3d8f5d2 css tweaking + rearranging packages + update Changelog 2024-05-28 13:46:42 +02:00
John Livingston
1697a956f1
Matterbridge doc. 2024-05-28 11:59:25 +02:00
John Livingston
5a14e3f755
New setting to listen C2S connection on non-localhost interfaces (#377). 2024-05-27 16:32:40 +02:00
John Livingston
d5c327565c
Adding SPDX headers (WIP) 2024-05-23 11:42:14 +02:00
John Livingston
9931767c01
Bump version 10.0.2. 2024-05-22 17:43:01 +02:00
John Livingston
93397708ba
Fix "become moderator" icon. 2024-05-22 17:35:23 +02:00
John Livingston
64e3c7a43d
Bump version 10.0.1 2024-05-21 16:19:27 +02:00
John Livingston
b26aad90ef
Fix missing avatars in old fullpage mode (including OBS integration). 2024-05-21 16:14:04 +02:00
John Livingston
5f4ac233af
Fix colors in old fullpage mode (#139) 2024-05-21 15:22:09 +02:00
John Livingston
8518292900
Bump version 10.0.0 2024-05-20 11:01:48 +02:00
John Livingston
4afc6ec4c6
Slow mode (related to #385):
The slow mode duration on the channel option page is now a default value for new rooms. Streamers can change the value room per room in the room's configuration.
2024-05-17 15:32:31 +02:00
John Livingston
da75765bdb
Changing defaults MUC affiliation (#385):
* For Peertube moderators/admins, we add a button "Promote". Clicking on it will promote them as MUC owner.
2024-05-17 15:18:32 +02:00
John Livingston
5745e8c8a3
Changing defaults MUC affiliation (#385):
* video/channel owner is MUC owner
* the bot is MUC owner
* the bot is admin on the MUC component
* Peertube moderators/admins have no more special access (by default)
* migration script to update all existing rooms
2024-05-17 11:47:37 +02:00
John Livingston
4e8a2b6720
Documentation 2024-05-13 12:25:15 +02:00
John Livingston
13151207a4
Task lists: documentation 2024-05-13 12:02:10 +02:00
John Livingston
0c4a5999f8
New livechat-converse-size ConverseJS plugin:
* New plugin that handles the size of the converse-root, so we can adapt
  content to it
* Fixed some styling when chatbox is small (hidding avatars).
2024-05-13 10:53:40 +02:00
John Livingston
ff976ee0ad
Task lists WIP:
* fix mod pubsub
* front-end WIP
2024-05-13 10:52:32 +02:00
John Livingston
d19d8d7391
Task lists WIP:
* initializing some code parts
* mechanism to add font-awesome icons to the defaults one that
  ConverseJS uses
* new way to override ConverseJS index.js (to add new custom plugins,
  that are directly build into ConverseJS)
2024-05-13 10:52:29 +02:00
John Livingston
06ff6e242e
Bump version 9.0.3. 2024-05-13 10:48:21 +02:00
John Livingston
3d2c4b0d9d
Fix select styling in ConverseJS. 2024-05-13 10:40:22 +02:00
John Livingston
d25055dcdd
Fix missing titles on some buttons when the chat is open. 2024-05-12 19:06:07 +02:00
John Livingston
a5e23c94ff
Bump version 9.0.2 2024-05-05 13:54:07 +02:00
John Livingston
a026c57cc3
The livechat plugin broke the federation with Peertube >= 6.1.0. 2024-05-05 13:51:10 +02:00
John Livingston
73afc41eda
Fix #374: New lang: turkish (available with Peertube >= 6.1.0). 2024-05-03 12:29:52 +02:00
John Livingston
a1991708f9
Fix #378: alert message not visible with dark theme when using external login. 2024-05-03 12:11:07 +02:00
John Livingston
fa244824d3
changelog 2024-05-03 11:41:14 +02:00
John Livingston
33328a76d4
Minor JS fix 2024-04-29 15:50:38 +02:00
John Livingston
29426bba12
Changelog 2024-04-28 15:13:40 +02:00
John Livingston
093d4fc758
Release v9.0.1 2024-04-23 10:07:09 +02:00
John Livingston
2b6cd15951
Fix UI on little screens (form for anonymous users was too high). 2024-04-23 10:05:56 +02:00
John Livingston
2074ec8546
Fix #370: "open with a remote Peertube" broken when chat is embedded in an iframe. 2024-04-22 17:59:56 +02:00
John Livingston
913560842d
Release 9.0.0 2024-04-22 15:19:08 +02:00
John Livingston
024186ba2c
Adding some standard OpenID Connect providers (Google, Facebook) (WIP):
* refactoring, to allow several OIDC singletons
* settings for google and facebook
* backend code
2024-04-22 13:03:31 +02:00
John Livingston
4bc2d4fd51
Changelog. 2024-04-22 10:55:48 +02:00
John Livingston
2eb390740c
Changelog. 2024-04-19 11:11:56 +02:00
John Livingston
3efbfbc12b
Possibility to configure an OpenID Connect provider on the instance
level WIP (#128)

Fix chat federation.
2024-04-19 09:58:35 +02:00
John Livingston
669b260307
Possibility to configure an OpenID Connect provider on the instance level WIP (#128). 2024-04-19 09:58:32 +02:00
John Livingston
514cc1d159
Possibility to configure an OpenID Connect provider on the instance level WIP (#128). 2024-04-19 09:58:32 +02:00
rnek0
46f11eda8f
Translated using Weblate (Spanish)
Currently translated at 99.4% (172 of 173 strings)

Translation: PeerTube LiveChat/Peertube Plugin LiveChat
Translate-URL: https://weblate.framasoft.org/projects/peertube-livechat/peertube-plugin-livechat/es/
2024-04-15 11:57:18 +02:00
John Livingston
a15bb67776
Changelog 2024-04-11 12:44:22 +02:00
John Livingston
6c9b8ce394
External login documentation (#348). 2024-04-09 17:08:57 +02:00
John Livingston
8fc8e3032b
Log in with external Peertube account (#348):
* For anonymous users: new "log in using an external account" dialog, with the "remote Peertube account" options
* ConverseJS: using global vars for custom localized string (injected
  using Webpack)
2024-04-09 16:46:55 +02:00
John Livingston
19fa5fc167
Changelog. 2024-04-04 17:12:30 +02:00
John Livingston
0719d25f35
Fix #48: Proper 404 and 403 pages when trying to open non-existant chatroom (WIP). 2024-04-04 14:58:24 +02:00
John Livingston
1ceb37da2c
Fix slow mode:
focus was lost when textarea got disabled, so it could trigger some Peertube events if the user type some text.
2024-04-03 16:53:01 +02:00
John Livingston
6fff258d87
Changelog 2024-04-03 16:12:08 +02:00
John Livingston
46428d4285
Changelog 2024-04-03 16:03:09 +02:00
John Livingston
20317f9023
Adding a TODO. 2024-04-03 15:39:18 +02:00
John Livingston
612a9f622d
Embeddeding chat without iframe besieds videos WIP 2024-03-28 15:06:15 +01:00
John Livingston
e04d553d0b
New full screen chat WIP + code refactoring. 2024-03-26 11:12:44 +01:00
John Livingston
bd695bdb27
New fullscreen chat WIP:
* Fullscreen chat: now uses a custom page (in other words: when opening the chat in a new tab, you will have the Peertube menu). WIP
* some code refactoring (getBaseRoute moved to util/uri, ...)
2024-03-26 11:09:46 +01:00
John Livingston
4b4864bb56
Better XEP-0392 implementation 2024-03-15 15:39:43 +01:00
John Livingston
2408d9cf72
Implement #143: User colors
Implementing [XEP-0392](https://xmpp.org/extensions/xep-0392.html) to have random colors on users nicknames.
2024-03-14 16:07:12 +01:00
John Livingston
ab8c2915b6
Bump version 8.4.0 2024-03-12 10:30:10 +01:00
John Livingston
5316b7eb2b
Settings: orange warning for the "Enable connection to room using external XMPP accounts" settings. 2024-03-11 16:03:55 +01:00
John Livingston
dd56328490
Changelog 2024-03-11 15:54:11 +01:00
John Livingston
de15b7d480
Slow mode duration:
* channel option is no more a default value, but the current value
* changing naming in accordance
* changing labels and documentation
2024-03-07 17:56:27 +01:00
John Livingston
e67b21dd9f
Updating slow mode duration on existing rooms when changing channel options (related to #332). 2024-03-07 17:33:18 +01:00
John Livingston
5f58246a10
Changelog. 2024-03-07 16:37:41 +01:00
John Livingston
4dd4f18965
Fix #87: updating chat room title when video/channel title is changed:
* renaming module list_rooms to manage_rooms
* added some API to update room info
* when a video or a channel is updated, sending an API call to update
  the room
2024-03-07 16:22:14 +01:00
John Livingston
2115b352a4
Updating xmppjs-chat-box version. 2024-03-07 10:14:36 +01:00
John Livingston
7c544600f9
Bump version 8.3.2 + npm audit fix. 2024-03-01 15:31:21 +01:00
John Livingston
f5b9ffe616
Temporary security fix for #332: rollback of v8.3.1:
* Setting video owner as room owner as side effects. Like leaking the instance moderator/admin list. And maybe others.
  * So we rollback this feature, waiting for a better way to allow room admins/moderators to change room settings.
  * As a consequence, users that are not Peertube moderator/administrator can't change the slow mode configuration without deleting/recreating the room. This will be fixed in a later plugin version.
2024-03-01 15:25:29 +01:00
John Livingston
97b85be4ad
Fix #322: "Sepia is no longer an owner of this groupchat" message when joining the chat.
* This was related to the fact that the bot was owner because of the "admins" Prosody config key, and not registered in the room.
* To fix it, i added the bot as owner when creating rooms.
* This means that the fix only work for newly created rooms.
* There might still be an issue in ConverseJS or Prosody, don't know exactly where.
2024-03-01 12:20:32 +01:00
John Livingston
9ec7167da1
Debug Mode: new option to promote some JIDs as admins on the MUC component. 2024-02-29 15:58:41 +01:00
John Livingston
93f2cc277d
Fix mod_muc_slow_mode: add min value for slow_mode_duration field. 2024-02-23 15:50:43 +01:00
John Livingston
3ec09ce267
Fix: video owner must be room owner, not only admin. Otherwise they can't edit room parameters (including slow mode settings). 2024-02-22 18:08:06 +01:00
John Livingston
48fb636bf5
Bump version v8.3.0. 2024-02-22 16:22:16 +01:00
John Livingston
f34958fbb3
Changelog 2024-02-21 16:07:24 +01:00
John Livingston
2fb22ff00b
Changelog 2024-02-21 15:54:27 +01:00
John Livingston
7d13f567d4
Slow Mode WIP (#192):
* front-end: disable the message field during the slow mode duration.
2024-02-16 17:35:55 +01:00
John Livingston
3d9237624d
Naming:
* changing delay by duration for slow mode options
* better labels
2024-02-16 17:35:55 +01:00
John Livingston
1e876ec43c
Slow Mode WIP (#192):
* frontend: display an infobox when slow mode is active (WIP)
2024-02-16 17:35:55 +01:00
John Livingston
9efd53b2a7
Fix ConverseJS: room information not correctly refreshed when modifications are made by other users 2024-02-16 17:35:55 +01:00
John Livingston
cd97d91f79
Replaced a sync file operation by an async one, to avoid blocking the server. 2024-02-16 17:35:54 +01:00
John Livingston
9ed689b5f1
Slow mode WIP (#192):
* backend rejects messages when the slow mode is not respected.
2024-02-16 17:35:54 +01:00
John Livingston
cf179d7f72
Slow mode WIP (#192):
* default delay is configurable in channel's chat rooms options.
2024-02-16 17:35:53 +01:00
John Livingston
ee71d3f729
Slow mode WIP (#192):
* new option in room configuration to set the slow mode delay (new prosody module mod_muc_slow_mode).
2024-02-16 17:35:48 +01:00
John Livingston
d83b3e6561
Fix ConverseJS build: translations were missing, and only english was available. 2024-02-15 15:11:48 +01:00
John Livingston
1f3677684d
Fix new avatars content-type. 2024-02-12 17:20:21 +01:00
John Livingston
8a400d2d9f
New abstract avatars 2024-02-12 16:50:08 +01:00
John Livingston
fb8a2144c4
Version 8.2.0 2024-02-12 16:26:11 +01:00
John Livingston
f30a45d1fd
UI improvements (fix some colors):
* Fix #310: autocomplete background color.
* Fix #314: input colors.
* Autocomplete: adding a border, for better UI/UX.
2024-02-12 16:14:02 +01:00
John Livingston
1cfaf18517
Translations. 2024-02-12 10:06:46 +01:00
John Livingston
91ef261c16
Fenec avatars. 2024-02-09 15:35:40 +01:00
John Livingston
fbeffef34b
Bird avatars. 2024-02-09 15:12:48 +01:00
John Livingston
9561f36b93
Cats avatars. 2024-02-09 13:17:12 +01:00
John Livingston
a8165fe441
Changelog 2024-02-09 12:42:29 +01:00
John Livingston
b9b0eb41d9
New avatars set WIP:
* adding new avatars by David Revoy
* replacing old avatars to test

TODO: add a settings to choose between legacy and new avatars.
TODO: generate a bot avatar.
2024-02-08 18:49:49 +01:00
John Livingston
99f01014b2
Fix ConverseJS input borders/outline/shadow. (#311) 2024-02-08 11:33:43 +01:00