Skip to content

Commit

Permalink
Merge pull request #19 from sebadob/prepare-0.14.2
Browse files Browse the repository at this point in the history
prepare-0.14.2
  • Loading branch information
sebadob authored Aug 13, 2023
2 parents 2f8a627 + b93c623 commit 2fa49c2
Show file tree
Hide file tree
Showing 19 changed files with 42 additions and 33 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## v0.14.2

- Fix for the new LangSelector component on mobile view
- Add default translations (english) for the PasswordPolicy component for cases when it is used
in a non-translated context
[2f8a627](https://github.com/sebadob/rauthy/commit/2f8a6270f97df075d52507c0aa4e6850e5ef8edc)

## v0.14.1

Bugfix release for the Dockerfiles and Pagination in some places
Expand Down
18 changes: 9 additions & 9 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 @@ -8,7 +8,7 @@ members = [
]

[workspace.package]
version = "0.14.1"
version = "0.14.2"
edition = "2021"
authors = ["Sebastian Dobe <[email protected]>"]
license = "AGPLv3"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.postgres
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /work
# the correct access rights
RUN mkdir data

FROM alpine:3.18.3
FROM scratch

USER 10001:10001

Expand Down
1 change: 0 additions & 1 deletion Dockerfile.sqlite
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ WORKDIR /work
RUN mkdir data

FROM scratch
#FROM alpine:3.18.3

USER 10001:10001

Expand Down
3 changes: 1 addition & 2 deletions Dockerfile.sqlite.debug
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ WORKDIR /work
# the correct access rights
RUN mkdir data

FROM scratch
#FROM alpine:3.18.3
FROM alpine:3.18.3

USER 10001:10001

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ 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 sdobedev/rauthy:0.14.1-lite
docker run --rm -p 8080:8080 sdobedev/rauthy:0.14.2-lite
```

**NOTE:**
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 @@ -152,7 +152,7 @@ <h2 id="testing--local-evaluation"><a class="header" href="#testing--local-evalu
<pre><code>docker run --rm \
-p 8080:8080 \
--name rauthy \
sdobedev/rauthy:0.14.0-lite
sdobedev/rauthy:0.14.2-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 @@ -161,7 +161,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 \
sdobedev/rauthy:0.14.0-lite
sdobedev/rauthy:0.14.2-lite
</code></pre>
<div id="admonition-note" class="admonition note">
<div class="admonition-title">
Expand Down Expand Up @@ -246,7 +246,7 @@ <h2 id="production-setup"><a class="header" href="#production-setup">Production
-v $(pwd)/rauthy/data:/app/data \
-p 8080:8080 \
--name rauthy \
sdobedev/rauthy:0.14.0-lite
sdobedev/rauthy:0.14.2-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 @@ -308,7 +308,7 @@ <h3 id="create-and-apply-the-stateful-set"><a class="header" href="#create-and-a
# hash for the latest version at this
# point. The latest image with the correct hash will always be shown for the
# [Github Releases](https://github.com/sebadob/rauthy/releases)
image: sdobedev/rauthy:0.14.0-lite
image: sdobedev/rauthy:0.14.2-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 @@ -269,7 +269,7 @@ <h2 id="testing--local-evaluation"><a class="header" href="#testing--local-evalu
<pre><code>docker run --rm \
-p 8080:8080 \
--name rauthy \
sdobedev/rauthy:0.14.0-lite
sdobedev/rauthy:0.14.2-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 @@ -278,7 +278,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 \
sdobedev/rauthy:0.14.0-lite
sdobedev/rauthy:0.14.2-lite
</code></pre>
<div id="admonition-note" class="admonition note">
<div class="admonition-title">
Expand Down Expand Up @@ -363,7 +363,7 @@ <h2 id="production-setup"><a class="header" href="#production-setup">Production
-v $(pwd)/rauthy/data:/app/data \
-p 8080:8080 \
--name rauthy \
sdobedev/rauthy:0.14.0-lite
sdobedev/rauthy:0.14.2-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 @@ -535,7 +535,7 @@ <h3 id="create-and-apply-the-stateful-set"><a class="header" href="#create-and-a
# hash for the latest version at this
# point. The latest image with the correct hash will always be shown for the
# [Github Releases](https://github.com/sebadob/rauthy/releases)
image: sdobedev/rauthy:0.14.0-lite
image: sdobedev/rauthy:0.14.2-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.

2 changes: 1 addition & 1 deletion frontend/src/components/account/AccEdit.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
export let t;
export let user = {};
const btnWidth = "11rem";
const btnWidth = "12rem";
const inputWidth = '300px';
let editPwd = false;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lib/LangSelector.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<style>
.absolute {
position: absolute;
top: calc(100dvh - 1.5rem);
left: 0;
bottom: 0;
}
</style>
8 changes: 6 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ run-postgres:
run-ui:
#!/usr/bin/env bash
cd frontend
npm run dev
npm run dev -- --host

# prints out the currently set version
Expand Down Expand Up @@ -193,12 +193,16 @@ release:
#!/usr/bin/env bash
set -euxo pipefail
# make sure git is clean
git diff --quiet || exit 1

git tag "v$TAG"
git push origin "v$TAG"


# publishes the application images - full pipeline incl clippy and testing
publish: build-sqlite build-postgres
#publish: build-sqlite build-postgres
publish:
#!/usr/bin/env bash
set -euxo pipefail
Expand Down
Binary file modified out/rauthy
Binary file not shown.
Binary file modified out/rauthy-lite
Binary file not shown.
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 \
sdobedev/rauthy:0.14.1-lite
sdobedev/rauthy:0.14.2-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 \
sdobedev/rauthy:0.14.1-lite
sdobedev/rauthy:0.14.2-lite
```

```admonish note
Expand Down Expand Up @@ -108,7 +108,7 @@ docker run -d \
-v $(pwd)/rauthy/data:/app/data \
-p 8080:8080 \
--name rauthy \
sdobedev/rauthy:0.14.1-lite
sdobedev/rauthy:0.14.2-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 @@ -196,7 +196,7 @@ spec:
# hash for the latest version at this
# point. The latest image with the correct hash will always be shown for the
# [Github Releases](https://github.com/sebadob/rauthy/releases)
image: sdobedev/rauthy:0.14.1-lite
image: sdobedev/rauthy:0.14.2-lite
imagePullPolicy: IfNotPresent
securityContext:
# User ID 10001 is actually built into the container at the creation for
Expand Down

0 comments on commit 2fa49c2

Please sign in to comment.