12630 Commits

Author SHA1 Message Date
Ryan Petrello
d53d4d8721 Merge pull request #5980 from ryanpetrello/fix-v2-unified-jobs
fix a bug in the v1/v2 API switch
2017-04-07 14:17:53 -04:00
Ryan Petrello
5623f16249 fix a bug in the v1/v2 API switch 2017-04-07 13:58:17 -04:00
Jake McDermott
4fe017d2ec Fix survey button ids (#5975)
Change all references to 'btn' within the relatedButton loop to
the loop variable 'itm' so that survey button ids are no longer
shown as 'job_template_undefined_btn'.
2017-04-07 12:39:13 -04:00
Chris Meyers
5ce4c80821 support json/python types 2017-04-07 12:24:20 -04:00
AlanCoding
3e9bc3b3d4 Hide extra_vars in job notifications 2017-04-07 11:49:03 -04:00
AlanCoding
5078ed077a install bzip2 so makefile targets to build frontend work 2017-04-07 11:24:17 -04:00
AlanCoding
b9c45ed54a Fix bug where API assumed survey choices were list
Applies to both single-select and multi-select type questions.
UI sends choices in the form of text with line breaks
separating the options.
Customer complained about empty string erronously sent by
the UI being passed to playbook, which is a component of this.
2017-04-07 09:03:45 -04:00
Michael Abashian
3e58715bd5 Merge pull request #5971 from gconsidine/uxi/dashboard-graph
Update UX for the dashboard/home view
2017-04-06 15:43:31 -04:00
gconsidine
a6dabae53c Update UX for the dashboard/home view 2017-04-06 15:07:05 -04:00
Greg Considine
ab5aebe1d9 Merge pull request #5916 from gconsidine/evaluate-eslint
Add baseline .eslint files
2017-04-06 14:55:40 -04:00
Matthew Jones
189ea4d7f8 Fix insights related spelling mistake that could cause failure 2017-04-06 10:57:19 -04:00
Matthew Jones
1902bab8be Fix a with_items insights scm reference for newer ansible behavior
Newer ansible versions don't allow with_items to reference undefined
variables so we'll provide a default.

We'll also update some conditionals to deal with naming requirements
changes on insights api endpoints
2017-04-06 10:53:18 -04:00
Michael Abashian
915eccd982 Merge pull request #5958 from mabashian/5945-required-multiple-choice
Fixed single select required survey question bug
2017-04-06 09:51:26 -04:00
Chris Meyers
1936263060 Merge pull request #5955 from chrismeyersfsu/feature-jsonsearch
adds fact recent model
2017-04-05 17:01:19 -04:00
Chris Meyers
ee09bca558 change facts_recent to facts_latest 2017-04-05 16:50:38 -04:00
Greg Considine
bfe502f5fc Merge pull request #5927 from gconsidine/uxi/templates
Uxi/templates
2017-04-05 15:40:22 -04:00
Greg Considine
81dea61ba9 Merge branch 'devel' into uxi/templates 2017-04-05 15:37:49 -04:00
Greg Considine
11ea5d7bab Merge pull request #5949 from gconsidine/fix/inventory-groups
Fix issue preventing inventory groups from loading
2017-04-05 15:30:32 -04:00
Chris Meyers
02795e526c inherit from jsonbfield package not jsonfield
* jsonbfield supports json querying. jsonfield package is still a jsonb
postgres data type, but doesn't support jsonb style querying.
* add undo migration support to GIN index
2017-04-05 13:49:51 -04:00
Michael Abashian
7b5e70a45e Fixed bug where single select multiple choice survey questions that are required leave the form permanently disabled. 2017-04-05 12:37:07 -04:00
Greg Considine
dfc36c7698 Merge pull request #5952 from gconsidine/uxi/configure-tower
Add class to prevent form input overlap
2017-04-05 12:08:52 -04:00
Greg Considine
4276fd8102 Add border to job status badges (#5954)
* Add border to job status badges

* Use defined color variables
2017-04-05 10:15:18 -04:00
Greg Considine
5a824dae48 Merge pull request #5956 from gconsidine/uxi/portal-mode
Update layout, padding, and margins to match UX guidelines
2017-04-05 09:40:32 -04:00
Chris Meyers
f7fb541fe2 add facts recent endpoints
* Hang most recent listing of facts per-host off of /hosts/n/
2017-04-04 17:54:02 -04:00
gconsidine
33330593f7 Update layout, padding, and margins to match UX guidelines 2017-04-04 17:43:13 -04:00
Chris Meyers
f5d7d0bce5 add model fact recent
* Copy of the most recent system tracking fact for each module type.
Utimately, this allows us to GIN index the jsonb object to support
fact searching.
2017-04-04 16:32:30 -04:00
gconsidine
6204d263a4 Add class to prevent form input overlap 2017-04-04 14:46:04 -04:00
Alan Rominger
cc476541a1 Merge pull request #5946 from AlanCoding/work_success_except
Handle error of missing jobs in success callback
2017-04-04 13:54:09 -04:00
Matthew Jones
be7c1ff2e7 Merge pull request #5872 from samdoran/firewall-role-improvements
Improve firewall role so it does not report failures
2017-04-04 13:48:53 -04:00
gconsidine
3f761d52f6 Add checkbox in different position in form generator 2017-04-04 11:42:23 -04:00
gconsidine
fcd899d7bc Fix issue preventing inventory groups from loading
A conditional was in place to check if a URL included the base path,
if so, it was supposed to use the URL as-is, otherwise it should get
the URL by referencing a property in an object containing default
URLs.

The conditional checked only for 'api/v1'. Since we're at v2, the
check failed eventually resulting in a `replace` call on an
undefined value.  I replaced the conditional to pattern match
api/v*/ instead.
2017-04-04 10:29:04 -04:00
Chris Meyers
83e186cb59 Merge pull request #5938 from chrismeyersfsu/feature-jsonsearch
basic fact search grammar
2017-04-04 09:46:55 -04:00
Chris Meyers
a94c8ef1e3 add functional tests for host_filter 2017-04-04 09:13:56 -04:00
AlanCoding
33c1de26b5 handle error of missing jobs in success callback 2017-04-03 21:11:54 -04:00
Chris Meyers
67633b2387 add pyparsing a top level dep and fix other deps
* bump shade
* remove pyrax as a dep
* pin daphne so channels doens't pick up the wrong, too new, version
2017-04-03 16:17:05 -04:00
Chris Meyers
443f14ed85 flake8 is hard 2017-04-03 16:14:43 -04:00
Chris Meyers
80e89b1116 spelling is hard 2017-04-03 15:53:54 -04:00
gconsidine
480772f5bc Remove unneeded attribute 2017-04-03 15:37:49 -04:00
Chris Meyers
6cbdb8d0e6 faster first time parse generator
* Generating the set of valid unicode characters is expensive in terms
of memory storage. Instead, we define the grammer by the negation of
allowed unicode characters. Much faster.
2017-04-03 15:32:21 -04:00
Chris Meyers
a8213661fd basic fact search grammar
* Establish a base grammar for handling json path specification and
value matching. With boolean logic support and parenthesis grouping
i.e. (a.b.c="value") and ((a.b="foo") or (a="bar"))
* generate Q() results for passing to Host.objects.filter()
* Hooked up via /api/v1/hosts?host_filter=...
* DynamicFilterField added to store host filter as string with grammar
parser attached as static methods for later use by DynamicInventory &
continued use by host_filter=...
2017-04-03 15:32:21 -04:00
Greg Considine
e512836580 Merge pull request #5940 from gconsidine/uxi/license
Fix cut off containers in license configuration
2017-04-03 13:29:05 -04:00
Alan Rominger
f3a3a4c1d5 Merge pull request #5941 from AlanCoding/port_not_req
update test to fact that logger port is not required
2017-04-03 12:24:40 -04:00
Shane McDonald
65dd84ed92 Merge pull request #5937 from shanemcd/spec-file-template
Render spec file through Jinja template
2017-04-03 12:12:25 -04:00
AlanCoding
ec21505fea update test to fact that logger port is not required 2017-04-03 11:56:41 -04:00
gconsidine
65c62b6179 Fix cut off containers in license configuration 2017-04-03 11:38:57 -04:00
Shane McDonald
d600706150 Use jinja template for populating version and release in spec file
These macros were intended to pull the version and release from a python file if they werent passed in with --define, but /usr/bin/python is not available at this point in the build process. I'm not sure when or if this ever worked. Perhaps before we were using mock.

This approach also works for our Brew builds, as we cannot specify a macro value at build time.
2017-04-03 10:32:46 -04:00
Shane McDonald
10ddb35b8b Merge branch 'stable' into devel 2017-03-31 23:53:06 -04:00
Shane McDonald
f087dd40e2 Sign all rpms
:shame:
2017-03-31 15:57:16 -04:00
Ryan Petrello
3d378fb0b2 Merge pull request #5929 from ryanpetrello/api_v2
add API versioning for /api/v2/
2017-03-31 13:38:00 -04:00
Matthew Jones
d06bc9df7a updating versions for 3.1.3 release 2017-03-31 12:11:37 -04:00