12495 Commits

Author SHA1 Message Date
Jared Tabor
c22e4a5023 Adding first pass at inventory sources CRUD workflow
and breaking out sources info from groups and simplifying groups
workflows to disclude source info
2017-05-01 14:58:09 -04:00
Michael Abashian
a9ea639d9b Hook up system tracking from the host list 2017-05-01 14:58:09 -04:00
Michael Abashian
ad494bbb40 Navigate the user to the inventory edit form after creating basic inventory 2017-05-01 14:58:09 -04:00
Michael Abashian
8173ec4014 Added missing comma 2017-05-01 14:58:09 -04:00
Michael Abashian
cc80cd8549 Dynamic inventory add form work 2017-05-01 14:58:09 -04:00
jaredevantabor
62fafc9870 adding related-host-add/edit routes for inventories 2017-05-01 14:58:09 -04:00
Michael Abashian
9131ee59a2 Pass host filter through to the smart inv form. Fixed inventory list name link 2017-05-01 14:56:23 -04:00
Michael Abashian
e411d5c69b More inventory state setup. This should get basic/smart inventory forms working in conjunction 2017-05-01 14:56:23 -04:00
jaredevantabor
09f99b04f2 adding inventories related-host state 2017-05-01 14:56:23 -04:00
jaredevantabor
b85614082e Adding group add and group edit routes back in 2017-05-01 14:56:23 -04:00
Michael Abashian
c1ad7d69fd Moving some states around based on new smart inventory flow 2017-05-01 14:54:16 -04:00
jaredevantabor
a7dbd00192 fixing small issue i created with list-generator classes 2017-05-01 14:52:52 -04:00
jaredevantabor
f5141bcab9 Related Groups tab for inventories
I've added a way to hookin a custom "related" state without
needing to extend the state-generator directly. There is more work
that needs to happen here but this gets the scaffolding in place for
the related-groups tab.
2017-05-01 14:52:52 -04:00
Michael Abashian
3727c3a9a5 Disable the SMART INVENTORY button until the user performs a search on the host list 2017-05-01 14:52:52 -04:00
Michael Abashian
2dd1901649 Set up dynamic inventory org lookup state 2017-05-01 14:52:52 -04:00
jaredevantabor
8013f352ce fixing linkage to user on inventories.permissions
it was plain text instead of being a link to the user
2017-05-01 14:52:52 -04:00
Michael Abashian
570b7fde88 Added smart inventory add scaffolding 2017-05-01 14:52:52 -04:00
jaredevantabor
96c25fe464 adding related tabs for inventories
for groups, hosts, sources, and completed jobs. this is for the
tabs themselves.
2017-05-01 14:52:52 -04:00
jaredevantabor
14ec5183d2 fixes to edit->host and host list
removing the copy and delete icons from the top level host list,
as well as fixing the edit host view which was slightly bjorked.
2017-05-01 14:52:52 -04:00
Michael Abashian
54a92b5b5e Normalized inventory list/form. This was the way it used to be 2017-05-01 14:52:52 -04:00
Michael Abashian
2e177598c2 Fixed add inventory form 2017-05-01 14:52:52 -04:00
Michael Abashian
6608819c95 removed css rule targeting host/group search bar 2017-05-01 14:52:52 -04:00
Michael Abashian
b741354ad0 Removed old inventories code. Cleaned up new inventories code 2017-05-01 14:52:51 -04:00
jaredevantabor
3bcb4b0496 adjustments to host list
adding Inventory column and disabling host toggle for external sources
2017-05-01 14:49:22 -04:00
Michael Abashian
f9b46b7c3d Set up new inventory directory and states 2017-05-01 14:49:22 -04:00
Matthew Jones
8c7adddaf3 Merge branch 'release_3.1.3' into devel
* release_3.1.3:
  create .lock file without needing the proj dir to exist
  work around a change in ansible 2.3 to `Task.get_name()`
  mock message obect in callback receiver test
