1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 15:21:13 +03:00
Commit Graph

12359 Commits

Author SHA1 Message Date
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
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
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
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