stable

Clone or download

Read-only

Compare @submitted_on with NOW()

This is part of story #10704 define a query with date fields @submitted_on = NOW() is forbidden @submitted_on != NOW() is forbidden @submitted_on < NOW() will return all past artifacts (all?) @submitted_on > NOW() will return all future artifacts (nothing?) @submitted_on > NOW() - 3w will return all artifacts created during the last 3 weeks … (same behavior than for datetime fields with TQL in tracker reports) Change-Id: I10e203928ef2737f359a8c445cf364be0d430853

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/EqualComparisonChecker.php +16 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/GreaterOrLesserThanComparisonChecker.php +8 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/NotEqualComparisonChecker.php +16 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/OperatorToNowComparisonException.php +40 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/AlwaysThereField/SubmittedOn/EqualComparisonFromWhereBuilder.php +4 −11 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/AlwaysThereField/SubmittedOn/FromWhereBuilder.php +82 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/AlwaysThereField/SubmittedOn/GreaterThanComparisonFromWhereBuilder.php +4 −11 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/AlwaysThereField/SubmittedOn/GreaterThanOrEqualComparisonFromWhereBuilder.php +4 −11 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/AlwaysThereField/SubmittedOn/LesserThanComparisonFromWhereBuilder.php +4 −11 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/AlwaysThereField/SubmittedOn/LesserThanOrEqualComparisonFromWhereBuilder.php +4 −11 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/AlwaysThereField/SubmittedOn/NoValueWrapperParameters.php +27 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/AlwaysThereField/SubmittedOn/NotEqualComparisonFromWhereBuilder.php +4 −12 Go to diff View file
M plugins/crosstracker/include/autoload.php +4 −2 Go to diff View file
M plugins/crosstracker/site-content/fr_FR/LC_MESSAGES/tuleap-crosstracker.po +4 −0 Go to diff View file
M plugins/crosstracker/site-content/tuleap-crosstracker.pot +4 −0 Go to diff View file