Project

General

Profile

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

# Date Author Comment
9d43fc71 06/14/2018 12:05 PM Michael Moll

Fixes #19789 - fix Layout/SpaceAroundOperators cop

b9aa6bda 05/22/2018 10:04 AM Marek Hulán

Fixes #23487 - support namespaced controllers

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

Fixes #19787 - Fix Layout/SpaceAfterComma cop

cd14c1a9 04/06/2018 04:38 PM Ivan Necas

Fixes #21055 - use _id attributes for host taxonomy validator

Otherwise, the error messages are not visible.

Also log the host error messages as `error` instead of `info`, as it
should be more appropriate for this case.

b03dcd1b 04/05/2018 11:56 AM Michael Moll

Fixes #23081 - Fix Style/SafeNavigation cop

85021506 04/05/2018 11:56 AM Michael Moll

Fixes #19839 - Fix Rails/Present cop

cf94f62e 02/28/2018 02:40 PM Avi Sharvit

Fixes #21999,#22005 - Migrate toasts to pf-react

  • Replace Alert and Toasts components with patternfly-react
  • Refactor the server side flash-notification
  • Allow rails-flah-notification to react-toast-notification with link
6f97336d 01/31/2018 12:28 PM Sebastian Gräßl

Refs #20800 - Move session timed out warning inline

9e428144 01/29/2018 01:04 PM Michael Moll

Fixes #19889 - Fix Style/PerlBackrefs cop

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

Fixes #21099 - Replace redirect_to :back with redirect_back

Some instances of process_success/error with :back as a redirect also
need changing, and the redirect_back_or_to helper should be deprecated
and replaced throughout with redirect_back too.

f17c9611 10/19/2017 05:49 PM Marek Hulán

Fixes #21119 - set taxonomies in API

With this we correctly set the default taxonomy for non-admin users
in API calls. Admins are not touched at all, their context remains
"any context" for API calls. This also refactors various places
where tried to set the right taxonomy and combines them into single...

b9c2117e 09/18/2017 09:07 AM Dominic Cleal

Fixes #20954 - don't access MIME types via constants

b88cd3a2 09/18/2017 05:12 AM Dominic Cleal

Fixes #20951 - Replace render :text with :plain

ce2f41f3 09/17/2017 07:56 AM Dominic Cleal

Fixes #20959 - Remove :status option on 'head'

1897b4d4 09/11/2017 02:33 PM Sebastian Gräßl

Fixes #20800 - Comply with Patternfly login page recommendations

  • Move alerts inline above form
  • Make submit button not show a "loading" state
f92cc173 08/10/2017 11:01 AM Eric Helms

Fixes #19529: Use main_app for redirect in case of plugins

Sometimes when entering the require_mail filter, the plugins context
is carried over and the route cannot be matched. Using main_app ensures
that it will resolve the path from the proper context.

53b3c0e0 07/11/2017 01:17 PM Tomer Brisker

Fixes #20272 - correctly rescue QueryNotSupported in production

When in production, the generic exception rescue shadows the
ScopedSearch::QueryNotSupported rescue method, preventing the correct
message being displayed on an invalid search.

b9df73be 05/10/2017 04:25 AM Ohad Levy

fixes #19479, #10587, #19500 - two pane notifications are visible

- notification is now inside the content div, allowing two-pane server
responses to include it.
- refactored all notifications to use notification helpers (notice,
warning and error) instead of direct flash manipulation...

0e52ebb7 03/28/2017 10:15 AM Dominic Cleal

fixes #19035 - rewrite TopbarSweeper without rails-observers

Moves from the observer object into two mixins, one on the model and one
on the top-level controllers to observe creates/updates/destroys on
monitored models. Replaces rails-observers as it lacks Rails 5 support.

7477c779 02/09/2017 07:48 AM Ivan Necas

Fixes #18410 - log permission denials

a7f4dad2 01/05/2017 05:34 AM Daniel Lobato Garcia

Fixes #17864 - Show smart proxy errors on unattended fail

If your proxy is has some error (like misconfigured sudoers, puppet not
available, etc...) and you try to boot a host through unattended
mode [1], the exception will not show up when you try to fetch the...

