hedgeagent/1.12.0 #1

Open
sa6anw wants to merge 201 commits from hedgeagent/1.12.0 into hedgeagent/1.10.5
Showing only changes of commit 9cb00262f6 - Show all commits

View File

@@ -1,5 +1,7 @@
# Release Checklist: # Release Checklist:
To copy this checklist please go to [this link](https://github.com/hedgedoc/hedgedoc/blob/master/docs/content/dev/release_checklist.md).
## Preparations: ## Preparations:
- [ ] Create release PR(s) - [ ] Create release PR(s)
@@ -55,6 +57,23 @@ tar cvzf hedgedoc-x.y.z.tar.gz --sort=name --exclude hedgedoc/node_modules --exc
Use this tar ball to test the following things: Use this tar ball to test the following things:
### bin/scripts
- [ ] `bin/setup`
- [ ] `bin/cleanup`
- [ ] `bin/manage_users`
- [ ] `bin/manage_users --add test@example.com`
- [ ] `bin/manage_users --reset test@example.com`
- [ ] `bin/manage_users --del test@example.com`
- [ ] `bin/migrate_from_fs_to_minio`
1. Clear the uploads directory.
2. Start HedgeDoc 1 with filesystem uploads and a Postgres DB locally.
3. Create a new note and upload an image. The image should be now in the uploads directory.
4. Stop HedgeDoc. Update the config to configure a Minio instance (minio and s3bucket keys in config.json). Ensure the config on the Minio instance is existing (valid access key and secret, bucket existing and empty).
5. Run `bin/migrate_fs_to_minio`.
6. Start the HedgeDoc again. The note with the previously uploaded image should now contain the new image URL. The image should load.
7. Check that the bucket in Minio contains the uploaded image.
### Account system ### Account system
- [ ] User registration works - [ ] User registration works
@@ -222,6 +241,46 @@ opengraph:
- [ ] GitHub - [ ] GitHub
- [ ] Rate-limiting for basic user/password (try to login with e.g. test@example.com and invalid password about 10 to 15 times in a row -> you should receive a message "Too many requests" at some point) - [ ] Rate-limiting for basic user/password (try to login with e.g. test@example.com and invalid password about 10 to 15 times in a row -> you should receive a message "Too many requests" at some point)
### Docker images
You need to clone the [container repo](https://github.com/hedgedoc/container) and use the commands in the root there.
- [ ] debian
```
docker buildx build -f debian/Dockerfile -t hedgedoc-local:1.x.y-debian .
docker run --rm -p 3000:3000 -e CMD_DOMAIN="localhost" -e CMD_URL_ADDPORT=true -e "CMD_DB_URL=sqlite://:memory:" hedgedoc-local:1.x.y-debian
```
The server is then accessable via <http://localhost:3000>. The log should inlcude a line like
```
127.0.0.1 - - [06/Dec/2025:16:17:51 +0000] "GET /_health HTTP/1.1" 200 14 "-" "hedgedoc-container-healthcheck/1.2"
```
You should also check `docker ps` for
```
hedgedoc-local:1.x.y-debian "/usr/local/bin/dock…" 29 seconds ago Up 28 seconds (healthy)
```
- [ ] alpine
```
docker buildx build -f alpine/Dockerfile -t hedgedoc-local:1.x.y-alpine .
docker run --rm -p 3000:3000 -e CMD_DOMAIN="localhost" -e CMD_URL_ADDPORT=true -e "CMD_DB_URL=sqlite://:memory:" hedgedoc-local:1.x.y-alpine
```
The server is then accessable via http://localhost:3000. The log should inlcude a line like
```
127.0.0.1 - - [06/Dec/2025:16:17:51 +0000] "GET /_health HTTP/1.1" 200 14 "-" "hedgedoc-container-healthcheck/1.2"
```
You should also check `docker ps` for
```
hedgedoc-local:1.x.y-alpine "/usr/local/bin/dock…" 29 seconds ago Up 28 seconds (healthy)
```
## Release: ## Release: