Commit Graph

5320 Commits

Author SHA1 Message Date
John Mitchell e15a25fc46 made playbooks that are similar across branches not clear out the form input 2015-08-26 21:25:51 -04:00
jaredevantabor 62391cb864 Merge pull request #389 from jaredevantabor/scheduler-fix
Scheduler fixes
2015-08-26 18:02:50 -07:00
John Mitchell f44cc5f729 fixed playbooks from not displaying on type-completed project 2015-08-26 20:00:51 -04:00
John Mitchell efa306d1f3 hide priv esc fields and clear their values out when no priv escalation is chosen 2015-08-26 18:56:49 -04:00
James Laska 32a4a941e0 Gather pip requirements at package build time
Previously, requirements were gathered prior to the `sdist` target, and
included in the sdist tarball.  As some requirements are compiled, this caused
problems where the compiled dependencies were linked against the wrong
libraries.  This pull-request addresses that by moving the requirements
gathering into the `dh_prep` and `%build` steps of the packaging process.
2015-08-26 12:13:59 -04:00
Jared Tabor 8a583a8202 Changing the description in scheduler for minutely and hourly frequency 2015-08-25 22:30:47 -07:00
Matthew Jones 549809dfa4 Fix chunked stdout display issue
* We removed stdout redaction from jobs and job templates but only for
  the full stdout dump, this extends it to the limited display also
2015-08-25 16:05:03 -04:00
James Laska 2e6845769a Merge pull request #388 from tgerla/sosreport-fixes
Fix up sosreport to remove some sensitive information and add some us…
2015-08-25 15:20:45 -04:00
Tim Gerla 13ca614a14 Fix up sosreport to remove some sensitive information and add some useful things
- don't include SECRET_KEY
- don't include SSL certs
- add /etc/ansible
- fix the pip freeze command
- add a dir listing of /var/lib/awx/job_status (but not the actual stdouts)
2015-08-25 15:04:19 -04:00
John Mitchell 106718fc20 fixed callback fields from always displaying on jt edit 2015-08-24 15:41:34 -04:00
Matthew Jones 896b0e18f3 Merge remote-tracking branch 'chrismeyers/feature-configure_offline' into release_2.3
* chrismeyers/feature-configure_offline:
  configure support inventory file
  retain existing behavior with added --inventory-file param
2015-08-24 14:38:30 -04:00
jlmitch5 d2423543ec Merge pull request #387 from jlmitch5/give_controllers_specific_names
give controllers specific names
2015-08-24 13:33:47 -04:00
Chris Meyers 442de37441 Merge pull request #386 from chrismeyersfsu/fix-offline_remote
move offline check from preflight to setup.sh
2015-08-24 12:21:16 -04:00
Chris Meyers 30dc5ec434 remove hard coded epel6 build; support epel 7
* corrects epel7 testing .repo
2015-08-24 11:45:38 -04:00
Chris Meyers e210eeaf59 Merge branch 'release_2.3' into fix-offline_remote 2015-08-24 08:54:32 -04:00
Chris Meyers c038bdb1d5 flake8 fixes 2015-08-24 08:48:53 -04:00
John Mitchell 3dd704e72c give controllers specific names 2015-08-23 17:53:03 -04:00
Matthew Jones 1ead738f96 Updates to offline packager docker environment 2015-08-21 16:40:35 -04:00
Chris Meyers 38435648c6 Merge branch 'feature-offline_merge' into release_2.3 2015-08-21 16:21:12 -04:00
Matthew Jones 1471a3bb3e Allow proot's base tmp path to be configurable 2015-08-21 15:28:39 -04:00
Matthew Jones 7080996670 Cleanup stdout dump during 2.2 migration
postgres is adding extra newline/carriage return escapes to the stdout
output.  Here we'll use sed to fix those so they can be read correctly
2015-08-21 13:28:34 -04:00
Matthew Jones 4ce2300d27 Bump version number for 2.3.0 release 2015-08-21 11:55:19 -04:00
Matthew Jones c5ce9cdc12 Fix stdout plaintext render
* Was rendering as json (though text/plain)
* Switched to rendering it as normal text with stripped ansi
* Fixes: https://trello.com/c/TMyOak0H/142-api-v1-jobs-n-stdout-format-txt-emits-json-output
2015-08-21 10:20:57 -04:00
jlmitch5 68ea985168 Merge pull request #382 from jlmitch5/permission_label_inclusion_ui
Reimplemented permissions as a module and pull of permissions label text from the API
2015-08-20 20:28:46 -04:00
John Mitchell 711c742858 make permission edit controller name more descriptive and clear search button clickable 2015-08-20 20:09:00 -04:00
Alan R 97c089a521 add whitespace in API responses about survey rejection 2015-08-20 15:48:04 -04:00
jaredevantabor c5abc791d3 Merge pull request #383 from jaredevantabor/inventory-scripts-lookup
Changing 'source_script' to 'inventory_script' on groups modal.
2015-08-20 11:31:10 -07:00
Jared Tabor f19473175b saving/editing inventory scripts lookup 2015-08-20 09:59:32 -07:00
Matthew Jones 230a1f3be5 Merge remote-tracking branch 'upstream/release_2.2.3' into upstream_devel
* upstream/release_2.2.3: (33 commits)
  Bump version to 2.2.3
  Optimize inventory read check for Job Templates
  Updating changelog for 2.2 release
  Bump version to 2.2.2
  Use smart_str instead of .encode on passwords
  Change default sensitive redaction behavior
  Update changelogs for 2.2.1
  Add an error message when running a job and trying to use an OpenSSH formatted key on an older version of OpenSSH.
  Revert "Add sudo: true to the backup playbook"
  Handle Ubuntu 12.04 psutil recursive cancel
  fixed log viewer modal partial
  fixed alignment of download standard out button in modals
  About Tower version number fix
  Pin package version for older release
  add standard out download button to various places in the UI
  Bump 2.2 branch to version 2.2.1
  Don't create a group that is its own parent when an EC2 tag has an empty value.  Fixes https://trello.com/c/2zc0odvX
  Limit max depth when building mapping of group depths to avoid hitting recursion limit.  Fixes https://trello.com/c/2zc0odvX
  Fix .ini web links for v2
  Add support for detecting encrypted openssh format private keys. Fixes https://trello.com/c/ZeVOXN5U
  ...
