Permalink
Switch branches/tags
Commits on Dec 6, 2016
  1. Bump version to 1.15-develop

    domcleal committed Dec 6, 2016
  2. fixes #3158 - Remove rescues from try calls in helper file

    kgaikwad committed with tbrisker Dec 6, 2016
    In app/helpers/compute_resources_vms_helper.rb, we added rescues to
    try calls as the method may not exist with older version of rails.
    Now, we have updated rails to 4.x.
    In this commit removed rescue block as Rails 4.0's try method
    will return nil instead of throwing an error,
Commits on Dec 5, 2016
  1. Fixes #12156 - Adds email configuration into Foreman settings

    amirfefer committed with domcleal Dec 5, 2016
    Instead using email.yaml, the email configuration
    can be modified dynamically via settings.
Commits on Dec 4, 2016
  1. Refs #15779 - move the foreman-tasks to own bundle group

    iNecas committed with dLobatog Dec 4, 2016
    This makes it easier to achieve a minimal setup, that might be needed for
    things like plugins building etc.
  2. Fixes #17571 - Refactor tfm.tools to use ES6 syntax

    tbrisker committed with dLobatog Dec 4, 2016
    This also extracts the inherited user roles function to a sepereate
    module, adds tests and refactors it. These changes also fix two other
    issues:
    1. a possible stored XSS in usergroup names,
    2. tooltips on tables were broken (due to => syntax not changing `this`)
Commits on Dec 2, 2016
  1. Fixes #16907 - Sort proxy features on smart proxy display

    dekimsey committed with dLobatog Oct 13, 2016
    The current implementation displays a smart proxy's features in an
    unknown order. When there are many smart proxies this is visually
    distracting.
    
    This change forces a sort by-name on the features.
Commits on Dec 1, 2016
Commits on Nov 30, 2016
  1. fixes #17157 - inconsistent mapping of host owner

    kgaikwad committed with dLobatog Nov 30, 2016
    There is user_group which is assigned to one host as owner
    with id=x. For organization assigned to user with same id=x,
    on edit page showing a grey color with message
    "this is used by a host".
    With this commit, it should not show message to organization
    assigned to user with same id as of user_groups.
    
    Also, refactored the association code for
    (User, Usergroup) -> UserRoles.
  2. Fixes #17487 - support sessions for api calls

    tstrachota committed with domcleal Nov 14, 2016
    - authenticated api calls save user to session and set
      flag api_authenticated_session
    - sessions with such flag allow posting requests without CSRF token
    - api sessions exipre the same way as UI sessions
    - api sessions don't store any additional data to keep the requests
      stateless
    
    This way the standard UI requests as well as API requests authenticated
    with session created from UI remain protected against CSRF. At the same
    time applications using API (such as hammer) can benefit from using
    session authentication and avoid the need of storing two tokens
    (CSRF and _session_id).
  3. Refs #17491 - Revert "polyfill Map for ARMv8 node"

    mmoll committed with tbrisker Nov 29, 2016
    This reverts commit f101368.
Commits on Nov 29, 2016
Commits on Nov 28, 2016
  1. Fixes #1556, #11615 - Remove puppet rdoc support

    tbrisker committed with dLobatog Nov 28, 2016
    Puppet rdoc support has been broken for a long time. Removing it from
    Foreman.
  2. Fixes #17439 - Moved facet base to a concern

    ShimShtein committed with dLobatog Nov 28, 2016
    If the plugin that wants to create a new facet doesn't want to
    take the inheritance slot (for example if it already has some
    base class), it can `include` the new concern.
  3. Fixes #16422 - Foreman API throws ruby exception with ovirt network API

    jkroepke committed with dLobatog Nov 28, 2016
    Passing a 'nil' resource_class to the `scope_for` method will always result in a 500 as you cannot call `.where` on nil.
Commits on Nov 27, 2016
Commits on Nov 25, 2016
  1. fixes #17484 - remove reported_at sequence from report factory

    domcleal committed with dLobatog Nov 25, 2016
    Prevents reports getting ever more out of sync from Time.now.
  2. Fixes #17483 - async task creation returns 202

    ares committed with dLobatog Nov 25, 2016
    Includes task link in response
  3. fixes #17474 - DROP db prior to restore on postgres

    ohadlevy committed with dLobatog Nov 25, 2016
    when using postgres as a database, and restoring and
    existing db dump, clean the target database prior to restore.
    
    this allow the usage case when installing a new server,
    running foreman-installer and then restoring the database.