11947 Commits

Author SHA1 Message Date
Aaron Tan
b105e2b9b6 Remove unicode marker from filter error message. 2017-03-07 16:48:51 -05:00
Ryan Petrello
255d6afb49 fix a traceback if tower doesn't have LOG_AGGREGATOR_TOWER_UUID set
see: #5527
2017-03-07 16:48:51 -05:00
jaredevantabor
8ff09ec4f5 using "val" instead of scope value 2017-03-07 16:48:51 -05:00
jaredevantabor
2bd5c6b1b1 changing default text to SELET for lookup modals 2017-03-07 16:48:51 -05:00
jaredevantabor
4b888039d4 changing text of BROWSE button when image is already uploaded 2017-03-07 16:48:51 -05:00
Ryan Petrello
ec52e18be8 allow is_system_auditor with AUTH_LDAP_USER_FLAGS_BY_GROUP
see: #4959
2017-03-07 16:48:51 -05:00
jaredevantabor
d506cbf249 fixing workflow results page for long workflow titles 2017-03-07 16:48:50 -05:00
John Mitchell
d97ac8cec6 reorder user and notification template form fields 2017-03-07 16:48:50 -05:00
John Mitchell
ef87d35901 SUIT-ify less and fix bottom padding for about modal 2017-03-07 16:48:50 -05:00
John Mitchell
205e52cbe8 fix jshint error 2017-03-07 16:48:50 -05:00
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
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
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
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
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
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
Michael Abashian
09771927c9 Encode default search param 2017-03-01 10:27:28 -05:00
Wayne Witzel III
87da7d6a93 Merge pull request #5591 from wwitzel3/release_3.1.1
update asgi_amqp version
2017-02-28 16:04:30 -05:00
Jared Tabor
5592d44ec1 Merge pull request #5578 from jaredevantabor/host-event-stdout
host event stdout changes
2017-02-28 12:36:00 -08:00
Wayne Witzel III
9eed328107 update asgi_amqp version 2017-02-28 14:03:52 -05:00
Chris Meyers
9db49d9819 Merge pull request #5586 from chrismeyersfsu/fix-job_start_websocket_race
emit job status over socket after database commit
2017-02-28 13:25:44 -05:00
Chris Meyers
c4fb88c0d9 remove uneeded post commit wrapper
* Since we changed the lower level method to always use post commit
message emit
2017-02-28 13:10:00 -05:00
Chris Meyers
e09497108e all job status change websockets events should happen after the job hits
the database
2017-02-28 12:56:55 -05:00
Chris Meyers
b85361732b Revert "emit job status over socket after database commit"
This reverts commit edefeeacdaf11cf484a4b4893ee9acde5ef85390.
2017-02-28 12:53:59 -05:00
Chris Meyers
7da52c8bef emit job status over socket after database commit
* Wait until the newly created job record hits the database before
telling the websocket clients that the job's status is "pending"
2017-02-28 12:39:55 -05:00
Ryan Petrello
d95b49d3e1 Merge pull request #5579 from ryanpetrello/release_3.1.1
requeue websocket messages that don't (yet) have an established user
2017-02-28 11:20:12 -05:00
Ryan Petrello
45819f6b9a requeue websocket messages that don't (yet) have an established user
There's a race between our `ws_connect` and `ws_receive` methods;
it's possible to fall into a scenario where we're handling a legitimate
message *before* django-channels is able to persist the `user_id` into
the channel session.  This results in a scenario where a user can open
a browser tab and never receive new websocket messages.  In this
scenario, we should just toss the message back into the queue and try
again later (up to a reasonable limit of retries).
2017-02-28 11:12:59 -05:00
Chris Meyers
4271dc23d4 Merge pull request #5580 from chrismeyersfsu/fix-rabbit_mq_password_required
rabbit_mq_password required
2017-02-28 10:39:40 -05:00