stable

Clone or download

Read-only

Deal with = for assigned_to semantic

Part of story #10703 define a query with "people" fields How to test: - build sass and build cross-tracker widget scripts - @assigned_to = 'username' will yield all artifacts where 'username' is one of the users in assigned_to list (as per the semantic configuration, it can be a selectbox or a multi-selectbox) - @assigned_to = MYSELF() is supported - @assigned_to = '' is supported. It yields artifacts that have 'None' or don't have a contributor/assignee semantic (see next) - Presence of the semantic in the given trackers will be checked in a later commit - Using the different (!=) operator with @assigned_to is disallowed for now to reduce commit size. Change-Id: I52e09ded78eca798f5083331ad72e7046c137361

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +9 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/AllowedMetadata.php +5 −2 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/ComparisonFromWhereBuilder.php +10 −1 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/Semantic/AssignedTo/EqualComparisonFromWhereBuilder.php +128 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/Semantic/AssignedTo/FromWhereBuilder.php +25 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/Semantic/AssignedTo/NotEqualComparisonFromWhereBuilder.php +58 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Comparison/NotEqual/NotEqualComparisonChecker.php +12 −0 Go to diff View file
M plugins/crosstracker/include/autoload.php +5 −2 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/ArtifactTableRow.vue +18 −11 Go to diff View file
A plugins/crosstracker/www/scripts/cross-tracker/src/app/ListBindUser.vue +30 −0 Go to diff View file
M plugins/crosstracker/www/themes/BurningParrot/css/_cross-tracker.scss +4 −0 Go to diff View file