Commit graph

6544 commits

Author SHA1 Message Date
naskya
9502289d89
chore (backend-rs): remove crate-level uses 2024-06-12 03:38:31 +09:00
naskya
7db7fdaabe
chore: format 2024-06-12 03:37:01 +09:00
naskya
d824cb319a
test (backend-rs): ignore some tests in Miri 2024-06-12 03:36:47 +09:00
sup39
0cb4fbf6b4
refactor: macro-rs -> macros + macros_impl
Co-authored-by: naskya <m@naskya.net>
2024-06-12 00:53:51 +08:00
naskya
4e36d22164
refactor (backend): port publishDriveStream to backend-rs 2024-06-12 00:04:01 +09:00
naskya
e10a188751
refactor (backend): port publishNotesStream to backend-rs 2024-06-12 00:04:01 +09:00
CI
8657cc61a7 chore(deps): update dependency @swc/core to v1.5.28 2024-06-11 12:14:22 +00:00
naskya
1497fe8890
Merge branch 'develop' into iceshrimp_mastodon 2024-06-11 20:22:03 +09:00
naskya
9e6e7733a3
chore (backend-rs): improve error messages
refs:
https://rust-lang.github.io/api-guidelines/interoperability.html
https://github.com/rust-lang/project-error-handling/issues/27
2024-06-11 20:16:40 +09:00
naskya
1cc24b9c25
feature (backend-rs, macro-rs): prittify error outputs for napi export
Co-authored-by: sup39 <dev@sup39.dev>
2024-06-11 20:16:29 +09:00
naskya
94a7307b87 Merge branch 'renovate/idna-1.x' into 'develop'
chore(deps): update rust crate idna to v1

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10991
2024-06-11 01:39:54 +00:00
naskya
8a7ccbe72d
chore (backend-rs): add idna feature flags 2024-06-11 10:23:21 +09:00
CI
e4be03da72 fix(deps): update dependency aws-sdk to v2.1638.0 2024-06-10 20:07:18 +00:00
naskya
4b02dcd046
Merge branch 'develop' into iceshrimp_mastodon 2024-06-10 21:51:34 +09:00
naskya
e5448bae33
test (backend-rs): add database connection test 2024-06-10 21:44:37 +09:00
naskya
fa9643013e
chore (backend-rs, test): remove unneeded # from raw string literals 2024-06-10 21:14:29 +09:00
naskya
8c56a3256b
chore (backend-rs, test): use array instead of vector 2024-06-10 21:12:27 +09:00
CI
bb3e213825 chore(deps): update swc monorepo 2024-06-10 12:05:06 +00:00
naskya
b752695057
chore (backend-rs): use proper error type 2024-06-10 18:09:26 +09:00
naskya
bc7fdc5c0b
chore (backend-rs): change test names 2024-06-10 18:09:26 +09:00
naskya
581668c306
chore (backend-rs): more connection checks 2024-06-10 18:09:26 +09:00
CI
53ecfdeba1 chore(deps): update dependency uuid to v10 2024-06-09 20:05:08 +00:00
naskya
37f9078606
chore (backend-rs): shorten doc link text 2024-06-09 21:29:41 +09:00
naskya
5948e72382
Merge branch 'develop' into iceshrimp_mastodon 2024-06-09 21:18:40 +09:00
naskya
679749a2cc
chore (backend-rs): rename modules to more comfortable names 2024-06-09 21:12:41 +09:00
naskya
870d625565
Merge branch 'develop' into iceshrimp_mastodon 2024-06-09 18:30:27 +09:00
sup39
132af64a6e
refactor (backend-rs): create all_texts macro 2024-06-09 16:34:58 +08:00
naskya
09d975bdce
chore (backend-rs): accept clippy suggestions 2024-06-09 14:02:24 +09:00
CI
a21a35cccc chore(deps): update dependency vue-tsc to v2.0.21 2024-06-08 20:05:12 +00:00
naskya
839d4c4d14
chore (backend-rs): PartialNoteToElaborate -> PartialNoteToCheckWordMute
Co-authored-by: sup39 <dev@sup39.dev>
2024-06-09 01:42:37 +09:00
naskya
9f16c00f0c
chore (backend-rs): use Arc for antenna cache 2024-06-09 01:13:05 +09:00
CI
e27959b8e9 chore(deps): update dependency vue-tsc to v2.0.20 2024-06-08 12:05:00 +00:00
naskya
d86f75c879
Merge branch 'develop' into iceshrimp_mastodon 2024-06-08 13:44:31 +09:00
naskya
7bf5a269fe Merge branch 'renovate/type-fest-4.x' into 'develop'
chore(deps): update dependency type-fest to v4.20.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10980
2024-06-07 21:15:05 +00:00
CI
3f542e575c fix(deps): update dependency aws-sdk to v2.1637.0 2024-06-07 20:05:35 +00:00
CI
82cd71f846 chore(deps): update dependency type-fest to v4.20.0 2024-06-07 20:05:15 +00:00
naskya
73461617ef
Merge branch 'develop' into iceshrimp_mastodon 2024-06-07 22:49:33 +09:00
naskya
00e9f0ad48
chore (backend-rs, minor): fix code style 2024-06-07 22:46:46 +09:00
naskya
b9f9e62079
chore (backend-rs): be more specific about error variants 2024-06-07 22:34:45 +09:00
naskya
7644e3b690
fix (macro-rs): fix doctest 2024-06-07 22:25:09 +09:00
naskya
0839fe27b2
refactor (backend-rs): save nodeinfo cache directly 2024-06-07 22:21:53 +09:00
CI
e39dfd12de chore(deps): update dependency vite to v5.2.13 2024-06-07 12:05:04 +00:00
naskya
74e3279361
Merge branch 'develop' into iceshrimp_mastodon 2024-06-07 16:12:06 +09:00
naskya
4a42579695
v20240607 2024-06-07 16:06:51 +09:00
naskya
6d237e98b8
chore: fix link 2024-06-07 14:02:16 +09:00
naskya
cd6d3e935a
chore (client): use original url for note sharing 2024-06-07 09:52:10 +09:00
naskya
3bd7588077
remove fetchMeta argument 2024-06-07 08:41:13 +09:00
naskya
2c54bc3364
remove queries to scheduled_note table 2024-06-07 08:39:57 +09:00
naskya
16f26bc6d7
Merge branch 'develop' into iceshrimp_mastodon 2024-06-07 08:07:24 +09:00
naskya
9a417ee046
fix (backend): fix scheduled draft post streaming 2024-06-07 07:48:51 +09:00
naskya
5daa113928
fix (backend): fix scheduled reply/quote behavior 2024-06-07 07:35:56 +09:00
naskya
d6bd3af8a9
Merge branch 'develop' into refactor/scheduled-posts 2024-06-07 07:11:46 +09:00
naskya
a0ebad442d
chore (backend): fix import 2024-06-07 07:06:30 +09:00
naskya
ce828a766d Merge branch 'renovate/aws-sdk-2.x' into 'develop'
fix(deps): update dependency aws-sdk to v2.1636.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10976
2024-06-06 21:39:13 +00:00
CI
763cc1914e fix(deps): update dependency aws-sdk to v2.1636.0 2024-06-06 20:06:01 +00:00
CI
e288a61982 fix(deps): update dependency got to v14.4.1 2024-06-06 20:05:03 +00:00
CI
ff49b80741 fix(deps): update bull-board to v5.20.1 2024-06-06 12:05:41 +00:00
naskya
b79e15add5
Merge branch 'develop' into iceshrimp_mastodon 2024-06-06 17:18:01 +09:00
naskya
5ff6003c6e
fix (backend-rs): fix doctest 2024-06-06 17:17:51 +09:00
naskya
c92ef5796a
Merge branch 'develop' into iceshrimp_mastodon 2024-06-06 17:15:53 +09:00
naskya
7c32f682d4
chore: update auto-generated file 2024-06-06 17:10:41 +09:00
naskya
64088819be
chore (backend-rs): update build script 2024-06-06 17:10:41 +09:00
naskya
8fd3f82d0b
chore (backend-rs): update comment 2024-06-06 17:10:40 +09:00
naskya
cb3c300c49
style (backend): don't italicize MFM function contents 2024-06-06 17:10:40 +09:00
naskya
5cbb172dbf
chore (backend): accept linter suggestions 2024-06-06 17:10:40 +09:00
naskya
b6c16b4e29
chore (backend-rs): fix doc link 2024-06-06 17:10:40 +09:00
naskya
308ecec341
chore: format 2024-06-06 17:10:40 +09:00
naskya
40e5bf45bd
chore (backend-rs): use async HTTP requests 2024-06-06 17:10:40 +09:00
naskya
7413866885
chore (backend-rs): change function names 2024-06-06 17:10:39 +09:00
naskya
3cf1e306b1
fix (backend): update meta cache in admin/update-meta 2024-06-06 17:10:39 +09:00
naskya
4390dfcbfb
perf (backend): store antenna cache in memory 2024-06-06 17:10:39 +09:00
naskya
7e2493b257
refactor (backend): drop support for MK- environment variables 2024-06-06 17:10:39 +09:00
naskya
97765209a2
chore (backend-rs): organize imports 2024-06-06 17:10:39 +09:00
naskya
642c4cb2c7
refactor (backend-rs): remove strum derives 2024-06-06 17:10:39 +09:00
naskya
f479ffb0e5
chore (backend-rs): refactor storage_usage function 2024-06-06 17:10:38 +09:00
naskya
e9d31687f9
chore (backend-rs): remove unused derive 2024-06-06 17:10:38 +09:00
naskya
fc590c1492
chore (backend-rs): use ws or wss for WebSocket 2024-06-06 17:10:38 +09:00
naskya
b111e63953
chore (backend-rs): prefer unwrap_or_else 2024-06-06 17:10:35 +09:00
naskya
fd563fc5f6
hotfix for type error 2024-06-06 12:49:14 +09:00
naskya
a9bec190de
chore (backend): promise handling 2024-06-06 10:15:25 +09:00
naskya
195701d297
fix (backend): fix condition 2024-06-06 10:08:34 +09:00
naskya
02101e04dc
fix (backend): scheduled reply/renote 2024-06-06 10:06:04 +09:00
naskya
167d89e03e
Merge branch 'develop' into refactor/scheduled-posts 2024-06-06 09:55:57 +09:00
naskya
5a8b2d439a Merge branch 'feat/qr_note_sharing' into 'develop'
feat: qr codes for note sharing

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

