Commits on Mar 20, 2012
  1. 802346 - wait for postgres to come up in puppet

    Now proper fix for this issue
    lzap committed Mar 20, 2012
Commits on Mar 19, 2012
  1. 800573 - Comprehensive bug fix to deal with mass-assign vulnerability

    Basic approach used here was to add a "params_rules" method to almost
    every controller where a create!(params) or update_attributes!(params)
    calls were being made. Basically params on  methods doing that now will
    now be checked via rules and errored out if the params passed in donot
    match. Also updated the unit tests that go with this for each
    modified controller method.
    parthaa committed Mar 19, 2012
  2. 799357 - provide descriptive information on CDN access denied

    When imported manifest is not valid and CDN refuses it, UI and CLI provides
    more descriptive information about what happened.
    iNecas committed Mar 19, 2012
  3. Revert "802346 - wait for postgres to come up in puppet"

    This reverts commit caef237.
    This is thowing error:
    err: Could not apply complete catalog: Found dependency cycles in the
    following relationships:
    Reverting, not sure what is wrong now.
    lzap committed Mar 19, 2012
  4. 770693 - handle repos without repofile in katello-agent

    Katello-agent wasn't running properly on system registered with rhn. Binding to
    repositories was failing because the rhn repos have no repofile. With this
    commit agent skips this repositories.
    iNecas committed Mar 19, 2012
  5. repo_generator - option to use prebuilded packages

    Makes it easy to use the packages built on another machines (e.g. older RHEL)
    to keep the backward compatibility of the packages in a fake repo.
    iNecas committed Mar 19, 2012
Commits on Mar 16, 2012
  1. 803409 - providers - on provider create, open products & repos tab

    Prior to this commit, when a user created a new provider, the
    provider would be opened to the Details tab.  The correct behavior
    is to open to the Products & Repos tab, which is what the user would
    see if they were to later open an existing provider.
    bbuckingham committed Mar 16, 2012
  2. 803420 - 2pane - incorrect pane opens on object create

    When creating an item (e.g. provider, user, org, system...etc) in
    2-pane, after the create the incorrect item is opened.  Essentially,
    the new item is added to the bottom of the list, but the first item
    in the list is opened.
    This issue is actually a regression related to a fix that went in
    for endless scroll on 2pane.
    In order to address this issue, there is now an append and prepend
    for the 2-pane list.  This will allow support for item creation
    and endless scroll.
    bbuckingham committed Mar 16, 2012
Commits on Mar 15, 2012
  1. Bug 801580 - Updating sync plan does not update associated product's …

    …(repo's) sync schedule
    pitr-ch committed Mar 15, 2012
  2. 799357 - manifest import - fix for nil error message

    This commit addresses the 'undefined method `include?' for nil:NilClass'
    error that was occuring on a manifest import that generated a 403 forbidden
    from the CDN.  It provides a standard failure message and places the
    backtrace in the error notices optional details.
    Currently, the controller does not have access to further details; however,
    that may change very soon.  When it does, we'll revisit this logic to see
    if additional changes are needed.
    bbuckingham committed Mar 15, 2012
  3. 803441 - add support for spaces in system tests --rand-prefix command

    Allows the automation of detection of problems when spaces are in names of
    organizations, products, repos etc.
      scripts/system-test/cli_system-test "all" --rand-prefix "a a"
    iNecas committed Mar 15, 2012
Commits on Mar 14, 2012
  1. 801797 - Fixes regression with environment selector and tupane pages not

    filtering on environment.
    ehelms committed Mar 14, 2012
  2. 800169 - Users - do not allow setting of def org, if the org has no envs

    With these changes, a user can no longer set a default org to a user
    (on create or edit), if that org has no environments associated with it.
    bbuckingham committed Mar 14, 2012
  3. 799122 - showing warning if trying to promote repo with failed sync o…

    …r currently syncing
    when hitting promote, if some product in the changeset has a repo that is either currently syncing or has an error on its last sync, we will show a warning.  The user can still continue or cancel, but we are at least warning the user.
    jlsherrill committed Mar 14, 2012
  4. 799512 - fix progress calculation for commands with more subtasks

    In case that the task consist of more subtasks (usually product or provider
    synchronization) we were facing a problem that we calculated the progress from
    finished/unfinished files download reported by pulp but we didn't know the
    total number of files at the beginning. So the total number of files was
    changing every time a new sync task changed from pending to running.
    Therefore we so something like this:
        Progress: [##################################################] 100.0%
        Progress: [                                                  ] 1.1%
        Progress: [                                                  ] 0.5%
        Progress: [                                                  ] 0.7%
        Progress: [                                                  ] 1.4%
        Progress: [#                                                 ] 3.3%
    After this change the progress for tasks consisting from more subtasks is
    calculated from this number of finished/unfinished tasks. For single repo
    synchronization it stays the same. For product or provider synchronization the
    progress bar won't be theoretically so accurate (the progress bar will grow the
    same amount regardless small or large repo). But since we can't get the size of
    repo before the synchronization started it's better. For more details the user
    can to to UI (sync management).
    iNecas committed Mar 14, 2012
Commits on Mar 13, 2012
  1. 802897 - setting default index type for all facts to string

    Prior to this system fact types were set automatically in
    the search server, so certain facts could be detected poorly
    as dates.  This resulted in some systems failing to index
    properly due to their facts not being able to be interpreted
    as dates.
    By setting a dynamic template on the index,
    everything under facts will be automatically set to the
    string type and keyword analyzer.
    jlsherrill committed Mar 13, 2012
  2. 801148 - providers - fix tabindex for products and repos

    This commit addresses a few small items:
    1. fix the tab index for the product and repo subpanels
    2. refactor the logic added in environment_new.js, to become part
       of the panel.js and subpanel_new.js... enabling us to use that
       same fantastic logic in products and repos
    3. fix a couple of small i18n strings
    4. update the Providers => Products and Repos tab to have all
       products 'expanded'.  (I.e. do not require user to click the
       arrow to expand)
    bbuckingham committed Mar 13, 2012
  3. 798683 - handle errors comming from repo synchronization

    Even if Pulp reports the synchronization finished that doesn't mean that the
    synchronization was successful. We check this explicitely and format error
    message correctly in UI and CLI so that this get information gets to
    user through notifications, cli status and logs.
    We mark this synchronizations as failed.
    iNecas committed Mar 13, 2012