| Anonymous | Login | Signup for a new account | 2013-06-19 02:28 EDT | ![]() |
| Main | My View | View Issues | Change Log | Roadmap | Wiki | ManTweet | Repositories |
| View Issue Details [ Jump to Notes ] [ Wiki ] [ Related Changesets ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0012946 | mantisbt | api soap | public | 2011-04-18 17:03 | 2013-04-06 08:23 | ||||
| Reporter | rnelson | ||||||||
| Assigned To | rombert | ||||||||
| Priority | normal | Severity | feature | Reproducibility | N/A | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | git trunk | ||||||||
| Target Version | 1.2.6 | Fixed in Version | 1.2.6 | ||||||
| Summary | 0012946: mc_user_pref_get_pref, user_pref_get_pref API call | ||||||||
| Description | The submitted patch adds function mc_user_pref_get_pref to the SOAP API as a frontend to user_pref_get_pref. With it, a developer can access things such as a user's default project via the API. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
Relationships |
||||||
|
||||||
Notes |
|
|
rombert (developer) 2011-04-20 16:45 |
Thanks for the patch. I only have two minor comments: - the ordering of the parameters should be 'project_id', 'pref_name', as we should go from general to specific; - there is an unneeded assignment of $t_user_pref in the implementation; please return the value from the function call. Also it would be nice to have a test, although it's not mandatory. I can assist if needed. |
|
rnelson (reporter) 2011-04-25 13:01 |
I've uploaded an amended patch that includes those two changes and a test. |
|
rombert (developer) 2011-04-26 17:24 |
Thanks! Committed to both branches, with minor modifications to tests. |
|
grangeway (developer) 2013-04-05 17:57 |
Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch |
Related Changesets |
|||
|
MantisBT: master 286c1afa
Timestamp: 2011-04-26 21:15:50 Author: rnelson Committer: rombert [ Details ] [ Diff ] |
Added function mc_user_pref_get_pref to the API to allow read access to user preferences. Fixes 0012946: mc_user_pref_get_pref, user_pref_get_pref API call Signed-off-by: Robert Munteanu <robert.munteanu@gmail.com> |
||
| mod - api/soap/mantisconnect.php | [ Diff ] [ File ] | ||
| add - tests/soap/UserTest.php | [ Diff ] [ File ] | ||
| mod - api/soap/mc_core.php | [ Diff ] [ File ] | ||
| add - api/soap/mc_user_pref_api.php | [ Diff ] [ File ] | ||
| mod - tests/soap/AllTests.php | [ Diff ] [ File ] | ||
|
MantisBT: master-1.2.x f7bf43fc
Timestamp: 2011-04-26 21:15:50 Author: rnelson Committer: rombert [ Details ] [ Diff ] |
Added function mc_user_pref_get_pref to the API to allow read access to user preferences. Fixes 0012946: mc_user_pref_get_pref, user_pref_get_pref API call Signed-off-by: Robert Munteanu <robert.munteanu@gmail.com> |
||
| add - tests/soap/UserTest.php | [ Diff ] [ File ] | ||
| mod - api/soap/mc_core.php | [ Diff ] [ File ] | ||
| add - api/soap/mc_user_pref_api.php | [ Diff ] [ File ] | ||
| mod - api/soap/mantisconnect.php | [ Diff ] [ File ] | ||
| mod - tests/soap/AllTests.php | [ Diff ] [ File ] | ||
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2011-04-18 17:03 | rnelson | New Issue | |
| 2011-04-18 17:03 | rnelson | File Added: mcuserpref.patch | |
| 2011-04-20 16:45 | rombert | Note Added: 0028686 | |
| 2011-04-20 16:46 | rombert | Assigned To | => rombert |
| 2011-04-20 16:46 | rombert | Status | new => assigned |
| 2011-04-20 16:46 | rombert | Target Version | => 1.2.6 |
| 2011-04-25 13:00 | rnelson | File Added: mcuserpref-v2.patch | |
| 2011-04-25 13:01 | rnelson | Note Added: 0028693 | |
| 2011-04-26 17:24 | rombert | Changeset attached | => MantisBT master 286c1afa |
| 2011-04-26 17:24 | rombert | Changeset attached | => MantisBT master-1.2.x f7bf43fc |
| 2011-04-26 17:24 | rombert | Resolution | open => fixed |
| 2011-04-26 17:24 | rombert | Fixed in Version | => 1.2.6 |
| 2011-04-26 17:24 | rombert | Note Added: 0028696 | |
| 2011-04-26 17:24 | rombert | Resolution | fixed => open |
| 2011-04-26 17:24 | rombert | Fixed in Version | 1.2.6 => |
| 2011-04-26 17:24 | rombert | Status | assigned => resolved |
| 2011-04-26 17:24 | rombert | Resolution | open => fixed |
| 2011-04-26 17:24 | rombert | Fixed in Version | => 1.2.6 |
| 2011-04-26 17:24 | rombert | File Added: mylyn/context/zip-20110427122452.zip | |
| 2011-07-26 09:53 | jreese | Status | resolved => closed |
| 2013-04-05 17:57 | grangeway | Status | closed => acknowledged |
| 2013-04-05 17:57 | grangeway | Note Added: 0036438 | |
| 2013-04-05 18:09 | grangeway | Relationship added | related to 0015721 |
| 2013-04-06 03:43 | dregad | Status | acknowledged => closed |
| 2013-04-06 07:22 | grangeway | Status | closed => acknowledged |
| 2013-04-06 08:23 | grangeway | Status | acknowledged => closed |
| MantisBT 1.2.16dev master-1.2.x-05091f5 [^]
Copyright © 2000 - 2013 MantisBT Team
Time: 0.0927 seconds. memory usage: 2,871 KB |