Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 25, 2015
  1. @mrunge

    run compilemessages with runtime deps

    mrunge authored
    this fixes the issue compilemessages requires test deps.
    Partially Implements: blueprint django18
    Change-Id: Id942450a02d0df565170b84f2aff0566e0ef1952
Commits on Feb 19, 2015
  1. Base launch instance wizard

    Shaoquan Chen authored
    - Setting up base launch instance wizard to enable parallel
      development on steps in the work flow.
    - Adding business logic related code to openstack_dashboard
    - Using Horizon's well-defined plug-in architecture to hook
      launch instance to Horizon.
    Partially Implements: blueprint launch-instance-redesign
    Change-Id: Ibbbbfc7f49c58a78b0d1b29e363531d5ae1a9aab
Commits on Feb 13, 2015
  1. Improving jshint

    Shaoquan Chen authored
    - Including JS files under horizon/static/angular/ folder.
    - Adding .jshintrc to allow globals defined by jQuery, Angular,
      Angular mock, Jasmine, d3 and jsi18n.
    - Allowing global strict mode in spec files.
    Change-Id: I07359a4b3044cd5f675eef3b7df99398df909f81
    Closes-Bug: #1419625
Commits on Jan 20, 2015
  1. @doug-fish

    Pseudo translation tool

    doug-fish authored
    A tool to allow pseudo translations to be created in order to identify
    potential translation problems. To use the tool:
    Make sure your English file is up to date:
    ./ --makemessages
    Run the pseudo tool to create pseudo translations:
    ./ --pseudo de
    Compile the catalog:
    ./ --compilemessages
    Run your dev server. Log in and change to the language you pseudo translated.
    It should look weird. More specifically, every translatable string is going
    to start and end with a bracket and they are going to have some added
    characters. For example, "Log In" will become "[~Log In~您好яшçあ]"
    This is useful because you can inspect for the following:
    - If you see a string in English it's not translatable. Should it be?
    - If you see brackets next to each other that might be concatenation.
    - If there is unexpected wrapping/truncation there might not be enough
      space for translations
    - If you see a string in the proper translated language, it comes from an
      external source. (That's not bad, just sometimes useful to know)
    - If you get new crashes, there is probably a bug. :-)
    Implements blueprint: pseudo-translation-tool
    Change-Id: If97754c2d4234b12b3d73616ff60527f6ad82d55
Commits on Oct 23, 2014
  1. @amotoki

    Determine environment version based requirement files

    amotoki authored
    It is painful to increment the venv version manually because
    requirements.txt and test-requirements.txt are now updated by cron job.
    This commit changes to just store two requirements
    files to .venv/environments file and check if it is up-to-date.
    (Note that the environment cache file is moved to .venv directory
    as there is no reason to store it in the top directory.)
    Closes-Bug: #1376485
    Change-Id: Ie44ccf6e2e65890baca3f316468254b600c518b1
Commits on Oct 9, 2014
  1. @amotoki

    Add check for makemessages in tox.ini PEP8

    amotoki authored
    This commit adds a check of extracting message catalogs to
    tox PEP8 check. It is useful to avoid a bug like bug 1379054.
    It also fixes a warning "WARNING:root:No local_settings file found."
    in --makemessages and --compilemessages by specifying
    Django settings.
    Closes-Bug: #1379507
    Change-Id: I5541e28a87d48601202bf8180a18eadb5a91770b
Commits on Sep 30, 2014
  1. @deshipu

    Unbundle bootstrap and use xstatic version

    deshipu authored
    This uses the xstatic-packaged versions of bootstrap and bootstrap-datepicker.
    It requires newer versions of pyscss and django-pyscss, as there were some
    bugs in there that were just fixed upstream.
    Change-Id: I0a7660d29fecde915eb46916453a9ea96296798d
    Implements: bluperint remove-javascript-bundling
    Closes-bug: #1375883
Commits on Sep 11, 2014
  1. @randybertram

    Switch to xstatic-bootstrap-datepicker

    randybertram authored
    This points to datepicker 1.3.1 in xstatic.
    Also fixes a couple of minor bugs in forms with
    the new datepicker. The datepicker patch is:
    Change-Id: I0a8cb7a16e50addbbdb10df8bdd4be427937bd81
    Closes-Bug: 1361666
Commits on Sep 3, 2014
  1. @dklyle

    Updating the environment version

    dklyle authored
    Recent requirements updates have not been reflected in the
    environment version.
    Change-Id: Icaf4a3260725e6229bc174b72e5a2feeb8fe4cdf
    Closes-Bug: #1365107
Commits on Aug 25, 2014
  1. @openstack-gerrit

    Merge "Provide a quick way to run flake8"

    Jenkins authored openstack-gerrit committed
