Commit graph

5663 commits

Author SHA1 Message Date
naskya
24e6e31b2b
fix (backend): update note_file table by post imports 2024-04-25 08:22:30 +09:00
naskya
7441f0861a
fix (backend): fix order of logger initialization 2024-04-25 08:15:40 +09:00
naskya
a2316b7caf
chore (backend): move SQL query logs to trace level (#10907) 2024-04-25 08:05:45 +09:00
naskya
322b2392de
chore (backend): revise queue logs (#10907) 2024-04-25 08:03:53 +09:00
naskya
bf9ab9c1ca
chore (backend-rs): add logs 2024-04-25 07:03:48 +09:00
naskya
339cbac191
chore (backend-rs): remove unneeded conversion 2024-04-25 03:10:51 +09:00
naskya
bb5349d127
chore (client): use plural 2024-04-25 03:04:59 +09:00
naskya
eac0c1c47c
refactor (backend): revise log levels
* Add logging in backend-rs
* Change log levels to 'error', 'warning', 'info', 'debug', 'trace'
* Add `maxLogLevel` config and deprecate `logLevels`
* Move SQL queries to 'trace' level
2024-04-25 02:22:49 +09:00
老周部落
dbad2a485f
fix: user menu not display to guest because of 'id' not exist 2024-04-24 19:29:24 +08:00
Linca
71e4621e26 fix: Replying to a post sometimes doesn't increase post's reply count
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-04-24 06:02:37 +00:00
naskya
cc37177bb5
fix (backend-rs): use server's local time 2024-04-24 13:43:18 +09:00
naskya
109884f6d8
refactor (backend): port note watch/unwatch to backend-rs 2024-04-24 13:23:27 +09:00
naskya
879d499486
refactor (backend-rs): never throw an error on ID generation 2024-04-24 07:37:16 +09:00
naskya
9db729d734
refactor (backend-rs): separate gen_id and gen_id_at 2024-04-24 07:02:06 +09:00
naskya
a2958f6da8
refactor (backend): port daemons/janitor.ts to backend-rs 2024-04-24 06:39:40 +09:00
naskya
9ef5350a00
chore (backend): remove promisify 2024-04-24 05:19:03 +09:00
naskya
e8b39be387
chore (backend): remove unused function 2024-04-24 05:01:35 +09:00
naskya
88280e3bfd
refactor (backend): port publishMessagingStream to backend-rs 2024-04-24 04:13:29 +09:00
naskya
ee04e30f25
chore (backend-rs): remove unused stuff
it should be reworked
2024-04-24 03:01:47 +09:00
naskya
9eccdba075
chore (backend-rs): move add_note_to_antenna to misc 2024-04-24 00:23:13 +09:00
naskya
cac438b965 Merge branch 'fix/use-pagination-in-note' into 'develop'
fix: use pagination in note

Co-authored-by: Lhcfl <Lhcfl@outlook.com>

Closes #10906

See merge request firefish/firefish!10754
2024-04-23 14:59:40 +00:00
naskya
50b7c71ed6
chore (backend): use type import 2024-04-23 23:56:34 +09:00
老周部落
6a0ad409cd
fix: authorize-follow not working due to redeclare 'acct' 2024-04-23 20:07:52 +08:00
Lhcfl
4bb97f2a3c Merge branch 'develop' of https://firefish.dev/firefish/firefish into fix/use-pagination-in-note 2024-04-23 10:45:50 +08:00
naskya
d9e46f7fa6 Merge branch 'refactor/isSignedIn' into 'develop'
refactor: make isSignedIn a function

Co-authored-by: Lhcfl <Lhcfl@outlook.com>

See merge request firefish/firefish!10758
2024-04-22 18:10:00 +00:00
naskya
c6d0fe52d2
chore (client): remove unnecessary non-null assertions 2024-04-22 22:44:43 +09:00
naskya
08926ceb8c
dev (backend-rs): add basic Redis cache setter/getter 2024-04-22 21:56:38 +09:00
Lhcfl
a49f9c33ef chore: format 2024-04-22 11:02:35 +08:00
Lhcfl
29da813170 fix typo 2024-04-22 10:54:16 +08:00
Lhcfl
c5a344c2a0 refactor: make isSignedIn a function 2024-04-22 10:36:02 +08:00
naskya
9acd130a22
chore (backend): update meta cache every 5 mins 2024-04-22 08:57:00 +09:00
naskya
0c1e7cdd72
refactor (backend): port should-block-instance to backend-rs 2024-04-22 08:31:28 +09:00
naskya
cbd15fb2ca Merge branch 'redis' into 'develop'
Make Redis accessible from backend-rs


See merge request firefish/firefish!10753
2024-04-21 22:23:29 +00:00
naskya
9ced0d96ad
chore (client): don't make a new post as soon as you add descriptions 2024-04-22 07:20:07 +09:00
naskya
9a4988eaad
chore (client): fix type errors 2024-04-22 07:14:56 +09:00
naskya
23ec206aee
Merge branch 'develop' into feat/alt_warning 2024-04-22 06:59:58 +09:00
naskya
07444ae7c1
Merge branch 'develop' into redis 2024-04-22 06:42:53 +09:00
naskya
280dddf464 Merge branch 'fix/download-url-agent' into 'develop'
fix: download-url should use proxy bypass hosts

Co-authored-by: 老周部落 <laozhoubuluo@gmail.com>

See merge request firefish/firefish!10739
2024-04-21 21:27:55 +00:00
naskya
1347c6ff04
Merge branch 'develop' into redis 2024-04-22 06:23:17 +09:00
naskya
ebaefb9697
chore (minor, client): remove redundant attribute 2024-04-22 06:02:08 +09:00
naskya
d9982a0b6a
Merge branch 'develop' into feat/show-MkRemoteCaution-in-history 2024-04-22 06:01:19 +09:00
naskya
0cb2e94d99 Merge branch 'fix/feed' into 'develop'
fix: notes in rss feed do not display HTML

Co-authored-by: Lhcfl <Lhcfl@outlook.com>

See merge request firefish/firefish!10744
2024-04-21 21:00:18 +00:00
naskya
78b6228b3c
Merge branch 'develop' into fix/use-pagination-in-note 2024-04-22 05:58:55 +09:00
naskya
c4658801aa
chore: regenerate entities 2024-04-22 05:54:32 +09:00
naskya
a107d8c1ec
fix (backend): update import 2024-04-22 05:52:56 +09:00
naskya
4c91e8e37f
Merge branch 'develop' into feat/antenna_limit 2024-04-22 05:51:22 +09:00
naskya
8140694a31
chore (backend): add comment 2024-04-22 05:47:22 +09:00
naskya
509690d84d
chore: meRenoteCount -> myRenoteCount 2024-04-22 05:43:58 +09:00
naskya
dc53447fa3
chore (API): we still use the word 'renote' in our code/API 2024-04-22 05:42:40 +09:00
naskya
0c9dc92f07
fix (backend-rs): use hostname for Redis key prefix and host for Redis streams
I suspect this is a bug, but I keep this behavior for compatibility for now
2024-04-22 05:16:14 +09:00