This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/web/src
Ken Sternberg cc1c66aa13
Web: bugfix: broken backchannel selector (#7480)
* web: break circular dependency between AKElement & Interface.

This commit changes the way the root node of the web application shell is
discovered by child components, such that the base class shared by both
no longer results in a circular dependency between the two models.

I've run this in isolation and have seen no failures of discovery; the identity
token exists as soon as the Interface is constructed and is found by every item
on the page.

* web: fix broken typescript references

This built... and then it didn't?  Anyway, the current fix is to
provide type information the AkInterface for the data that consumers
require.

* web: rollback dependabot's upgrade of context

The most frustrating part of this is that I RAN THIS, dammit, with the updated
context and the current Wizard, and it finished the End-to-End tests without
complaint.

* web: bugfix: broken backchannel selector

There were two bugs here, both of them introduced by me because I didn't understand the
system well enough the first time through, and because I didn't test thoroughly enough.

The first is that I was calling the wrong confirmation code; the resulting syntax survived
because `confirm()` is actually a legitimate function call in the context of the DOM Window,
a legacy survivor similar to `alert()` but with a yes/no return value. Bleah.

The second is that the confirm code doesn't appear to pass back a dictionary with the
`{ items: Array<Provider> }` list, it passes back just the `items` as an Array.
2023-11-07 18:10:43 +00:00
..
admin Web: bugfix: broken backchannel selector (#7480) 2023-11-07 18:10:43 +00:00
assets/images web/flows: update flow background (#7232) 2023-10-19 23:53:27 +02:00
common release: 2023.10.2 2023-10-28 21:43:54 +02:00
components web: fix bad comment that was confusing lit-analyze (#7234) 2023-10-20 11:17:24 +02:00
elements web: extract form processing (#7298) 2023-10-25 14:39:50 -07:00
flow web/flows: attempt to fix bitwareden android compatibility (#7455) 2023-11-06 17:50:31 +01:00
locales web: Replace lingui.js with lit-localize (#5761) 2023-06-02 08:08:36 -07:00
polyfill web: bump @formatjs/intl-listformat from 7.2.2 to 7.3.0 in /web (#5866) 2023-06-08 13:28:15 +02:00
standalone web: refactor locale handler into top-level context handler (#6022) 2023-07-07 14:23:10 +00:00
stories web/flows: add more stories (#6444) 2023-08-03 17:27:58 +02:00
user web: bump fuse.js from 6.6.2 to 7.0.0 in /web (#7307) 2023-10-26 12:29:25 +02:00
custom.css *: add placeholder custom.css to easily allow user customisation 2022-02-14 20:05:00 +01:00
global.d.ts web/elements: pass full Markdown object to ak-markdown, get title from metadata 2021-12-16 12:18:43 +01:00
locale-codes.ts web: locales: rename fr_FR to fr to match transifex 2023-10-02 13:31:21 +02:00