Commits on Aug 23, 2014
  1. @amotoki

    Provide a quick way to run flake8

    amotoki authored
    " -p" always checks every file for errors even though you
    have probably only changed a handful. This patch adds " -8"
    which only checks the files that were modified in the HEAD commit or
    the current working tree.
    It is borrowed from the recent nova commit b011325cc6.
    The related ML post is:
    Change-Id: If3c8e5e3e442257f796374edba02c3a23a85839e
Commits on Aug 19, 2014
  1. @deshipu

    Unbundle all JavaScript libraries from Horizon

    deshipu authored
    Remove all external JS libraries from Horizon, and pull them in as
    xstatic packages instead.
    Bootstrap, jquery-ui and jquery.bootstrap.wizard will be unbundled in separate
    patches, as there are some problems adding them to global-requirements.
    Partial-Implements: blueprint remove-javascript-bundling
    Change-Id: Icbbcf8e58db2dcce96d187f7307201f728812cd2
Commits on Jun 30, 2014
  1. @openstack-gerrit

    Merge "Add CLI option for running Selenium tests headless"

    Jenkins authored openstack-gerrit committed
  2. @openstack-gerrit

    Merge "Add jshint for javascript linting"

    Jenkins authored openstack-gerrit committed
Commits on Jun 26, 2014
  1. @pbelanyi

    Add jshint for javascript linting

    pbelanyi authored
    Added nodeenv as a test requirement.
    Added a jshint environment to tox.ini, which installs node.js into the
    python virtual environment with nodeenv, installs jshint using npm,
    and calls to run the tests. now supports the -j|--jshint flags to run jshint on the
    javascript files. jshint must be installed before running
    The documentation also got updated to include some info about jshint.
    This patch does not add jshint to the OpenStack codebase, just provides
    a way to install it for testing, to avoid license clash (jshint has a
    slightly modified MIT license, which is incompatible with OpenStack's
    Apache license).
    Change-Id: I9dd0743eaee50fdba3dbb527c29f2501bdd44ca6
    Implements: blueprint node-toolchain
    Implements: blueprint jshint-codestyle
Commits on Jun 24, 2014
  1. @jpichon

    Allow running a subset of the integration tests

    jpichon authored
    This follows the same syntax as a running a subset of the unit tests.
    Change-Id: I36dfa8280b8fc63e7b650dfce6dbb0df26e73852
    Closes-Bug: #1333774
Commits on Jun 16, 2014
  1. @GarySmith

    Fix keystone warnings while building docs

    GarySmith authored
    When building the documentation via, doc/source/
    explicitly sets the DJANGO_SETTINGS_MODULE environment variable,
    overriding any existing value that it already has. Furthermore, it sets
    it to point to a settings file that does not use keystone v3, which
    is expected by the tests (and is the source of the warning).  Note that
    when running unit tests via, a different settings file is
    supplied which DOES use keystone v3.
    Change the doc/source/ to only set DJANGO_SETTINGS_MODULE if it
    is not already set.  Change tox.ini and to set
    DJANGO_SETTINGS_MODULE to the same settings file used by the unit tests,
    with keystone v3 support.
    Change-Id: Ib297e4188f2426cf575300998bc9d50f36e48f4f
    Closes-Bug: #1257725
Commits on Jun 5, 2014
  1. @maria

    Add CLI option for running Selenium tests headless

    maria authored
    - Add requirement for xfvbwrapper
    - Add CLI option for running tests headless
    - Update Selenium TestCase to start virtual display if the option is set
    - Update documentation about running Selenium tests
    Change-Id: Icb1ac3491b8eef6c168bf1421cf073da67600982
    Closes-Bug: #1290329
Commits on Apr 18, 2014
  1. @openstack-gerrit

    Merge "Add tox env to build docs"

    Jenkins authored openstack-gerrit committed
Commits on Apr 9, 2014
  1. Use "python -m coverage" rather than use "coverage" explicitly

    Maxime Vidori authored
    When coverage module is installed using a package from Debian/Ubuntu,
    the command name is "python-coverage". By using "python -m coverage"
    the coverage module is detected in both cases.
    Change-Id: Icf9084855b83d0cc721de5325f38cf72ac85ff81
    Closes-Bug: #1241332
    Co-Authored-By: florent <>
Commits on Apr 4, 2014
  1. @amotoki

    Add tox env to build docs

    amotoki authored
    In django-based projects, we need to specify DJANGO_SETTINGS_MODULE
    when running docs build. It is required to addresses the warnings of
    docs build job in the gate.
    This commit also changes --docs to use "python
    build_sphinx" to match tox docs env. This change addresses all sphinx
    build warning except keystone v3 related following warning.
    I believe it is useful.
      NoReverseMatch: u'domains' is not a registered namespace
      inside 'horizon:admin'
    Closes-Bug: #1302532
    Related-Bug: #1257725
    Change-Id: I3663b81b58be3c6cb05e4af914f768c28b21ea07