Closes #10931

See merge request firefish/firefish!10927
2024-06-06 00:46:10 +00:00
naskya
d0619a6066
fix: overlooked invalid push subscription branch
should have done in abc653eb21
2024-06-06 08:33:48 +09:00
naskya
abc653eb21
chore: unsubscribe invalid push subscriptions 2024-06-06 08:29:53 +09:00
naskya
370aad5982
chore: make the code a bit more readable 2024-06-06 08:01:02 +09:00
naskya
9d34117124
Merge branch 'develop' into iceshrimp_mastodon 2024-06-06 07:35:35 +09:00
naskya
95b860e820
chore (backend-rs): fetch_meta -> local_server_info 2024-06-06 07:30:13 +09:00
naskya
050f4d554a Merge branch 'renovate/aws-sdk-2.x' into 'develop'
fix(deps): update dependency aws-sdk to v2.1635.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10972
2024-06-05 20:54:02 +00:00
Eana Hufwe
7cf612f9f8 fix(backend-rs): update padding logic to accomodate non-ASCII payload 2024-06-05 20:30:41 +00:00
CI
fb6a6f35de fix(deps): update dependency aws-sdk to v2.1635.0 2024-06-05 20:06:26 +00:00
CI
5448716392 fix(deps): update bull-board to v5.20.0 2024-06-05 20:06:07 +00:00
CI
d63f15e688 chore(deps): update dependency @types/node to v20.14.2 2024-06-05 12:04:58 +00:00
CI
9e4094ccd1 chore(deps): update dependency @swc/core to v1.5.25 2024-06-05 04:23:48 +00:00
naskya
be894399a5
Merge branch 'develop' into iceshrimp_mastodon 2024-06-05 12:33:48 +09:00
naskya
28cfaad330
perf (backend): always use cache in fetch_meta 2024-06-05 12:30:05 +09:00
naskya
219131ef6f
chore (backend-rs): return None if the cached value is invalid 2024-06-05 08:36:39 +09:00
naskya
a1373fd972 Merge branch 'apidoc-use-element' into 'develop'
DEV: Use Elements to render API Document

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