4e6d2262 11/24/2016 03:48 AM Marek Hulán

Fixes #16739 - unify parameters permissions

b4098edd 10/31/2016 04:30 AM Sebastian Gräßl

Fixes #17084 - Add webpack on welcome and unauthorized pages

Adds webpack server to CSP headers via prepend_before_action,
to ensures it is run before welcome and authorized filters.

589c3a18 10/13/2016 02:34 AM Timo Goebel

fixes #16892 - secureheaders expects img_src parameter

e197f74f 10/04/2016 11:15 AM Dominic Cleal

refs #16689 - expand array of eager load tables

Previously an array of tables (e.g. on Puppetclasses, SubnetsController)
triggered false positive warnings from Bullet:

| Unused Eager Loading detected
|   Subnet::Ipv4 => [[:domains, :dhcp]]

and when no tables were passed on most index pages:...

ef0146fd 09/28/2016 06:00 AM Daniel Lobato Garcia

Refs #16689 - Missing DRY index action controllers

Some of the controllers that could have used the refactor in #16689 were
not added in that commit.

Additionally, I've fixed the '.includes' leftover in those controllers
from Rails 3 to be '.eager_load' now. '.includes' does not change the...

ad94991a 09/28/2016 03:18 AM Shlomi Zadok

Fixes #16689 - DRY index action with search

015be343 09/27/2016 09:21 AM Timo Goebel

fixes #16635 - welcome page works with scoped models

05bd6ed8 09/26/2016 08:25 AM Daniel Lobato Garcia

Fixes #16624 - Make AuthSourceLDAP taxable

This allows users to set organizations/locations on AuthSourceLDAP
objects. That in itself might not be that useful, but it allows us to
follow on and assign the AuthSourceLDAP taxonomies to the users
autocreated through it.

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.

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

e263719a 07/25/2016 05:18 AM David Davis

Refs #3809 - Using defaults for AndOr cop

29ff6661 07/20/2016 07:03 AM Dominic Cleal

fixes #15682 - don't save invalid attributes at login from LDAP

When a user logs in and their last_login_on attribute is updated, bypass
saving the whole model which may contain invalid, unpersisted data.

Also fixes the warning about invalid synced attributes to show during...

df6a9f34 07/19/2016 05:44 AM Dominic Cleal

fixes #15720 - rename *_filter to *_action

The older 'filter' name is changing in Rails to 'action' and is being
deprecated.

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

2aa15bf1 07/01/2016 09:45 AM Ivan Necas

Fixes #14410 - respond 503 when pending migration

e037bc78 06/23/2016 04:15 AM Timo Goebel

fixes #15466 - require e-mail for current user

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

Refs #3809 - Turning on some rubocop cops

9738552e 03/22/2016 08:17 AM Tom Caspy

fixes #14050 - resolving N+1 query on hosts#index

8bbfa2c3 02/04/2016 03:20 PM David Davis

Refs #12911 - Fixing colon method calls

2ac8d7ba 01/25/2016 06:02 AM Tomer Brisker

Fixes #12720 - Add tabs for puppet on proxy show page

This patch adds two tabs to the proxy show page related to puppet
1. Puppet - this tab is for proxies managing a puppet master. This tab
displays information about the puppet master, such as number of classes...

a4e56c45 01/08/2016 08:31 AM Marek Hulán

Fixes #12754 - adds permission name to 403 page

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...
02e4c535 10/26/2015 08:44 AM Daniel Lobato Garcia

Fixes #11924 - Substitute .scoped by .where(nil) to force return relation

On Rails 4 .scoped is deprecated. Calling .all on the model returns the
equivalent ActiveRecord relation object on Rails 4, but on Rails 3 it
returns an Array right away.

A proper replacement we can use is where(nil) - it's ugly but it returns...

c1755e07 10/12/2015 06:54 AM Daniel Lobato Garcia

Fixes #10988 - Remove 1.11 deprecations

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

313979b9 07/31/2015 05:53 AM Stephen Benjamin

fixes #7275 - remove welcome page and replace with docs button

c1c9649b 07/24/2015 10:32 AM Daniel Lobato Garcia

Refs #3809 - Enable cop Style/MultilineTernaryOperator

