stable

Clone or download

Read-only

Allow to search on @description

Part of story #10678 define a query for title and description semantics You can now search with @description. The same restriction is applied than for @title. You can combine @title and @description. Current limitation: you cannot have more than one @description comparison in your query. A dedicated commit will deal about that. Change-Id: I937996d21d8a28ab398b15f1588605bbd3bea6f3

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +13 −5 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/AllowedMetadata.php +32 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidComparisonCollectorVisitor.php +2 −2 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSearchableCollectorVisitor.php +4 −11 Go to diff View file
R plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/TitleSemantic/ComparisonChecker.php Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/ICheckSemanticFieldForAComparison.php +7 −1 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/InvalidSemanticComparisonException.php +25 −0 Go to diff View file
R plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/TitleSemantic/TitleToMyselfComparisonException.php Go to diff View file
R plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/TitleSemantic/TitleToIntComparisonException.php Go to diff View file
R plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/TitleSemantic/TitleToFloatComparisonException.php Go to diff View file
R plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/TitleSemantic/TitleToNowComparisonException.php Go to diff View file
R plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/TitleSemantic/TitleToDateComparisonException.php Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/SearchableVisitor.php +1 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/SearchableVisitorParameters.php +4 −4 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Semantic/ComparisonFromWhereBuilder.php +58 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Semantic/Description/DescriptionFromWhereBuilder.php +43 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Semantic/Description/EqualComparisonFromWhereBuilder.php +50 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Semantic/Description/FromWhereBuilder.php +27 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Semantic/Description/NotEqualComparisonFromWhereBuilder.php +51 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Semantic/EqualComparisonFromWhereBuilder.php +25 −0 Go to diff View file
R plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/SemanticComparisonFromWhereBuilder.php Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Semantic/NotEqualComparisonFromWhereBuilder.php +25 −0 Go to diff View file
R plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/SemanticEqualComparisonFromWhereBuilder.php Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Semantic/Title/FromWhereBuilder.php +27 −0 Go to diff View file
R plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/SemanticNotEqualComparisonFromWhereBuilder.php Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilderVisitor.php +6 −6 Go to diff View file
M plugins/crosstracker/include/autoload.php +21 −11 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/MetadataValueWrapperParameters.php +17 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/EqualComparisonChecker.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/NotEqualComparisonChecker.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/MetadataBetweenComparisonFromWhereBuilder.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/MetadataComparisonFromWhereBuilder.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/MetadataEqualComparisonFromWhereBuilder.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/MetadataGreaterThanComparisonFromWhereBuilder.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/MetadataGreaterThanOrEqualComparisonFromWhereBuilder.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/MetadataInComparisonFromWhereBuilder.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/MetadataLesserThanComparisonFromWhereBuilder.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/MetadataLesserThanOrEqualComparisonFromWhereBuilder.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/MetadataNotEqualComparisonFromWhereBuilder.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/MetadataNotInComparisonFromWhereBuilder.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/SearchableVisitor.php +1 −1 Go to diff View file