Commit Graph

78 Commits

Author SHA1 Message Date
mightypanders 26e74a62c1 add branch 2023-06-14 21:54:22 +02:00
mightypanders c0f91aad79 add secrets to 'on' 2023-06-14 21:42:16 +02:00
mightypanders 79ffde5f34 check env step
Build a docker image for node-jellyfin-role-ot / build-docker-image (push) Failing after 23s Details
2023-06-14 21:30:23 +02:00
mightypanders 911b9e4884 adjust pipeline to be personalized
Build a docker image for node-jellyfin-role-ot / build-docker-image (push) Failing after 17s Details
2023-06-14 21:27:16 +02:00
mightypanders 31a9e0eb28 adjust url
Build a docker image for node-jellyfin-role-ot / build-docker-image (push) Failing after 22s Details
2023-06-14 19:44:50 +02:00
mightypanders bcf788293e hardcoded docker tags
Build a docker image for node-jellyfin-role-ot / build-docker-image (push) Failing after 28s Details
2023-06-14 19:27:28 +02:00
mightypanders 934b6dfead remove custom script
Build a docker image for node-jellyfin-role-ot / build-docker-image (push) Failing after 15s Details
2023-06-14 19:21:22 +02:00
mightypanders cd0c8c0017 latest tag by default
Build a docker image for node-jellyfin-role-ot / build-docker-image (push) Failing after 15s Details
2023-06-14 19:18:46 +02:00
mightypanders 83f803d0e7 remove metadata action
Build a docker image for node-jellyfin-role-ot / build-docker-image (push) Failing after 20s Details
2023-06-14 19:16:23 +02:00
mightypanders 2cb652aee6 add metadata and registry push
Build a docker image for node-jellyfin-role-ot / build-docker-image (push) Failing after 9s Details
2023-06-14 19:11:05 +02:00
mightypanders 034d14eb15 use a container with docker
Build a docker image for node-jellyfin-role-ot / build-docker-image (push) Successful in 2m3s Details
2023-06-14 18:59:07 +02:00
mightypanders c8bfc47ddf add docker login
Build a docker image for node-jellyfin-role-ot / build-docker-image (push) Failing after 14s Details
2023-06-13 23:47:22 +02:00
mightypanders b67982ed38 ls
Build a docker image for node-jellyfin-role-ot / build-docker-image (push) Failing after 9s Details
2023-06-13 23:29:29 +02:00
mightypanders e3144fc402 add checkout option 2023-06-13 23:29:03 +02:00
mightypanders 1970f4b0cb adjust docker build stage
Build a docker image for node-jellyfin-role-ot / build-docker-image (push) Failing after 34s Details
2023-06-13 23:24:56 +02:00
mightypanders 8ac4f568a0 add on push
Build a docker image for node-jellyfin-role-ot / build-docker-image (push) Failing after 41s Details
2023-06-13 21:51:26 +02:00
mightypanders 09f4efc96c change os 2023-06-13 21:50:21 +02:00
mightypanders 6e0c3b8ef6 add gitea cicd 2023-06-13 21:49:04 +02:00
mightypanders 8ee36f7510 add woodpecker integration 2023-06-13 20:31:33 +02:00
mightypanders 1593e126eb add docker build files 2023-06-13 20:31:19 +02:00
kenobi acc38fdcb0 Merge pull request 'Add automatic creation of vote message with random movies' (#16) from feat/voting into master
Reviewed-on: #16
2023-06-12 21:00:16 +02:00
Sammy fdc0fc47b5 removed unnecessary guildId: from logger calls 2023-06-12 20:36:05 +02:00
Sammy f3669ec34f move collection id of movies into configurations 2023-06-12 20:31:52 +02:00
Sammy c0369fcb49 Fetch announcement channel at server start 2023-06-12 20:27:54 +02:00
Sammy 40d220ed7b refactor: use date-fns for date comparison 2023-06-12 19:43:33 +02:00
Sammy 117ff23a0c remove typecast to unknown
Somehow I thought it was necessary because the compiler said it at some point
2023-06-11 15:42:31 +02:00
Sammy 550aa53188 make closepoll return when no channel found 2023-06-11 09:12:14 +02:00
Sammy 1ee55f995c minor resilience improvement and formatting
in closepoll.ts was an unsafe arrays usage without checking the bounds
2023-06-11 09:01:25 +02:00
Sammy 0d5c3d30a9 Fix loggers
Some logger messages were missing requestId and guildId
2023-06-10 22:58:00 +02:00
Sammy c2d8838cf8 polls will be closed automatically 2 days before event start 2023-06-10 22:53:11 +02:00
Sammy c8fa89ae63 Add command to close the poll and update the event 2023-06-10 17:27:59 +02:00
Sammy 2707f7d73b Add automatic creation of vote message with random movies
When a !nextwp event is created the bot will fetch random movies and create a message that people can vote on
2023-06-10 14:23:10 +02:00
kenobi 2c5bf1272e Merge pull request 'Fix edgecases for automatic user creation' (#15) from fix/user_accounts into master
Reviewed-on: #15
2023-06-10 00:04:43 +02:00
Sammy 1e1ab93667 Fix edgecases for automatic user creation
- make eventdescription !wp case insensitive

- Create accounts for users in channel without subscription when event starts

- Make sent messages caused by VoiceState event dependant on creation result (created, enabled)

- Create tmp user if normal user exists but is disabled
2023-06-09 23:56:45 +02:00
kenobi 8f1c6e10fa Merge pull request 'add guides' (#14) from buttons into master
Reviewed-on: #14
2023-06-09 22:23:51 +02:00
Sammy c0b24ee3ad restructuring 2023-06-09 22:01:38 +02:00
Sammy 3e152864fd complete guides 2023-06-09 21:30:24 +02:00
mightypanders 24c120a890 add /guides interaction with buttons 2023-06-09 16:16:23 +02:00
Sammy 8ae5fd2c1b Merge pull request 'add 'mitgucken' guide on how to join JF Syncplay group' (#12) from feat/guide into master
Reviewed-on: #12
2023-06-08 20:02:59 +02:00
mightypanders 0aef525994 initialize attachmentImages ahead of time, to be reused 2023-06-08 19:34:48 +02:00
mightypanders 0ba867b23a add 'mitgucken' guide on how to join JF Syncplay group 2023-06-08 19:11:00 +02:00
mightypanders 3294d9ca77 make jf roles configurable via env vars 2023-06-08 17:10:06 +02:00
Sammy e234e9f68f Merge pull request 'Logging and ephemeral messages' (#11) from dev into master
Reviewed-on: #11
2023-06-08 00:19:14 +02:00
mightypanders 84a0d7bbe1 turn all slash command replies into an ephemeral message
Setting ephemeral has to happen in an initial reply (reply() or
deferReply()) to set the mode for all replies in this 'thread'. Once the
ephemeral state of a message has been set it can not be changed. If you
want to send a visible message after an ephemeral message it has to be
new message. See https://discordjs.guide/slash-commands/response-methods.html#ephemeral-responses
2023-06-06 23:27:41 +02:00
mightypanders efd4d69c74 add ids to logging 2023-06-06 23:27:07 +02:00
Sammy 64c5874249 further handling of automatic user adding/deleting 2023-06-04 16:35:43 +02:00
Sammy 892562cd0b Automatically create and disable users based on watch event 2023-06-04 15:02:03 +02:00
Sammy d3fff38e36 implemented handling of password resets 2023-06-04 03:14:45 +02:00
Sammy 11dac10a07 Added handler for password reset command 2023-06-04 03:10:33 +02:00
Sammy 7e37641e0b finally use request id 2023-06-04 01:09:24 +02:00