12278 Commits

Author SHA1 Message Date
Chris Meyers
157ef84612 Merge pull request #5990 from chrismeyersfsu/feature-jsonsearch
host filtering; handle unicode and python types
2017-04-11 09:40:26 -04:00
Chris Meyers
a4fe04cbfa handle unicode and types 2017-04-10 14:57:37 -04:00
jlmitch5
2631e6ab9f Merge pull request #5981 from jlmitch5/colorAudit
3.2 color audit
2017-04-10 10:00:04 -04:00
Shane McDonald
18fc209ef7 Merge pull request #5782 from wenottingham/español
Spanish translation from alberto@oforte.net.
2017-04-10 09:05:46 -04:00
AlanCoding
933bc81dc2 Add bzip2 to Dockerfile yum install line 2017-04-10 08:11:06 -04:00
John Mitchell
9b0911dab8 remove important when possible
fix job type non-disabled checkbox
2017-04-07 18:53:25 -04:00
Alan Rominger
e0d6298460 Merge pull request #5977 from AlanCoding/bzip2
Install bzip2 so makefile targets to build frontend work
2017-04-07 15:36:23 -04:00
John Mitchell
9fcb536844 3.2 color audit 2017-04-07 15:33:08 -04:00
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
5078ed077a install bzip2 so makefile targets to build frontend work 2017-04-07 11:24:17 -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
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
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
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
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
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
1c8bc62e38 Merge branch 'release_3.1.2' into devel
* release_3.1.2: (33 commits)
  updating changelog for 3.1.2
  Add back SRC_ONLY_PKGS
  Fix ubuntu 14 restart service list pt 2
  Make sure the insight playbook fetch doesn't quote user and pass
  Add requirements/vendor to gitignore
  Conditionally install from local python dependencies in spec file
  Remove requirements/vendor on make clean.
  Update brew-srpm target to generate local requirements files
  Get offline pip installs working
  Add clean-dist target
  Navigate back to the jobDetails state when the user clicks outside the host event modal.
  Don't use jinja quote filter on insights username or password
  fix legacy standard out
  Fixed permissions typo
  add test, restore old behavior in api test
  create _survey_element_validation and use it for updating extra_vars
  Do not set the default if the field was not passed in to kwargs_extra_vars
  Remove log aggregator port required mark.
  Modify according to review feedback.
  Host Event json should be read-only
  ...
2017-03-31 10:36:02 -04:00
Matthew Jones
4ff732bc5e Merge branch 'release_3.1.2' into stable
* release_3.1.2: (149 commits)
  updating changelog for 3.1.2
  Add back SRC_ONLY_PKGS
  Fix ubuntu 14 restart service list pt 2
  Make sure the insight playbook fetch doesn't quote user and pass
  Add requirements/vendor to gitignore
  Conditionally install from local python dependencies in spec file
  Remove requirements/vendor on make clean.
  Update brew-srpm target to generate local requirements files
  Get offline pip installs working
  Add clean-dist target
  Navigate back to the jobDetails state when the user clicks outside the host event modal.
  Don't use jinja quote filter on insights username or password
  fix legacy standard out
  Fixed permissions typo
  add test, restore old behavior in api test
  create _survey_element_validation and use it for updating extra_vars
  Do not set the default if the field was not passed in to kwargs_extra_vars
  Remove log aggregator port required mark.
  Modify according to review feedback.
  Host Event json should be read-only
  ...
2017-03-30 22:43:54 -04:00