2015-08-20 11:47:07 -04:00
John Mitchell c67a9031ca revamp services for pulling in the search options 2015-08-20 11:37:00 -04:00
John Mitchell 9705a90d43 make search dropdowns in accordions work 2015-08-20 11:35:37 -04:00
Matthew Jones a76b1a0432 Merge branch 'release_2.2.3' into stable
* release_2.2.3:
  Bump version to 2.2.3
  Optimize inventory read check for Job Templates
2015-08-20 11:15:48 -04:00
Chris Meyers a9e4377683 removed need for DIST and DIST_MAJOR specification 2015-08-20 10:46:04 -04:00
Chris Meyers 59b5722838 init offline installer builder 2015-08-20 10:41:28 -04:00
John Mitchell d1b7b3a553 reinstituted modularization to be more inline with the inventory scripts management jobs 2015-08-19 21:39:05 -04:00
Jared Tabor 40700d76c9 change ng-show to ng-if and only make a job a cleanup job or fact cleanup job if extra vars have addtional properties 2015-08-19 15:37:36 -07:00
Jared Tabor 9c294f6cc8 Changing 'source_script' to 'inventory_script' on groups modal.
In the demodalification of the custom inventory source modal, I switched to using the naming convention "inventory_source" instead of the original "source_script" title we dubbed it when we started developing the feature. I felt that
changing the naming convention better aligned with what is presented in the UI. This change continues to keep the naming convention consistent in the UI.
2015-08-19 13:24:18 -07:00
Matthew Jones f66ed43788 Bump version to 2.2.3 2015-08-19 13:26:55 -04:00
Matthew Jones 2bdc79f3ba Optimize inventory read check for Job Templates
Our old check used an extremely inefficient boolean logic AND and
generated a bad query.   This does a simpler check by querying the
inventories that the user has access to and using that as a simple
condition when performing the job template permission query
2015-08-19 13:26:10 -04:00
Matthew Jones 26f942a593 Merge remote-tracking branch 'upstream/release_2.2' into stable
* upstream/release_2.2: (31 commits)
  Updating changelog for 2.2 release
  Bump version to 2.2.2
  Use smart_str instead of .encode on passwords
  Change default sensitive redaction behavior
  Update changelogs for 2.2.1
  Add an error message when running a job and trying to use an OpenSSH formatted key on an older version of OpenSSH.
  Revert "Add sudo: true to the backup playbook"
  Handle Ubuntu 12.04 psutil recursive cancel
  fixed log viewer modal partial
  fixed alignment of download standard out button in modals
  About Tower version number fix
  Pin package version for older release
  add standard out download button to various places in the UI
  Bump 2.2 branch to version 2.2.1
  Don't create a group that is its own parent when an EC2 tag has an empty value.  Fixes https://trello.com/c/2zc0odvX
  Limit max depth when building mapping of group depths to avoid hitting recursion limit.  Fixes https://trello.com/c/2zc0odvX
  Fix .ini web links for v2
  Add support for detecting encrypted openssh format private keys. Fixes https://trello.com/c/ZeVOXN5U
  Fix psutil usage on el6 for job cancel
  Set recursive on child process canceling
  ...
2015-08-19 10:39:54 -04:00
John Mitchell 5f2cfa1bfa fixed route for permissions edit on teams edit 2015-08-19 09:54:42 -04:00
John Mitchell 0bb15abd65 fixed permission search on relevant lists 2015-08-19 09:52:47 -04:00
Chris Meyers e80dcd9645 reference requirements in requirements_dev 2015-08-18 16:21:24 -04:00
John Mitchell e1138dc261 Reimplemented permissions as a module and pull of permissions label text from the api 2015-08-18 12:54:35 -04:00
jaredevantabor ddfeaf597d Merge pull request #381 from jaredevantabor/job-detail
Job detail page: fix issue with 'missing' host count
2015-08-17 21:11:04 -07:00
Jared Tabor a8a78b3914 Organize host events by host id
missed this in the original PR
2015-08-17 14:55:18 -07:00
James Laska 853c2b09ee Make flake8 happy 2015-08-17 16:24:10 -04:00
James Laska d30605d82d Fix import error by calling prepare_env first 2015-08-17 16:24:04 -04:00
Jared Tabor ed85df52f0 Job detail page: increment hostCount if missing
occassionally the hostCount will not get incremented despite a host result being processed as successful, failed, skipped, unreachable, or changed. This cause the UI not to show the host status
2015-08-17 11:58:47 -07:00
Jared Tabor 74c5236da2 Organize host summary results by host id instead of name
on the job detail page as host results were stored in the hostSummaries array, they were organized by hostname, but hostname can be changed as a result of the playbook potentially
2015-08-17 11:58:47 -07:00