Commit Graph

12447 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
Shane McDonald 6b06e741e0 Update pot files
Steps taken:

$ make docker-compose-test

Create /root/.config/zanata.ini (Obtained from https://translate.engineering.redhat.com/dashboard/settings/client)

Update .pot files:

$ make pot
$ make languages

Push to Zanata:

python tools/scripts/manage_translations.py push --both --lang es
2017-04-10 20:08:34 -04:00
Bill Nottingham 2360f5effe Spanish translation from alberto@oforte.net. 2017-04-10 18:53:37 -04:00
Michael Abashian 9a678c72dc Fixed bug where optional single select survey questions with a default value couldn't be skipped 2017-04-10 17:13:42 -04:00
Matthew Jones b1c839ea62 Refactor service reloading unit tests
Make sure these are consistent with the more flexible utility commands
2017-04-10 15:37:45 -04:00
Matthew Jones ea8b78ca49 Protect cluster nodes after an upgrade
* Modify instance model to container a version number for the node
* Update that version number during the heartbeat
* If during a heartbeat any of the nodes are of a newer version then
  shutdown the current node.

The idea behind this is that if all nodes were upgraded at the same
time then at the moment of the healthcheck they should all be at the
newer version. Otherwise we put the system in a state where it can
receive the upgrade but stay down until that happens. During setup
playbook run the services will be fully restarted.
2017-04-10 15:37:33 -04:00
gconsidine c287c4797e Fix minor UX/UI form inconsistencies across project 2017-04-10 15:12:32 -04:00
Chris Meyers a4fe04cbfa handle unicode and types 2017-04-10 14:57:37 -04:00
Aaron Tan 9b1107c054 Prevent unexpected callback module attribute warning. 2017-04-10 14:40:57 -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
Aaron Tan b0a8e8c332 Update CTiT serializer integer field to handle html cornercase. 2017-04-07 16:53:35 -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
Alan Rominger f0102ef0ff Merge pull request #5978 from AlanCoding/hide_ev_notification
Hide extra_vars in job notifications
2017-04-07 15:33:34 -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 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