Commit graph

96 commits

Author SHA1 Message Date
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
21aa6b097b
docker: migrate image registry to registry.code.naskya.net 2024-01-04 12:23:05 +09:00
3a0a2d04f3
dev: prefix message filename with timestamp 2024-01-03 07:28:39 +09:00
23ab5567dd
chore: upgrade dependencies 2024-01-03 00:54:14 +09:00
7f056e729f
refactor: separate translate function into another file & use deepl-node package 2024-01-02 12:31:50 +09:00
7c887421f4
feat: show changelog on updates 2024-01-02 07:02:52 +09:00
3f68e977c6
fix: syntax error when using Node v18-20
https://github.com/swc-project/swc/issues/8392#issuecomment-1849994671
2024-01-01 11:52:01 +09:00
1bf14be63f
chore: format message 2023-12-29 18:23:35 +09:00
f092e4b334
dev: add messages/temp_upgrade_node_to_v21 2023-12-29 17:52:48 +09:00
bf045daaed
refactor: remove Meilisearch, Sonic, and Elasticsearch completely 2023-12-29 06:23:17 +09:00