239 Commits

Author SHA1 Message Date
David Lyle
fd9d01cd72 Fixing service name typo
Change-Id: Ie2b47cd0f3450191b788bfdee784aa0ac0fa7330
2015-02-10 07:32:20 -07:00
Doug Fish
3331a72e82 Fix documentation for setting password_autocomplete
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
2015-02-09 16:14:19 -06:00
Matt Farina
52f401457f Updates contribution guidelines for JS object performance
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
2015-01-29 12:51:27 -05:00
Jenkins
a25ef90360 Merge "Make table BatchAction help text configurable" 2015-01-27 05:46:57 +00:00
Jenkins
c97b81f5b5 Merge "Updating startpanel for pluggables" 2015-01-23 12:37:42 +00:00
Jenkins
b38693089b Merge "Fix PEP8 issues in the panel template" 2015-01-21 18:20:35 +00:00
Jenkins
a38b728136 Merge "Pseudo translation tool" 2015-01-21 18:20:20 +00:00
Cindy Lu
294a60e9ff revise settings doc with Font Awesome reference
also, fix some old icon references

Change-Id: I31d6f0b1bad917f2a24c6b1791b6b378ee3b83b1
Closes-Bug: #1409184
2015-01-20 16:24:00 -08:00
Jenkins
d027413351 Merge "Fix grammatical mistake in contributing.rst doc" 2015-01-20 22:32:55 +00:00
Doug Fish
faae8b86fa Pseudo translation tool
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
2015-01-20 13:08:26 -06:00
imran
0ede27a4de Fix grammatical mistake in contributing.rst doc
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
2015-01-20 18:26:32 +00:00
Christian Berendt
6d48725069 Fix PEP8 issues in the panel template
* 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
2015-01-20 16:34:41 +00:00
Jenkins
cc75f60cbc Merge "Update AngularJS best practices for translatable string" 2015-01-20 12:41:36 +00:00
Aaron Sahlin
272314fdee Update AngularJS best practices for translatable string
Added documentation for internationalization of text in JavaScript files.

Change-Id: I53a3d6da946cb2e10bf7155f66b65af6359751cb
2015-01-19 13:50:49 -06:00
Christian Berendt
ad64a212ba Unify the syntax used for the {{ ... }} delimter in Jinja2 templates
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
2015-01-19 09:42:24 +00:00
Jenkins
27ccf91997 Merge "some FilterAction attributes don't show in docs" 2015-01-18 21:53:14 +00:00
David Lyle
2aecf4470b Updating startpanel for pluggables
'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
2015-01-14 16:11:00 -07:00
Liz Blanchard
f38cd84ef3 Updating Horizon contributing docs
Updating Horizon contributing docs to include User Experience
and Persona Working Group details.

Change-Id: I6f19372b419f882f7d0d6485b90ad165df25fd2c
2015-01-14 18:38:42 +00:00
LIU-Yulong
a65258f77e Make table BatchAction help text configurable
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
2015-01-14 22:37:25 +08:00
Jenkins
154dab30e3 Merge "Password reveal feature should be configurable" 2015-01-13 01:58:37 +00:00
Cindy Lu
d4764ea7ae some FilterAction attributes don't show in docs
Due to missing ':'. Also add FixedFilterAction to docs.

Change-Id: I2b2d07a7865d3073c7648a82ef653673ebae2bf9
Closes-Bug: #1409892
2015-01-12 14:41:34 -08:00
Jenkins
f9d6f965aa Merge "Adds ability to set default log length" 2015-01-10 22:58:17 +00:00
David Lyle
8e949857fd Changing term 'name' to 'slug'
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
2015-01-08 21:10:09 -07:00
Cindy Lu
afbca3d431 Password reveal feature should be configurable
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
2015-01-08 11:43:53 -08:00
Jenkins
5241301ec9 Merge "Add collectstatic commands to install doc" 2014-12-19 11:00:07 +00:00
Matt Borland
dee9385a66 Add collectstatic commands to install doc
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
2014-12-18 11:39:53 -07:00
Jenkins
e5f7813118 Merge "Ability to change modal form backdrop element behavior" 2014-12-17 02:11:36 +00:00
Timur Sufiev
a6c364448a Ability to change modal form backdrop element behavior
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
2014-12-10 12:40:20 +03:00
Jenkins
bc26f976c7 Merge "Remove Python 2.6 classifier" 2014-12-08 17:30:50 +00:00
Jeremy Stanley
f85c0bff32 Workflow documentation is now in infra-manual
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.

Change-Id: Ibf8fb2f6a1e8b0f80db6ab1180894c235046e785
2014-12-05 03:30:36 +00:00
Julien Danjou
b7f40060ba Remove Python 2.6 classifier
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
2014-11-26 10:14:57 +01:00
Jenkins
832cafd135 Merge "Determine environment version based requirement files" 2014-11-25 02:59:23 +00:00
nikunj2512
9873c1c46b Adds ability to set default log length
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
2014-11-20 16:44:55 +00:00
Fabrizio Fresco
615c7b10f2 Typo in "Tutorial: Building a Dashboard using Horizon"
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
2014-11-02 17:00:06 +00:00
Jenkins
734105534c Merge "Update doc/source/conf.py" 2014-10-30 08:29:32 +00:00
Jenkins
a21315fd65 Merge "Replaces always disabled context selection link" 2014-10-29 11:50:30 +00:00
Akihiro Motoki
0da0ea1438 Determine environment version based requirement files
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
2014-10-24 02:08:17 +09:00
Gary W. Smith
2794abbf66 Use cinder API v2, remove support for v1
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
2014-10-23 16:02:03 +00:00
Jenkins
ead4537262 Merge "Juno Release Notes" 2014-10-22 04:34:40 +00:00
Jenkins
59093e069b Merge "Fixing typo" 2014-10-21 19:12:23 +00:00
Jenkins
3589f68743 Merge "Update JavaScript best practices" 2014-10-21 00:45:24 +00:00
David Lyle
f0f5300434 Fixing typo
Change-Id: Ibf5f0af006fbf34f8d87f1adce971c1d1c8cc9f4
2014-10-20 15:54:27 -06:00
David Lyle
4f9d5b186e Replaces always disabled context selection link
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
2014-10-20 15:50:12 -06:00
David Lyle
bf8d487042 Juno Release Notes
Change-Id: I4ff43fc5107937b833a772d6ef0aa36238c291f2
2014-10-20 15:19:27 -06:00
Aaron Sahlin
0c8bde6570 Update JavaScript best practices
Horizon as a project needs some best practices in place for client side
coding

Change-Id: I1361a9b203f2bb9c2f6a65e60f940aaff43935dd
2014-10-20 11:12:46 -05:00
Akihiro Motoki
a25091e89f Update doc/source/conf.py
* 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
2014-10-14 04:13:52 +09:00
Denise Hale
8c3e36e6ce Updates to horizon settings.rst
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
2014-10-13 19:05:56 +09:00
Jenkins
23c6dfe8ca Merge "Remove and deprecate dashboards config from settings file" 2014-10-13 07:16:38 +00:00
Akihiro Motoki
aa0f0ebc18 Add install guide for users and clean up README
* 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
2014-10-09 03:29:26 +09:00
Jenkins
20ada39b6f Merge "Document token hash algorithm option" 2014-10-06 16:47:44 +00:00