14 Mar 2024 |
charlie137 | oh theres no reason, it should work with deploy branch using its site name | 16:54:32 |
charlie137 | * cactus.html: {% set cactus_hash = get_hash(path="/cactus.js", base64=true, sha_type=512) %}
<script type="text/javascript" src="/cactus.js" integrity="sha512-{{ cactus_hash | safe }}" crossorigin="anonymous"></script>
<link rel="stylesheet" href="/cactus.css" type="text/css">
<div id="cactus-comment-section"></div>
<script type="text/javascript" src="/cactus-init.js"
integrity="sha512-{{ cactus_init_hash | safe }}"
site_name="{{ config.extra.comments.cactus.site | safe }}"
page_section="{{ page.slug | safe }}"
crossorigin="anonymous">
</script>
cactus-init.js: let site_name = new String(document.currentScript.getAttribute('site_name'));
let page_section = new String(document.currentScript.getAttribute('page_section'));
initComments({
node: document.getElementById("cactus-comment-section"),
defaultHomeserverUrl: "https://matrix.cactus.chat:8448",
serverName: "cactus.chat",
siteName: site_name,
commentSectionId: page_section
});
| 17:13:54 |
charlie137 | dropped 8448 port but still room not found, no console errors | 18:42:21 |
charlie137 | ``` Error: M_NOT_FOUND Room alias #comments_halve-z-theme_information:cactus.chat not found ``` getting the same error when trying to log in, so its not only on my end (?) | 18:44:48 |
charlie137 | should i open an issue or theres a way to debug account records via bot? i still havent got a registration confirmation either and quick start guide resulting in the same error | 21:30:42 |
16 Mar 2024 |
charlie137 | refactored to a single script - seems like it should work as well but still can’t find the room. and still no response from the bot ```html <link rel="stylesheet" href="/cactus.css" type="text/css"> <script type="text/javascript" src="/cactus.js" integrity="sha512-{{ get_hash(path="/cactus.js", base64=true, sha_type=512) | safe }}" data-default-homeserver-url="https://matrix.cactus.chat", data-server-name="cactus.chat" data-site-name="{{ config.extra.comments.cactus.site | safe }}" data-comment-section-id="{{ page.slug | safe }}" crossorigin="anonymous" defer> </script> ``` | 15:41:46 |
charlie137 | * refactored to a single script - seems like it should work as well but still can’t find the room. and still no response from the bot <link rel="stylesheet" href="/cactus.css" type="text/css">
<script type="text/javascript" src="/cactus.js" integrity="sha512-{{ get_hash(path="/cactus.js", base64=true, sha_type=512) | safe }}"
data-default-homeserver-url="https://matrix.cactus.chat",
data-server-name="cactus.chat"
data-site-name="{{ config.extra.comments.cactus.site | safe }}"
data-comment-section-id="{{ page.slug | safe }}"
crossorigin="anonymous"
defer>
</script>
| 15:58:34 |
17 Mar 2024 |
charlie137 | got the bot to respond 🍻 | 08:39:21 |
charlie137 | got everything to work with strict CSPs on Zola https://github.com/charlesrocket/halve-z/pull/19 | 16:34:13 |
| @pietro:hackliberty.org left the room. | 21:21:48 |
18 Mar 2024 |
| @andrei:omni.ms joined the room. | 17:47:16 |
| @andrei:omni.ms changed their display name from andrei to Andrei Hava. | 20:10:47 |
| @andrei:omni.ms left the room. | 21:49:50 |
19 Mar 2024 |
| -> @jo:jo.wtf changed their display name from Jonathan to -> @jo:jo.wtf. | 13:08:30 |
20 Mar 2024 |
| @yusf:gottsnack.net joined the room. | 06:28:43 |
@yusf:gottsnack.net | Howdy! Your server is being used for invite-spamming. 🎩👌 | 06:30:06 |
| @yusf:gottsnack.net left the room. | 06:30:21 |
A2 | Yikes | 07:41:39 |
A2 | I wonder what the right thing to do about it is. We can't really shut off guest account creation. | 07:42:29 |
carl | Anyone got ideas for how we can prevent this? | 18:14:01 |
carl | I guess guest accounts shouldn't be able to invite in the first place. | 18:14:54 |
21 Mar 2024 |
| Hansjörg Pehofer changed their display name from Hansjörg Pehofer to zeyAway. | 15:19:41 |
25 Mar 2024 |
| x removed their profile picture. | 07:39:36 |
| x changed their display name from Jack to x. | 07:39:47 |
| @thib:ergaster.org changed their display name from Thib to Thib 🤒. | 14:49:04 |
26 Mar 2024 |
| @jopejoe1:matrix.org left the room. | 19:24:44 |
27 Mar 2024 |
| @thib:ergaster.org changed their display name from Thib 🤒 to Thib. | 07:59:05 |
28 Mar 2024 |
| Mickaël joined the room. | 12:36:12 |
| felixns joined the room. | 20:01:48 |
felixns | Hello ! I followed a tutorial to add Cactus Comments to my website. It works very well, but is there a way to automatically join any new room with my Matrix account ? I create a new room for fresh comment section on all of my article, and I would like to have a notification every time someone comment.
Thanks !
| 20:02:37 |