Merge branch 'develop' into iceshrimp_mastodon

This commit is contained in:
naskya 2024-06-30 00:10:22 +09:00
commit aa02c60ef3
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C
6 changed files with 66 additions and 6 deletions

View file

@ -2,22 +2,25 @@
Critical security updates are indicated by the :warning: icon.
- Server administrators should check [notice-for-admins.md](./notice-for-admins.md) as well.
- Server administrators must check [notice-for-admins.md](./notice-for-admins.md) as well.
- Third-party client/bot developers may want to check [api-change.md](./api-change.md) as well.
## Unreleased
- Ported Mastodon API support from Iceshrimp, with added Firefish extensions including push notifications, post languages, schedule post support, and more.
- The old Mastodon API has been replaced with a new implementation based on Iceshrimps.
- Add ability to automatically append #Alt4Me hashtag when posting a file without an alt text ([What is #Alt4Me?](https://social.growyourown.services/@FediTips/112055775451305236))
- Fix a build issue on some aarch64 environments
- Fix bugs
**Breaking changes:**
- The new Mastodon API uses a new format to manage Mastodon sessions in the database, whereas old implementation uses Misskey sessions. All previous client app and token registrations will not work with the new API. All clients need to be re-registered and all users need to re-authenticate.
- All IDs (of statuses/notes, notifications, users, etc.) will be using the alphanumerical format, aligning with the Firefish/Misskey API. The old numerical IDs will not work when queried against the new API.
## [v20240630](https://firefish.dev/firefish/firefish/-/merge_requests/11072/commits)
- Add ability to automatically append #Alt4Me hashtag when posting a file without an alt text ([What is #Alt4Me?](https://social.growyourown.services/@FediTips/112055775451305236))
- Fix a build issue on some environments
- Fix bugs
## [v20240623](https://firefish.dev/firefish/firefish/-/merge_requests/11049/commits)
- Fix bugs

View file

@ -29,6 +29,56 @@ Firefish depends on the following software.
This document shows an example procedure for installing these dependencies and Firefish on Debian 12. Note that there is much room for customizing the server setup; this document merely demonstrates a simple installation.
### Install on non-Linux systems
We don't test Firefish on non-Linux systems, so please install Firefish on such an environment **only if you can address any problems yourself**. There is absolutely no support. That said, it is possible to install Firefish on some non-Linux systems.
<details>
<summary>Possible setup on FreeBSD (as of version `20240630`)</summary>
You can install Firefish on FreeBSD by adding these extra steps to the standard instructions:
1. Install `vips` package
2. Add the following block to [`package.json`](../package.json)
```json
"pnpm": {
"overrides": {
"rollup": "npm:@rollup/wasm-node@4.17.2"
}
}
```
3. Create an rc script for Firefish
```sh
#!/bin/sh
# PROVIDE: firefish
# REQUIRE: DAEMON redis caddy postgresql
# KEYWORD: shutdown
. /etc/rc.subr
name=firefish
rcvar=firefish_enable
desc="Firefish daemon"
load_rc_config ${name}
: ${firefish_chdir:="/path/to/firefish/local/repository"}
: ${firefish_env:="npm_config_cache=/tmp NODE_ENV=production NODE_OPTIONS=--max-old-space-size=3072"}
pidfile="/var/run/${name}.pid"
command=/usr/sbin/daemon
command_args="-f -S -u firefish -P ${pidfile} /usr/local/bin/pnpm run start"
run_rc_command "$1"
```
</details>
Please let us know if you deployed Firefish on a curious environment :smile:
### Use Docker/Podman containers
If you want to use the pre-built container image, please refer to [`install-container.md`](./install-container.md).

View file

@ -2321,3 +2321,6 @@ scheduledDate: Publica el
scheduledPost: Programa aquesta publicació
scheduledPostAt: Aquesta publicació s'enviarà {time}
cancelScheduledPost: Elimina la planificació
addAlt4MeTag: "Afegeix automàticament l'etiqueta #Alt4Me a les teves publicacions
que tinguin un fitxer adjunt sense descripció"
strongPassword: Bona contrasenya

View file

@ -2339,3 +2339,5 @@ scheduledPostAt: Der Beitrag wird {time} gesendet
cancelScheduledPost: Zeitplan entfernen
media: Medien
slashQuote: Kettenzitat
addAlt4MeTag: 'Automatisch den Hashtag #Alt4Me am Ende deines Beitrags einfügen, wenn
eine angehängte Datei keine Beschreibung hat'

View file

@ -466,7 +466,7 @@ tooShort: "短すぎます"
tooLong: "長すぎます"
weakPassword: "弱いパスワード"
normalPassword: "普通のパスワード"
veryStrongPassword: "強いパスワード"
veryStrongPassword: "とても強いパスワード"
passwordMatched: "一致しました"
passwordNotMatched: "一致していません"
signinWith: "{x}でログイン"
@ -2088,3 +2088,5 @@ scheduledPost: 予約投稿
scheduledDate: 予定日
cancelScheduledPost: 予約を解除する
scheduledPostAt: '{time}に投稿されます'
strongPassword: 強いパスワード
addAlt4MeTag: '説明の無いファイルを投稿する際に自動で #Alt4Me のハッシュタグをつける'

View file

@ -1,6 +1,6 @@
{
"name": "firefish",
"version": "20240623",
"version": "20240630",
"repository": {
"type": "git",
"url": "https://firefish.dev/firefish/firefish.git"