naskya
eb11b32c5c
refactor (backend): only cache the id of @relay.actor
2024-07-26 17:50:29 +09:00
naskya
c7de3aae3f
chore (backend-rs): fix clippy warning
2024-07-26 07:12:20 +09:00
naskya
0ba868cc3c
refactor (backend): remove publishUserListStream
2024-07-25 07:29:21 +09:00
naskya
7d2e98963d
refactor (backend): port publishNoteUpdatesStream to backend-rs
2024-07-25 06:41:58 +09:00
naskya
5752254929
Revert "refactor (backend): port extract-hashtags to backend-rs"
...
This reverts commit 332b6cd620
.
It worked perfectly fine, but the mfm crate is not licensed properly.
Also, we may want to use libmfm instead of mfm-rs.
2024-07-24 19:30:49 +09:00
naskya
0595dccbfd
Revert "refactor? (backend): move consts to backend-rs"
...
This commit partially reverts b9c3dfbd3d
.
2024-07-24 19:25:07 +09:00
naskya
09721be9fe
chore (backend-rs): convert case of source language (& filter out possibly corrupted data)
2024-07-24 18:51:23 +09:00
naskya
fb39bbf8e5
chore: format
2024-07-23 06:45:19 +09:00
naskya
65ce0d5221
chore (backend-rs): address deprecation warning
2024-07-22 06:10:45 +09:00
naskya
dee775ae42
chore: update auto-generated file
2024-07-22 04:26:05 +09:00
GitLab CI
298a7ec821
chore(deps): update dependency @napi-rs/cli to v3.0.0-alpha.62
2024-07-21 12:05:24 +00:00
naskya
bf61dee538
chore (backend-rs): libretranslate API now supports zh-Hant translations
2024-07-21 12:07:59 +09:00
naskya
332b6cd620
refactor (backend): port extract-hashtags to backend-rs
2024-07-21 09:18:22 +09:00
naskya
052a68fc7f
refactor (backend): port translator to backend-rs
2024-07-21 05:50:13 +09:00
GitLab CI
5ca8eec5e4
chore(deps): update dependency @napi-rs/cli to v3.0.0-alpha.61
2024-07-18 12:05:11 +00:00
naskya
a8a899a61e
chore (backend-rs, macro-rs): generate document from error messages
2024-07-17 08:27:36 +09:00
GitLab CI
4b91d73571
chore(deps): update dependency @napi-rs/cli to v3.0.0-alpha.60
2024-07-16 12:05:07 +00:00
naskya
c127d01dbf
chore: update auto-generated file
2024-07-16 09:03:05 +09:00
naskya
d9358c4020
test (backend-rs): make ts_export
ed functions testable
2024-07-16 08:50:30 +09:00
GitLab CI
6ee7ab99c3
chore(deps): update dependency @napi-rs/cli to v3.0.0-alpha.59
2024-07-15 20:05:42 +00:00
naskya
7024dc67f4
chore (backend-rs): do not use Arc for internal actor caches at least for now
2024-07-13 22:43:05 +09:00
naskya
e1ad96aac4
chore (backend-rs): prefer to_owned() over to_string()
2024-07-13 22:25:22 +09:00
naskya
9bb357dc50
refactor (backend): port getInstanceActor/getRelayActor to backend-rs
2024-07-13 20:45:52 +09:00
naskya
bbfd3218e1
fix (backend-rs): encode redis password
2024-07-12 23:43:08 +09:00
GitLab CI
59123fb066
chore(deps): update dependency @napi-rs/cli to v3.0.0-alpha.58
2024-07-11 12:05:33 +00:00
naskya
1c8308cc32
chore (backend-rs): add comment
2024-07-11 02:54:46 +09:00
naskya
85a1db7981
refactor (backend-rs): provide DbConn as an argument of user::count::local_total
2024-07-11 02:41:23 +09:00
naskya
ca6b840302
chore (backend-rs): add comment on NUMBER_OF_SYSTEM_ACTORS
2024-07-11 02:35:44 +09:00
naskya
edea72913e
fix (backend): count correct local users
2024-07-10 23:37:41 +09:00
GitLab CI
8ebaf719b1
chore(deps): update dependency @napi-rs/cli to v3.0.0-alpha.57
2024-07-10 01:05:00 +00:00
naskya
811a8c8559
Merge branch 'develop' into iceshrimp_mastodon
2024-07-10 08:15:59 +09:00
naskya
f5fc03698b
meta (backend-rs, macro-rs): set Rust version and edition in root
2024-07-09 18:36:45 +09:00
naskya
2f12da683d
meta: clarify the licenses
...
Note that the only authors of packages/macro-rs are @naskya and @sup39
at this moment, and they are agreed upon this change.
Also note that packages/firefish-js is forked from
https://github.com/misskey-dev/misskey.js
which is licensed under the MIT License.
Co-authored-by: sup39 <dev@sup39.dev>
2024-07-09 18:33:41 +09:00
naskya
892ff73cc5
fix (backend-rs): use tokio::sync::OnceCell for connection pools
2024-07-09 16:37:05 +09:00
naskya
0d561cfdb4
Merge branch 'develop' into iceshrimp_mastodon
2024-07-09 00:42:27 +09:00
naskya
db0ca693c6
docs (backend-rs): minor updates
2024-07-06 02:04:24 +09:00
naskya
712257a376
docs: add some docs for backend-rs
2024-07-05 23:37:15 +09:00
naskya
cdb890843a
Merge branch 'develop' into iceshrimp_mastodon
2024-07-05 16:41:23 +09:00
naskya
19673c6220
chore (backend-rs): update napi-derive
2024-07-05 16:21:16 +09:00
GitLab CI
b269c80e89
chore(deps): update dependency @napi-rs/cli to v3.0.0-alpha.56
2024-07-05 04:06:35 +00:00
naskya
3d11e6d519
chore: format
2024-07-05 04:23:40 +09:00
naskya
c630187b2e
Merge branch 'develop' into iceshrimp_mastodon
2024-07-05 01:38:52 +09:00
naskya
c855681b0c
feat: add ability to disable the cat language conversion
2024-07-05 01:24:57 +09:00
naskya
a130917c13
Merge branch 'develop' into iceshrimp_mastodon
2024-07-03 23:52:01 +09:00
naskya
5045f39da4
chore (backend-rs): use custom macros
2024-07-03 16:32:12 +09:00
naskya
b9aad98174
chore (backend-rs): use with-serde flag
2024-07-03 16:25:11 +09:00
naskya
76c411f1ff
Merge branch 'develop' into iceshrimp_mastodon
2024-07-02 23:54:11 +09:00
naskya
c59d7fcd03
fix (backend): broken RSS feed title
2024-07-02 23:35:39 +09:00
naskya
a451cf664c
Merge branch 'develop' into iceshrimp_mastodon
2024-06-28 16:45:41 +09:00
naskya
d262cb2125
chore (backend-rs): add package.json to the source of index.{js,d.ts}
2024-06-28 07:20:42 +09:00
naskya
bdb45a63d9
Merge branch 'develop' into iceshrimp_mastodon
2024-06-28 06:43:27 +09:00
naskya
22c31716fd
chore (backend-rs): use --dts-header option
2024-06-28 06:42:26 +09:00
naskya
0de6222671
Merge branch 'develop' into iceshrimp_mastodon
2024-06-27 22:17:24 +09:00
naskya
61b6ac5f2c
fix (backend-rs): do not specify RUSTFLAGS over napi-rs cli (at least for now)
2024-06-27 01:00:43 +09:00
naskya
b05972201e
meta: remove unused napi-related files
2024-06-23 05:13:40 +09:00
naskya
94c01d72e4
container: do not specify target CPU in container image build
2024-06-23 00:17:55 +09:00
naskya
c072f791aa
Merge branch 'develop' into iceshrimp_mastodon
2024-06-22 23:54:37 +09:00
naskya
f51047d60c
chore (backend-rs): address TODO
2024-06-21 19:09:09 +09:00
naskya
16e88f4739
chore (backend-rs): update napi-rs dependencies
2024-06-18 09:17:32 +09:00
naskya
977a989a24
chore (backend-rs): compile for native cpu arch
2024-06-18 08:59:51 +09:00
naskya
ee933524e4
Merge branch 'develop' into iceshrimp_mastodon
2024-06-17 23:50:39 +09:00
naskya
98d14512c1
chore (backend-rs): move same process outside of a loop
2024-06-16 19:48:27 +09:00
naskya
9d9af28cb1
chore (backend-rs): prefer using as_ref & apply clippy fix
2024-06-15 07:03:52 +09:00
naskya
93fdf11cfa
chore (backend-rs): reference Options using as_ref
2024-06-15 06:54:18 +09:00
naskya
f6643325c0
Merge branch 'develop' into iceshrimp_mastodon
2024-06-12 21:18:30 +09:00
naskya
8931bc708e
test (backend-rs): minor refactoring
2024-06-12 20:00:44 +09:00
naskya
9502289d89
chore (backend-rs): remove crate-level use
s
2024-06-12 03:38:31 +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
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
8a7ccbe72d
chore (backend-rs): add idna feature flags
2024-06-11 10:23:21 +09: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
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
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
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
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
0839fe27b2
refactor (backend-rs): save nodeinfo cache directly
2024-06-07 22:21:53 +09: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
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
d6bd3af8a9
Merge branch 'develop' into refactor/scheduled-posts
2024-06-07 07:11:46 +09:00