Commit graph

5446 commits

Author SHA1 Message Date
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
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