a0f607b5ac 
					 
					
						
						
							
							web/flows: bottom-align about text on flows page ( #7051 )  
						
						... 
						
						
						
						* web/flows: bottom-align about text on flows page
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix a bunch of typos
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io > 
						
						
					 
					
						2023-10-03 14:10:10 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fd561ac802 
					 
					
						
						
							
							root: connect to backend via socket ( #6720 )  
						
						... 
						
						
						
						* root: connect to gunicorn via socket
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* put socket in temp folder
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* use non-socket connection for debug
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* don't hardcode local url
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix dev_server missing websocket
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* dedupe logging config between gunicorn and main app
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* slight refactor for proxy errors
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io > 
						
						
					 
					
						2023-09-02 17:58:37 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						561e6956fe 
					 
					
						
						
							
							root: add get_int to config loader instead of casting to int everywhere ( #6436 )  
						
						... 
						
						
						
						* root: add get_int to config loader instead of casting to int everywhere
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* improve error handling, add test
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io > 
						
						
					 
					
						2023-07-31 19:34:59 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2f469d2709 
					 
					
						
						
							
							root: partial Live-updating config ( #5959 )  
						
						... 
						
						
						
						* stages/email: directly use email credentials from config
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* use custom database backend that supports dynamic credentials
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix tests
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add crude config reloader
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* make method names for CONFIG clearer
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* replace config.set with environ
Not sure if this is the cleanest way, but it persists through a config reload
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* re-add set for @patch
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* even more crudeness
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* clean up some old stuff?
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* somewhat rewrite config loader to keep track of a source of an attribute so we can refresh it
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* cleanup old things
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix flow e2e
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io > 
						
						
					 
					
						2023-07-19 23:13:22 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a987846c76 
					 
					
						
						
							
							root: celery refactor ( #6095 )  
						
						... 
						
						
						
						* root: celery refactor
cleanup deprecation messages by configuring celery with a single object
run celery as django management command
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* improve debug experience
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix lint
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add debugpy to dev dependencies
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix task_always_eager
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io > 
						
						
					 
					
						2023-06-28 16:44:50 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5b0cc3672b 
					 
					
						
						
							
							root: add method to get install_id without django being loaded ( #5755 )  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens@goauthentik.io > 
						
						
					 
					
						2023-05-25 18:52:21 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0d0bb1a559 
					 
					
						
						
							
							root: add install ID ( #5717 )  
						
						... 
						
						
						
						* root: add install ID
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix tests
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add fallback when no migrations table exists
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix lint
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io > 
						
						
					 
					
						2023-05-22 17:24:12 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						dfa80543b5 
					 
					
						
						
							
							root: add ruff linter ( #5240 )  
						
						... 
						
						
						
						* root: add ruff linter
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* actually add ruff
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix lint
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io > 
						
						
					 
					
						2023-04-18 13:28:19 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9568f4dbd6 
					 
					
						
						
							
							root: improve code style ( #4436 )  
						
						... 
						
						
						
						* cleanup pylint comments
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* remove more
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix url name
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* *: use ExtractHour instead of ExtractDay
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
Signed-off-by: Jens Langhammer <jens@goauthentik.io > 
						
						
					 
					
						2023-01-15 17:02:31 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6ca1654129 
					 
					
						
						
							
							lifecycle: don't set user/group in gunicorn  
						
						... 
						
						
						
						closes  #4098  closes  #3236 
the user and group are inherited from the parent process so this isnt required
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
					
						2022-12-02 12:42:55 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b16a3d5697 
					 
					
						
						
							
							internal: use config system for workers/threads, document the settings ( #3626 )  
						
						... 
						
						
						
						use config system for workers/threads, document the settings
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org >
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2022-09-21 09:59:03 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3eb466ff4b 
					 
					
						
						
							
							lifecycle: cleanup prometheus ( #2972 )  
						
						... 
						
						
						
						* remove high cardinality labels
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org >
* retry worker number for prometheus multiprocess id
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org >
* revert to pid, use subdirectories
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org >
* cleanup more
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org >
* use worker id based off of https://github.com/benoitc/gunicorn/issues/1352 
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org >
* fix missing app label
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org >
* tests/e2e: remove static names
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org >
* fix
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2022-05-29 21:45:25 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						15d8988569 
					 
					
						
						
							
							Revert "lifecycle: use worker nr instead of process id to keep number of prometheus database files low"  
						
						... 
						
						
						
						This reverts commit 254249e38bjens.langhammer@beryju.org > 
						
						
					 
					
						2022-04-29 18:14:04 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						254249e38b 
					 
					
						
						
							
							lifecycle: use worker nr instead of process id to keep number of prometheus database files low  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org >
#2784  
						
						
					 
					
						2022-04-28 23:09:39 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0232c4e162 
					 
					
						
						
							
							lifecycle: send analytics in gunicorn config to decrease outgoing requests when workers get restarted  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2022-02-01 15:01:43 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f679250edd 
					 
					
						
						
							
							lifecycle: remove gunicorn reload option  
						
						... 
						
						
						
						should help with #2159  
						
						
					 
					
						2022-01-31 12:06:08 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0d47654651 
					 
					
						
						
							
							root: add max-requests for gunicorn and max tasks for celery  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2022-01-26 10:04:58 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						111fbf119b 
					 
					
						
						
							
							*: refactor prometheus gauges to directly updating metrics view  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2022-01-16 13:57:07 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						552ddda909 
					 
					
						
						
							
							lifecycle: use custom worker class  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2021-12-11 19:55:09 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						39acb044fb 
					 
					
						
						
							
							lifecycle: allow custom worker count in k8s  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2021-11-29 14:27:55 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cf5e70c759 
					 
					
						
						
							
							lifecycle: revert to non-h11 worker  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2021-11-04 13:16:10 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						98907ec889 
					 
					
						
						
							
							root: remove structlog.processors.format_exc_info for new structlog version  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2021-10-13 09:42:49 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9778050dda 
					 
					
						
						
							
							lifecycle: switch to h11 uvicorn worker for now  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2021-10-04 18:03:08 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8e59b06611 
					 
					
						
						
							
							lifecycle: migrate to gunicorn instead of runserver  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2021-09-13 17:54:23 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						229468175a 
					 
					
						
						
							
							lifecycle: fix error in gunicorn config  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2021-08-09 01:07:50 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4cd3466e56 
					 
					
						
						
							
							root: ignore known warnings  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2021-08-09 00:27:29 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						919946609d 
					 
					
						
						
							
							web/elements: add separate flag for chips when checkboxes are enabled  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2021-08-05 10:16:13 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						13a8ad3126 
					 
					
						
						
							
							lifecycle: decrease default worker count on compose  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2021-08-05 09:37:14 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8a666535a8 
					 
					
						
						
							
							website/docs: update container explanation  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2021-05-04 17:49:21 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5627848fad 
					 
					
						
						
							
							lifecycle: allow adjustment of worker cores  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2021-04-11 13:20:27 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4054e6da8c 
					 
					
						
						
							
							helm: don't automount Service token when integration is not enabled, improve k8s detection  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2021-04-07 16:16:17 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bfe8bb5e61 
					 
					
						
						
							
							lifecycle: fix typo causing single process in docker-compose  
						
						
						
						
					 
					
						2021-01-27 10:13:23 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2caa1e7650 
					 
					
						
						
							
							build(deps-dev): bump bandit from 1.6.2 to 1.6.3 ( #371 )  
						
						... 
						
						
						
						* build(deps-dev): bump bandit from 1.6.2 to 1.6.3
Bumps [bandit](https://github.com/PyCQA/bandit ) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/PyCQA/bandit/releases )
- [Commits](https://github.com/PyCQA/bandit/compare/1.6.2...1.6.3 )
Signed-off-by: dependabot[bot] <support@github.com >
* root: update for new bandit version
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2020-12-07 11:21:07 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1cfe1aff13 
					 
					
						
						
							
							wip: rename to authentik ( #361 )  
						
						... 
						
						
						
						* root: initial rename
* web: rename custom element prefix
* root: rename external functions with pb_ prefix
* root: fix formatting
* root: replace domain with goauthentik.io
* proxy: update path
* root: rename remaining prefixes
* flows: rename file extension
* root: pbadmin -> akadmin
* docs: fix image filenames
* lifecycle: ignore migration files
* ci: copy default config from current source before loading last tagged
* *: new sentry dsn
* tests: fix missing python3.9-dev package
* root: add additional migrations for service accounts created by outposts
* core: mark system-created service accounts with attribute
* policies/expression: fix pb_ replacement not working
* web: fix last linting errors, add lit-analyse
* policies/expressions: fix lint errors
* web: fix sidebar display on screens where not all items fit
* proxy: attempt to fix proxy pipeline
* proxy: use go env GOPATH to get gopath
* lib: fix user_default naming inconsistency
* docs: add upgrade docs
* docs: update screenshots to use authentik
* admin: fix create button on empty-state of outpost
* web: fix modal submit not refreshing SiteShell and Table
* web: fix height of app-card and height of generic icon
* web: fix rendering of subtext
* admin: fix version check error not being caught
* web: fix worker count not being shown
* docs: update screenshots
* root: new icon
* web: fix lint error
* admin: fix linting error
* root: migrate coverage config to pyproject 
						
						
					 
					
						2020-12-05 22:08:42 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						287cb72d6f 
					 
					
						
						
							
							root: fix websockets not working correctly  
						
						
						
						
					 
					
						2020-11-11 14:51:26 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b775f2788c 
					 
					
						
						
							
							build(deps): bump channels from 2.4.0 to 3.0.0 ( #309 )  
						
						... 
						
						
						
						* build(deps): bump channels from 2.4.0 to 3.0.0
Bumps [channels](https://github.com/django/channels ) from 2.4.0 to 3.0.0.
- [Release notes](https://github.com/django/channels/releases )
- [Changelog](https://github.com/django/channels/blob/master/CHANGELOG.txt )
- [Commits](https://github.com/django/channels/compare/2.4.0...3.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
* root: update for channels 3
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2020-11-02 10:26:26 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						97ce143efe 
					 
					
						
						
							
							lifecycle: adjust worker count  
						
						
						
						
					 
					
						2020-09-17 09:35:08 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						23cccebb96 
					 
					
						
						
							
							pytest ( #209 )  
						
						
						
						
					 
					
						2020-09-11 23:21:11 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						430905295d 
					 
					
						
						
							
							root: automate system migrations, move docker to lifecycle folder  
						
						
						
						
					 
					
						2020-09-10 00:18:39 +02:00