foremancommunity-templatesforeman_api
fixes #14253 - add attr_accessible to Widget
Add position/view related attributes to widget as accessible attributesand protect data such as template and name. Under Rail 4.2, saving thedashboard was failing due to attribute protection, so new functional...
Refs #3809 - Enable cop Style/AlignArray
Fixes #10929 - Add removed widgets to dashboard
This commit allows users to re-add widgets. At this point it's onlypossible to recover removed widgets by clicking on "Reset to default".
To do this I populate the 'Add widgets' list by getting a diffbetween the current widgets and the available ones. The code calls any...
Refs #3809 - Style/blocks cop enabled
Fixes #8106 - Dashboard rewrite to allow better customization
Refs #3809 - Remove cops for empty lines
Refs #3809 - Remove useless assignments
Refs #3809 - Fix a few rubocop TODOs
Refs #3809 - Remove rubocop TODOs
Removed the following TODOs so that cops for these will run from now on:
Lint/AmbiguousOperator, DefEndAlignment, DeprecatedClassMethodsEnsureReturn, RequireParentheses, Void, BlockAlignment, EndAlignment,UselessAccessModifier,...
Fixes #3809 - Add rubocop to check Ruby code
View revisions
Also available in: Atom