ca960f3286
root: fix web docker build ( #10287 )
2024-06-28 13:00:54 +02:00
c23ee42d9a
web: fix docker build for non-release versions ( #10154 )
2024-06-18 19:01:04 +02:00
ff06214b0e
core: include version in built JS files ( #9558 )
...
* web: fix esbuild issue with style sheets
Getting ESBuild, Lit, and Storybook to all agree on how to read and parse stylesheets is a serious
pain. This fix better identifies the value types (instances) being passed from various sources in
the repo to the three *different* kinds of style processors we're using (the native one, the
polyfill one, and whatever the heck Storybook does internally).
Falling back to using older CSS instantiating techniques one era at a time seems to do the trick.
It's ugly, but in the face of the aggressive styling we use to avoid Flashes of Unstyled Content
(FLoUC), it's the logic with which we're left.
In standard mode, the following warning appears on the console when running a Flow:
```
Autofocus processing was blocked because a document already has a focused element.
```
In compatibility mode, the following **error** appears on the console when running a Flow:
```
crawler-inject.js:1106 Uncaught TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'.
at initDomMutationObservers (crawler-inject.js:1106:18)
at crawler-inject.js:1114:24
at Array.forEach (<anonymous>)
at initDomMutationObservers (crawler-inject.js:1114:10)
at crawler-inject.js:1549:1
initDomMutationObservers @ crawler-inject.js:1106
(anonymous) @ crawler-inject.js:1114
initDomMutationObservers @ crawler-inject.js:1114
(anonymous) @ crawler-inject.js:1549
```
Despite this error, nothing seems to be broken and flows work as anticipated.
* core: include version in built JS files
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add fallback
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* include build hash
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* format
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix stuff
why does this even work locally
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* idk man node
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* just not use import assertions
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* web: add no-console, use proper dirname path
* web: retarget to use the base package.json file.
* web: encode path to root package.json using git
This is the most authoritative way of finding the root of the git project.
* use full version to match frontend
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add fallback for missing .git folder
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
Co-authored-by: Ken Sternberg <ken@goauthentik.io >
2024-06-18 17:05:28 +09:00
c3445374c2
core: FIPS ( #9683 )
...
Co-authored-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
2024-05-23 17:34:52 +00:00
ac6266a23a
core: bump golang from 1.22.2-bookworm to 1.22.3-bookworm ( #9636 )
...
Bumps golang from 1.22.2-bookworm to 1.22.3-bookworm.
---
updated-dependencies:
- dependency-name: golang
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>
2024-05-08 11:57:16 +02:00
098fcdeaf2
core: bump node from 21 to 22 ( #9521 )
...
Bumps node from 21 to 22.
---
updated-dependencies:
- dependency-name: node
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>
2024-04-30 21:03:57 +02:00
1c9f86e172
root: fix geoipupdate arguments ( #9271 )
2024-04-15 19:11:17 +02:00
0b80f1a7c7
core: bump python from 3.12.2-slim-bookworm to 3.12.3-slim-bookworm ( #9211 )
...
Bumps python from 3.12.2-slim-bookworm to 3.12.3-slim-bookworm.
---
updated-dependencies:
- dependency-name: python
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>
2024-04-11 11:15:44 +02:00
284904a02a
core: bump maxmind/geoipupdate from v6.1 to v7.0 ( #9186 )
...
Bumps maxmind/geoipupdate from v6.1 to v7.0.
---
updated-dependencies:
- dependency-name: maxmind/geoipupdate
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 10:47:46 +02:00
eb36c8dd0c
core: Bump golang from 1.22.1-bookworm to 1.22.2-bookworm ( #9125 )
...
Bumps golang from 1.22.1-bookworm to 1.22.2-bookworm.
---
updated-dependencies:
- dependency-name: golang
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>
2024-04-04 12:01:11 +02:00
d98471dbea
website: fix bundled website build ( #8836 )
...
* website: fix bundled website build
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* sigh
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix some warnings
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2024-03-07 19:06:38 +01:00
48b24e5c65
core: bump golang from 1.22.0-bookworm to 1.22.1-bookworm ( #8820 )
...
Bumps golang from 1.22.0-bookworm to 1.22.1-bookworm.
---
updated-dependencies:
- dependency-name: golang
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>
2024-03-06 12:09:14 +01:00
59b5c21cf6
root: fix container build ( #8727 )
...
* root: fix container build
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* run pip in venv too
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2024-02-28 14:14:38 +01:00
d7ed1a5d30
website: split ( #8616 )
...
* add package
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* remove most of website
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* keep relative api browser internal
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* remove more stuff
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* switch openapi renderer
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* keep tests
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add placeholder index page to fix build
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix build
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* re-add blog
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix default url
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix build?
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* actually fix build
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2024-02-28 00:59:04 +01:00
25d3f2e06e
core: bump python from 3.12.1-slim-bookworm to 3.12.2-slim-bookworm ( #8450 )
...
Bumps python from 3.12.1-slim-bookworm to 3.12.2-slim-bookworm.
---
updated-dependencies:
- dependency-name: python
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>
2024-02-08 14:07:50 +01:00
c9b39f2eba
core: bump golang from 1.21.6-bookworm to 1.22.0-bookworm ( #8444 )
...
Bumps golang from 1.21.6-bookworm to 1.22.0-bookworm.
---
updated-dependencies:
- dependency-name: golang
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>
2024-02-07 11:55:28 +01:00
fdefe23d46
core: bump golang from 1.21.5-bookworm to 1.21.6-bookworm ( #8111 )
...
Bumps golang from 1.21.5-bookworm to 1.21.6-bookworm.
---
updated-dependencies:
- dependency-name: golang
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>
2024-01-10 12:15:16 +01:00
42552e74eb
core: bump maxmind/geoipupdate from v6.0 to v6.1 ( #8112 )
...
Bumps maxmind/geoipupdate from v6.0 to v6.1.
---
updated-dependencies:
- dependency-name: maxmind/geoipupdate
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 12:15:04 +01:00
50860d7ffe
events: add ASN Database reader ( #7793 )
...
* events: add ASN Database reader
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add tests
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix test config generator
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* de-duplicate code
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add enrich_context
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* rename to context processors?
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix cache
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* use config deprecation system, update docs
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* update more docs and tests
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add test asn db
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* re-build schema with latest versions
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2023-12-20 22:16:50 +01:00
6ba1dfd166
core: bump python from 3.12.0-slim-bookworm to 3.12.1-slim-bookworm
...
Bumps python from 3.12.0-slim-bookworm to 3.12.1-slim-bookworm.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-11 08:04:48 +01:00
5f6ba74f64
Fix cache related image build issues
2023-12-09 06:07:21 +01:00
459449a82b
core: bump golang from 1.21.4-bookworm to 1.21.5-bookworm ( #7798 )
...
Bumps golang from 1.21.4-bookworm to 1.21.5-bookworm.
---
updated-dependencies:
- dependency-name: golang
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>
2023-12-06 13:34:16 +02:00
ef801b7a61
root: include ca-certificates in container ( #7763 )
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2023-12-03 23:47:45 +02:00
0e810c5887
core: bump python from 3.11.5-bookworm to 3.12.0-bookworm ( #7048 )
...
* core: bump python from 3.11.5-bookworm to 3.12.0-bookworm
Bumps python from 3.11.5-bookworm to 3.12.0-bookworm.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* bump ci and docs
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* use aiohttp beta to test
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* use same image for deps and final
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jens Langhammer <jens@goauthentik.io >
2023-11-22 12:52:17 +01:00
709358615c
core: bump golang from 1.21.3-bookworm to 1.21.4-bookworm
...
Bumps golang from 1.21.3-bookworm to 1.21.4-bookworm.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-08 11:13:24 +01:00
e92bda2659
root: Improve multi arch Docker image build speed ( #7355 )
...
* Improve multi arch Docker image build speed
Use only host architecture for GeoIP database update and for Go cross-compilation
* Speedup Go multi-arch compilation for other images
* Speedup multi-arch ldap image build
2023-11-01 18:41:48 +01:00
db76446099
core: bump node from 20 to 21 ( #7237 )
...
Bumps node from 20 to 21.
---
updated-dependencies:
- dependency-name: node
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>
2023-10-20 11:17:58 +02:00
d596e65ae0
core: bump golang from 1.21.2-bookworm to 1.21.3-bookworm ( #7142 )
...
Bumps golang from 1.21.2-bookworm to 1.21.3-bookworm.
---
updated-dependencies:
- dependency-name: golang
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>
2023-10-11 11:36:24 +02:00
279d54f800
core: bump golang from 1.21.1-bookworm to 1.21.2-bookworm ( #7085 )
...
Bumps golang from 1.21.1-bookworm to 1.21.2-bookworm.
---
updated-dependencies:
- dependency-name: golang
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>
2023-10-06 11:47:07 +02:00
6b5200fead
root: fix missing /lifecycle in path
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2023-09-27 17:49:30 +02:00
0370040473
core: bump node from 20.5 to 20.6 ( #6784 )
...
* core: bump node from 20.5 to 20.6
Bumps node from 20.5 to 20.6.
---
updated-dependencies:
- dependency-name: node
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* unlock everywhere
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jens Langhammer <jens@goauthentik.io >
2023-09-20 12:28:47 +02:00
e17667de79
root: include generated ts client in dev builds
...
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
2023-09-13 15:42:23 +02:00
f811266ba5
root: fix gunicorn not starting
...
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
2023-09-12 11:04:31 +02:00
e494756aa5
root: fix dumb-init
...
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
2023-09-11 23:33:45 +02:00
7b7c80364f
try to not save new things in the root directory
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2023-09-11 15:44:26 +02:00
c55f26ca70
group copies together
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2023-09-11 15:44:26 +02:00
a7a4b18082
fix ak test-all dependencies
...
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
2023-09-11 15:44:26 +02:00
61bdbf243a
copy robots|security.txt from web-builder
...
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
2023-09-11 15:44:26 +02:00
fc27e4e3d0
fix poetry install
...
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
2023-09-11 15:44:26 +02:00
ab837558c4
mount binds all around
...
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
2023-09-11 15:44:26 +02:00
fe0ecb9013
add cache everywhere, rework python deps to install with poetry and cache them
...
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
2023-09-11 15:44:26 +02:00
bf15e7b169
docker: remove pip cache
...
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
2023-09-11 15:44:26 +02:00
eeb124e869
core: bump golang from 1.21.0-bookworm to 1.21.1-bookworm ( #6783 )
...
Bumps golang from 1.21.0-bookworm to 1.21.1-bookworm.
---
updated-dependencies:
- dependency-name: golang
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>
2023-09-07 12:00:34 +02:00
2c8f8b9e13
root: lock node to 20.5 ( #6776 )
...
* root: lock node to 20.5
there are apparently some breaking issues in 20.6 with babel https://github.com/babel/babel/issues/15927
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* use same version of setup-node everywhere
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2023-09-06 12:22:25 +02:00
06fd3a582e
core: bump python from 3.11.4-slim-bookworm to 3.11.5-slim-bookworm ( #6650 )
...
Bumps python from 3.11.4-slim-bookworm to 3.11.5-slim-bookworm.
---
updated-dependencies:
- dependency-name: python
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>
2023-08-28 10:56:55 +02:00
dc782498b4
root: re-fix docker build paths
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2023-08-26 23:15:13 +02:00
5c5cd41548
root: fix docker build
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2023-08-26 21:02:57 +02:00
f0c3323cf1
root: upgrade debian base images to debian 12
...
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
2023-08-24 14:32:19 +02:00
fce655eda8
core: bump golang from 1.20.7-bullseye to 1.21.0-bullseye ( #6508 )
...
Bumps golang from 1.20.7-bullseye to 1.21.0-bullseye.
---
updated-dependencies:
- dependency-name: golang
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>
2023-08-09 09:44:12 +01:00
90f4ebfcab
root: replace builtin psycopg libpq binary implementation with distro… ( #6448 )
...
root: replace builtin psycopg libpq binary implementation with distro provided one
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
2023-08-02 11:48:30 +02:00