diff --git a/components/config_form.templ b/components/config_form.templ index 6bb6ddc..9ee1a18 100644 --- a/components/config_form.templ +++ b/components/config_form.templ @@ -247,18 +247,18 @@ func getInitialData(config *db.TransferConfig) string { templ ConfigForm(ctx context.Context, data ConfigFormData) { @LayoutWithContext(getConfigFormTitle(data.IsNew), ctx) { -
-
+
+
-
- +
+
-

+

{ getConfigFormTitle(data.IsNew) }

-

+

Set up your file transfer configuration

@@ -385,17 +385,14 @@ templ ConfigForm(ctx context.Context, data ConfigFormData) {
+ class="btn-secondary mr-4"> Cancel
-
+

Configure your file transfer settings carefully for optimal performance

diff --git a/components/providers/common/common.templ b/components/providers/common/common.templ index 8562ee2..fc111f9 100644 --- a/components/providers/common/common.templ +++ b/components/providers/common/common.templ @@ -49,7 +49,7 @@ templ FilePatternFields() { Pattern for output filename. Use variables like ${`filename`}, ${`timestamp`}, ${`date`}

-

+

Pattern for filenames. Available variables:
${`filename`} - Original filename without extension (e.g., "report")
${`ext`} - Original file extension (e.g., "csv")
@@ -65,8 +65,8 @@ templ FilePatternFields() { } templ ArchiveOptions() { -

-

Archive & Delete Options

+
+

Archive & Delete Options

-
+
Enable archiving
- +
- +
-

+

Files will be moved here after successful transfer

@@ -109,15 +109,15 @@ templ ArchiveOptions() { class="sr-only" :value="deleteAfterTransfer ? 'true' : 'false'" /> -
-
+
-
+
Delete source files after transfer
-

+

Warning: This will permanently delete the original files

@@ -129,30 +129,30 @@ templ ArchiveOptions() { class="sr-only" :value="skipProcessedFiles ? 'true' : 'false'" /> -
-
+
-
+
Skip files that have already been processed
-

+

Files with the same hash that have been successfully processed before will be skipped

- +
- +
-

+

Number of files to transfer simultaneously (higher values may improve performance but increase resource usage)

@@ -161,16 +161,16 @@ templ ArchiveOptions() { templ RcloneFlags() {
- +
- +
-

+

Optional: Additional rclone flags for fine-tuning the transfer.

diff --git a/components/providers/destination/gdrive.templ b/components/providers/destination/gdrive.templ index 389874a..705ec94 100644 --- a/components/providers/destination/gdrive.templ +++ b/components/providers/destination/gdrive.templ @@ -14,11 +14,11 @@ templ GoogleDriveDestinationForm() { class="sr-only" x-model="useBuiltinAuth" /> -
-
+
-
+
Use rclone's built-in Google authentication (recommended)
@@ -112,47 +112,43 @@ templ GoogleDriveDestinationForm() {

-
+
- +
-

Important: Authentication Required

-
-

After saving this configuration, you will need to authenticate with Google Drive.

-

The authentication process will require you to:

-
    -
  1. Visit a Google authorization URL
  2. -
  3. Sign in to your Google account
  4. -
  5. Grant permission to access your Google Drive
  6. -
  7. Copy the authorization code back to this application
  8. +

    Authentication Required

    +
    +

    After saving this configuration, you'll need to authenticate with Google Drive:

    +
      +
    1. Go to the configurations page
    2. +
    3. Click the "Authenticate" button for this configuration
    4. +
    5. You'll be redirected to Google to grant access permissions
    6. +
    7. After granting permission, you'll be automatically redirected back to GoMFT
    -

    - This is a one-time process for each configuration. The application will store your authorization token securely. -

-
+
- +
-

Authentication Information

-
+

Authentication Information

+
diff --git a/components/providers/destination/gphotos.templ b/components/providers/destination/gphotos.templ index 7fc56f7..0747009 100644 --- a/components/providers/destination/gphotos.templ +++ b/components/providers/destination/gphotos.templ @@ -13,13 +13,12 @@ templ GooglePhotosDestinationForm() { -
-
+
-
+
Use rclone's built-in Google authentication (recommended)
@@ -74,13 +73,12 @@ templ GooglePhotosDestinationForm() { -
-
+
-
+
Read-only mode
@@ -110,13 +108,12 @@ templ GooglePhotosDestinationForm() { -
-
+
-
+
Include archived media
@@ -140,47 +137,43 @@ templ GooglePhotosDestinationForm() {

-
+
- +
-

Important: Authentication Required

-
-

After saving this configuration, you will need to authenticate with Google Photos.

-

The authentication process will require you to:

-
    -
  1. Visit a Google authorization URL
  2. -
  3. Sign in to your Google account
  4. -
  5. Grant permission to access your Google Photos
  6. -
  7. Copy the authorization code back to this application
  8. +

    Authentication Required

    +
    +

    After saving this configuration, you'll need to authenticate with Google Photos:

    +
      +
    1. Go to the configurations page
    2. +
    3. Click the "Authenticate" button for this configuration
    4. +
    5. You'll be redirected to Google to grant access permissions
    6. +
    7. After granting permission, you'll be automatically redirected back to GoMFT
    -

    - This is a one-time process for each configuration. The application will store your authorization token securely. -

-
+
- +
-

Authentication Information

-
+

Authentication Information

+
@@ -203,14 +196,14 @@ templ GooglePhotosDestinationForm() {
-
+
- +
-

Important Note About Google Photos

-
+

Important Note About Google Photos

+

All media items uploaded to Google Photos with rclone are stored in full resolution at original quality. These uploads will count towards storage in your Google Account.

diff --git a/components/providers/source/gdrive.templ b/components/providers/source/gdrive.templ index 4300fdf..4f0871c 100644 --- a/components/providers/source/gdrive.templ +++ b/components/providers/source/gdrive.templ @@ -14,11 +14,11 @@ templ GoogleDriveSourceForm() { class="sr-only" x-model="useBuiltinAuth" /> -
-
+
-
+
Use rclone's built-in Google authentication (recommended)
@@ -112,15 +112,60 @@ templ GoogleDriveSourceForm() {

-
+
- +
-

Authentication Required

-
-

After saving this configuration, you'll need to authenticate with Google Drive on the configurations page.

+

Authentication Required

+
+

After saving this configuration, you'll need to authenticate with Google Drive:

+
    +
  1. Go to the configurations page
  2. +
  3. Click the "Authenticate" button for this configuration
  4. +
  5. You'll be redirected to Google to grant access permissions
  6. +
  7. After granting permission, you'll be automatically redirected back to GoMFT
  8. +
+
+
+
+
+ +
+
+
+ +
+
+

Authentication Information

+
+ +
diff --git a/components/providers/source/gphotos.templ b/components/providers/source/gphotos.templ index d1e0187..6bf5b7c 100644 --- a/components/providers/source/gphotos.templ +++ b/components/providers/source/gphotos.templ @@ -8,18 +8,17 @@ templ GooglePhotosSourceForm() { } })">
-