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

413 Коммитов

Автор SHA1 Сообщение Дата
primetheus 5bced2b781
Merge pull request #210 from NotActuallyTerry/notactuallyterry/dockerfile-refactor
Tidy up dockerfile
2024-08-22 18:01:05 -04:00
primetheus 8ed7cbfa59
Merge branch 'main' into notactuallyterry/dockerfile-refactor 2024-08-22 17:50:01 -04:00
Ike Johnson-Woods 117b4058d3
Don't install build libraries
pip pulls down pre-compiled versions of all the required packages, so we don't need to build anything locally.
2024-08-14 20:01:59 +08:00
Ike Johnson-Woods c0d6bf0e02
Fix warnings from buildx 2024-08-14 19:30:50 +08:00
primetheus 313283720d
Merge pull request #209 from NotActuallyTerry/notactuallyterry/keycloak-integration
Add support for Keycloak
2024-06-16 21:01:10 -04:00
Ike Johnson-Woods 8a96ca51a2
Re-arrange pipenv setup steps
We should install pipenv before copying any files, as its outcome won't be changed by any file updates.
Additionally, copying only the pipfiles in then running pipenv install before copying the rest of the project helps prevent rebuilds.
2024-06-09 12:01:42 +08:00
Ike Johnson-Woods c7fd215c04
Move COPY command down the file
By moving the COPY command under the apk command, the package installation no longer runs on every change
2024-06-09 12:01:41 +08:00
Ike Johnson-Woods 11bb4207fa
Keycloak: Start page_start at 0
Turns out, you need to start your page at 0 to get all users!
How could this have happened!
2024-06-09 11:55:05 +08:00
Ike Johnson-Woods 22639ae89e
Fix bug (also fix commit history later) 2024-06-01 21:24:20 +08:00
Ike Johnson-Woods d7e3060e4d
Keycloak: fix default realm handling 2024-06-01 21:16:47 +08:00
Ike Johnson-Woods 13b6e7c7c8
Keycloak: clarify settings for realms 2024-05-28 21:01:59 +08:00
Ike Johnson-Woods a44359a702
Keycloak: raise Exception if group isn't found 2024-05-28 20:52:16 +08:00
Ike Johnson-Woods 4554b7af6f
Keycloak: do exact search for group 2024-05-27 18:49:56 +08:00
Ike Johnson-Woods 4f1ea2923f
Keycloak: define `members` as empty list
Defining members as None then adding group members to it appears to work in newer Python versions. However, this results in a TypeError in 3.9.
Changing this to define an empty list from the outset works better, and I probably should've done that to begin with
2024-05-25 11:46:22 +08:00
Ike Johnson-Woods 73ff5d162f
Add documentation for Keycloak 2024-05-20 13:46:57 +08:00
Ike Johnson-Woods 074220679f
Add Keycloak integration
This integration allows Github Team Sync to pull group data from Keycloak via its admin REST API.
Users can choose to do a username sync as normal, or they can link to an existing Github account by enabling KEYCLOAK_USE_GITHUB_IDP. This requires the user to add Github as an Identity provider on the user's realm.
2024-05-20 13:33:46 +08:00
Ike Johnson-Woods 41da7a8b50
Add python-keycloak to Pipfile 2024-05-19 22:49:42 +08:00
primetheus 5cfed28372
Merge pull request #196 from 3rd-party-integrations/dependabot/pip/pycryptodomex-3.19.1
Bump pycryptodomex from 3.19.0 to 3.19.1
2024-02-12 16:51:33 -05:00
primetheus d1139e22f4
Merge branch 'main' into dependabot/pip/pycryptodomex-3.19.1 2024-02-12 16:51:26 -05:00
primetheus 65c3a84303
Merge pull request #197 from 3rd-party-integrations/dependabot/pip/jinja2-3.1.3
Bump jinja2 from 3.1.2 to 3.1.3
2024-02-12 16:51:14 -05:00
primetheus 169bf80a28
Merge branch 'main' into dependabot/pip/pycryptodomex-3.19.1 2024-02-12 16:51:04 -05:00
primetheus fe357ec575
Merge branch 'main' into dependabot/pip/jinja2-3.1.3 2024-02-12 16:50:26 -05:00
primetheus 3d3dd27ce7
Merge pull request #198 from 3rd-party-integrations/dependabot/pip/aiohttp-3.9.2
Bump aiohttp from 3.8.6 to 3.9.2
2024-02-12 16:50:07 -05:00
dependabot[bot] bca828e3b4
Bump aiohttp from 3.8.6 to 3.9.2
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.6 to 3.9.2.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.6...v3.9.2)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-30 00:13:39 +00:00
dependabot[bot] 7f3a65bc63
Bump jinja2 from 3.1.2 to 3.1.3
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-11 19:51:56 +00:00
dependabot[bot] 0cc4b74c2f
Bump pycryptodomex from 3.19.0 to 3.19.1
Bumps [pycryptodomex](https://github.com/Legrandin/pycryptodome) from 3.19.0 to 3.19.1.
- [Release notes](https://github.com/Legrandin/pycryptodome/releases)
- [Changelog](https://github.com/Legrandin/pycryptodome/blob/master/Changelog.rst)
- [Commits](https://github.com/Legrandin/pycryptodome/compare/v3.19.0...v3.19.1)

---
updated-dependencies:
- dependency-name: pycryptodomex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-05 17:55:36 +00:00
primetheus 2ed3afc33f
Merge pull request #189 from 3rd-party-integrations/dependabot/pip/urllib3-1.26.18
Bump urllib3 from 1.26.16 to 1.26.18
2024-01-04 12:28:58 -05:00
primetheus 22c80ac53d
Merge branch 'main' into dependabot/pip/urllib3-1.26.18 2024-01-04 12:28:48 -05:00
primetheus 068fa925ec
Merge pull request #190 from roberts911/fix_custom_map 2023-12-01 12:16:01 -05:00
Robert Siurek a0a8c88a5b
Fix expecting minimum 2 at custom_map values when is 1 2023-10-19 11:49:34 +02:00
dependabot[bot] 19be3640c9
Bump urllib3 from 1.26.16 to 1.26.18
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.16 to 1.26.18.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.16...1.26.18)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 01:08:39 +00:00
primetheus 62f05a03f0
Merge pull request #184 from 3rd-party-integrations/dependabot/pip/cryptography-41.0.4
Bump cryptography from 41.0.3 to 41.0.4
2023-10-10 10:16:55 -04:00
primetheus 0516b6086a
Merge branch 'main' into dependabot/pip/cryptography-41.0.4 2023-10-10 10:16:43 -04:00
primetheus d975887e19
Merge pull request #185 from KonPaw/add-aad-normalization
Add AAD username normalization
2023-10-10 10:08:22 -04:00
primetheus 846a635252
Merge branch 'main' into add-aad-normalization 2023-10-10 09:50:34 -04:00
primetheus 9c37e64bb3
Merge pull request #187 from catscanner/healthcheck-patch-1
Add a health check endpoint
2023-10-10 09:50:17 -04:00
Cat from Catalyst cf361b95df
Fix for formatting 2023-10-02 10:07:43 +01:00
Cat from Catalyst e275f0a2d8
Add a health check endpoint
Some deployment systems require a health check
2023-10-02 09:59:03 +01:00
KonPaw 985bd99e81 Fix formatting 2023-09-28 19:59:23 +02:00
primetheus 68b6c23752
Merge pull request #186 from catscanner/patch-1
Update app.py
2023-09-28 12:03:04 -04:00
Cat from Catalyst f2ffb672aa
Update app.py
empty list has no .length() but len([]) is 0
2023-09-28 14:32:45 +01:00
KonPaw ee1739fc59 Add AAD username normalization 2023-09-26 06:46:55 +02:00
dependabot[bot] 937091452f
Bump cryptography from 41.0.3 to 41.0.4
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.3 to 41.0.4.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.3...41.0.4)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-21 21:26:21 +00:00
primetheus 8fcb9f163f
Merge pull request #180 from 3rd-party-integrations/primetheus/group-prefix
Add ability to filter based on group prefixes
2023-09-04 17:59:42 -04:00
primetheus c4bed627df
Merge branch 'main' into primetheus/group-prefix 2023-09-04 17:23:35 -04:00
primetheus f246471887
Merge pull request #179 from 3rd-party-integrations/primetheus/google-workspace
added support for Google Workspaces
2023-09-01 11:18:52 -04:00
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