View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0032258 | mantisbt | api rest | public | 2023-03-26 23:04 | 2025-07-22 00:40 | 
| Reporter | vboctor | Assigned To | vboctor | ||
| Priority | normal | Severity | feature | Reproducibility | N/A | 
| Status | closed | Resolution | fixed | ||
| Product Version | 2.25.5 | ||||
| Target Version | 2.26.0 | Fixed in Version | 2.26.0 | ||
| Summary | 0032258: Add REST API for setting config options that are settable via database | ||||
| Description | Implement a command and use from REST API and Web UI. | ||||
| Tags | No tags attached. | ||||
| MantisBT: master 5de56289 2023-03-26 19:22 Details Diff | Implement ConfigsSetCommand Fixes 0032258 | Affected Issues 0032258 | |
| add - core/commands/ConfigsSetCommand.php | Diff File | ||
| MantisBT: master 38a7cafa 2023-03-26 19:23 Details Diff | Add REST API for setting configs Fixes 0032258 | Affected Issues 0032258 | |
| mod - api/rest/restcore/config_rest.php | Diff File | ||
| MantisBT: master 95816952 2023-03-26 20:05 Details Diff | Support setting enum configs via array of objects In addition to support setting enum strings in the formation used in config_inc file, The API now supports the same format that get config returns for enums, which is an array of objects, each containing and id and a name property. Note that the label field returns by get configs API, is not supported in set configs. Fixes 0032258 | Affected Issues 0032258 | |
| mod - core/commands/ConfigsSetCommand.php | Diff File | ||
| MantisBT: master 4d0036a7 2023-03-26 20:10 Details Diff | Expect config option names in 'option' to match get configs Fixes 0032258 | Affected Issues 0032258 | |
| mod - core/commands/ConfigsSetCommand.php | Diff File | ||
| MantisBT: master da8d2358 2023-03-26 20:24 Details Diff | Use 'set_configuration_threshold' for set config access check Fixes 0032258 | Affected Issues 0032258 | |
| mod - core/commands/ConfigsSetCommand.php | Diff File | ||
| MantisBT: master e7dcd297 2023-03-26 23:00 Details Diff | Update Web UI to use command for config add, clone, and edit Fixes 0032258 | Affected Issues 0032258 | |
| mod - adm_config_set.php | Diff File | ||
| mod - core/commands/ConfigsSetCommand.php | Diff File | ||
| MantisBT: master 2379768f 2023-03-26 23:00 Details Diff | Update Web UI to use command for config delete Fixes 0032258 | Affected Issues 0032258 | |
| mod - adm_config_delete.php | Diff File | ||
| MantisBT: master b666b7e8 2023-04-08 20:46 Details Diff | Remove trailing commas to improve PHP 7 compatibility Fixes 0032258 | Affected Issues 0032258 | |
| mod - adm_config_delete.php | Diff File | ||
| mod - adm_config_set.php | Diff File | ||
| mod - api/rest/restcore/config_rest.php | Diff File | ||
