Changesets: MantisBT

master 98c2b8f3

2018-01-06 12:08

atrol


Details Diff
Fix unprotecting admin users

user_delete_project_specific_access_levels must not be called when
unprotecting a user, as user_ensure_unprotected is called in it.

Fixes 0023787
Affected Issues
0023787
mod - manage_user_update.php Diff File

master bbc631e1

2018-01-05 16:37

vboctor


Details Diff
Refactor `finfo` usage
mod - core/file_api.php Diff File
mod - core/plugin_api.php Diff File
mod - core/utility_api.php Diff File
mod - file_download.php Diff File

master 44a060b0

2018-01-05 13:58

vboctor


Details Diff
Implement IssueNoteDeleteCommand
mod - api/rest/restcore/issues_rest.php Diff File
mod - api/soap/mc_issue_api.php Diff File
mod - bugnote_delete.php Diff File
mod - core/bugnote_api.php Diff File
add - core/commands/IssueNoteDeleteCommand.php Diff File

master f7b494ba

2018-01-05 13:41

syncguru

Committer: vboctor


Details Diff
Remove 'arr' from font config settings
mod - config_defaults_inc.php Diff File
mod - core/print_api.php Diff File
mod - docbook/Admin_Guide/en-US/config/display.xml Diff File

master 55ef9739

2018-01-05 13:14

vboctor


Details Diff
Doc fixes
mod - core/commands/IssueNoteAddCommand.php Diff File
mod - core/commands/MonitorAddCommand.php Diff File

master 20271fca

2018-01-05 11:31

vboctor


Details Diff
Fix incorrect unit tests for adding notes

- attr_value should only be used for reminders and doesn’t make sense to happen via SOAP API.
- note type can’t be TIME_TRACKING if note doesn’t have time tracking information.
- If note type not specified, but time tracking info is supplied, make sure type is set to TIME_TRACKING.
mod - tests/soap/IssueNoteTest.php Diff File

master 2451db94

2018-01-05 10:59

vboctor


Details Diff
Fix time tracking in SOAP API
mod - api/soap/mc_issue_api.php Diff File

master 9ea9b555

2018-01-05 10:44

vboctor


Details Diff
Re-assign on feedback to use reporter id

Base logic on reporter id rather than logged in user id.
mod - core/commands/IssueNoteAddCommand.php Diff File

master bfe9e9e9

2018-01-05 10:38

vboctor


Details Diff
Update SOAP API to use IssueNoteAddCommand
mod - api/soap/mc_issue_api.php Diff File

master 573bee3b

2018-01-05 10:05

vboctor


Details Diff
Revise access checks

Make sure access checks are complete and are applied against the effective reporter.

- Private notes
- Attahcing files
- Time tracking

Update command sample data with comments and fixed indentation.
mod - core/commands/IssueNoteAddCommand.php Diff File
mod - core/user_api.php Diff File

master ce9debe5

2018-01-05 09:34

vboctor


Details Diff
Fix docs for `BugnoteData::note_attr` field
mod - core/bugnote_api.php Diff File

master 2623cf3c

2018-01-05 09:33

vboctor


Details Diff
Fix reporting as a different user

- Check that the other user has report issue note access.
- Attribute the note to the other user rather than the logged in user.
mod - core/commands/IssueNoteAddCommand.php Diff File
mod - core/user_api.php Diff File

master 459f09f3

2018-01-04 09:25

vboctor


Details Diff
Implement proper http error for hitting rate limit
mod - api/soap/mc_api.php Diff File

master 54a83cd2

2018-01-04 09:25

vboctor


Details Diff
Use exceptions for errors related to adding notes
mod - core/antispam_api.php Diff File
mod - core/bugnote_api.php Diff File
mod - core/constant_inc.php Diff File
mod - core/file_api.php Diff File

master 62b61a71

2018-01-04 08:48

vboctor


Details Diff
Documentation tweaks
mod - api/rest/restcore/issues_rest.php Diff File
mod - core/commands/Command.php Diff File
mod - core/commands/IssueNoteAddCommand.php Diff File

master 898307d7

2018-01-03 23:17

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_breton.txt Diff File
mod - lang/strings_danish.txt Diff File
mod - lang/strings_french.txt Diff File
mod - lang/strings_galician.txt Diff File
mod - lang/strings_italian.txt Diff File
add - lang/strings_ka.txt Diff File
mod - lang/strings_swedish.txt Diff File

master 95ed43fe

2018-01-03 10:19

vboctor


Details Diff
Support file attachments with notes

Following is a sample attribute to pass when creating a note:

```
“files”: [
{
"name": "test.txt",
"content": "VGhpcyBpcyBhIFRFU1QuDQpUaGlzIGlzIGEgVEVTVC4NClRoaXMgaXMgYSBURVNULg0KVGhpcyBpcyBhIFRFU1QuDQpUaGlzIGlzIGEgVEVTVC4="
}
]
```
mod - api/rest/restcore/issues_rest.php Diff File
mod - api/soap/mc_api.php Diff File
mod - bugnote_add.php Diff File
mod - core/commands/IssueNoteAddCommand.php Diff File
mod - core/file_api.php Diff File

master-2.10 21188453

2018-01-02 23:19

atrol

Committer: vboctor


Details Diff
Correct constructor name of FilterConverter class

Fixes 0023765
Affected Issues
0023765
mod - core/classes/FilterConverter.class.php Diff File

master b7ec6252

2018-01-02 23:19

atrol


Details Diff
Correct constructor name of FilterConverter class

Fixes 0023765
Affected Issues
0023765
mod - core/classes/FilterConverter.class.php Diff File

master 26c869f6

2018-01-02 15:53

vboctor


Details Diff
Refactor attaching files

This is a step towards de-coupling attaching of files from the web UI post format.
A follow up will eventually allow attachments being included ias base64 content.
mod - bug_report.php Diff File
mod - bugnote_add.php Diff File
mod - core/commands/IssueNoteAddCommand.php Diff File
mod - core/file_api.php Diff File

master 046dcb64

2018-01-02 15:20

vboctor


Details Diff
Validate issue note type field
mod - core/commands/IssueNoteAddCommand.php Diff File

master cf5df805

2018-01-02 14:57

vboctor


Details Diff
Revise time tracking duration validation
mod - core/commands/IssueNoteAddCommand.php Diff File
mod - core/helper_api.php Diff File
mod - lang/strings_english.txt Diff File

master bda1a531

2018-01-02 13:45

vboctor


Details Diff
Implement `IssueNoteAddCommand` and use it

- Use for REST API
- Use for Web UI
mod - api/rest/restcore/issues_rest.php Diff File
mod - bugnote_add.php Diff File
mod - core/commands/Command.php Diff File
add - core/commands/IssueNoteAddCommand.php Diff File
mod - core/commands/MonitorAddCommand.php Diff File
mod - core/helper_api.php Diff File

master 4055800d

2018-01-02 12:53

vboctor


Details Diff
Monitor add extra valid plus new error type

- Differentiate invalid value from not found errors.
- Generate proper error when users is set to a non-array value.
mod - core/commands/MonitorAddCommand.php Diff File
mod - core/constant_inc.php Diff File
mod - lang/strings_english.txt Diff File

master c83bb453

2018-01-02 12:48

vboctor


Details Diff
Add helper methods for access command data

- option() to access ‘options’.
- query() to access ‘query’.
- payload() To access ‘payload’.
mod - core/commands/Command.php Diff File
mod - core/commands/MonitorAddCommand.php Diff File
 First  Prev  1 2 3 ... 70 ... 118 119 120 121 122 123 124 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 702 703 704  Next  Last