See merge request firefish/firefish!10891
2024-06-04 23:24:02 +00:00
naskya
6207e4c014
chore: make subscription types enum 2024-06-05 07:14:13 +09:00
naskya
d22920cdb8
Merge branch 'develop' into iceshrimp_mastodon 2024-06-05 07:00:10 +09:00
naskya
f35bfbbe9b Merge branch 'renovate/aws-sdk-2.x' into 'develop'
fix(deps): update dependency aws-sdk to v2.1634.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10967
2024-06-04 20:28:43 +00:00
naskya
fedc51832a
Merge branch 'develop' into iceshrimp_mastodon 2024-06-05 05:25:08 +09:00
CI
c106948f02 fix(deps): update dependency aws-sdk to v2.1634.0 2024-06-04 20:05:50 +00:00
CI
5862686c63 fix(deps): update dependency ajv to v8.16.0 2024-06-04 20:05:29 +00:00
naskya
b740a71172 Merge branch 'renovate/pg-8.x' into 'develop'
fix(deps): update dependency pg to v8.12.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10965
2024-06-04 17:10:55 +00:00
naskya
60b4b589aa Merge branch 'renovate/got-14.x' into 'develop'
fix(deps): update dependency got to v14.4.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10963
2024-06-04 17:09:03 +00:00
naskya
42c287b41a Merge branch 'renovate/type-fest-4.x' into 'develop'
chore(deps): update dependency type-fest to v4.19.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10962
2024-06-04 17:08:35 +00:00
CI
b455b50e4a fix(deps): update dependency pg to v8.12.0 2024-06-04 17:06:54 +00:00
CI
f3b3cf4daa fix(deps): update dependency got to v14.4.0 2024-06-04 12:07:38 +00:00
CI
675afcdcab chore(deps): update dependency type-fest to v4.19.0 2024-06-04 12:07:20 +00:00
CI
b6b6ecd26b fix(deps): update dependency adm-zip to v0.5.14 2024-06-04 12:05:18 +00:00
naskya
043efeefc9 Merge branch 'renovate/ajv-8.x' into 'develop'
fix(deps): update dependency ajv to v8.15.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10955
2024-06-04 05:27:32 +00:00
CI
23540b17ab Merge branch 'renovate/definitelytyped' into 'develop'
chore(deps): update dependency @types/node to v20.14.1


