Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
e5b4634f 06/11/2018 01:42 PM Adam Ruzicka
  • Fixes #23611 - Provide helper method to run "service" active jobs

The root cause was we were triggering the active jobs too early,
sometimes even before the db was migrated. This led to all sorts of
errors. The provided helper method does not trigger the jobs when in...

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

Fixes #23142,#23503 - telemetry improvements

61eff7fd 05/25/2018 11:08 AM Ohad Levy

fixes #23681 - move auth_source_ldap js to webpack (#5607)

b4e4ad58 05/11/2018 12:11 AM Eric Helms

Fixes #23511 - Generate webpack plugins in context of vendor/bundle

9392da0a 04/28/2018 01:15 PM Ewoud Kohl van Wijngaarden

Fixes #23361 - Handle webpack manifests from plugins

In a production setup Foreman can't write to the manifest.json location.
Here we copy the pattern from the above sprockets initialization and
change the webpack-rails setting to read it. Because webpack-rails...

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

Fixes #19781 - Fix Layout/LeadingCommentSpace cop

d81dc2a0 04/26/2018 08:58 AM Peter Lehwess

Fixes #23398 - Don't extend classes from within initializers

Any changes to the code locally will kick in rails's auto loading which
in turn will then reload all relevant classes, and in the case of
changing a model inheriting from ApplicationRecord, then...

7ccbc550 04/24/2018 03:31 PM Tomer Brisker

Fixes #23195 - Audit associations on creation and destruction (#5455)

Also includes a bit of refactoring to the AuditAssociations module.

b0ee9fd6 04/17/2018 01:29 PM Eric Helms

Fixes #23147 - Allow plugins to compile production webpack assets

75c65196 04/12/2018 06:32 PM Adam Ruzicka

Fixes #23256 - Check if the delayed plans have expected interface (#5448)

Not all delayed plan records have 'job_class' key in first element
in serialized_args.

3cd8c84b 04/11/2018 07:21 AM Michael Moll

Fixes #19787 - Fix Layout/SpaceAfterComma cop

90361fa8 04/05/2018 11:56 AM Michael Moll

Fixes #19796 - Fix Layout/SpaceInsidePercentLiteralDelimiters cop

a03e5341 03/22/2018 07:15 PM Marek Hulán

Fixes #22918 - Audit all taxonomies assignments

We need to move all audited definitions to top of models because all
concerns can use audit_associations call which relies on audit being
already activated.

f2ac9055 03/21/2018 08:42 PM Lukas Zapletal

Fixes #22796 - fact importing telemetry

cb591e34 03/08/2018 12:23 PM Tomáš Strachota

Fixes #22753 - add apipie validator for multiple allowed types

d0eef9af 03/07/2018 07:01 AM Swapnil Abnave

Fixes #22199 - Audit has_many associations (#5187)

f020721d 02/23/2018 12:38 PM Lukas Zapletal

Fixes #18675 - telemetry foreman API

fe1d56e1 02/13/2018 03:43 PM Tomáš Strachota

Fixes #22557 - use correct type for 'provision_method' param

6850ad9c 01/28/2018 02:51 PM Amir Fefer

Fixes #21170 - move password_strength.js to wepback

dbdac61f 01/16/2018 09:29 AM Tomer Brisker

Fixes #22165 - Allow disabling HSTS header

If a user browses to the Foreman server using HTTPS, HSTS headers will
prevent the browser from connecting to the server again using HTTP. This
adds a setting that allows disabling this header for users requiring...

72f30ad2 01/16/2018 08:45 AM Ivan Necas

Fixes #22272 - don't run CreateRssNotifications in test (#5177)

During running tests, we still schedule the CreateRssNotifications job,
which can potentially collide with other tests, as well as seems to run
into some issues related to code reloading.

We should not do this in test environment in the first place.

da9865b8 01/15/2018 04:28 PM Michael Moll

Fixes #19907 - Configure Style/TernaryParentheses cop

d4449f45 01/15/2018 01:25 PM Tomer Brisker

Fixes #11389 - Remove API v1

API v1 has been deprecated since Foreman 1.9 - over 2 years ago.
This is more then enough time for anyone needing to migrate to v2.
Even though the original issue requests extraction to a plugin, I do not
see any point in investing the time and effort to maintain a long...

