The current documentation suggests setting password_autocomplete by
changing the default value in the code. This patch updates the
doc to specify changing it by setting it in local_settings.py
Change-Id: I22ba2d9c22350acf206fc8113a80d474651beada
Closes-bug: #1420016
In a new section, titled performance, a requirement is added
for JavaScript code to limit the re-creation of objects in
the same scope. An example with jQuery is given with explanation.
Change-Id: I2f0d8392277f65384389d8d20154d645197050af
Partial-Bug: #1412971
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:
./run_tests.sh --makemessages
Run the pseudo tool to create pseudo translations:
./run_tests.sh --pseudo de
Compile the catalog:
./run_tests.sh --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
There is an extra 'that' in contributing.rst, which doesn't make
sense for the complete sentence. It should be omitted or written
in a different way as proposed in the bug description.
Change-Id: I4757c7948d0ee2701e985ee069ee6b2c5b9e769c
Closes-Bug: #1412617
* H304 No relative imports. 'from .views import IndexView' is a
relative import
* E128 continuation line under-indented for visual indent
Co-Authored-By: Thomas Kaergel <kaergel@b1-systems.de>
Closes-Bug: #1412870
Change-Id: I802347c3ec4f6df16bda7cde6618c0fc01afd2d5
According to the Jinja2 documentation the preferred usage for
the syntax of the {{ ... }} delimter is {{ ... }}. This patch
changes all occurcens of {{... and ...}} to {{ ... }}.
Change-Id: I755475d1476cbfeac190217fa67dc2640917762c
'run_tests.sh -m startpanel <name>' command for creating new panels
still requires specifying the dashboard with the
'--dashboard=<dash-python-path>' otherwise it fails.
With the new mechanism for plugging in extensions, this should no longer
be a requirement as the handling of the enabled file will do the
registration.
It is still a valid option for integrated content generation though.
Closes-Bug: #1410025
Change-Id: Ibaaa6c4d36defeae420919d0ea647e18127afefb
Now the BatchAction help text is consistent.
This patch make the BatchAction/DeleteAction help text configurable,
so horizon user can understand the BatchAction (mostly dangerous)
more clearly.
Implements blueprint: make-batchaction-help-text-configurable
Anoter blueprint: add-batchactions-help-text do the "add
appropriate help text" work.
Change-Id: I08c219cf0b918a28da60ca74830a1e17f5453a2f
The term name is used incorrectly and is misleading in the pluggable
extensions settings documentation and the enabled files. The value
that needs to be specified is the slug not the name. This correction
will aid in developers and deployers using the correct value.
Closes-Bug: #1408873
Change-Id: I96c5158bdaddeff7e9087cd9603344f2021a9570
Horizon has a password reveal eye button which allows the
password field to be viewed in plain text. This is a security risk
because a malicious user can check the OpenStack password at an
unattended computer.
Add new DISABLE_PASSWORD_REVEAL setting which is by default, False.
DocImpact
Change-Id: I21a2eaedbff4c1ee73d97c5674eca43c0258ca1a
Closes-Bug: #1400872
Added directions on how to run collectstatic and compress as part of the
install process. Fixing obvious typos as well.
Change-Id: Ia51bb7bb644dc213b3ec3fd3866633700a73c7f9
Closes-Bug: 1392804
By default modal form is closed after clicking outside of it on a dark
backdrop (data-backdrop="true"). For the forms with a lot of fields
this could lead to a loss of data the user had entered before he has
unintentionally clicked outside of the form. So more preferable option
for such forms (and workflows/client-side modals) would be
data-backdrop="static".
DocImpact
Change-Id: I56fca9131a4e4d3991d53184ee1332e84138cdc2
Partially-Implements: blueprint form-template-to-view
Related-Bug: #1062065
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.
Change-Id: Ibf8fb2f6a1e8b0f80db6ab1180894c235046e785
Horizon does not support Python 2.6 anymore starting with Kilo and might
not work correctly with it, so remove the classifier.
Change-Id: Idb2a044968bf35c1fbe4ab42188c6f7df096d442
By default if you view the log of an instance in Horizon it is 35
lines. This patch allows user to override the default log length.
Change-Id: If7285ce31261f2442d3015161c445dda86240dfa
Closes-bug: #1387629
In the tutorial "Building a Dashboard using Horizon" there is a bug
in the view.py example that in case of exception return a var that
has not been defined.
Closes-Bug: #1388576
Change-Id: I271a30215bb245ffa65ee76e86027ae003816a15
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 run_tests.sh 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
Cinder API v1 was deprecated in Juno and is being removed in Kilo.
Implements: blueprint horizon-cinder-v2-preferred-version
Closes-Bug: 1376424
Change-Id: I9bbdf1753a06d33b441a85ff448f475545eafc80
In the context selection dropdown, there is currently an always disabled
link to do more advanced filtering. The original intent was to open a
modal to do more advanced context selection. With the use of RBAC in a
previous bp, the Identity->Projects panel is always accessible. This
panel provides the entire project list for the user. We can just use
this to provide the larger project list to select from.
Change-Id: I0d6674e75785206f3be48c8bf004a29906bb6860
Closes-Bug: #1382650
* Exclude test files from source code index
* Add an index to jump to sub indexes in source code index
* Ensure the order of source code index by using an array
rather than a dict.
Change-Id: I5c28a3e29c9c0b0332732d3f598030a77536563a
Added documentation for auto_fade_alerts.
Also added to the OpenStack section documentation for:
OPENSTACK_API_VERSIONS,
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT,
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN,
OPENSTACK_KEYSTONE_BACKEND,
CONSOLE_TYPE,
TROVE_ADD_USER_PERMS,
TROVE_ADD_DATABASE_PERMS.
In the Django section, added ALLOWED_HOSTS
and a note about use of SECRET_KEY.
Closes-Bug: #1221115
Change-Id: I16596fef2af62b892cef00ab25e2bfe4a80e1c65
* 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