The CLI propmpt symbol in the updated doc was changed to #, which
implies root. Lets not encourage people to run a bunch of things as
root. This patch reverts it to $
Change-Id: Iac7343e676cc58b79e7328cdbad1652f98da0ecf
Implements: blueprint pike-docs-overhaul
This patch is the first in a series improving Horizons documentation. It
aims to make the initial quick start section clearer, updates the
information to remove some redundant information, and updates the
appearance to match the rest of the openstack docs.
Change-Id: I942e62b6c2c272dc2b5c91bca42c77677bb4e09d
Implements: blueprint pike-docs-overhaul
- Updated tox envlist, so just running `tox` from the CLI will now run all
voting gate tests
- Reduce duplicated definitions and commands
- Remove any reliance on run_tests within tox
- Removes all doc references to run_tests.sh, and replaces them
with their tox equivalent. Where necessary, language around the tox
commands has been altered or extended so that it makes sense and is
consistent with other parts of the docs. Also adds a new "Test Environment"
list to the docs, so that newcomers do not have to piece together CLI
commands and their cryptic extensions from tox.ini
- Move the inline shell scripting to its own file. Also fixes a bug when
passing args, since the logic assumed you were attempting a subset test
run (try `tox -e py27 -- --pdb` on master to compare)
- Moved translation tooling from run_tests to manage.py, w/ help text
and arg restrictions. This is much more flexible so that plugins can use
it without having to copy commands, but still defaults to exactly the
same parameters/behaviour from run_tests. Docs updated appropriately.
- Removed npm/karma strange reliance on either .venv or tox/py27. Now
it only uses tox/npm.
Change-Id: I883f885bd424955d39ddcfde5ba396a88cfc041e
Implements: blueprint enhance-tox
Closes-Bug: 1638672
Because of hardcoding name as the 'admin' was impossible to
use administrative panel with a custom administrative role name.
This fix replaces hardcoding the name of the administrative role
with RBAC policy check.
DocImpact
Related commit: https://review.openstack.org/#/c/123745/
Change-Id: I05c8fc750c56f6f6bb49a435662e821eb0d6ba30
Closes-Bug: #1161144
This updates the horizon quickstart guide to remove the reference to
the environment_version variable in the run_tests.sh file. This no
longer exists.
Closes-Bug: #1511790
Change-Id: Ide7fff19d53b67da8d3a05a275e814339f5e54a3
in fedora minimal installations, the package "which"
is not included, but required for run_tests.sh to install
necessary dependencies
Change-Id: I31b43de1f0f72be2d8d3d97af2909744080ad706
This command allows to easily save a diff between local_settings.py and
local_settings.py.example to reapply the change when local_settings.py.example
changes (per branch switch or updates).
implements bp settings-migration-script
Change-Id: I2668bbf248434a5d437a5fc46ad07c1a1f29b793
It seems that the `supports_tenants` attr is unused now,
the patch clean up some code related to `supports_tenants`
so that the code can be more readable for devs:)
Closes-Bug: 1417841
Change-Id: Ia3def66b34bf91a4a4e2d7bcb61c5f3be1d16abb
* Add "Using Horizon" section to the docs, which describes
how to install and configure Horizon. It is for operators
who install Horizon from source code.
* Clean up README.rst as much of the information is out-of-date
and most of it is covered by the developer docs.
* Minor update of page titles.
Change-Id: I09aab0d0bc47e07c8d663e7f7b5801e456434950
*Updating to avoid use of manage.py directly.
*Making it more DevStack friendly.
*Adding a sample DevStack local.conf to allow for exercise Horizon
against more services.
*Added simple developer instructions so new developers aren't tempted
to work on the DevStack instance of Horizon.
Change-Id: I0840c63183e7cec3b08e4f2ce208479ff7552f60
There are couple of places in the docs where it isn't explicitly
mentioned whether to modify settings.py or local_settings.py to
customize settings (this might not be obvious to people who are new
to Horizon and Django).
The changes include:
- In the `Customizing Horizon` guide, under the section 'Modifying
Existing Dashboards and Panels', explicitly mention local_settings.py
file to be modified to update ``HORIZON_CONFIG`` setting
- In the QuickStart guide, under the `Setup` section, add a note which
mentions that to customize any settings use the local_settings.py file
- In the 2013 Havana release notes, under section `Upgrade Information'
for 'Allowed Hosts', specify only local_settings.py file to add the
new 'ALLOWED_HOSTS' setting (instead of settings.py or local_settings.py)
Change-Id: I38314cadd8a5a61d1edea26c6cd0d34e713fd66c
Closes-Bug: 1301484
Since blueprint plugin-architecture has been implemented,
the preferred way to add a new dashboard is a configuration
file, rather than an entry in INSTALLED_APPS.
This patch changes the developer documentation to reflect
this change.
Change-Id: I569b22b81da1442ec9bed13d50ebfccfff093ac7
libffi-dev(el) recently became a system dependency and is not
documented in the quickstart guide.
Closes-bug: #1298587
Change-Id: I6722f9c600335213408f53b81d4a2915a0dc3bf5
and tools/test-requires to test-requirements.txt
These are standard files and tools in the
general world are growing intelligence about them.
Change-Id: Iac3c680dd19cabd8ea38598a6e2bb27238030a2d
Fixes: bug #1179008
Since the refactorization of syspanel occurred at
the very early Folsom days, the docs should reflect this too.
Change-Id: I8539b0b8bda2f63366c6de75b1a010f52f07fd0e
Switch to using the self-contained django_openstack_auth
package which is a proper django.contrib.auth pluggable
backend.
Notable functional improvements include:
* Better overall security via use of standard Django
auth code (well-vetted by security experts).
* Token expiration checking.
* User "enabled" attribute checking.
* Support for full range of Django auth attributes
such as is_anonymous, is_active, is_superuser, etc.
* Improved hooks for RBAC/permission-based acess control.
Regarding the RBAC/permission-based access control, this
patch moves all "role" and "service"-oriented checks to
permission checks. This will make transitioning to
policy-driven checking much easier once that fully lands
in OpenStack.
Implements blueprint move-keystone-support-to-django-auth-backend
Change-Id: I4f3112af797aff8c4c5e9930c6ca33a70e45589d
To better facilitate the building and publishing of sphinx
documentation by Jenkins we are moving all openstack projects with
sphinx documentation to a common doc tree structure. Documentation
goes in project/doc and build results go in project/doc/build.
Change-Id: Ic523a716e4113198b777d6dc3db8bb8a729e7696