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
naskya
ceca260c92
refactor (backend): port convert-milliseconds to backend-rs
2024-04-14 14:54:32 +09:00
sup39
70aa3704ef
refactor (backend): port password hashing/verification to backend-rs
...
Co-authored-by: naskya <m@naskya.net>
2024-04-14 14:41:01 +09:00
naskya
19b45866c8
docs: update packages/README.md
2024-04-14 13:35:35 +09:00
Lhcfl
8a62bf90f5
fix: MkMenu.vue
2024-04-14 03:42:30 +08:00
Lhcfl
cee3a13f51
fix types
2024-04-14 03:15:31 +08:00
Lhcfl
1a6ba246f2
add other FormInput
2024-04-13 23:21:31 +08:00
Lhcfl
16880b1231
fix types
2024-04-13 23:08:58 +08:00
Lhcfl
3e43819ba1
rewrite MkFormDialog
2024-04-13 23:08:46 +08:00
Lhcfl
bb9a58ce34
Merge branch 'develop' of https://firefish.dev/firefish/firefish into refactor/types
2024-04-13 20:08:41 +08:00
naskya
ad58ae8f30
refactor: remove /api/patrons endpoint
2024-04-13 20:03:02 +09:00
naskya
799ad1f3f8
dev (minor, backend-rs): format Makefile
2024-04-13 19:49:36 +09:00
naskya
d57c9dc289
fix (client): set displayMode to true for block math expressions
2024-04-13 19:48:35 +09:00
Lhcfl
baba86a203
Downgrade vue-tsc
...
new versions of vue-tsc have perfomance issues:
see https://github.com/vuejs/language-tools/issues/4223
2024-04-13 17:55:40 +08:00
Lhcfl
f95e2d1c51
Merge branch 'develop' of https://firefish.dev/firefish/firefish into refactor/types
2024-04-13 15:39:44 +08:00
Lhcfl
2b88ef18a5
fix type errors of components
2024-04-13 15:37:23 +08:00
老周部落
5eff4da27b
feat: antenna limit
2024-04-13 10:02:32 +08:00
老周部落
f44a2937d4
fix: download-url should use proxy bypass hosts
2024-04-13 09:00:08 +08:00
naskya
64581d2088
chore (backend-rs): add serde attribute
...
This is redundant though
2024-04-13 00:02:07 +09:00
Lhcfl
393ab2590d
fix type errors of components
2024-04-12 22:02:03 +08:00
sup39
99b8a40566
fix (backend-rs): selected texts may be None in check_word_mute
...
Co-authored-by: naskya <m@naskya.net>
2024-04-12 22:32:42 +09:00
naskya
603ec70b97
refactor (backend-rs): rewrite Mastodon ID conversion
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 21:48:55 +09:00
Lhcfl
f422842aef
use Number.parseInt
2024-04-12 16:55:34 +08:00
Lhcfl
e4927c9b9b
fix types of components
2024-04-12 16:37:32 +08:00
naskya
35ca75bfe5
chore (backend-rs): use pretty_assertions in unit tests
2024-04-12 17:18:39 +09:00
naskya
148c3736ce
refactor (backend): port convert-host to backend-rs
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 17:13:57 +09:00
naskya
3d6031dca3
chore: get rid of re2 from dependencies
2024-04-12 15:47:04 +09:00
naskya
83c15b1026
refactor (backend): port checkWordMute to backend-rs
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 15:43:17 +09:00
Lhcfl
ea6ef881c2
fix types of components
2024-04-12 14:08:20 +08:00
sup39
0cfa85197d
refactor (backend-rs): rewrite the function to get db connection
...
Co-authored-by: naskya <m@naskya.net>
2024-04-12 14:38:44 +09:00
naskya
e2cd25ea4f
refactor (backend): port config loader to backend-rs
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 14:25:27 +09:00
Lhcfl
2bf51abc12
fix type of MkModalPageWindow
2024-04-12 11:31:11 +08:00
sup39
3e32fc7b04
feat (macro-rs): add macro_rs::export macro
...
Co-authored-by: naskya <m@naskya.net>
2024-04-12 12:28:27 +09:00
naskya
08bea415c9
chore (backend-rs): track index.d.ts
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 12:28:21 +09:00
Lhcfl
5da03666b2
fix types of component
2024-04-12 11:16:26 +08:00
sup39
9592b88e52
feat (macro-rs): set use_nullable = true
for object
and constructor
by default
2024-04-12 11:54:21 +09:00
naskya
8926d86ab8
chore (backend-rs): remove impl_into_napi_error macro
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 11:54:20 +09:00
naskya
6b812fb30b
chore: lint
2024-04-12 11:54:20 +09:00
naskya
0335a353e8
dev: update format/lint scripts
2024-04-12 11:54:14 +09:00
naskya
ad30d16f23
chore (backend): remove unused file
2024-04-12 11:10:52 +09:00
naskya
452e0b921c
refactor (backend): port acct to backend-rs
2024-04-12 11:10:52 +09:00
naskya
beb16ab9cf
refactor (backend): port nyaify to backend-rs
2024-04-12 11:10:42 +09:00
Lhcfl
f3b189a70c
refactor: rewrite MkMediaCaption
2024-04-12 09:46:04 +08:00
Lhcfl
95b91c6396
chore: remove unused type imports
2024-04-12 09:40:34 +08:00
Lhcfl
9c75dd0b26
refactor: define more cleared type of os.ts
2024-04-12 09:33:27 +08:00
naskya
0b90a7daaf
refactor (backend-rs): use macro_rs::napi
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 05:20:55 +09:00
naskya
f60ff2eaf4
refactor (backend-rs): rewrite id generator
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 05:20:45 +09:00
sup39
186919aac3
feat (macro-rs): handle macro attr
2024-04-12 05:20:41 +09:00
sup39
2ba60a3b40
feat (macro-rs): convert &[T]
to Vec<T>
2024-04-12 05:20:02 +09:00
sup39
b6b07d562c
feat (macro-rs): handle async fn
2024-04-12 05:19:39 +09:00
sup39
c231bf43cb
feat (macro-rs): convert Result<T, E> return type to napi::Result<T>
2024-04-12 05:19:26 +09:00
sup39
5d2238a266
fix (macro-rs): use cfg
instead of cfg_attr
2024-04-12 05:18:14 +09:00
sup39
8b6e300d4e
feat (macro-rs): create macro_rs::napi macro
2024-04-12 05:17:02 +09:00
naskya
0491e11a9e
refactor: create virtual rust workspace in the repository root
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 03:24:13 +09:00
naskya
3fe8ace571
chore: update dependencies
2024-04-12 02:55:27 +09:00
naskya
afc57d834c
fix (backend): add missing Relation wrapper
...
should have done in aedf873248
2024-04-12 02:42:17 +09:00
Lhcfl
38668c4c11
fix type errors
2024-04-12 01:32:04 +08:00
naskya
24f79d4796
fix (backend): prevent chat messages from being deleted when attached file is deleted
2024-04-12 02:26:00 +09:00
Lhcfl
e6b7eca775
fix type errors of components
2024-04-12 01:12:18 +08:00
Lhcfl
8e28f0e97c
Merge branch 'develop' of https://firefish.dev/firefish/firefish into refactor/types
2024-04-12 00:23:21 +08:00
Lhcfl
d8b4eb6f5e
fix: gallery posts not show & fix types
2024-04-12 00:22:49 +08:00
Lhcfl
ef94ba1474
refactor: fix type errrors of some components
2024-04-12 00:20:51 +08:00
naskya
69b93554e8
Merge branch 'use-sync-visibility-picker' into 'develop'
...
chore: don't import MkVisibilityPicker dynamically
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
See merge request firefish/firefish!10736
2024-04-11 13:20:09 +00:00
naskya
5f2697f304
fix (client): import path
2024-04-11 22:17:49 +09:00
naskya
9bbdb1638f
docs: update COPYING
2024-04-11 22:09:07 +09:00
naskya
aedf873248
refactor (backend): distinguish between database columns and relations, set correct nullability
2024-04-11 21:58:06 +09:00
Lhcfl
c4a093209f
fix type of MkEmojiPicker
2024-04-11 18:00:37 +08:00
Lhcfl
db37eb4ad1
refactor: rewrite MkFolder
2024-04-11 17:29:07 +08:00
Lhcfl
3716e7f74c
fix: expose toggleContent for it was a method
2024-04-11 17:11:48 +08:00
Lhcfl
7a4e6334f1
fix type error
2024-04-11 17:01:37 +08:00
Lhcfl
783f5481bb
remove unnecessary assertion
2024-04-11 16:58:58 +08:00
Lhcfl
da6f07952b
rename client-types.ts -> note.ts; fix type importing
2024-04-11 16:55:39 +08:00
Lhcfl
3ddd68097a
fix type errors
2024-04-11 00:48:35 +08:00
Lhcfl
f275fc9cdf
refactor: fix type errors of MkCropperDialog
2024-04-11 00:14:36 +08:00
Lhcfl
18ba024cbb
chore: format
2024-04-11 00:00:54 +08:00
Lhcfl
43aeec32ce
fix types error of MkContextMenu
2024-04-10 23:36:42 +08:00
Lhcfl
909125e519
refactor: rewrite MkContainer using composition api
2024-04-10 23:35:14 +08:00
Lhcfl
124b2244d6
fix type errors of MkCode & MkModalWindow
2024-04-10 22:50:30 +08:00
Lhcfl
0b7ab1b90d
fix type errors of MkChatPreview
2024-04-10 22:45:01 +08:00
Lhcfl
6982843716
fix: channel editor cannot remove channel banner
2024-04-10 22:25:45 +08:00
Lhcfl
17a945b8b1
fix type errors of channel
2024-04-10 22:25:11 +08:00
Lhcfl
f7f7959ba6
refactor: fix waring for MkCaptcha
2024-04-10 22:24:16 +08:00
Lhcfl
c1155f169a
fix type warnings of MkCaptcha
2024-04-10 20:42:48 +08:00
Lhcfl
b59186f093
fix type errors of MkButton
2024-04-10 20:41:31 +08:00
Lhcfl
1a1d817772
fix type errors of MkAvatars
2024-04-10 20:37:34 +08:00
Lhcfl
73537ec6fa
fix type errors of MkAutoComplete
2024-04-10 20:36:20 +08:00
Lhcfl
6ac6a4cfa9
refactor: fix type errors of MkAnnouncements
2024-04-10 20:10:43 +08:00
Lhcfl
b6baded2e3
refactor: fix MkAcct type
2024-04-10 17:58:02 +08:00
Lhcfl
23145c61af
refactor: fix type of MkAbuseReport
2024-04-10 17:55:52 +08:00
Lhcfl
268b7aeb3f
refactor: Fix type errors of mfm.ts
2024-04-10 17:16:25 +08:00
Lhcfl
75899aeb51
move consts.ts from @/types to @/script
2024-04-10 01:22:48 +08:00
Lhcfl
6ee1049731
use client-only noteVisibilities type
2024-04-10 01:18:08 +08:00
Lhcfl
e486715e9a
chore: use sync MkVisibiliityPicker
2024-04-09 19:29:27 +08:00
naskya
8b14e57ba6
style: remove MkLoading from MkPullToRefresh
2024-04-08 21:19:20 +09:00
naskya
c707221dfb
chore (minor): use type import
2024-04-08 21:15:18 +09:00
naskya
e1345e4e29
fix (backend): make sure that instance info fit in the database ( close #10891 )
...
I guess there is a better way to do this...
2024-04-08 20:52:14 +09:00
naskya
3f918f9dcc
fix (client): MkLoading doesn't show up at some places
2024-04-08 18:24:08 +09:00
naskya
273f1a8568
chore (minor, client): accept linter suggestions in MkModal
2024-04-08 17:42:29 +09:00
naskya
2beeeddca2
chore (client): replace pageXOffset (pageYOffset) with scrollX (scrollY)
...
b4b47d85cf
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-04-08 17:31:33 +09:00
naskya
7adef666d1
chore (client): rename iconClass to iconify
2024-04-08 17:27:06 +09:00
naskya
fcfbee4c1d
chore (client): searchByGoogle -> search
2024-04-08 17:17:08 +09:00
naskya
30619301d3
chore: replace new Date().getTime()
with Date.now()
...
959cc8ff37
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
2024-04-08 17:00:41 +09:00
naskya
fce0e5a218
feat (backend): federate math expressions using MathML
...
Co-authored-by: Johann150 <johann.galle@protonmail.com>
2024-04-08 12:15:54 +09:00
naskya
3edeb7a270
fix: custom emojis on user overview not being rendered
2024-04-07 19:19:19 +09:00
naskya
9df08ea16a
refactor (minor): replace substr with substring
2024-04-07 19:10:26 +09:00
naskya
65e7d9d157
fix (client): Unicode emoji rendering
2024-04-07 18:54:14 +09:00
naskya
26c3b25a40
chore: update dependencies
2024-04-07 16:42:25 +09:00
tmorio
ea357b71a0
feat (client): add "Media" tab to user page
...
https://maniakey.com/notes/9rsfrmqm1a
66a2d2fa5c
Co-authored-by: naskya <m@naskya.net>
2024-04-07 16:29:51 +09:00
naskya
d0901d77ab
fix (client): antenna layout on mobile
2024-04-07 13:41:03 +09:00
naskya
a64e42208e
fix (client): EndpointsOf import
2024-04-07 13:03:10 +09:00
naskya
cb7e9ab449
Merge branch 'refactor/lists' into 'develop'
...
refactor: Fix types of components
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
See merge request firefish/firefish!10730
2024-04-07 03:57:10 +00:00
naskya
110e092262
chore (backend): use type import for MigrationInterface and QueryRunner
2024-04-07 12:38:52 +09:00
naskya
9ea5fcd1bf
Merge branch 'refactor/sea-orm-entities' into 'develop'
...
Make it possible to manipulate the database in backend-rs
See merge request firefish/firefish!10735
2024-04-07 03:34:41 +00:00
naskya
5e2376a6dc
Merge branch 'feat/spin-when-posting' into 'develop'
...
feat: show a MkLoading when posting
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
See merge request firefish/firefish!10734
2024-04-07 03:33:25 +00:00
naskya
6a7d8c0b13
dev: specify the source of backend-rs/index.js in Makefile
2024-04-07 12:25:33 +09:00
naskya
e4c9a91a16
dev: format the code on entity regeneration
2024-04-07 12:20:46 +09:00
naskya
18f4114f18
chore: format
2024-04-07 12:17:02 +09:00
naskya
5c0d771dff
chore: await migration queries
2024-04-07 12:16:53 +09:00
naskya
d6a88419a4
chore: update backend-rs/index.js
2024-04-07 05:07:00 +09:00
naskya
e9030a6b82
chore: regenerate entities
2024-04-07 05:06:59 +09:00
naskya
aa11eeb1c8
refactor (backend-rs): expose SeaORM entities to Node API
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-07 05:06:44 +09:00
naskya
383b2b874d
chore: format
2024-04-07 05:06:42 +09:00
naskya
91ccce4307
refactor (backend): drop timezone data (which is not used at all)
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-07 05:06:27 +09:00
naskya
3c469ccf43
chore: regenerate entities
2024-04-07 04:43:09 +09:00
naskya
6dcf8c65b4
Merge branch 'fix/noteWithFiles' into 'develop'
...
fix: "Show posts with this file" page shows nothing
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
See merge request firefish/firefish!10731
2024-04-05 22:48:22 +00:00
naskya
54c5192a06
chore (backend): add some more comments on the translate function
2024-04-06 07:42:32 +09:00
Lhcfl
ced13ff12b
chore: add explainations for biome-lint, clear unused export
2024-04-05 13:34:06 +08:00
Lhcfl
12aa04447b
feat: show a MkLoading when posting
2024-04-05 11:40:58 +08:00
Linca
98fc5af2a8
fix: remove blur from MFM cheatsheet to reduce performance issues
...
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-04-04 22:06:53 +00:00
Lhcfl
3251a07ae0
chore: add types check for client
2024-04-04 20:23:50 +08:00
Lhcfl
bfffd94ae5
fix type errors of components/form
2024-04-04 18:48:23 +08:00
Lhcfl
3abe6a0dfe
fix type errors of MkStickyContainer
2024-04-04 17:01:33 +08:00
Lhcfl
995d679afd
fix type errors of MkPageHeader
2024-04-04 16:53:02 +08:00
Lhcfl
3902b82470
fix type errors of MkMisskeyFlavoredMarkdown.vue
2024-04-04 16:13:56 +08:00
Lhcfl
85e42f7c27
fix type errors of MkLoading
2024-04-04 16:03:22 +08:00
Lhcfl
9bfa8dc417
fix type errors in MkEmoji
2024-04-04 15:51:43 +08:00
Lhcfl
75cf048876
fix type errors of MkAvatar
2024-04-04 15:47:04 +08:00
Lhcfl
5d3cfcff36
fix type error for MkAd
2024-04-04 15:28:41 +08:00
Lhcfl
ee3ce22b74
fix type error of i18n.ts
2024-04-04 15:20:15 +08:00
Lhcfl
2505b58f99
fix: MFM component props type
2024-04-04 15:07:36 +08:00
Lhcfl
3f8bd14f0d
chore: format
2024-04-04 14:57:47 +08:00
Lhcfl
6b89d666af
fix: fix all type errors of MkPagination
2024-04-04 14:38:21 +08:00
Lhcfl
435260e197
chore: change for better type inference
2024-04-04 00:11:58 +08:00
Lhcfl
93e80353eb
chore: add type for connection
2024-04-04 00:07:44 +08:00
Lhcfl
3d39daff8c
refactor: Add more type support to MkPagination
2024-04-03 23:10:49 +08:00
Lhcfl
914fff5658
refactor: Rewrite MkDateSeperatedList for better type supports
2024-04-03 23:10:08 +08:00
Lhcfl
add6081f18
fix: error of notes with file
2024-04-03 21:26:58 +08:00
naskya
7c712df731
fix (firefish-js): update LiteInstanceMetadata
2024-04-03 13:39:37 +09:00
naskya
6dc4f3d8a1
refactor (client, minor): replace i18n.t with i18n.ts
2024-04-03 13:36:09 +09:00
naskya
46baec14d2
fix (client): use icon script
2024-04-03 13:14:36 +09:00
naskya
82dff9beb1
Merge branch 'feat/note-edit-history' into 'develop'
...
feat: Add post edit history
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
See merge request firefish/firefish!10714
2024-04-01 17:44:18 +00:00
naskya
97e6dc1bb4
chore (client, minor): slightly more readable condition
2024-04-02 02:40:55 +09:00
naskya
6f1c29cf05
Merge branch 'fix/replyLanguage' into 'develop'
...
fix: Don't set language to null when reply/renote lang is null/undefined
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
See merge request firefish/firefish!10727
2024-04-01 17:02:25 +00:00
naskya
84eb75e03e
Merge branch 'scrollTouchscreen' into 'develop'
...
fix(client): pull to refresh activates when scrolling down mid-way in the page
Co-authored-by: eana <coder@apps.1a23.com>
Closes #10869
See merge request firefish/firefish!10725
2024-04-01 17:01:21 +00:00
eana
a5cd3c8b70
Address comments
2024-04-01 15:08:01 +00:00
naskya
81b9fdf397
refactor (client): stop importing things directly from firefish-js/src
2024-04-01 13:58:54 +09:00
naskya
f70c9efe6b
chore (client): use i18n.ts instead of i18n.t
2024-04-01 13:55:20 +09:00
naskya
0001ffa356
chore: update SeaORM entity
2024-04-01 13:28:12 +09:00
Lhcfl
70dd49740e
chore: format
2024-04-01 11:34:57 +08:00
Lhcfl
e8f178458f
Merge branch 'develop' of https://firefish.dev/firefish/firefish into feat/note-edit-history
2024-04-01 11:32:14 +08:00
Lhcfl
c735156ef2
fix: Don't set language to null when reply/renote lang is null/undefined
2024-04-01 11:16:58 +08:00
Lhcfl
0b226f7013
store emojis for note_edit
2024-04-01 11:01:59 +08:00
Eana Hufwe
12abccc9a3
feat(client): inherit reply/quote language
...
Co-authored-by: eana <coder@apps.1a23.com>
2024-04-01 02:09:32 +00:00
eana
0666a78dcf
fix(client): pull to refresh activates when scrolling down mid-way in the page
...
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-03-31 20:13:00 +00:00
Lhcfl
a562d9bb39
chore: format
2024-04-01 03:24:30 +08:00
Lhcfl
9a0136514b
fix: incorrect note id
2024-04-01 03:21:55 +08:00
Laura Hausmann
88ca0e1621
fix (backend): set X-Content-Type-Options to nosniff on the drive files endpoint
2024-04-01 03:22:06 +09:00
naskya
9086ef11ff
Merge branch 'pageDetailsButtonAlign' into 'develop'
...
fix(client): page details button icon alignment
Co-authored-by: eana <coder@apps.1a23.com>
See merge request firefish/firefish!10722
2024-03-31 18:19:53 +00:00
Eana Hufwe
0d990e07cb
fix(client): page details button icon alignment
...
Co-authored-by: eana <coder@apps.1a23.com>
2024-03-31 18:19:53 +00:00
naskya
3ba7137eaa
Merge branch 'emojiListLoad' into 'develop'
...
fix(client): emoji data format change
Co-authored-by: eana <coder@apps.1a23.com>
See merge request firefish/firefish!10721
2024-03-31 18:09:06 +00:00
Lhcfl
cbe88c56ef
feat: show files of noteEdit
2024-04-01 01:53:21 +08:00
Lhcfl
6d4cb5b4aa
fix: note.updatedAt might be null
2024-04-01 00:40:58 +08:00
老周部落
46bf02cdd5
chore: format
2024-03-31 06:44:00 +08:00
老周部落
f346d2e2f6
feat: add showAddFileDescriptionAtFirstPost and allow cancel adding alt-text midway
2024-03-31 06:42:33 +08:00
naskya
2267e90d3b
refactor (client): await asynchronous processes, remove duplicate code
2024-03-31 06:41:20 +08:00
老周部落
db0bd21edc
feat(client): attachment without description opened when choose add alt
2024-03-31 06:41:07 +08:00
naskya
d9ee4737bc
Merge branch 'pageEdit' into 'develop'
...
fix(frontend): fixing broken “Page Details” page
Co-authored-by: eana <coder@apps.1a23.com>
See merge request firefish/firefish!10720
2024-03-30 18:47:41 +00:00
Eana Hufwe
62c46fda65
fix(frontend): fixing broken “Page Details” page
...
Co-authored-by: eana <coder@apps.1a23.com>
2024-03-30 18:47:41 +00:00
naskya
a097e1aa98
dev (client): update eslint rule
2024-03-31 02:29:27 +09:00
eana
4370bd1012
fix(client): emoji data format change
2024-03-30 16:49:22 +00:00
naskya
25a1fa341a
chore: lint
2024-03-31 01:30:50 +09:00
naskya
0d92fa303b
dev (client): update eslint rule
2024-03-31 01:29:54 +09:00
naskya
f32d4bb764
dev (client): disable prettier
2024-03-31 01:21:19 +09:00
naskya
267e26900a
Merge branch 'chore/remove_prettier' into 'develop'
...
chore: remove prettier and format
Co-authored-by: 老周部落 <laozhoubuluo@gmail.com>
Closes #10878
See merge request firefish/firefish!10715
2024-03-30 16:10:15 +00:00
naskya
b3668f67a0
fix (backend): check redirect url
2024-03-30 19:01:28 +09:00
Laura Hausmann
e753b313da
fix (backend): reject anonymous objects
2024-03-30 19:01:28 +09:00
Laura Hausmann
2e51a33ae5
fix (backend): stricter hostname checking when fetching remote objects
...
Co-authored-by: naskya <m@naskya.net>
2024-03-30 19:01:28 +09:00
Laura Hausmann
ada0137a35
fix (backend): verify object id host matches final URL when fetching remote activities
...
5f6096c1b7
Co-authored-by: naskya <m@naskya.net>
2024-03-30 19:01:28 +09:00
Laura Hausmann
850c52ef63
feat (backend): permit redirects for AP object lookups
...
8d7d95fd23
Co-authored-by: naskya <m@naskya.net>
2024-03-30 19:01:28 +09:00
naskya
00b15bb17c
refactor (backend): mark resolveLocal as async
...
There are many type errors that need to be fixed :(
2024-03-30 19:01:16 +09:00
mei23
ce69001243
fix (backend): improve URL check
...
13ea67bee4
da12d5b079
Co-authored-by: naskya <m@naskya.net>
2024-03-30 18:10:52 +09:00
老周部落
96a430bf5e
chore: format
2024-03-30 08:20:24 +08:00
老周部落
5019a2b4b8
chore: remove prettier
2024-03-30 08:20:13 +08:00
naskya
293afc7fe4
Merge branch 'develop' into feat/note-edit-history
2024-03-28 14:27:29 +09:00
naskya
611a2f02b9
chore: format
2024-03-28 14:26:09 +09:00
naskya
284f077dba
Merge branch 'ft/run-linter' into 'develop'
...
chore: format
Co-authored-by: deathg.rip <josh@deathg.rip>
See merge request firefish/firefish!10707
2024-03-28 05:25:33 +00:00
Nyan Helsing
a98a26e901
chore: format
...
Co-authored-by: deathg.rip <josh@deathg.rip>
2024-03-28 05:25:33 +00:00
naskya
45a20bc63a
chore (client): trim entered strings in search box
2024-03-27 13:01:29 +09:00
naskya
e9193dc1f5
chore: remove cargo flags
2024-03-27 08:50:08 +09:00
naskya
10b8613449
docs: we're not publishing firefish-js
...
see also: !10711
2024-03-26 20:50:00 +09:00
naskya
6cd5dc2fcb
chore: update dependencies
...
except for adm-zip
2024-03-26 20:46:44 +09:00
naskya
400f227237
refactor (client): move detectLanguage to scripts/language-utils.ts
2024-03-26 20:34:20 +09:00
naskya
5e2b8d3be0
chore: add a function to compare two arrays
2024-03-26 19:43:11 +09:00
naskya
d1d0328f8b
fix (backend): update note_file on note edits
...
TODO: move these processes to services/note/edit.ts
2024-03-26 19:42:19 +09:00
naskya
bd5e95a1f0
chore: remove unused import
2024-03-26 19:13:38 +09:00
Lhcfl
bab704992f
feat: add post history page
2024-03-26 16:59:42 +08:00
naskya
9ee7804990
fix (backend-rs): update package.json
2024-03-26 13:11:06 +09:00
naskya
4e2c7e14bf
chore: add --frozen to cargo flags
2024-03-26 13:02:46 +09:00
Lhcfl
d64d133d7f
backend: added /note/history endpoint
2024-03-26 10:07:00 +08:00
naskya
02e6aebd33
Merge branch 'chore/change-firefish-type-source' into 'develop'
...
chore: Change type declaration source of firefish-js
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
See merge request firefish/firefish!10711
2024-03-25 20:25:19 +00:00
naskya
3fb388f9b8
chore: remove build:types from firefish-js for now
2024-03-26 05:23:30 +09:00
naskya
8b01433f2b
Revert "Merge branch 'feat/proxy_media_fallback' into 'develop'"
...
This reverts commit a7d6e8eb1a
, reversing
changes made to 1871dacd8d
.
2024-03-26 04:09:01 +09:00
Linca
72d5e4cdb8
fix : #10868 incorrect text inserted to note_edit
...
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-03-25 17:02:02 +00:00
Lhcfl
9e61a6bbe0
chore: Change type declaration source of firefish-js
2024-03-25 23:28:56 +08:00
naskya
17cd5ecfc2
Merge branch 'feat/server_nsfw' into 'develop'
...
feat: admin ability to force drive content to always be nsfw
Co-authored-by: 老周部落 <laozhoubuluo@gmail.com>
Closes #10713
See merge request firefish/firefish!10685
2024-03-25 15:03:16 +00:00
naskya
7e3cae09a0
fix (client): remove invalid non-null assertion
2024-03-25 23:42:06 +09:00
naskya
506714d8af
chore: use camelCase
2024-03-25 23:32:20 +09:00
老周部落
05e5e92ef3
feat: admin ability to force drive content to always be nsfw
2024-03-25 21:15:53 +08:00
Lhcfl
cc41f255fd
enhance: add tooltip for better expressiveness
2024-03-25 12:43:08 +08:00
Lhcfl
69d214accc
feat: add alt indicator in post form attachments
2024-03-25 12:29:06 +08:00
naskya
a7d6e8eb1a
Merge branch 'feat/proxy_media_fallback' into 'develop'
...
feat: proxy media fallback and url preview fallback
Co-authored-by: 老周部落 <laozhoubuluo@gmail.com>
See merge request firefish/firefish!10693
2024-03-24 17:37:59 +00:00
naskya
771789f491
Merge branch 'feat/warn-detected-language' into 'develop'
...
feat: Automatically detect and warn to correct the language of post
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
See merge request firefish/firefish!10704
2024-03-24 11:56:15 +00:00
Linca
ed72aab48e
fix (backend): downgrade adm-zip to v0.5.10
...
To workaround this problem: https://github.com/cthackers/adm-zip/issues/475
Co-authored-by: naskya <m@naskya.net>
2024-03-24 20:45:02 +09:00
Lhcfl
95da62680a
add isSupportedLanguage
2024-03-24 11:00:49 +08:00
naskya
ad08d071bf
Merge branch 'change-from-html' into 'develop'
...
refactor: Rewrite from-html parser using recursion
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
See merge request firefish/firefish!10694
2024-03-23 16:34:44 +00:00
Linca
7c761f8c3d
refactor: Rewrite from-html parser using recursion
...
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-03-23 16:34:44 +00:00
naskya
d954a818cc
chore: remove unused dependency
2024-03-24 01:14:55 +09:00
naskya
f6ee3b0550
Merge branch 'develop' into container/alpine-based-image
2024-03-23 21:55:17 +09:00
naskya
83944dd49f
chore: update dependencies
2024-03-23 21:41:51 +09:00
naskya
df8078d9a4
Merge branch 'fix/local-user-notes-count' into 'develop'
...
fix: recalculate notesCount of local user when notes are deleted.
Co-authored-by: Linca <lhcfllinca@gmail.com>
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
See merge request firefish/firefish!10701
2024-03-23 08:01:39 +00:00
naskya
6f3c9d7300
fix: commit auto-generated index.js to workaround build issue ( close #10864 )
2024-03-23 02:01:37 +09:00
naskya
39c19742d0
chore: regenerate entities
2024-03-23 01:40:28 +09:00
naskya
996610aa2e
dev: port some scripts in package.json to Makefile
2024-03-23 01:39:12 +09:00
naskya
6e9d3387e0
refactor (backend): use Promise.all to await multiple async processes
2024-03-23 00:54:54 +09:00
Lhcfl
17a42f015a
chore: format
2024-03-21 18:00:32 +08:00
Lhcfl
5dc313d6d1
dev: change filterLangmapByPrefix to filterSubclassLanguages
2024-03-21 17:52:48 +08:00
naskya
26e35d1d82
refactor: make function name clearer, let the ORM build queries
2024-03-20 19:17:46 +09:00
naskya
dc2039b45a
refactor (backend): change variable name, await asyncronous processes
2024-03-20 18:45:50 +09:00
naskya
7e2559c5ee
Merge branch 'develop' into catofish-fix/local-user-notes-count
2024-03-20 18:34:33 +09:00
Lhcfl
c3a57a3dad
fix: check if two languages are close enough
2024-03-20 02:07:55 +08:00
Lhcfl
872ea8adb0
feat: Automatically detect and warn to correct the language of post
2024-03-20 01:08:14 +08:00
naskya
975598c91d
fix: remove incorrect license field
2024-03-19 02:00:53 +09:00
Linca
59f9a1620f
feat: add authorize_interaction page
...
Co-authored-by: naskya <m@naskya.net>
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-03-18 15:45:24 +00:00
naskya
e6ba786b59
fix (client): missing import
2024-03-18 19:54:42 +09:00
老周部落
2af7f48870
feat: proxy media fallback and url preview fallback
2024-03-18 18:30:42 +08:00
naskya
f7a8a58cb2
Revert "refactor: remove note.mentionedRemoteUsers column"
...
This reverts commit 65797a934a
.
2024-03-18 03:29:19 +09:00
naskya
e4a72bbfe5
Revert "backend: improve removeMentionedRemoteUsersColumn revert query ( #403 )"
...
This reverts commit 3473442875
.
2024-03-18 03:29:17 +09:00
Linca
d002741ecc
Merge branch 'develop' into 'fix/local-user-notes-count'
...
# Conflicts:
# packages/backend/src/services/note/delete.ts
2024-03-17 16:24:50 +00:00
sup39
9fd9eb0100
fix (backend): incorrect database queries
2024-03-18 01:01:54 +09:00
naskya
c61e6cd255
fix (backend): incorrect database indices (renote_mute & reply_mute)
2024-03-18 01:01:54 +09:00
naskya
387bfd5af8
chore: regenerate entities, update downgrade.sql
2024-03-18 00:32:48 +09:00
Norm
3473442875
backend: improve removeMentionedRemoteUsersColumn revert query ( #403 )
...
This is an optimized version made by Volpeon that should run faster if
the instance has a lot of notes.
See <https://is-a.wyvern.rip/notes/9habqldl6j > for a comparison of the
EXPLAIN ANALYZE of the old and new queries.
Co-authored-by: Volpeon <git@volpeon.ink>
Reviewed-on: https://akkoma.dev/FoundKeyGang/FoundKey/pulls/403
2024-03-18 00:20:02 +09:00
Johann150
65797a934a
refactor: remove note.mentionedRemoteUsers column
...
The column mentionedRemoteUsers on the note table in the database is
firstly in the wrong type since it contains JSON data but is typed as
text. Secondly it seems redundant, since that data can be acquired by
using the note.mentions column to fetch the respective data instead.
Co-authored-by: Francis Dinh <normandy@biribiri.dev>
2024-03-18 00:16:49 +09:00
sup39
9bce737f67
fix (backend): add alias to a migration subquery
...
Co-authored-by: naskya <m@naskya.net>
2024-03-17 23:13:54 +09:00
sup39
cca63b7286
perf (backend): improved post search with CW/alt text
...
Co-authored-by: naskya <m@naskya.net>
2024-03-17 22:40:36 +09:00
naskya
2220d5c56e
refactor (backend): add note_file table to store (noteId, fileId) pairs
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-03-17 22:40:35 +09:00
naskya
0f880b55e3
chore (backend): add FIXME to a questionable database column
2024-03-17 22:40:35 +09:00
Lhcfl
ac2b42b71b
fix a bug
2024-03-17 14:17:54 +08:00
Lhcfl
6e8d1a167f
fix: cascading bugs during deletion.
...
- During cascade deletion, the posts deleted by the cascade are not published to noteStream.
- During cascade deletion, the notes count of instance and user is incorrect.
2024-03-17 14:08:07 +08:00
Lhcfl
06985abe08
fix: recalculate notesCount of local user when notes are deleted.
2024-03-17 12:01:07 +08:00
naskya
80e3e0e91d
refactor (client): compare Firefish versions lexicographically
2024-03-17 03:00:37 +09:00
naskya
75f277f461
fix (backend): return null (instead of 0) if following/followers count is unavailable
2024-03-17 02:03:27 +09:00
naskya
517022f9b2
fix (backend): hide remote user's reactions and network (following/followers) in case it's set to hidden on their end
2024-03-17 01:51:24 +09:00
naskya
27be8e06cb
fix (backend): conditions for checking local uri's being inaccurate
...
ref: https://github.com/misskey-dev/misskey/issues/13540
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: atsu1125 <atsuchan@atsuchan.page>
2024-03-17 01:51:24 +09:00
naskya
5e179b7721
chore: lint
2024-03-17 00:49:12 +09:00
naskya
1d0223e653
chore: format
2024-03-17 00:34:57 +09:00
naskya
d65c00f219
chore: I don't care # of stars
2024-03-17 00:32:59 +09:00
naskya
a6e759aeba
chore: update dependencies
2024-03-16 01:21:20 +09:00
naskya
ef15e9d0a3
chore: format
2024-03-13 13:12:23 +09:00
naskya
cd0aef1166
fix (backend): incorrect database index
...
ref: d30239b5e7
2024-03-13 13:12:23 +09:00
laozhoubuluo
3c75a93a49
fix(client): some key not using translate
...
Co-authored-by: naskya <m@naskya.net>
2024-03-11 09:31:14 +00:00
Eana Hufwe
d6e0389810
fix: Vue i18n template rendering extra {
...
Co-authored-by: Eana Hufwe <eana@1a23.com>
2024-03-08 15:05:33 +00:00
naskya
95bab740c4
refactor (container): remove config file that doesn't work properly
2024-03-07 21:23:06 +09:00
naskya
ced76bf978
chore (client): remove global $t, $ts
2024-03-07 11:24:48 +09:00
naskya
47bc534b1f
chore (client, locale): log in/out -> sign in/out
2024-03-07 11:13:21 +09:00
naskya
5fb3253069
refactor (client): $i -> me
2024-03-07 11:06:45 +09:00
naskya
ce406f9861
refactor (client): $instance -> instance
2024-03-07 10:52:32 +09:00
naskya
031e272052
chore (client): add kmyblue to commonNames
2024-03-07 09:59:30 +09:00
naskya
67dad81e99
chore: bump Node requirement from v18.16.0 to v18.17.0
...
to be compatible with Node-API version 9: https://nodejs.org/api/n-api.html#node-api-version-matrix
2024-03-07 04:07:33 +09:00
Linca
43f1034d03
feat: add unencrypted messaging warning in chat
...
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-03-06 18:27:34 +00:00
naskya
68fa43d97c
feat (client): add a toggleable setting to show no alt warning
2024-03-06 14:34:29 +09:00
naskya
40293a73c0
locale: separate nouns and verbs ( close #10862 )
2024-03-06 12:51:30 +09:00
naskya
9b6a061022
chore: update dependencies
2024-03-06 09:55:32 +09:00
naskya
ddc8f62a16
meta: remove *.joinfirefish.org URLs
2024-03-06 09:02:09 +09:00
naskya
5b77777439
style: hide scrollbars in simple text windows
2024-03-06 08:10:38 +09:00
naskya
7609d78269
style: minor change in search box margin
2024-03-06 07:54:40 +09:00
naskya
fb923fa4d8
style: fix FormSwitch text-align
2024-03-06 07:49:22 +09:00
atsu1125
aaa0b7edde
fix (backend): movedToUri should be either User or null
...
Co-authored-by: naskya <m@naskya.net>
2024-03-06 07:25:22 +09:00
老周部落
0d7f923738
fix: "explore" not using translate at entrance page
2024-03-05 21:39:41 +08:00
naskya
6eb04d9d82
chore: format
2024-03-05 09:26:53 +09:00
nexryai
8b3574d84c
fix (backend): stop sending stack traces on API errors
...
Co-authored-by: naskya <m@naskya.net>
2024-03-05 09:26:53 +09:00
naskya
0f1323b79d
chore (backend): add script to create new database migrations
2024-03-03 13:38:47 +09:00
naskya
bf99167406
refactor (backend): move migrations inside backend/src
2024-03-03 13:21:11 +09:00
naskya
330b02d87d
Merge branch 'feature/langTagsUi' into 'develop'
...
feat: apply language annotation to note contents
Co-authored-by: Eana Hufwe <eana@1a23.com>
Closes #10854
See merge request firefish/firefish!10687
2024-03-02 11:03:01 +00:00
Eana Hufwe
175b5250f7
feat: apply language annotation to note contents
...
Co-authored-by: Eana Hufwe <eana@1a23.com>
2024-03-02 11:03:01 +00:00
Eana Hufwe
4abe42f1b7
fix: missing import in user list status bar
...
Co-authored-by: Eana Hufwe <eana@1a23.com>
2024-03-02 10:55:02 +00:00
naskya
4c38d9665e
chore: lint
2024-03-02 14:24:05 +09:00
Nanaka Hiira
860bda8921
fix (client): unable to open about-firefish if reaction store is empty
2024-03-02 14:02:16 +09:00
naskya
df13c84b53
fix (client): missing import
2024-03-02 13:58:24 +09:00
naskya
ec8a9096da
chore (client): add scripts/compare-versions to compare Firefish versions
2024-03-02 13:48:25 +09:00
naskya
78bdec3af4
chore (backend): add prelude/unsafe-cast for unsafe type casting
2024-03-02 13:26:44 +09:00
naskya
9705ceda5d
chore: update dependencies
2024-03-02 13:18:17 +09:00
sup39
b6e55173e2
refactor (backend): rename meta columns
2024-03-02 13:13:03 +09:00
naskya
d61462b892
Merge branch 'fix/stats_api' into 'develop'
...
fix(backend): mastodon stats conflate all indexed users and statuses
Co-authored-by: 老周部落 <laozhoubuluo@gmail.com>
Closes #10759
See merge request firefish/firefish!10684
2024-03-01 16:54:25 +00:00
老周部落
64bfb8f329
fix(backend): mastodon stats conflate all indexed users and statuses
2024-03-02 00:51:37 +08:00
naskya
2414cf3ec7
refactor (backend): separate translate function into another file, use post language info for translations, use deepl-node package
2024-03-02 00:28:30 +09:00
naskya
ec18c532ca
feat: ability to publish timelines on signed out page
2024-03-02 00:19:05 +09:00
naskya
9ce6a23266
chore: remove unused dependencies
2024-03-01 23:42:02 +09:00
naskya
412cdad209
feat: show unlisted posts from following users in antennas
2024-03-01 23:42:02 +09:00
naskya
d70d0f4232
refactor (backend): separate muted words and muted patterns
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-03-01 22:52:21 +09:00
naskya
b30e68c98c
feat: post search filters
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-03-01 22:17:02 +09:00
naskya
48e5d9de71
refactor: use PGroonga for full-text search and remove support of other engines
...
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: sup39 <dev@sup39.dev>
2024-03-01 21:39:13 +09:00
naskya
7051e445d3
chore: format
2024-03-01 10:44:16 +09:00
laozhoubuluo
e7689fb302
feat(backend): configurable log levels for troubleshooting
2024-03-01 00:50:53 +00:00
laozhoubuluo
d709030580
feat: sent follow request list api and user interface
...
Co-authored-by: naskya <m@naskya.net>
2024-03-01 00:40:20 +00:00
naskya
d2ed7fcb70
chore: tweak user/server default configs
2024-03-01 09:13:00 +09:00
naskya
511e6c8317
style: tweak default client settings
2024-03-01 08:51:19 +09:00
naskya
30c22a2431
fix (client): squareCatAvatars config being not reflected in some places
...
This was overlooked in 6b2bad1fb6
2024-03-01 08:19:37 +09:00
naskya
1ce0a068c8
feat (client): show software versions in instance ticker tooltip
2024-03-01 08:10:40 +09:00
naskya
a96e754496
style: tweak settings UI
2024-03-01 08:04:22 +09:00
naskya
391328f128
chore: remove nyaification of 'nA'
2024-03-01 07:56:05 +09:00
sup39
85c034b1a2
fix: make readFile in api/patrons async
2024-03-01 07:51:26 +09:00
naskya
1d6b1d052d
feat: allow admins to migrate accounts
2024-03-01 07:47:40 +09:00
naskya
945cc87dc7
chore (backend): remove horrible API endpoints
2024-03-01 07:39:22 +09:00
naskya
20ca238b59
chore: stop requiring misskeyVersion in preference backups
2024-03-01 07:33:59 +09:00
sup39
020c421c9b
fix (backend): apply word mutes in notifications
...
Co-authored-by: naskya <m@naskya.net>
2024-03-01 07:29:58 +09:00
naskya
1bf513dedd
feat: per-user reply mutes ( close #9150 )
2024-03-01 07:24:43 +09:00
naskya
f3fd8829ba
chore (client): move pull-down-to-refresh settings to the mobile section
2024-02-29 22:37:07 +09:00
Fairy-Phy
4f72ade656
feat (client): pull-to-refresh timelines
...
based on https://github.com/misskey-dev/misskey/pull/12113
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: naskya <m@naskya.net>
Co-authored-by: Nanaka Hiira <hiira@hiira.dev>
2024-02-29 22:24:50 +09:00
naskya
f8bc26bd6b
Merge branch 'security-key-without-2fa' into 'develop'
...
Make security key independent of 2FA
Co-authored-by: TrojanerHD <github@trojaner.dev>
Closes #8610
See merge request firefish/firefish!10670
2024-02-29 12:19:26 +00:00