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
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