Commit graph

307 commits

Author SHA1 Message Date
feff293043
feat: moved the update server icon to the main thread 2025-07-20 23:12:02 +01:00
227db8a741
feat: moved the update data to the main thread 2025-07-20 22:54:34 +01:00
13eb230754
fix: updating the wolves (user data) should not trigger a server update (directly).
That should always be triggered separately.
This was a holdover from a  time when updating teh users was expensive (timewise)
2025-07-20 22:48:04 +01:00
eb88216740
feat: removed the cronjob for updating the committee server 2025-07-20 22:33:56 +01:00
96eb81293b
feat: got the committee update running smoothly (using cache and far far faster due to fixing some logic issues) 2025-07-20 22:32:55 +01:00
5815cde38b
fmt: better wording for logs 2025-07-20 22:28:59 +01:00
1729ec0a54
feat: drastically speed up the committee server script, it no longer tries to remove the committee role from those who dont have it. 2025-07-20 22:26:51 +01:00
43ef787d59
fix: no need to pass in teh full object, a reference will do 2025-07-20 22:25:31 +01:00
a8bed0bacc
fix: was calling the wrong ctx 2025-07-20 20:43:46 +01:00
3dd81a5c54
feat: remove the update_users service 2025-07-20 20:40:15 +01:00
04aa0e63d4
feat: setup update users to be every 5 min while using the cache 2025-07-20 20:37:28 +01:00
2b2dfc2531
feat: cleaned up array that was used to count members/changes to a struct 2025-07-20 20:32:43 +01:00
e901f3ed74
feat: add caching to everything, should make all member interacts faster
All checks were successful
/ check_lfs (push) Successful in 13s
On_Push / lint_fmt (push) Successful in 24s
On_Push / lint_clippy (push) Successful in 25s
On_Push / build (push) Successful in 1m59s
On_Push / deploy (push) Successful in 17s
2025-07-07 22:22:25 +01:00
3abbb8d485
feat: added script to clean up the committee server if it got flooded with extra channels 2025-07-07 22:18:04 +01:00
b8ffd42184
feat: the bot wasnt using any caching, this should make many operations far faster now
All checks were successful
On_Push / lint_fmt (push) Successful in 23s
/ check_lfs (push) Successful in 22s
On_Push / lint_clippy (push) Successful in 1m45s
On_Push / build (push) Successful in 1m46s
On_Push / deploy (push) Successful in 14s
2025-07-07 21:29:37 +01:00
764e8cd620 Fix LFS on discord bot (#39)
All checks were successful
/ check_lfs (push) Successful in 10s
On_Push / lint_fmt (push) Successful in 29s
On_Push / lint_clippy (push) Successful in 1m11s
On_Push / build (push) Successful in 2m37s
On_Push / deploy (push) Successful in 13s
Reviewed-on: #39

Thanks @esy
Co-authored-by: Daragh <esy@skynet.ie>
Co-committed-by: Daragh <esy@skynet.ie>
2025-07-06 23:28:51 +00:00
esy
76f8aa2712 Update README.md
All checks were successful
/ check_lfs (push) Successful in 6s
2025-07-06 18:12:04 +00:00
c4da3e9109
fix: only allow image files to be chosen
All checks were successful
/ check_lfs (push) Successful in 20s
On_Push / lint_fmt (push) Successful in 1m5s
On_Push / lint_clippy (push) Successful in 2m18s
On_Push / build (push) Successful in 2m1s
On_Push / deploy (push) Successful in 21s
2025-07-05 15:31:53 +01:00
d27befdac6 Merge pull request 'Add command for link to documentation' (#38) from #37_add-documentation-command into main
All checks were successful
/ check_lfs (push) Successful in 17s
On_Push / lint_fmt (push) Successful in 1m5s
On_Push / lint_clippy (push) Successful in 2m10s
On_Push / build (push) Successful in 1m30s
On_Push / deploy (push) Successful in 24s
Reviewed-on: #38
2025-06-23 23:16:41 +00:00
7403f531eb
feat: the backend is pretty simple, just pull the rep link from teh config_toml and add on the path to the docs.
All checks were successful
/ check_lfs (push) Successful in 11s
/ check_lfs (pull_request) Successful in 12s
Then its just linking it all up.

Closes #37
2025-06-24 00:13:29 +01:00
1dc5c105df
fix: needed to add git and git lfs to teh path of the service
All checks were successful
/ check_lfs (push) Successful in 20s
On_Push / lint_fmt (push) Successful in 59s
On_Push / lint_clippy (push) Successful in 4m33s
On_Push / build (push) Successful in 2m2s
On_Push / deploy (push) Successful in 33s
2025-06-18 03:57:04 +01:00
3a56d7bba5
feat: lock the `nix build` to using the repo rust version
All checks were successful
/ check_lfs (push) Successful in 43s
On_Push / lint_fmt (push) Successful in 5m2s
On_Push / lint_clippy (push) Successful in 8m26s
On_Push / build (push) Successful in 7m58s
On_Push / deploy (push) Successful in 36s
2025-06-17 16:21:57 +01:00
327ff99b69
fix: the pipeline got caught on a lint
This isnt in the 1.87 rustfmt but its stilla  good catch
2025-06-17 16:21:15 +01:00
dedf8c3644 Merge pull request '#35_remove-hardcoded-servers' (#36) from #35_remove-hardcided-servers into main
Some checks failed
On_Push / lint_fmt (push) Successful in 24s
On_Push / lint_clippy (push) Failing after 4m4s
On_Push / build (push) Has been skipped
On_Push / deploy (push) Has been skipped
/ check_lfs (push) Failing after 12m3s
Reviewed-on: #36

Closes #35
2025-06-17 14:56:57 +00:00
a6eff75e39
feat: use values from teh env file to dictate the servers
All checks were successful
/ check_lfs (pull_request) Successful in 8s
/ check_lfs (push) Successful in 8s
2025-06-17 15:38:15 +01:00
72226cc59b
feat: add support for passing teh compsoc server id via env 2025-06-17 15:38:15 +01:00
f841039c53
fix: was pulling in the wrong env var 2025-06-17 15:38:15 +01:00
87dd04e12f Merge pull request 'Automatically change server icon daily' (#33) from #32_rotating-server-icon into main
Some checks failed
/ check_lfs (push) Successful in 27s
On_Push / lint_fmt (push) Successful in 3m13s
On_Push / build (push) Has been cancelled
On_Push / deploy (push) Has been cancelled
On_Push / lint_clippy (push) Has been cancelled
Reviewed-on: #33

Closes #32
2025-06-17 14:35:43 +00:00
9134feee4e
feat: cleaned up remaining unwraps, and then clippy+fmt
All checks were successful
/ check_lfs (pull_request) Successful in 9s
/ check_lfs (push) Successful in 4s
2025-06-16 21:56:06 +01:00
652dd6ff1c
ci: add workflow to check for lfs status 2025-06-16 21:56:06 +01:00
cae383a186
feat: set up the systemd timer for teh binary 2025-06-16 21:56:06 +01:00
b4cadffdb5
fmt: for whenever it gets stabised (or we use nightly) this would be really good for cleaning up imports 2025-06-16 21:56:06 +01:00
721c8246ac
todo: add a todo where teh mc commands get moved in under committee 2025-06-16 21:56:06 +01:00
0f4524ea63
feat: tidied up the command outouts 2025-06-16 21:56:06 +01:00
86f54aec6d
feat: got the commands mostly working, will need some further fine tuning 2025-06-16 21:56:05 +01:00
86a3af2a65
feat: pull the config for the festivals locally, using teh imported repo 2025-06-16 21:56:05 +01:00
6d5ad8e418
feat: split out the functions so they can be shared with commands 2025-06-16 21:56:05 +01:00
9d50efb757
fmt: cargo+clippy 2025-06-16 21:56:05 +01:00
51bc2f177f
feat: save the selected image to teh library 2025-06-16 21:56:05 +01:00
3523dac46e
fix: properly filter icon based on the festival 2025-06-16 21:56:05 +01:00
51d5904ffd
feat: allow for overlapping festivals 2025-06-16 21:56:05 +01:00
1555a94656
fix: give a reference where it needed to be 2025-06-16 21:56:05 +01:00
7bcf30fb3a
feat: can now set the server icon programmatically 2025-06-16 21:56:05 +01:00
4f96c9087f
feat: get a random image 2025-06-16 21:56:05 +01:00
1ff993d236
feat: only need to keep whatever ones are in teh current season (if at all) 2025-06-16 21:56:05 +01:00
acdfe4b423
fix: only convert if it hasnt already been converted 2025-06-16 21:56:05 +01:00
537fdfd40c
feat: put the converted files into a subfolder 2025-06-16 21:56:05 +01:00
ffd6e40d0b
fix: was being too strict in matching the year 2025-06-16 21:56:05 +01:00
a7423959dc
fix: use a struct for clarity 2025-06-16 21:56:05 +01:00
b4f6835704
feat: got the logos, and converted them if needs be 2025-06-16 21:56:05 +01:00