Commit graph

210 commits

Author SHA1 Message Date
c16ff4bdba
chore: improved readability
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01:00
4f3c76910c
fix: fixed AvailabilityManager
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01:00
6ab6aa1279
fix: fixed weekstamp
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01:00
a3d3005ff0
chore: improved imports
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01:00
0c363391ba
fix: fixed build.yml
Signed-off-by: moonleay <contact@moonleay.net>
2023-12-09 16:11:50 +01:00
4ae3b0052b feat: add build.yml
Some checks reported warnings
/ build_and_publish (push) Has been cancelled
Signed-off-by: moonleay <contact@moonleay.net>
2023-08-04 21:17:15 +02:00
bf9754f404 chore: bump version
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-13 01:15:24 +02:00
86771a36fb chore: formatting
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-13 00:58:51 +02:00
c663641e42 fix: fixed AvailabilityManager not being able to set the right roles
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-13 00:58:43 +02:00
213cb45d6c fix: fixed gitlab-ci.yml
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:35:09 +02:00
6b0bf40e0a feat: added MatchExtension, added MatchManager updater
chore: updated comments

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:28:24 +02:00
9fa7f38228 feat: added MatchJob to clean up roles
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:26:27 +02:00
9099d02bf4 feat: added getMatchButtons to EmbedUtil
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:26:00 +02:00
ef28b08214 feat: added cronjob system
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:25:03 +02:00
187da815e2 feat: added CancelEditButton
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:24:12 +02:00
e04956a800 feat: added SignMeUpEditButton
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:24:04 +02:00
ad99e2767e feat: updated buttons and ButtonManager
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:23:03 +02:00
407f0ff1ea feat: changed EditButton to an interface
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:21:08 +02:00
3f3fb87ebd feat: added MatchManager
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:20:01 +02:00
62e230777b feat: added MatchExtension
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:19:48 +02:00
cd4e881e60 feat: added MatchTypes enum
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:19:28 +02:00
97fc2975c5 feat: added MatchPlanningData and MatchPlanningDataData
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:17:47 +02:00
e03e5bbd9e chore: moved Logger info to runThread function
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:15:31 +02:00
1b2b35e10a fix: fixed errors with the TimeManager if there is no notifier role
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:12:55 +02:00
7ab73765e4 feat: added function to get a ZonedDateTimeObject from a string, added function to generate a cronjob string from a ZonedDateTime object
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 13:05:12 +02:00
ad6040ebf3 feat: added EmbedWithTableWithFooter to MessageUtil
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 12:57:22 +02:00
f79e1b1582 feat: added info output to SendPlannerExtension
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 12:55:54 +02:00
aabc50952b chore: upgrade krontab version, bump version
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-07-12 12:51:28 +02:00
063ef3ef91 chore: removed comment, as the function has been cleaned up
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-29 12:12:57 +02:00
d92396784e feat: improved isEmpty check
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-29 11:14:13 +02:00
196bb378b4 feat: make the bot update the roles on startup
fix: fixed the bot throwing Errors when there is no role for a channel

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-29 09:57:36 +02:00
d6bf2e7bc9 chore: update .gitlab-ci.yml to only run at tag creation
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-29 08:57:22 +02:00
948ac8a184 chore: update README.md
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-29 08:40:10 +02:00
4fac341c11 feat: AvailabilityManager cronjob now runs at 1:00 AM utc
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-29 08:39:57 +02:00
a42016961f feat: timemanager cronjob now runs at 0:01 AM utc
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-29 08:39:43 +02:00
f87ef82e66 chore: update README.md
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-29 08:27:02 +02:00
5b1b9682ff chore: update README.md
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-29 08:26:11 +02:00
e64569c748 feat: improved feature system
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-29 08:25:37 +02:00
e8667dca5b feat: upgrade README.md
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-29 00:05:12 +02:00
5ffd3c7ccc chore: bump version
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 23:15:37 +02:00
e0228c65cd feat: removed old Feature interface, removed manager temp, moved IFeature into .feature.component
chore: add credits, add comments

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 23:15:26 +02:00
15d2aec85e feat: improved feature / cronjob system
Changes by silenium-dev

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 23:15:11 +02:00
72670d4dd4 feat: added saving of the messageids,
chore: moved getMondayDayOfMonth function to TimeUtil

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:52:44 +02:00
5c488fa91d feat: (re)added PlanningRolesFeature
fix: fixed being able to register TimePlanningFeature multiple times in the same channel
chore: added comments

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:50:34 +02:00
ae0d67f3fd feat: added UpdateRolesExtension for debugging
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:48:46 +02:00
fb287b24cf chore: Renamed ButtonUtil to EmbedUtil
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:48:27 +02:00
04ff442d86 feat: started working on improving feature system, added Feature, added FeatureManager to store all Features
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:47:13 +02:00
2e63bee9a6 feat: added PlanningRoles feature to FeatureEnum, added AvailabilityManager with Cronjob
chore: moved FeatureEnum from .extensions.component to .features.component

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:46:24 +02:00
03fa8a51a7 feat: save messageids to database
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:43:55 +02:00
3aeefefd32 feat: added TimePlanningMessagesData
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-06-28 22:43:08 +02:00