Commits on Mar 27, 2014
  1. @openstack-gerrit

    Merge "Remove English compiled catalogs after compilemessages"

    Jenkins authored openstack-gerrit committed
Commits on Mar 25, 2014
  1. @amotoki

    Remove English compiled catalogs after compilemessages

    amotoki authored
    ./ --compilemessages compiles all languages including
    English, but English is the source language and there is no need
    to have compiled message catalogs for English.
    Also this commit update the description of --makemessages.
    Change-Id: I30cf4336cc796e8e3bea71120b6c75ce40aaf888
    Closes-Bug: #1261290
Commits on Mar 22, 2014
  1. @amotoki

    Make makemessage ignore option work with Django 1.6

    amotoki authored
    In --makemessages, files under openstack/common are excluded
    and "--ignore=openstack/common" option to makemessages is used
    to exclude these files. However, after the default version of Django is
    switched to 1.6, "--ignore" option works does not work as previously it
    does and strings from openstack/common are included in translation strings.
    The reason of this is that ignore pattern is checked against basename of
    each file/directory in Django 1.6. We need to specify basename in ignore
    patterns: i.e. --ignore=openstack. At now we don't have directories named
    as "openstack" other than openstack_dashboard/openstack/common, so it works.
    This works both with Django 1.6 and 1.5.
    Change-Id: I547be679c2f4ce49bd439b8f629e8720eebdb896
    Closes-Bug: #1295920
Commits on Mar 12, 2014
  1. @mrunge

    Fix selenium imports on tests

    mrunge authored
    tests require selenium to be installed, no matter if
    integration tests or selenium tests are executed or
    Change-Id: Ie55d64c19b00b5b22f62948d4a24a3f322082b0c
    Closes-Bug: #1289270
Commits on Feb 26, 2014
  1. @jpichon

    Integration tests - running the tests

    jpichon authored
    Initial setup for running the integration tests. A basic test is
    included to ensure this works, although it will be rewritten to follow
    the Page Object pattern. Thanks to Daniel Korn for the initial test.
    Implements blueprint: selenium-integration-testing
    Change-Id: Id5b62cdeac5295667a3922f7bed1db3c7617f841
Commits on Feb 19, 2014
  1. @meenapitchiah

    Typo corrections in comments

    meenapitchiah authored
    Change-Id: I7d247bada06b38884970c1187a51357ab76a8952
Commits on Jan 26, 2014
  1. @amotoki

    Speed up unit tests without coverage

    amotoki authored
    Previously coverage command is always used even if coverage is
    not enabled and this makes unit tests slower.
    Change-Id: I4311164ef907fbdc66ac66d4999b25054bc9eebd
    Closes-Bug: #1272979
Commits on Jan 5, 2014
  1. @infraredgirl

    Make running of unit tests more robust

    infraredgirl authored
    Unit tests would fail if run from a symlinked directory.
    To fix this, this patch adds the -P switch to the pwd command,
    to make sure all files are referred to by their actual paths
    and not symlinks.
    Change-Id: Ib7087c11f9dc2c44be3aca8cf94db227a2db72f3
    Closes-Bug: #1266220
Commits on Dec 4, 2013
  1. @lcostantino

    Limit coverage report to horizon modules

    lcostantino authored
    Reduce scope of coverage to horizon/* and openstack_dashboard/*
    to get a more accurate % of coverage.
    As a bonus, generated report folder size gets reduced ( >50%).
    Change-Id: Id375e88ae478277b2af9191937c1b91f4b616250
Commits on Nov 25, 2013
  1. @rmyers

    Update troveclient to 1.0.0

    rmyers authored Steve Leon committed
    Closes-Bug: #1238121
    Author: Robert Myers <>
    Change-Id: I03d3d95602f4009c97d37fdf8e241ec8ab82389d
Commits on Oct 24, 2013
  1. @amotoki

    Fix warning in --makemessages

    amotoki authored
    Specify --extension=html,txt,csv only for openstack_dashboard.
    For djangojs, --extension should be 'js'.
    This is the cause of the warning.
    Change-Id: Ia5ac03fa82c18356b8d210005f8696ae148981bd
    Closes-Bug: #1243526
Commits on Oct 15, 2013
  1. @openstack-gerrit

    Merge "Add extra extension file to makemessage command line"

    Jenkins authored openstack-gerrit committed
  2. @jeffrey4l

    Add extra extension file to makemessage command line

    jeffrey4l authored
    specify the file extensions of the makemessage to *.html, *.txt, *.csv
    Closes-Bug: #1226910
    Change-Id: I115cd448249ac0b1b27a6b28fca3f16d6b2670a6
Commits on Oct 14, 2013
  1. @openstack-gerrit

    Merge "Run flake8 tests automatically on ./"

    Jenkins authored openstack-gerrit committed
Something went wrong with that request. Please try again.