Project

General

Profile

Download (12.5 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
b5eca9b3 06/22/2018 07:53 AM Michael Moll

Fixes #23962 - Fix Style/ExpandPathArguments cop

c030096e 06/01/2018 09:03 PM Lukas Zapletal

Fixes #23142,#23503 - telemetry improvements

68388bc2 04/26/2018 04:29 PM Michael Moll

Fixes #19781 - Fix Layout/LeadingCommentSpace cop

38a38b66 04/15/2018 06:08 PM Adam Ruzicka

Fixes #23223 - Don't allow Dynflow to initialize in db:drop rake

a3aaa02f 04/04/2018 10:36 AM Tomer Brisker

Fixes #23098 - Allow searching on all audited models by type (#5395)

This automatically adds all the audited models in an after_initilize
block so that models defined in plugins are also included. All the
search related definitions for audit have been extracted to a seperate...

5cbba9ec 04/01/2018 04:40 PM Tomer Brisker

Refs #22285 - Prepare tests for strong params enforcement

- Fix broken hosts api tests
- Fix role cloning tests
- Fix ssh key controller api test
- Fix http proxies controller test
- Fix lookup key override api controller test
- Fix puppetclass controller api test...

bd941767 04/01/2018 04:40 PM Tomer Brisker

Refs #22285 - add common parameters to strong_params whitelist

Despite the name, this list only prevents errors from being raised from
these parameters which are still filtered.

d33f754f 04/01/2018 12:39 PM Michael Moll

Fixes #19793 - Fix Layout/SpaceInsideReferenceBrackets cop

a4d31ec0 03/29/2018 08:53 PM Ivan Necas

Fixes #22888 - remove code around dynflow db_pool_size

Remove the code in favor of the Dynfow, where we can handle all the
logic at one place.

abbe2a04 03/13/2018 09:50 PM Lukas Zapletal

Fixes #22493 - structured logging support

4093de10 02/26/2018 03:23 PM Ewoud Kohl van Wijngaarden

Refs #18675 - Optionally load prometheus exporter

In case the bundler group telemetry is not installed, we should handle
that.

This moves the middleware loading to better match the other middleware.

a55600f4 12/11/2017 10:11 PM Dominic Cleal

Fixes #21097 - Update to Rails 5 configuration options

3cabaaaf 12/11/2017 01:58 PM Michael Moll

Fixes #21084 - Always Use Rails 5.0, Drop Rails 4.2

8c2262ac 11/29/2017 12:20 PM Daniel Lobato Garcia

Fixes #18292 - Make notifications from an RSS feed (#4240)

This adds a task to connect to an RSS feed, by default the one from our
community blog. The idea is to make this run every night with 'cron' on
every Foreman installation to keep people updated about changes, and...

c2e58b1b 10/18/2017 10:58 AM Ivan Necas

Fixes #21295 - load the routes before we load the controllers

After upgrade from Rails 4.1 to Rails 4.2 there was significant
drop on rails startup in production. I have tracked it down to
several changes in Rails, but it might also be affected by the
fact the we use the url_helpers on more places than older Foreman...

7f8fd14d 09/19/2017 09:29 AM Sebastian Gräßl

Fixes #20201 - Global HTTP proxy for outgoing requests

This introduce two new settings to proxy outgoing HTTP
requests and one to except certain hosts from it.

The extensions for Excon::Connection and Net::HTTP
allow setting a proxy on their requests.

0f225c99 09/13/2017 04:56 AM Ivan Necas

Fixes #20908 - postpone initialization of Dynflow runtime

In #18618, the initialization code was moved from foreman-tasks to
foreman. There was however one thing done differently, where the
initialization of dynflow world was moved directly to the time
`Rails.application.dynflow` was called. This is not right, as there are...

972adab0 07/31/2017 06:55 AM Dominic Cleal

fixes #10982 - configure RestClient log to 'proxy' logger

Request/response information is sent to the proxy logger, showing the
URLs called, headers, request body etc.

The X-Request-ID header is now also set in the proxy requests to a
random ID stored in the session, to prevent the user's real session ID...

1ed59c63 07/20/2017 10:41 AM Daniel Lobato Garcia

Fixes #18618 - Use Dynflow as an ActiveJob backend

This commit initializes the Dynflow world in a very similar manner to
foreman-tasks (if a Dynflow world is available from foreman-tasks, we
use that one).

fbbab0d8 07/07/2017 10:24 AM Michael Moll

fixes #18500 - replace quiet_assets with sprockets-rails flag

  • fixes #18512 - support sprockets-rails 3.x

The app.assets environment is no longer always configured, and instead
is only configured when the regular Rails environment is loaded. Loading
only the 'assets' group initializers isn't sufficient....

6d9f34fe 07/05/2017 08:26 AM Dominic Cleal

fixes #19050 - add Ruby on Rails 5.0 support

Adds configurable support for running on Ruby on Rails 5.0 or 4.2,
defaulting now to 5.0 on Ruby 2.3 or higher. Ruby versions with partial
or no support remain using 4.2 by default. Other points:

1. SETTINGS[:rails] is loaded pre-Rails boot, then post-boot the...

987aa983 06/07/2017 09:59 AM Lukas Zapletal

Fixes #19728 - set admin user in rake console

40fffe69 04/24/2017 12:37 PM Dominic Cleal

fixes #19317, #10927 - move registries to autoload_once path

Partially reverts 70ce8fe to reinstate autoload_once_paths as the
preferred way to load registry-type objects with class variables
containing data set up during app initialisation (e.g. plugin
registrations, menu items.)...

2e7dfc3d 04/12/2017 12:52 PM Ivan Necas

Refs #13772 - ensure ApplicationRecord is loaded soon enough

In `lib/core_extensions.rb` we define as `per_page` method, that gets
called by `will_paginate` at load time of the models. The issue is
we are using `Setting` model there, that inherits from the...

7923c95d 04/06/2017 07:19 AM Dominic Cleal

fixes #18445 - always define eager_load_paths, use require_dep

Allows `eager_load!` to be called or enabled in any environment without
loading files under lib/ twice. Switches many `require` calls to Rails'
`require_dependency` to always use its dependency loader, so when eager...

a36689ab 03/09/2017 07:45 AM Ohad Levy

fixes #18681 - moves polymorphic subject into notification object

also adds host build, destroyed and missing owner UI notifications

35c14172 01/26/2017 08:18 AM Ivan Necas

Refs #15779 - make background processing unavailable for now (#4217)

The original PR got vetted in the packaging phase and including
foreman-task as dependency of Foreman was refused. We need to rethink
our approach for getting the foreman-tasks functionality available...

1538b8d2 12/04/2016 04:48 PM Ivan Necas

Refs #15779 - move the foreman-tasks to own bundle group

This makes it easier to achieve a minimal setup, that might be needed for
things like plugins building etc.

27752930 11/25/2016 02:43 AM Kavita Gaikwad

Fixes #17343 - set deep munge config off

deep_munge was introduced as a solution to keep
Rails secure by default which results in
'empty array becomes nil in params'.
Thats why, set deep_munge config off in application.rb.
Also, added changes which will cast param argument to string...

f20020ce 09/26/2016 04:57 AM Daniel Lobato Garcia

Fixes #16643 - Display origin for facts

This commit sets the interfaces for the fact importers to start setting
a Fact origin, and display it in the UI

46e1ea9f 09/23/2016 05:09 AM Lukas Zapletal

Fixes #9016 - improved fact loading performance

This change improves fact loading performance by order of magnitude on
SQLite mostly thanks to explicit transaction. An extra optimization was
done for the most important "update" method call which is mostly used...

e834c3d4 09/16/2016 03:24 AM Dominic Cleal

fixes #16567 - use constants to register Rack middleware

4cbf879e 08/24/2016 06:41 AM Lukas Zapletal

Fixes #12634 - New HW Model flag pxe_loader

Implementation of

https://github.com/theforeman/rfcs/blob/master/text/0001-PXE-Booting-UEFI.md

In short, new host/hostgroup flag PXE loader is added to specify TFTP
DHCP filename and Foreman now orchestrates all PXE-capable templates...

d97deb49 07/28/2016 04:24 AM Dominic Cleal

fixes #15863 - add short session or request ID to logs

New middleware stores the session and request IDs (either from
X-Request-ID or a UUID generated by Rails) in the logger's thread
storage. The truncated session ID is now logged by default to minimise...

b28c934b 06/13/2016 06:12 AM Dominic Cleal

fixes #14913 - configure Hirb/Wirb via irbrc

Wirb 2.x can't be started before the IRB session itself, so use an irbrc
file per its docs to activate it and Hirb when starting a console.

f4459c11 05/12/2016 09:56 AM David Davis

Refs #3809 - Turning on some rubocop cops

e5b9e308 05/05/2016 01:24 PM Dominic Cleal

fixes #14912 - setup console gems under bundler_ext

96d32beb 04/28/2016 06:43 AM Dominic Cleal

fixes #14820 - override Rails log level with Foreman::Logging config

The log_level is expected to be explicitly configured in the Rails
config in the production environment.

85a97146 04/20/2016 10:06 AM Dominic Cleal

fixes #13244 - update Rails to 4.2.6

- Add responders gem to support class-level respond_to usage
- http://edgeguides.rubyonrails.org/4_2_release_notes.html#respond-with-class-level-respond-to
- Replace foreigner with native Rails 4.2 FK support
- uses a patch from Rails 5 to support Foreigner's...

32f3b017 04/13/2016 10:32 AM Marek Hulán

Fixes #14588 - introduce plugin API for extending template helpers

bd95cda6 04/05/2016 07:38 AM Dominic Cleal

fixes #14415 - check CR availability with Fog, not SETTINGS

Simplifies the code for checking compute resource availability, which
can easily be determined with the registered Fog providers instead of
being stored in SETTINGS in app initialisation. Plugins should always be...

0443e85e 04/04/2016 03:31 AM Dominic Cleal

fixes #14434 - refactor tokens into concern from observer

rails-observers is still required via audited, but this removes the
usage in Foreman itself and unifies token-related code.

27ae0a7d 03/31/2016 06:40 AM Dominic Cleal

fixes #14368 - update fog to 1.38.0

72f46ae9 03/28/2016 08:45 AM Dominic Cleal

fixes #14338 - move session store configuration earlier

When a plugin has an initializer relying on :build_middleware_stack, the
middleware stack is constructed with the default session store (cookies)
as the store hasn't been configured by config/initializers/ yet. Moving...

55e7865d 03/11/2016 05:08 AM Amir Fefer

Fixes #9470 - Adds an option to send puppet error emails for all host to a user

Adds an option to the puppet error state notification - Subscribe to all hosts, when error occurs from any authorize host, the user will get an email

546def59 02/22/2016 03:51 AM Dominic Cleal

fixes #13804 - set enforce_available_locales in app config

Rails 4.1.9 in rails/rails@4399a23 sets I18n.enforce_available_locales
to the value in the Rails app config, which now defaults to true,
overwriting the false value set in the initialiser. Set it in the app...

743c84c8 02/18/2016 03:13 AM Daniel Lobato Garcia

Revert "Fixes #13424 - Add Patternfly Donut Chart React component"

This reverts commit f4b2a11615d14ba1407aecd55523cd44d1010e14.

f4b2a116 02/18/2016 03:12 AM Daniel Lobato Garcia

Fixes #13424 - Add Patternfly Donut Chart React component

Our donut charts do not look like they should in Patternfly.
https://www.patternfly.org/patterns/donut-chart/ uses c3, so we can do
that too.
Eventually I want to remove flot_pies too, but I have to yet figure out...

8fd3f74b 01/21/2016 10:07 AM Eric Helms

Fixes #13171: Prevent frozen array error when plugins have assets

When the application is configured to serve static assets, the
public/asset paths of the plugins need to be added to the middleware
stack. However, this needs to occur prior to the middleware stack...

e35faf64 01/12/2016 07:25 AM Timo Goebel

fixes #12612 - Update fog to 1.37.0

- Update fog to 1.37.0
- Add fog-vsphere
- Change detection if vmware provider is available

fb9f45e8 12/18/2015 08:03 AM Daniel Lobato Garcia

Fixes #7230, #12021 - Upgrade to Rails 4.1.5

This commits upgrades Rails to Rails 4.1.5. See a description of the
changes included here, and go to the pull request in GitHub to see more
detailed explanations:

  • Update gems to a Rails 4 compatible version, including dependencies...
212b8250 10/27/2015 06:25 AM Chris Peters

Fixes #12311 - Fix issue with failed initialization of rack openid middleware.

This fix is for rails4 but is backwards compatible with rails3

When placed in a rails initializer the rack middleware fails to
load, throwing a can't modify frozen array error. Moving the...

1b909134 09/16/2015 07:09 AM Daniel Lobato Garcia

Fixes #11816 - Remove whitelist_attributes as it's deprecated

config.active_record.whitelist_attributes = false is already the default
so it's not necessary. Also Rails 4 deprecates it so we can remove it.

e54016da 09/04/2015 08:03 AM Marek Hulán

Fixes #10782 - global host status

Introduce new global host status that is composed of host substatuses.
Each substatus defines a mapping to the global one which can result in
three values
  • OK
  • WARN
  • ERROR

Plugins can add their own substatuses. These are automatically...

6b4b489f 09/03/2015 02:54 AM Ori Rabin

fixes #10832 - separating lookup keys into puppet and variable

a683aa28 08/24/2015 08:42 AM Tomer Brisker

Fixes #11413 - disable SQL logging by default

c6fcfc9c 07/09/2015 07:32 AM Eric Helms

Fixes #11056: Configure base SETTINGS for test environment.

This change introduces the idea of having a base configuration for
SETTINGS within the test environment. This is captured in the
settings.yaml.test file. To be able to detect the Rails environment...

3f73d005 06/15/2015 06:06 PM Dominic Cleal

fixes #10787 - load fog extensions based on available CRs

Previously fog_extensions loaded inside one large rescue LoadError, so
if fog-libvirt wasn't installed, it would fail part way through. Now
check which providers are loaded, and only extend those. Moved loading...

79fba52e 06/10/2015 12:08 PM Marek Hulán

Fixes #10736 - Add permission specific logger

24370ab5 06/05/2015 12:07 PM Dominic Cleal

fixes #10711 - move LDAP logging to a separate logger

3088e641 06/04/2015 06:05 AM Eric Helms

Fixes #10487: Add custom logging support

This change moves away from the Rails logger to the 'logging' gem
to support more configurability of logging. Further, this allows for
the creation of custom loggers that plugins can then create during
registration (with `logger`) or through settings....

800c14d2 05/18/2015 08:23 AM Dominic Cleal

fixes #10510 - move secure flag to existing session configuration

On a source installation with SSL, the session store is properly configured
now and no longer continually resets user sessions.

0b03b9bd 05/12/2015 03:11 AM Shlomi Zadok

fixes #10275 - Add secure cookie when in ssl (CVE-2015-3155)

96fa0722 05/11/2015 11:08 AM Dominic Cleal

fixes #10261 - update fog to 1.30.0

abd8f1d1 02/18/2015 03:54 AM Daniel Lobato Garcia

Refs #3809 - Remove cops for empty lines

20b093bf 02/12/2015 10:20 AM Daniel Lobato Garcia

Fixes #8641 - Update fog to 1.27

2312cccf 11/19/2014 06:03 AM Daniel Lobato Garcia

Refs #3809 - Remove useless assignments

f4d9ac46 11/17/2014 12:22 PM Daniel Lobato Garcia

Fixes #8424 - Controller concerns are loaded twice

config/application.rb, we are adding the controller concerns twice
folder to autoload_paths

94651a72 10/29/2014 09:30 AM Ivan Necas

Fixes #8009 - Make sure the final version of helpers is in the controller

4f7a4d0b 10/06/2014 02:37 PM David Davis

Refs #3809 - Fix a few rubocop TODOs

3fba9776 06/30/2014 05:01 AM Dominic Cleal

fixes #2972 - load jsonp on bundler_ext installations

e4fde4e3 04/02/2014 11:01 AM Ivan Necas

Fixes #4976 - ensure the process is really running inside a rake task

0527e75b 03/17/2014 09:30 AM Martin Bacovsky

Fixes #4515 - Add support for dynamic bindings

70ce8fe7 03/17/2014 09:30 AM Ivan Necas

Fixes #3988 - use require instead of autoload_once_paths

acfbc458 03/03/2014 02:26 PM Marek Hulán

fixes #812 - new permissions model, user group role and nest support, role filters for better granularity

Contributions from:
9ef39dd6 01/07/2014 10:56 AM Amos Benari

fixes #3821 Plugin menus are lost after page refresh in development

b18c3a35 11/07/2013 01:44 PM Ohad Levy

fixes #3587, #2855 - print an error on invalid json vs 500 error

d31ea09f 10/22/2013 10:11 AM Lukas Zapletal

fixes #3138 - move CR library loading into initializers, only show available providers

c1452df6 07/26/2013 04:48 AM Marek Hulán

Fixes #2821 - Autoload paths, PowerManager children must be in namespace in order to autoload

911c9a36 07/19/2013 05:31 AM Joseph Magen

fixes #2411 - add autoload_paths in application.rb in preparation for file location changes

40df7dfb 05/09/2013 10:20 AM Daniel Lobato Garcia

fixes #426 expose BMC information in foreman UI

Signed-off-by: Ohad Levy <>

This patch also adds an abstracted power management class for both VM
and BM

32bf6e02 04/26/2013 04:44 AM Dmitri Dolguikh

fixes #2428 - a workaround for an issue with SETTINGS[:libvirt] not being properly initialized in rpm environments

86007852 04/25/2013 01:15 PM Greg Sutcliffe

fixes #2407 - Add STI to settings model

Also adds some tests for rendering new/missing STI models, and
refactors the old default_settings loader into the new sub-models.

feacea35 04/02/2013 08:30 AM Amos Benari

upgrade foreman to rails 3.2.13

This commit updates from rails 3.0.x to 3.2.x, main changes include:

  • Asset pipline support
  • cleanup of existing assets (javascript, css, images)

Users who uses foreman in production, make sure that you now compile
your assets, e.g...

e1a1fa81 02/21/2013 06:42 AM Joseph Magen

fixes #2239 API v2 CRUD for locations and organizations and added nested loc/org

a8c74a6b 02/21/2013 04:51 AM Lukas Zapletal

bundler_ext initial support

This adds support for bundler_ext. The idea behind this is we want to avoid
Bundler in katello foreman builds, therefore in our RPMs we are gonna rename
Gemfile to Gemfile.in.

If Gemfile.in is found, bundler is not used and loading of dependencies is...

88824e07 12/24/2012 10:46 AM Ohad Levy

refs #1991 - Cache not cleared prevent location / org feature to show up

1. ensures settings cache is removed when app starts
we can't remove all cache, with Rails.cache.clear as that might lead to issues
with people using memcache with multiple foreman instances (e.g. we can clear...

2b8cdec1 11/22/2012 03:58 AM Oved Ourfali

fixes #1961 Adding JSONP support

When using cross-domain requests, it is impossible to read the response
data, and process it.
Using JSONP allows a client, from a specific domain (for example
/domain1), to query data in another doamin (/domain2), and analyze it,...

2807589b 07/24/2012 04:12 AM Corey Osman

split api routes to separate routes file

337da65d 07/17/2012 07:21 AM Ohad Levy

[UI] fixes drop downs not showing up correctly when viewing a page with errors

cfe9af6f 06/28/2012 08:50 AM Ohad Levy

dont fail if console bundler group is not installed

46ec8354 06/17/2012 03:49 AM Ohad Levy

add more frendily error messages upon console failure

5b754375 06/17/2012 03:33 AM Ohad Levy

Allow to run rails console even if the support gems are not installed

dd42df0a 05/29/2012 03:41 AM Ohad Levy

adds ec2 provisioning support fixes #1223

- added progress bar for instance creation
- minor fixes for certname based deployments
- added ssh provisioning support to orchestartion, which utilize finish
scripts by default
- added images support (part of the vm compute tab)...

fb7f0f19 04/29/2012 03:10 AM Ohad Levy

cleanups to rails 3 boot process

eecb5cfe 04/26/2012 02:33 PM Ohad Levy

debian platform puppet is still considered a as a gem

22ae257b 04/26/2012 02:05 PM Ohad Levy

ensure that bundler loads after our custom gem requirements

41402094 04/26/2012 01:48 PM Ohad Levy

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.

22335095 03/18/2012 03:25 AM Ohad Levy

Gemfile cleanups + adding some nicer console output

017e1049 11/28/2011 03:44 AM Ohad Levy

WIP rails3 migration