Commit graph

3973 commits

Author SHA1 Message Date
Lhcfl
272e30be0c refactor: replace the awful ?: chain with if-else; fix: force update ticker when props.time changed
related: ed6f866a4f

Co-authored-by: kakkokari-gtyih <kakkokari-gtyih@users.noreply.github.com>
2024-05-08 10:52:32 +08:00
Lhcfl
f5074f35cc fix: use reactive MkTime 2024-05-08 03:00:07 +08:00
Lhcfl
31168cc7b2 fix: use reacive MkSubNoteContent 2024-05-07 23:42:40 +08:00
Lhcfl
42886f054d fix: use reactive previewableCount 2024-05-07 23:31:45 +08:00
Lhcfl
1d0ea11eea fix: use note capture in MkNoteSimple 2024-05-07 23:23:19 +08:00
Lhcfl
33923a59fa fix: use reactive MkNoteHeader 2024-05-07 22:37:09 +08:00
Lhcfl
8067ed4084 Merge branch 'develop' of https://firefish.dev/firefish/firefish into feat/collepse-reply-timeline 2024-05-07 22:34:45 +08:00
naskya
4104cbf5b5
Merge branch 'develop' into feat/schedule-create 2024-05-07 21:27:40 +09:00
naskya
e3a98ebc72 Merge branch 'userLang' into 'develop'
Add server-side per-user UI language

Co-authored-by: eana <coder@apps.1a23.com>

See merge request firefish/firefish!10793
2024-05-06 15:31:18 +00:00
eana
e7c33835b2 Add server-side per-user UI language 2024-05-06 05:14:44 +00:00
naskya
4e83dbd01f Merge branch 'refactor/remove-gulp' into 'develop'
refactor: replace gulp with a simple script


See merge request firefish/firefish!10791
2024-05-06 04:45:17 +00:00
Linca
5e5d01d407 fix: Click event of MenuParent unexpectedly goes to underlying element
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-05-05 11:42:25 +00:00
naskya
341b43ed71
refactor: replace gulp with a simple script 2024-05-05 02:19:58 +09:00
naskya
6d64358674
fix (client): missing MFM function props not falling back correctly 2024-05-05 01:15:04 +09:00
naskya
bc39badf51
chore (client): remove unused code 2024-05-04 16:08:41 +09:00
naskya
f66ecd0759 Merge branch 'fix/follow_me_with_host' into 'develop'
fix: follow-me generate wrong link for other server

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

See merge request firefish/firefish!10785
2024-05-03 14:41:37 +00:00
老周部落
8a2f3b3e36
fix: follow-me generate wrong link for other server 2024-05-03 22:13:54 +08:00
Lhcfl
3061147bd3 feat: scheduled note creation 2024-05-03 21:42:40 +08:00
naskya
f7c576f8fb Merge branch 'fix/10915' into 'develop'
feat: add angle constraint for MkPullToRefresh

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

Closes #10915

See merge request firefish/firefish!10784
2024-05-03 02:20:29 +00:00
Lhcfl
46d0679845 little patch 2024-05-03 00:56:10 +08:00
Lhcfl
4536ac0678 reviewed 2024-05-03 00:28:46 +08:00
Lhcfl
160e7f26a6 feat: collepse renotes and replies 2024-05-03 00:22:25 +08:00
naskya
4a0e4a4c91 Merge branch 'fix/notifications-swiper' into 'develop'
fix: notifications swiper not reload

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

See merge request firefish/firefish!10782
2024-05-02 13:55:41 +00:00
Lhcfl
9138c3726a dev: use reactiveState in foldNotification 2024-05-02 01:07:57 +08:00
Lhcfl
425b333474 set collapseReplyInTimeline default to false 2024-05-02 00:57:00 +08:00
Lhcfl
d1c76b3882 feat: allow collepse replied posts in timeline 2024-05-02 00:53:52 +08:00
Linca
587c64a906 dev: use reverse instead of toReversed
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-05-01 05:10:01 +00:00
Lhcfl
5ad9bd8ceb feat: add angle constraint for MkPullToRefresh 2024-04-30 19:51:40 +08:00
Lhcfl
f40c201670 remove forgotten debug parameter 2024-04-30 19:06:55 +08:00
Lhcfl
c8c7abe6ef fix: notifications swiper not reload 2024-04-30 19:04:39 +08:00
naskya
0b6d0b525f
style: slightly increase the CW blur intensity 2024-04-29 19:05:16 +09:00
naskya
2bf8eab74a
chore: lint 2024-04-29 11:56:31 +09:00
Lhcfl
5600799261 fix: MkPagination init -> reload 2024-04-28 21:24:54 +08:00
naskya
4fcd5463e9 Merge branch 'feat/fold' into 'develop'
make foldNotification default as it's no longer an experimental feature

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

