Commit Graph

12318 Commits

Author SHA1 Message Date
AlanCoding
29de1056e7 Group V1 serializer fixes from QE feedback
Straightforward bug fixes and edits to be more consistent with
the 3.1 v1 API structure
 - remove `inventory_source` as a field from group
 - add inventory source as a group summary field
 - fix user_capabilities bug for group start permission
 - fix 500 error on /inventory_sources/N/update/
2017-04-17 14:43:17 -04:00
Chris Meyers
880f4a77a4 Merge pull request #6036 from chrismeyersfsu/fix-hosts_v2
run host listing through v1 vs. v2 logic
2017-04-17 12:12:24 -04:00
Chris Meyers
775093294e run host listing through v1 vs. v2 logic
* api/v1/hosts related fields were getting v2 in the related urls. The
context is now included in the serializer instantiation.
2017-04-17 11:43:44 -04:00
Alan Rominger
14a03d2cb5 Merge pull request #6029 from AlanCoding/group_v1
Group serializer special v1 functionality
2017-04-17 11:37:26 -04:00
AlanCoding
7223177684 Group serializer special v1 functionality
Returns a related `inventory_source` and related link for groups
if accessed from /api/v1/, but not for API v2.
Also inserts corresponding fields to inventory source serializer.
Keep migrated manual sources and auto-create in API v1.
2017-04-17 10:30:07 -04:00
Chris Meyers
4b537870b4 Merge pull request #6030 from chrismeyersfsu/fix-6016
add json a=null support and still support a="null"
2017-04-16 21:09:58 -04:00
Chris Meyers
5ff4966526 add json a=null support and still support a="null"
related to #6016
2017-04-13 16:26:35 -04:00
Chris Meyers
f20bf127b4 Merge pull request #6028 from chrismeyersfsu/fix-multiple_and_or
support > 2 sequential and, also or
2017-04-13 13:48:45 -04:00
Chris Meyers
040f9dd545 support > 2 sequential and, also or
* Fixed a bug in the fact search language parser where it would not loop
over all the <and, or> operations. The result, we can support (a=b or
a=c or a=d) also support (a=b and b=b and c=b)
2017-04-13 13:36:38 -04:00
Alan Rominger
4c5222b16b Merge pull request #6007 from AlanCoding/inv_src_changelog
Add removal of inventory_source link to CHANGELOG
2017-04-13 10:58:11 -04:00
Chris Meyers
56442b2364 Merge pull request #6014 from chrismeyersfsu/improvement-graceful_query_fail
400 on invalid host filter query instead of 500
2017-04-13 10:52:24 -04:00
Chris Meyers
23ce5ab9de fix up test 2017-04-13 10:44:28 -04:00
Aaron Tan
250ffca3ea Merge pull request #5920 from jangsutsr/5762_tacacsplus_auth_backend
A working TACACS+ backend and related CTiT settings
2017-04-13 10:42:25 -04:00
Chris Meyers
bd1f8b088f 400 on invalid host filter query instead of 500 2017-04-13 09:40:11 -04:00
Aaron Tan
07198a5ba6 Acceptance Docs. 2017-04-12 16:19:42 -04:00
Aaron Tan
fd4aaa6ca9 Implement tacacs+ auth backend. 2017-04-12 16:19:42 -04:00
Aaron Tan
f2c99eeaf5 Basic tacacs+ CTiT. 2017-04-12 16:19:42 -04:00
Aaron Tan
84c6d41bd4 Merge pull request #6013 from ryanpetrello/tacacs_requirements
add tacacs_plus package as a dependency
2017-04-12 15:44:40 -04:00
Ryan Petrello
9f46b3c704 add tacacs_plus package as a dependency 2017-04-12 15:39:11 -04:00
Chris Meyers
1a2cbaf5e1 flake8 fix 2017-04-12 15:35:42 -04:00
Chris Meyers
a2b37aa7e6 add not logic to json search
* Also fix up single contains [] logic. Values with a single contains
should be wrapped in [] and not, like I thought before, \"\"
2017-04-12 15:11:36 -04:00
Alan Rominger
047672a5b7 Merge pull request #5914 from AlanCoding/ii_tests
Port inventory_import tests to new system
2017-04-12 15:07:56 -04:00
AlanCoding
d77c8ec88e add removal of inventory_source link to CHANGELOG 2017-04-12 11:43:50 -04:00
AlanCoding
0aab8b6713 Port basic inventory_import command tests over to new system 2017-04-12 11:16:35 -04:00
Alan Rominger
3c79e5cfe2 Merge pull request #6003 from AlanCoding/inventory_update_update
Update inventory_update to group-less inventory sources
2017-04-12 10:22:40 -04:00
AlanCoding
a2ffbafea8 Update inventory_update to group-less inventory sources 2017-04-12 10:10:16 -04:00
Greg Considine
037731e3e9 Merge pull request #5999 from gconsidine/uxi/padding-audit
Fix padding/margin related issues throughout
2017-04-12 09:35:46 -04:00
Alan Rominger
b6eac59aa5 Merge pull request #6004 from ansible/AlanCoding-patch-1
Remove async from logging test kwargs
2017-04-12 09:31:37 -04:00
Alan Rominger
f3dd7f7987 Remove async from logging test kwargs 2017-04-12 09:22:50 -04:00
gconsidine
3db3fb28d6 Add padding for list action buttons 2017-04-11 17:07:39 -04:00
Wayne Witzel III
72222bf367 Merge pull request #5974 from wwitzel3/issue-5741
Remove group AutoOneToOne from InventorySource
2017-04-11 15:54:39 -04:00
Wayne Witzel III
7cabe45e63 Create a new 3.2 data migration file and adjust logging. 2017-04-11 15:43:29 -04:00
Wayne Witzel III
91f3e665cb group -> deprecated_group, added migrations, added/removed tests 2017-04-11 14:09:04 -04:00
Wayne Witzel III
7458788562 More updates for InventorySource changes 2017-04-11 14:04:25 -04:00
Wayne Witzel III
c905d98b9e Restore missing facts latest migration 2017-04-11 14:04:25 -04:00
Wayne Witzel III
4b5b56c284 Fixing test fallout from InventorySource model change 2017-04-11 14:04:25 -04:00
Wayne Witzel III
c784c96449 Initial removal of InventorySource.group 2017-04-11 14:04:25 -04:00
gconsidine
810e015ac3 Fix padding/margin related issues throughout 2017-04-11 13:42:09 -04:00
Greg Considine
9747674cb3 Merge pull request #5993 from gconsidine/uxi/general-forms
Fix minor UX/UI form inconsistencies across project
2017-04-11 11:13:26 -04:00
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
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
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