View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0032247 | mantisbt | api rest | public | 2023-03-26 00:00 | 2023-10-31 16:32 |
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 | 0032247: REST API for deleting API token | ||||
Description | Add an API to delete an API token. | ||||
Tags | No tags attached. | ||||
There is new code that breakes PHP 7.0 compatibility and requires PHP 7.3 because of trailing comma in function calls https://wiki.php.net/rfc/trailing-comma-function-calls |
|
I have fixed the issue and pushed to master. I'll check the other PRs for the same. |
|
MantisBT: master 3ddb2c79 2023-03-26 00:01 Details Diff |
Add UserTokenDeleteCommand Fixes 0032247 |
Affected Issues 0032247 |
|
mod - core/api_token_api.php | Diff File | ||
add - core/commands/UserTokenDeleteCommand.php | Diff File | ||
MantisBT: master 8696c7e6 2023-03-26 00:02 Details Diff |
Update Web UI to use UserTokenDeleteCommand Fixes 0032247 |
Affected Issues 0032247 |
|
mod - api_token_revoke.php | Diff File | ||
mod - api_tokens_page.php | Diff File | ||
MantisBT: master e00acf62 2023-03-26 00:27 Details Diff |
Update REST API to use UserTokenDeleteCommand Fixes 0032247 |
Affected Issues 0032247 |
|
mod - api/rest/restcore/users_rest.php | Diff File | ||
mod - api/soap/mc_api.php | Diff File | ||
mod - core/commands/UserTokenDeleteCommand.php | Diff File | ||
mod - core/constant_inc.php | Diff File | ||
MantisBT: master d9409a09 2023-04-08 20:31 Details Diff |
Remove trailing commas for PHP 7 compatibility Fixes 0032247 |
Affected Issues 0032247 |
|
mod - core/commands/UserTokenCreateCommand.php | Diff File | ||
mod - core/commands/UserTokenDeleteCommand.php | Diff File |