85e15396e8
refactor: move misc/fetch-meta.ts to backend-rs
2024-01-25 05:48:38 +09:00
9f4d6a6ed0
chore: remove untracked remnants of native-utils on upgrade
2024-01-25 02:34:06 +09:00
dbb017f3dc
refactor: rename meta columns
2024-01-23 04:21:17 +09:00
96a1b55eb2
refactor: rename backend/native-utils to backend-rs
2024-01-23 01:29:15 +09:00
635200bf93
refactor: remove native-utils/migration
2024-01-22 08:54:24 +09:00
6476b61abc
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
3ce71a58a0
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
b2e6b460b3
refactor: remove NSFW media detection
2024-01-22 00:40:07 +09:00
ffd7337b08
meta: add 20240120_update_will_take_a_long_time
2024-01-20 19:29:30 +09:00
45daf59880
refactor: make database models accesible to napi
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-01-20 05:57:00 +09:00
0bb23cb8db
refactor (backend): drop timezone info from database
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-01-20 04:26:13 +09:00
14008efa3e
dev: create neko/install.sql for db init/migration
2024-01-18 23:41:55 +09:00
92cbc835f7
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
75777c1261
chore: remove (seemingly) unused dependencies
2024-01-18 16:06:46 +09:00
b6da29d785
chore: upgrade dependencies
2024-01-18 16:06:33 +09:00
c0b404e142
refactor: move env.ts to native-utils (partially)
2024-01-18 00:17:23 +09:00
d3200a64c8
refactor: move misc/post.ts to native-utils
...
Co-authored-by: naskya <m@naskya.net>
2024-01-16 03:17:43 +09:00
4b401e189f
refactor: move misc/convert-host.ts to native-utils
2024-01-15 15:42:55 +09:00
54fdcf8263
refactor: move misc/{safe-for-sql, sql-like-escape}.ts to native-utils
2024-01-14 21:51:30 +09:00
99ce36bde0
dev: update Makefile
2024-01-14 20:15:05 +09:00
7a33097c24
refactor: move misc/convert-milliseconds.ts to native-utils
2024-01-14 12:30:47 +09:00
ac4edc4218
refactor: use cfg_attr to enable napi features conditionally
2024-01-14 12:19:32 +09:00
c1492a6c5d
refactor: move misc/acct.ts to native-utils
2024-01-13 20:56:10 +09:00
9488d49208
chore: upgrade dependencies
2024-01-13 14:33:13 +09:00
a3d5fa5027
feat: post search filters
2024-01-10 20:15:39 +09:00
35a7ba78a2
feat: per-user reply mutes
2024-01-10 12:29:50 +09:00
d0a49b8f36
dev: apply patches after git pull
2024-01-10 12:29:12 +09:00
7cbcbfd880
dev: re-run update.sh if the script itself is modified by the update
2024-01-10 10:00:07 +09:00
7f579b488e
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
a031195f0f
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
4682f489aa
dev: 'For Docker users' -> 'For Docker/Podman users'
2024-01-09 11:10:35 +09:00
5ccb4e8049
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
9ea8c80127
dev: refactor update script
2024-01-09 10:23:23 +09:00
da80736d87
chore: upgrade dependencies
2024-01-08 15:16:50 +09:00
74af591238
fix: custom directory doesn't work in containers
2024-01-08 14:58:53 +09:00
b1eb9f3cf6
dev: append first 2 digits of commit hash to version
2024-01-07 16:50:21 +09:00
7f60ef13d0
dev: use sadsay for warnings and some sad reports
2024-01-05 14:41:00 +09:00
13c10f4816
dev (minor): add utility function sadsay
2024-01-05 13:18:25 +09:00
8043605fa3
chore: upgrade pnpm
2024-01-05 10:17:43 +09:00
c6ffeecd1c
dev: support Podman
2024-01-05 08:03:42 +09:00
7fc4540d15
docker: migrate image registry to registry.code.naskya.net
2024-01-04 12:23:05 +09:00
498ded38c0
dev: prefix message filename with timestamp
2024-01-03 07:28:39 +09:00
914ebb9381
chore: upgrade dependencies
2024-01-03 00:54:14 +09:00
bb472bf030
refactor: separate translate function into another file & use deepl-node package
2024-01-02 12:31:50 +09:00
3a87ae7bf7
feat: show changelog on updates
2024-01-02 07:02:52 +09:00
6824eb27b4
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
1f70683093
chore: format message
2023-12-29 18:23:35 +09:00
bd60272aa3
dev: add messages/temp_upgrade_node_to_v21
2023-12-29 17:52:48 +09:00
acb0c3c41e
refactor: remove Meilisearch, Sonic, and Elasticsearch completely
2023-12-29 06:23:17 +09:00
3a6fd98d9e
chore: upgrade dependencies
2023-12-29 05:52:50 +09:00