319d1ffb 07/02/2015 07:11 AM Alon Goldboim

Fixes #10635 - Formalize deprecation warning

01e78260 06/09/2015 10:29 AM Ivan Necas

Fixes #10713 - improved backtrace logging

  • full trace in 500 page in production shows really the full trace
  • Foreman::Logging.exception as an unified entry point for exceptions logging
  • the backtrace cleaner doesn't delete the plugins
  • the orchestration exceptions gets the backtrace covered by logger...
f932cce2 05/12/2015 03:12 AM Shlomi Zadok

fixes #10471 - use Rails' force_ssl

1a282cba 05/11/2015 03:49 PM Shimon Shtein

Fixes #8525 - Rename "Mail" to "Email" in user preferences

b2b7a13b 05/07/2015 09:32 AM Daniel Lobato Garcia

Refs #3809 - Remove nested ternary and nil checking

1ced4fb3 05/01/2015 07:37 AM Daniel Lobato Garcia

Fixes #9674 - Handle ProxyAPI exceptions on PuppetCA controller

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

Refs #3809 - Remove cops for empty lines

060a93cf 01/26/2015 05:37 AM David Davis

Fixes #9099 - Upgrade rubocop to 0.28.0

c6c50b21 01/13/2015 09:21 AM Tomer Brisker

Fixes #8838 - Replace HTTP error codes with human-readable symbols

de3b8fed 01/07/2015 07:30 AM Tomer Brisker

Fixes #8837 - Return correctly formatted response on ajax_error

ad998ce7 12/28/2014 07:22 AM Shlomi Zadok

fixes #8049 - Add timezone to user

642c9d99 11/28/2014 02:25 AM Ori Rabin

Fixes #8428 - Connecting audits to existing users

e1a24883 11/12/2014 05:21 AM Joseph Magen

fixes #5773 - redirect to referrer URL that includes page and search

5e8706d7 10/23/2014 07:21 PM Tomer Brisker

Fixes #7519 - i18n extract ajax error message

c330aee0 10/20/2014 06:49 AM Shlomi Zadok

fixes #7331 - delete unassigned os default templates

f4cecb48 10/20/2014 05:11 AM Shlomi Zadok

fixes #7898 - ensure that format can respond to json / yaml

5c50ca8e 10/11/2014 06:28 AM Jan Rusnacko

fixes #7805 - Add several security related HTTP headers - security hardening.

This commit uses secure_headers gem and configures several HTTP
security related headers to be sent by server:
  • Content Security Policy
  • HTTP Strict Transport Security
  • X-XSS-Protection...
54141ab9 10/07/2014 07:42 AM Daniel Lobato Garcia

Fixes #5139 - leftovers subscribe_to_all_hostgroups

Remove user_xxx unnecessary tables and notices

Update subhostgroups removed

Fixes for migration of foreign keys

Remove users from compute_resource fixture

Remove table notices after fk are removed for pg/mysql

5f029ed6 10/07/2014 03:40 AM Daniel Lobato Garcia

Refs #3809 - Use parentheses in method definitions

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

Refs #3809 - Fix a few rubocop TODOs

8b737c9c 09/29/2014 07:17 AM Joseph Magen

fixes #4386 - gem friendly_id to simplify find by id, name, label, etc

4e3a7e7a 09/24/2014 05:42 AM Daniel Lobato Garcia

Fixes #6999 - protect user logout against CSRF requests (CVE-2014-3590)

To avoid CSRF, logout is changed to be a POST request so
protect_from_forgery checks the CSRF token. However, in Rails 3 the only
strategy available is to nullify the session of the attacker....

e14b6968 09/09/2014 07:03 AM Daniel Lobato Garcia

Fixes #4596 - Change parent of host group via AJAX

Reparenting host groups requires submitting the form to see the changes
nowadays, this fix makes the host group model inherit all properties
from the parent and show them in real time.

cb3faecd 09/02/2014 03:35 AM Thomas McKay

fixes #7218 - authorize hosts welcome page

cad9cce9 08/10/2014 04:49 AM Dominic Cleal

fixes #6964 - replace default scope that hides users with explicit scope

