Commit Graph

31995 Commits

Author SHA1 Message Date
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
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
gconsidine 89c01475f5 Add display of multi-select options in survey preview 2017-03-30 17:15:16 -04:00
Ryan Petrello 95ea370e5e add API versioning for /api/v2/ 2017-03-30 15:11:12 -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
Bill Nottingham 7dda6106d1 Merge pull request #5910 from wenottingham/fipsing-the-bird
Use sha1 with hmac.new instead of md5
2017-03-30 11:00:30 -04:00
gconsidine 5f5a91a72c Add toggle-able dropdown for workflow key 2017-03-30 10:38:56 -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
gconsidine 7ba47eadca Move "prompt on launch" checkbox to above input 2017-03-29 15:12:34 -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
Greg Considine f5eabe6b16 Add baseline .eslint files 2017-03-28 10:04:44 -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
Bill Nottingham a15b67f76b Use sha1 with hmac.new instead of md5 2017-03-27 14:32:27 -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
Greg Considine 94a7cf0858 Merge pull request #5816 from gconsidine/general-ux-improvements
General UX Improvements
2017-03-27 09:38:17 -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
Alan Rominger d2795c4784 Merge pull request #5434 from AlanCoding/activity_hygiene
avoid multi-field implicit role activity stream entries
2017-03-24 12:26:32 -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