Commit Graph
12170 Commits
Author SHA1 Message Date
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
Aaron Tan 9b1107c054 Prevent unexpected callback module attribute warning. 2017-04-10 14:40:57 -04:00
Aaron Tan b0a8e8c332 Update CTiT serializer integer field to handle html cornercase. 2017-04-07 16:53:35 -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
AlanCoding 3e9bc3b3d4 Hide extra_vars in job notifications 2017-04-07 11:49:03 -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
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
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
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
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
Matthew Jones d06bc9df7a updating versions for 3.1.3 release 2017-03-31 12:11:37 -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
Shane McDonald f92c17617c Merge pull request #5931 from shanemcd/fix-supervisor-service-name
Fix ubuntu 14 restart service list pt 2
2017-03-30 14:10:42 -04:00
Shane McDonald 5d8e4d0419 Add back SRC_ONLY_PKGS
Ooops.
2017-03-30 13:08:48 -04:00
Matthew Jones eeed969a56 Make sure the insight playbook fetch doesn't quote user and pass 2017-03-29 16:42:15 -04:00
Shane McDonald 8bab0a14ef Add requirements/vendor to gitignore 2017-03-29 14:30:58 -04:00
Shane McDonald 8c7947b1a8 Remove requirements/vendor on make clean. 2017-03-29 14:30:58 -04:00
Shane McDonald d9e65823ad Update brew-srpm target to generate local requirements files
This looks pretty hairy, but essentially it's just re-invoking `pip download` with `--no-deps` so that I can record the name of the local archives that are created.
2017-03-29 14:30:58 -04:00
Shane McDonald 93dda555f1 Get offline pip installs working
I had to pull the git urls out of the main requirements files because in order to install offline (--no-index), we need pip to install from local package archives rather than cloning repo.

The weird `cat` thing going on in the Makefile is because we need to install everything as part of a single `pip install` transaction. Without this, installing only requirements_git.txt will result in dependencies getting unintentionally updated.
2017-03-29 14:30:58 -04:00
Shane McDonald 83919682ea Add clean-dist target 2017-03-29 14:30:58 -04:00
Michael Abashian 64d2d6970b Merge pull request #5921 from mabashian/5895-job-results-modal
Navigate back to the jobDetails state when the user clicks outside the host event modal.
2017-03-29 14:29:19 -04:00
Michael Abashian bfbeef18e6 Navigate back to the jobDetails state when the user clicks outside the host event modal. 2017-03-29 12:04:48 -04:00
jlmitch5 b9531ea42a Merge pull request #5897 from jlmitch5/fixLegacyStdout
Fix legacy stdout
2017-03-28 11:17:35 -04:00
Matthew Jones 536a3b1647 Don't use jinja quote filter on insights username or password
This fixes an issue where a user was trying to use an exclamation mark
in the password. Historically we've used the quote filter but more and
more we're seeing conflicts with special characters
2017-03-27 15:40:43 -04:00
Michael Abashian e5bd641a20 Merge pull request #5896 from mabashian/5894-workflow-permissions
Fixed workflow admin permissions bug
2017-03-27 12:55:27 -04:00
John Mitchell d4955599ad fix legacy standard out 2017-03-27 12:06:54 -04:00
Michael Abashian fd95c1e6e4 Fixed permissions typo 2017-03-27 11:56:08 -04:00
Wayne Witzel III e750f1a01c Merge pull request #5892 from wwitzel3/release_3.1.2
Do not set the default if field was not passed in to kwargs_extra_vars.
2017-03-27 09:50:35 -04:00
Wayne Witzel III 45c3a389d4 add test, restore old behavior in api test 2017-03-27 09:39:21 -04:00
Wayne Witzel III 18eaacf4bb create _survey_element_validation and use it for updating extra_vars 2017-03-24 17:57:52 -04:00
Wayne Witzel III c99d4659da Do not set the default if the field was not passed in to kwargs_extra_vars 2017-03-24 16:59:43 -04:00
Michael Abashian 1cb7fd9171 Merge pull request #5887 from mabashian/5883-job-results-event-json
Host Event json should be read-only
2017-03-24 13:11:38 -04:00
Aaron Tan b6ccb01257 Merge pull request #5888 from jangsutsr/5628_remove_log_aggregator_port_required_mark
Remove log aggregator port required mark
2017-03-24 12:11:42 -04:00
Aaron Tan b421670c10 Remove log aggregator port required mark. 2017-03-24 11:57:56 -04:00
Shane McDonald fd3daa5b21 Merge pull request #5882 from shanemcd/setup-subpackage
Setup subpackage
2017-03-24 11:53:19 -04:00
Aaron Tan 7ba79c1027 Merge pull request #5792 from jangsutsr/5628_smarter_log_aggregator_host_name_generation
Smarter log aggregator host name generation
2017-03-24 11:46:46 -04:00
Aaron Tan 07e7e4cfd0 Modify according to review feedback. 2017-03-24 11:35:45 -04:00
Ryan Petrello d52726592f Merge pull request #5846 from ryanpetrello/fix-5691
property filter `no_log` for item event loops
2017-03-24 11:04:29 -04:00
Michael Abashian c67687acfd Host Event json should be read-only 2017-03-24 10:35:08 -04:00
Shane McDonald 0e2a2d61e2 Create a setup subpackage 2017-03-23 16:46:25 -04:00
Shane McDonald 114340753d Merge pull request #5875 from shanemcd/ui-subpackage
Server and UI subpackages
2017-03-23 16:45:55 -04:00
Michael Abashian 4412a9e034 Merge pull request #5873 from mabashian/5850-job-launch-multi-select
Add validation to the multi-select questions in survey
2017-03-23 14:03:51 -04:00
Michael Abashian 37bfa3c3a8 Add validation to the multi-select questions in survey 2017-03-23 11:24:52 -04:00
Ryan Petrello f9b5b9aa91 property filter no_log for item event loops
see: #5691
2017-03-22 11:15:33 -04:00