From 00691685d9eb0f2faf60489d64ed219e03c43578 Mon Sep 17 00:00:00 2001 From: egelhaus <156946629+egelhaus@users.noreply.github.com> Date: Fri, 24 Jan 2025 15:00:02 +0100 Subject: [PATCH 1/5] Add new ENV to .env.example --- .env.example | 1 + 1 file changed, 1 insertion(+) diff --git a/.env.example b/.env.example index 7ca10d13..c36c95fc 100644 --- a/.env.example +++ b/.env.example @@ -77,6 +77,7 @@ MASTODON_CLIENT_SECRET="" OPENAI_API_KEY="" NEXT_PUBLIC_DISCORD_SUPPORT="" NEXT_PUBLIC_POLOTNO="" +NOT_SECURED=false # Payment settings FEE_AMOUNT=0.05 From 278e7f818189e3992f6e57846ad7f1b22d09b9b0 Mon Sep 17 00:00:00 2001 From: egelhaus <156946629+egelhaus@users.noreply.github.com> Date: Thu, 30 Jan 2025 20:35:45 +0100 Subject: [PATCH 2/5] Update SECURITY.md Remove jread from SECURITY.md (lost Maintainer Aceess), add egelhaus to SECURITY.md (got Maintainer Aceess) --- SECURITY.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SECURITY.md b/SECURITY.md index e37fd76a..a8b68792 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -9,7 +9,7 @@ The Postiz app is committed to ensuring the security and integrity of our users' If you discover a security vulnerability in the Postiz app, please report it to us privately via email to one of the maintainers: * @nevo-david -* @jamesread ([email](mailto:contact@jread.com)) +* @egelhaus ([email](mailto:gelhausenno@outlook.de)) * @jonathan-irvin ([email](mailto:offendingcommit@gmail.com)) When reporting a security vulnerability, please provide as much detail as possible, including: From bf935652df29c9044bff629c430305df16fb4115 Mon Sep 17 00:00:00 2001 From: egelhaus <156946629+egelhaus@users.noreply.github.com> Date: Thu, 30 Jan 2025 20:41:24 +0100 Subject: [PATCH 3/5] Update SECURITY.md Remove jonathan-irvin (Former Maintainer) --- SECURITY.md | 1 - 1 file changed, 1 deletion(-) diff --git a/SECURITY.md b/SECURITY.md index a8b68792..79ff527f 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -10,7 +10,6 @@ If you discover a security vulnerability in the Postiz app, please report it to * @nevo-david * @egelhaus ([email](mailto:gelhausenno@outlook.de)) -* @jonathan-irvin ([email](mailto:offendingcommit@gmail.com)) When reporting a security vulnerability, please provide as much detail as possible, including: From 3efdaf6243e4a03248e6163bf395f217d9eaf811 Mon Sep 17 00:00:00 2001 From: Enno Gelhaus Date: Thu, 30 Jan 2025 21:28:57 +0100 Subject: [PATCH 4/5] Change .env.example to an simpler Version. --- .env.example | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index c36c95fc..d1144f66 100644 --- a/.env.example +++ b/.env.example @@ -1,9 +1,11 @@ # Configuration reference: http://docs.postiz.com/configuration/reference -# === Required Settings +# === Required Settings DATABASE_URL="postgresql://postiz-user:postiz-password@localhost:5432/postiz-db-local" REDIS_URL="redis://localhost:6379" JWT_SECRET="random string for your JWT secret, make it long" + +# === This needs to be exactly the URL you're accessing Postiz on. FRONTEND_URL="http://localhost:4200" NEXT_PUBLIC_BACKEND_URL="http://localhost:3000" BACKEND_INTERNAL_URL="http://localhost:3000" From d4d467276fe308cedd0559cee46f1d8e23b49d6d Mon Sep 17 00:00:00 2001 From: William Hallin Date: Thu, 30 Jan 2025 22:15:35 +0100 Subject: [PATCH 5/5] feat: allow GUILD_ANNOUNCEMENT for Discord Allow the Discord provider to post in "GUILD_ANNOUNCEMENT" text channels, also known as announcement channels --- .../src/integrations/social/discord.provider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/nestjs-libraries/src/integrations/social/discord.provider.ts b/libraries/nestjs-libraries/src/integrations/social/discord.provider.ts index 21833c1d..6c97e547 100644 --- a/libraries/nestjs-libraries/src/integrations/social/discord.provider.ts +++ b/libraries/nestjs-libraries/src/integrations/social/discord.provider.ts @@ -117,7 +117,7 @@ export class DiscordProvider extends SocialAbstract implements SocialProvider { ).json(); return list - .filter((p: any) => p.type === 0 || p.type === 15) + .filter((p: any) => p.type === 0 || p.type === 5 || p.type === 15) .map((p: any) => ({ id: String(p.id), name: p.name,