Commit Graph
4 Commits
Author SHA1 Message Date
50e2a47df3 Remote sync: show script error output in the failure message (#13779)
- Append the script's stderr (fallback stdout, capped at 500 chars) to
  download/upload error messages so the actual failure reason is visible
  (e.g. 'NAS share not connected: /Volumes/...').
- Sync error messages now stay visible until closed instead of
  auto-hiding, so the detail can actually be read.
- Do not attempt an upload after a failed download (previously an upload
  with an empty temp path was attempted, masking the real download error).
- Tests: MockRemoteProcess gains configurable exit code/error output;
  new TestGui::testRemoteSyncErrorDetail.

---------

Co-authored-by: moritzthecat <[email protected]>
Co-authored-by: droidmonkey <[email protected]>
2026-11-30 06:31:42 -05:00
Jonathan White fcb32efd05 Improve handling of remote sync saving
* Fixes sporadic failures on gui tests on Windows
* Corrects inability to write to temporary config file while running tests
* Corrects errors when using MockRemoteProcess due to missing functions
2025-03-30 08:14:12 -04:00
Jonathan White 244ed42231 Improve remote sync tests 2025-02-23 22:18:47 -05:00
1ca607792d Support remote database access using external tools (#7222)
* Provide remote database sync capability

Allow arbitrary commands to be defined and executed for syncing databases with remote services. This includes sftp, scp, rsync, etc. 

Remote commands are stored per-database and sync operations are manually triggered by the user from the Database -> Remote Sync menu. 

---------

Co-authored-by: Stefan Forstenlechner <[email protected]>
Co-authored-by: Jonathan White <[email protected]>
2024-06-13 06:23:41 -04:00