See merge request firefish/firefish!10953
2024-06-04 04:15:22 +00:00
CI
b50f28332f fix(deps): update dependency ajv to v8.15.0 2024-06-04 04:07:22 +00:00
CI
03c8695020 fix(deps): update dependency otpauth to v9.3.1 2024-06-04 04:06:41 +00:00
CI
52d6e2f765 chore(deps): update dependency @types/node to v20.14.1 2024-06-04 04:06:09 +00:00
naskya
9c7c00482e
style (backend): match log colors 2024-06-04 11:16:10 +09:00
naskya
fe685c36b9
chore: format 2024-06-04 10:52:26 +09:00
naskya
6f6cf0cc88
chore (backend): show less unhelpful slow query warnings 2024-06-04 10:50:41 +09:00
naskya
ebcf75dcd2
fix (backend): show all tracing logs 2024-06-04 10:15:39 +09:00
CI
67a427c4f9 fix(deps): update dependency aws-sdk to v2.1633.0 2024-06-03 20:05:32 +00:00
CI
655adee7fc chore(deps): update dependency @types/node to v20.14.0 2024-06-03 04:06:08 +00:00
naskya
e87dae896b
fix (backend-rs): use the exact same time for id and created_at 2024-06-03 08:23:58 +09:00
naskya
98d7eac51b
chore (backend-rs): use sea_orm::prelude 2024-06-03 08:20:39 +09:00
CI
dc3973bfe7 fix(deps): update dependency otpauth to v9.3.0 2024-06-02 20:05:15 +00:00
Lhcfl
37998e8bc3 Ensure unique operationId 2024-06-02 23:54:50 +08:00
naskya
c0f6106633
chore: allow GET request for /api/latest-version 2024-06-02 08:55:17 +09:00
naskya
ff5bb2ed3d
fix (backend): don't use findOneBy to check existence 2024-06-02 07:28:37 +09:00
naskya
071ba83704
fix (backend): replace deprecated exist method 2024-06-02 07:23:07 +09:00
naskya
c64119108e
fix (backend): use the exact same time for id and createdAt 2024-06-02 07:11:39 +09:00
naskya
4e8f0c2e85
chore: update auto-generated file 2024-06-02 03:53:58 +09:00
naskya
77447275f2
chore (deps): fully qualify dependencies from git repo 2024-06-02 03:42:43 +09:00
naskya
c7e1ea48a4
Merge branch 'develop' into iceshrimp_mastodon 2024-06-01 23:00:43 +09:00
CI
aee2347354 fix(deps): update dependency adm-zip to v0.5.13 2024-06-01 12:04:47 +00:00
CI
c4e0c500f6 chore(deps): update dependency eslint to v9.4.0 2024-06-01 04:06:07 +00:00
naskya
8293ed8e87
chore (backend-rs): more documents on NodeInfo 2024-06-01 11:25:20 +09:00
naskya
ecefb20ba7
Merge branch 'develop' into iceshrimp_mastodon 2024-06-01 08:35:44 +09:00
naskya
c1255ef965 Merge branch 'renovate/aws-sdk-2.x' into 'develop'
fix(deps): update dependency aws-sdk to v2.1632.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10945
2024-05-31 23:34:04 +00:00
CI
906caa291b fix(deps): update dependency aws-sdk to v2.1632.0 2024-05-31 20:06:31 +00:00
CI
03290778ef chore(deps): update definitelytyped 2024-05-31 20:06:05 +00:00
naskya
23c8636129
chore (backend-rs, macro-rs): fix comment style 2024-06-01 02:23:58 +09:00
naskya
3407e4b395
chore (backend-rs): address cargo doc warning 2024-06-01 02:04:02 +09:00
naskya
74cf09c5c8
chore: export searchNotes function 2024-05-31 22:21:54 +09:00
CI
ba058a1274 Merge branch 'renovate/vitejs-plugin-vue-5.x' into 'develop'
chore(deps): update dependency @vitejs/plugin-vue to v5.0.5


See merge request firefish/firefish!10942
2024-05-31 12:53:33 +00:00
naskya
7c95c65a7c
Merge branch 'develop' into iceshrimp_mastodon 2024-05-31 21:48:03 +09:00
naskya
9ad284bd67
chore (backend-rs): rename partial note structs 2024-05-31 21:42:59 +09:00
naskya
2e44357665
chore (backend-rs): remove unneeded serde derives 2024-05-31 21:28:53 +09:00
CI
751c2c9f3b chore(deps): update dependency @vitejs/plugin-vue to v5.0.5 2024-05-31 12:08:39 +00:00
CI
d9883478b8 chore(deps): update dependency sass to v1.77.4 2024-05-31 04:06:28 +00:00
naskya
258c1ec24d Merge branch 'renovate/aws-sdk-2.x' into 'develop'
fix(deps): update dependency aws-sdk to v2.1631.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10939
2024-05-30 23:25:42 +00:00
naskya
3b42d25ee8
chore: DatabaseConnection -> DbConn 2024-05-31 06:19:14 +09:00
naskya
af2b19709e
chore: handle a bit more errors 2024-05-31 06:17:13 +09:00
CI
a11757e8d6 Merge branch 'renovate/definitelytyped' into 'develop'
chore(deps): update dependency @types/jsdom to v21.1.7


