12630 Commits

Author SHA1 Message Date
John Mitchell
8f5253014b update about modal to be monospace and have core version 2017-03-07 16:48:49 -05:00
jaredevantabor
6e586282f5 making survey-maker title 75% instead of 50% 2017-03-07 16:48:49 -05:00
jaredevantabor
1ee7f2969f fixing title styling for survey maker and survey taker for long titles 2017-03-07 16:48:49 -05:00
jaredevantabor
ba628893d1 styling to support long job titles on job results' stdout panel 2017-03-07 16:48:49 -05:00
Chris Meyers
4005cf927e copy existing env before making a safe env
* We should not modify the original env because it's what is going to be
passed to the Ansible process. This will contain all of the passwords,
unobscured. The safe env is what will get saved into the model.
2017-03-07 16:48:48 -05:00
Michael Abashian
b5cfea2ed9 Removed default search params for searching stdout. searching stdout will now be supported by the basic search= syntax. 2017-03-07 16:48:48 -05:00
Chris Meyers
1fc40d38c7 jobs/<id>/job_events?search= searches stdout field 2017-03-07 16:48:48 -05:00
AlanCoding
0046421f05 set log formatter message type 2017-03-07 16:48:48 -05:00
Ryan Petrello
ae321536cd fix a regex that doesn't properly strip certain environment variables
see: #5601
2017-03-07 16:48:48 -05:00
Matthew Jones
50ccd1b003 Fix validation error grammar 2017-03-07 16:48:48 -05:00
Ryan Petrello
ed5a01c0cf strip ansible_env from job event callback data
this often contains sensitive details, and the data is already filtered
and stored on the job itself

see: #5601
2017-03-07 16:48:48 -05:00
Matthew Jones
123756468d Bump version for 3.1.2 release 2017-03-07 16:48:48 -05:00
Matthew Jones
95a2ed6336 Updates to insights playbook project syncing based on feedback
* Support "name" if given, else use a more reasonable file name for
  the playbook file
* Fix an issue where we wouldn't populate the playbooks correctly in
  the database
* Force downloading the playbooks every time since we can't tell when
  the file might change
2017-03-07 16:48:48 -05:00
jaredevantabor
7d4544595a support for editing an insights project 2017-03-07 16:48:47 -05:00
jaredevantabor
0ff837449b adding insights support for project add 2017-03-07 16:48:47 -05:00
Matthew Jones
2656e3f3fa Insights project api side integration
* Extend scm credential type to support username and password for
  redhat portal accounts
* Update project update playbook to work with remote insights server
2017-03-07 16:48:44 -05:00
Matthew Jones
b6444d7b86 Merge branch 'release_3.1.1' into stable
* release_3.1.1:
  Filter on reason also when logging in via sso and picking authtoken
2017-03-07 15:58:28 -05:00
Matthew Jones
2c7dd8497b Filter on reason also when logging in via sso and picking authtoken 2017-03-07 13:54:52 -05:00
Matthew Jones
2b2c947ac5 Merge branch 'release_3.1.1' into stable
* release_3.1.1:
  Updating changelog for 3.1.1 release
  Fix an issue where notifications might not always be triggered
  give a default other than None
  Respect the user provided rabbitmq vhost value
  Changes to improve the AMI publish process
  Add unsupported primary pre-flight check
  Removed console
  Fixed bug where typing in scm credential when adding/editing project wouldn't work
  Encode default search param
  update asgi_amqp version
  remove uneeded post commit wrapper
  all job status change websockets events should happen after the job hits the database
  Revert "emit job status over socket after database commit"
  emit job status over socket after database commit
  requeue websocket messages that don't (yet) have an established user
  Force setting the password of the rabbitmq user
  rabbit_mq_password required
  host event stdout changes
  Bump version for 3.1.1 release
