Commit Graph

1687 Commits

Author SHA1 Message Date
John Livingston 6bb29d79f8
Authentication token generation WIP (#98)
* fix stored data format
* implement user_exists and check_password
2024-06-17 12:44:26 +02:00
John Livingston 90afdafbd9
Authentication token generation WIP (#98)
You can now generate links to join chatrooms with your current user. This can be used to create Docks in OBS for example. This could also be used to generate authentication token to join the chat from 3rd party tools.
2024-06-17 11:43:59 +02:00
John Livingston e83150cf87
SPDX 2024-06-14 18:06:16 +02:00
John Livingston 9e8e2a2572
Reading livechat-active parameter on live creation API endpoint:
So that the Android Peertube Live app can pass the parameter withing the first (and only) API call.
Implements #400.
2024-06-14 17:56:22 +02:00
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 6e35c243c8
CSS refactoring. 2024-06-14 17:31:35 +02:00
John Livingston 6ce6ad9e78
Fix help button CSS. 2024-06-14 16:26:29 +02:00
John Livingston 84c381e5d6
Fix share chat CSS for little screens. 2024-06-14 16:17:11 +02:00
John Livingston 7b617a9aad
Help button for OBS web source. 2024-06-14 16:07:59 +02:00
John Livingston 3f3b72f2f6
Merge pull request #425 from framabot/weblate-peertube-livechat-peertube-plugin-livechat-documentation
Translations update from Framasoft Weblate
2024-06-14 16:01:58 +02:00
Milo Ivir 04eed0cec0
Translated using Weblate (Croatian)
Currently translated at 11.1% (79 of 711 strings)

Translation: PeerTube LiveChat/Peertube Plugin Livechat Documentation
Translate-URL: https://weblate.framasoft.org/projects/peertube-livechat/peertube-plugin-livechat-documentation/hr/
2024-06-14 16:00:57 +02:00
John Livingston 1069c171ee
Merge pull request #426 from framabot/weblate-peertube-livechat-peertube-plugin-livechat
Translations update from Framasoft Weblate
2024-06-14 16:00:50 +02:00
John Livingston 5a2f1c0960
Translated using Weblate (French)
Currently translated at 100.0% (231 of 231 strings)

Translation: PeerTube LiveChat/Peertube Plugin LiveChat
Translate-URL: https://weblate.framasoft.org/projects/peertube-livechat/peertube-plugin-livechat/fr/
2024-06-14 15:59:46 +02:00
Anonymous f8c1b6e154
Translated using Weblate (Dutch)
Currently translated at 19.4% (45 of 231 strings)

Translation: PeerTube LiveChat/Peertube Plugin LiveChat
Translate-URL: https://weblate.framasoft.org/projects/peertube-livechat/peertube-plugin-livechat/nl/
2024-06-14 15:59:13 +02:00
Anonymous afffa398a6
Translated using Weblate (Occitan)
Currently translated at 10.3% (24 of 231 strings)

Translation: PeerTube LiveChat/Peertube Plugin LiveChat
Translate-URL: https://weblate.framasoft.org/projects/peertube-livechat/peertube-plugin-livechat/oc/
2024-06-14 15:59:13 +02:00
Anonymous b6ac396762
Translated using Weblate (Basque)
Currently translated at 12.1% (28 of 231 strings)

Translation: PeerTube LiveChat/Peertube Plugin LiveChat
Translate-URL: https://weblate.framasoft.org/projects/peertube-livechat/peertube-plugin-livechat/eu/
2024-06-14 15:59:13 +02:00
Anonymous f3dc6a1ca8
Translated using Weblate (Esperanto)
Currently translated at 6.0% (14 of 231 strings)

Translation: PeerTube LiveChat/Peertube Plugin LiveChat
Translate-URL: https://weblate.framasoft.org/projects/peertube-livechat/peertube-plugin-livechat/eo/
2024-06-14 15:59:12 +02:00
Victor Hampel 4f60f124fa
Translated using Weblate (German)
Currently translated at 100.0% (229 of 229 strings)

Translation: PeerTube LiveChat/Peertube Plugin LiveChat
Translate-URL: https://weblate.framasoft.org/projects/peertube-livechat/peertube-plugin-livechat/de/
2024-06-14 15:58:02 +02:00
Milo Ivir 7946543df7
Translated using Weblate (Croatian)
Currently translated at 73.7% (169 of 229 strings)

Translation: PeerTube LiveChat/Peertube Plugin LiveChat
Translate-URL: https://weblate.framasoft.org/projects/peertube-livechat/peertube-plugin-livechat/hr/
2024-06-14 15:58:02 +02:00
John Livingston 76f014ed60
Missing SPDX 2024-06-14 15:56:30 +02:00
John Livingston 2739bb823a
Logger: improving the logger, and using it in client code. 2024-06-14 15:17:14 +02:00
John Livingston d931a9c144
Share url element: restore and save state. 2024-06-14 15:07:15 +02:00
John Livingston d42bcf01a7
Logger:
* new createLogger function
* custom elements have their own logger
2024-06-14 15:06: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 4851e35fba
Fix lit class attribute. 2024-06-14 10:45:36 +02:00
John Livingston 1cc6a68089
Fix dynamic table button css 2024-06-13 17:00:08 +02:00
John Livingston b59056f57d
Fix linting. 2024-06-13 16:42:23 +02:00
John Livingston 83389975a9
Merge pull request #422 from framabot/weblate-peertube-livechat-peertube-plugin-livechat
Translations update from Framasoft Weblate
2024-06-13 16:40:54 +02:00
John Livingston 1df6b4261e
Translated using Weblate (French)
Currently translated at 100.0% (229 of 229 strings)

Translation: PeerTube LiveChat/Peertube Plugin LiveChat
Translate-URL: https://weblate.framasoft.org/projects/peertube-livechat/peertube-plugin-livechat/fr/
2024-06-13 16:40:31 +02:00
Victor Hampel 851a726e0b
Translated using Weblate (German)
Currently translated at 100.0% (228 of 228 strings)

Translation: PeerTube LiveChat/Peertube Plugin LiveChat
Translate-URL: https://weblate.framasoft.org/projects/peertube-livechat/peertube-plugin-livechat/de/
2024-06-13 16:40:30 +02:00
John Livingston a8bd02a78d
Merge pull request #421 from framabot/weblate-peertube-livechat-peertube-plugin-livechat-documentation
Translations update from Framasoft Weblate
2024-06-13 16:40:19 +02:00
Victor Hampel cfb6a653c2
Translated using Weblate (German)
Currently translated at 100.0% (711 of 711 strings)

Translation: PeerTube LiveChat/Peertube Plugin Livechat Documentation
Translate-URL: https://weblate.framasoft.org/projects/peertube-livechat/peertube-plugin-livechat-documentation/de/
2024-06-13 16:38:46 +02:00
John Livingston 754c18dcd6
Fix license file. 2024-06-13 16:37:38 +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
John Livingston f1e9d1dfec
Dynamic table UI:
* margin bottom
* add row button on left, to be more visible
2024-06-13 15:21:31 +02:00
John Livingston a1eada96e8
Channel emojis: adding an empty line by default. 2024-06-13 15:10:12 +02:00
John Livingston ae429c65a7
Fix. 2024-06-13 15:05:22 +02:00
John Livingston 8dede18070
Fix notifier messages/titles. 2024-06-13 15:01:31 +02:00
John Livingston 63d8e9789e
Fix: resetting validationError on update. 2024-06-13 12:48:58 +02:00
John Livingston 1d943716dd
Dynamic table: refactoring (more readable code). 2024-06-13 12:31:32 +02:00
John Livingston b6f196d07c
SPDX 2024-06-13 12:03:11 +02:00
John Livingston 38946121b7
tags-input: validate last value when pasting. 2024-06-13 12:00:11 +02:00
John Livingston 618dc6aeae
tags-input:
* add a "copy" button
* fix some css class (adding a prefix to avoid side effects)
* other minor fixes
2024-06-13 11:55:02 +02:00
John Livingston 591e0ad3fd
Fix. 2024-06-13 10:57:34 +02:00
John Livingston 7cabf12864
Fix tags-input:
* the code handling `separators` was buggy, so i simplified to use only
  one separator
* was not practical for bot quotes (can't edit), so replaced by a
  textarea
2024-06-13 10:48:13 +02:00
John Livingston 8cc9061092
Fix lit linting. (some fix could be better...) 2024-06-12 19:13:35 +02:00
John Livingston 724e8fdce9
Fix lit linting: input-tags should only handle text, not numbers. 2024-06-12 18:59:34 +02:00
John Livingston d4692c81e0
Fix lit linting, WIP. 2024-06-12 18:51:04 +02:00
John Livingston be93f26fb1
Lit linting. 2024-06-12 18:01:14 +02:00
John Livingston be1e7456bd
Fix action button. 2024-06-12 17:14:39 +02:00