1dd18c34 08/05/2014 07:54 AM Ohad Levy

fixes #6857 improve two-pane load times

e07f9a12 06/30/2014 07:57 AM Dominic Cleal

fixes #3272 - allow 'admin' account to be removed and replaced

983075c0 06/18/2014 08:02 AM Joseph Magen

fixes #5881 - XSS from create/update/destroy notification boxes (CVE-2014-3491)

88ed4900 04/04/2014 11:22 AM Amos Benari

fixes #3592 lazy load vm with ajax in host show page.

ae095693 03/27/2014 07:16 AM Bryan Kearney

Fixes #4884 : remove duplicate slashes from the gravatar url

The issue is that request.protocol returns http:// instead of http. The code assumed no trailing slashes

bdc34694 03/26/2014 07:27 PM Brad Buckingham

fixes #4776 - support session[:expires_at] for api requests

There are situations where the UI needs to invoke requests
on the API controllers; therefore, we need to ensure that
the session expiration accounts for them. This is a common
for plugins, such as Katello, which leverage the...

cfa4b526 03/24/2014 08:32 AM Dominic Cleal

fixes #4457 - Session fixation, new session IDs are not generated on login (CVE-2014-0090)

33b384f2 03/07/2014 10:43 AM Thomas McKay

fixes #4194, #4459 - add main_app to root_path references for isolated engines

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:
f639fdcf 02/14/2014 11:39 AM Stephen Benjamin

fixes #3845 - user login session ending clears chosen organization

9e1b7578 12/16/2013 03:57 PM Marek Hulán

fixes #3339 - nested fact support, allow fact importers to be registered by plugins

9a1f72f4 12/12/2013 10:34 AM Eric Helms

Fixes #3753 - always use main_app to determine paths for running an isolated namespace plugin

39558b72 11/13/2013 11:57 AM Dmitri Dolguikh

fixes #3516 - resource names (inc. domains) are now being parametrized when used to construct urls

dd1d641e 09/25/2013 02:47 PM Dmitri Dolguikh

fixes #3141: SmartPrpxyAuth no longer calls #render_403 method defined in ApplicationController

76e5dd41 09/10/2013 09:12 PM Joseph Magen

fixes #2969 - remove all legacy api code in UI controllers, add deprecation response

852ff714 08/29/2013 01:33 PM Daniel Lobato Garcia

fixes #2988 - merge authentication code, enables REMOTE_USER auth on new API controllers

2ac38557 08/23/2013 03:33 PM Dmitri Dolguikh

fixes #2877: deletion of the organization or location in the context no longer breaks the session

5ebf92e0 07/17/2013 10:37 AM Amos Benari

fixes #2802 controller methods fail for name-spaced controllers

ef4b97d1 06/07/2013 05:17 AM Joseph Magen

fixes #2631 - fix remote code execution via controller name (CVE-2013-2121)

6c563741 05/23/2013 08:35 AM Marek Hulán

Fixes #2502 - session expiration updates

Signo now allows to transparently prolong user session which got
expired. Also when you now logout from Foreman you will end up in Signo
login form. This brings some code clean up and test changes and small
SSO method API change.

f3dd3bb6 05/22/2013 10:45 AM Joseph Magen

fixes #2440 remove unused files, code, unnecessary require statements

f4430a08 05/22/2013 09:56 AM Tomáš Strachota

Fixes #2513 - orgs created in katello do not appear in org filtering

- topbar cache sweeper turned on for api controllers
- a bit of refactoring to get rid of repetitive expire_fragment

8b80115c 05/21/2013 09:09 AM Amos Benari

fixes #2511 Footer should be replaced with an about page

afe65aab 05/09/2013 03:21 PM Marek Hulán

Fixes #2460 - session expiration fix for SSO

We set new expiration interval when user logs in successfully using any
kind of SSO. Also this patch moves logout path out of thread variable
and stores it into a session. This is more secure storage for threaded...

e2c2abfe 05/09/2013 03:12 PM Lukas Zapletal

fixes #2444 - locale selector in user account

3dfb6e4c 05/09/2013 05:07 AM Dominic Cleal

fixes #2420 - extract strings for i18n from JavaScript, various i18n fixes