See merge request firefish/firefish!10938
2024-05-30 20:13:14 +00:00
CI
6042dd3dee fix(deps): update dependency aws-sdk to v2.1631.0 2024-05-30 20:06:25 +00:00
CI
410588e018 chore(deps): update dependency @types/jsdom to v21.1.7 2024-05-30 20:05:46 +00:00
CI
19abc5c56a chore(deps): update dependency @swc/core to v1.5.24 2024-05-30 20:05:10 +00:00
naskya
76a0e5fa28
Merge branch 'develop' into iceshrimp_mastodon 2024-05-30 23:07:40 +09:00
老周部落
ecc7ca1aa6
fix: questionable if statements in note import 2024-05-30 22:04:41 +08:00
naskya
b966710af4 Merge branch 'renovate/vue-draggable-plus-0.x' into 'develop'
chore(deps): update dependency vue-draggable-plus to v0.5.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10935
2024-05-30 12:25:08 +00:00
CI
fb18ae6bf6 Merge branch 'renovate/bull-board' into 'develop'
fix(deps): update bull-board to v5.19.2


See merge request firefish/firefish!10934
2024-05-30 12:18:49 +00:00
CI
3dcac015e6 Merge branch 'renovate/swiper-11.x' into 'develop'
chore(deps): update dependency swiper to v11.1.4