2017-05-01 14:35:11 -04:00
Chris Meyers
01c526dabd Merge pull request #6141 from chrismeyersfsu/fix-6137
create .lock file without needing the proj dir to exist
2017-05-01 11:51:36 -04:00
Chris Meyers
633da940a8 create .lock file without needing the proj dir to exist
* We create <project_name>.lock file in the tower project root
directory. This should not require that the project directory exists,
only that the project directory name is generatable.
2017-05-01 11:15:18 -04:00
Ryan Petrello
6870104811 Merge pull request #6140 from ryanpetrello/fix-ansible-23-setup-payload
work around a change in ansible 2.3 to `Task.get_name()`
2017-05-01 10:42:08 -04:00
Alan Rominger
dd8f8c169c Merge pull request #6139 from AlanCoding/mock_message_313
mock message obect in callback receiver test
2017-05-01 10:38:28 -04:00
Ryan Petrello
f6046d47c9 work around a change in ansible 2.3 to Task.get_name()
Properly detect setup tasks so that we can filter out sensitive
variables from the `ansible_facts` portion of the event payload.
2017-05-01 10:38:05 -04:00
AlanCoding
481df1fcf8 mock message obect in callback receiver test 2017-05-01 10:17:49 -04:00
jlmitch5
932f53b2ea Merge pull request #6090 from jlmitch5/credTypes
add credential types to ui
2017-04-28 17:10:00 -04:00
John Mitchell
879f98df2a updates to credential types forms and lists 2017-04-28 17:08:59 -04:00
John Mitchell
7f48da9114 fix toggle display based on greg's work 2017-04-28 17:08:18 -04:00
John Mitchell
3a5a9aac41 make select2 elements fit in their alloted space 2017-04-28 17:07:54 -04:00
Marliana Lara
4ef057c4ee Merge pull request #6131 from marshmalien/fix/autofillOrgInNotificationTemplate
Autofill organization in a new notification template
2017-04-28 16:22:55 -04:00
John Mitchell
3731c8b72f reduce options reqests and get requests further 2017-04-28 16:00:29 -04:00
John Mitchell
2b57027067 deduping options request and possibly fixing choices of undefined error 2017-04-28 16:00:29 -04:00
John Mitchell
38c0c0a89b add credential types to ui 2017-04-28 16:00:29 -04:00
Marliana Lara
7386ed694a Check if params object exists 2017-04-28 15:29:04 -04:00
Ryan Petrello
46bd02b4c6 Merge pull request #6126 from ryanpetrello/vault_credential_fk
add a new `vault_credential` relationship to Job/JobTemplate
2017-04-28 15:28:22 -04:00
Ryan Petrello
def2034883 add a new vault_credential relationship to Job/JobTemplate
additionally, properly assign vault credentials to Jobs and JobTemplates
as they're migrated to the new split model

see: #5807
see: #5878
2017-04-28 15:00:01 -04:00
AlanCoding
0246b6bdcd bump migration versions after 313 merge 2017-04-28 14:40:08 -04:00
Wayne Witzel III
64982461ac Merge pull request #6124 from wwitzel3/devel
Add inventory_id to websocket data
2017-04-28 14:02:40 -04:00
Matthew Jones
e1e83598e9 Merge branch 'release_3.1.3' into devel
* release_3.1.3: (52 commits)
  ack fact scan messages
  making ldap user/group search fields into codemirror instances
  removing UI parsing for LDAP User and Group Search fields
  Allow exception view to accept all valid HTTP methods.
  Restore ability of parsing extra_vars string for provisioning callback.
  Fix up backup/restore role broken in f7a8e45809758322d9ee41c5305850dd70ed5faf
  Stop / start ansible-tower-service during restores
  value_to_python should encode lookup fields as ascii
  fix brace interpolation on standard out pane
  Adjust some hardcoded usages of 'awx' to use 'aw_user' and 'aw_group'.
  Pull Spanish updates from Zanata
  Temporarily grant awx user createdb role
  Stop giving ownership of backups to postgres
  don't display chunked lines'
  Add dropdown li truncation with ellipsis
  CTiT -> adhoc modules should allow the user to add new modules
  Remove task that was replacing the supervisor systemd tmp file
  Fix failing supervisorctl commands on RH-based distros
  Give ownership of the supervisor socket to awx
  Setting for external log emissions cert verification
  ...
2017-04-28 13:57:04 -04:00
Chris Meyers
3c0d4bf134 Merge pull request #6132 from chrismeyersfsu/fix-ack_fact_scan_messages
ack fact scan messages
2017-04-28 13:49:09 -04:00
Chris Meyers
d14a55911b ack fact scan messages
* Fixes a bug where fact rabbit messages would build up because we never
explicitly ack them.
2017-04-28 13:46:54 -04:00
Marliana Lara
a7dbb78c2e Autofill organization in a new notification template
Issue #2943
When navigating from an organization to a new
notification template, the organization field should automatically
populate the organization name.
2017-04-28 13:42:00 -04:00
Wayne Witzel III
b651983045 also add inventory_source_id to websocket data 2017-04-28 12:22:49 -04:00