6258 Commits

Author SHA1 Message Date
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
James Laska
9249cc8298 Update nightly repo URL 2015-08-17 14:40:27 -04:00
Chris Meyers
171d5abf33 allow unicode in stdout. 2015-08-17 14:30:00 -04:00
Chris Meyers
a07bc30be7 successfully install requirements on python 2.6
jsonschema conditionally pulls in functools32 if python2.7 else it uses
2.6 packages.
2015-08-17 14:29:46 -04:00
James Laska
2de6be9cfe Simplify Makefile requirements targets 2015-08-17 14:13:44 -04:00
Matthew Jones
35ffb37492 Add cleaning site-packages in the Makefile 2015-08-17 11:33:45 -04:00
Chris Meyers
99fb641b1b all vendor dependencies expressed in requirements.txt 2015-08-17 11:17:53 -04:00
Chris Meyers
aaea561c05 Merge pull request #378 from ansible/fix-rpm
Fix rpm
2015-08-17 10:50:19 -04:00
James Laska
717f646430 Bump version to 2.2.2 2015-08-14 08:16:57 -04:00
James Laska
31bf1a97d1 Fail if required arguments are missing 2015-08-14 08:13:47 -04:00
Matthew Jones
ee8a76f32b Use smart_str instead of .encode on passwords
We originally tried to prune these .encode() calls out of the tree in
favor of smart_str but we must have missed this one.   This allows
migration 0066 to work if utf-8 characters are used in the password
2015-08-13 17:00:46 -04:00
Matthew Jones
e221097a37 Use smart_str instead of .encode on passwords
We originally tried to prune these .encode() calls out of the tree in
favor of smart_str but we must have missed this one.   This allows
migration 0066 to work if utf-8 characters are used in the password
2015-08-13 16:55:39 -04:00
Joe Fiorini
992c74133e Merge pull request #375 from joefiorini/2.3--fixCredentialsUserLookup
Only assign name property if response has value
2015-08-13 15:56:19 -04:00