Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@scottjpearson
Copy link
Contributor

Pre-flight Checklist

  • Are all the features in this PR tested?
  • Have other features this PR touches also been tested?
  • Has the code been formatted for consistency and readability?
  • Did you also update related documentation and tooling, such as .readme or tests?

Overview

This new feature for the API Sync module facilitates the synching of files if a configuration setting is checked. It handles imports and exports as described in the README.md. File deletions are made if the source project is empty. Logging messages are made if file transmission is successful.

Context

This PR is necessitated by an Edge for Scholars project that requires a large amount of files to be synched on a dev server.

Screenshots

To enable or disable, check the box in the module's configuration that says:

  • export-files: Check to export files only when the filename has changed. When exported, any files on the server will be overwritten by the new files. Exporting files can significantly increase the time required to sync a project. The holder of the API token must have Delete Record privileges on the remote server.
  • import-files: Check to import files only when the filename has changed. Files that you have saved will be replaced by any downloaded files. Importing files can significantly increase the amount of time required to sync a project.

@moorejr5 moorejr5 requested review from Ehaic and moorejr5 July 18, 2025 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant