Commit Graph

57 Commits

Author SHA1 Message Date
Jake McDermott
0ff94c63f2 use edit capability for showing copy on most views 2018-02-13 17:15:52 -05:00
Jake McDermott
50d95ddc3f implement model-based credential copy 2018-02-13 17:15:37 -05:00
Matthew Jones
9dbcc5934e Merge remote-tracking branch 'tower/release_3.2.2' into devel 2017-12-13 12:25:47 -05:00
mabashian
d3da899459 Defined delete string in the base with the ability to pass the resource name in 2017-11-22 13:28:02 -05:00
mabashian
565b0b82dd Tweaked language on delete warning modal 2017-11-17 12:45:01 -05:00
mabashian
25dc3f8778 Update delete modals and fixed unit test failures 2017-11-10 11:31:11 -05:00
mabashian
4cd2f93c31 Updated delete warnings to indicate resources that may be invalidated as a result of deletion 2017-11-08 16:38:34 -05:00
Ben Thomasson
7d767f8f63 Automatically change .error to .catch.
Use this script to change .error to .catch using this linux script:

    #!/bin/bash -ex
    #Run in awx/awx/ui/client/src
    FILES=`grep -l -R "\.error(\s*function\s*(data,\s*status)\s*{" . | xargs`
    sed -i "s/\.error(\s*function\s*(data,\s*status)\s*{/.catch(({data, status}) => {/g" $FILES

    FILES=`grep -l -R "\.error(this\.error\.bind(this))" . | xargs`
    sed -i "s/\.error(this\.error\.bind(this))/\.catch(this\.catch\.bind(this))/g" $FILES

    FILES=`grep -l -R "\.error(\s*function\s*(error)\s*{" . | xargs`
    sed -i "s/\.error(\s*function\s*(error)\s*{/.catch(({error}) => {/g" $FILES

    FILES=`grep -l -R "\.error(\s*function\s*(obj,\s*status)\s*{" . | xargs`
    sed -i "s/\.error(\s*function\s*(obj,\s*status)\s*{/.catch(({obj, status}) => {/g" $FILES

    FILES=`grep -l -R "\.error(\s*function\s*(res,\s*status)\s*{" . | xargs`
    sed -i "s/\.error(\s*function\s*(res,\s*status)\s*{/.catch(({res, status}) => {/g" $FILES

    FILES=`grep -l -R "\.error(\s*function\s*(msg,\s*code)\s*{" . | xargs`
    sed -i "s/\.error(\s*function\s*(msg,\s*code)\s*{/.catch(({msg, code}) => {/g" $FILES

    FILES=`grep -l -R "\.error(\s*function\s*()\s*{" . | xargs`
    sed -i "s/\.error(\s*function\s*()\s*{/.catch(() => {/g" $FILES
2017-10-23 12:29:22 -04:00
Ben Thomasson
834e6c692c Automatically change instances of .success to .then with this linux script:
#Run in awx/awx/ui/client/src

    #!/bin/bash -ex
    FILES=`grep -l -R "\.success(\s*function\s*(data)\s*{" . | xargs`
    sed -i "s/\.success(\s*function\s*(data)\s*{/\.then(({data}) => {/g" $FILES

    FILES=`grep -l -R "\.success(\s*function\s*()\s*{" . | xargs`
    sed -i "s/\.success(\s*function\s*()\s*{/\.then(() => {/g" $FILES

    FILES=`grep -l -R "\.success(this\.success\.bind(this))" . | xargs`
    sed -i "s/\.success(this\.success\.bind(this))/\.then(this\.then\.bind(this))/g" $FILES
