Make Tilde Friends peachpub-friendly #89

Open
opened 2024-12-15 13:21:14 -05:00 by cory · 0 comments
Owner

mostly from %25W3hdU2XVKWn%2FDB3QfvMBFaMn5nnOcE5vFQ3XAtFmnXg%3D.sha256:

  • Implement the public functions from https://git.coopcloud.tech/PeachCloud/peach-workspace/src/branch/main/peach-web/src/utils/sbot.rs
    • Belongs peachpub-side:
      • systemctl_sbot_cmd(cmd: &str) -> Result<Output, PeachWebError>
      • restart_sbot_process() -> (String, String)
      • init_sbot_with_config()
      • validate_public_key(public_key: &str) -> Result<(), String>
    • Belongs Tilde Friends-side:
      • latest_sequence_number() -> Result<u64, Box>
      • create_invite(uses: u16) -> Result<String, Box>
      • get_profile_info(ssb_id: Option) -> Result<Profile, Box>
      • update_profile_info()
      • follow_peer(public_key: &str) -> Result<String, String>
      • unfollow_peer(public_key: &str) -> Result<String, String>
      • block_peer(public_key: &str) -> Result<String, String>
      • unblock_peer(public_key: &str) -> Result<String, String>
      • get_blocks_list() -> Result<Vec<HashMap<String, String>>, Box>
      • get_follows_list() -> Result<Vec<HashMap<String, String>>, Box>
      • get_friends_list() -> Result<Vec<HashMap<String, String>>, Box>
      • get_local_id() -> Result<String, Box>
      • publish_public_post(text: String) -> Result<String, String>
      • publish_private_msg(text: String, recipients: Vec) -> Result<String, String>
      • get_go_ssb_path() -> Result<String, PeachWebError>
      • blob_is_stored_locally(blob_path: &str) -> Result<bool, PeachWebError>
      • write_blob_to_store(image: BufferedFile) -> Result<String, PeachWebError>
  • PatchWork+ManyVerse can accept Tilde Friends invites, and Tilde Friends follows in response
mostly from %25W3hdU2XVKWn%2FDB3QfvMBFaMn5nnOcE5vFQ3XAtFmnXg%3D.sha256: - [ ] Implement the public functions from https://git.coopcloud.tech/PeachCloud/peach-workspace/src/branch/main/peach-web/src/utils/sbot.rs - Belongs peachpub-side: - [ ] systemctl_sbot_cmd(cmd: &str) -> Result<Output, PeachWebError> - [ ] restart_sbot_process() -> (String, String) - [ ] init_sbot_with_config() - [ ] validate_public_key(public_key: &str) -> Result<(), String> - [ ] Belongs Tilde Friends-side: - [ ] latest_sequence_number() -> Result<u64, Box<dyn Error>> - [ ] create_invite(uses: u16) -> Result<String, Box<dyn Error>> - [ ] get_profile_info(ssb_id: Option<String>) -> Result<Profile, Box<dyn Error>> - [ ] update_profile_info() - [ ] follow_peer(public_key: &str) -> Result<String, String> - [ ] unfollow_peer(public_key: &str) -> Result<String, String> - [ ] block_peer(public_key: &str) -> Result<String, String> - [ ] unblock_peer(public_key: &str) -> Result<String, String> - [ ] get_blocks_list() -> Result<Vec<HashMap<String, String>>, Box<dyn Error>> - [ ] get_follows_list() -> Result<Vec<HashMap<String, String>>, Box<dyn Error>> - [ ] get_friends_list() -> Result<Vec<HashMap<String, String>>, Box<dyn Error>> - [ ] get_local_id() -> Result<String, Box<dyn Error>> - [ ] publish_public_post(text: String) -> Result<String, String> - [ ] publish_private_msg(text: String, recipients: Vec<String>) -> Result<String, String> - [ ] get_go_ssb_path() -> Result<String, PeachWebError> - [ ] blob_is_stored_locally(blob_path: &str) -> Result<bool, PeachWebError> - [ ] write_blob_to_store(image: BufferedFile) -> Result<String, PeachWebError> - [ ] PatchWork+ManyVerse can accept Tilde Friends invites, and Tilde Friends follows in response
cory added this to the Make it a platform worth building on milestone 2024-12-15 13:21:14 -05:00
Sign in to join this conversation.
No Label
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cory/tildefriends#89
No description provided.