Jens Langhammer
3c2b8e5ee1
all: prefix all UI related methods with ui_, switch to property and return dataclass
2020-02-20 13:51:41 +01:00
Jens Langhammer
c96571bdba
core: fix discord logo being hard to see
2020-02-20 13:50:05 +01:00
Jens Langhammer
2dfd93afb1
core: add more fields for metadata of applications
2020-02-20 13:45:22 +01:00
Jens Langhammer
f1d77d475c
ui: start patternfly v4 migration
2020-02-19 21:03:39 +01:00
Jens Langhammer
ac273aab75
core: raise PropertyMappingExpressionException when PropertyMapping returns Undefined
2020-02-19 16:18:31 +01:00
Jens Langhammer
44cd03654d
core: base set maximum-scale to 1
2020-02-19 15:11:25 +01:00
Jens Langhammer
38ad8e5fd3
policies/expression: fix pb_is_sso_flow
2020-02-19 11:01:20 +01:00
Jens Langhammer
9267d0c1dd
all: general maintenance, prepare for pyright
2020-02-18 22:12:51 +01:00
Jens Langhammer
4e8238603a
all: cleanup logging to be structured
2020-02-18 21:35:58 +01:00
Jens Langhammer
74ad1b6759
factors: strip port for domain check
2020-02-18 17:05:30 +01:00
Jens Langhammer
cd1af15c56
core: sort applications by name
2020-02-18 17:00:56 +01:00
Jens Langhammer
878169ea2e
core: only show icon on login page if defined
2020-02-18 17:00:26 +01:00
Jens Langhammer
e2631cec0e
factors/view: show concise error message when domain is mis-configured
2020-02-18 16:29:04 +01:00
Jens Langhammer
9f00843441
policies/expression: add Expression based policy
2020-02-18 15:12:50 +01:00
Jens Langhammer
f31cd7dec6
core: check PropertyMapping's expression syntax before save
2020-02-18 15:12:05 +01:00
Jens Langhammer
083e317028
lib: add helper method for 400 response with message
2020-02-18 10:13:53 +01:00
Jens Langhammer
813b2676de
providers/saml: better handle PropertyMapping evaluation errors
2020-02-18 10:12:42 +01:00
Jens Langhammer
3aa2f1e892
*: propertymapping template -> expression
2020-02-17 20:38:14 +01:00
Jens Langhammer
e6c47fee26
core: add template field to PropertyMapping
2020-02-17 17:47:51 +01:00
Jens Langhammer
2be026dd44
global: fix import order
2020-02-14 15:17:40 +01:00
Jens Langhammer
d9ecb7070d
core: add more prometheus metrics
2020-01-19 21:01:26 +01:00
Jens Langhammer
3bd1eadd51
all: implement black as code formatter
2019-12-31 12:51:16 +01:00
Jens Langhammer
8eb3f0f708
ci: upgrade pylint to latest version
...
core: also upgrade kombu as https://github.com/celery/kombu/issues/1101 is fixed now
2019-12-31 12:45:29 +01:00
Langhammer, Jens
e862b97005
all(major): add API for all objects
2019-10-28 17:55:36 +01:00
Langhammer, Jens
cffe09b02e
all(major): add most models to API
2019-10-28 17:40:57 +01:00
Langhammer, Jens
846a86fb62
fix lint
2019-10-28 14:44:46 +01:00
Langhammer, Jens
463c130351
core(major): add api for most simple objects
2019-10-28 14:27:43 +01:00
Langhammer, Jens
543e949a48
api(minor): start with api v2
2019-10-28 14:26:07 +01:00
Langhammer, Jens
feb80049aa
Merge branch 'master' into guardian
2019-10-25 22:18:13 +02:00
Langhammer, Jens
d4cb1a98c7
policy(major): simplify PolicyEngine API, add flag to ignore cache for debug purposes
2019-10-15 15:44:59 +02:00
Langhammer, Jens
261d57ad7b
Merge branch 'master' into guardian
...
# Conflicts:
# Pipfile
# Pipfile.lock
# passbook/admin/views/invitations.py
# passbook/admin/views/policy.py
# passbook/admin/views/providers.py
# passbook/admin/views/sources.py
# passbook/admin/views/users.py
2019-10-15 15:09:11 +02:00
Langhammer, Jens
4086252979
core(major): add integrated database backup
2019-10-15 13:52:33 +02:00
Langhammer, Jens
f1c4a62612
policy(major): fix error when policy.negate is enabled
2019-10-14 15:00:20 +02:00
Langhammer, Jens
358e39ced0
core(major): remove action field from policy
2019-10-14 13:57:38 +02:00
Langhammer, Jens
2ff1635696
core/sources(minor): refactor Source's property
2019-10-13 16:47:13 +02:00
Langhammer, Jens
9de950220f
core(minor): small css adjustment
2019-10-11 14:32:19 +02:00
Langhammer, Jens
ae19236366
factors/email(minor): fix default timeout being 0, which breaks task
2019-10-11 14:24:58 +02:00
Langhammer, Jens
f9babe7089
core(minor): fix timezone warning when cleaning nonces
2019-10-11 14:23:59 +02:00
Langhammer, Jens
fc69b6851d
core(minor): tags -> attributes, add attributes to user, add propertymappings to source
2019-10-11 12:47:06 +02:00
Langhammer, Jens
37111fd07b
core(minor): merge migrations
2019-10-10 17:41:22 +02:00
Langhammer, Jens
143a575369
Merge branch 'master' into guardian
...
# Conflicts:
# Pipfile
# Pipfile.lock
# passbook/core/models.py
2019-10-10 17:29:34 +02:00
Langhammer, Jens
3d8242be06
core(minor): add new, optional description field to nonce
2019-10-10 14:04:58 +02:00
Langhammer, Jens
3185a86b22
core(minor): add separate permission to reset user's password
2019-10-10 13:01:36 +02:00
Langhammer, Jens
a53f7a49ac
root(minor): start implementing guardian
2019-10-10 10:45:51 +02:00
Langhammer, Jens
ca3bcc565d
ui(minor): simplify top navigation
2019-10-10 10:02:48 +02:00
Jens Langhammer
c1dae0b599
sources/oauth(minor): fix wrong settings reference
2019-10-09 19:46:23 +02:00
Langhammer, Jens
17e6bc921b
core(minor): fix import order
2019-10-09 14:37:40 +02:00
Langhammer, Jens
2e15b24f0a
*(minor): switch has_user_settings to return Optional dataclass instead of tuple
2019-10-09 12:47:14 +02:00
Langhammer, Jens
088b9592cd
core(minor): remove unused code
2019-10-08 15:04:38 +02:00
Langhammer, Jens
d91a852eda
factors/email(minor): start rebuilding email integration as factor
2019-10-08 14:30:17 +02:00
Langhammer, Jens
171c5b9759
factors/password(minor): remove form from core
2019-10-08 14:23:02 +02:00
Langhammer, Jens
15fa7e9652
ui(minor): merge menus
2019-10-07 16:50:13 +02:00
Langhammer, Jens
f2acc154cd
*(minor): small refactor
2019-10-07 16:33:48 +02:00
Langhammer, Jens
d21ec6c9a5
root(minor): get rid of duplicate settings
2019-10-04 16:09:35 +02:00
Langhammer, Jens
e59c4ec1c7
root(minor): cleanup, remove unused log
2019-10-04 13:43:47 +02:00
Langhammer, Jens
1169db7530
docker(minor): move docker-related files into separate folder
2019-10-04 12:45:19 +02:00
Langhammer, Jens
1453008796
wsgi(minor): add proper request logging
2019-10-04 12:44:59 +02:00
Langhammer, Jens
2209b6d603
deploy(minor): fix robots.txt not being in the right path
...
fix path matching in docker compose
2019-10-04 12:01:38 +02:00
Langhammer, Jens
ccbc0384f9
deploy(minor): remove app-gw, add robots.txt
2019-10-04 11:57:41 +02:00
Langhammer, Jens
0b86231a36
*(minor): make better use of structured logging
2019-10-04 10:21:33 +02:00
Langhammer, Jens
c0df1f38b8
*(minor): remove __name__ param from get_logger
2019-10-04 10:08:53 +02:00
Jens Langhammer
64b75cab84
policy(minor): add data class for policy request
2019-10-03 10:45:31 +02:00
Jens Langhammer
f58bc61999
new release: 0.4.2-beta
2019-10-02 21:05:51 +00:00
Jens Langhammer
fb8ccc0283
lint(minor): fix import order
2019-10-02 21:05:37 +00:00
Jens Langhammer
c38012f147
new release: 0.4.1-beta
2019-10-02 21:04:16 +00:00
Jens Langhammer
de0b137b1e
policy(minor): improve error handling
2019-10-02 22:28:39 +02:00
Langhammer, Jens
8745ac7932
new release: 0.4.0-beta
2019-10-01 17:01:30 +02:00
Langhammer, Jens
9d640efc88
new release: 0.3.0-beta
2019-10-01 13:50:50 +02:00
Langhammer, Jens
7bff2734aa
lint(minor): fix all remaining pylint and prospector errors
2019-10-01 11:08:56 +02:00
Langhammer, Jens
f4499a5459
*(minor): stdlib logging to structlog
2019-10-01 10:24:10 +02:00
Langhammer, Jens
b3aede5bba
policy(minor): Move policy-related code to separate package
2019-10-01 10:17:39 +02:00
Langhammer, Jens
c2c5ff6912
config(minor): CONFIG.get -> CONFIG.y
2019-09-30 18:04:04 +02:00
Langhammer, Jens
06d15d8a27
new release: 0.2.8-beta
2019-07-22 17:18:07 +02:00
Langhammer, Jens
4cf6c36f34
new release: 0.2.7-beta
2019-07-22 15:54:34 +02:00
Langhammer, Jens
174472bb45
all: get rid of individual requirements file, remove version from every module
2019-07-22 15:20:17 +02:00
Jens Langhammer
10fd96981e
new release: 0.2.6-beta
2019-07-15 13:42:18 +00:00
Jens Langhammer
30a6d1f0b1
new release: 0.2.5-beta
2019-07-15 13:31:04 +00:00
Jens Langhammer
ff37ed095c
new release: 0.2.4-beta
2019-07-05 15:30:13 +02:00
Jens Langhammer
23d277eaf1
remove oidc from OAuth2, add dedicated OIDC provider
2019-07-05 15:21:48 +02:00
Jens Langhammer
bccf424c5e
new release: 0.2.3-beta
2019-07-04 16:25:33 +02:00
Jens Langhammer
ed25801e6e
core: revert to cherrypy for main webserver and use daphne only for app_gw
2019-07-04 15:23:05 +02:00
Jens Langhammer
804ae15c2e
new release: 0.2.2-beta
2019-06-25 18:50:41 +02:00
Jens Langhammer
a4f83bd28a
new release: 0.2.1-beta
2019-06-25 18:25:27 +02:00
Jens Langhammer
2099bbb713
new release: 0.2.0-beta
2019-06-25 18:16:14 +02:00
Jens Langhammer
a798412e17
separate passbook.core into passbook.root and passbook.core
...
Move Main Django Project into passbook.root while passbook.core holds core functionality.
passbook.root contains main settings, ASGI & WSGI, celery and URLs.
2019-06-25 18:00:54 +02:00
Jens Langhammer
98c844f3d6
improve OIDC compatibility
2019-06-25 17:57:25 +02:00
Jens Langhammer
2645bd0132
new release: 0.1.38-beta
2019-04-29 23:26:18 +02:00
Jens Langhammer
5d1a3043b2
create SSOLoginPolicy, which allows factors to be applied when user comes from SSO login
...
implement SESSIION_IS_SSO_LOGIN for OAuth Client and core MFA
2019-04-29 23:19:37 +02:00
Jens Langhammer
b46958d1f9
send session to task
2019-04-29 23:18:51 +02:00
Jens Langhammer
5daa8d5fe3
fix missing/wrong widget inputs
2019-04-29 23:16:04 +02:00
Jens Langhammer
1fac964b8b
increase application close timeout
2019-04-29 22:19:26 +02:00
Jens Langhammer
66fe10299e
new release: 0.1.37-beta
2019-04-29 21:43:18 +02:00
Jens Langhammer
4004579905
remove nexus_upload command
2019-04-29 21:39:16 +02:00
Jens Langhammer
9fe9e48a5c
new release: 0.1.36-beta
2019-04-29 20:57:57 +02:00
Jens Langhammer
595a6c7fe6
remove guardian completely
2019-04-29 20:57:54 +02:00
Jens Langhammer
11b5860d4a
new release: 0.1.35-beta
2019-04-29 20:47:32 +02:00
Jens Langhammer
e0d597eeac
show cache on admin overview, add modal to clear cache, re-add logging to policy
2019-04-29 20:37:44 +02:00
Jens Langhammer
f576985cc9
remove django guardian and check application access via PolicyEngine
2019-04-29 20:07:18 +02:00
Jens Langhammer
ec0a6e7854
new release: 0.1.34-beta
2019-04-29 19:22:20 +02:00
Jens Langhammer
6904608e6f
fix clicking on administration always loading admin interface
2019-04-29 19:22:14 +02:00
Jens Langhammer
cb3732cb2b
filter out connection errors for sentry
2019-04-29 19:16:49 +02:00
Jens Langhammer
53918462b6
new release: 0.1.33-beta
2019-04-18 10:28:12 +02:00
Jens Langhammer
f2ce56063b
bump version: 0.1.31-beta -> 0.1.32-beta
2019-04-17 14:27:41 +02:00
Jens Langhammer
2fa57d064e
bump version: 0.1.30-beta -> 0.1.31-beta
2019-04-13 17:58:09 +02:00
Jens Langhammer
e7129d18f6
fix inconsistent migrations
2019-04-13 17:52:11 +02:00
Jens Langhammer
d2bf9f81d6
remove raven middleware
2019-04-13 17:46:51 +02:00
Jens Langhammer
30acf0660b
Merge branch 'master' into 37-guardian
2019-04-13 17:43:02 +02:00
Jens Langhammer
dda41af5c8
remove logging to increase speed, add more caching to policy and rewriter
2019-04-13 17:22:03 +02:00
Jens Langhammer
9b5b03647b
move actual proxying logic to separate class
2019-04-13 16:05:11 +02:00
Jens Langhammer
940b3eb943
move logging to separate thread
2019-04-13 16:04:48 +02:00
Jens Langhammer
16eb629b71
only enable sentry when not DEBUG
2019-04-11 15:30:42 +02:00
Jens Langhammer
146edb45d4
bump version: 0.1.29-beta -> 0.1.30-beta
2019-04-11 14:22:34 +02:00
Jens Langhammer
045a802365
don't use context manager in web command
2019-04-11 14:22:32 +02:00
Jens Langhammer
c90d8ddcff
bump version: 0.1.28-beta -> 0.1.29-beta
2019-04-11 14:03:08 +02:00
Jens Langhammer
a3ef26b7ad
Run collectstatic before coverage, use autoreload on celery worker
2019-04-11 13:54:11 +02:00
Jens Langhammer
19cd1624c1
replace cherrypy with daphne
2019-04-11 13:43:49 +02:00
Jens Langhammer
366ef352c6
switch to whitenoise for static files
2019-04-11 13:43:08 +02:00
Jens Langhammer
a1a5223b58
bump version: 0.1.27-beta -> 0.1.28-beta
2019-04-11 10:48:31 +02:00
Jens Langhammer
b369eb28f1
set default log level to warn, fix clean_nonces not working
2019-04-11 10:43:13 +02:00
Jens Langhammer
11630c9a74
switch kubernetes deployment to daphne server
2019-04-10 22:38:25 +02:00
Jens Langhammer
15aaeda475
remove unused import
2019-04-10 18:47:21 +02:00
Jens Langhammer
8536ef9e23
Add guardian for Application permissions
2019-04-10 18:46:33 +02:00
Jens Langhammer
35b6bb6b3f
fix failing CI
2019-04-09 17:26:53 +02:00
Jens Langhammer
eaa573c715
fully remove raven and switch WSGI and logging to sentry_sdk
2019-04-05 16:11:53 +02:00
Jens Langhammer
660972e303
add ability to have non-expiring nonces, clean up expired nonces
2019-04-04 21:49:10 +02:00
Jens Langhammer
a21012bf0c
switch from raven to sentry_sdk
2019-04-04 21:48:50 +02:00
Jens Langhammer
80049413f0
bump version: 0.1.26-beta -> 0.1.27-beta
2019-03-22 14:51:13 +01:00
Jens Langhammer
c679f0a67c
bump version: 0.1.25-beta -> 0.1.26-beta
2019-03-22 12:48:00 +01:00
Jens Langhammer
4d6bb60134
add custom template views
2019-03-22 12:16:30 +01:00
Jens Langhammer
9b0240dc26
bump version: 0.1.24-beta -> 0.1.25-beta
2019-03-21 16:50:00 +01:00
Jens Langhammer
6d916029bb
implement actual Rewriting logic
2019-03-21 16:22:07 +01:00
Jens Langhammer
801b8a1e59
prevent ZeroDivisionError
2019-03-21 15:05:04 +01:00
Jens Langhammer
3a52059793
cleanup post-migration mess
2019-03-21 15:02:33 +01:00
Jens Langhammer
10b7d99b37
Merge branch 'master' into 30-application-security-gateway
...
# Conflicts:
# passbook/core/policies.py
# passbook/core/settings.py
2019-03-21 14:58:10 +01:00
Jens Langhammer
6be8d0cbb2
Better handle policy timeouts
2019-03-21 14:53:57 +01:00
Jens Langhammer
25a5d8f5da
Don't use LoginRequired for PermissionDenied View
2019-03-21 14:53:38 +01:00
Jens Langhammer
883d439544
add timeout field to policy to prevent stuck policies
2019-03-21 14:48:51 +01:00
Jens Langhammer
29913773a7
invalidate cache when policy is saved
2019-03-21 11:29:11 +01:00
Jens Langhammer
4645d8353f
utilise cache in PolicyEngine
2019-03-21 11:08:32 +01:00
Jens Langhammer
260c5555fa
add redis dependency back in for caching
2019-03-21 11:08:08 +01:00
Jens Langhammer
6f7b917c38
bump version: 0.1.23-beta -> 0.1.24-beta
2019-03-20 23:00:33 +01:00
Jens Langhammer
ae3d3d0295
fix TypeError: can only concatenate list (not "str") to list
2019-03-20 22:50:09 +01:00
Jens Langhammer
c23ceacd0b
initial implementation of reverse proxy, using django-revproxy from within a middleware
...
add new config entry "primary_domain" which is used to set the cookie domain
2019-03-20 22:42:47 +01:00
Jens Langhammer
9e46c8bfec
bump version: 0.1.22-beta -> 0.1.23-beta
2019-03-18 20:54:31 +01:00
Jens Langhammer
bfa58be721
bump version: 0.1.21-beta -> 0.1.22-beta
2019-03-14 21:22:15 +01:00
Jens Langhammer
5c75339946
point to correct icons
2019-03-14 21:18:13 +01:00
Jens Langhammer
4774d9a46c
fix delete form not working
2019-03-14 21:17:41 +01:00
Jens Langhammer
dbe16ba4fd
fix layout when on mobile viewport and scrolling
2019-03-14 21:17:28 +01:00
Jens Langhammer
6972cf00a0
move icons to single folder, cleanup
2019-03-14 21:17:07 +01:00
Jens Langhammer
89dbdd9585
bump version: 0.1.20-beta -> 0.1.21-beta
2019-03-14 18:08:02 +01:00