Commit graph

134 commits

Author SHA1 Message Date
dd5ebd6bd3 fix: no need for these imports 2023-08-05 21:52:01 +01:00
4a29049ce7 feat: new function to get data from wolves (csv/json) and store it in teh db) 2023-08-05 21:51:09 +01:00
6b901683da test: see database path 2023-08-05 20:21:04 +01:00
6efdb9cd1c Fix: update email to explain more about Skynet/Compsoc
Closes #9
2023-08-05 19:23:47 +01:00
8f43e777f5 Merge branch 'main' into #4-password-reset
# Conflicts:
#	src/bin/update_groups.rs
2023-08-05 18:21:22 +01:00
0605bf5e4d fix: use the more broad term recovery 2023-08-05 17:44:54 +01:00
61ccaf0bdb feat: returns the user details on successful account modification
Closes #8
2023-08-05 17:36:48 +01:00
bd18ad759e fix: all users will need to havea secure/updated password to log in
Closes #7
2023-08-02 14:52:58 +01:00
bfee0c519b fix: all committee members should be properly updated now 2023-08-02 13:51:14 +01:00
04853f439b doc: added documentation for the path 2023-07-30 23:22:40 +01:00
e46ae563e0 fmt: smol cleanup
Related to #4
2023-07-30 23:10:41 +01:00
712cd50ff2 feat: handle the receiving of the token 2023-07-30 22:56:02 +01:00
a851a81dec feat: started teh password reset option 2023-07-30 22:21:04 +01:00
344d958aec feat: further reduction in complexity
#5
2023-07-30 22:20:15 +01:00
bf1d91e110 feat: reduce complexity around skSecure
#5
2023-07-30 21:41:00 +01:00
11b348326a fix: no need for skSecure 2023-07-30 21:20:20 +01:00
bc46736863 fix: add an index for expirey 2023-07-30 20:46:44 +01:00
4c69738122 env: seeing if I need the admin quoted 2023-07-30 06:16:03 +01:00
3415792d7f env: test 2023-07-30 06:01:42 +01:00
0c4627c036 fmt: smol cleanup 2023-07-30 05:20:08 +01:00
48eb7edee1 fmt: fix error in formatting 2023-07-30 05:17:26 +01:00
53409add42 fix: had incorrect type on the query 2023-07-30 04:03:03 +01:00
e480665ae9 feat: Now validetes usernames
Closes #3
2023-07-30 03:47:30 +01:00
63b59432a3 feat: simplified the signup 2023-07-30 03:12:03 +01:00
970e566dea fix: mixed up the values 2023-07-30 02:45:52 +01:00
0023e52f79 feat: central function for random string 2023-07-30 02:02:56 +01:00
21f2a21609 feat: @skynet.ie is not a permitted address
#1
2023-07-30 01:54:18 +01:00
72776a967a feat: moved the timestamp function to lib 2023-07-30 01:40:27 +01:00
4ce3e94c36 fmt: clippy and fmt 2023-07-30 01:19:19 +01:00
c3ed7fe02c fix: make these available for use 2023-07-30 01:19:06 +01:00
88abff575f fix: moved the read csv into teh lib as its shared between two methods 2023-07-30 00:55:27 +01:00
e21af089d1 fmt: clippy and fmt 2023-07-30 00:48:15 +01:00
2b96d498a7 feat: new binary to take the csv and mail users about it 2023-07-30 00:36:30 +01:00
b1fd0432ec fix: use uid instead of uid_number 2023-07-30 00:33:08 +01:00
3a6325c722 fix: forgot to make fields public 2023-07-29 23:10:19 +01:00
f4e9ece04c pkg: newer dotenv 2023-07-29 22:23:20 +01:00
05a14638f7 feat: basic setup for email 2023-07-29 21:38:03 +01:00
7081c76e60 feat: setup table used for new accounts 2023-07-29 21:32:16 +01:00
2f27597525 feat: frontload updating teh local db 2023-07-29 19:48:44 +01:00
83a33e09f7 fix: was usign wrong group for setting it active 2023-07-29 19:02:56 +01:00
ba180179b0 fix: discord was not set to teh right field 2023-07-29 18:41:53 +01:00
77917477fe fix: disallow using skynet email as a contact address
closes #1
2023-07-29 17:16:29 +01:00
25ad5ca62c fix: what happens when the key does not exist 2023-07-23 21:51:42 +01:00
f73a7dfa29 feat: add proper env vars for home and the csv 2023-07-17 01:24:52 +01:00
480860ca26 fix: make sure that an old csv does not cause issues. 2023-07-17 00:38:46 +01:00
6374b44e08 fmt: fmt and clippy 2023-07-17 00:14:48 +01:00
b9bcd5352e feat: now able to pull data from the csv 2023-07-16 23:29:52 +01:00
aef7cda678 feat:a dd field to make the password as secure 2023-07-16 23:14:21 +01:00
4a0d32083c fix: dont do anything if there are no users 2023-06-18 20:47:36 +01:00
9c33cd843a fix: renamed the project to better fit its use 2023-06-18 20:27:04 +01:00
14b0531680 feat: basic structure for general suers, still need the wolves api 2023-06-18 19:10:46 +01:00
a3e95c5e10 feat: mantain committee group as well 2023-06-18 18:37:44 +01:00
9cba5ce94a fmt: fmt and clippy 2023-06-18 18:34:27 +01:00
a990f31a45 fix: little bit of a tidy up 2023-06-18 18:32:52 +01:00
114367d03a feat: now get the users from teh env 2023-06-18 18:29:49 +01:00
ff282e823b feat: added override to ensure that admins have user perms 2023-06-18 17:45:33 +01:00
dc7139a86f feat: turned group add into a nice function 2023-06-18 17:33:39 +01:00
4e6c810e7b feat: first time adding users to groups 2023-06-18 17:19:59 +01:00
57e07d49a7 fmt: split the new account creation into several sub functions, will be re using a few for the email password reset 2023-06-04 23:42:09 +01:00
c11b520c77 doc:a dded note on the account verification 2023-06-04 22:07:49 +01:00
2e3578bae7 fmt: fmt and clippy 2023-06-04 22:06:34 +01:00
f7ac2fa951 fix: this was not intended to be commented out 2023-06-04 21:52:25 +01:00
869e7bc91b ferat: add new users to teh local db 2023-06-04 21:51:39 +01:00
36b13fb1f2 fix: remove discord from the signup 2023-06-04 21:47:30 +01:00
5b6195db31 feat: small little function to get the next user id 2023-06-04 21:39:46 +01:00
b9fdde4033 feat: keep a local record of important skynet info 2023-06-04 21:16:24 +01:00
beab2cb97b feat: final step in creating a new user 2023-06-04 19:39:01 +01:00
dcb4969b27 feat: now create teh pending user 2023-06-04 15:26:59 +01:00
9c54a2f919 feat: check emails as well 2023-06-04 14:45:05 +01:00
e83adea4fe feat: now check local db for pending usernames 2023-06-04 14:21:12 +01:00
894b6d42e5 feat: new module for user signup 2023-06-04 13:27:15 +01:00
686df5ac03 fmt: renamed to have a standard naming scheme 2023-06-04 12:28:21 +01:00
cf26bf60d1 doc: added small bit of dsocumentaiton 2023-06-04 12:19:17 +01:00
9b52052add feat: split up into seperate modules before it gets too tangled up 2023-06-04 12:17:16 +01:00
82ce0a864f fmt: fmt and clippy 2023-05-26 10:39:36 +01:00
aa196ba33b feat: turns out there is an extended ldap3 operation called password modify 2023-05-26 10:37:50 +01:00
f8089113f5 todo: added notes on what to do next 2023-05-26 01:23:45 +01:00
22435465d2 fmt: fmt and clippy 2023-05-26 00:58:18 +01:00
311029574f fmt: fmt and clippy 2023-05-26 00:51:36 +01:00
1b5563301f feat: able to deal with password changes now 2023-05-26 00:45:07 +01:00
b1b533226a feat: the post request works 2023-05-26 00:38:50 +01:00
fe69e0cc9c feat: basic setup[ of the webserver 2023-05-26 00:02:12 +01:00
db3261df0d feat: can fix up the hash if required 2023-05-25 22:02:42 +01:00
73528cf892 initial commit 2023-05-25 17:01:50 +01:00