Kitaiti Makoto
|
f75fb96f21
|
Add more ActivityPub tests for User
|
2022-01-10 22:19:44 +09:00 |
|
Kitaiti Makoto
|
f23c41ca7b
|
Extract User::outbox_collection_page() from outbox_collection() for testablity
|
2022-01-10 22:18:59 +09:00 |
|
Kitaiti Makoto
|
64a501f0bc
|
Extract User::outbox_collection() from outbox() for testablity
|
2022-01-10 22:18:34 +09:00 |
|
Kitaiti Makoto
|
045ca4d864
|
Don't make medias::tests::clean() panic when file not found
|
2022-01-10 22:04:57 +09:00 |
|
Kitaiti Makoto
|
6572a87190
|
Attach avater to sample user
|
2022-01-10 15:08:11 +09:00 |
|
Kitaiti Makoto
|
eacfe550d1
|
Add tests for Comment::to_activity() and build_delete()
|
2022-01-09 21:05:47 +09:00 |
|
Kitaiti Makoto
|
d5c4bfcd51
|
Extract comments::tests::prepare_activity()
|
2022-01-09 20:43:38 +09:00 |
|
Kitaiti Makoto
|
c3c46befdd
|
Add test about reply
|
2022-01-09 20:36:38 +09:00 |
|
Kitaiti Makoto
|
74aa291afd
|
Fix Comment::to_activity()
|
2022-01-09 13:10:54 +09:00 |
|
Kitaiti Makoto
|
8d74937a6b
|
Add test to validate comment json
|
2022-01-09 13:10:38 +09:00 |
|
Kitaiti Makoto
|
f138adc717
|
Make format_datetime() crate public
|
2022-01-09 12:28:22 +09:00 |
|
Kitaiti Makoto
|
83ecef6e62
|
Change format_datetime implementation according to feature
|
2022-01-09 09:31:03 +09:00 |
|
Kitaiti Makoto
|
5a1b1c9e55
|
Add tests for Follow::build_accept() and build_undo()
|
2022-01-09 09:12:29 +09:00 |
|
Kitaiti Makoto
|
404e876bac
|
Fix tests
|
2022-01-09 09:12:09 +09:00 |
|
Kitaiti Makoto
|
9d2c3382c3
|
Extract Follow::build_accept
|
2022-01-09 08:29:02 +09:00 |
|
Kitaiti Makoto
|
0fb6eb0b43
|
Add test for Follow::to_activity()
|
2022-01-09 08:19:32 +09:00 |
|
Kitaiti Makoto
|
e71d9ec70c
|
Add mention to test suite for Post activities
|
2022-01-09 08:08:26 +09:00 |
|
Kitaiti Makoto
|
0222609c7f
|
Fix variable names
|
2022-01-09 05:16:56 +09:00 |
|
Kitaiti Makoto
|
da99de61f0
|
Complete a slash to Post Create activity's ID
|
2022-01-09 04:59:16 +09:00 |
|
Kitaiti Makoto
|
d8026865da
|
Add tests for Post::to_activity(), create_activity() and update_activity()
|
2022-01-09 04:58:48 +09:00 |
|
Kitaiti Makoto
|
ffe3dbcb33
|
Fix ap_url of Reshare
|
2022-01-09 01:58:39 +09:00 |
|
Kitaiti Makoto
|
00b4f701d1
|
Add tests for Reshare::to_activity and build_undo
|
2022-01-09 01:58:15 +09:00 |
|
Kitaiti Makoto
|
77a84b53ec
|
Add test for Like::build_undo
|
2022-01-09 01:55:06 +09:00 |
|
Kitaiti Makoto
|
19b3cc6020
|
Remove double slashes
|
2022-01-09 01:32:14 +09:00 |
|
Kitaiti Makoto
|
62dbd1153c
|
Add test for Like::to_activity
|
2022-01-09 01:32:04 +09:00 |
|
Kitaiti Makoto
|
61d5446113
|
Use plume_common::escape() instead of askama_escape::escape() directly
|
2022-01-07 05:47:08 +09:00 |
|
Kitaiti Makoto
|
1e3851ea69
|
Execute SQLs for email_signups in transaction
|
2022-01-06 20:27:55 +09:00 |
|
Kitaiti Makoto
|
b6d38536e3
|
Add email signup feature
|
2022-01-06 20:18:20 +09:00 |
|
Kitaiti Makoto
|
9b4c678aa9
|
Make signup token transparent
|
2022-01-06 18:40:24 +09:00 |
|
Kitaiti Makoto
|
a65775d85b
|
Implement EmailSignup
|
2022-01-05 03:17:58 +09:00 |
|
Kitaiti Makoto
|
192c7677c3
|
Run migration
% diesel migration run
|
2022-01-05 00:01:36 +09:00 |
|
Kitaiti Makoto
|
40efd73dfc
|
Add config for sign up strategy
|
2022-01-05 00:01:32 +09:00 |
|
Kitaiti Makoto
|
6f8d5c1eb4
|
Add SmtpClient::new_with_addr() method
|
2022-01-03 18:09:13 +09:00 |
|
Kitaiti Makoto
|
a599760891
|
Use smtp module from plume_models instead of lettre directly
|
2022-01-03 17:36:11 +09:00 |
|
Kitaiti Makoto
|
00324f668f
|
Add port field to MailConfig
|
2022-01-03 17:25:46 +09:00 |
|
Kitaiti Makoto
|
0058c3053d
|
Move mail config from plume::mail::mailer to plume_models::CONFIG
|
2022-01-03 15:50:04 +09:00 |
|
Kitaiti Makoto
|
5532b4a4d7
|
Ensure Post ap_url
|
2022-01-03 02:21:34 +09:00 |
|
Kitaiti Makoto
|
c67b702425
|
Cache LOCAL_INSTANCE_USER once
|
2021-12-05 20:57:10 +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
|
12a8d00f8e
|
Cache local instance user for test
|
2021-12-05 19:32:27 +09:00 |
|
Kitaiti Makoto
|
b9ea06a01a
|
Don't stop even when caching local instance user
|
2021-12-05 19:32:27 +09:00 |
|
Kitaiti Makoto
|
1e67b3c13c
|
Create local instance user on caching if it doesn't exist
|
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
|
af5b0b961b
|
Extract Instance::create_local_instance_user() from get_local_instance_user_uncached()
|
2021-12-05 19:32:27 +09:00 |
|
Kitaiti Makoto
|
1506802c20
|
Implement LOCAL_INSTANCE_USER and related methods
|
2021-12-05 19:32:27 +09:00 |
|
Kitaiti Makoto
|
897ea8e11e
|
Change const name: LOCAL_INSTANCE_USER -> LOCAL_INSTANCE_USERNAME
|
2021-12-05 19:32:27 +09:00 |
|
Kitaiti Makoto
|
858806149a
|
Use concrete Error for Signer
|
2021-12-05 19:32:27 +09:00 |
|