Compare commits
1 Commits
c2b5fa7b2e
...
01925fd3f0
| Author | SHA1 | Date | |
|---|---|---|---|
| 01925fd3f0 |
@ -287,9 +287,22 @@ Settings → Integrations → Cove section:
|
|||||||
| `/cove/accounts` | GET | Inbox-style page: unmatched + matched accounts |
|
| `/cove/accounts` | GET | Inbox-style page: unmatched + matched accounts |
|
||||||
| `/cove/accounts/<id>/link` | POST | `action=create` or `action=link` |
|
| `/cove/accounts/<id>/link` | POST | `action=create` or `action=link` |
|
||||||
| `/cove/accounts/<id>/unlink` | POST | Removes job link, puts account back in unmatched |
|
| `/cove/accounts/<id>/unlink` | POST | Removes job link, puts account back in unmatched |
|
||||||
|
| `/cove/run/<run_id>/detail` | GET | JSON: structured Cove run details for job detail popup |
|
||||||
| `/settings/cove/test-connection` | POST | AJAX: verify credentials, save partner_id |
|
| `/settings/cove/test-connection` | POST | AJAX: verify credentials, save partner_id |
|
||||||
| `/settings/cove/run-now` | POST | Manual import trigger |
|
| `/settings/cove/run-now` | POST | Manual import trigger |
|
||||||
|
|
||||||
|
### Job Detail Popup (Cove runs)
|
||||||
|
Cove run rows in the job detail history table are clickable even without a mail message:
|
||||||
|
- Row has `data-source-type="cove_api"` and `data-run-id`
|
||||||
|
- JS detects `source_type === "cove_api"` and fetches `/cove/run/<run_id>/detail` instead of `inbox_message_detail`
|
||||||
|
- Response includes: `meta` (account name as subject, backup_software, run_at as received_at), `cove_summary` (account, computer, customer, datasources, last run, status), `objects` (per-datasource run_object_links)
|
||||||
|
- Mail section hidden entirely; Cove summary panel shown instead
|
||||||
|
|
||||||
|
### Run Checks Popup (Cove runs)
|
||||||
|
- `routes_run_checks.py` returns `cove_summary` in the run payload for `source_type="cove_api"` runs
|
||||||
|
- Includes: account_name, computer_name, customer_name, readable datasource labels, last_run_at, status
|
||||||
|
- `run_checks.html` shows the Cove summary panel and hides the mail section
|
||||||
|
|
||||||
### Migrations
|
### Migrations
|
||||||
- `migrate_cove_integration()` — adds 8 columns to `system_settings`, `cove_account_id` to `jobs`, `source_type` + `external_id` to `job_runs`, dedup index on `job_runs.external_id`
|
- `migrate_cove_integration()` — adds 8 columns to `system_settings`, `cove_account_id` to `jobs`, `source_type` + `external_id` to `job_runs`, dedup index on `job_runs.external_id`
|
||||||
- `migrate_cove_accounts_table()` — creates `cove_accounts` table with indexes
|
- `migrate_cove_accounts_table()` — creates `cove_accounts` table with indexes
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user