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
Lhcfl
44ad4bce32
increase FETCH_LIMIT
2024-04-24 22:21:49 +08:00
Lhcfl
feafaffd12
remove duplicate i18n
2024-04-24 21:40:48 +08:00
Lhcfl
7e9633a36b
feat: fold notifications
2024-04-24 21:33:56 +08: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
Lhcfl
3bed093344
fix: Visible users are not automatically filled when editing
2024-04-24 11:36:56 +08:00
Lhcfl
243adaaa0d
feat: disable visibilityPicker for edit
2024-04-24 11:36:28 +08: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
Lhcfl
a856523119
fix: add slashquote in MkRenoteButton
2024-04-22 09:09:39 +08:00
Lhcfl
83e3f96ced
Merge branch 'develop' of https://firefish.dev/firefish/firefish into feat/slash-quote
2024-04-22 09:01:19 +08:00
Linca
a52340fa53
fix: disable extensions that cannot be used as emojis
2024-04-22 00:31:38 +00: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
naskya
9fef36e80c
chore (backend): add comment
2024-04-22 01:56:34 +09:00
naskya
b4ae877462
chore: format
2024-04-22 01:54:44 +09:00
naskya
2a30b4a536
Revert "refactor (backend): it turns out that sending the entire note object was redundant"
...
This reverts commit 3b65ebcb3e
.
2024-04-22 01:47:56 +09:00
naskya
3039458c4c
chore (backend-rs): config::server::CONFIG -> config::CONFIG
2024-04-22 00:36:06 +09:00
naskya
574d3b3fe5
chore (backend-rs): in the current implementation we need to call to_string() anyway
...
There's room for refactoring
2024-04-22 00:30:59 +09:00
naskya
137d0fe3e5
chore (backend-rs): make variable names clearer
2024-04-22 00:29:37 +09:00
naskya
5c6f1c818a
chore (backend-rs): clean redundant match expression
2024-04-22 00:21:10 +09:00
naskya
2d8f4b945f
chore (backend-rs): remove unneeded serialize derivation for now
2024-04-22 00:17:33 +09:00
naskya
77e6479a67
chore (backend-rs): separate one-to-one/group chat stream types
2024-04-22 00:14:19 +09:00
naskya
ec940bb068
chore (backend-rs): publish -> publish_to_stream
2024-04-21 22:43:09 +09:00
naskya
9b91035a79
chore (backend-rs): remove unneeded reference
2024-04-21 22:40:58 +09:00
naskya
2fa0ca355d
Merge branch 'develop' into redis
2024-04-21 22:25:50 +09:00
Lhcfl
70e4d78f90
Merge branch 'develop' of https://firefish.dev/firefish/firefish into fix/use-pagination-in-note
2024-04-21 11:18:24 +08:00
Lhcfl
1dfc7c443b
fix: Extensions should be converted to lowercase
2024-04-21 11:14:19 +08:00
Lhcfl
3917818c76
fix : #10451 Emoji pack imports randomly stop processing files
2024-04-21 11:05:19 +08:00
naskya
6b008c651a
chore (backend): remove (technically) incorrect TypeORM decorator field
2024-04-21 11:09:18 +09:00
naskya
d2dbfb37c7
chore (backend): reflect entity changes to the schema and repository
2024-04-21 10:59:02 +09:00
naskya
c936102a4c
chore (backend-rs): regenerate entities and index.js/d.ts
2024-04-21 10:45:47 +09:00
naskya
43570a54aa
chore: format
2024-04-21 10:44:54 +09:00
naskya
4d34e14dd8
Merge branch 'develop' into feat/drive-file-usage-hints
2024-04-21 10:42:25 +09:00
naskya
28f7ac1acd
fix (backend): typo
2024-04-21 10:31:00 +09:00
naskya
9f3396af21
chore (backend): translate Japanese comments into English
2024-04-21 10:30:13 +09:00
mei23
dc02a07774
fix (backend): add Cache-Control to Bull Dashboard
2024-04-21 09:29:00 +09:00
naskya
2760e7feee
chore (minor): use ** in lieu of Math.pow
2024-04-21 06:40:53 +09:00
naskya
488323cc8e
chore: format
2024-04-21 05:57:05 +09:00
naskya
3b65ebcb3e
refactor (backend): it turns out that sending the entire note object was redundant
2024-04-21 05:55:45 +09:00
naskya
6349705fb2
test (backend-rs): add db connection tests
2024-04-21 00:48:03 +09:00
Lhcfl
4e20fe589d
fix: style may be missing in mobile mode
2024-04-20 22:29:55 +08:00
naskya
b08175fb83
Merge branch 'develop' into redis
2024-04-20 23:15:58 +09:00
Lhcfl
e5e2eedfb4
fix: Some SubNote incorrectly added replies
2024-04-20 22:04:25 +08:00
naskya
a2699e6687
chore (backend): fix imports
2024-04-20 23:04:12 +09:00
Lhcfl
39a229b875
fix: use MkPagination for replies
2024-04-20 20:55:47 +08:00
Lhcfl
35c7dccb49
fix: use MkPagination in notes for Quote, Boost, Reaction
2024-04-20 15:56:13 +08:00
naskya
77ded03330
Merge branch 'develop' into redis
2024-04-20 10:17:11 +09:00
naskya
dd3ad89b64
Merge branch 'refactor/types' into 'develop'
...
revert unnecessary MaybeRef in components
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
See merge request firefish/firefish!10751
2024-04-20 01:07:25 +00:00
naskya
4fb2cab617
Merge branch 'fix/emoji-picker' into 'develop'
...
fix: use settings from reactionPicker for non-reaction emoji picker
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
Closes #10905
See merge request firefish/firefish!10752
2024-04-20 01:06:53 +00:00
naskya
2b0668dacd
fix (backend-rs): Redis streaming
2024-04-20 09:54:02 +09:00
naskya
f13df7e202
chore (backend-rs): make entities deserializable
2024-04-20 09:27:58 +09:00
naskya
f33c7c6c94
fix (backend): host and hostname was messed up
2024-04-20 08:48:48 +09:00
naskya
d41b462a89
fix (backend): fix redis key prefix
2024-04-20 07:43:09 +09:00
naskya
ccbd6178e4
refactor (backend): port add-note-to-antenna to backend-rs
...
I hit this bug: https://github.com/napi-rs/napi-rs/issues/2060
2024-04-20 07:18:39 +09:00
naskya
f486caf244
fix (backend-rs): use correct Redis key prefix
2024-04-20 06:53:45 +09:00
naskya
b017f9ce94
fix (backend-rs): use cache server if present
2024-04-20 06:53:34 +09:00
naskya
b157cbe79a
chore (backend-rs): make entities serializable
2024-04-20 04:41:47 +09:00
naskya
5c4a773ecf
chore (backend): qualify Node.js builtin modules
2024-04-20 03:09:18 +09:00
naskya
ccb17977c3
chore (minor, backend): use type import
2024-04-20 03:08:35 +09:00
naskya
def62ff1ce
chore (minor, backend): remove unused import
2024-04-20 03:04:34 +09:00
naskya
56038b174d
fix (backend): correct import path
2024-04-20 03:01:13 +09:00
naskya
037b7950a2
refactor (backend): clean the booting process a bit
2024-04-20 02:58:39 +09:00
naskya
e82a07c03d
dev (backend-rs): make backend-rs accessible to Redis
2024-04-20 02:47:32 +09:00
naskya
e60898b4b0
refactor (backend-rs): separate postgresql connector from database/mod.rs
2024-04-20 02:46:44 +09:00
naskya
3b89a8bfa6
refactor (backend): port config loader to backend-rs completely
2024-04-20 02:46:37 +09:00
Lhcfl
207855b0e8
fix: use settings from reactionPicker for non-reaction emoji picker
2024-04-20 01:05:30 +08:00
Lhcfl
781c98dda7
revert unnecessary .value
for MkLink
2024-04-20 00:18:36 +08:00
Lhcfl
ab221c98a7
revert unnecessary MaybeRef in components
2024-04-20 00:05:37 +08:00
yumeko
6c46bb56fd
Switch DriveFile's usageHint field to an enum type
2024-04-19 18:24:48 +03:00
naskya
1be5373dfc
chore (backend-rs): make exported enum compatible w/ TypeScript's string enum
2024-04-19 21:59:35 +09:00
yumeko
968657d26e
Run format
2024-04-19 07:54:11 +03:00
yumeko
913de651db
When updating (remote) user avatar/banner, clear usageHint for the previous drivefile, if any
2024-04-19 07:25:42 +03:00
yumeko
4aeb0d95cc
Add DriveFile usageHint field to rust model as well
2024-04-19 07:03:09 +03:00
yumeko
c0f93de94b
Set file usage hints on local avatar/banner uploads as well + export "valid" values as type
2024-04-19 06:29:28 +03:00
yumeko
4823abd3a9
Add usageHint field to DriveFile, and fill accordingly when operating on Persons
2024-04-19 03:41:36 +03:00
naskya
c6e2776298
chore (backend): remove a horrible and unused function
2024-04-19 03:42:49 +09:00
naskya
4b7724ed1f
Merge branch 'cw-text' into 'develop'
...
Increase CW character limit
Closes #10876
See merge request firefish/firefish!10746
2024-04-17 20:47:40 +00:00
naskya
9d87679800
chore: lint
2024-04-18 05:34:23 +09:00
naskya
78092cd4be
dev (client): update eslint rules
2024-04-18 05:32:42 +09:00
naskya
ff08d044b5
chore: format
2024-04-18 05:22:54 +09:00
naskya
1b076c96d7
Merge branch 'develop' into refactor/types
2024-04-18 05:10:20 +09:00
naskya
c19c439ac1
fix (backend): add hasPoll to packed note
2024-04-18 05:08:14 +09:00
naskya
cc452da6c5
Merge branch 'develop' into refactor/types
2024-04-18 05:03:32 +09:00
naskya
30969ad817
refactor (backend): port get-note-summary to backend-rs
...
I removed trim() as it wasn't strictly neccessary
2024-04-18 05:02:00 +09:00
naskya
8337863ed3
chore: format
2024-04-18 05:01:49 +09:00
naskya
6a94d1b65d
Merge branch 'fix/server-stats-disable' into 'develop'
...
Fix check for whether stats are disabled in meta in server machine stats job
Co-authored-by: yumeko <yumeko@mainichi.social>
See merge request firefish/firefish!10748
2024-04-17 18:20:35 +00:00
naskya
c471aa30ae
Merge branch 'fix/pinned-user-null' into 'develop'
...
Fix internal error in api/pinned-users if one or more name fails to resolve
Co-authored-by: yumeko <yumeko@mainichi.social>
See merge request firefish/firefish!10747
2024-04-17 18:19:17 +00:00
yumeko
a411f4e4d9
Fix internal error in api/pinned-users if one or more name fails to resolve
2024-04-17 18:19:17 +00:00
naskya
adaaae1583
Merge branch 'develop' into refactor/types
2024-04-17 19:07:43 +09:00
naskya
8489066130
fix (client): list layout on mobile
2024-04-17 19:06:29 +09:00
naskya
17fb05430e
fix (backend, Mastodon API): add 'meta.original' field to media attachments
...
addresses https://github.com/whitescent/Mastify/pull/102
2024-04-17 17:46:23 +09:00
yumeko
bf3c0717b9
Fix check for whether stats are disabled in meta in server machine stats job
2024-04-16 15:29:18 +00:00
naskya
082948bfe0
Merge branch 'develop' into refactor/types
2024-04-16 22:29:04 +09:00
naskya
07384a4f0f
feat (backend): increase CW character limit ( close #10876 )
2024-04-16 09:14:44 +09:00
naskya
fd333250c9
chore (backend): set proxyRemoteFiles to true by default ( close #9426 )
2024-04-16 08:56:05 +09:00
naskya
80b80277e2
fix (pug): random MOTD not showing
2024-04-16 01:50:42 +09:00
naskya
71c158fbd3
refactor (backend): port env.ts to backend-rs
2024-04-15 17:28:20 +09:00
Lhcfl
a07483996e
feat: add slash quote
2024-04-15 15:12:51 +08:00
naskya
0f3126196f
refactor (backend): port reaction-lib to backend-rs
2024-04-15 10:02:44 +09:00
naskya
2731003bc9
refactor (backend): port emoji-regex to backend-rs
2024-04-15 05:37:09 +09:00
naskya
74875f174b
chore (minor, backend): use a template literal
2024-04-15 04:34:36 +09:00
naskya
884c69f377
chore (minor, backend): organize imports
2024-04-15 04:34:00 +09:00
naskya
f412d7ace3
chore (backend): remove 'quiet' settings
2024-04-15 04:31:04 +09:00
naskya
eb5dccacfe
chore (firefish-js): remove bun lockfile
...
Why is it there?
2024-04-15 04:18:44 +09:00
naskya
21225f7137
chore: update dependencies
2024-04-15 04:09:33 +09:00
naskya
fca48b2a81
refactor (backend): port safe-for-sql, sql-like-escape to backend-rs
2024-04-14 20:29:44 +09:00
sup39
b71da18b03
refactor (backend): port fetch-meta to backend-rs
...
Co-authored-by: naskya <m@naskya.net>
2024-04-14 20:16:22 +09:00
Lhcfl
241c824ab5
fix: use better ]]>
replacer
2024-04-14 16:44:12 +08:00
Lhcfl
54d9916fec
fix: rss feed no HTML
2024-04-14 16:34:33 +08:00
Lhcfl
f0a50bc288
feat: show MkRemoteCaution in note history page
2024-04-14 13:59:27 +08:00