Commit Graph

895 Commits

Author SHA1 Message Date
Syrus Akbary
930f084912 Fixed DjangoDebugPlugin. Improved Django views 2015-12-10 22:11:43 -08:00
Syrus Akbary
a161738f3d Merge pull request #65 from graphql-python/features/plugins-autocamelcase
Create plugin structure
2015-12-09 19:52:12 -08:00
Syrus Akbary
64460839be Merge pull request #64 from graphql-python/features/django-debug
Add plugin to debug Django SQL queries in the Query (similar to DjangoDebugToolbar)
2015-12-09 19:48:57 -08:00
Syrus Akbary
c8f4c13822 Improved plugin execution 2015-12-09 19:44:35 -08:00
Syrus Akbary
b3b440f837 Merge branch 'refs/heads/features/plugins-autocamelcase' into features/django-debug 2015-12-09 19:28:43 -08:00
Syrus Akbary
dca435a220 Improved plugin system 2015-12-09 19:26:46 -08:00
Syrus Akbary
dd5b26e6ed Improved debug plugin structure 2015-12-06 16:51:37 -08:00
Syrus Akbary
bd35fcee6c Merge branch 'refs/heads/features/plugins-autocamelcase' into features/django-debug 2015-12-06 16:39:32 -08:00
Syrus Akbary
cd5d9b8eea Improved plugin structure based on @adamcharnock suggestions 2015-12-06 16:34:47 -08:00
Syrus Akbary
730de3f289 Merge branch 'refs/heads/master' into features/plugins-autocamelcase
Conflicts:
	graphene/core/types/argument.py
2015-12-06 16:04:44 -08:00
Syrus Akbary
2724025a5b Improved ScalarTypes code 2015-12-06 15:53:56 -08:00
Syrus Akbary
37a454b831 Renamed BaseType to InstanceType for code clarity 2015-12-06 15:49:54 -08:00
Syrus Akbary
9e1dd8e314 Merge branch 'refs/heads/master' into features/plugins-autocamelcase
Conflicts:
	graphene/core/schema.py
2015-12-06 15:43:57 -08:00
Syrus Akbary
5e708cc919 Improved tests. Improved schema.type getter. Remove duplicated Scalar code 2015-12-06 15:32:31 -08:00
Syrus Akbary
9ea10f562c Fixed lint errors 2015-12-06 14:37:44 -08:00
Syrus Akbary
c9e7f67ff9 Improved logic in GroupNamedType 2015-12-06 14:36:47 -08:00
Syrus Akbary
a153a01f6b Improved debug using plugin structure 2015-12-06 03:59:44 -08:00
Adam Charnock
3d4f593300 DjangoFilterConnectionField now extends ConnectionField, as DjangoConnectionField is now deprecated 2015-12-06 10:38:28 +00:00
Syrus Akbary
2ad5bc203a Merge branch 'refs/heads/features/plugins-autocamelcase' into features/django-debug 2015-12-06 02:37:21 -08:00
Syrus Akbary
12e4e2c006 Added Plugins structure. Added option in schema for auto camel case or not. 2015-12-06 02:35:17 -08:00
Adam Charnock
93e758dc13 Reverting previous commit following comments by @syrusakbary 2015-12-06 10:08:10 +00:00
Syrus Akbary
ec3f292593 Refactored arguments and fields logic 2015-12-06 01:51:03 -08:00
Syrus Akbary
21dffa4aa8 Moved fields to a named group 2015-12-06 01:34:56 -08:00
Syrus Akbary
fae376cbb0 Moved arguments to a named group 2015-12-06 01:01:23 -08:00
Adam Charnock
880807dd2f Replacing django-filter detection with GRAPHENE_ENABLE_FILTERING setting
Also moving GRAPHENE_ORDER_BY_FIELD into settings.py which
centralises use of django settings and their default values
2015-12-05 13:06:44 +00:00
Adam Charnock
0f35f4de8d Correcting definition of 2015-12-05 11:20:48 +00:00
Adam Charnock
66189be4a9 Filtering now available on nodes without defining fields 2015-12-05 11:15:17 +00:00
Adam Charnock
afd7aa8d72 Merge branch 'master' into feature/django 2015-12-05 09:10:38 +00:00
Adam Charnock
bfd43bc995 Flake8 fixes 2015-12-05 09:03:19 +00:00
Adam Charnock
eb665d569d Adding .editorconfig to help enforce whitespace rules
(and to stop me keep adding too many blank lines at the
end of files)
2015-12-05 09:02:15 +00:00
Adam Charnock
1988519536 Fixes to how singledispatch is imported 2015-12-05 09:01:11 +00:00
Syrus Akbary
afdddafb3d Updated version 2015-12-04 19:54:57 -08:00
Syrus Akbary
2f6fb89f23 Fixed List, NonNull accessors as functions instead of properties 2015-12-04 19:51:44 -08:00
Syrus Akbary
ee19445290 Improved queryset getter for use .count instead of len 2015-12-04 19:28:20 -08:00
Adam Charnock
bbbf688449 Renaming order -> order_by (and fixing assert_not_orderable()) 2015-12-04 21:39:55 +00:00
Adam Charnock
f616b597ac Updating form converter method names to make more sense 2015-12-04 18:55:05 +00:00
Adam Charnock
3a23c1f940 Filtering options will now be read from the destination node's Meta data 2015-12-04 18:41:20 +00:00
Adam Charnock
b4b42db73e Updating imports to work when singledispatch is available natively 2015-12-04 17:48:33 +00:00
Adam Charnock
166a143c18 No longer testing on python 3.3 as no supported django versions support it 2015-12-04 17:08:58 +00:00
Adam Charnock
c93492bacb pep8 fixes 2015-12-04 17:03:29 +00:00
Adam Charnock
d9f1df1125 No longer building python 3.3 + django 1.9 2015-12-04 16:58:04 +00:00
Adam Charnock
1877c45f05 Updating django version requirement to Django 1.8 2015-12-04 16:52:43 +00:00
Adam Charnock
993a3751c4 Work on travis excludes 2015-12-04 16:21:43 +00:00
Adam Charnock
4398f6d6bd Removing debug line from travis.yml. Omitting --download-cache seems to fix the issue 2015-12-04 16:19:30 +00:00
Adam Charnock
e8f491c1ff Debugging travis django install 2015-12-04 16:13:45 +00:00
Adam Charnock
1bace349da Updating travis config to build for multiple django versions 2015-12-04 16:00:17 +00:00
Adam Charnock
818b910991 Now supports django 1.9 2015-12-04 15:46:48 +00:00
Adam Charnock
c42d4a763d Removing debug line 2015-12-04 14:10:31 +00:00
Adam Charnock
79e1b1c996 Removing unused imports 2015-12-04 14:10:06 +00:00
Adam Charnock
e7d7fad068 Remove django app loading which is no longer required post merge 2015-12-04 13:58:39 +00:00