Commit Graph

553 Commits

Author SHA1 Message Date
Andrew Wang 8252afca16 adjustments part 1 2021-08-26 02:02:47 -04:00
Andrew Wang dc4d60fba2 testing
continuous-integration/drone/pr Build is failing Details
2021-08-25 21:49:51 -04:00
Andrew Wang 5893e561cd merge upstream 2021-08-25 14:34:56 -04:00
Andrew Wang 5f74302b17 fix
continuous-integration/drone/push Build is failing Details
2021-08-25 01:46:08 -04:00
Andrew Wang 90818e5b1f fix
continuous-integration/drone/push Build is failing Details
2021-08-25 01:43:13 -04:00
Andrew Wang 2b41423a88 add delete_db for testing
continuous-integration/drone/push Build is failing Details
2021-08-24 22:31:50 -04:00
Max Erenberg 51737585bd add updateprograms CLI
continuous-integration/drone/push Build is passing Details
2021-08-24 19:37:05 +00:00
Andrew Wang af87d6a7e6 fixes to logic
continuous-integration/drone/push Build is failing Details
2021-08-24 02:14:28 -04:00
Max Erenberg 831ebf17aa add groups CLI
continuous-integration/drone/push Build is passing Details
2021-08-24 05:48:55 +00:00
Max Erenberg 45192d75bf update social media links in welcome message
continuous-integration/drone/push Build is passing Details
2021-08-23 23:40:52 +00:00
Max Erenberg e851c77e74 include password in welcome email 2021-08-23 23:36:49 +00:00
Max Erenberg 08a3faaefc add unit tests for members CLI
continuous-integration/drone/push Build is passing Details
2021-08-23 23:01:24 +00:00
Max Erenberg 7a8751fd8f Merge branch 'v1' of csclub.uwaterloo.ca:public/pyceo into v1 2021-08-23 13:59:24 +00:00
Max Erenberg 6917247fdd add members CLI 2021-08-23 13:59:01 +00:00
Rio Liu ad937eebeb Positions API (#7)
continuous-integration/drone/push Build is passing Details
Co-authored-by: Max Erenberg <merenber@csclub.uwaterloo.ca>
Co-authored-by: Rio Liu <r345liu@csclub.uwaterloo.ca>
Co-authored-by: Rio6 <rio.liu@r26.me>
Reviewed-on: #7
Co-authored-by: Rio <r345liu@localhost>
Co-committed-by: Rio <r345liu@localhost>
2021-08-22 17:57:36 -04:00
Max Erenberg 0974a7471b ignore UserAlreadySubscribedError
continuous-integration/drone/push Build is passing Details
2021-08-22 06:06:11 +00:00
Max Erenberg 0783588323 announce new user to ceo mailing list
continuous-integration/drone/push Build is passing Details
2021-08-22 05:44:41 +00:00
Max Erenberg 7142659a8c force delete Kerberos test principals
continuous-integration/drone/push Build is passing Details
2021-08-22 04:36:19 +00:00
Max Erenberg 862dfc01b2 add trigger branches to drone.yml
continuous-integration/drone/push Build is passing Details
2021-08-21 07:20:40 +00:00
Max Erenberg bb82945b41 remove hostname from /etc/hosts in auth1
continuous-integration/drone/push Build is passing Details
2021-08-21 07:13:36 +00:00
Max Erenberg 38f354c106 add sasl-host to slapd.conf
continuous-integration/drone/push Build is failing Details
2021-08-21 06:54:59 +00:00
Max Erenberg 95d083fca1 use our own SPNEGO implementation
continuous-integration/drone/push Build is failing Details
2021-08-21 06:27:33 +00:00
Andrew Wang 10f7aab3ed cleaning up
continuous-integration/drone/push Build is failing Details
2021-08-21 02:00:26 -04:00
Andrew Wang bb7539dcb6 wip: db api endpoints
continuous-integration/drone/push Build is failing Details
2021-08-21 00:34:10 -04:00
Max Erenberg 89e6c541ab add hostname check
continuous-integration/drone/push Build is failing Details
2021-08-20 18:46:36 +00:00
Max Erenberg c39eff6ca7 let service container sleep
continuous-integration/drone/push Build is failing Details
2021-08-20 18:39:31 +00:00
Max Erenberg e4970bf008 remove search option from resolv.conf
continuous-integration/drone/push Build is failing Details
2021-08-20 18:34:29 +00:00
Max Erenberg d11c6af2ec add tests to drone.yml
continuous-integration/drone/push Build is failing Details
2021-08-20 18:17:00 +00:00
Max Erenberg 4783621d22 update CI badge
continuous-integration/drone/push Build is passing Details
2021-08-20 02:29:25 +00:00
Max Erenberg 14273dcbe6 add drone.yml
continuous-integration/drone/push Build is passing Details
2021-08-20 02:24:55 +00:00
Max Erenberg 14c058eb67 use socket.gethostname() in krb5 test 2021-08-20 01:57:53 +00:00
Max Erenberg dc09210d23 add documentation about architecture 2021-08-20 01:41:50 +00:00
Max Erenberg 583fcded9b add test for API request without KRB-CRED 2021-08-19 23:53:13 +00:00
Max Erenberg 46fd926acc add test for RemoteMailmanService 2021-08-19 22:08:48 +00:00
Max Erenberg 490abb302c add simple authz tests 2021-08-19 20:33:44 +00:00
Max Erenberg 26fd8f6f68 remove duplicate function definition 2021-08-19 17:22:34 +00:00
Max Erenberg 2a286579cb Merge branch 'v1' into uwldap_tests 2021-08-19 17:20:47 +00:00
Max Erenberg ecf089c261 Implement Groups API (#6)
This PR implements the /api/groups endpoints.

Closes #2.

Reviewed-on: #6
Co-authored-by: Max Erenberg <merenber@localhost>
Co-committed-by: Max Erenberg <merenber@localhost>
2021-08-19 12:58:59 -04:00
Max Erenberg cc0bc4a638 add tests for Mailman API 2021-08-19 16:14:41 +00:00
Max Erenberg 2273ffa241 add test for krb5 2021-08-19 06:21:30 +00:00
Max Erenberg 12a83ce4c0 remove create_sync_response 2021-08-19 05:11:22 +00:00
Max Erenberg 28c55b2fed add tests for UWLDAP API 2021-08-19 04:56:25 +00:00
Max Erenberg 448692018a add test for group.to_dict() with one member 2021-08-19 00:23:55 +00:00
Max Erenberg 6bf4d75a60 log error message instead of traceback 2021-08-19 00:19:57 +00:00
Max Erenberg 5bda74eaf9 fix test_group_to_dict 2021-08-19 00:05:44 +00:00
Max Erenberg df5d9e5f14 Merge branch 'v1' into groups_api 2021-08-19 00:02:09 +00:00
Max Erenberg 57ab275634 implement /api/groups endpoints 2021-08-18 23:48:17 +00:00
Max Erenberg e370035b25 add cffi as dev dependency 2021-08-18 19:53:30 +00:00
Max Erenberg d78d31eec0 add Kerberos delegation (#5)
This PR adds unconstrained Kerberos delegation to the API.

The client obtains a forwarded TGT and sends it, base64-encoded, in an HTTP header named 'X-KRB5-CRED'. The server reads this credential, creates a new credentials cache for the user, and stores the credential into the new cache. The server can now authenticate to other services (e.g. LDAP) over GSSAPI using the forwarded client's credentials.

Reviewed-on: #5
Co-authored-by: Max Erenberg <merenber@localhost>
Co-committed-by: Max Erenberg <merenber@localhost>
2021-08-18 15:39:14 -04:00
Max Erenberg dd59bea918 add Kerberos delegation 2021-08-18 01:59:24 +00:00