See merge request firefish/firefish!10774
2024-04-28 01:52:19 +00:00
naskya
ce0cec216c Merge branch 'feat/slash-quote' into 'develop'
feat: add slash quote

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

See merge request firefish/firefish!10745
2024-04-28 00:03:20 +00:00
naskya
a44e9f3e38 Merge branch 'addsuccess' into 'develop'
[UX]fix: add os.success for all copyToClipboard

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

See merge request firefish/firefish!10777
2024-04-27 13:23:50 +00:00
Lhcfl
941a31c702 fix: add os.success for all copyToClipboard 2024-04-27 20:45:00 +08:00
Lhcfl
fe1efed369 fix: MkPullToRefresh not work 2024-04-27 20:25:49 +08:00
Lhcfl
c2a9b028a3 make foldNotification default as it's no longer an experimental feature 2024-04-27 13:18:01 +08:00
naskya
28b9e35f2a
style: use yes/no instead of ok/cancel 2024-04-27 11:01:25 +09:00
naskya
51f9d20073
fix (client): don't interpret sample account ID as MFM 2024-04-27 10:58:17 +09:00
naskya
1b143ebfaa
Merge branch 'develop' into refactor/types 2024-04-27 09:09:17 +09:00
naskya
f80ee9f36d
chore: update TypeScript dependencies
except for pnpm, gulp, adm-zip, @syuilo/aiscript, and Megalodon
2024-04-27 05:42:37 +09:00
naskya
cd3c6a52dd
Merge branch 'develop' into feat/slash-quote 2024-04-27 05:20:02 +09:00
Lhcfl
564eb08386 feat: rewrite MkPagination for fold 2024-04-26 22:39:58 +08:00
Lhcfl
8b73a1a6b3 revert changes of vite.config.ts 2024-04-26 10:37:02 +08:00
Lhcfl
41f9a0bda9 fix: Unrecognized language causes errors 2024-04-26 10:34:12 +08:00
Lhcfl
99f30ba01a change firefish-js to esm 2024-04-26 10:22:51 +08:00
naskya
f806c47c7c
style: move QR code and remote follow URL to another category 2024-04-26 07:30:41 +09:00
naskya
ba8e044f42
chore: format 2024-04-26 05:54:10 +09:00
naskya
23e57737a6 Merge branch 'feat/fold' into 'develop'
feat: For NotificationFold posts, set a smaller collepsing threshold

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

See merge request firefish/firefish!10768
2024-04-25 19:14:51 +00:00
naskya
2d15d6dcfa
refactor (client): clean up conditions a bit 2024-04-26 02:03:15 +09:00
Lhcfl
fec1a800b6 Merge branch 'develop' of https://firefish.dev/firefish/firefish into refactor/types 2024-04-25 21:13:55 +08:00
老周部落
22b52ac3d3
feat: follow-me 2024-04-25 20:45:41 +08:00
老周部落
ab357233db
chore: format 2024-04-25 20:40:18 +08:00
Sal Rahman
6aecf12067
QR code update 2024-04-25 20:38:31 +08:00
Sal Rahman
fefed2d4a4
FfQrCode -> MkQrCode 2024-04-25 20:38:31 +08:00
Sal Rahman
bb984a8608
Some work on the popup
Some more work on the modal

Some more work done

Some initial work on adding the QR code

Some more changes

Done
2024-04-25 20:38:30 +08:00
naskya
9a077c4beb Merge branch 'fix/edit-visibility' into 'develop'
fix: Client's strange behavior about visibility when editing a post

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

See merge request firefish/firefish!10763
2024-04-25 10:37:13 +00:00
Lhcfl
27c46d7df9 feat: For notification posts, set a smaller folding threshold 2024-04-25 15:53:29 +08:00
naskya
5891a90f71 Merge branch 'feat/fold' into 'develop'
feat: fold notifications

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

