Граф коммитов

67 Коммитов

Автор SHA1 Сообщение Дата
Jared Murrell 250c61116c formatted code 2023-08-17 21:44:27 -04:00
Jared Murrell c1ef6375f2 removed unnecessary variable 2023-08-17 21:43:16 -04:00
Jared Murrell f62ad0780e formatted code 2023-08-17 21:37:35 -04:00
Jared Murrell edc0405f1a add the ability to leverage group prefix filters 2023-08-17 21:35:11 -04:00
Jared Murrell 263eeb92d0 fix formatting issues 2023-08-17 12:46:00 -04:00
Rob Anderson b42e2d47ad
comment out FLASK_APP env var to run once as a script 2023-08-14 09:46:42 -07:00
Chris McIntosh feb18237d7 formatting app 2023-05-18 15:41:04 -05:00
Pablo Gomez 1c88ed4524 Add the possibility of adding organizations to the syncmap file 2022-06-15 17:15:15 +02:00
Robert Schuh 98be3351ca Add TEST_MODE to removal 2022-06-07 12:51:57 -04:00
Robert Schuh 71e7baace6 Fix linting errors 2022-06-07 12:51:57 -04:00
Robert Schuh 637b905e08 Update app.py 2022-05-25 21:30:14 -04:00
Robert Schuh e1d5b276c8 Update app.py 2022-05-25 21:30:14 -04:00
Robert Schuh 4486cf015e fix linting and disable removal for testing 2022-05-25 21:30:14 -04:00
Robert Schuh 00d7a3b7b3 REMOVE_ORG_MEMBERS_WITHOUT_TEAM 2022-05-25 21:30:14 -04:00
Kristián Leško 43ffabf414 Add support for ignoring GitHub users
In some cases, a user may be added to
teams even without directory account.
Add support to keep the user in team.
2022-05-05 09:03:34 -04:00
Kristián Leško f45f307c5a Casefold both compared user attributes
Though user logins fetched from GitHub
were already casefolded, logins coming
from directory can still contain case.

Move the casefold to comparison method
to improve the chances of login match.
2022-05-03 08:10:23 -04:00
Kristián Leško e379801166 Expand logging for better debug experience
Log the important parts of the sync process
to make it easy to spot something is wrong.
2022-04-27 09:01:45 -04:00
Chris McIntosh 981c387c8e adding some debugging but ultimately everything was fine 2021-10-15 15:13:01 -04:00
Chris McIntosh e873f0e31e adds threadpooling for individual team syncing 2021-10-15 15:13:01 -04:00
Chris McIntosh a18ca46a12 Printing the stack trace and calling sync all teams as a thread 2021-10-13 20:47:32 -04:00
tombokombo 69288943eb
move sync
Signed-off-by: tombokombo <tombo@sysart.tech>
2021-09-23 23:40:22 +02:00
tombokombo 183e562be6
optional sync map only
Signed-off-by: tombokombo <tombo@sysart.tech>
2021-09-23 09:43:33 +02:00
tombokombo c52964229b
reconnect ldap each time
Signed-off-by: tombokombo <tombo@sysart.tech>
2021-09-02 12:36:33 +02:00
Chris McIntosh fb0824b3b9
Update app.py
Co-authored-by: Jared Murrell <primetheus@github.com>
2021-05-25 08:29:47 -05:00
Chris McIntosh 6826f69357
Update app.py
Co-authored-by: Jared Murrell <primetheus@github.com>
2021-05-25 08:29:35 -05:00
Chris McIntosh 4a06a13c75
Update app.py
Co-authored-by: Jared Murrell <primetheus@github.com>
2021-05-25 08:29:28 -05:00
Chris McIntosh 535f94b031
Adding the compare attribute to let teams compare on email address 2021-05-21 15:26:49 -05:00
Buhleva ad941d2eb8 Init new env variable in __init__ 2021-04-12 15:33:41 +03:00
Kalina Buhleva ee370b8115
Update app.py 2021-04-12 10:42:33 +03:00
Buhleva a0f2a76cf8 Reformat python black 2021-04-07 11:16:53 +03:00
Kalina Buhleva 8e50654a73
Merge branch 'main' into bugfix/connections 2021-04-07 11:11:52 +03:00
Buhleva 5c8f5536aa Reformat python black 2021-04-07 11:04:33 +03:00
Buhleva cebba83f65 Reformat python black 2021-04-07 11:04:01 +03:00
Buhleva 3df8d02c93 Reformat 2021-04-07 10:59:53 +03:00
Buhleva 8863d834f5 Reformat 2021-04-07 10:58:27 +03:00
Buhleva cde9f24332 Add user to organization if found
add_or_update_membership is adding user to org, but is expacting always
200 - catch 404 response, when user not login
2021-04-07 09:37:39 +03:00
Buhleva ea165a6791 Close connections opened on cron sync
Connection is pushed, but never poped from stack
2021-04-07 09:30:37 +03:00
primetheus 2657cb2c54 improved debug output 2021-03-24 23:45:04 -04:00
primetheus d80c78d958 updated exception handling 2021-03-24 23:36:24 -04:00
primetheus 510b2755d7 remove unused use_reload function 2021-03-24 23:20:16 -04:00
primetheus 5c45403079 fixed bug where multi-installation fails to sync 2021-03-24 23:17:56 -04:00
primetheus ff6fb79869 removed testing print statements 2021-03-22 11:55:50 -04:00
primetheus e38cbf9fde reformatted with Black 2021-03-22 11:54:04 -04:00
primetheus b82ce6eda9 fixed bugs with user lookups 2021-03-22 11:53:35 -04:00
primetheus ccb7fa9179 re-formatted with Black 2021-03-22 00:55:00 -04:00
primetheus 1296730433 AzureAD support 2021-03-22 00:13:27 -04:00
Jared Murrell cf4d1e1a9c updated app.py with mapping support 2020-07-01 20:19:12 -04:00
Jared Murrell 4a322c7f1a updated format, pydocs 2020-07-01 00:24:37 -04:00
Jared Murrell 4238680a65 enabled dry run 2020-06-30 23:51:35 -04:00
Jared Murrell b69566e307 added defaults to env references 2020-06-30 23:32:44 -04:00