2017-10-23 12:29:21 -04:00
gconsidine
766a088749 Use credential_type to fetch associated types in list view 2017-10-10 14:38:49 -04:00
mabashian
e6631d1516 Removed UI references to deprecated Azure inv source and cred
Signed-off-by: mabashian <mabashia@redhat.com>
2017-09-18 12:40:45 -04:00
Greg Considine
9d9ca82f33 Merge pull request #94 from gconsidine/ui/fix/credentials-lookup
Ui/fix/credentials lookup
2017-07-28 15:36:37 -04:00
gconsidine
98cf28d9f1 Update model interaction 2017-07-26 17:49:05 -04:00
mabashian
7867a0b692 Fix privilege escalation password label on launch 2017-07-26 15:23:17 -04:00
gconsidine
86fb6116a0 Refactor all Less to manage import order itself 2017-07-25 09:39:05 -04:00
Greg Considine
0636c6be2e Merge pull request #26 from gconsidine/ui/fix/credential-kind-list
Assign credential `kind` on change of credential list data
2017-07-24 17:28:26 -04:00
gconsidine
20162014b7 Add check if list is an array before looping 2017-07-24 16:50:19 -04:00
gconsidine
ce4eccc513 Add assignment of on list change 2017-07-24 14:27:40 -04:00
mabashian
4e5090f28c xss tooltip vulnerability fixes 2017-07-24 13:50:34 -04:00
Jared Tabor
98bca3b70b Merge pull request #7126 from jaredevantabor/tower-string-audit
removing more references to "Tower" in the code base
2017-07-19 09:28:35 -07:00
gconsidine
6fa3872c86 Add kind column to credential list
* Populate kind column with credential_type name
* Fix replace/revert input group button sizing
2017-07-18 14:39:56 -04:00
Jared Tabor
f7f186e676 removing more references to "Tower" in the code base 2017-07-17 16:48:45 -07:00
Michael Abashian
e107bc6cc9 Merge pull request #6739 from mabashian/4556-delete-last-item-page
Fixed deleting last resource on a page 404 error
2017-06-27 10:08:59 -04:00
Michael Abashian
da0dfdbe13 Fixed deleting last resource on a page 404 error 2017-06-26 16:23:34 -04:00
Michael Abashian
26af4adb61 Removed ClearScope service in favor of logic in stateChangeStart 2017-06-24 21:50:31 -04:00
gconsidine
cea1f1bbe1 Remove old credentials files from features dir
* The non-refactored credentials code has been returned to its
original location. Inventories and Jobs pull in Credentials
based on its original location in the file structure.
* Apply margin to individual inputs instead of panels to have
consistent spacing at more narrow resolutions.
* Add placeholder for a Lookup component which will be necessary
to let users select an org for the credential.
2017-06-13 11:59:14 -04:00
gconsidine
725fd15519 Update project structure 2017-06-12 09:53:11 -04:00
gconsidine
5553a6bcda Refactor action/form structure 2017-06-12 09:53:11 -04:00
gconsidine
1c41026f1e Update styles for consistency with UX spec 2017-06-12 09:53:11 -04:00
gconsidine
255665b98e Add functional popover directive 2017-06-12 09:53:11 -04:00
gconsidine
b8d87028c9 Add popover component prep files 2017-06-12 09:53:11 -04:00
gconsidine
f741470365 Refine recently added components 2017-06-12 09:53:11 -04:00
gconsidine
2509c573a5 Add form, text, and custom dropdown components 2017-06-12 09:53:11 -04:00
gconsidine
5d01340f18 Add models and select component 2017-06-12 09:53:11 -04:00
gconsidine
06deb0d7a7 Add base states for credentials 2017-06-12 09:53:11 -04:00
gconsidine
69b19cc06c Refactor component folder structure 2017-06-12 09:53:11 -04:00
gconsidine
c60d5abc5b Add input-search component 2017-06-12 09:53:11 -04:00
gconsidine
637fb8fe27 Add basic component functionality 2017-06-12 09:53:11 -04:00
Michael Abashian
068473bdac Added the ability to select extra credentials when launching a job template with ask_extra_credentials_on_launch is true. Added extra credentials to job results panel 2017-06-05 15:20:40 -04:00
Michael Abashian
b875fd65e1 Replaced all hard-coded api/v1 references with dynamic references or with v2 2017-05-24 17:05:46 -04:00
Michael Abashian
1176b9b057 Smart inventory implementation 2017-05-22 16:55:28 -04:00
John Mitchell
2b57027067 deduping options request and possibly fixing choices of undefined error 2017-04-28 16:00:29 -04:00
gconsidine
c287c4797e Fix minor UX/UI form inconsistencies across project 2017-04-10 15:12:32 -04:00
Michael Abashian
1c73cbdf48 Merge branch 'inject-dependency-audit' of https://github.com/mabashian/ansible-tower into mabashian-inject-dependency-audit
# Conflicts:
#	awx/ui/client/src/activity-stream/factories/show-detail.factory.js
#	awx/ui/client/src/activity-stream/factories/stream.factory.js
#	awx/ui/client/src/credentials/add/credentials-add.controller.js
#	awx/ui/client/src/credentials/edit/credentials-edit.controller.js
#	awx/ui/client/src/credentials/list/credentials-list.controller.js
#	awx/ui/client/src/inventories/edit/inventory-edit.controller.js
#	awx/ui/client/src/inventories/manage/adhoc/adhoc.controller.js
#	awx/ui/client/src/organizations/edit/organizations-edit.controller.js
#	awx/ui/client/src/organizations/linkout/addUsers/addUsers.controller.js
#	awx/ui/client/src/organizations/linkout/addUsers/addUsers.directive.js
#	awx/ui/client/src/organizations/linkout/controllers/organizations-admins.controller.js
#	awx/ui/client/src/organizations/linkout/controllers/organizations-job-templates.controller.js
#	awx/ui/client/src/organizations/linkout/controllers/organizations-projects.controller.js
#	awx/ui/client/src/organizations/linkout/controllers/organizations-teams.controller.js
#	awx/ui/client/src/organizations/linkout/controllers/organizations-users.controller.js
#	awx/ui/client/src/teams/add/teams-add.controller.js
#	awx/ui/client/src/teams/list/teams-list.controller.js
#	awx/ui/client/src/templates/workflows/add-workflow/workflow-add.controller.js
#	awx/ui/client/src/templates/workflows/edit-workflow/workflow-edit.controller.js
#	awx/ui/client/src/templates/workflows/workflow-maker/workflow-maker.controller.js
#	awx/ui/client/src/users/add/users-add.controller.js
#	awx/ui/client/src/users/edit/users-edit.controller.js
#	awx/ui/client/src/users/list/users-list.controller.js
2017-03-22 11:24:03 -04:00
John Mitchell
3b4d40a6c3 update credentials 2017-03-21 10:48:01 -04:00
Ryan Petrello
a69dfced74 Merge remote-tracking branch 'origin/release_3.1.2' into devel 2017-03-21 10:39:16 -04:00
Michael Abashian
1869ba6742 Removed unnecessary dependency injections 2017-03-16 14:53:17 -04:00
Michael Abashian
778c4ab557 Merge branch 'modularize-helpers-utilities' of https://github.com/mabashian/ansible-tower into mabashian-modularize-helpers-utilities
# Conflicts:
#	awx/ui/client/src/activity-stream/main.js
#	awx/ui/client/src/app.js
#	awx/ui/client/src/helpers.js
#	awx/ui/client/src/helpers/Credentials.js
#	awx/ui/client/src/helpers/Groups.js
#	awx/ui/client/src/helpers/Hosts.js
#	awx/ui/client/src/helpers/teams.js
2017-03-02 10:20:32 -05:00
Michael Abashian
d6ba134234 Helpers directory cleanup 2017-02-28 15:54:04 -05:00
John Mitchell
cb30b47098 remove old search comments 2017-02-28 15:46:32 -05:00