Fixes #19873 - Fix Style/MultilineIfModifier cop (#5705)
Fixes #19787 - Fix Layout/SpaceAfterComma cop
Fixes #22753 - add apipie validator for multiple allowed types
Fixes #22557 - use correct type for 'provision_method' param
Fixes #19820, #19822, #19824 - Fix some performance cops
Fixes #17678 - APIdoc - URL desc add missing CR types
refs #17257 - remove interpolation from extracted string
Fixes #16491 - Upgrade rubocop to version 0.42
Fixes #7955 - /apidoc should point to v2 documentation by default
Refs #3809 - Turning on the AndOr cop
Refs #3809 - Turning on some rubocop cops
fixes #12746 - list compute resources from plugin definitions
Load the full list of known CRs from plugins on the fly, instead ofmodifying the class-level list of supported plugins. Since plugindefinitions don't get reloaded, this allows the ComputeResource class to...
fixes #12621 - adding cache for template kinds to prevent multiple queries
Fixes #12691 - Small Rails 4 backwards compatible changes
Following on 10409, rebasing the Rails 4 PR with develop has needed somechanges that can be backported to develop now.
fixes #12624 - add plugin interface to add provision methods
Fixes #11643 - [API] Add preview template to host
Refs #11813 - Use new engines listing syntax in initializers
Refs #3809 - Stabby lambda syntax for oneliners
I started by spotting log.rb which didn't have a lambda wrapping itsdefault scope, as needed by Rails 4. Since the style guide and mostRails 4 documents used the stabby lambda, I turned on the cop so that we...
Refs #3809 - Enable cop Style/IfUnlessModifier
Fixes #10815 - introduced FOREMAN_APIPIE_LANGS env variable
Refs #3809 - Remove semicolon cop
fixes #9973 - API doc keyword substitution with sprintf needs symbols
Fixes #9921 - specify requirements on apidoc params for NICs
Refs #3809 - Remove cops for empty lines
Fixes #4478 - API documentation localized
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 #5130 - Added warning when apipie cache is missing or outdated
Fixes #4755 - use_cache in development
Fixes #4515 - Add support for dynamic bindings
Using Apipie versioning features and Maruku for markdown
Apipie switched from Redcarpet to Maruku to avoid crashes of the CExtension. No further need of compiling anything to get markdown support.
fixes #2129 - only use markdown if redcarpet available
host routes api changes squashed
Turn off the apipie validations for now
The main reason for the validations to be implemented in Apipie wasthe ability to be able to check the documentation against the code:i.e. it can discover inconsistencies between the documentation andthe actual code that uses the API....
This commit adds most of the functionality required for API v1
The overall goal was to extract the existing JSON responseoverall controllers, and to move them to a seperate name space.
minor API v1 fixes
update api documentation
[API] - minor fixes
- fixed api index action still refering to old restsapi gem- currently forced apipie to load DSL so we can reuse its DSL in our views
api v1 - restapi renamed to apipie