From f35bb5c8ac29f9c8165a7769757baa6c24107a6a Mon Sep 17 00:00:00 2001 From: John Livingston Date: Thu, 5 Dec 2024 19:46:47 +0100 Subject: [PATCH 01/10] Fix #618: Fix custom emojis vs upper/lower case. --- CHANGELOG.md | 6 ++++++ conversejs/build-conversejs.sh | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 692437e7..7fd962f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 12.0.1 + +### Minor changes and fixes + +* Fix custom emojis vs upper/lower case. + ## 12.0.0 ### Importante Notes diff --git a/conversejs/build-conversejs.sh b/conversejs/build-conversejs.sh index 9bdd36e3..cffac2bd 100644 --- a/conversejs/build-conversejs.sh +++ b/conversejs/build-conversejs.sh @@ -31,8 +31,10 @@ CONVERSE_COMMIT="8f32df723e3aa392db02326dc6a3279c9497b6fb" # 2024-09-03: include badges short label and quick fix for sendMessage button CONVERSE_REPO="https://github.com/JohnXLivingston/converse.js" -CONVERSE_VERSION="livechat-12.0.0" -# CONVERSE_COMMIT="" +CONVERSE_VERSION="livechat-12.0.1" +CONVERSE_COMMIT="" +# 2024-12-05: fix emojis (don't want some upstream feature, but want this fix) +# CONVERSE_COMMIT="366a718f16e96c88c6d768722f1525801a2f0c4d" rootdir="$(pwd)" src_dir="$rootdir/conversejs" From 1bea08654f7084f29a6800cdc6ca0c99a2cd7f35 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Thu, 5 Dec 2024 19:49:47 +0100 Subject: [PATCH 02/10] Bump version 12.0.1 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8ffed1a3..ebdae7f3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "peertube-plugin-livechat", - "version": "12.0.0", + "version": "12.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "peertube-plugin-livechat", - "version": "12.0.0", + "version": "12.0.1", "license": "AGPL-3.0", "dependencies": { "@xmpp/jid": "^0.13.1", diff --git a/package.json b/package.json index 5d5dba38..4b76801d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "peertube-plugin-livechat", "description": "PeerTube plugin livechat: create chat rooms for your Peertube lives! Comes with many features: federation, moderation tools, chat bot, chat persistence, OBS integration, ...", - "version": "12.0.0", + "version": "12.0.1", "license": "AGPL-3.0", "author": { "name": "John Livingston", From d0797ba6313c3bed3f9532d9961c64729c63a6e4 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Tue, 10 Dec 2024 11:25:33 +0100 Subject: [PATCH 03/10] Fix task list label styling. --- CHANGELOG.md | 4 ++++ conversejs/custom/plugins/tasks/styles/muc-task-lists.scss | 5 +++++ conversejs/custom/plugins/tasks/templates/muc-task-list.js | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fd962f9..9b1cc078 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 12.0.2 + +* Fix task list label styling. + ## 12.0.1 ### Minor changes and fixes diff --git a/conversejs/custom/plugins/tasks/styles/muc-task-lists.scss b/conversejs/custom/plugins/tasks/styles/muc-task-lists.scss index 371cbd11..f0ee6a7b 100644 --- a/conversejs/custom/plugins/tasks/styles/muc-task-lists.scss +++ b/conversejs/custom/plugins/tasks/styles/muc-task-lists.scss @@ -34,6 +34,11 @@ .task-list-name { flex-grow: 2; + label { + // Cancelling the Peertube margin-bottom on labels + margin: 0; + } + form { display: flex; flex-flow: row nowrap; diff --git a/conversejs/custom/plugins/tasks/templates/muc-task-list.js b/conversejs/custom/plugins/tasks/templates/muc-task-list.js index 88c1a950..f05d96b7 100644 --- a/conversejs/custom/plugins/tasks/templates/muc-task-list.js +++ b/conversejs/custom/plugins/tasks/templates/muc-task-list.js @@ -39,7 +39,7 @@ export default function tplMucTaskList (el, tasklist) { ${!el.edit ? html`