Commit Graph

49 Commits (30039f34b31cac716c9829b55e91e49f9c23e34e)

Author SHA1 Message Date
Mohamed Wael Khobalatte 91e5d92bae Prepare plugin for strong params 9 years ago
Jan Sandbrink 2972182ad7 Revert "Fix change cost query unit" 10 years ago
Alexander Bach c78bbae5c2 Make filters removable 10 years ago
Alex Coles 519f10885a Prefer #map over #collect 10 years ago
Alex Coles 0ccb62381a Normalise syntax with Rubocop 10 years ago
Alex Coles 79ec894041 Use 1.9+ Hash syntax 10 years ago
Sebastian Schuster bfba482ff9 Added copyright notices 11 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
jwollert 12fd95489a restrict mass_assignable fields through attr_accessible. not terribly useful at the moment, as we don't mass_assign 13 years ago
Martin Linkhorst dad3429686 focus on :user_id later 13 years ago
Martin Linkhorst fae3145eb2 added attr_protected calls to protect mass assignment of :project_id through a view 13 years ago
Tim Felgentreff bc34555ba5 Revert "Revert "Merge remote-tracking branch 'origin/master'"" 13 years ago
Tim Felgentreff ff6bd931f7 allow filters that do not want to be serialized to return nil 13 years ago
jwollert 9614e777a5 Ticket #4420: really set the is_public field of a query 13 years ago
Tim Felgentreff e6efd494cf fix in Report serialization code. filters might be applied twice, so sorting has to be explicit 14 years ago
Tim Felgentreff 51bd48b6c9 remove #private declaration in Report 14 years ago
Tim Felgentreff 7ac3316667 Revert "Merge remote-tracking branch 'origin/master'" 14 years ago
jwollert e86745eb36 Revert "for whatever reason the engine() method was not defined by reports, but was expected to be there. this is fixed here" 14 years ago
Philipp Tessenow 93317925c1 for whatever reason the engine() method was not defined by reports, but was expected to be there. this is fixed here 14 years ago
Markus Kahl 78b9e72664 Use private/public!? everywhere. 14 years ago
jwollert bb1fdd9bb9 fixes Report#to_params. we now return filters that can be selected in the ui, only 14 years ago
jwollert 70cc8b9545 fix engine call for Report and its Subclasses 14 years ago
jwollert 1583d12df8 introduces Report#to_params 14 years ago
jwollert b4cbb1c204 don't need #== method for reports anymore 14 years ago
jwollert 1b9bb59cf7 fix broken Report#cache_key method, needs to be independent filter order 14 years ago
jwollert c36ce96747 replace ugly, hackish, broken cache_key with sublime, efficient and working implementation 14 years ago
Konstantin Haase 2850f1bd72 fix engine for filters/group_bys that are not being subclassed (like singleton value) 14 years ago
jwollert 7940a8d6e4 fix broken Report#cache_key method, needs to be independent filter order 14 years ago
jwollert 5be83ed842 don't need #== method for reports anymore 14 years ago
Konstantin Haase 4f5775380a replace ugly, hackish, broken cache_key with sublime, efficient and working implementation 14 years ago
jwollert d0670ecc4c adjust documentation of Report#serialize 14 years ago
jwollert cb0232479a use old Report#hash method again 14 years ago
jwollert e5261840f3 just a little cleanup 14 years ago
jwollert d75b7a2922 filters need to be ordered so we get a consistent hash 14 years ago
jwollert a19786b28b fixxed connection switching 14 years ago
jwollert c9f38c53dd fixes UR spec 14 years ago
jwollert 69e3f08f27 aliased Report.connection 14 years ago
Tim Felgentreff 1f5eeaeec6 Simplify hash method for reports 14 years ago
Philipp Tessenow 7761dff12e when asking a report for its queries it is now possible to optionally specify the type of group_by (:row, :column) 14 years ago
Tim Felgentreff 6493c5ed04 begin a 'progress' widget implementation for displaying progress and aborting on LARGE commits 14 years ago
Gregor Schmidt 8b4ddbb230 Improving Report#hash to be semantically more useful 14 years ago
jwollert 1f43331e62 return self on #build_new_query to allow cascading 14 years ago
Tim Felgentreff 7f9ac566ae fix migrate code 14 years ago
Philipp Tessenow 0631eab974 added migrate function to reports. 14 years ago
Tim Felgentreff db7ffe25e6 refactor deserialization - make sure an object is only deserialized once 14 years ago
Tim Felgentreff dc66ba2620 deserialize on the same object on the instance side 14 years ago
Konstantin Haase c8adf39118 switch to proactive autoloading. less harmfull, no load order issues. 14 years ago