Commit graph

181 commits

Author SHA1 Message Date
ca55a78447
feat: switched over to using a library to interact with teh wolves API 2024-11-23 21:53:30 +00:00
77a7b7b81d
fix: slight change in env var used to get teh base URL 2024-11-09 16:53:26 +00:00
2f75dc41c8
feat: will properly re-order the channels created
Also focuses on anything in teh right category
2024-11-09 16:47:48 +00:00
c98baa9d72
feat: will now create a channel for any new club/soc 2024-11-09 16:23:03 +00:00
e4a8cce725
feat: new env var for teh specific channel that the general chat stuff will be under 2024-11-09 16:17:43 +00:00
5b22f699d6
fix: getting teh server config needs to happen after checking for committee 2024-11-09 14:59:05 +00:00
6739c7e068
feat: now use env vars to get teh server and roles for committee 2024-11-09 14:55:26 +00:00
d673dce6fa
fix: handle the just in case the user alrady exists as a different person 2024-11-09 12:53:53 +00:00
015f23b922
feat: no longer using teh "hardcoded" api key 2024-11-09 12:51:41 +00:00
7a6421469c
feat: now able to get the memebr_id from just email 2024-11-09 02:23:46 +00:00
733827c3e6
feat: added support for teh new api key 2024-11-09 01:17:43 +00:00
344d6d3585
fmt: formatting and clippy 2024-10-28 21:53:04 +00:00
b7161e2614
todo: added note 2024-10-28 21:51:14 +00:00
32249364ff
feat: new committee member joins the committee server they automagically get roles 2024-10-28 21:40:48 +00:00
f1138a3c81
fix: moved the methods that changes role into their own module folder 2024-10-28 21:34:21 +00:00
61e76db8dd
feat: this should be able to update teh roles of commettee members on teh discord server 2024-10-28 21:17:44 +00:00
3e6dc9d560
feat: actually get the data for teh committees and pop it in the database 2024-10-28 14:20:36 +00:00
aff6299ac7
feat: added the committee request from wolves 2024-10-28 12:49:35 +00:00
bd80bda22f
feat: added rough code to get an individuals member_id 2024-10-28 02:06:24 +00:00
fe5aa5b252
prep: rough format for requesting data for an indivual and committee 2024-10-28 01:34:23 +00:00
273c58d035
fmt: re-organise the regular data request 2024-10-28 01:31:36 +00:00
3927734083
feat: split out minecraft 2024-10-28 01:06:21 +00:00
41407ecefb
feat: split out all the databse interactions into their own file 2024-10-28 00:59:04 +00:00
79f880daea
feat: splitting up lib.rs into subfiles, starting with anythign taht interacts with teh api 2024-10-28 00:51:39 +00:00
ceade9b972
sql: slight reordering of the migrations 2024-10-28 00:03:52 +00:00
b2d8238c17
Merge branch 'main' into #17-automate-onboarding-mk-ii
# Conflicts:
#	.gitignore
#	src/commands/committee.rs
2024-10-27 23:56:48 +00:00
a7e8f5698e
git: expand out the .gitignore 2024-10-27 23:21:30 +00:00
80c9191eee
fmt: more clippy that got missed
All checks were successful
On_Push / lint_fmt (push) Successful in 5s
On_Push / lint_clippy (push) Successful in 12s
On_Push / build (push) Successful in 1m49s
On_Push / deploy (push) Successful in 13s
2024-09-30 00:19:58 +01:00
1c3ccbecf5
fmt: not sure how this one slipped by
Some checks failed
On_Push / lint_fmt (push) Successful in 7s
On_Push / lint_clippy (push) Failing after 10s
On_Push / build (push) Has been skipped
On_Push / deploy (push) Has been skipped
2024-09-30 00:12:48 +01:00
d1af8a7c1f Merge pull request '#22_Role-Joiner' (#24) from #22_Role-Joiner into main
Some checks failed
On_Push / lint_fmt (push) Successful in 7s
On_Push / lint_clippy (push) Failing after 13s
On_Push / build (push) Has been skipped
On_Push / deploy (push) Has been skipped
Reviewed-on: #24
2024-09-29 23:10:21 +00:00
0d9ce2de7f
fmt: fmt and clippy 2024-09-30 00:09:29 +01:00
5e7964ae26
feat: some cleanup in messages and added some handrails so folks wont add stupid combos 2024-09-30 00:03:03 +01:00
32292a3c0b
feat: tested out command and gt rid of the last few kinks 2024-09-29 23:47:33 +01:00
ffce78a10d
feat: command config for setting it up
(lsit command can come later to see the active ones)
2024-09-29 22:19:58 +01:00
7980739627
feat: new struct to mirror the databse 2024-09-29 21:39:27 +01:00
2aad895bb3
feat: new table for the role adder 2024-09-29 21:25:58 +01:00
ec74dc0aa7
prep: skeleton to handle roles changing from other means 2024-09-29 21:04:08 +01:00
42f301455a Merge pull request '#21_Normalise-email-inputs' (#23) from #21_Normalise-email-inputs into main
All checks were successful
On_Push / lint_fmt (push) Successful in 7s
On_Push / lint_clippy (push) Successful in 15s
On_Push / build (push) Successful in 1m52s
On_Push / deploy (push) Successful in 13s
Reviewed-on: #23
2024-09-29 19:07:38 +00:00
5b21bc47bd
fix: improve the comment back
Relates to #21
2024-09-29 20:07:01 +01:00
2db136a736
git: greater coverage in the git-ignore 2024-09-29 20:04:08 +01:00
esy
72c4b1e794 feat: add license 2024-09-23 20:07:44 +00:00
5e17a98bff
chore: remove old method, fix fmt of r# str
All checks were successful
On_Push / lint_fmt (push) Successful in 7s
On_Push / lint_clippy (push) Successful in 12s
On_Push / build (push) Successful in 1m49s
On_Push / deploy (push) Successful in 16s
2024-09-18 07:15:25 +01:00
0ab290a876
fmt: feckin fmt
All checks were successful
On_Push / lint_fmt (push) Successful in 5s
On_Push / lint_clippy (push) Successful in 10s
On_Push / build (push) Successful in 1m48s
On_Push / deploy (push) Successful in 12s
2024-09-18 00:03:53 +01:00
a62f893a98
fix: add logging and a default value for not null sql
Some checks failed
On_Push / lint_fmt (push) Failing after 9s
On_Push / lint_clippy (push) Successful in 11s
On_Push / build (push) Has been skipped
On_Push / deploy (push) Has been skipped
2024-09-17 23:57:46 +01:00
43c5cd2eff
test: switch from using HOME to DATABASE_HOME
All checks were successful
On_Push / lint_fmt (push) Successful in 5s
On_Push / lint_clippy (push) Successful in 11s
On_Push / build (push) Successful in 1m48s
On_Push / deploy (push) Successful in 13s
2024-09-17 23:20:31 +01:00
d9211dca9a Merge pull request 'feat: send new members instructions to link wolves' (#19) from new-member-message into main
All checks were successful
On_Push / lint_fmt (push) Successful in 7s
On_Push / lint_clippy (push) Successful in 12s
On_Push / build (push) Successful in 1m48s
On_Push / deploy (push) Successful in 12s
Reviewed-on: #19
2024-09-17 21:33:22 +00:00
c71dbe7214
fix: optional parms must be after required ones 2024-09-17 22:26:46 +01:00
bf08aa650c
fmt: unwraps changed to ? 2024-09-17 22:13:30 +01:00
f3ef03a418
fmt: fmt and clippy 2024-09-17 22:11:34 +01:00
11240914ac
fix: role_current needednt have been an Option 2024-09-17 22:08:20 +01:00