History log of /external/autotest/frontend/afe/admin.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
204eac11dbaf4b5659ebefdb50a536c821e9bb3e 31-Jan-2017 Allen Li <ayatane@chromium.org> [autotest] [atomic] Remove atomic groups RPC

BUG=chromium:681906
TEST=Run unittest suite

Change-Id: I7b46a4390000a3ed6500b2db0f893b7dfaa04ce6
Reviewed-on: https://chromium-review.googlesource.com/435566
Commit-Ready: Allen Li <ayatane@chromium.org>
Tested-by: Allen Li <ayatane@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@google.com>
/external/autotest/frontend/afe/admin.py
971b324350a9746a524c498464db0252e02b7d45 21-Jul-2016 Justin Giorgi <jgiorgi@google.com> [autotest] Fixed 500 status when adding hosts.

Corrected variable name in afe/admin. Corrected redirect in urls_common.

BUG=chromium:629868
TEST=Verified locally and on moblab.

Change-Id: Ied07656af56a2922ab7e208e357635ac1e352a31
Reviewed-on: https://chromium-review.googlesource.com/362095
Commit-Ready: Justin Giorgi <jgiorgi@google.com>
Tested-by: Justin Giorgi <jgiorgi@google.com>
Reviewed-by: Justin Giorgi <jgiorgi@google.com>
/external/autotest/frontend/afe/admin.py
16bba56968e78f167f8fe69439dc684f28f1a57f 22-Jun-2016 Justin Giorgi <jgiorgi@google.com> Cleaned up host mod and host create logic.

Merged site_host.py into host.py. Created base class for shared logic
between mod and create actions. Also merged tests to run the same test
cases against both actions.

CQ-DEPEND=CL:354552

BUG=None
TEST=Unit tests verified locally.

Change-Id: If14786ef5f58a415406efd7a2f24b96ca3ea1a74
Reviewed-on: https://chromium-review.googlesource.com/355733
Commit-Ready: Justin Giorgi <jgiorgi@google.com>
Tested-by: Justin Giorgi <jgiorgi@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
/external/autotest/frontend/afe/admin.py
6818633834ad52c3de153235639ea9299a6e9a6d 28-Apr-2015 Matthew Sartori <msartori@chromium.org> [autotest] Require lock reason to lock device

When locking a device, a locking reason now must be provided.
This applies to both adding a new device, and modifying an
existing device from both the web frontend and the atest
command-line tool.

BUG=chromium:336805
DEPLOY=migrate
TEST=Tested adding locked/unlocked devices and locking/unlocking devices
from both the web frontend and using the 'atest host ...' command-line tools.

Change-Id: I3a8cd8891a2999f026dd709ae8a79e2b8cbc251a
Reviewed-on: https://chromium-review.googlesource.com/267595
Tested-by: Matthew Sartori <msartori@chromium.org>
Reviewed-by: Dan Shi <dshi@chromium.org>
Commit-Queue: Matthew Sartori <msartori@chromium.org>
/external/autotest/frontend/afe/admin.py
020cd19872b2e940d9ba36825bb0f473345c4a09 30-Jun-2014 Jiaxi Luo <jiaxiluo@chromium.org> [MobLab] Add/Edit/Delete host attributes through AFE admin interface.

MobLab needs to use host attributes to specify Servo and Wificells.

Add an inline table when editing host through AFE admin interface.
Also grant permission to add/edit/delete host attributes to users through
db migration.

BUG=chromium:389659
TEST=ran afe, add/edit/delete host attributes
DEPLOY=migrate,apache

Change-Id: I13004481fd7b378b856dfbbad5ed9195603f83f6
Reviewed-on: https://chromium-review.googlesource.com/206142
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
/external/autotest/frontend/afe/admin.py
c342f9fb42a17db4e26f8b265b3d094388d54102 20-May-2014 Jiaxi Luo <jiaxiluo@chromium.org> [afe] afe admin add host label auto detection

Add a checkbox when add/edit host from afe admin interface,
which will trigger label auto detection by piping to cli host create.
Add a helper function in host_create to fill in data without parsing
from command line.

TEST=Compared adding hosts through afe and cli, ran host_unittest.
BUG=chromium:371898
DEPLOY=apache
Change-Id: Id5307e68d55dc5120e6a8036888987d2819b4ad6
Reviewed-on: https://chromium-review.googlesource.com/199607
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
/external/autotest/frontend/afe/admin.py
74a314b490ff542c4dd2ae4aa0d11c6394d92960 23-Jun-2011 Dale Curtis <dalecurtis@chromium.org> Upstream Autotest merge.

As titled, a merge up to 93fc426ca133e775eb495f34d138fc57d92fb55e.

- Removes a bunch of deprecated code.
- Moves several private utilities into the private repo.
- Couple changes ported upstream and resynced.

BUG=None
TEST=In progress... will spin up new Autotest server and use
run_remote_tests for bvt, regression, smoke.

Change-Id: Id3e2ad529bb7b05f148e5d98aea46bb9ea828200
Reviewed-on: http://gerrit.chromium.org/gerrit/3350
Tested-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
/external/autotest/frontend/afe/admin.py
543d9fb64c2978a8094ca52b9045f43a3b54ff4b 07-Jun-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Enforce that a drone may appear in at most one drone set. Also hide drones that
are already used from the drone set filter_horizontal widget.

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4580 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/afe/admin.py
76fcf19ec42d5c7580d2e7891e4610e5fe725286 21-Apr-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Add ability to associate drone sets with jobs. This restricts a job to
running on a specified set of drones.

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4439 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/afe/admin.py
35a70227e69e03d0492fe47608a6370dc339f287 16-Feb-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Fix styling of AFE admin interface.

The change_list.html for tests used to be handled as a customized
template. The template failed to extend the original change_list.html,
so it didn't keep up to date. Additionally, the "white-space:pre" style
was applied to all <td> elements instead of just the description.

This restricts that style change to the description only, and also
maintains most of the default Django admin interface.

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4247 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/afe/admin.py
8cbaf1e2984c7c5f7df877ac6a759ccef13aa63a 08-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Disallow modification of the Everyone ACL from the CLI. Also removed
Everyone from the Django admin interface.

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3666 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/afe/admin.py
3370e75d01859f756f96b7a68dce457f02d8ea8b 31-Aug-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fixed re-adding of previously deleted host and labels from the Django
admin interface.

Risk: low
Visibility: medium (bug fix)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3626 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/afe/admin.py
65974e1a3971c9f60106102495fa205fbd298aea 21-Aug-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Remove invalidated records from the select lists in the admin interface.
Ex: Hosts edit page no longer shows invalidated labels in the "Labels"
selection boxes.

Risk: low
Visibility: medium (bug fix)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3577 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/afe/admin.py
a5288b4bb2b09aafe914d0b7d5aab79a7e433eaf 28-Jul-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Upgrade from Django 0.96 to Django 1.0.2.

Risk: high (framework change)
Visibility: medium

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3457 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/afe/admin.py