Commit graph

480 commits

Author SHA1 Message Date
silverpill 4f2979f568 Add more tests for activity builders 2022-07-14 09:08:55 +00:00
silverpill b89bd7e570 Move Accept(Follow) builder function to builders::accept_follow module 2022-07-14 08:14:24 +00:00
silverpill d29e27b114 Move Follow() builder function to builders::follow module 2022-07-14 08:14:04 +00:00
silverpill 3bfb7dc9eb Add command for deleting orphaned files 2022-07-12 22:54:38 +00:00
silverpill c9a71e0303 Check storage directory ownership at startup 2022-07-12 22:25:55 +00:00
silverpill 2bbe23cd89 Refactor "refetch-actor" command 2022-07-12 19:42:58 +00:00
silverpill c78af51398 Increase max size of profile field name 2022-07-12 19:03:44 +00:00
silverpill 7ddce0a24d Update readme 2022-07-11 00:48:33 +00:00
silverpill cedc6667bd Try to find profile by acct if couldn't find it by actor ID
This should prevent violation of unique constraint on "acct" column
when importing profile by actor ID.
2022-07-10 21:26:44 +00:00
silverpill 48331382c3 Remove duplicate tags when processing remote posts 2022-07-10 20:58:28 +00:00
silverpill 74eca31a53 Log more details about file errors during fetching 2022-07-10 20:15:47 +00:00
silverpill d831eb79e4 Add address() method to Actor type
Returns ActorAddress object.
2022-07-10 19:41:32 +00:00
silverpill e0a1141552 Check actor ID after fetching 2022-07-10 13:14:41 +00:00
silverpill 803e73b4da Improve logging of mention parsing errors 2022-07-10 13:05:37 +00:00
silverpill 145622e805 Move fetch_profile_by_actor_id to fetcher::helpers module 2022-07-10 13:05:30 +00:00
silverpill a06f1b4aba Use character count instead of bytes in validate_display_name() 2022-07-09 21:25:15 +00:00
silverpill 5d3e5dc693 Re-fetch remote profiles automatically 2022-07-09 21:25:11 +00:00
silverpill 2a626a1859 Replace fetch_profile() function with perform_webfinger_query() 2022-07-08 23:18:46 +00:00
silverpill d658c3e802 Add updated_at column to actor_profile table 2022-07-08 20:02:28 +00:00
silverpill d63c19a996 Add total numbers of local users and posts to NodeInfo response 2022-07-07 19:26:06 +00:00
silverpill 2a22a0bedd Add exclude_replies query parameter to /accounts/:id/statuses API method 2022-07-07 14:56:01 +00:00
silverpill 94bd5bdbb5 Remove duplicates before creating deletion queue 2022-07-06 22:39:27 +00:00
silverpill 255aca68de Allow hashtags to be followed by comma 2022-07-06 22:17:21 +00:00
silverpill 5fc17effaa Show only public posts in local timeline 2022-07-03 21:24:49 +00:00
silverpill 0f5294db24 Change demo instance address in readme 2022-07-02 13:46:59 +00:00
silverpill e511580416 Bump version 2022-06-30 22:08:17 +00:00
silverpill 545dd6d92b Enable contract feature detection
Contracts updated to version 0.5.0.
2022-06-30 12:20:14 +00:00
silverpill 0f74175b29 Refactor scheduler module 2022-06-29 21:08:57 +00:00
silverpill 6615f372e2 Refactor load_abi to return ethabi::Contract type 2022-06-29 14:35:13 +00:00
silverpill f8aaeb01a7 Update contracts to v0.4.0
configureSubscription() method signature has changed.
2022-06-28 18:28:40 +00:00
silverpill 8e7d6716d8 Bump version 2022-06-25 12:45:10 +00:00
silverpill 2f532307a1 Switch to incremental blockchain synchronization 2022-06-25 11:59:03 +00:00
silverpill b618c5b31f Use shared ContractSet object when verifing user during registration
Server will not start if blockchain configuration is invalid.
2022-06-23 22:03:51 +00:00
silverpill 6b06d6d18e Add mapping with additional blockchain info to instance API response 2022-06-22 21:38:04 +00:00
silverpill 6172d309bc Add task name to scheduler error messages 2022-06-21 17:41:16 +00:00
silverpill d8972a9286 Add CLI command for updating current block 2022-06-21 15:28:19 +00:00
silverpill 3bad313d01 Run subscription checker task every 5 minutes 2022-06-20 21:04:30 +00:00
silverpill f312fdff9e Show posts that mention user in home timeline
Even if visibility is not "direct".
2022-06-15 13:10:05 +00:00
silverpill 166a81ce6b Mention all recipients in subscribers-only posts 2022-06-15 12:42:15 +00:00
silverpill fd7ef7b9c1 Move get_note_recipients() to builders::create_note module 2022-06-15 12:09:36 +00:00
silverpill 8d8227c349 Move Create(Note) builder function to builders::create_note module 2022-06-15 11:27:06 +00:00
silverpill ab2aa5f197 Detect incoming subscriber-only posts 2022-06-14 23:49:20 +00:00
silverpill 0148343655 Use initial block number as lower bound when making log query 2022-06-14 21:31:42 +00:00
silverpill 91309e1a7b Don't return error when processing activity from blocked instance 2022-06-14 19:47:36 +00:00
silverpill 29ace97b0e Refactor process_nft_events function 2022-06-14 18:57:00 +00:00
silverpill 30f7f5d996 Initialize contract set in main() 2022-06-14 10:46:15 +00:00
silverpill f700d79754 Ignore subscription event if sender changes their ethereum address in profile 2022-06-05 19:42:48 +00:00
silverpill 5ed671b5ea Add contracts to debian package 2022-06-03 20:33:46 +00:00
silverpill a526b507f3 Always log server errors 2022-06-02 20:04:36 +00:00
silverpill 669c581862 Send Delete(Person) activity when deleting local user 2022-06-02 16:28:40 +00:00