20 Commits

Author SHA1 Message Date
Salastil
60ed8c3ca0 Fix: Silent failure on reconnect, self healing via /join when chat is silent after an outage
All checks were successful
Build & Release / build-latest (push) Has been skipped
Build & Release / version-release (push) Successful in 10m26s
v1.3 latest
2025-11-18 20:21:58 -05:00
Salastil
f954771c0c Added a MediaUploadService option to the configuration loader and documented it in the README so operators can pick the attachment backend (defaulting to Litterbox) straight from .env.
All checks were successful
Build & Release / build-latest (push) Successful in 9m53s
Build & Release / version-release (push) Has been skipped
Refactored the Discord bridge to build a media service during initialization, route attachment uploads through it, and dynamically label the status embeds and error diagnostics based on the selected provider while preserving the existing progress messaging flow.

Introduced a new media package that defines the uploader interface and ships a Litterbox implementation responsible for fetching Discord attachments and posting them to Catbox while reporting HTTP status codes back to the bridge.
2025-11-18 17:33:42 -05:00
Salastil
93e875ffb7 Ported outage notice functionality from Python version
All checks were successful
Build & Release / build-latest (push) Has been skipped
Build & Release / version-release (push) Successful in 10m28s
v1.2
2025-11-18 11:31:11 -05:00
Salastil
4b2e7c0784 Version bump to Go 1.23
All checks were successful
Build & Release / build-latest (push) Successful in 9m51s
Build & Release / version-release (push) Has been skipped
2025-11-16 19:15:13 -05:00
Salastil
c602492b8c Only images now wrap in Bbcode to embed when uploaded to Litterbox and sent to Sneedchat. Images are also clickable urls via the double wrapping of [url][img]
All checks were successful
Build & Release / build-latest (push) Has been skipped
Build & Release / version-release (push) Successful in 10m10s
v1.1
2025-11-16 18:33:41 -05:00
Salastil
404afe4786 Add Gitea Actions CI/CD workflow for automated builds and releases
All checks were successful
Build & Release / build-latest (push) Has been skipped
Build & Release / version-release (push) Successful in 10m16s
v1.0
2025-11-16 16:20:34 -05:00
Salastil
04f3ef2500 Fix cookie refresh and reconnection bugs 2025-11-03 22:28:47 -05:00
Salastil
0d92a3aeb0 add sleep for 2 seconds before /join on reconnect, may be moving too fast and it gets lost 2025-10-23 11:16:47 -04:00
Salastil
e4c7f1e7f5 Improved reconnect logic to handle 1006 websocket errors 2025-10-22 18:37:28 -04:00
Salastil
ad58e4720c CookieRefresh will no longer crash bridge if Xenforo refuses to give a new cookie because its already logged in. 2025-10-22 15:57:15 -04:00
Salastil
1c409694fd Fetcher mimicks Python libraries behavior for more reliabilty. Removed inline comments from env.example since Go hates it. 2025-10-21 16:22:57 -04:00
Salastil
e35a067484 Expanded debugging + Changes 2025-10-19 02:03:13 -04:00
Salastil
3a2cb0a90b Fixing what broke during making it modular 2025-10-19 00:27:22 -04:00
Salastil
a219a426c9 Modularized 2025-10-18 23:35:51 -04:00
Salastil
d76672ae80 More attempts to fix Kiwiflare bypass 2025-10-17 23:15:14 -04:00
Salastil
bc0c71b3a3 Increase sleep timers for Kiwiflare 2025-10-15 20:45:32 -04:00
Salastil
f71a5dd8a1 Full Readme 2025-10-15 20:37:45 -04:00
Salastil
00b0d3be37 Added sleep timers because cookie snatcher is solving POW and trying to log in too fast. 2025-10-15 19:54:45 -04:00
Salastil
40c280c77e Lower go version to build since we define min() 2025-10-15 00:44:21 -04:00
Salastil
08074523e2 Initial Commit 2025-10-14 23:15:15 -04:00