View Issue Details

IDProjectCategoryView StatusLast Update
0032258mantisbtapi restpublic2023-10-31 16:32
Reportervboctor Assigned Tovboctor  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product Version2.25.5 
Target Version2.26.0Fixed in Version2.26.0 
Summary0032258: Add REST API for setting config options that are settable via database
Description

Implement a command and use from REST API and Web UI.

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master 5de56289

2023-03-26 19:22

vboctor


Details Diff
Implement ConfigsSetCommand

Fixes 0032258
Affected Issues
0032258
add - core/commands/ConfigsSetCommand.php Diff File

MantisBT: master 38a7cafa

2023-03-26 19:23

vboctor


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

vboctor


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

vboctor


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

vboctor


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

vboctor


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

vboctor


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

vboctor


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