Jean-Philippe Lang
309c6cec86
Don't preload custom field filter values ( #24787 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16173 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-12 20:19:45 +00:00
Jean-Philippe Lang
fd3c08aaa1
Don't preload all query filters ( #24787 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16170 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-09 19:59:54 +00:00
Jean-Philippe Lang
c2d97fb4aa
Set @available_filters as an empty hash if nil.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-20 16:48:22 +00:00
Jean-Philippe Lang
1810283a66
Error with MS SQL when displaying an issue from a list grouped and sorted by fixed version ( #23839 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15852 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-01 08:53:31 +00:00
Jean-Philippe Lang
3539cfcf0f
Adds issue tracker and status columns and filters on spent time list ( #23401 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-20 10:27:39 +00:00
Jean-Philippe Lang
793cb16764
Make time entries groupable ( #16843 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-13 19:02:48 +00:00
Jean-Philippe Lang
539166597f
Adds a version filter on time entries ( #13558 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-13 18:26:44 +00:00
Jean-Philippe Lang
03dbf8abb8
Remove special behaviour for listing issue time entries, use a filter for that.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-12 19:28:49 +00:00
Jean-Philippe Lang
275bd514cd
Adds scopes for retrieving the appropriate queries ( #14790 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-12 17:45:39 +00:00
Jean-Philippe Lang
7c6757c81a
Pull up query visibility methods.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-11 18:08:55 +00:00
Jean-Philippe Lang
9fb339c4e2
Makes QueriesController able to handle other Query subclasses.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15635 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-11 17:41:46 +00:00
Jean-Philippe Lang
6cd84af522
Limits the tracker list in filters and issue counts ( #285 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-18 06:42:25 +00:00
Jean-Philippe Lang
3ff3ff4f54
Code cleanup.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15418 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-16 07:28:12 +00:00
Jean-Philippe Lang
ada650ce7f
Always return an array.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15417 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-16 07:08:31 +00:00
Jean-Philippe Lang
14beafcc24
Malformed SQL query with SQLServer when grouping and sorting by fixed version ( #22808 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-16 07:03:14 +00:00
Jean-Philippe Lang
eafd585dbe
Fixes Query#date_clause timezone handling ( #22320 ).
...
When querying time fields based on date values these should be interpreted
in the user's time zone, since that's what a user usually expects.
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15381 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 10:58:49 +00:00
Jean-Philippe Lang
ed50d42210
Replace Date.today with User.current.today ( #22320 ).
...
Depending on the offset between a user's configured timezone and the server
timezone, Date.today may be more or less often wrong from the user's
perspective, leading to things like issues marked as overdue too early or too
late, or yesterday / tomorrow being displayed / selected where 'today' is
intended.
A test case illustrating the problem with Issue#overdue? is included
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 10:42:22 +00:00
Jean-Philippe Lang
699a75910d
Filter by issue id ( #4806 ).
...
A shortcut is added to the context menu to filter the selected issues.
git-svn-id: http://svn.redmine.org/redmine/trunk@15371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-06 18:59:36 +00:00
Jean-Philippe Lang
e2137e7a5e
SQL server: non ASCII filter on text fields does not work ( #22405 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15353 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 11:36:30 +00:00
Jean-Philippe Lang
c34a1d0f90
SQL server: non ASCII filter on issue subject does not work ( #22405 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15351 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 10:57:15 +00:00
Jean-Philippe Lang
cda9c63d9c
Updates copyright for 2016.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00
Jean-Philippe Lang
4cae62d8e8
Query project_statement - do not collect ids of subtree ( #21611 ).
...
Patch by Ondřej Ezr.
git-svn-id: http://svn.redmine.org/redmine/trunk@15135 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-30 15:37:27 +00:00
Jean-Philippe Lang
3f44fad9ba
Moved custom fields totals logic to FieldFormat ( #21413 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-05 10:01:30 +00:00
Jean-Philippe Lang
d3d7678c76
Ability to filter issues blocked by any/no open issues ( #16621 ).
...
Patch by Arthur Andersen.
git-svn-id: http://svn.redmine.org/redmine/trunk@14809 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-07 09:20:36 +00:00
Jean-Philippe Lang
828e8111cc
Add users to assignee/author filters if they are missing ( #3398 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-21 18:01:11 +00:00
Jean-Philippe Lang
b0a47cc5ba
Fixes float conversion failures ( #1561 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-09 12:44:08 +00:00
Jean-Philippe Lang
498a429a41
Display totals for each group on grouped queries ( #1561 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-09 09:02:11 +00:00
Jean-Philippe Lang
446f70f584
Adds options to display totals on the issue list ( #1561 ).
...
Works for estimated hours, spent hours and any numeric custom field.
git-svn-id: http://svn.redmine.org/redmine/trunk@14642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-04 19:42:37 +00:00
Jean-Philippe Lang
42238a74f4
Display all versions in query filter ( #19271 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14623 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-26 08:12:44 +00:00
Jean-Philippe Lang
d4723bb05f
Query doesn't work with non ASCII uppercase symbols ( #20438 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-02 08:32:18 +00:00
Jean-Philippe Lang
004fc8b84b
Fixed that user with "Manage public queries" permission, can create global public query ( #19842 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14388 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-29 16:06:37 +00:00
Jean-Philippe Lang
98f2b30ac5
Adds issue filters on parent/subtasks ( #6118 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-13 10:56:44 +00:00
Jean-Philippe Lang
2b124f1e61
Don't call #upcase on nil.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13994 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 16:24:19 +00:00
Jean-Philippe Lang
db9bf8cd73
Fixed filtering on date custom field with SQLServer.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13993 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 16:23:16 +00:00
Jean-Philippe Lang
6aaaac2373
Fixed an error in IssuesControllerTest#test_index_with_query_grouped_by_tracker_in_reverse_order with SQLServer.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 15:35:12 +00:00
Jean-Philippe Lang
000124f44f
Copyright update.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-11 09:09:50 +00:00
Jean-Philippe Lang
bc3bd8aff2
Let QueryColumn accept a Proc as caption ( #18276 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-04 21:00:59 +00:00
Jean-Philippe Lang
2d1866d966
Merged rails-4.1 branch ( #14534 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-22 17:37:16 +00:00
Toshi MARUYAMA
3270a3af40
replace tabs to spaces at app/models/query.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13088 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-04-15 22:49:30 +00:00
Toshi MARUYAMA
cebcd67704
fix typos of source comments at Query model
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13076 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-04-07 08:07:59 +00:00
Jean-Philippe Lang
22b2a1f699
Fixed that Link custom fields are not displayed as links on the issue list ( #16496 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-04-06 11:11:52 +00:00
Toshi MARUYAMA
35cc911192
update copyright year ( #15977 )
...
Contributed by Daniel Felix.
git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-29 22:45:39 +00:00
Toshi MARUYAMA
a711cbb44e
back out from r12715 to r12720: #connection replacing
...
These revisions have performance regression on Rails 3.2.16.
git-svn-id: http://svn.redmine.org/redmine/trunk@12735 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 07:21:47 +00:00
Toshi MARUYAMA
dff2721fbe
Rails4: replace deprecated #connection from Query model
...
DEPRECATION WARNING: #connection is deprecated in favour of accessing it via the class.
git-svn-id: http://svn.redmine.org/redmine/trunk@12720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 01:08:25 +00:00
Jean-Philippe Lang
3c540594dc
Fixed test failure with ruby1.8 ( #8842 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12479 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-03 19:42:43 +00:00
Jean-Philippe Lang
429b3a5dae
Fixed test failure with sqlite ( #8842 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-03 16:36:04 +00:00
Jean-Philippe Lang
a4d3da988a
Allow filtering with timestamp ( #8842 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12477 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-03 15:54:49 +00:00
Jean-Philippe Lang
2e2e2cfe42
Merged custom fields format refactoring.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12400 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-12-14 08:22:43 +00:00
Jean-Philippe Lang
3172359f97
Avoid N queries when displaying the issue list with custom fields.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12223 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-10-15 16:38:17 +00:00
Jean-Philippe Lang
010bfc56e1
Ability to save Gantt query filters ( #7836 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12020 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-07-14 13:41:30 +00:00