See merge request firefish/firefish!10932
2024-05-30 12:15:23 +00:00
CI
c82f67209b chore(deps): update dependency vue-draggable-plus to v0.5.0 2024-05-30 12:07:54 +00:00
CI
17a1b89305 fix(deps): update bull-board to v5.19.2 2024-05-30 12:07:11 +00:00
CI
58cb517e03 chore(deps): update dependency swiper to v11.1.4 2024-05-30 12:05:50 +00:00
CI
6e1675e705 chore(deps): update dependency @swc/core to v1.5.22 2024-05-30 12:05:11 +00:00
naskya
a2555fc65d
chore: minimize Rust dependencies
It is unclear if this is worth the effort to manage
(so this may be reverted later) but at least it seems
we could remove a bunch of lines from the lockfile
by removing unused feature flags.
2024-05-30 19:27:05 +09:00
CI
27082cefd4 chore(deps): update dependency sass to v1.77.3 2024-05-30 04:06:13 +00:00
naskya
6209fdd242
Merge branch 'develop' into iceshrimp_mastodon 2024-05-30 07:11:44 +09:00
naskya
dece58d468 Merge branch 'renovate/aws-sdk-2.x' into 'develop'
fix(deps): update dependency aws-sdk to v2.1630.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10929
2024-05-29 22:07:40 +00:00
naskya
890ca846d0
chore (backend-rs): documents, organize exports, typo fixes 2024-05-30 07:07:01 +09:00
CI
15e4e650fd fix(deps): update dependency aws-sdk to v2.1630.0 2024-05-29 20:06:09 +00:00
CI
789d283928 chore(deps): update definitelytyped 2024-05-29 20:05:18 +00:00
CI
d45c5c23b0 fix(deps): update dependency @redocly/openapi-core to v1.14.0 2024-05-29 18:30:10 +00:00
CI
4557e7377a fix(deps): update bull-board to v5.19.1 2024-05-29 18:30:10 +00:00
naskya
8741bda5df chore (backend-rs): don't use unsafe unwrap() in examples 2024-05-29 18:30:10 +00:00
CI
dc72016dbd fix(deps): update dependency aws-sdk to v2.1629.0 2024-05-29 18:30:10 +00:00
CI
b3af685a5b fix(deps): update bull-board to v5.19.0 2024-05-29 18:29:58 +00:00
CI
f504979eb5 chore(deps): update dependency vite to v5.2.12 2024-05-29 18:29:58 +00:00
naskya
db4e0e931b fix (backend): make sure to use the exact same time for id and createdAt 2024-05-29 18:29:48 +00:00
CI
def565af9b chore(deps): update dependency ts-jest to v29.1.4 2024-05-29 18:29:48 +00:00
naskya
682bea134e chore (backend-rs): add comments 2024-05-29 18:29:39 +00:00
naskya
43e9a0dc02 chore (macro-rs): add comments 2024-05-29 18:29:29 +00:00
naskya
20607acc1b dev: update editorconfig 2024-05-29 18:29:29 +00:00
naskya
a60841719e chore (macro-rs): address FIXME 2024-05-29 18:29:29 +00:00
Lhcfl
d4d919ad9a feat: Compress PNG; detect and compare the size of compressed and uncompressed file 2024-05-29 18:29:29 +00:00
naskya
4624911df8 chore: regenerate auto-generated files 2024-05-29 18:29:29 +00:00
CI
0bcaff275d fix(deps): update dependency redis-semaphore to v5.6.0 2024-05-29 18:29:29 +00:00
CI
2fbca23b4b chore(deps): update dependency cropperjs to v2.0.0-rc 2024-05-29 18:29:29 +00:00
naskya
a0c31ddd47 chore (backend-rs): address cargo doc warning 2024-05-29 18:29:29 +00:00
naskya
575ccd0e29 test (backend-rs): add timestamp check 2024-05-29 18:29:29 +00:00
Eana Hufwe
e64cd1ea65 chore: code formatting 2024-05-29 18:29:29 +00:00
Eana Hufwe
1214d29302 fix: status.reblogged signifies if the status is reblogged by the logged in user, not for the current status 2024-05-29 18:29:27 +00:00
naskya
4ad09b5ae2 fix: Maser push notifications 2024-05-29 18:29:26 +00:00
naskya
cad3610d2e fix: feather push notifications 2024-05-29 18:29:26 +00:00
naskya
8fca35ca06 fix: Ice Cubes push notifications
Co-authored-by: Eana Hufwe <eana@1a23.com>
2024-05-29 18:29:26 +00:00
naskya
3a62097ec3 chore: concat two statements 2024-05-29 18:29:26 +00:00
naskya
6c449466a5 fix: do not unwrap() Option before checking that it holds a value 2024-05-29 18:29:26 +00:00
naskya
303060fe84 fix: missing imports 2024-05-29 18:29:26 +00:00
Eana Hufwe
a499fb1755 fix: missing var 2024-05-29 18:29:26 +00:00
Eana Hufwe
ba726f9abf fix: compatibility with Ice Cubes and Mammoth 2024-05-29 18:29:25 +00:00
Eana Hufwe
b6414dd104 fix: add space paddings to the end of JSON payload to prevent esm from padding null bytes 2024-05-29 18:29:22 +00:00
CI
c5abb22e06 fix(deps): update dependency jsdom to v24.1.0 2024-05-29 18:29:16 +00:00
CI
cfa024de9f fix(deps): update dependency ajv to v8.14.0 2024-05-29 18:29:16 +00:00
CI
b4b9427f92 chore(deps): update dependency type-fest to v4.18.3 2024-05-29 18:29:02 +00:00
CI
5c00ed2218 fix(deps): update dependency aws-sdk to v2.1628.0 2024-05-29 18:29:02 +00:00
CI
f105950f14 chore(deps): update dependency pug to v3.0.3 2024-05-29 18:28:47 +00:00
CI
0bd8830632 chore(deps): update dependency photoswipe to v5.4.4 2024-05-29 18:28:47 +00:00
Eana Hufwe
b510ec2ef3 fix: index 2024-05-29 18:28:46 +00:00
Eana Hufwe
3d2f8dbfb8 fix: object typing 2024-05-29 18:28:46 +00:00
Eana Hufwe
c2fdc0bd51 fix: IceCubes wants an int for ID despite the docs says string 2024-05-29 18:28:45 +00:00
Eana Hufwe
ffa53c61fa fix: parsing payload when registering push notification subscriptions 2024-05-29 18:28:44 +00:00
Eana Hufwe
65ce56cc08 fix: parsing payload when registering push notification subscriptions 2024-05-29 18:28:43 +00:00
老周部落
78a18e9000
feat: qr codes for note sharing 2024-05-29 22:55:46 +08:00
Eana Hufwe
33b45d1d22
fix: do not make query if no notification type is requested 2024-05-29 23:46:06 +09:00
Eana Hufwe
440d961ab4
fix: multiple redirect uri support 2024-05-29 23:44:35 +09:00
naskya
6db8ad14e2
Merge branch 'develop' into iceshrimp_mastodon 2024-05-29 23:44:12 +09:00
naskya
605f8d5e29
fix: typo
ref: https://docs.joinmastodon.org/entities/V1_Instance/#video_frame_rate_limit
2024-05-29 23:42:21 +09:00
naskya
6f20b69021
fix: import .js 2024-05-29 23:42:12 +09:00
naskya
38c5b85220
fix: use only necessary fields 2024-05-29 23:42:05 +09:00
naskya
abaed389f9
chore: remove from/toMastodonId functions 2024-05-29 23:41:55 +09:00
naskya
fbe906fe11
refactor: use ok_or to return errors when Some is expected 2024-05-29 23:41:47 +09:00
naskya
1df3680842
chore: port sql-regex-escape to backend-rs 2024-05-29 23:41:39 +09:00
naskya
ee33337a3f
chore: distinguish between database columns and relations 2024-05-29 23:41:29 +09:00
naskya
e143f0d7ac
chore: prevent unexpected variable scope leaks 2024-05-29 23:41:21 +09:00
naskya
bedf4cb791
chore: import isQuote from backend-rs 2024-05-29 23:41:12 +09:00
naskya
199065502b
chore: update auto-generated files 2024-05-29 23:40:56 +09:00
naskya
c1c3d8a8e0
chore: format 2024-05-29 23:40:41 +09:00
naskya
bd351912ed
chore: use type imports 2024-05-29 23:40:31 +09:00
Laura Hausmann
3e878984bd
refactor: adding more fixes from Iceshrimp
Co-authored-by: CookiLover311 <jacoco@vivaldi.net>
2024-05-29 23:39:54 +09:00
Laura Hausmann
f282549900
refactor: Iceshrimp’s Mastodon API implementation with original extensions
Co-authored-by: Eana Hufwe <eana@1a23.com>
Co-authored-by: AkiraFukushima <h3.poteto@gmail.com>
2024-05-29 23:39:22 +09:00
naskya
111284b93e Merge branch 'renovate/redocly-openapi-core-1.x' into 'develop'
fix(deps): update dependency @redocly/openapi-core to v1.14.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10926
2024-05-29 13:03:20 +00:00
CI
0f09bb8863 fix(deps): update dependency @redocly/openapi-core to v1.14.0 2024-05-29 12:06:46 +00:00
CI
dedca1c0c3 fix(deps): update bull-board to v5.19.1 2024-05-29 12:06:03 +00:00
naskya
fac69f8eb5
chore (backend-rs): don't use unsafe unwrap() in examples 2024-05-29 19:26:01 +09:00
naskya
e81acff737 Merge branch 'renovate/aws-sdk-2.x' into 'develop'
fix(deps): update dependency aws-sdk to v2.1629.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10923
2024-05-28 20:13:40 +00:00
naskya
785692e690 Merge branch 'renovate/bull-board' into 'develop'
fix(deps): update bull-board to v5.19.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10922
2024-05-28 20:13:07 +00:00
CI
ab1dc279e0 fix(deps): update dependency aws-sdk to v2.1629.0 2024-05-28 20:07:07 +00:00
CI
67ca337cd6 fix(deps): update bull-board to v5.19.0 2024-05-28 20:06:45 +00:00
CI
96bffe220c chore(deps): update dependency vite to v5.2.12 2024-05-28 20:05:55 +00:00
CI
d257abc1b8 chore(deps): update dependency ts-jest to v29.1.4 2024-05-28 12:05:59 +00:00
naskya
27de1ddb70
chore (backend-rs): add comments 2024-05-28 19:42:52 +09:00
naskya
576a3752b9
chore (macro-rs): add comments 2024-05-28 18:03:26 +09:00
naskya
d1f25e8fba
dev: update editorconfig 2024-05-28 17:32:34 +09:00
naskya
cf33b5db03
chore (macro-rs): address FIXME 2024-05-28 17:22:29 +09:00
naskya
caf9eabd57 Merge branch 'file-comression' into 'develop'
feat: Compress PNG; detect and compare the size of compressed and uncompressed file

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

