Commit Graph

19 Commits (30039f34b31cac716c9829b55e91e49f9c23e34e)

Author SHA1 Message Date
Alex Coles b168dd87ad Teach SqlStatement#join how to ActiveModel::Name 10 years ago
Alex Coles 519f10885a Prefer #map over #collect 10 years ago
Alex Coles 0ccb62381a Normalise syntax with Rubocop 10 years ago
Sebastian Schuster bfba482ff9 Added copyright notices 11 years ago
Jens Ulferts 2967e30ae7 uses first descendant of ActiveRecord::Base to determine "ON" clause attribute 12 years ago
Sebastian Schuster 86791c932c Moved files around to get autoloaded by rails and removed the 12 years ago
Sebastian Schuster cf1a459f5b Moved reportingengine out of the openproject namespace 12 years ago
Sebastian Schuster ece2f6395c Converted reporting_engine into a Rails engine 12 years ago
Michael Frister 3e5c5e3f67 Update structure for rails 3 12 years ago
Tim Felgentreff bc34555ba5 Revert "Revert "Merge remote-tracking branch 'origin/master'"" 13 years ago
jwollert e1b9a27568 Revert "Ticket #18939: introduces concept of strict joins in chainable API. Normal joins are strict in the sense that they don't introduce nil values on either side of the join." 14 years ago
jwollert 3ef144e2b0 Ticket #18939: introduces concept of strict joins in chainable API. Normal joins are strict in the sense that they don't introduce nil values on either side of the join. 14 years ago
Tim Felgentreff 7ac3316667 Revert "Merge remote-tracking branch 'origin/master'" 14 years ago
Tim Felgentreff c86adf1f58 don't use ConnectionSwitcher in generic code 14 years ago
Konstantin Haase 2850f1bd72 fix engine for filters/group_bys that are not being subclassed (like singleton value) 14 years ago
Markus Kahl 9ff9b16948 Introduced #never_select and #never_group_by. 14 years ago
Markus Kahl eb45137c82 removed debug hack 14 years ago
Markus Kahl b212b2f282 hacked sql statement for partition 14 years ago
Markus Kahl a50a812bc1 Manipulate query directly in sql_statement for testing purposes. 14 years ago
Philipp Tessenow 9e4d425700 have an empty query description when no description was given 14 years ago
Tim Felgentreff 804cdaa5eb add an accessor to get the currently bound fields in the select part of a sql statement 14 years ago
Konstantin Haase 814a46530e actually use SqlStatement#desc 14 years ago
Konstantin Haase 557b9c08c5 move report from app/models to lib 14 years ago
Gregor Schmidt b0c2c1a1af Replacing Kernel#returning with Object#tap to avoid deprec warnings 14 years ago
Tim Felgentreff c2839ec6c8 sql statement needs the explicit table name now 14 years ago
Tim Felgentreff a8c42d33f1 move the default table name to the NoFilter, a class we overwrite, instead of having it in the chainable class, which we usually do not overwrite for custom reports 14 years ago
Tim Felgentreff 2e5d94800c replace more references to Report namespace with 'engine' method call 14 years ago
Konstantin Haase 11e76fc4f3 Remove Report.lookup 14 years ago
Philipp Tessenow 77e3f6c93e some further Report lookup 14 years ago
Konstantin Haase c750c7707e move towards inheritance 14 years ago
Philipp Tessenow c40e8ebd59 removed redmine specific parts from sql_statement.rb 14 years ago
Philipp Tessenow 882179c8b3 removed the newly introduced plugin-folder 14 years ago
jwollert 3266732ed0 removes everything to prepare for merge of deployment branch 14 years ago
Philipp Tessenow 9fc095317c move plugin into a folder. this makes deployment easier and enables us to have more than just one plugin in this repo 14 years ago
Philipp Tessenow 65922a354c move plugin into a folder. this makes deployment easier and enables us to have more than just one plugin in this repo 14 years ago
t.felgentreff 34718736f9 add a singleton value to allow multi-grouping only in rows or columns 14 years ago
t.felgentreff d93df84477 add a singleton value to allow multi-grouping only in rows or columns 14 years ago
rkh 676de3ac8b extract subclass generation logic from custom fields group by 14 years ago
rkh 788845f2ec Group By Custom Fields, Ladys and Gentlemen. 14 years ago
rkh a4f7a5fe9a fix comments for mysql 14 years ago
rkh 170b6429b9 fix comments for mysql 14 years ago
rkh 36fd077270 sql comments and whatnot 14 years ago
rkh 71bd462cbb dont repeat group bys 14 years ago
rkh c2e69e5a5c type cast only on postgres 14 years ago
rkh 951fa563bb type cast for postgres 14 years ago
rkh 370a7fba97 really remove duplicate display_costs 14 years ago
rkh 8840dca7bc default display_costs to 1 14 years ago
p.tessenow 234194c0b3 added ugly but neccessary subquery to determine type as early as possible 14 years ago
rkh 38c86fd549 fix permissions filter 14 years ago
rkh 52cf11d773 add SqlStatement#default_select 14 years ago