Skip to content

Commit 156eeb3

Browse files
committed
Merge tag '0.3.5'
Hollo 0.3.5
2 parents a603e8f + 60fb797 commit 156eeb3

File tree

6 files changed

+44
-1
lines changed

6 files changed

+44
-1
lines changed

CHANGES.md

+14
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,20 @@ To be released.
3838
[#65]: https://github.com/dahlia/hollo/issues/65
3939

4040

41+
Version 0.3.5
42+
-------------
43+
44+
Released on December 28, 2024.
45+
46+
- Fixed a bug where validation check for the account username had not been
47+
performed correctly. [[#80]]
48+
49+
- Documented the `TZ` environment variable. [[#82]]
50+
51+
[#80]: https://github.com/dahlia/hollo/issues/80
52+
[#82]: https://github.com/dahlia/hollo/issues/82
53+
54+
4155
Version 0.3.4
4256
-------------
4357

docs/src/content/docs/install/env.mdx

+7
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ using the following command:
3131
openssl rand -hex 32
3232
~~~~
3333

34+
### `TZ` <Badge text="Optional" />
35+
36+
The time zone of the application. It has to be a valid time zone identifier,
37+
e.g., `UTC`, `America/New_York`, `Asia/Tokyo`.
38+
39+
`UTC` by default.
40+
3441
### `BEHIND_PROXY` <Badge text="Optional" /> <Badge text="Unused in Railway" variant="tip" />
3542

3643
Set this to `true` if Hollo is behind a reverse proxy. If you place the Hollo

docs/src/content/docs/ja/install/env.mdx

+8
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ PostgreSQLのデータベースのURL。例:`postgresql://hollo:password@local
3131
openssl rand -hex 32
3232
~~~~
3333

34+
### `TZ` <Badge text="オプション" />
35+
36+
アプリケーションの等時帯(time zone)。
37+
有効な等時帯識別子である必要があります。
38+
例:`UTC``America/New_York``Asia/Tokyo`
39+
40+
デフォルトは`UTC`です。
41+
3442
### `BEHIND_PROXY` <Badge text="オプション" /> <Badge text="Railwayでは使われない" variant="tip" />
3543

3644
Holloがリバースプロキシの後ろにある場合は`true`に設定します。

docs/src/content/docs/ko/install/env.mdx

+7
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ PostgreSQL 데이터베이스의 URL. 예: `postgresql://hollo:password@localhos
3131
openssl rand -hex 32
3232
~~~~
3333

34+
### `TZ` <Badge text="선택" />
35+
36+
애플리케이션의 시간대(time zone). 유효한 시간대 식별자여야 합니다.
37+
예: `UTC`, `America/New_York`, `Asia/Seoul`.
38+
39+
기본값은 `UTC`입니다.
40+
3441
### `BEHIND_PROXY` <Badge text="선택" /> <Badge text="Railway에서는 안 쓰임" variant="tip" />
3542

3643
Hollo가 리버스 프록시 뒤에 있는 경우 `true`로 설정하세요.

docs/src/content/docs/zh-cn/install/env.mdx

+7
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ PostgreSQL数据库的URL,例如:`postgresql://hollo:password@localhost/holl
2727
openssl rand -hex 32
2828
~~~~
2929

30+
### `TZ` <Badge text="可选" />
31+
32+
应用程序的时区。
33+
必须是有效的时区标识符,例如:`UTC``America/New_York``Asia/Shanghai`
34+
35+
默认是`UTC`
36+
3037
### `BEHIND_PROXY` <Badge text="可选" /> <Badge text="Railway中未使用" variant="tip" />
3138

3239
如果Hollo在反向代理后面,请将此设置为`true`。如果你将Hollo放在L7负载均衡器后面(通常应该这样做),请开启此选项。

src/components/AccountForm.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export function AccountForm(props: AccountFormProps) {
4040
readOnly={props.readOnly?.username}
4141
value={props.values?.username}
4242
aria-invalid={props.errors?.username != null ? true : undefined}
43-
pattern="^[\\p{L}\\p{N}._\\-]+$"
43+
pattern="^[\p{L}\p{N}._\-]+$"
4444
/>
4545
<small>
4646
{props.errors?.username == null

0 commit comments

Comments
 (0)