89380cc2 01/11/2018 11:51 AM Ondřej Pražák

Fixes #13092 - Deploy correct bonding for reprovisioned host (#4583)

299a8f8d 01/02/2018 08:05 PM Timo Goebel

fixes #22080 - rabl is loaded before patching

d73b9198 12/26/2017 08:25 AM Timo Goebel

fixes #3763 - extend rabl templates

272386b5 12/18/2017 06:13 PM Tomer Brisker

Fixes #19820, #19822, #19824 - Fix some performance cops

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

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

8f7f710c 11/30/2017 10:32 PM Amir Fefer

Fixes #21643 - fix and move nfs_visibilty.js to webpack

8d54948a 11/30/2017 08:59 AM Ivan Necas

Fixes #21637 - fallback to default locale with I18n

This makes the I18n behavior closer to the gettext one, and prevents
some ugly 'missing_translation' messages in the UI (for example in
apipie, that uses the I18n backend for it's strings).

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...

bc1f3ac0 11/02/2017 12:27 PM Michael Moll

Fixes #21553 - require will_paginate's action_view helper (#4972)

01057725 10/16/2017 07:07 PM Timo Goebel

fixes #21333 - http proxies: remove rails js

e6b0f4fa 10/12/2017 11:47 AM Justin Sherrill

Fixes #12216 - support http proxies for compute resources

715d097c 09/26/2017 03:18 PM Shimon Shtein

Fixes #15409 - Separated puppet facts from core

9234d6c5 09/25/2017 05:50 AM Ohad Levy

fixes #20652 - moved compute_resource js code to webpack

this creates a new namespace under tfm, tfm.computeResource
where relevant functions are expoed under the compute resource
namespace, for example:

tfm.computeResource.ovirt.termplateSelected function...

38964973 09/22/2017 11:45 AM Dominic Cleal

Fixes #20957 - Replace alias_method_chain with Module prepend

Deprecated in Rails 5.0 and will be removed in 5.1. Some instances of
classes overwriting existing methods can be handled with `super`, other
concerns or modules are changed to use prepend instead of include....

291fbafd 09/12/2017 07:25 AM Liza Gilman

Fixes #20454 - change page by typing page number

a154c816 07/24/2017 11:47 AM Liza Gilman

Fixes #19031 - move to patternfly pagination style

d8cbf89c 07/20/2017 06:08 AM Lukas Zapletal

Fixes #16160 - added start-foreman-dev helper

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...

5f26c42b 06/07/2017 09:55 AM Tomer Brisker

Fixes #19764 - Fix Layout/AccessModifierIndentation cop

e74bf5ab 05/11/2017 05:36 AM Dominic Cleal

refs #19317 - move FiltersHelperOverrides to app/registries/

Uses class to hold state, should be kept in the autoload_once registry
directory.

d3f47405 05/07/2017 07:42 AM Dominic Cleal

fixes #19464 - rewrite Dashboard::Manager to support autoloading

Replaces class-level widget storage with a static list of built-in
widgets, then appends the registered plugin widgets to get the full
default list of widgets. As a result, the class can safely be reloaded...

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.)...

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...

9601eb47 03/29/2017 05:18 AM Daniel Lobato Garcia

Revert "Revert "fixes #18691 - add as_deprecation_tracker to test environment""

This reverts commit 5a4fdbf71decfb26b88b139bf1f0136d3d3189d4.

5a4fdbf7 03/29/2017 04:46 AM Daniel Lobato Garcia

Revert "fixes #18691 - add as_deprecation_tracker to test environment"

This reverts commit 0fd467c844fd200b5da72a0c670a5ac2bd4a61d6.

f039dcfb 03/23/2017 09:24 AM Walden Raines

Fixes #18986: upgrade patternfly-sass to 3.23.0.

http://projects.theforeman.org/issues/18986

0fd467c8 02/27/2017 03:23 PM Dominic Cleal

fixes #18691 - add as_deprecation_tracker to test environment

Causes test failures if any new deprecation warnings are triggered by
changes in Foreman. Plugin code is automatically whitelisted unless it
supplies its own ASDT whitelist configuration, so developers can opt-in....

acf54d7e 02/21/2017 09:14 AM Dominic Cleal

