129 Commits

Author SHA1 Message Date
Kitaiti Makoto
1b74c4fd08 Implement User::outbox_collection_page07() 2022-02-14 02:27:04 +09:00
Kitaiti Makoto
848ed1eee0 Implement User::outbox_page07() 2022-02-13 19:09:13 +09:00
Kitaiti Makoto
302167ff95 Add test for User::delete_activity07() 2022-02-13 18:48:16 +09:00
Kitaiti Makoto
ef2d2f2b20 Implement User::delete_activity07() 2022-02-13 18:48:05 +09:00
Kitaiti Makoto
5720b0901e Add test self_federation07() for User 2022-02-13 17:59:22 +09:00
Kitaiti Makoto
410fc520fb Add test for User::to_activity07() 2022-02-13 17:57:06 +09:00
Kitaiti Makoto
5b4405f368 Implement User::to_activity() 2022-02-13 17:41:52 +09:00
Kitaiti Makoto
071f468bf5 Implement User::outbox07() 2022-02-13 02:22:48 +09:00
Kitaiti Makoto
7361926ce5 Add test for User::outbox_collection07() 2022-02-13 02:22:22 +09:00
Kitaiti Makoto
ffe25cfd3d Implement User::outbox_collection07() 2022-02-13 02:09:28 +09:00
Kitaiti Makoto
793124546c Implement AsObject07 for User 2022-02-13 01:43:01 +09:00
Kitaiti Makoto
ac03fcded6 [REFACTORING]Use method chain instead of if clauses 2022-02-13 01:31:15 +09:00
Kitaiti Makoto
bcbe1ba150 Use OneOrMany<AnyBase>::to_as_uri() 2022-02-13 01:23:47 +09:00
Kitaiti Makoto
afc206631c Remove unused import 2022-02-13 01:00:24 +09:00
Kitaiti Makoto
e0a6a5ef15 Use OneOrMany<&AnyString>::to_as_string() 2022-02-13 00:53:08 +09:00
Kitaiti Makoto
1f40a1dd74 Implement FromId07 for User 2022-02-12 22:32:19 +09:00
Kitaiti Makoto
4f9eccf30f WIP 2022-02-11 14:49:52 +09:00
Kitaiti Makoto
34c374de1a Attach icon field to User activity only whene it has avatar 2022-02-05 17:58:00 +09:00
Kitaiti Makoto
113722e4ba Add more ActivityPub tests for User 2022-02-05 17:58:00 +09:00
Kitaiti Makoto
3b429909f1 Extract User::outbox_collection_page() from outbox_collection() for testablity 2022-02-05 17:58:00 +09:00
Kitaiti Makoto
f1cdf4552f Extract User::outbox_collection() from outbox() for testablity 2022-02-05 17:58:00 +09:00
Kitaiti Makoto
e1a598a459 Attach avater to sample user 2022-02-05 17:58:00 +09:00
Kitaiti Makoto
a65775d85b Implement EmailSignup 2022-01-05 03:17:58 +09:00
Kitaiti Makoto
e01539ef16 Follow Clippy 2021-12-05 20:24:11 +09:00
Kitaiti Makoto
5651e11ba1 Add FIXME comment 2021-12-05 20:22:10 +09:00
Kitaiti Makoto
d98132db80 Don't log unnecessary error 2021-12-05 19:32:27 +09:00
Kitaiti Makoto
25fe2ad802 Use request::get() instead of ClientBuilder 2021-12-05 19:32:27 +09:00
Kitaiti Makoto
f4d7dfb261 Sign GET request to other instances 2021-12-05 19:32:27 +09:00
Kitaiti Makoto
858806149a Use concrete Error for Signer 2021-12-05 19:32:27 +09:00
Kitaiti Makoto
94cc260803 Add Instance to users::Role 2021-12-05 19:32:27 +09:00
Kitaiti Makoto
ae3344f318 Follow Rust and crates update 2021-11-28 08:06:29 +09:00
Kitaiti Makoto
8e50d95a7a Fix code according to clippy 2021-03-28 03:46:37 +09:00
Kitaiti Makoto
b2e7664339 Extract User::acct_authority() method 2021-02-14 22:14:44 +09:00
Kitaiti Makoto
6401cb6fb7 Define User::remote_user_found() and publish_remote_user_found() 2021-02-01 00:48:22 +09:00
Kitaiti Makoto
3b766fc427 Define UserEvent 2021-01-31 22:55:28 +09:00
Kitaiti Makoto
78be49d57d Make tests follow API changes 2021-01-31 21:58:44 +09:00
Kitaiti Makoto
25e52788c5 Replace PlumeRocket with DbConn where possible 2021-01-31 21:58:09 +09:00
Kitaiti Makoto
6c1dd6608d Add test for search actor 2021-01-16 16:39:12 +09:00
Kitaiti Makoto
47e67d9b64 Add methods to clear data of instances and users table for testing 2021-01-16 16:39:12 +09:00
Kitaiti Makoto
1d042e1bb2 Add methods to clear data of instances and users table for testing 2021-01-16 16:39:12 +09:00
Kitaiti Makoto
a0cd9dd6bd Fix tests to follow API changes 2021-01-16 16:39:12 +09:00
Kitaiti Makoto
fc8ee1c3bc Remove searcher from arguments of Post::delete() and dependented methods 2021-01-16 16:38:18 +09:00
Kitaiti Makoto
012c8d2026 Remove redundant imports 2021-01-15 22:35:19 +09:00
Aiden McClelland
24aac22b89
proxy support 2021-01-11 13:27:52 -07:00
Trinity Pointard
3de009713d try fixing clippy and fmt 2020-10-08 20:24:03 +02:00
Trinity Pointard
69bcb01715 fix test following ldap udpate 2020-10-08 19:59:54 +02:00
Trinity Pointard
4da9b24cb1 cargo fmt 2020-10-07 23:40:27 +02:00
Trinity Pointard
f40634aa97 address comments 2020-10-07 23:39:38 +02:00
Trinity Pointard
8975b0f9e9 cargo fmt 2020-10-04 12:18:54 +02:00
Trinity Pointard
d626f3366d add support for ldap 2020-10-04 12:18:22 +02:00