See merge request firefish/firefish!10742
2024-05-28 07:47:15 +00:00
naskya
1e3e44902e
fix: throw an error if scheduled date is past 2024-05-27 22:25:44 +09:00
naskya
465d3b2272
why did this happen 2024-05-27 22:15:51 +09:00
naskya
a0f65cc6bc
refactor: remove scheduled note entity from backend 2024-05-27 21:55:06 +09:00
naskya
abbbfa9a0a
chore: update auto-generated files 2024-05-27 21:01:42 +09:00
naskya
9364f32bc2
chore: drop scheduled_note table 2024-05-27 21:00:10 +09:00
naskya
ef2d19660c
chore: regenerate auto-generated files 2024-05-27 20:59:23 +09:00
naskya
cccb59dea0 Merge branch 'renovate/redis-semaphore-5.x' into 'develop'
fix(deps): update dependency redis-semaphore to v5.6.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10917
2024-05-27 08:35:20 +00:00
CI
a57cc64b6b fix(deps): update dependency redis-semaphore to v5.6.0 2024-05-26 20:05:42 +00:00
CI
b11e859a3d chore(deps): update dependency cropperjs to v2.0.0-rc 2024-05-26 20:04:58 +00:00
naskya
42ec6cffa1
chore (backend-rs): address cargo doc warning 2024-05-27 00:07:54 +09:00
naskya
4968e370f5
test (backend-rs): add timestamp check 2024-05-27 00:05:53 +09:00
naskya
0376e2d5bd Merge branch 'renovate/jsdom-24.x' into 'develop'
fix(deps): update dependency jsdom to v24.1.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10915
2024-05-26 14:40:04 +00:00
CI
5fb63a3204 fix(deps): update dependency jsdom to v24.1.0 2024-05-26 12:05:40 +00:00
CI
73cfbcbdb7 fix(deps): update dependency ajv to v8.14.0 2024-05-26 04:05:23 +00:00
CI
0219a474c2 chore(deps): update dependency type-fest to v4.18.3 2024-05-25 12:05:24 +00:00
naskya
994db86c52 Merge branch 'renovate/aws-sdk-2.x' into 'develop'
fix(deps): update dependency aws-sdk to v2.1628.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10910
2024-05-25 03:29:57 +00:00
CI
1e48854730 Merge branch 'renovate/pug-3.x' into 'develop'
chore(deps): update dependency pug to v3.0.3


