Commit Graph

386 Commits

Author SHA1 Message Date
Mardanov Timur Rustemovich
59f73c7f27 fixed typo 2019-01-15 18:18:07 +03:00
Mardanov Timur Rustemovich
8459f7bcc8 fixed define root class 2019-01-15 18:13:18 +03:00
Mardanov Timur Rustemovich
6235b7edc2 converter.py: removed unused fields 2018-12-02 03:02:00 +03:00
Mardanov Timur Rustemovich
e2165c1324 fixed neomodel_filter_fields 2018-12-02 02:48:30 +03:00
Mardanov Timur Rustemovich
17cf3583c9 Updated setup file, fixed djangofilterconnectionfields 2018-12-02 02:21:27 +03:00
Mardanov Timur Rustemovich
850cbf92c2 default type is list 2018-11-29 17:47:42 +03:00
Mardanov Timur Rustemovich
0ff35cdd29 fix typo 2018-11-29 17:42:21 +03:00
Mardanov Timur Rustemovich
57e3e86eb1 fixed parent system 2018-11-29 17:32:55 +03:00
Mardanov Timur Rustemovich
15a6744aea added filtering and parent node support 2018-11-29 16:24:36 +03:00
Mardanov Timur Rustemovich
fca7fa647e make fields not required in neomodel_filters 2018-11-28 17:24:21 +03:00
Mardanov Timur Rustemovich
19d92b4c8b fix 2018-11-28 03:55:19 +03:00
Mardanov Timur Rustemovich
25fc7edee4 reverted 2018-11-28 03:54:25 +03:00
Mardanov Timur Rustemovich
f7525cdb49 fixes 2018-11-27 00:42:36 +03:00
Mardanov Timur Rustemovich
a913ed3c2b fixed resolve connection 2018-11-27 00:34:39 +03:00
Mardanov Timur Rustemovich
2465b1ab20 default connection_on = nodes 2018-11-27 00:26:58 +03:00
Mardanov Timur Rustemovich
ff8043d642 fixes 2018-11-26 23:39:59 +03:00
Mardanov Timur Rustemovich
0e4c57490e removed base class 2018-11-26 23:38:24 +03:00
Mardanov Timur Rustemovich
efcf627c67 converter of filter updated 2018-11-26 23:32:05 +03:00
Mardanov Timur Rustemovich
f7e5d8bb39 added neomodel filter fields 2018-11-26 23:20:10 +03:00
Mardanov Timur Rustemovich
05093d862f trying to fix list inner types 2018-11-22 20:56:48 +03:00
Mardanov Timur Rustemovich
cd67598c0b list fix 2018-11-22 20:54:18 +03:00
Mardanov Timur Rustemovich
307021480e fixed filters 2018-11-21 09:16:36 +03:00
Mardanov Timur Rustemovich
bbb066b97e removed prints 2018-11-21 08:49:09 +03:00
Mardanov Timur Rustemovich
50b41f8e56 filter 2018-11-21 06:11:29 +03:00
Mardanov Timur Rustemovich
03af6a139a fix 2018-11-21 02:30:53 +03:00
Mardanov Timur Rustemovich
9aed86f668 use connection field 2018-11-21 02:27:41 +03:00
Mardanov Timur Rustemovich
21ec388866 try1 2018-11-21 02:05:11 +03:00
Mardanov Timur Rustemovich
25d62a2afa trying to load one relationship 2018-11-21 01:50:45 +03:00
Mardanov Timur Rustemovich
452ceaa591 trying to create One definition 2018-11-21 01:45:52 +03:00
Mardanov Timur Rustemovich
665e64d041 check relationship function 2018-11-21 01:34:50 +03:00
Mardanov Timur Rustemovich
61c67853c3 fixed imports 2018-11-20 12:35:46 +03:00
Mardanov Timur Rustemovich
628ad8e1ef fixed 2018-11-20 12:30:40 +03:00
Mardanov Timur Rustemovich
f544ac6f4f fix 2018-11-20 12:15:35 +03:00
Mardanov Timur Rustemovich
c233330115 fix 2018-11-20 12:14:12 +03:00
Mardanov Timur Rustemovich
890ef28b85 fixed field choices realisation 2018-11-20 12:09:28 +03:00
Mardanov Timur Rustemovich
1ecc760a6b removed print 2018-11-20 05:00:01 +03:00
Mardanov Timur Rustemovich
9d30abb77e fixed 2018-11-20 04:51:53 +03:00
Mardanov Timur Rustemovich
b3d8ed36c0 fix 2018-11-20 04:37:17 +03:00
Mardanov Timur Rustemovich
8df0a44d65 fix 2018-11-20 04:23:54 +03:00
Mardanov Timur Rustemovich
e801fcaa3d test 2018-11-20 04:18:06 +03:00
Mardanov Timur Rustemovich
c434fa9387 fixed converter 2018-11-20 04:09:44 +03:00
Mardanov Timur Rustemovich
d1cefbef17 try to enable fucking definition 2018-11-20 04:07:36 +03:00
Mardanov Timur Rustemovich
0e1ca2fbc0 define init relationships 2018-11-20 03:43:00 +03:00
Mardanov Timur Rustemovich
fc1521b2f0 fixed is_typ_of 2018-11-19 22:51:24 +03:00
Mardanov Timur Rustemovich
65ab452045 fix type 2018-11-19 22:44:22 +03:00
Mardanov Timur Rustemovich
3c16928ed2 fix meta model 2018-11-19 22:27:15 +03:00
Mardanov Timur Rustemovich
8b1d1874ed property kwargs 2018-11-19 22:08:51 +03:00
Mardanov Timur Rustemovich
a65c3c20e9 not related props 2018-11-19 22:02:08 +03:00
Mardanov Timur Rustemovich
0d44cdd51f dev 2018-11-19 21:39:59 +03:00
Mardanov Timur Rustemovich
30deedcb37 dev 2018-11-19 21:37:53 +03:00
Mardanov Timur Rustemovich
1c1e0cce15 support neomodel in metaclass 2018-11-19 21:24:46 +03:00
Mardanov Timur Rustemovich
be2e7111b7 install 2018-11-19 21:03:15 +03:00
Syrus Akbary
f76f38ef30
Merge pull request #512 from kalekseev/schema-to-stdout
Provide a way to dump schema to stdout.
2018-09-09 22:49:53 +02:00
Dan Palmer
2b08e59bea
Revert to default query execution behaviour
The only security risk here is persuading a user to execute a mutation,
which is probably not a big risk. To mitigate this risk and still keep
the same UX (that is so valuable), would require more work than is
proportionate for this PR.
2018-09-09 21:44:30 +01:00
Dan Palmer
040f6aa10e
Document, including whether fields are required 2018-09-09 19:01:00 +01:00
Dan Palmer
e6b21594d7
Add some documentation to DjangoDebug 2018-09-09 18:59:28 +01:00
Konstantin Alekseev
85527e1f94 Provide a way to dump schema to stdout. 2018-09-08 15:34:48 +03:00
Syrus Akbary
f4bbae29df
Updated version to 2.2.0 2018-09-05 23:20:25 +02:00
Syrus Akbary
21bad6105c
Merge pull request #472 from wsantos/master
Exclude id from mutation for create operations
2018-09-05 13:20:38 +02:00
Jay Hale
0314931f12 Removed Django < 1.11 compatibility checks from tests 2018-09-04 13:15:04 -04:00
Jay Hale
f8dff38e29 Remove unnecessary compat utility for Django < 1.11 2018-09-04 13:15:04 -04:00
Jay Hale
d8bdda94df Add back support for django-filter < 2 2018-09-04 13:15:04 -04:00
Jay Hale
dc0c2900d1 Making GrapheneFilterSetMixin compatible with django_filter 2 2018-09-04 13:15:04 -04:00
Dan Palmer
7e8f6dbd4e
Change quotes to improve some syntax highlighting 2018-08-30 20:58:00 +01:00
Dan Palmer
e50e12bc9f
Move GraphiQL's JS into a separate file for ease of CSP 2018-08-30 20:36:26 +01:00
Dan Palmer
24ebc20bf4
Fix comment 2018-08-30 20:32:38 +01:00
Dan Palmer
d1b734f07d
Allow the user to see the query before prompting
This also allows the introspection query through so that the user can
edit with intellisense before being prompted.
2018-08-30 20:31:39 +01:00
Dan Palmer
9a5b3556d3
Special case reloads as allowed if we can 2018-08-30 19:48:38 +01:00
Dan Palmer
0d8f9db3fb
Pass options from the fragment, not the template context 2018-08-30 19:48:21 +01:00
Dan Palmer
3755850c2e
Use the fragment for the URL 2018-08-30 19:47:48 +01:00
Dan Palmer
219005952a
Don't execute on GET for GraphiQL
We can also now return GraphiQL earlier in the request handling.
2018-08-30 19:29:33 +01:00
Waldecir Santos
d4a9c2bb89 Fix tests. 2018-07-22 23:53:58 +01:00
Waldecir Santos
c1bd3c4c15 Exclude id from mutation, useful for create operations. 2018-07-22 23:35:11 +01:00
Syrus Akbary
dc561c68c4 Updated version to 2.1.0 2018-07-19 16:52:24 -07:00
Syrus Akbary
54ef52e1c6 Reformatted files using black 2018-07-19 16:52:24 -07:00
Syrus Akbary
1755948768
Update __init__.py 2018-06-08 11:53:00 -07:00
Syrus Akbary
763665f2f6 Updated version to 2.1rc0 2018-06-05 15:21:11 -07:00
Syrus Akbary
27a7c0e299 Added support for FilePathField 2018-06-05 14:39:51 -07:00
Syrus Akbary
a9d819e1f7 Removed repeated function 2018-06-05 14:24:41 -07:00
Syrus Akbary
10d2f3eea7 Commented the input form class, for now 2018-06-05 14:17:07 -07:00
Syrus Akbary
364d4f8f41 Merge branch 'master' into form_mutations 2018-06-05 13:32:45 -07:00
Syrus Akbary
546a82b7ec Updated time imports 2018-06-05 13:32:32 -07:00
Syrus Akbary
bb6da28008 Merge branch 'master' into form_mutations 2018-06-05 13:31:29 -07:00
Syrus Akbary
a9e5beb9eb Merge branch 'master' into form_mutations
# Conflicts:
#	graphene_django/forms/converter.py
#	graphene_django/forms/tests/test_converter.py
2018-06-05 13:23:39 -07:00
Syrus Akbary
883d1778d5
Merge pull request #336 from urbandove/django2
support Django 2 + in tests
2018-06-05 13:02:09 -07:00
Syrus Akbary
7563045d75
Merge pull request #290 from DouglasConnect/fix-distinct-bug
Fix distinct bug
2018-06-05 12:57:19 -07:00
Syrus Akbary
a65f786ba4 Fixed requirement 2018-06-05 12:31:25 -07:00
Syrus Akbary
33c6fdf5ab Added graphql-core min version to requirements 2018-06-05 01:24:53 -07:00
=
43c0c99136 fix lint error 2018-04-15 00:21:53 -04:00
=
b331319aea Fix merge conflicts 2018-04-15 00:12:49 -04:00
Syrus Akbary
a480a39713
Merge pull request #326 from pizzapanther/drf-serializer-update
DRF Serializer update
2018-03-29 23:22:14 -07:00
Syrus Akbary
70dffa94e7
Merge pull request #212 from maqquettex/fix_cbv_inheritance
Inheritance support for GraphQLView (class attributes)
2018-03-29 23:19:29 -07:00
Syrus Akbary
d2c1e7c87b
Merge pull request #391 from mongkok/test-custom-meta-setdefault
Test DjangoObjectType custom meta .setdefault()
2018-03-29 21:02:35 -07:00
Daniel Bachler
c32340662c Remove print statement 2018-03-28 12:28:58 +02:00
Syrus Akbary
fdb7d5a253
Merge pull request #395 from mbarrientos/drf-list-serializers
Fixes #371 - Support ListSerializer fields in SerializerMutation
2018-03-14 23:31:10 -07:00
Daniel Bachler
34f5978446 Move distinct check code to merge_querysets again 2018-02-28 17:52:27 +01:00
Daniel Bachler
4d41160379 Update resolve method signature to 2.0 style in new test 2018-02-28 17:45:25 +01:00
Daniel Bachler
e05fbcc1b3 Fix failing unit test by handling cases where a connection is resolved involving a query with inner join and distinct that is then filtered and would be combined with a filtered queryset that is not distinct. 2018-02-28 14:41:47 +01:00
Daniel Bachler
23eb8eea80 Add failing test case 2018-02-28 14:41:47 +01:00
eyal0803
e12c329507
Added support for Django 1.8.x
Since I didn't know why the `rel` attribute wasn't there in the first place, maybe it's better to use the `remote_field` only if it's there and leave `rel` as a default (i.e else).
2018-02-23 12:20:37 +02:00