fixes #11312 - Allow plugins to update the Rabl view_paths
(cherry picked from commit cf043905057d77d00618d9b0c8c3c21b51a9d425)
Fixes #10635 - Formalize deprecation warning
(cherry picked from commit 319d1ffbed54f2c9eb988d132ec1586fb4d7c428)
Fixes #10740 - ignore auditing of all models in migrations
Fixes #10916 - convert config_template_ids in operatingsystems
Fixes #10815 - introduced FOREMAN_APIPIE_LANGS env variable
Fixes #10713 - improved backtrace logging
Fixes #7096 - Adds STI to templates
This commit converts Ptables to be just another type of Template so itgets the same features as ConfigTemplate. ConfigTemplate was renamed toProvisioningTemplate to reflect UI and the name under it's commonly known.
fixes #10711 - move LDAP logging to a separate logger
fixes #10510 - move secure flag to existing session configuration
On a source installation with SSL, the session store is properly configurednow and no longer continually resets user sessions.
fixes #10336 - move rbvmomi CR loading before our CR loading
fixes #10406 - add LDAP instrumentation and extra logging
fixes #9240 - in case of hash with indifferent access, serialize as hash
Refs #3809 - Remove semicolon cop
fixes #9973 - API doc keyword substitution with sprintf needs symbols
Fixes #9921 - specify requirements on apidoc params for NICs
fixes #9775 - always load Encryptable when key's missing, log runtime warning
a59972c3 causes Encryptable to be loaded before the encryption_key.rbinitialiser and the majority of the class was skipped as the key was undefined.
Now Encryptable always loads, but logs at runtime if the key is unavailable,...
fixes #7764 - add quirks mode to JSON.dump
Refs #3809 - Remove cop IndentationConsistency
Refs #3809 - Remove cops for empty lines
Fixes #9231 - Require English lib and fix ENC failure
Refs #3809 - Enable cop StringConversionInInterpolation
Fixes #7233 - Drop Ruby 1.8.7 and revert Ruby 1.8.7 specifics
Fixes #4478 - API documentation localized
Fixes #8091: connect-src accepts WSS
Fixes #6710 - unicode characters in url parameters
Original methods to_param defined on resources called name.parameterizeto get rid of url-unsafe characters. This function unfortunately alsostripped off unicode characters.
Changes:- parameterization extracted into a separate module Parameterizable...
fixes #7985 - add support for ws:// in secure headers
fixes #7907 - Allow images from gravatar on secure headers
fixes #7805 - Add several security related HTTP headers - security hardening.
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 #5130 - Added warning when apipie cache is missing or outdated
fixes #5753: Engines can now override autocomplete path used in FiltersHelper
fixes #6267 - singularize of HostClass and HostgroupClass is wrong
fixes #6248 - API V2 return object for POST/PUT/DELETE should not include root node
fixes #5345 - customizable dashboard
Fixes #4755 - use_cache in development
Fixes #4976 - ensure the process is really running inside a rake task
Fixes #4515 - Add support for dynamic bindings
Fixes #3988 - use require instead of autoload_once_paths
fixes #4607 error when running test from ide
fixes #812 - new permissions model, user group role and nest support, role filters for better granularity
fixes #4005 - ensure standalone Rabl.render works outside of a controller
Fixes #3811 updating to bootstrap 3
fixes #3646 - API v2 change default root name for api json single object response to no root node but make it configurable
fixes #3011 - default root node name for api collections json response to :results but make it configurable
fixes #3510 - plugin interface for registering a plugin, updated menu system
fixes #2680 - ensure RbVmomi::VIM::ComputeResource is loaded before our ComputeResource
fixes #3091 - strip leading and trailing whitespace before_save on names of all objects
fixes #2942 - plugin i18n support
This is first phase of plugins i18n support. More to come later:
Fixes #2414 - Move puppet report processing code to the report processor
This creates a API route for POST:/api/reports which matches the GETformat for reports. Tests are updated, with the report model testsmoving to the puppet-foreman module (along with the report fixtures).
fixed #2970 - modified inflections.rb to handle 'Puppetclass'.singularize and classify
fixes #2945 - extend AR to add getter/setters *_name(s) for has_many/belongs_to associations
fixes #2424 - encrypts compute resource password
fixes #2424 - add Encryptable module and encryption_key generation
fixes #2739 - add ActiveSupport::Concern syntax to mixins
fixes #2740 - copy code from lib/foreman.rb to initializers/foreman.rb
fixes #2795 - adding thread dump via -TTIN signal
fixes #2493 Unable to load audit, underlying cause No such file to load -- audit
fixes #2536 - loading locale .mo files in production mode
- initializer script fixed to look for .mo files- Makefile updated to place *.mo into /locale//LC_MESSAGES (rake gettext:pack places them there as well)- *.mo files added to foreman.spec
fixes #2444 - locale selector in user account
Fixes #2454 - Fix loading settings in production
The Setting subclasses are not preloaded in initialization phase inproduction.
Also (if Setting.first rescue (false)) is not satisfied when thesettings are not set yet. Using table_exists? instead.
Also, define constants before audited So that the constants are available even...
fixes #2429 - change OpenID storage to be permanent
Also fallback to form login when Signo fails and log a warning.Make Signo SSO backend unavailable for API.
fixes #2407 - Add STI to settings model
Also adds some tests for rendering new/missing STI models, andrefactors the old default_settings loader into the new sub-models.
Feature #2368 - form helpers, exceptions and fixes
Feature #2368 - i18n extracting strings
Feature #2368 - adding Rails i18n yml files
Feature #2368 - i18n extracting and locale rake task
Feature #2368 - renaming i18n domain to 'foreman.pot'
fixes #2417 - SSO abstractioning
Apache and Signo SSO reworked to a new general SSO concept.
You can use SSO service that comes with Katello for loggin in. It'sbased on OpenID protocol with slightly customized provider.
upgrade foreman to rails 3.2.13
This commit updates from rails 3.0.x to 3.2.x, main changes include:
Users who uses foreman in production, make sure that you now compileyour assets, e.g...
fixes #2269 - Add gettext framework to foreman.
This patch adds a gettext based localization framework to the Foreman. This is done by adding the fast_gettext and gettext_i18n_rails gems along with their depdencies. An example translation is done to the login page and the users controller....
fixes #2254 - Add STI to hosts table
Signed-off-by: Joseph Mitchell Magen <jmagen@redhat.com>Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
fixes #2196 - create tmp/ if it doesn't exist
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
fixes #2109 - improve session token security
- adds security:generate token rake task to create static token- generate and cache a token on startup if static token isn't present
Thanks to Sandor Szücs <sandor.szuecs@fu-berlin.de>
fixes #1991 expire topbar cache on user when restart server
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....
Add organization and location to foreman.
This feature allows foreman to provide multi location, multi tenant andmulti organizations capablities.
the idea is that resources within foreman (e.g. hosts, subnets, users,environments etc) can belong to one or more locations and organization,...
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.
fixes #1872 - Adds Puppet v3 support
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
cleanup after merge conflict with latest develop branch
fixes #1764 changing per_page setting would update only after a restart
this commit changes it back to an area in the code which gets evaluatedeverytime instead of upon startup only
cleanups to rails 3 boot process
removed puppet from Gem file requirement
this commit also tries to simplify the way we use bundler, in future commits,we should add more logic of which gems to load based on configration file.
Gemfile cleanups + adding some nicer console output
Revert "Fixes #593 - Separate log file for facts and reports"
This reverts commit 5e7454fc1f73ebb599cf7dc96faa22836eebd11c.
Fixes #593 - Separate log file for facts and reports
Signed-off-by: Paul Kelly <paul.ian.kelly@googlemail.com>
WIP rails3 migration
version bump to 0.4
Bump to 0.4rc5
new UI for foreman
fixes #1187 remove unrequired menus when foreman is not used for provisioning
this includes URLS, setting menu items and buttons.