fixes #18551 - skip table_exists? error when the DB doesn't exist

MySQL and PostgreSQL DB adapters now throw a connection error under
Rails 5 if the the DB doesn't already exist, as the schema cache is no
longer used to answer the method call.

36483d66 01/31/2017 03:30 AM Dominic Cleal

fixes #18233, #18235 - isolate pagelets state between tests

Moves pagelets state into instances of Pagelets::Manager with clearer
dup semantics, and allows the instance to be backed up and restored
around tests using the PageletsIsolation test case mixin.

3fd6a0c1 01/24/2017 06:15 AM Dominic Cleal

fixes #18208 - replace audited-activerecord with audited (#4218)

de3759ff 01/18/2017 04:57 AM Tomer Brisker

Fixes #17844 - unify test mail js code

340c7bdd 01/15/2017 06:42 AM Shimon Shtein

Fixes #15405 - Moved puppet UI to helpers

77110ce3 01/12/2017 10:01 AM Tomer Brisker

Refs #17972 - remove trends.js from assets initializer

7447d046 01/10/2017 09:18 AM Daniel Lobato Garcia

Fixes #17998 - Only print LDAP bind status if available

The ldap logger tries to call payload[:bind].status but it might not be
defined if the bind goes wrong in some LDAP sources.

This causes a 500 instead of logging the status of the bind. We should
only display payload[:bind].status if it's available.

276359d3 01/02/2017 05:23 AM Timo Goebel

fixes #8290 - remove foreman_url redundancy

5ce812a8 12/20/2016 12:37 PM Swapnil Abnave

Fixes #17678 - APIdoc - URL desc add missing CR types

719a47e0 12/13/2016 01:28 PM Dominic Cleal

refs #17257 - remove interpolation from extracted string

616669d8 12/09/2016 03:01 AM Dominic Cleal

fixes #16459 - remove 1.15 deprecations

5a8f4579 12/05/2016 03:34 AM Amir Fefer

Fixes #12156 - Adds email configuration into Foreman settings

Instead using email.yaml, the email configuration
can be modified dynamically via settings.

659d49a1 10/09/2016 09:51 AM Gail Steiger

Fixes #13424 - c3 patternfly react implementation

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...

e2b73df4 09/19/2016 05:50 AM Tomer Brisker

Fixes #16566 - Allow css inline images

Secure headers currently prevents inlining images in CSS using the
'data:' method. This commit adds that to the allowed image sources.

bbefa32c 09/15/2016 11:40 AM Tomer Brisker

Fixes #13936 - Drop support for legacy browsers

This patch removes various workarounds needed to get legacy browsers to
work. Mostly stuff needed for IE<10, but also some other vendor prefixes
that are no longer needed.

e1c55843 09/15/2016 04:37 AM Tomer Brisker

Fixes #16564 - Disable FrozenStringLiteralComment cop

Also fixes a failng cop in config/initializers/secure_headers.rb

e7e5ef3e 09/12/2016 05:03 AM Tomer Brisker

Fixes #16491 - Upgrade rubocop to version 0.42

5a368d81 09/12/2016 04:55 AM Tomer Brisker

Fixes #9117 - Upgrade secure_headers to version 3.4

Any plugin that makes changes to secure headers may need to be updated
to correctly handle this upgrade, as there have been some breaking
changes to the secure_headers api.

cfa5e84d 09/08/2016 08:14 AM Tomer Brisker

Fixes #16293 - Move vendored diff.js to webpack (#3784)

Also removed a few outdated lines from the LICENSE file.

657bdd39 09/07/2016 12:07 PM Dominic Cleal

fixes #15248 - remove 1.14 deprecations

42ba771c 08/11/2016 09:35 AM Tomer Brisker

Refs #12364 - Allow running webpack dev server on any hostname

Currently, SecureHeaders only allows running the webpack dev server from
localhost or 0.0.0.0, and only using http. This leads to issues when
attempting to run foreman inside a virtual machine or using https. This...

e2a57bfe 08/10/2016 06:18 AM Tomer Brisker

Fixes #12364 - Use NPM+Webpack to handle external assets

This commit introduces NPM and Webpack to handle external assets.
It also provides ES6 support and a live reload dev server that can be
used by running `foreman start` instead of `rails start`.
Do not forget to run `npm install` before starting the server....

