summaryrefslogtreecommitdiff
path: root/openstack_dashboard/dashboards/project/containers/forms.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Copy the selected file name in the object name field."Jenkins2014-07-011-4/+3
|\
| * Copy the selected file name in the object name field.George Peristerakis2014-05-231-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In the containers panel, when uploading a object, if the user selects a file and the object name field is empty, copy the file name in the object name field. The filename string is saved in the file input as a attribute for comparison of any future changes to the file input. Moved the file input to improve the UX Change-Id: I608ebd572a745780fb59af852b182d75ab300ce7 Closes-Bug: #1319888 Co-Authored-By: Robert Mizielski <robert.mizielski@cloudwatt.com>
* | Remove extraneous vim configuration commentsHe Yongli2014-05-061-2/+0
|/ | | | | | | | | | | Remove vim setting: comment - # vim: tabstop=4 shiftwidth=4 softtabstop=4 at the top of source code files, except for files in openstack/common. Change-Id: I9a5c6b17c6ef7ecec601f4503dfc7b31fc72e90a Close-bug: #1229324
* Merge "Make object upload success message translatable."Jenkins2014-02-151-1/+3
|\
| * Make object upload success message translatable.Tatiana Mazur2014-02-101-1/+3
| | | | | | | | | | | | | | | | | | Since the corresponding request is not ajax, we should use "force_unicode" to translate the message. Closes-Bug: #1252089 Change-Id: I76098a0d4b51c5f479deca01cbd3702989a5f162
* | Allows the user to modify an objectCristian A Sanchez2014-02-111-0/+29
|/ | | | | | | | | | Now the user has an option to update an existent object. If a file is provided, the object's file will be updated. But if the file is not provided, the object's file will not be updated. Change-Id: I67752c7881b0e6b4ab20b13cca94b24d292736d5 Implements: blueprint modify-object
* Allows the user to create an object without fileCristian A Sanchez2013-12-141-1/+10
| | | | | | | | | | Now the user can create an Object without providing an actual file in the containers view. This will submit an object with 0 bytes size. Additionally, the 'Download' button will not be available for objects with 0 bytes size. Implements: blueprint metadata-only-object Change-Id: Ib2ff2462b73d16c971ad0dfc60aaae1b0bbf0924
* Remove #noqa from most common imports and add them to import_exceptionsRadomir Dopieralski2014-01-071-2/+2
| | | | | | | | | | | | | | | | We have a lot of import with #noqa that is there to ignore h302, because it's traditional to import and use a name directly, instead of a whole module. This hides other errors and gives people the impression that it's actually fine to import non-modules, you just have to slap #noqa on those lines. I went through the code and identified about a dozen names that are most commonly imported this way. I remove the #noqa tag from them, and added them to the list in import_exceptions. I also removed a few unused imports that were revealed in the process. Change-Id: I27afb8e2b1d4759ec974ded9464d8f010312ee78
* Object Upload validated on client sideMaxime Vidori2013-12-181-1/+6
| | | | | | | | | Perform a js validation of the Object Upload name. If the name is not entered, the submit button will appears disabled. Fixes bug #1125232 Change-Id: Id33f3999e9267f5fc58eb55406fc5b763597839b Co-Authored-By: Cristian A Sanchez <cristian.a.sanchez@intel.com>
* Add ability to configure read access of containerLin Hua Cheng2013-12-021-1/+13
| | | | | | | | | | | | | | Allow the user to set the container access to private or public. For public containers, the public URL for accessing it is also provided to the user. List containers does not include the metadata of the container. Used ajax to load the container metadata in the Container table to be able to render the Container table immediately. Change-Id: If1e848ad49f522eab8f1b264d54611615481848c Implements: blueprint swift-container-public-access
* Merge "Adds pseudo-folder creation"Jenkins2013-11-261-2/+36
|\
| * Adds pseudo-folder creationLaura Athanasiou2013-10-161-2/+36
| | | | | | | | | | | | | | Users can create pseudo-folders independent of object upload Implements: blueprint swift-pseudo-directory Change-Id: I5797ae9aab83135643680a410b2394165dc55271
* | Remove unused LOGlawrancejing2013-09-281-5/+0
|/ | | | | | | | | | In some files, we import logging and define LOG, but we never used it later, so i remove those unused LOG and make horizon code clean. Fixed: bug #1231761 Change-Id: I1ebf0098c647e7522f5f1a93cfece7a52bdc05c1
* Enable H302 checkTatiana Mazur2013-08-221-6/+6
| | | | | | | | | This patch replaces some method imports with module imports and makes H302 test enabled. Fixes bug 1188531 Change-Id: Ibfbddeaa19cbbb244da58ffd5c918c41f03a0c65
* Enable H201: do not write "except:"Kieran Spear2013-08-131-3/+3
| | | | | | | | | Fixes all occurrences of this. We have a custom exception handler in Horizon anyway that only catches ClientException in most of these cases, but this commit lets us gate on the other cases. Change-Id: Iea3dc13817f3e5b775b2024424bf3a906da5584b Closes-Bug: #1211657
* Use Python 3.x compatible except constructDirk Mueller2013-06-141-1/+1
| | | | | | | | Python 3.x removed the "except x,y:" construct. Use "except x as y:" instead which works with all Python versions >= 2.6. Change-Id: Iedb4c5a6d8580cbb6c9697933d006e94b1db916d
* Sort imports alphabeticallyMatthias Runge2013-06-141-2/+3
| | | | | | | | This patch also re-organizes imports to import one per line. Change-Id: Ia958e3a30a48d4308d08d51df243c1272425c316 Fixes: bug 1188529 Fixes: bug 1188537
* Remove placeholder objects for subfoldersBrian Waldon2013-02-151-18/+3
| | | | | | | | | | | A subfolder in a container is now represented solely by the prefix of an object name delimited by a forward-slash (/). If an object exists in a container that matches the implied subfolder of another object, each will be displayed in the objects table. Implements bp swift-folder-prefix Change-Id: I05252c1db34fdf6584a71e8827ff6f8363bf0488
* Ensure to use api.<category>.<method>Akihiro MOTOKI2013-01-221-13/+13
| | | | | | | | | In the current code both api.<method> and api.<category>.<method> are used. Using api.<method> directly makes it difficult to identify which module defined a method and forces developers to use unique method names among projects. This commit removes api.<method> style method calls. Change-Id: Iaefa1061f99b7865e02541df87c112a6b2868ec0
* Fixed unicode for object copyTihomir Trifonov2012-12-291-4/+7
| | | | | | | | | | Removed deprecated check for unicode symbols in object names, fixed the reverse() for success_url, which expects "/" to be included in path arguments. Fixes bug 1008940 Change-Id: I1122437c40f8e31b64a82b39cd326141842ca519
* Splits OpenStack Dashboard bits from framework app code.Gabriel Hurley2012-10-111-0/+164
Moves everything OpenStack-specific (dashboards, apis, etc.) into the openstack_dashboard project, achieving a much cleaner separation between the project-specific code and the generic Horizon framework code. Change-Id: I7235b41d449b26c980668fc3eb4360b24508717b