Commit Graph

564 Commits (7b368be2626cd0d469fef87c7141656f509dd64b)

Author SHA1 Message Date
Sebastian Schuster 243b4b2aba Introduced correct I18n pluralization for cost_type model name 12 years ago
Sebastian Schuster fe64a545bf Removed some functions that dont seem to be called and where marked as to be removed 12 years ago
Sebastian Schuster c163096a2b Moved a lot of translations to models and attributuses and adapted their invocation in the views, removed some unused translations 12 years ago
Christian Rijke 7677cce4cb Upgrade to new CSV Writer syntax, update i18n labels and add missing translations. 12 years ago
Sebastian Schuster e6a1ee33b5 Replaced find(:all,...) with .all(...) while we are at it because 12 years ago
Sebastian Schuster f531515058 Pluralized user_rate to user_rates as it actually refers to multiple rates 12 years ago
Jens Ulferts a9c9b12836 adds user_rates to permitted_params 12 years ago
Jens Ulferts 89a2c14518 removes post code branch as it will never be used in an edit action 12 years ago
Jens Ulferts e22c5f9802 removes no longer valid parameter in User#allowed_to? call 12 years ago
Christian Rijke 3429a9228c Add nil-check to avoid exception when previewing an unsaved budget. 12 years ago
Jens Ulferts 897676fa76 removes usage of StringIO for cost_object csv export 12 years ago
Jens Ulferts 389ac9c8ac removes project from csv export signature 12 years ago
Jens Ulferts e48ac168e5 removes pdf response to cost_objects#index 12 years ago
Christian Rijke 3bbdf01938 Preserve rate history and overwrite the last rate in the history only if rate.valid_from == today (otherwise create a new rate). 12 years ago
Christian Rijke fc9453238b Replace iconv with string.encode. 12 years ago
Christian Rijke f2a49fa49a Migrate CSV exporter to new syntax, replace deprecated iconv with string.encode. 12 years ago
Sebastian Schuster ecf99ec5d4 A also removed all translations using field_ in non hidden_for_sighted fields 12 years ago
Sebastian Schuster ab6be1e99b Fixed missing translations in hidden-for-sighted fields 12 years ago
Sebastian Schuster a1d4fc3e87 Added cukes for budget operations like creating, copying and modifying budgets 12 years ago
Jens Ulferts 3dd6202710 fixes cost_type deletion 12 years ago
Christian Rijke 033d043c6e Fix namespacing of generated urls and use named routes where possible. 12 years ago
Christian Rijke 46812b4010 Fix namespacing of generated urls and use named routes where possible. 12 years ago
Sebastian Schuster 47b4f7afda Added preview actions at appropriate place and actions for updating labor and material items including strong parameters permission for assigning nested attributed 12 years ago
Sebastian Schuster 6fbb2dfd2f Implemented new way of saving without validation 12 years ago
Sebastian Schuster 5017c29f88 Simplified copy_from 12 years ago
Sebastian Schuster c71176f986 Added copy action for copying cost_objects 12 years ago
Jens Ulferts 6d3a112155 adapts fields added to the issue#show view to the core's table layout 12 years ago
Jens Ulferts 1992e34ee5 adapts i18n to changed core 12 years ago
Jens Ulferts 7c9836fc3e fix permissions for hourly rates broken by splitting up edit 12 years ago
Jens Ulferts 1b9a38b203 cleans up cost_types_controller 12 years ago
Jens Ulferts f329b4e92c adds = to blocks outputting string 12 years ago
Jens Ulferts 7e7679b0df fixes cost_type creation 12 years ago
Sebastian Schuster 3f542a4c4d Used strong parameters style mass assignments in cost_objects_controller and cost_types_controller 12 years ago
Sebastian Schuster 2a83bf4434 Adapted the copying of values from other cost objects to not work around the mass assignment protection 12 years ago
Christian Rijke b9d35ecead Trim whitespace. 12 years ago
Christian Rijke 654296b189 Migrate callbacks to new syntax. 12 years ago
Christian Rijke ee54cd3bfe Migrate callbacks to new syntax. 12 years ago
Christian Rijke 649901452b Migrate active model callbacks to Rails 3 syntax. 12 years ago
Sebastian Schuster 97128d3964 Manually took id and type out of copying cost objects so they are not prevented by the mass assignment protection 12 years ago
Sebastian Schuster 58fab0dea4 Removed attr_accessible for cost models and replaced with strong parameters 12 years ago
Sebastian Schuster ead64bdcd4 Moved including the shared header to the start of the views so it ends up 12 years ago
Sebastian Schuster 6af7713863 Removed blank 12 years ago
Sebastian Schuster c5839e3847 Moved content_for(header) into the shared header partial, readded the 12 years ago
Sebastian Schuster 44dd4e5b63 Added newline at end of file 12 years ago
Sebastian Schuster 5d12373f25 Replaced indiviual asset includes with global include of shared header in all views 12 years ago
Sebastian Schuster 1493dc9d8e Added shared header file to include costs assets in all views 12 years ago
Sebastian Schuster e5493ce1fc Added costs.js file including all other costs javascript files to be used by the asset pipeline 12 years ago
Sebastian Schuster 10992d4524 Updates costs css to use core asset_path helper 12 years ago
Sebastian Schuster 8ca4d66992 Removed init.rb, moved assets to new locations, renamed settings view 12 years ago
Jens Ulferts 6daf7d3eb9 replaces hash path with named path 12 years ago