2017-03-07 10:29:47 -05:00
Michael Abashian
f3f2be4d01 Merge pull request #5619 from mabashian/filters
Filters organization
2017-03-07 09:11:38 -05:00
Matthew Jones
90a26de180 Fix an issue where notifications might not always be triggered
In the case where a notification template were assigned to "failed"
events but not "success" or "any" events.
2017-03-06 15:41:43 -05:00
Michael Abashian
506fae0b9c First pass at unit tests for the filters in shared/filters 2017-03-03 11:50:40 -05:00
Jared Tabor
795b71082d Merge pull request #5618 from jaredevantabor/upgrade-cookieStore
updating $cookieStore to $cookie
2017-03-02 14:07:42 -08:00
Michael Abashian
4dfe85af7f Filters organization 2017-03-02 17:00:04 -05:00
jaredevantabor
a2a0a3194f updating $cookieStore to $cookie
b/c it was deprecated in Angular 1.4
2017-03-02 13:10:19 -08:00
Michael Abashian
a4e60b711f Merge pull request #5610 from mabashian/shared-appjs
Import shared modules in shared/main.js rather than app.js
2017-03-02 15:49:12 -05:00
Chris Meyers
a2320c5b5e Merge pull request #5614 from chrismeyersfsu/fix-5613
give a default other than None
2017-03-02 14:25:12 -05:00
Chris Meyers
54bcdccdab give a default other than None
1. If the setting isn't in the database, then the specified default is
returned.
2. If the setting IS in the database, then the 'value' field, from the
database, is returned; Unless, the value is null in the database, then
the defined default is returned.
* Take case 1. If the default=None then an AttributeError is raised
* Thus, by setting default='', in case 1. We don't get an AttributeError
because '' will be returned.
* Also note that we don't allow_null=True because then the database
entry could be None. Accessing the setting would raise an AttributeError
in this case. Further, since we set default='' it doesn't matter if null
is in the database.

TL;DR set default=<something_other_than_None>
2017-03-02 13:36:48 -05:00
Michael Abashian
956beba290 Import shared modules in shared/main.js rather than app.js 2017-03-02 10:51:15 -05:00
Michael Abashian
0d2f16d34d Merge branch 'mabashian-modularize-helpers-utilities' into devel 2017-03-02 10:23:32 -05: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
f174afb6df Import variables, parse, loadconfig in the correct place 2017-03-01 16:43:28 -05:00
Michael Abashian
999c3dca08 Merge pull request #5602 from mabashian/5600-project-scm-cred
Typing in scm credential when add/edit project fix
2017-03-01 16:30:11 -05:00
Jared Tabor
c839bb67d0 Merge pull request #5594 from jaredevantabor/decouple-jobDetails-jobResults
RIP Old Job Details Page
2017-03-01 13:14:21 -08:00
jaredevantabor
7f16036171 fixing merge conflicts 2017-03-01 12:56:30 -08:00
jaredevantabor
66352ce5c9 removing last reference to job detail of any kind 2017-03-01 12:54:30 -08:00
jaredevantabor
dc5716f0ea changing jobDetail to jobResults throughout the app 2017-03-01 12:54:30 -08:00
jaredevantabor
daa3746ef7 removing helpers/JobDetail.js 2017-03-01 12:54:30 -08:00
jaredevantabor
14d9eb9277 removing some old stale code from host event stdout after decoupling job-results from job-details 2017-03-01 12:53:20 -08:00
jaredevantabor
edaf3e1f25 removing old job-details folder 2017-03-01 12:53:20 -08:00
jaredevantabor
5c22cb1f69 moving some functions from JobDetailService to jobResultsService
in order to decouple the old job details from the new job results so we can
remove the job detail files at some point
2017-03-01 12:52:25 -08:00
James Laska
59b08cfbaf Merge pull request #5604 from jlaska/ami_playbook_changes
Playbook changes to improve AMI publishing
2017-03-01 14:59:43 -05:00
James Laska
6d3c37b1ef Merge pull request #5598 from jlaska/preflight_old_ha_inventory
Add unsupported primary pre-flight check
2017-03-01 14:51:02 -05:00
Michael Abashian
6604a36bc9 Merge pull request #5599 from mabashian/cleanup-widgets
Cleanup widgets
2017-03-01 14:25:32 -05:00
Michael Abashian
43c5c13311 Merge pull request #5595 from mabashian/5581-encode-default-search
Encode default search param
2017-03-01 14:24:16 -05:00
Michael Abashian
2697fcdbc3 Removed console 2017-03-01 14:14:08 -05:00
Michael Abashian
2610009b56 Fixed bug where typing in scm credential when adding/editing project wouldn't work 2017-03-01 14:12:03 -05:00
jlmitch5
2b838a3978 Merge pull request #5592 from jlmitch5/removeOldSearchComments
remove old search comments
2017-03-01 14:03:16 -05:00
John Mitchell
45620f35a3 fix jshint error 2017-03-01 13:50:02 -05:00
John Mitchell
55b74ddd23 fix refresh and refreshJobs functions 2017-03-01 12:46:39 -05:00