fix flag internet mode
This commit is contained in:
@@ -120,6 +120,7 @@ plugin_urbackup/
|
||||
- `server_test.ajax.php`: entity-aware `check()` authorization; added `public/js/urbackup.js` (registered via `ADD_JAVASCRIPT`) that sends the `X-Glpi-Csrf-Token` header on plugin AJAX POSTs; `dropdown_host.ajax.php` now requires READ right
|
||||
- Renamed the server form client tabs to be clearer: "Linked clients" → "Managed clients", "Unlinked clients" → "Linkable clients", "Missing clients" → "Clients to manage"; removed the sort/search on the missing clients table to match the other tab layouts; updated it_IT/de_DE/en_GB translations and recompiled locales
|
||||
- **Uninstall cleanup**: the UrBackup capacity reference (`GlpiPlugin\Urbackup\Capacity\UrBackupCapacity`) is now removed from the `capacities` JSON column of `glpi_assetdefinitions` so the database keeps no stale reference to the disinstalled plugin (GLPI core safely ignores such orphaned capacities, but they are now cleaned up)
|
||||
- **Internet mode fix**: the "Enable Internet mode" switch in the asset tab no longer appears stuck on its previous state after toggling. The 30 s API-data session cache was not invalidated after mutations, so the tab kept showing stale settings right after the redirect; a new `AssetTab::clearApiCache()` now clears it on every mutating action (backups, create/delete client, internet mode, default dirs)
|
||||
|
||||
### 0.7.2
|
||||
- UrBackup on Computer is now configurable: new `enable_computer` setting on the plugin configuration page (previously always enabled, hardcoded)
|
||||
|
||||
Reference in New Issue
Block a user