5e813fae 08/08/2016 06:08 AM elad

Fixes #15924 - Implement server groups and scheduler hints

077e25c4 08/02/2016 10:32 AM Ranjan Kumar

Fixes #7955 - /apidoc should point to v2 documentation by default

12612809 07/29/2016 05:58 AM Dominic Cleal

fixes #3917 - replace protected_attrs with strong parameters

Filtering of attributes has moved from the protected_attributes gem to
strong parameters in controller concerns, to be in line with current
Rails recommendations.

Concerns are shared between UI and both API controllers and list the...

aec605a9 07/25/2016 10:36 AM Dominic Cleal

fixes #15829 - remove ace-rails-ap file modes from app.js

Also removes editor from precompilation list, it's in the main app.js
since fa8353d, and removes unused ACE extensions.

application.js has reduced from 2512 to 2381KiB.

d1635077 07/21/2016 02:12 PM Amir Fefer

Fixes #15037 - Improves editable elements in settings

c3c186de 07/13/2016 07:40 AM Lukas Zapletal

Fixes #15490 - adding view_host filter and better msg

Users who are logged in with permissions to view some hosts are able to
preview provisioning templates for any host by specifying its hostname
in the URL, as the specific view_hosts permissions and filters aren't...

287082a5 07/12/2016 04:41 AM David Davis

Refs #3809 - Turning on the AndOr cop

ede1a30a 07/07/2016 03:01 PM Tomer Brisker

Fixes #14817 - load JS only in relevant pages

The proxy_status.js and about.js files should only be loaded on relevant
pages.

f21ca7d5 07/06/2016 10:04 AM Dominic Cleal

fixes #13845 - remove 1.13 deprecations

85c9be5a 06/30/2016 04:21 AM Ori Rabin

Fixes #15308 - Override validation doesn't run without changes

0cdd6598 06/02/2016 03:44 PM Dominic Cleal

fixes #15250 - ignore current controller from link_to/hash_for

When link_to generates a link on a page served from a nested controller
(e.g. foreman_example/examples) with a hash of controller/action from
our hash_for_*_path extension, it calls url_for which added the current...

a1506cab 06/02/2016 07:38 AM Amir Fefer

Fixes #8797 - Separate style from the HTML in emails

By using roadie-rails gem (1.1) style can be separated from email
html foramt, and absolute paths can be used.
style was separated to 'email.css'

a0fc0462 05/13/2016 04:40 AM Dominic Cleal

fixes #15040 - remove user fragment cache initializer

The initializer added in c3e0fed caused the foreman initializer to fail
as loaded the User model, which it assumes meant the table was present.
This isn't the case when db:migrate runs for the first time....

c3e0fed1 05/13/2016 02:44 AM Lukas Zapletal

Fixes #12225 - invalidate topbar cache after restart

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

Refs #3809 - Turning on some rubocop cops

75bb05af 05/09/2016 11:42 AM Martin Bacovsky

Fixes #14965 - turn off auditing during DB migrations

Move code turning off auditing during db:migrations so that it is
executed earlier than initializers

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...

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...

355c3a31 03/31/2016 04:13 AM Dominic Cleal

fixes #12746 - list compute resources from plugin definitions

Load the full list of known CRs from plugins on the fly, instead of
modifying the class-level list of supported plugins. Since plugin
definitions don't get reloaded, this allows the ComputeResource class to...

2a08e8c1 03/28/2016 11:07 AM Ori Rabin

Fixes #13727 - Error raised when setting default_value when override is set to false

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...

bf8c7fbd 03/24/2016 04:07 AM Dominic Cleal

fixes #14318 - load JS translations table for current locale only

f7f6bd5e 03/17/2016 05:02 AM Dominic Cleal

fixes #14225 - add missing require for Resolv

Setting itself is explicitly required too, which will provide a better
error message in future for this and similar issues loading the class.

d05be6d1 03/08/2016 09:39 AM Ondřej Pražák

Fixes #14071 - Using Sprockets directive to require host_edit_interfaces.js

554107ca 03/01/2016 06:40 AM Dominic Cleal

fixes #13878 - handle anonymous railtie classes seen on Rails 4.2

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...