Skip to content

Commit

Permalink
Merge pull request #432 from sebadob/prepare-v0.23.0
Browse files Browse the repository at this point in the history
Prepare v0.23.0
  • Loading branch information
sebadob authored May 10, 2024
2 parents 4c41d64 + 04efc4c commit d540a74
Show file tree
Hide file tree
Showing 16 changed files with 45 additions and 31 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## v0.23.0-beta3
## v0.23.0

This release does the first preparations to prepare a future v1.0.0 release.
Quite a few values have been cleaned up or improved.
Expand Down Expand Up @@ -313,6 +313,12 @@ Instead, it only returns the peer IP that Rauthy extracted for this request. Thi
configure the extraction, for instance when you are behind a reverse proxy or CDN.
[758b31c](https://github.com/sebadob/rauthy/commit/758b31cb5dc2277a0cc3ec31f15b5de90ff00ea7)
#### New sorting options for users
Users in the Admin UI can now be sorted by their `created_at` or `last_login` timestamp.
Users that never have logged in will always be at the end of the list, since this value might be `undefined`.
[4c41d64](https://github.com/sebadob/rauthy/commit/4c41d64f570dbbe94dcb8b681ac31608ed492652)
### Bugfixes
- The button for requesting a password reset from inside a federated account view has been
Expand All @@ -336,6 +342,11 @@ configure the extraction, for instance when you are behind a reverse proxy or CD
- `/authorize` for logins had a bit too strict validation for the user password, which had a chance that
a new password a user just set, would be rejected because of some invalid special chars not being allowed
[9bb0a72](https://github.com/sebadob/rauthy/commit/9bb0a72fe2e3cc87e000b6db36c84fcf2d255bf5)
- when resources in the Admin UI have been re-fetched, for instance because of a user deletion, the search input
has not been emptied
[033db25](https://github.com/sebadob/rauthy/commit/033db25db695d2565bc4adcdfe07a77125c2a9a5)
- the deprecated `x-xss-protection` header has been removed
[5008438](https://github.com/sebadob/rauthy/commit/50084385df887f4782bbe9224e63bc60719600fd)
## 0.22.1
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ members = [
exclude = ["rauthy-client"]

[workspace.package]
version = "0.23.0-beta3"
version = "0.23.0"
edition = "2021"
authors = ["Sebastian Dobe <[email protected]>"]
license = "Apache-2.0"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,17 +155,17 @@ Either just take a look at the [Rauthy Book](https://sebadob.github.io/rauthy/),
the application yourself with docker on your localhost:

```
docker run --rm -p 8080:8080 ghcr.io/sebadob/rauthy:0.22.1-lite
docker run --rm -p 8080:8080 ghcr.io/sebadob/rauthy:0.23.0-lite
```

**Note on using Safari:**

If you want to test with Safari with plain HTTP, you need to add `-e COOKIE_MODE=danger-insecure`.
Rauthy always builds secure cookies by default, but Safari does not treat localhost as secure like
all other browsers. This option has been implemented in `v0.23.0-beta3`. So you might test with:
all other browsers:

```
docker run --rm -p 8080:8080 -e COOKIE_MODE=danger-insecure ghcr.io/sebadob/rauthy:0.23.0-beta3-lite
docker run --rm -p 8080:8080 -e COOKIE_MODE=danger-insecure ghcr.io/sebadob/rauthy:0.23.0-lite
```

## Contributing
Expand Down
6 changes: 3 additions & 3 deletions docs/getting_started/docker.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ <h2 id="testing--local-evaluation"><a class="header" href="#testing--local-evalu
<pre><code>docker run --rm \
-p 8080:8080 \
--name rauthy \
ghcr.io/sebadob/rauthy:0.22.1-lite
ghcr.io/sebadob/rauthy:0.23.0-lite
</code></pre>
<p>This will start the container in interactive mode with an in-memory SQLite database. Just take a look at the log at the
logs to see the URL and first password.</p>
Expand All @@ -190,7 +190,7 @@ <h2 id="testing--local-evaluation"><a class="header" href="#testing--local-evalu
-e DATABASE_URL=sqlite:data/rauthy.db \
-p 8080:8080 \
--name rauthy \
ghcr.io/sebadob/rauthy:0.22.1-lite
ghcr.io/sebadob/rauthy:0.23.0-lite
</code></pre>
<div id="admonition-note" class="admonition admonish-note">
<div class="admonition-title">
Expand Down Expand Up @@ -288,7 +288,7 @@ <h2 id="production-setup"><a class="header" href="#production-setup">Production
-v $(pwd)/rauthy/data:/app/data \
-p 8080:8080 \
--name rauthy \
ghcr.io/sebadob/rauthy:0.22.1-lite
ghcr.io/sebadob/rauthy:0.23.0-lite
</code></pre>
<p><strong>6. Restrict DB files access even more</strong><br />
After rauthy has done the first start, you could harden the access rights of the SQLite files even more.<br />
Expand Down
2 changes: 1 addition & 1 deletion docs/getting_started/k8s.html
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ <h3 id="create-and-apply-the-stateful-set"><a class="header" href="#create-and-a
fsGroup: 10001
containers:
- name: rauthy
image: ghcr.io/sebadob/rauthy:0.22.1-lite
image: ghcr.io/sebadob/rauthy:0.23.0-lite
imagePullPolicy: IfNotPresent
securityContext:
# User ID 10001 is actually built into the container at the creation for
Expand Down
8 changes: 4 additions & 4 deletions docs/print.html
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ <h2 id="testing--local-evaluation"><a class="header" href="#testing--local-evalu
<pre><code>docker run --rm \
-p 8080:8080 \
--name rauthy \
ghcr.io/sebadob/rauthy:0.22.1-lite
ghcr.io/sebadob/rauthy:0.23.0-lite
</code></pre>
<p>This will start the container in interactive mode with an in-memory SQLite database. Just take a look at the log at the
logs to see the URL and first password.</p>
Expand All @@ -414,7 +414,7 @@ <h2 id="testing--local-evaluation"><a class="header" href="#testing--local-evalu
-e DATABASE_URL=sqlite:data/rauthy.db \
-p 8080:8080 \
--name rauthy \
ghcr.io/sebadob/rauthy:0.22.1-lite
ghcr.io/sebadob/rauthy:0.23.0-lite
</code></pre>
<div id="admonition-note" class="admonition admonish-note">
<div class="admonition-title">
Expand Down Expand Up @@ -512,7 +512,7 @@ <h2 id="production-setup"><a class="header" href="#production-setup">Production
-v $(pwd)/rauthy/data:/app/data \
-p 8080:8080 \
--name rauthy \
ghcr.io/sebadob/rauthy:0.22.1-lite
ghcr.io/sebadob/rauthy:0.23.0-lite
</code></pre>
<p><strong>6. Restrict DB files access even more</strong><br />
After rauthy has done the first start, you could harden the access rights of the SQLite files even more.<br />
Expand Down Expand Up @@ -667,7 +667,7 @@ <h3 id="create-and-apply-the-stateful-set"><a class="header" href="#create-and-a
fsGroup: 10001
containers:
- name: rauthy
image: ghcr.io/sebadob/rauthy:0.22.1-lite
image: ghcr.io/sebadob/rauthy:0.23.0-lite
imagePullPolicy: IfNotPresent
securityContext:
# User ID 10001 is actually built into the container at the creation for
Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/searchindex.json

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions frontend/src/lib/Button.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@
}
.txt {
margin-top: 4px;
/* fixes misplaced button labels on chrome */
-webkit-margin-before: 0;
margin-top: 2px;
}
</style>
2 changes: 1 addition & 1 deletion frontend/src/lib/itemTiles/DeleteItemTile.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
on:click={() => onDelete(label)}
on:keypress={() => onDelete(label)}
>
<IconStop width="14"/>
<IconStop color="--var(--col-bg)" width={14}/>
</div>
</div>

Expand Down
6 changes: 5 additions & 1 deletion frontend/src/lib/search/OrderBy.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@
<Tooltip text="Order by" yOffset={-30}>
<select class="opts font-label" bind:value={selected}>
{#each options as opt}
<option value={opt.label}>{opt.label}</option>
<option value={opt.label}>
{opt.label}
</option>
{/each}
</select>
</Tooltip>
Expand Down Expand Up @@ -109,6 +111,8 @@
select {
height: 2.13rem;
padding-top: .2rem;
padding-left: .5rem;
color: var(--col-text);
background: var(--col-bg);
font-size: 1.05rem;
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/lib/search/SearchBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@
select {
height: 2.13rem;
padding-top: .2rem;
padding-left: .5rem;
color: var(--col-text);
background: var(--col-bg);
font-size: 1.05rem;
Expand Down
1 change: 0 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,6 @@ build mode="release" no-test="do-test" image="ghcr.io/sebadob/rauthy": build-ui
--build-arg="DATABASE_URL={{db_url_sqlite}}" \
--build-arg="FEATURES=default" \
--build-arg="MODE={{mode}}" \
--progress=plain \
--push \
.

Expand Down
6 changes: 3 additions & 3 deletions rauthy-book/src/getting_started/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The image contains a basic default config which is sufficient for local testing.
docker run --rm \
-p 8080:8080 \
--name rauthy \
ghcr.io/sebadob/rauthy:0.22.1-lite
ghcr.io/sebadob/rauthy:0.23.0-lite
```

This will start the container in interactive mode with an in-memory SQLite database. Just take a look at the log at the
Expand All @@ -22,7 +22,7 @@ docker run -d \
-e DATABASE_URL=sqlite:data/rauthy.db \
-p 8080:8080 \
--name rauthy \
ghcr.io/sebadob/rauthy:0.22.1-lite
ghcr.io/sebadob/rauthy:0.23.0-lite
```

```admonish note
Expand Down Expand Up @@ -130,7 +130,7 @@ docker run -d \
-v $(pwd)/rauthy/data:/app/data \
-p 8080:8080 \
--name rauthy \
ghcr.io/sebadob/rauthy:0.22.1-lite
ghcr.io/sebadob/rauthy:0.23.0-lite
```

**6. Restrict DB files access even more**
Expand Down
2 changes: 1 addition & 1 deletion rauthy-book/src/getting_started/k8s.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ spec:
fsGroup: 10001
containers:
- name: rauthy
image: ghcr.io/sebadob/rauthy:0.22.1-lite
image: ghcr.io/sebadob/rauthy:0.23.0-lite
imagePullPolicy: IfNotPresent
securityContext:
# User ID 10001 is actually built into the container at the creation for
Expand Down

0 comments on commit d540a74

Please sign in to comment.