45b0223d30
fix (backend): incorrect database index
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-02-28 23:21:04 +09:00
949084e218
feat: search posts by cw and alt texts
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-02-26 02:48:45 +09:00
dc9531322a
meta: update versioning format
2024-02-22 06:42:21 +09:00
10c0dee522
chore: update lockfile
2024-02-07 19:03:33 +09:00
18aeeaabd2
dev: create virtual rust workspace in the repository root
...
Co-authored-by: naskya <m@naskya.net>
2024-01-31 19:32:56 +09:00
1f37c0c5a3
refactor: move misc/check-word-mute.ts to backend-rs
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-01-31 13:34:11 +09:00
4b48d52504
refactor: move misc/password.ts to backend-rs
2024-01-29 03:18:55 +09:00
fe051e8207
refactor: move misc/nyaify.ts to backend-rs
2024-01-27 06:48:10 +09:00
0365d2d337
dev (minor): refactor patch.sh
2024-01-26 11:20:10 +09:00
bf75da4f95
refactor: move misc/count-same-renotes.ts to backend-rs
2024-01-26 11:03:00 +09:00
79af7b0eae
refactor: move misc/fetch-meta.ts to backend-rs
2024-01-25 05:48:38 +09:00
50b822d103
chore: remove untracked remnants of native-utils on upgrade
2024-01-25 02:34:06 +09:00
1fca25a8b2
refactor: rename meta columns
2024-01-23 04:21:17 +09:00
01e8ae37f8
refactor: rename backend/native-utils to backend-rs
2024-01-23 01:29:15 +09:00
38e9e21d60
refactor: remove native-utils/migration
2024-01-22 08:54:24 +09:00
cbf8fd9f20
migration: delete original migrations from the 'migrations' table when reverting
...
Co-authored-by: naskya <m@naskya.net>
2024-01-22 07:23:29 +09:00
9cfe11e7a0
migration: wrap the revert SQL queries in BEGIN; and COMMIT;
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-01-22 07:22:29 +09:00
261b8e6218
refactor: remove NSFW media detection
2024-01-22 00:40:07 +09:00
78d48ed021
meta: add 20240120_update_will_take_a_long_time
2024-01-20 19:29:30 +09:00
93b7396990
refactor: make database models accesible to napi
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-01-20 05:57:00 +09:00
3bc2b7bcfb
refactor (backend): drop timezone info from database
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-01-20 04:26:13 +09:00
79fa164f3b
dev: create neko/install.sql for db init/migration
2024-01-18 23:41:55 +09:00
f504c4baab
chore: restore pnpm-lock.yaml to the repository root
...
Thanks to @sup39@post.sup39.dev, my forge web site is now able to
display large files properly, and this workaround is no longer needed.
2024-01-18 23:41:55 +09:00
3091581b67
chore: remove (seemingly) unused dependencies
2024-01-18 13:44:06 +09:00
9a8564a78e
chore: upgrade dependencies
2024-01-18 12:45:16 +09:00
c4c9041222
refactor: move env.ts to native-utils (partially)
2024-01-18 00:11:42 +09:00
d6dd6ff897
refactor: move misc/post.ts to native-utils
...
Co-authored-by: naskya <m@naskya.net>
2024-01-16 03:17:43 +09:00
c1e0186e7b
refactor: move misc/convert-host.ts to native-utils
2024-01-15 15:42:55 +09:00
825eef74aa
refactor: move misc/{safe-for-sql, sql-like-escape}.ts to native-utils
2024-01-14 21:51:30 +09:00
fcccf2eb29
dev: update Makefile
2024-01-14 20:15:05 +09:00
6bfe6066db
refactor: move misc/convert-milliseconds.ts to native-utils
2024-01-14 12:30:47 +09:00
26cd2a68da
refactor: use cfg_attr to enable napi features conditionally
2024-01-14 12:19:32 +09:00
7c93e1a91a
refactor: move misc/acct.ts to native-utils
2024-01-13 20:56:10 +09:00
7787205358
chore: upgrade dependencies
2024-01-13 14:33:13 +09:00
0d931225bb
feat: post search filters
2024-01-10 20:15:39 +09:00
233685f3fa
feat: per-user reply mutes
2024-01-10 12:29:50 +09:00
e02670bfb0
dev: apply patches after git pull
2024-01-10 12:29:12 +09:00
350161974f
dev: re-run update.sh if the script itself is modified by the update
2024-01-10 10:00:07 +09:00
8d281982ac
dev: add ability to pass --server-is-stopped to update.sh
...
This enables (semi-)automated upgrading:
```sh
sudo systemctl stop firefish.service
./update.sh --native --server-is-stopped
sudo systemctl start firefish.service
```
see also: d14bc4fb13
2024-01-09 19:53:36 +09:00
d14bc4fb13
dev: rename --skip-all-confirmations to --install
...
This option is meant to be used only for the first build,
where users follow the installation/migration
instructions and prepare the necessary things like PGroonga
and it's safe to skip previous notes.
Skipping 'Did you stop your server?' in normal
updates should be done with another option,
which will be added accordingly.
2024-01-09 19:52:01 +09:00
49f956243f
dev: 'For Docker users' -> 'For Docker/Podman users'
2024-01-09 11:10:35 +09:00
ddbf884cb5
dev: add ability to pass --docker, --podman, or --native to update.sh
...
passing more than one of these flags is not expected
2024-01-09 10:50:34 +09:00
0a29467541
dev: refactor update script
2024-01-09 10:23:23 +09:00
be726a45f9
chore: upgrade dependencies
2024-01-08 15:16:50 +09:00
bd00d121cb
fix: custom directory doesn't work in containers
2024-01-08 14:58:53 +09:00
41b25228df
dev: append first 2 digits of commit hash to version
2024-01-07 16:50:21 +09:00
d12b7cb941
dev: use sadsay for warnings and some sad reports
2024-01-05 14:41:00 +09:00
17598c2248
dev (minor): add utility function sadsay
2024-01-05 13:18:25 +09:00
5307338de9
chore: upgrade pnpm
2024-01-05 10:17:43 +09:00
d7d9e3c323
dev: support Podman
2024-01-05 08:03:42 +09:00