See merge request firefish/firefish!10909
2024-05-24 20:10:17 +00:00
CI
d8433374d0 fix(deps): update dependency aws-sdk to v2.1628.0 2024-05-24 20:06:03 +00:00
CI
21862e79b7 chore(deps): update dependency pug to v3.0.3 2024-05-24 20:05:21 +00:00
CI
f6c01f350c chore(deps): update dependency photoswipe to v5.4.4 2024-05-24 20:04:47 +00:00
naskya
293c1c6540
chore (backend-rs): some more comments 2024-05-24 22:36:48 +09:00
naskya
589324cd6d
chore (backend-rs): update comment 2024-05-24 22:20:52 +09:00
naskya
35f30d9895
chore (backend-rs): make internal functions/modules private 2024-05-24 22:18:32 +09:00
naskya
0e9d7f388a
fix (backend-rs): don't check quoted post in antennas 2024-05-24 22:11:56 +09:00
CI
9cc3cf95e9 fix(deps): update dependency bull to v4.12.9 2024-05-24 12:05:56 +00:00
naskya
11eed72031 Merge branch 'renovate/aws-sdk-2.x' into 'develop'
fix(deps): update dependency aws-sdk to v2.1627.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10904
2024-05-24 04:04:23 +00:00
CI
2bee0f3745 fix(deps): update dependency aws-sdk to v2.1627.0 2024-05-23 20:05:40 +00:00
CI
9567f63b15 fix(deps): update dependency @redocly/openapi-core to v1.13.0 2024-05-23 20:05:18 +00:00
naskya
985532b2aa
chore (backend-rs): remove unused feature flag 2024-05-24 02:43:20 +09:00
naskya
9c60e8ff8b
chore (backend-rs): address cargo doc warnings 2024-05-24 01:19:17 +09:00
naskya
7a3aec1881
fix (client): notification reply-to style when the summary is long
c04c071aec
2024-05-23 23:15:16 +09:00
naskya
747f1d6e04
fix (client): noteTranslation is nullable
!10899
2024-05-23 22:49:25 +09:00
naskya
c04c071aec
fix (client): notification reply-to style
!10899
2024-05-23 22:40:49 +09:00
naskya
97dfb8d2aa Merge branch 'refactor/split-mknote' into 'develop'
refactor: split MkNote into smaller components

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

See merge request firefish/firefish!10899
2024-05-23 12:45:45 +00:00
naskya
431a5d47cd
fix (backend): use correct Redis prefix (close #10940) 2024-05-23 21:39:50 +09:00
CI
990d8cdcc6 fix(deps): update bull-board to v5.18.3 2024-05-23 12:33:39 +00:00
naskya
81e633eec3
chore (backend-rs): antenna::add_new_note -> antenna::process_new_note 2024-05-23 20:49:49 +09:00
naskya
85d44aaa2d
chore (backend-rs): remove 'Err' suffix from error variants
https://rust-lang.github.io/rust-clippy/master/index.html#/enum_variant_names
2024-05-23 20:49:49 +09:00
naskya
55ed733df8
chore (backend): remove '_enum' suffix from enum types 2024-05-23 20:49:49 +09:00
naskya
7e40424b89
meta: bump required Node.js version to v18.19.0
ref: https://github.com/sindresorhus/execa/releases/tag/v9.0.0
2024-05-23 20:49:46 +09:00
CI
976dce96aa fix(deps): update dependency aws-sdk to v2.1626.0 2024-05-22 20:15:39 +00:00
naskya
59c3e5c14c Merge branch 'renovate/bull-board' into 'develop'
fix(deps): update bull-board to v5.18.1

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10900
2024-05-22 16:05:13 +00:00
CI
0169b20ba3 fix(deps): update bull-board to v5.18.1 2024-05-22 16:00:29 +00:00
CI
512cb875f2 fix(deps): update dependency bull to v4.12.8 2024-05-22 15:59:44 +00:00
Lhcfl
55da1897ae refactor: split MkNote into smaller components 2024-05-22 23:47:53 +08:00
Linca
c972a93343 fix: Duplicated renote bar
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-05-22 12:09:39 +00:00
Lhcfl
b1ba863a0b add crossorigin="anonymous" 2024-05-22 17:41:38 +08:00
Lhcfl
9120b37c1f Use elements as API Document 2024-05-22 17:18:50 +08:00
naskya
b087817984
fix (client): soft muted posts not opening on click 2024-05-22 17:55:50 +09:00
Lhcfl
09185e44a9 fix: remove MkVisibility scheduled time i18n 2024-05-22 16:16:58 +08:00
Lhcfl
fc8357302d fix: Scheduled post cannot send post with attachments 2024-05-22 14:49:22 +08:00
Lhcfl
bd9ff39c0b fix: Don't show notSpecifiedMentionWarning if visibility is not 'specified' 2024-05-22 11:09:48 +08:00
Lhcfl
577d40df04 style: adjust MkPostForm 2024-05-22 10:56:29 +08:00
Lhcfl
9d87794ed5 Merge branch 'develop' of https://firefish.dev/firefish/firefish into style/mkpostform 2024-05-22 10:49:43 +08:00