Commit Graph
26 Commits
Author SHA1 Message Date
RandyTheSilly 70e9ce34fc Set modification times during syncs - sync support is now usably functional 2024-05-19 21:04:07 -04:00
RandyTheSilly c7fee92ca4 Do not call sftpSync if no entries need to be uploaded/downloaded 2024-05-19 20:24:42 -04:00
RandyTheSilly dc4ecaecd8 Only call sftpSync once, as it now iterates over provided lists without the need to create a new sftp client for each entry 2024-05-19 20:20:02 -04:00
RandyTheSilly 912520ff1e Reduce size of server binary by not compiling SSH 2024-05-19 19:34:28 -04:00
RandyTheSilly 17d0e8bfcd Switch from SCP to SFTP for sync 2024-05-19 17:30:39 -04:00
RandyTheSilly 524b30cf1f Promote native sync to replace sshyp-based sync on all platforms 2024-05-17 19:49:49 -04:00
RandyTheSilly 9242b6caa0 Make server respond to "fetch" with output formatted for the client's OS family 2024-05-17 19:36:23 -04:00
RandyTheSilly 513ed74833 Implement initial SCP functionality (not yet usable due to mod times not being preserved) 2024-05-17 15:44:15 -04:00
RandyTheSilly a0ac99ff3c Ensure a device ID exists when sending a "fetch" command to libmuttonserver 2024-05-17 12:32:05 -04:00
RandyTheSilly d55ad76098 Fix import cycle (over SSH keyfile passphrase input) 2024-05-17 12:25:10 -04:00
RandyTheSilly 2a175d0c69 Handle instances where the server does not respond to "fetch" as expected 2024-05-17 11:48:06 -04:00
RandyTheSilly c7635a1ef0 Implement initial support for passphrase-protected SSH keyfiles 2024-05-17 11:42:44 -04:00
RandyTheSilly 578aa60b76 Move device ID generation to sync.DeviceIDGen 2024-05-16 21:26:42 -04:00
RandyTheSilly 8571faee94 When a folder is created on the client, also create it on the server 2024-05-16 21:15:16 -04:00
RandyTheSilly 1ca55b8ac6 Enable real sync deletions on client 2024-05-16 18:14:57 -04:00
RandyTheSilly 77726e9af3 Sync remote folders to client 2024-05-16 18:02:19 -04:00
RandyTheSilly 309ef84803 Parse deletions per-deviceID 2024-05-16 17:46:03 -04:00
RandyTheSilly 0faf2dc732 Implement device ID server registration and server-side init 2024-05-16 17:14:42 -04:00
RandyTheSilly 56e8dc613a Implement initial server-side shearing logic 2024-05-16 16:35:05 -04:00
RandyTheSilly 278c2c1fe4 Map entries to mod times from the beginning 2024-05-16 14:39:33 -04:00
RandyTheSilly 6b120930d0 Implement initial sorting/syncing logic - not yet complete or utilized 2024-05-15 18:36:37 -04:00
RandyTheSilly 8a7d41df04 Check against ~/.ssh/known_hosts 2024-05-15 17:12:09 -04:00
RandyTheSilly 6587bda17b Better fetch remote data in a way that does not add blank items to slices 2024-05-15 16:57:46 -04:00
RandyTheSilly 3a03fae9ee Implement initial server-side code 2024-05-15 16:25:42 -04:00
RandyTheSilly 5e83178046 Implement initial SSH data retrieval 2024-05-15 14:58:21 -04:00
RandyTheSilly f86c2d8153 Initial groundwork for native sync support 2024-05-11 20:52:38 -04:00