Jens Langhammer
f636595230
static: add fetch-fill-slot to load data for admin interface
2020-10-04 13:09:03 +02:00
Jens Langhammer
d506e8f1a3
outposts: implement docker controller
2020-10-04 00:41:12 +02:00
Jens Langhammer
d3a96ac7aa
outposts: load token async
2020-10-04 00:29:18 +02:00
Jens Langhammer
189b0ec324
admin: expose info as API
2020-10-04 00:28:58 +02:00
Jens Langhammer
c5a6b4961f
core: Add Token identifier as sudo-primary key
2020-10-04 00:28:43 +02:00
Jens Langhammer
b590589324
root: add base template for api
2020-10-03 23:20:33 +02:00
Jens L
9fb1ac98ec
Backup/Restore ( #256 )
...
* lifecycle: move s3 backup settings to s3 name
* providers/oauth2: fix for alerting for missing certificatekeypair
* lifecycle: add backup commands
see #252
* lifecycle: install postgres-client for 11 and 12
* root: migrate to DBBACKUP_STORAGE_OPTIONS, add region setting
* lifecycle: auto-clean last backups
* helm: add s3 region parameter, add cronjob for backups
* docs: add backup docs
* root: remove backup scheduled task for now
2020-10-03 20:36:36 +02:00
Jens Langhammer
195d8fe71f
core: move name field to base Provider
2020-10-03 20:05:16 +02:00
Jens Langhammer
b0602a3215
admin: implement search for all views
...
see #253
2020-10-03 19:32:01 +02:00
Jens Langhammer
0150a5c58c
admin: add SearchListMixin mixin and partial template
2020-10-03 19:05:20 +02:00
Jens Langhammer
b35d27c83e
admin: fix pagination template, ensure template is placed correctly in footer
2020-10-03 17:50:17 +02:00
Jens Langhammer
801bb90806
root: lock pyright version
2020-10-03 15:34:53 +02:00
Jens Langhammer
55a83abb26
*: remove deprecated providing_args
2020-10-02 11:18:14 +02:00
Jens Langhammer
247015e955
stages/otp_*: Remove duplicate validation for OTP Codes
2020-10-02 10:30:43 +02:00
Jens Langhammer
e9a1a18ba3
providers/oauth2: ensure that when rs256 is selected, a certificate key pair is selected
2020-10-01 20:01:45 +02:00
Jens Langhammer
6cd9edd38a
providers/oauth2: add missing token_validity field to Forms and API
2020-10-01 20:01:28 +02:00
Jens Langhammer
9b5f9167cd
root: always enable dbbackup
2020-10-01 13:41:40 +02:00
Jens Langhammer
94eaeb5a60
new release: 0.10.9-stable
2020-10-01 10:24:16 +02:00
Jens Langhammer
a5420fe019
providers/saml: lowercase acs URLs before checking
...
closes #249
2020-10-01 10:04:20 +02:00
Jens Langhammer
2e1849a732
providers/oauth2: lowercase all uris before checking redirect URI
...
see #249
2020-10-01 10:00:44 +02:00
Jens Langhammer
8f585eca70
stages/identification: replace buggy FilteredSelectMultiple with ArrayFieldSelectMultiple
2020-09-30 23:58:01 +02:00
Jens Langhammer
516455f482
stages/identification: add case_insensitive_matching
...
closes #248
2020-09-30 23:48:53 +02:00
Jens Langhammer
525d271535
*: apply new black styling
2020-09-30 19:34:22 +02:00
Jens Langhammer
c3c525a3f0
lib: re-add Websockets error
2020-09-30 15:55:59 +02:00
Jens Langhammer
c0b334eb02
lib: ignore ChannelFull error
2020-09-30 15:40:54 +02:00
Jens Langhammer
03647fa6af
new release: 0.10.8-stable
2020-09-30 14:59:02 +02:00
dependabot[bot]
a063613f4c
build(deps): bump uvicorn from 0.11.8 to 0.12.0 ( #241 )
...
* build(deps): bump uvicorn from 0.11.8 to 0.12.0
Bumps [uvicorn](https://github.com/encode/uvicorn ) from 0.11.8 to 0.12.0.
- [Release notes](https://github.com/encode/uvicorn/releases )
- [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md )
- [Commits](https://github.com/encode/uvicorn/compare/0.11.8...0.12.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* lib: remove websockets ignored exception
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jens Langhammer <jens.langhammer@beryju.org>
2020-09-30 11:49:59 +02:00
Jens Langhammer
59dbc15be7
core: make group_attributes include user's attributes
2020-09-30 11:39:25 +02:00
Jens Langhammer
9d5dd896f3
providers/proxy: start implementing basic_auth_enabled
...
see #244
2020-09-30 11:15:22 +02:00
Jens Langhammer
02f5f12089
providers/proxy: use external_url for launch URL, hide setup URLs
2020-09-30 11:14:50 +02:00
Jens Langhammer
90ea6dba90
providers/proxy: add pb_proxy scope for proxy that sends user_attributes
2020-09-30 11:13:59 +02:00
Jens Langhammer
739c66da1c
crypto: add tests
2020-09-30 09:12:37 +02:00
dependabot[bot]
e8c7cce68f
build(deps): bump @fortawesome/fontawesome-free ( #247 )
...
Bumps [@fortawesome/fontawesome-free](https://github.com/FortAwesome/Font-Awesome ) from 5.14.0 to 5.15.0.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/5.14.0...5.15.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-30 08:57:47 +02:00
Jens Langhammer
760352202e
admin: fix get_form_class
2020-09-29 11:42:34 +02:00
Jens Langhammer
9724ded194
policies: change .form() and .serializer() to properties, add tests
2020-09-29 10:32:58 +02:00
Jens Langhammer
5da4ff4ff1
e2e: further cleanup tests, directly navigate to user-settings instead of click
2020-09-29 00:27:58 +02:00
Jens Langhammer
e54b98a80e
e2e: cleanup tests, remove XPATH selectors
2020-09-28 18:19:46 +02:00
Jens Langhammer
bd78087582
root: fix RemovedInDjango40Warning being triggered
2020-09-28 11:47:50 +02:00
Jens Langhammer
8f4e954160
providers/oauth2: rewrite introspection endpoint to allow basic or bearer auth
2020-09-28 11:42:27 +02:00
Jens Langhammer
b6d7847eae
providers/oauth2: fix token introspection view
2020-09-28 09:04:31 +02:00
Jens Langhammer
ad0d339794
flows: add benchmark command
2020-09-27 21:21:30 +02:00
Jens Langhammer
d74fa4abbf
admin: fix categories in sidebar being collapsible
2020-09-27 18:40:50 +02:00
Jens Langhammer
b24938fc6b
stages/consent: fix formatting
2020-09-26 21:06:01 +02:00
Jens Langhammer
ea1564548c
stages/consent: support pending_user from flow
2020-09-26 20:43:41 +02:00
Jens Langhammer
3663c3c8a1
sources/saml: cleanup SLO Implementation
2020-09-26 20:38:38 +02:00
Jens Langhammer
07e20a2950
core: add AuthJsonConsumer to handle websocket authentication
2020-09-26 20:11:04 +02:00
Jens Langhammer
6366d50a0e
core: show 'Create Application' button based on perms
2020-09-26 19:54:52 +02:00
Jens Langhammer
c3e64df95b
new release: 0.10.7-stable
2020-09-26 19:26:12 +02:00
Jens Langhammer
c1058c7438
e2e: fix formatting
2020-09-26 18:18:01 +02:00
Jens Langhammer
44b815efae
sources/oauth: fix data being sent in body and header for oauth1
2020-09-26 17:43:58 +02:00
Jens Langhammer
64a71a3663
flows: fix planner removing too many stages
2020-09-26 14:58:13 +02:00
Jens Langhammer
7aa89c6d4f
flows: fix formatting
2020-09-26 14:19:42 +02:00
Jens Langhammer
7e9d7e5198
flows: fix two stages being removed when reevaluate_marker was enabled
2020-09-26 14:13:10 +02:00
Jens Langhammer
2be6cd70d9
sources/oauth: fix handling of token for do_request
2020-09-26 14:00:48 +02:00
Jens Langhammer
2b9705b33c
policies/expression: remove pb_flow_plan, save flow context directly in context
2020-09-26 13:58:32 +02:00
Jens Langhammer
40f1de3b11
admin: load info about latest version in celery task
2020-09-26 02:16:35 +02:00
Jens Langhammer
899c5b63ea
admin: add BackSuccessUrlMixin to redirect to correct url after form edit
2020-09-26 02:04:16 +02:00
Jens Langhammer
e104c74761
admin: make pagination size configurable
2020-09-26 01:55:40 +02:00
Jens Langhammer
5d46c1ea5a
flows: improve strings, ensure default-source-enrollment's first stage has re_evaluate_policies
2020-09-26 01:37:54 +02:00
Jens Langhammer
7d533889bc
sources/oauth: fix OAuth1 not working, cleanup
2020-09-26 01:27:33 +02:00
Jens Langhammer
d9c2b32cba
sources/oauth: cleanup clients, add type annotations
2020-09-26 00:34:57 +02:00
Jens Langhammer
6e4ce8dbaa
core: cache user's is_superuser
2020-09-26 00:34:35 +02:00
Jens Langhammer
03d58b439f
sources/oauth: separate clients into separate modules
2020-09-25 23:58:58 +02:00
Jens Langhammer
bdaf0111c2
stages/password: fix formatting
2020-09-25 21:12:42 +02:00
Jens Langhammer
974c2ddb11
stages/password: fix change_flow being deleted instead of renamed
2020-09-25 20:33:06 +02:00
Jens Langhammer
f294791d41
stages/otp_time: fix redirect uri after setup
2020-09-25 19:39:19 +02:00
Jens Langhammer
4ee22f8ec1
stages/otp_static: fix redirect URL after setup, fix stage not being passed to setup
2020-09-25 19:38:51 +02:00
Jens Langhammer
74d3cfbba0
stages/otp_time: show OTP URI as aria-label
2020-09-25 19:03:12 +02:00
Jens Langhammer
d278acb83b
stages/otp_: fix flows having no title
2020-09-25 18:50:29 +02:00
Jens Langhammer
84da454612
stages/otp_: ensure stage.configure_flow is set
2020-09-25 17:45:13 +02:00
Jens Langhammer
52101007aa
e2e: bump chrome version
2020-09-25 17:39:25 +02:00
Jens Langhammer
dc57f433fd
stages/password: update to use ConfigurableStage
2020-09-25 16:51:22 +02:00
Jens Langhammer
3d4c5b8f4e
stages/otp_time: implement configure_flow
2020-09-25 12:56:27 +02:00
Jens Langhammer
e66424cc49
stages/otp_static: implement configure_flow
2020-09-25 12:56:14 +02:00
Jens Langhammer
8fa83a8d08
flows: change setup_stage to configure_stage in migration
2020-09-25 12:55:33 +02:00
Jens Langhammer
397892b282
stages/consent: cleanup
2020-09-25 12:49:19 +02:00
Jens Langhammer
7be50c2574
flows: add ConfigurableStage base class and ConfigureFlowInitView
2020-09-25 12:49:19 +02:00
Jens Langhammer
52c4fb431f
core: add user.group_attributes
2020-09-24 15:45:58 +02:00
dependabot-preview[bot]
6966c119a7
build(deps): bump codemirror in /passbook/static/static ( #231 )
...
Bumps [codemirror](https://github.com/codemirror/CodeMirror ) from 5.58.0 to 5.58.1.
- [Release notes](https://github.com/codemirror/CodeMirror/releases )
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.58.0...5.58.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-24 14:31:49 +02:00
Jens Langhammer
9d93da3d45
providers/proxy: fix formatting
2020-09-23 12:33:33 +02:00
Jens Langhammer
6458b1dbf8
providers/proxy: make upstream SSL Validation configurable
2020-09-23 12:20:14 +02:00
dependabot-preview[bot]
9fd9b2611c
build(deps): bump codemirror in /passbook/static/static ( #225 )
...
Bumps [codemirror](https://github.com/codemirror/CodeMirror ) from 5.57.0 to 5.58.0.
- [Release notes](https://github.com/codemirror/CodeMirror/releases )
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.57.0...5.58.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-23 00:29:01 +02:00
Jens Langhammer
464b2cce88
audit: fix model information being saved nested
2020-09-21 22:34:03 +02:00
Jens Langhammer
4eaa46e717
new release: 0.10.6-stable
2020-09-21 22:07:59 +02:00
Jens Langhammer
59e8dca499
sources/ldap: divide connector into password, sync and auth, add unittests for password
2020-09-21 21:40:41 +02:00
Jens Langhammer
945d5bfaf6
*: use Audit custom event action, add SOURCE_LINKED event action
2020-09-21 20:40:45 +02:00
Jens Langhammer
dbcdab05ff
audit: create audit logs for model creation/updating/deletion
2020-09-21 20:26:30 +02:00
Jens Langhammer
e2cc2843d8
core: add X-passbook-id to every request with unique ID
2020-09-21 19:37:44 +02:00
Jens Langhammer
585afd1bcd
core: remove migration dependency on ldap
2020-09-21 13:21:03 +02:00
Jens Langhammer
8358574484
audit: remove foreign key to user, save user data as json
2020-09-21 13:20:50 +02:00
Jens Langhammer
cbcdaaf532
providers/oauth2: fix creation of new refresh token
2020-09-21 11:48:23 +02:00
Jens Langhammer
f99eaa85ac
sources/ldap: implement LDAP password validation and syncing
2020-09-21 11:46:35 +02:00
Jens Langhammer
5007a6befe
stages/prompt: integrate password comparison when multiple password fields are given
2020-09-21 11:04:31 +02:00
Jens Langhammer
50c75087b8
lifecycle: fix startup logs not being full json
2020-09-21 11:04:31 +02:00
Jens Langhammer
c7ca95ff2b
new release: 0.10.5-stable
2020-09-20 13:58:33 +02:00
Jens Langhammer
9f403a71ed
root: fix IP detection when using multiple reverse proxies
2020-09-20 13:36:23 +02:00
Jens Langhammer
f3ee8f7d9c
admin: fix permissions not being checked for policybinding list
2020-09-19 23:07:39 +02:00
Jens Langhammer
5fa3729702
audit: fix fields for events from impersonation being swapped
2020-09-19 22:54:36 +02:00
Jens Langhammer
87f44fada4
providers/oauth2: fix refreshtoken being initialised wrong
2020-09-19 22:23:11 +02:00
Jens Langhammer
c0026f3e16
admin: move pf-m-success to base css
2020-09-19 21:12:39 +02:00
Jens Langhammer
c25eda63ba
new release: 0.10.4-stable
2020-09-19 19:40:58 +02:00
Jens Langhammer
c90906c968
outposts: fix formatting
2020-09-19 19:12:49 +02:00
Jens Langhammer
b04f92c8b4
admin: outposts show should-be version
2020-09-19 19:03:54 +02:00
Jens Langhammer
a02fcb0a7a
providers/oauth2: use # as separate for code#adfs, check if # exists in response_type and trim
2020-09-19 18:37:50 +02:00
dependabot-preview[bot]
c1ea605c7e
build(deps): bump @patternfly/patternfly from 4.35.2 to 4.42.2 in /passbook/static/static ( #222 )
...
Bumps [@patternfly/patternfly](https://github.com/patternfly/patternfly ) from 4.35.2 to 4.42.2.
- [Release notes](https://github.com/patternfly/patternfly/releases )
- [Changelog](https://github.com/patternfly/patternfly/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/patternfly/patternfly/compare/prerelease-v4.35.2...prerelease-v4.42.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-19 18:30:23 +02:00
Jens Langhammer
116be0b3c0
sources/ldap: add status display to show last sync
2020-09-19 17:50:39 +02:00
Jens Langhammer
438250b3a9
policies: improve wording on denied tempaltes
2020-09-19 15:24:52 +02:00
Jens Langhammer
5e6acee2a5
root: increase limit of max-attributes in pylint
2020-09-19 13:40:23 +02:00
Jens Langhammer
8b4222e7bb
providers/proxy: fix formatting
2020-09-19 12:21:31 +02:00
Jens Langhammer
5689f25c39
providers/proxy: add option to skip authentication for paths matching regular expressions
2020-09-19 11:32:04 +02:00
Jens Langhammer
83408b6ae0
stages/password: add failed_attempts_before_cancel to cancel a flow after x failed entries
2020-09-19 02:18:43 +02:00
Jens Langhammer
d30abc64d0
flows: improve _full template being used for stage_invalid
2020-09-19 02:15:15 +02:00
Jens Langhammer
4749c3fad0
proxy: improve reconnect logic, send version, properly version proxy
2020-09-19 01:37:08 +02:00
Jens Langhammer
18886697d6
outposts: add support for version checking
2020-09-19 01:34:11 +02:00
Jens Langhammer
e75c9e9a79
providers/oauth2: make openid-configuration easily readable
2020-09-19 01:34:11 +02:00
Jens Langhammer
5a3c1137ab
providers/oauth2: add more info to configuration modal
2020-09-19 01:34:11 +02:00
Jens Langhammer
ddca46e24a
outposts: add modal to show setup information
2020-09-19 01:34:11 +02:00
Jens Langhammer
421bd13ddf
admin: make YAMLField return empty dict when empty yaml is given
2020-09-19 00:00:55 +02:00
Jens Langhammer
404c9ef753
providers/saml: improve __str__ of SAMLPropertyMapping
2020-09-18 23:50:31 +02:00
Jens Langhammer
fe4a0c3b44
core: add impersonation start/end to audit log
...
also add impersonated user as context to other logs
2020-09-18 23:39:37 +02:00
Jens Langhammer
e0c104ee5c
providers/oauth2: remove post_logout_redirect_uris
2020-09-18 23:37:40 +02:00
Jens Langhammer
316e6cb17f
admin: set default host for outposts based on HTTP host
2020-09-18 21:51:08 +02:00
Jens Langhammer
9d5d99290c
outposts: only show proxy providers
2020-09-18 21:50:49 +02:00
Jens Langhammer
20ffe833de
admin: fix create link for outposts
2020-09-18 21:28:48 +02:00
Jens Langhammer
d4d026bf6a
stages/user_write: add migration that removes unintended data
2020-09-18 18:58:07 +02:00
Jens Langhammer
dfe093b2b9
stages/user_write: fix unittests
2020-09-18 18:52:19 +02:00
Jens Langhammer
60739e620e
stages/user_write: fix formatting
2020-09-18 18:41:11 +02:00
Jens Langhammer
d6cc6770b8
stages/user_write: fix data being saved as attributes without intent
2020-09-18 18:15:33 +02:00
Jens Langhammer
ddc1022461
stages/user_write: check if session hash should be updated early
2020-09-18 18:15:25 +02:00
Jens Langhammer
2c2226610e
providers/oauth2: fix end-session view not working, add tests
2020-09-17 21:55:01 +02:00
Jens Langhammer
cba78b4de7
providers/*: fix launch_url not working
2020-09-17 21:53:57 +02:00
Jens Langhammer
1eeb64ee39
docs: fix environment variable for error reporting
2020-09-17 21:22:46 +02:00
Jens Langhammer
22dea62084
root: fix startup log not showing in docker
2020-09-17 21:16:31 +02:00
Jens Langhammer
5ff1dd8426
core: move impersonation to core, add tests, add better permission checks
2020-09-17 16:24:53 +02:00
Jens Langhammer
da15a8878f
stages/password: improve labelling of LDAP backend
2020-09-17 15:54:48 +02:00
Jens Langhammer
bf33828ac1
core: fix overview template for non-rectangular icons
2020-09-17 10:44:10 +02:00
Jens Langhammer
895e7d7393
new release: 0.10.3-stable
2020-09-17 10:10:39 +02:00
Jens Langhammer
da3c640343
admin: fix type annotation for latest_version()
2020-09-16 23:54:55 +02:00
Jens Langhammer
4b39c71de0
providers/oauth2: accept token as post param
2020-09-16 23:38:55 +02:00
Jens Langhammer
818f417fd8
providers/oauth2: only send id_token as access_token if ADFS compat mode is enabled
2020-09-16 23:31:03 +02:00
Jens Langhammer
f1ccef7f6a
e2e: add tests for proxy provider and outposts
2020-09-16 23:22:17 +02:00
Jens Langhammer
ea9687c30b
core: don't fail migrations if no pbadmin exists
2020-09-15 23:37:39 +02:00
Jens Langhammer
0a5e14a352
core: make is_superuser a group property, remove from user
2020-09-15 23:10:31 +02:00
Jens Langhammer
491dcc1159
sources/ldap: improve default Property Mappings
2020-09-15 21:51:08 +02:00
Jens Langhammer
6292049c74
sources/ldap: add limited support for attributes as object_fields on LDAPPropertyMappings
2020-09-15 21:08:14 +02:00
Jens Langhammer
1e97af772f
providers/oauth2: add workaround for vcenter
2020-09-15 20:54:54 +02:00
Jens Langhammer
5c622cd4d2
providers/oauth2: make sub configurable based on hash, username, email and upn
2020-09-15 20:54:42 +02:00
Jens Langhammer
8c604d225b
static: update flow background
2020-09-15 16:14:13 +02:00
Jens Langhammer
c7daadfb18
core: fix logic error in expired models cleanup
2020-09-15 12:53:02 +02:00
Jens Langhammer
683968c96e
sources/ldap: register ldap sources
2020-09-15 12:36:33 +02:00