| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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 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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since the corresponding request is not ajax, we should
use "force_unicode" to translate the message.
Closes-Bug: #1252089
Change-Id: I76098a0d4b51c5f479deca01cbd3702989a5f162
|
|/
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Users can create pseudo-folders independent of object upload
Implements: blueprint swift-pseudo-directory
Change-Id: I5797ae9aab83135643680a410b2394165dc55271
|
|/
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
This patch replaces some method imports with module imports and
makes H302 test enabled.
Fixes bug 1188531
Change-Id: Ibfbddeaa19cbbb244da58ffd5c918c41f03a0c65
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
This patch also re-organizes imports to import one per line.
Change-Id: Ia958e3a30a48d4308d08d51df243c1272425c316
Fixes: bug 1188529
Fixes: bug 1188537
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
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
|