Closes #10908

See merge request firefish/firefish!10767
2024-04-25 04:10:41 +00:00
Lhcfl
19b94b2fb8 tiny style fix 2024-04-25 09:42:03 +08:00
Lhcfl
e5a21bae13 use MkNote insteadof MkNoteSub 2024-04-25 09:32:59 +08:00
Lhcfl
adafd62710 chore: format 2024-04-25 09:17:37 +08:00
Lhcfl
217d686997 fix: improve the display of Notes in notifications 2024-04-25 09:17:01 +08:00
Lhcfl
42f6a6e3b6 reviewed 2024-04-25 08:55:18 +08:00
naskya
bb5349d127
chore (client): use plural 2024-04-25 03:04:59 +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
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
Lhcfl
267670af96 move schema & langmap from backend to firefish-js 2024-04-24 02:00:34 +08:00
Lhcfl
ea60895bf8 Merge branch 'develop' of https://firefish.dev/firefish/firefish into refactor/types 2024-04-24 00:13:07 +08:00
Lhcfl
5994a1d615 fix types 2024-04-24 00:02:28 +08: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
Lhcfl
9a42745926 fix soft mute languages 2024-04-23 22:41:18 +08:00
Lhcfl
c0afa4a2f7 fix types 2024-04-23 22:40:57 +08:00
Lhcfl
62f5c84ca6 fix types 2024-04-23 21:30:55 +08:00
老周部落
6a0ad409cd
fix: authorize-follow not working due to redeclare 'acct' 2024-04-23 20:07:52 +08:00
Lhcfl
6f324a3dcd refactor: move ColdDeviceStorage into a module 2024-04-23 16:56:39 +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
Lhcfl
93bee484bb fix types of pizzax.ts 2024-04-23 10:44:06 +08:00
Lhcfl
07d39cb5ac Merge branch 'develop' of https://firefish.dev/firefish/firefish into refactor/types 2024-04-23 10:28:11 +08:00
naskya
c6d0fe52d2
chore (client): remove unnecessary non-null assertions 2024-04-22 22:44:43 +09:00
Lhcfl
a49f9c33ef chore: format 2024-04-22 11:02:35 +08:00
Lhcfl
1d3b67eafb fix types of pizzax 2024-04-22 11:01:46 +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
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
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
78b6228b3c
Merge branch 'develop' into fix/use-pagination-in-note 2024-04-22 05:58:55 +09:00
naskya
4c91e8e37f
Merge branch 'develop' into feat/antenna_limit 2024-04-22 05:51: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
Lhcfl
4e20fe589d fix: style may be missing in mobile mode 2024-04-20 22:29:55 +08:00
Lhcfl
e5e2eedfb4 fix: Some SubNote incorrectly added replies 2024-04-20 22:04:25 +08: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
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
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
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
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
082948bfe0
Merge branch 'develop' into refactor/types 2024-04-16 22:29:04 +09:00
Lhcfl
a07483996e feat: add slash quote 2024-04-15 15:12:51 +08:00
naskya
21225f7137
chore: update dependencies 2024-04-15 04:09:33 +09:00
Lhcfl
f0a50bc288 feat: show MkRemoteCaution in note history page 2024-04-14 13:59:27 +08:00
Lhcfl
99815e1af8 feat: Compress PNG; detect and compare the size of compressed and uncompressed file 2024-04-14 11:51:41 +08: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
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
Lhcfl
393ab2590d fix type errors of components 2024-04-12 22:02:03 +08: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
Lhcfl
ea6ef881c2 fix types of components 2024-04-12 14:08:20 +08:00
Lhcfl
2bf51abc12 fix type of MkModalPageWindow 2024-04-12 11:31:11 +08:00
Lhcfl
5da03666b2 fix types of component 2024-04-12 11:16:26 +08:00
naskya
6b812fb30b
chore: lint 2024-04-12 11:54:20 +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
3fe8ace571
chore: update dependencies 2024-04-12 02:55:27 +09:00
Lhcfl
38668c4c11 fix type errors 2024-04-12 01:32:04 +08: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
5f2697f304
fix (client): import path 2024-04-11 22:17:49 +09:00
Lhcfl
c4a093209f fix type of MkEmojiPicker 2024-04-11 18:00:37 +08:00