Jens Langhammer
6ddd6bfa72
root: fix linting errors
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-07-18 20:54:34 +02:00
dependabot[bot]
ba437beacc
build(deps): bump @rollup/plugin-replace from 2.4.2 to 3.0.0 in /web ( #1152 )
...
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/HEAD/packages/replace ) from 2.4.2 to 3.0.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/replace/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/wasm-v3.0.0/packages/replace )
---
updated-dependencies:
- dependency-name: "@rollup/plugin-replace"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-17 19:38:57 +02:00
dependabot[bot]
5f13563e03
build(deps): bump rollup from 2.53.1 to 2.53.2 in /web ( #1149 )
2021-07-16 08:48:48 +02:00
dependabot[bot]
e17c9040bb
build(deps): bump @rollup/plugin-typescript from 8.2.1 to 8.2.3 in /web ( #1150 )
2021-07-16 08:48:40 +02:00
Jens Langhammer
6f98833150
core: allow users to create non-expiring tokens when flag is set
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-07-14 21:15:14 +02:00
Jens Langhammer
7c2decf5ec
providers/ldap: squash migrations
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-07-14 09:22:25 +02:00
Lukas Söder
7f39399c32
providers/ldap: Added auto-generated uidNumber and guidNumber generated attributes for use with SSSD and similar software. ( #1138 )
...
* Added auto-generated uidNumber and guidNumber generated attributes for
use with SSSD and similar software.
The starting number for uid/gid can be configured iva environtment
variables and is by default 2000 which should work fine for most instances unless there are more than
999 local accounts on the server/computer.
The uidNumber is just the users Pk + the starting number.
The guidNumber is calculated by the last couple of bytes in the uuid of
the group + the starting number, this should have a low enough chance
for collisions that it's going to be fine for most use cases.
I have not added any interface stuff for configuring the environment variables as I couldn't really find my way around all the places I'd have to edit to add it and the default values should in my opinion be fine for 99% use cases.
* Add a 'fake' primary group for each user
* First attempt att adding config to interface
* Updated API to support new fields
* Refactor code, update documentation and remove obsolete comment
Simplify `GetRIDForGroup`, was a bit overcomplicated before.
Add an additional class/struct `LDAPGroup` which is the new argument
for `pi.GroupEntry` and util functions to create `LDAPGroup` from api.Group and api.User
Add proper support in the interface for changing gidNumber and uidNumber starting points
* make lint-fix for the migration files
2021-07-14 09:17:01 +02:00
Jens L
7dfc621ae4
LDAP Provider: TLS support ( #1137 )
2021-07-13 18:24:18 +02:00
Jens Langhammer
2036827f04
api: add sentry tunnel
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-07-13 10:58:14 +02:00
dependabot[bot]
35665d248e
build(deps): bump @typescript-eslint/eslint-plugin in /web ( #1131 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.28.2 to 4.28.3.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.3/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-13 10:34:27 +02:00
dependabot[bot]
bc30b41157
build(deps): bump @sentry/browser from 6.8.0 to 6.9.0 in /web ( #1130 )
...
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript ) from 6.8.0 to 6.9.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/6.8.0...6.9.0 )
---
updated-dependencies:
- dependency-name: "@sentry/browser"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-13 10:34:14 +02:00
dependabot[bot]
2af7fab42c
build(deps): bump @typescript-eslint/parser in /web ( #1132 )
2021-07-13 08:41:24 +02:00
dependabot[bot]
4de205809b
build(deps): bump @sentry/tracing from 6.8.0 to 6.9.0 in /web ( #1133 )
2021-07-13 08:41:14 +02:00
dependabot[bot]
a62e3557ac
build(deps): bump rollup from 2.52.8 to 2.53.1 in /web ( #1125 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.52.8 to 2.53.1.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.52.8...v2.53.1 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-12 09:06:14 +02:00
Jens Langhammer
b7a929d304
web/flows: update background for 2021.7
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-07-09 23:12:46 +02:00
Jens Langhammer
7ddb459030
web: fix error when showing error message of request
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-07-09 19:06:30 +02:00
Jens Langhammer
90fe1c2ce8
providers/oauth2: allow blank redirect_uris to allow any redirect_uri
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-07-08 19:28:35 +02:00
dependabot[bot]
a7c4f81275
build(deps): bump rollup from 2.52.7 to 2.52.8 in /web ( #1119 )
2021-07-08 09:50:21 +02:00
dependabot[bot]
396fbc4a76
build(deps): bump @types/grecaptcha from 3.0.2 to 3.0.3 in /web ( #1114 )
...
Bumps [@types/grecaptcha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/grecaptcha ) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/grecaptcha )
---
updated-dependencies:
- dependency-name: "@types/grecaptcha"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-07 10:30:11 +02:00
dependabot[bot]
2dcd0128aa
build(deps): bump @types/chart.js from 2.9.33 to 2.9.34 in /web ( #1115 )
...
Bumps [@types/chart.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chart.js ) from 2.9.33 to 2.9.34.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chart.js )
---
updated-dependencies:
- dependency-name: "@types/chart.js"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-07 10:29:57 +02:00
dependabot[bot]
e5aa9e0774
build(deps): bump @types/codemirror from 5.60.1 to 5.60.2 in /web ( #1116 )
...
Bumps [@types/codemirror](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/codemirror ) from 5.60.1 to 5.60.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/codemirror )
---
updated-dependencies:
- dependency-name: "@types/codemirror"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-07 10:15:49 +02:00
dependabot[bot]
38fd5c5614
build(deps): bump @typescript-eslint/eslint-plugin in /web ( #1112 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.28.1 to 4.28.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.2/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-06 07:31:10 +00:00
dependabot[bot]
7e3148fab5
build(deps): bump @typescript-eslint/parser in /web ( #1111 )
2021-07-06 08:58:10 +02:00
Jens Langhammer
adc4cd9c0d
release: 2021.6.4
2021-07-05 16:59:29 +02:00
Jens Langhammer
abed254ca1
web/admin: make table dispatch refresh event on refresh button instead of just fetching
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-07-05 09:48:14 +02:00
dependabot[bot]
edfab0995f
build(deps): bump eslint from 7.29.0 to 7.30.0 in /web ( #1106 )
2021-07-05 09:10:15 +02:00
dependabot[bot]
528dedf99d
build(deps): bump chart.js from 3.4.0 to 3.4.1 in /web ( #1107 )
2021-07-05 09:09:33 +02:00
dependabot[bot]
5d7eec3049
build(deps): bump @types/chart.js from 2.9.32 to 2.9.33 in /web ( #1108 )
2021-07-05 09:09:24 +02:00
Jens Langhammer
320dab3425
core: only show `Reset password` link when recovery flow is configured
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-07-04 12:59:41 +02:00
Jens Langhammer
ca44f8bd60
web: log response when >= http 400
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-07-04 12:39:10 +02:00
Jens Langhammer
d07704fdf1
crypto: show both sha1 and sha256 fingerprints
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-07-03 19:25:27 +02:00
Jens Langhammer
6a4ddcaba7
web/admin: don't use form.reset() for ModelForms, reset instance
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-07-03 18:26:50 +02:00
Jens Langhammer
2c9b596f01
web/admin: run explicit update after loading instance
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-07-03 16:41:42 +02:00
Jens Langhammer
91f7b289cc
web/admin: show oauth2 token revoked status
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-07-03 16:04:24 +02:00
Jens Langhammer
dd53e7e9b1
web/admin: fix ModelForm not re-loading after being reset
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-07-02 21:21:11 +02:00
dependabot[bot]
02dd44eeec
build(deps): bump rollup from 2.52.4 to 2.52.7 in /web ( #1100 )
2021-07-02 08:04:31 +02:00
dependabot[bot]
3c3fd53999
build(deps): bump typescript from 4.3.4 to 4.3.5 in /web ( #1097 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.3.4 to 4.3.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.4...v4.3.5 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-01 09:42:20 +02:00
dependabot[bot]
03448a9169
build(deps): bump rollup from 2.52.3 to 2.52.4 in /web ( #1094 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.52.3 to 2.52.4.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.52.3...v2.52.4 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-30 09:38:53 +02:00
Jens Langhammer
680b182d95
release: 2021.6.3
2021-06-29 16:19:07 +02:00
dependabot[bot]
b3ce8331f5
build(deps): bump @typescript-eslint/parser in /web ( #1087 )
2021-06-29 08:55:00 +02:00
dependabot[bot]
ef0f618234
build(deps): bump @sentry/tracing from 6.7.2 to 6.8.0 in /web ( #1089 )
2021-06-29 08:54:49 +02:00
dependabot[bot]
b8a7186a55
build(deps): bump @typescript-eslint/eslint-plugin in /web ( #1088 )
2021-06-29 08:53:42 +02:00
dependabot[bot]
b39530f873
build(deps): bump @sentry/browser from 6.7.2 to 6.8.0 in /web ( #1090 )
2021-06-29 08:53:31 +02:00
Jens Langhammer
c19da839b1
stages/user_write: add create_users_as_inactive flag
...
close #1086
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-06-28 23:24:54 +02:00
dependabot[bot]
c6e60c0ebc
build(deps): bump rollup from 2.52.2 to 2.52.3 in /web ( #1080 )
2021-06-28 08:53:15 +02:00
dependabot[bot]
5e724e4299
build(deps): bump chart.js from 3.3.2 to 3.4.0 in /web ( #1082 )
2021-06-28 08:52:54 +02:00
Jens Langhammer
2b1356bb91
flows: add invalid_response_action to configure how the FlowExecutor should handle invalid responses
...
closes #1079
Default value of `retry` behaves like previous version.
`restart` and `restart_with_context` restart the flow upon an invalid response. `restart_with_context` keeps the same context of the Flow, allowing users to bind policies that maybe aren't valid on the first execution, but are after a retry, like a reputation policy with a deny stage.
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-06-28 00:22:09 +02:00
Jens Langhammer
7d9c74ce04
tenants: include all default flows in current_tenant
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-06-26 23:47:49 +02:00
Jens Langhammer
4ec5df6b12
web/admin: fix linting error
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-06-26 22:30:33 +02:00
Jens Langhammer
0403f6d373
web/admin: add flow export button on flow view page
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-06-26 22:03:19 +02:00