Commit Graph

59 Commits

Author SHA1 Message Date
a6225ad7a7 root: backport version bump (#11045)
* fix outpost form not loading apps for correct type

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* fix bug from previous pr

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* release: 2024.6.4

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-08-23 16:33:07 +02:00
4363c899ac release: 2024.6.3 2024-08-05 20:08:28 +02:00
e60c36b889 release: 2024.6.2 2024-08-01 01:13:29 +02:00
f6a9773930 release: 2024.6.1 2024-07-11 22:50:33 +02:00
35cd126406 release: 2024.6.0-rc1 2024-06-14 18:42:26 +02:00
6802614fbf release: 2024.4.2 2024-05-07 18:45:37 +02:00
8f8c3e4944 release: 2024.4.1 2024-04-26 18:43:33 +02:00
6b6d88b81b release: 2024.4.0-rc1 2024-04-24 19:12:47 +02:00
58a374d1f1 release: 2024.2.3
Signed-off-by: Jens Langhammer <jens@goauthentik.io>

# Conflicts:
#	pyproject.toml
2024-04-17 15:17:14 +02:00
62e58f2fe9 release: 2024.2.2
Signed-off-by: Jens Langhammer <jens@goauthentik.io>

# Conflicts:
#	pyproject.toml
2024-03-04 21:25:25 +01:00
5ca929417b release: 2024.2.1 2024-02-22 17:02:54 +01:00
a21683555a root: cherry-pick version bump
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-02-21 15:56:45 +01:00
4733778460 enterprise/providers/rac: connection token management (#8467) 2024-02-14 18:57:11 +01:00
50e7336720 release: 2023.10.7 2024-01-29 18:48:56 +01:00
50d3264be5 release: 2023.10.6 2024-01-09 19:31:47 +01:00
7778a8fab2 release: 2023.10.5 2023-12-21 15:08:13 +01:00
18b2f489c0 release: 2023.10.4 2023-11-21 19:29:02 +01:00
c30a2406a9 release: 2023.10.3 2023-11-09 19:20:28 +01:00
8e72fcab59 release: 2023.10.2 2023-10-28 21:43:54 +02:00
64c38909ff release: 2023.10.1 2023-10-26 20:06:05 +02:00
ed46fd629e release: 2023.10.0 2023-10-26 16:51:57 +02:00
21e5441f92 web: patternfly hints as ak-web-component (#7120)
* web: patternfly hints as ak-web-component

Patternfly 5's "Hints" React Component, but ported to web components.
The discovery that CSS Custom Properties are still available in
child components, even if they're within independent ShadowDOMs,
made this fairly easy to port from Handlebars to Lit-HTML.  Moving
the definitions into `:host` and the applications into the root DIV
of the component made duplicating the Patternfly 5 structure
straightforward.

Despite the [Patternfly
Elements]documentation](https://patternflyelements.org/docs/develop/create/),
there's a lot to Patternfly Elements that isn't well documented,
such as their slot controller, which near as I can tell just makes
it easy to determine if a slot with the given name is actually being
used by the client code, but it's hard to tell why, other than that it
provides an easy way to determine if some CSS should be included.

* Pre-commit fixes.

* web: fix some issues with styling found while testing.

* web: separated the "with Title" and "without Title" stories.

* Added footer story, fixed some CSS.

* web: hint controller

Add the `ShowHintController`.  This ReactiveController takes a token
in its constructor, and looks in LocalStorage for that token and
an associated value.  If that value is not `undefined`, it sets the
field `this.host.showHint` to the value found.

It also provides a `render()` method that provides an `ak-hint-footer`
with a checkbox and the "Don't show this message again," and responds
to clicks on the checkbox by setting the `this.hint.showHint` and
LocalStorage values to "false".

An example web component using it has been supplied.

* web: support dark mode for hints.

This was nifty.  Still not entirely sure about the `theme="dark"`
rippling through the product, but in this case it works quite well.
All it took was defining the alternative dark mode values in a CSS
entry, `:host([theme="dark"]) { ... }` and exploiting Patternfly's
already intensely atomized CSS Custom Properties properly.

* web: revise colors to use more of the Authentik dark-mode style.

* Update web/src/components/ak-hint/ak-hint.ts

Signed-off-by: Jens L. <jens@beryju.org>

* remove any

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens L. <jens@beryju.org>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens L <jens@goauthentik.io>
2023-10-12 10:44:15 -07:00
f885f8c039 release: 2023.8.3 2023-09-11 18:55:08 +02:00
97e4c8d5e2 release: 2023.8.2 2023-09-01 17:27:16 +02:00
be3cfaee56 release: 2023.8.1 2023-08-30 00:31:45 +02:00
bfa78afd54 release: 2023.8.0 2023-08-29 19:58:42 +02:00
30a7a6cbe9 Merge branch 'version-2023.6' 2023-07-10 14:14:03 +02:00
d6af506a78 release: 2023.6.1 2023-07-10 13:20:22 +02:00
4e5ea05987 web: refactor locale handler into top-level context handler (#6022)
* web: begin refactoring the application for future development

This commit:

- Deletes a bit of code.
- Extracts *all* of the Locale logic into a single folder, turns management of the Locale files over
  to Lit itself, and restricts our responsibility to setting the locale on startup and when the user
  changes the locale. We do this by converting a lot of internal calls into events; a request to
  change a locale isn't a function call, it's an event emitted asking `REQUEST_LOCALE_CHANGE`. We've
  even eliminated the `DETECT_LOCALE_CHANGE` event, which redrew elements with text in them, since
  Lit's own `@localized()` decorator does that for us automagically.
- We wrap our interfaces in an `ak-locale-context` that handles the startup and listens for the
  `REQUEST_LOCALE_CHANGE` event.
- ... and that's pretty much it.  Adding `@localized()` as a default behavior to `AKElement` means
  no more custom localization is needed *anywhere*.

* web: improve the localization experience

This commit fixes the Storybook story for the localization context component,
and fixes the localization initialization pass so that it is only called once
per interface environment initialization.  Since all our interfaces share the
same environment (the Django server), this preserves functionality across
all interfaces.

---------

Co-authored-by: Jens Langhammer <jens@goauthentik.io>
2023-07-07 14:23:10 +00:00
7db9ced218 release: 2023.6.0 2023-07-07 13:43:16 +02:00
422b19df60 release: 2023.5.4 2023-06-26 23:33:04 +02:00
be85eecac5 release: 2023.5.3 2023-06-01 19:35:13 +02:00
5e5a74eebf release: 2023.5.2 2023-05-26 23:54:12 +02:00
6900ffffd8 release: 2023.5.1 2023-05-18 21:33:38 +02:00
8faec99bd6 release: 2023.5.0 2023-05-16 14:00:48 +02:00
ce5f6d5d43 release: Version 2023.4 (#5283)
* release: 2023.4.0

* release: 2023.4.1
2023-04-18 10:45:17 +02:00
8160663214 release: 2023.4.0 (#5254) 2023-04-14 13:20:22 +02:00
8363016982 version: 2023.3 (#4980)
* release: 2023.3.0

* providers/ldap: fix duplicate attributes (#4972)

closes #4971

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* providers/oauth2: fix response for response_type code and response_mode fragment (#4975)

* web/flows: fix authenticator selector in dark mode (#4974)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* release: 2023.3.1

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-03-16 22:43:57 +01:00
6f6d22da13 release: 2023.3.0 (#4925) 2023-03-13 19:10:48 +01:00
59e54901fb web: fix theming issues when using automatic (#4898)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-03-10 17:33:03 +01:00
d842fc4958 release: 2023.2.2 2023-02-15 19:53:42 +01:00
80de3ee853 release: 2023.2.1 2023-02-14 18:52:36 +01:00
81d70e5d41 release: 2023.2.0 2023-02-14 13:15:47 +01:00
9397598376 release: 2023.1.2 2023-01-23 14:25:55 +01:00
430a207865 release: 2023.1.1 2023-01-23 11:34:58 +01:00
49b6c71079 release: 2023.1.0 2023-01-18 15:49:45 +01:00
ac07833688 release: 2022.12.2 2023-01-05 10:01:30 +01:00
d6d72489a7 web/flows: add close button to flow inspector
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2023-01-01 21:26:21 +01:00
2c42c87689 release: 2022.12.1 2022-12-30 13:43:42 +01:00
24eb4ed963 release: 2022.12.0 2022-12-28 13:00:49 +01:00