Changeset 2674209
- Timestamp:
- 02/07/2022 11:36:10 AM (4 years ago)
- Location:
- vuefront
- Files:
-
- 491 added
- 10 edited
-
tags/2.1.2 (added)
-
tags/2.1.2/.gitignore (added)
-
tags/2.1.2/README.md (added)
-
tags/2.1.2/languages (added)
-
tags/2.1.2/languages/d_vuefront-ru_RU.mo (added)
-
tags/2.1.2/languages/d_vuefront-ru_RU.po (added)
-
tags/2.1.2/mapping.json (added)
-
tags/2.1.2/model (added)
-
tags/2.1.2/model/blog (added)
-
tags/2.1.2/model/blog/category.php (added)
-
tags/2.1.2/model/blog/post.php (added)
-
tags/2.1.2/model/common (added)
-
tags/2.1.2/model/common/customer.php (added)
-
tags/2.1.2/model/common/page.php (added)
-
tags/2.1.2/model/common/seo.php (added)
-
tags/2.1.2/model/common/token.php (added)
-
tags/2.1.2/model/common/vuefront.php (added)
-
tags/2.1.2/model/startup (added)
-
tags/2.1.2/model/startup/startup.php (added)
-
tags/2.1.2/model/store (added)
-
tags/2.1.2/model/store/cart.php (added)
-
tags/2.1.2/model/store/category.php (added)
-
tags/2.1.2/model/store/checkout.php (added)
-
tags/2.1.2/model/store/compare.php (added)
-
tags/2.1.2/model/store/manufacturer.php (added)
-
tags/2.1.2/model/store/option.php (added)
-
tags/2.1.2/model/store/product.php (added)
-
tags/2.1.2/model/store/wishlist.php (added)
-
tags/2.1.2/plugin.php (added)
-
tags/2.1.2/readme.txt (added)
-
tags/2.1.2/resolver (added)
-
tags/2.1.2/resolver/blog (added)
-
tags/2.1.2/resolver/blog/category.php (added)
-
tags/2.1.2/resolver/blog/post.php (added)
-
tags/2.1.2/resolver/blog/review.php (added)
-
tags/2.1.2/resolver/common (added)
-
tags/2.1.2/resolver/common/account.php (added)
-
tags/2.1.2/resolver/common/contact.php (added)
-
tags/2.1.2/resolver/common/country.php (added)
-
tags/2.1.2/resolver/common/file.php (added)
-
tags/2.1.2/resolver/common/home.php (added)
-
tags/2.1.2/resolver/common/language.php (added)
-
tags/2.1.2/resolver/common/page.php (added)
-
tags/2.1.2/resolver/common/token.php (added)
-
tags/2.1.2/resolver/common/zone.php (added)
-
tags/2.1.2/resolver/startup (added)
-
tags/2.1.2/resolver/startup/startup.php (added)
-
tags/2.1.2/resolver/store (added)
-
tags/2.1.2/resolver/store/cart.php (added)
-
tags/2.1.2/resolver/store/category.php (added)
-
tags/2.1.2/resolver/store/checkout.php (added)
-
tags/2.1.2/resolver/store/compare.php (added)
-
tags/2.1.2/resolver/store/currency.php (added)
-
tags/2.1.2/resolver/store/manufacturer.php (added)
-
tags/2.1.2/resolver/store/option.php (added)
-
tags/2.1.2/resolver/store/product.php (added)
-
tags/2.1.2/resolver/store/review.php (added)
-
tags/2.1.2/resolver/store/wishlist.php (added)
-
tags/2.1.2/schema.graphql (added)
-
tags/2.1.2/schemaAdmin.graphql (added)
-
tags/2.1.2/system (added)
-
tags/2.1.2/system/composer.json (added)
-
tags/2.1.2/system/composer.lock (added)
-
tags/2.1.2/system/engine (added)
-
tags/2.1.2/system/engine/action.php (added)
-
tags/2.1.2/system/engine/loader.php (added)
-
tags/2.1.2/system/engine/model.php (added)
-
tags/2.1.2/system/engine/proxy.php (added)
-
tags/2.1.2/system/engine/registry.php (added)
-
tags/2.1.2/system/engine/resolver.php (added)
-
tags/2.1.2/system/helpers (added)
-
tags/2.1.2/system/helpers/MySafeException.php (added)
-
tags/2.1.2/system/library (added)
-
tags/2.1.2/system/library/currency.php (added)
-
tags/2.1.2/system/library/template (added)
-
tags/2.1.2/system/library/template/template.php (added)
-
tags/2.1.2/system/startup.php (added)
-
tags/2.1.2/system/vendor (added)
-
tags/2.1.2/system/vendor/autoload.php (added)
-
tags/2.1.2/system/vendor/composer (added)
-
tags/2.1.2/system/vendor/composer/ClassLoader.php (added)
-
tags/2.1.2/system/vendor/composer/LICENSE (added)
-
tags/2.1.2/system/vendor/composer/autoload_classmap.php (added)
-
tags/2.1.2/system/vendor/composer/autoload_files.php (added)
-
tags/2.1.2/system/vendor/composer/autoload_namespaces.php (added)
-
tags/2.1.2/system/vendor/composer/autoload_psr4.php (added)
-
tags/2.1.2/system/vendor/composer/autoload_real.php (added)
-
tags/2.1.2/system/vendor/composer/autoload_static.php (added)
-
tags/2.1.2/system/vendor/composer/installed.json (added)
-
tags/2.1.2/system/vendor/firebase (added)
-
tags/2.1.2/system/vendor/firebase/php-jwt (added)
-
tags/2.1.2/system/vendor/firebase/php-jwt/LICENSE (added)
-
tags/2.1.2/system/vendor/firebase/php-jwt/README.md (added)
-
tags/2.1.2/system/vendor/firebase/php-jwt/composer.json (added)
-
tags/2.1.2/system/vendor/firebase/php-jwt/src (added)
-
tags/2.1.2/system/vendor/firebase/php-jwt/src/BeforeValidException.php (added)
-
tags/2.1.2/system/vendor/firebase/php-jwt/src/ExpiredException.php (added)
-
tags/2.1.2/system/vendor/firebase/php-jwt/src/JWT.php (added)
-
tags/2.1.2/system/vendor/firebase/php-jwt/src/SignatureInvalidException.php (added)
-
tags/2.1.2/system/vendor/webonyx (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/.gitattributes (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/.gitignore (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/.travis.yml (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/CHANGELOG.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/CONTRIBUTING.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/LICENSE (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/README.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/UPGRADE.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/benchmarks (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/benchmarks/HugeSchemaBench.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/benchmarks/LexerBench.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/benchmarks/StarWarsBench.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/benchmarks/Utils (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/benchmarks/Utils/QueryGenerator.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/benchmarks/Utils/SchemaGenerator.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/composer.json (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/best-practices.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/complementary-tools.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/concepts.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/data-fetching.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/error-handling.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/executing-queries.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/getting-started.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/how-it-works.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/index.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/reference.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/security.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/type-system (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/type-system/directives.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/type-system/enum-types.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/type-system/index.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/type-system/input-types.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/type-system/interfaces.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/type-system/lists-and-nonnulls.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/type-system/object-types.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/type-system/scalar-types.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/type-system/schema.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/type-system/type-language.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/docs/type-system/unions.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/00-hello-world (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/00-hello-world/README.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/00-hello-world/graphql.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/AppContext.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Data (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Data/Comment.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Data/DataSource.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Data/Image.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Data/Story.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Data/User.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Type (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Type/CommentType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Type/Enum (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Type/Enum/ContentFormatEnum.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Type/Enum/ImageSizeEnumType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Type/Field (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Type/Field/HtmlField.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Type/ImageType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Type/NodeType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Type/QueryType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Type/Scalar (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Type/Scalar/EmailType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Type/Scalar/UrlType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Type/SearchResultType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Type/StoryType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Type/UserType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/Blog/Types.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/README.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/01-blog/graphql.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/02-shorthand (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/02-shorthand/README.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/02-shorthand/graphql.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/02-shorthand/rootvalue.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/02-shorthand/schema.graphqls (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/03-server (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/03-server/README.md (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/examples/03-server/graphql.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/mkdocs.yml (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/phpbench.json (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/phpunit.xml.dist (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Deferred.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Error (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Error.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Error/ClientAware.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Error/Debug.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Error/Error.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Error/FormattedError.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Error/InvariantViolation.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Error/SyntaxError.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Error/UserError.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Error/Warning.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Executor (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Executor/ExecutionContext.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Executor/ExecutionResult.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Executor/Executor.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Executor/Promise (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Executor/Promise/Adapter (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Executor/Promise/Adapter/ReactPromiseAdapter.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Executor/Promise/Adapter/SyncPromise.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Executor/Promise/Adapter/SyncPromiseAdapter.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Executor/Promise/Promise.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Executor/Promise/PromiseAdapter.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Executor/Values.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/GraphQL.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/ArgumentNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/BooleanValueNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/DefinitionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/DirectiveDefinitionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/DirectiveNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/DocumentNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/EnumTypeDefinitionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/EnumValueDefinitionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/EnumValueNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/FieldDefinitionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/FieldNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/FloatValueNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/FragmentDefinitionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/FragmentSpreadNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/HasSelectionSet.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/InlineFragmentNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/InputObjectTypeDefinitionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/InputValueDefinitionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/IntValueNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/InterfaceTypeDefinitionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/ListTypeNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/ListValueNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/Location.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/NameNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/NamedTypeNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/Node.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/NodeKind.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/NodeList.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/NonNullTypeNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/NullValueNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/ObjectFieldNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/ObjectTypeDefinitionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/ObjectValueNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/OperationDefinitionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/OperationTypeDefinitionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/ScalarTypeDefinitionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/SchemaDefinitionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/SelectionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/SelectionSetNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/StringValueNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/TypeDefinitionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/TypeExtensionDefinitionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/TypeNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/TypeSystemDefinitionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/UnionTypeDefinitionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/ValueNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/VariableDefinitionNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/AST/VariableNode.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/Lexer.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/Parser.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/Printer.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/Source.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/SourceLocation.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/Token.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Language/Visitor.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Schema.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Server (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Server.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Server/Helper.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Server/OperationParams.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Server/RequestError.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Server/ServerConfig.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Server/StandardServer.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/AbstractType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/BooleanType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/CompositeType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/Config.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/CustomScalarType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/Directive.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/DirectiveLocation.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/EnumType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/EnumValueDefinition.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/FieldArgument.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/FieldDefinition.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/FloatType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/IDType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/InputObjectField.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/InputObjectType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/InputType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/IntType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/InterfaceType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/LeafType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/ListOfType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/NonNull.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/ObjectType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/OutputType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/ResolveInfo.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/ScalarType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/StringType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/Type.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/UnionType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/UnmodifiedType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Definition/WrappingType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/EagerResolution.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Introspection.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/LazyResolution.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Resolution.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/Schema.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Type/SchemaConfig.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Utils (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Utils.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Utils/AST.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Utils/BuildSchema.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Utils/FindBreakingChanges.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Utils/MixedStore.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Utils/PairSet.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Utils/SchemaPrinter.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Utils/TypeComparators.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Utils/TypeInfo.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Utils/Utils.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/DocumentValidator.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/AbstractQuerySecurity.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/AbstractValidationRule.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/ArgumentsOfCorrectType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/CustomValidationRule.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/DefaultValuesOfCorrectType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/DisableIntrospection.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/FieldsOnCorrectType.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/FragmentsOnCompositeTypes.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/KnownArgumentNames.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/KnownDirectives.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/KnownFragmentNames.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/KnownTypeNames.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/LoneAnonymousOperation.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/NoFragmentCycles.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/NoUndefinedVariables.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/NoUnusedFragments.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/NoUnusedVariables.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/OverlappingFieldsCanBeMerged.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/PossibleFragmentSpreads.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/ProvidedNonNullArguments.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/QueryComplexity.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/QueryDepth.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/ScalarLeafs.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/UniqueArgumentNames.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/UniqueDirectivesPerLocation.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/UniqueFragmentNames.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/UniqueInputFieldNames.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/UniqueOperationNames.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/UniqueVariableNames.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/VariablesAreInputTypes.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/Rules/VariablesInAllowedPosition.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/Validator/ValidationContext.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/src/deprecated.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/ErrorTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/AbstractPromiseTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/AbstractTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/DeferredFieldsTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/DirectivesTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/ExecutionResultTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/ExecutorLazySchemaTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/ExecutorSchemaTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/ExecutorTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/LazyInterfaceTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/ListsTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/MutationsTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/NonNullTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/Promise (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/Promise/ReactPromiseAdapterTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/Promise/SyncPromiseAdapterTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/Promise/SyncPromiseTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/ResolveTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/TestClasses.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/UnionInterfaceTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/ValuesTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Executor/VariablesTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Language (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Language/LexerTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Language/ParserTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Language/PrinterTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Language/SchemaParserTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Language/SchemaPrinterTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Language/SerializationTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Language/TestUtils.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Language/TokenTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Language/VisitorTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Language/kitchen-sink-noloc.ast (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Language/kitchen-sink.ast (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Language/kitchen-sink.graphql (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Language/schema-kitchen-sink.graphql (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Server (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Server/Psr7 (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Server/Psr7/PsrRequestStub.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Server/Psr7/PsrResponseStub.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Server/Psr7/PsrStreamStub.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Server/PsrResponseTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Server/QueryExecutionTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Server/RequestParsingTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Server/RequestValidationTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Server/ServerConfigTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Server/StandardServerTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Server/TestCase.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/ServerTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/StarWarsData.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/StarWarsIntrospectionTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/StarWarsQueryTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/StarWarsSchema.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/StarWarsValidationTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Type (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Type/ConfigTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Type/DefinitionTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Type/EnumTypeTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Type/IntrospectionTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Type/ObjectIdStub.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Type/ResolutionTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Type/ResolveInfoTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Type/ScalarSerializationTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Type/TestClasses.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Type/TypeLoaderTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Type/ValidationTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Utils (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Utils/AstFromValueTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Utils/BuildSchemaTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Utils/ExtractTypesTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Utils/FindBreakingChangesTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Utils/IsValidPHPValueTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Utils/MixedStoreTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Utils/SchemaPrinterTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Utils/ValueFromAstTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/UtilsTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/AbstractQuerySecurityTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/ArgumentsOfCorrectTypeTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/DefaultValuesOfCorrectTypeTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/DisableIntrospectionTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/FieldsOnCorrectTypeTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/FragmentsOnCompositeTypesTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/KnownArgumentNamesTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/KnownDirectivesTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/KnownFragmentNamesTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/KnownTypeNamesTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/LoneAnonymousOperationTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/NoFragmentCyclesTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/NoUndefinedVariablesTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/NoUnusedFragmentsTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/NoUnusedVariablesTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/OverlappingFieldsCanBeMergedTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/PossibleFragmentSpreadsTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/ProvidedNonNullArgumentsTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/QueryComplexityTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/QueryDepthTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/QuerySecuritySchema.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/ScalarLeafsTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/TestCase.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/UniqueArgumentNamesTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/UniqueDirectivesPerLocationTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/UniqueFragmentNamesTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/UniqueInputFieldNamesTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/UniqueOperationNamesTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/UniqueVariableNamesTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/ValidationTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/VariablesAreInputTypesTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tests/Validator/VariablesInAllowedPositionTest.php (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tools (added)
-
tags/2.1.2/system/vendor/webonyx/graphql-php/tools/gendocs.php (added)
-
tags/2.1.2/view (added)
-
tags/2.1.2/view/image (added)
-
tags/2.1.2/view/image/icon_admin.svg (added)
-
tags/2.1.2/view/image/logo.png (added)
-
tags/2.1.2/view/javascript (added)
-
tags/2.1.2/view/javascript/d_vuefront (added)
-
tags/2.1.2/view/javascript/d_vuefront/aa4db611368acc1c390a.bundle.js (added)
-
tags/2.1.2/view/javascript/d_vuefront/img (added)
-
tags/2.1.2/view/javascript/d_vuefront/img/firstBuild.svg (added)
-
tags/2.1.2/view/javascript/d_vuefront/img/rocket.png (added)
-
tags/2.1.2/view/javascript/d_vuefront/main.aa4db611368acc1c390a.css (added)
-
tags/2.1.2/view/javascript/d_vuefront/manifest.json (added)
-
tags/2.1.2/view/javascript/polyfill.js (added)
-
tags/2.1.2/view/stylesheet (added)
-
tags/2.1.2/view/stylesheet/menu.css (added)
-
tags/2.1.2/view/template (added)
-
tags/2.1.2/view/template/general.tpl (added)
-
tags/2.1.2/view/template/playground.tpl (added)
-
trunk/.gitignore (added)
-
trunk/mapping.json (modified) (3 diffs)
-
trunk/plugin.php (modified) (7 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/resolver/common/account.php (modified) (5 diffs)
-
trunk/resolver/common/home.php (modified) (4 diffs)
-
trunk/resolver/startup/startup.php (modified) (1 diff)
-
trunk/resolver/store/cart.php (modified) (6 diffs)
-
trunk/schema.graphql (modified) (4 diffs)
-
trunk/schemaAdmin.graphql (modified) (1 diff)
-
trunk/system/engine/resolver.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
vuefront/trunk/mapping.json
r2601831 r2674209 24 24 25 25 "updateApp": "common/home/updateApp", 26 "updateSite": "common/home/updateSite", 26 27 27 28 "searchUrl": "common/home/searchUrl", … … 58 59 "updateCart": "store/cart/update", 59 60 "removeCart": "store/cart/remove", 61 "clearCart": "store/cart/clear", 60 62 61 63 "category": "store/category/get", … … 84 86 85 87 "contactSend": "common/contact/send", 86 "contact": "common/contact/get" 88 "contact": "common/contact/get", 89 90 "version": "common/home/version" 87 91 } -
vuefront/trunk/plugin.php
r2640599 r2674209 4 4 * Plugin URI: https://github.com/vuefront/wordpress 5 5 * Description: VueFront CMS Connect App for Wordpress. 6 * Version: 2.1. 16 * Version: 2.1.2 7 7 * Author: VueFront 8 8 * Author URI: http://vuefront.com … … 38 38 add_action('wp_ajax_vf_turn_off', 'VFA_vuefront_admin_action_turn_off'); 39 39 add_action('wp_ajax_vf_information', 'VFA_vuefront_admin_action_vf_information'); 40 register_activation_hook (__FILE__, 'VFA_install'); 41 add_action( 'plugins_loaded', 'VFA_update_db_check' ); 40 register_activation_hook(__FILE__, 'VFA_install'); 41 42 add_action('plugins_loaded', 'VFA_update_db_check'); 42 43 43 44 function VFA_vuefront_admin_styles() … … 74 75 } 75 76 76 function VFA_vuefront_admin_action_settings() { 77 function VFA_vuefront_admin_action_settings() 78 { 77 79 $vfSetting = get_option('vuefront-settings') ? get_option('vuefront-settings') : array(); 78 80 echo json_encode( 79 $vfSetting 80 , JSON_FORCE_OBJECT); 81 82 wp_die(); 83 } 84 85 function VFA_vuefront_admin_action_settings_edit() { 86 $vfSetting = json_decode(stripslashes(html_entity_decode($_POST['setting'], ENT_QUOTES, 'UTF-8')), true); 87 update_option('vuefront-settings', $vfSetting); 88 89 echo json_encode( 90 array('success' => 'success') 91 ); 81 $vfSetting, 82 JSON_FORCE_OBJECT 83 ); 84 85 wp_die(); 86 } 87 88 function VFA_vuefront_admin_action_settings_edit() 89 { 90 $vfSetting = json_decode(stripslashes(html_entity_decode($_POST['setting'], ENT_QUOTES, 'UTF-8')), true); 91 update_option('vuefront-settings', $vfSetting); 92 93 echo json_encode( 94 array('success' => 'success') 95 ); 92 96 93 wp_die();97 wp_die(); 94 98 } 95 99 … … 153 157 } 154 158 155 function VFA_install () { 156 global $wpdb; 157 158 $table_name = $wpdb->prefix . "vuefront_url"; 159 160 $charset_collate = $wpdb->get_charset_collate(); 161 162 $sql = 'CREATE TABLE IF NOT EXISTS `' . $table_name . '` ( 159 function VFA_install() 160 { 161 global $wpdb; 162 163 $table_name = $wpdb->prefix . "vuefront_url"; 164 165 $charset_collate = $wpdb->get_charset_collate(); 166 167 $sql = 'CREATE TABLE IF NOT EXISTS `' . $table_name . '` ( 163 168 `id_url` int(11) unsigned NOT NULL AUTO_INCREMENT, 164 169 `id` varchar( 255 ) NOT NULL, … … 168 173 ) '.$charset_collate; 169 174 170 require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); 171 dbDelta( $sql ); 172 } 173 174 function VFA_update_db_check() { 175 require_once(ABSPATH . 'wp-admin/includes/upgrade.php'); 176 dbDelta($sql); 177 } 178 179 function VFA_update_db_check() 180 { 175 181 global $vfa_db_version; 176 if ( get_site_option( 'vfa_db_version' ) != $vfa_db_version) {182 if (get_site_option('vfa_db_version') != $vfa_db_version) { 177 183 VFA_install(); 178 184 } 179 185 } 180 186 181 function VFA_vuefront_admin_action_apps_edit() { 187 function VFA_vuefront_admin_action_apps_edit() 188 { 182 189 $setting = get_option('vuefront-apps'); 183 190 … … 436 443 437 444 $registry->set('request', $request); 445 $registry->set('response', rest_ensure_response(array())); 438 446 439 447 $output = $registry->get('load')->resolver('startup/startup'); … … 464 472 'callback' => 'VFA_RestApi', 465 473 )); 474 475 register_rest_route('vuefront/v1', '/graphql', array( 476 'methods' => 'GET', 477 'callback' => 'VFA_RestApi', 478 )); 466 479 467 480 register_rest_route('vuefront/v1', '/callback', array( -
vuefront/trunk/readme.txt
r2640599 r2674209 6 6 Tested up to: 5.2.1 7 7 Requires PHP: 5.5.0 8 Stable tag: 2. 1.18 Stable tag: 2.0.0 9 9 License: GPLv2 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 65 65 66 66 == Changelog == 67 = 2.1.1 =68 Redesign admin panel69 70 = 2.1.0 =71 Extended API72 Bug fixes73 74 67 = 2.0.0 = 75 68 Added new admin design with Vuejs -
vuefront/trunk/resolver/common/account.php
r2601831 r2674209 1 1 <?php 2 2 3 class VFA_ResolverCommonAccount extends VFA_Resolver { 4 public function customerList($args) 3 class VFA_ResolverCommonAccount extends VFA_Resolver 4 { 5 public function customerList($args) 5 6 { 6 7 $this->load->model('common/customer'); … … 11 12 'sort' => $args['sort'], 12 13 'order' => $args['order'], 13 'count_total' => true14 'count_total' => true 14 15 ); 15 16 … … 18 19 } 19 20 20 21 $filter_data['role'] = get_option('default_role'); 22 23 $args = wp_parse_args( $filter_data ); 24 25 $user_search = new WP_User_Query( $args ); 26 27 $customer_total = $user_search->get_total(); 28 $results = $user_search->get_results(); 21 $filter_data['role'] = get_option('default_role'); 22 23 $args = wp_parse_args($filter_data); 24 25 $user_search = new WP_User_Query($args); 26 27 $customer_total = $user_search->get_total(); 28 $results = $user_search->get_results(); 29 29 30 30 $customers = array(); 31 31 32 32 foreach ($results as $result) { 33 $customers[] = $this->get($result->ID);33 $customers[] = $this->get($result->ID); 34 34 } 35 35 … … 46 46 } 47 47 48 public function getCustomer($args) { 48 public function getCustomer($args) 49 { 49 50 $this->load->model('common/customer'); 50 51 $customer_info = $this->get($args['id']); … … 54 55 'lastName' => $customer_info['lastName'], 55 56 'email' => $customer_info['email'], 56 ); 57 } 58 public function login( $args ) { 59 60 try { 61 $this->load->model( 'common/token' ); 62 $token_info = $this->model_common_token->getToken( $args ); 63 64 $customer = $this->get($token_info['user_id']); 65 66 $this->load->model('common/vuefront'); 67 $this->model_common_vuefront->pushEvent('login_customer', array( 68 'customer_id' => $token_info['user_id'], 69 'firstname' => $customer['firstName'], 70 'lastname' => $customer['lastName'], 71 'email' => $customer['email'] 72 )); 73 74 return array( 'token' => $token_info['token'], 'customer' => $this->get( $token_info['user_id'] ) ); 75 76 } catch ( \Exception $e ) { 77 throw new \Exception( $e->getMessage() ); 78 } 79 } 80 81 public function logout( $args ) { 82 global $current_user; 83 84 $user = wp_get_current_user(); 85 86 $customer = array( 87 'id' => $user->ID, 88 'email' => $user->user_email, 89 'firstName' => $user->user_firstname, 90 'lastName' => $user->user_lastname 91 ); 92 93 $this->load->model('common/vuefront'); 94 $this->model_common_vuefront->pushEvent('logout_customer', array( 95 'customer_id' => $customer['id'], 96 'firstname' => $customer['firstName'], 97 'lastname' => $customer['lastName'], 98 'email' => $customer['email'] 99 )); 100 wp_logout(); 101 102 return array( 103 'status' => is_user_logged_in() 104 ); 105 } 106 107 public function register( $args ) { 108 $customer = $args['customer']; 109 110 $userdata = array( 111 'user_pass' => $customer['password'], 112 'user_login' => $customer['email'], 113 'user_email' => $customer['email'], 114 'first_name' => $customer['firstName'], 115 'last_name' => $customer['lastName'] 116 ); 117 118 $user_id = wp_insert_user( $userdata ); 119 if ( ! is_wp_error( $user_id ) ) { 120 $this->load->model('common/vuefront'); 121 $this->model_common_vuefront->pushEvent('create_customer', array( 122 'customer_id' => $user_id, 123 'firstname' => $customer['firstName'], 124 'lastname' => $customer['lastName'], 125 'email' => $customer['email'] 126 )); 127 return $this->get( $user_id ); 128 } else { 129 $error = reset( $user_id->errors ); 130 throw new Exception( $error[0] ); 131 } 132 } 133 134 public function edit( $args ) { 135 global $current_user; 136 137 $customer_data = $args['customer']; 138 139 $current_user->first_name = $customer_data['firstName']; 140 $current_user->last_name = $customer_data['lastName']; 141 $current_user->user_email = $customer_data['email']; 142 143 wp_update_user( $current_user ); 144 145 return $this->get( $current_user->ID ); 146 } 147 148 public function editPassword( $args ) { 149 global $current_user; 150 151 return $this->get( $current_user->ID ); 152 } 153 154 public function get( $user_id ) { 155 $user = get_user_by( 'ID', $user_id ); 156 157 return array( 158 'id' => $user->ID, 159 'email' => $user->user_email, 160 'firstName' => $user->first_name, 161 'lastName' => $user->last_name 162 ); 163 } 164 165 public function isLogged( $args ) { 166 $customer = array(); 167 168 if ( is_user_logged_in() ) { 169 $user = wp_get_current_user(); 170 171 $customer = array( 172 'id' => $user->ID, 173 'email' => $user->user_email, 174 'firstName' => $user->user_firstname, 175 'lastName' => $user->user_lastname 176 ); 177 } 178 179 return array( 180 'status' => is_user_logged_in(), 181 'customer' => $customer 182 ); 183 } 184 185 public function address( $args ) { 186 $address = array(); 187 188 global $current_user; 189 190 switch ( $args['id'] ) { 191 case 'billing': 192 $address = array( 193 'id' => 'billing', 194 'firstName' => get_user_meta( $current_user->ID, 'billing_first_name', true ), 195 'lastName' => get_user_meta( $current_user->ID, 'billing_last_name', true ), 196 'company' => get_user_meta( $current_user->ID, 'billing_company', true ), 197 'address1' => get_user_meta( $current_user->ID, 'billing_address_1', true ), 198 'address2' => get_user_meta( $current_user->ID, 'billing_address_2', true ), 199 'zoneId' => '', 200 'zone' => array( 201 'id' => '', 202 'name' => '' 203 ), 204 'country' => $this->load->resolver( 'common/country/get', array( 205 'id' => get_user_meta( $current_user->ID, 'billing_country', true ) 206 ) ), 207 'countryId' => get_user_meta( $current_user->ID, 'billing_country', true ), 208 'city' => get_user_meta( $current_user->ID, 'billing_city', true ), 209 'zipcode' => get_user_meta( $current_user->ID, 'billing_postcode', true ) 210 ); 211 break; 212 case 'shipping': 213 $address = array( 214 'id' => 'shipping', 215 'firstName' => get_user_meta( $current_user->ID, 'shipping_first_name', true ), 216 'lastName' => get_user_meta( $current_user->ID, 'shipping_last_name', true ), 217 'company' => get_user_meta( $current_user->ID, 'shipping_company', true ), 218 'address1' => get_user_meta( $current_user->ID, 'shipping_address_1', true ), 219 'address2' => get_user_meta( $current_user->ID, 'shipping_address_2', true ), 220 'zoneId' => '', 221 'zone' => array( 222 'id' => '', 223 'name' => '' 224 ), 225 'country' => $this->load->resolver( 'common/country/get', array( 226 'id' => get_user_meta( $current_user->ID, 'shipping_country', true ) 227 ) ), 228 'countryId' => get_user_meta( $current_user->ID, 'shipping_country', true ), 229 'city' => get_user_meta( $current_user->ID, 'shipping_city', true ), 230 'zipcode' => get_user_meta( $current_user->ID, 'shipping_postcode', true ) 231 ); 232 break; 233 } 234 235 return $address; 236 } 237 238 public function addressList( $args ) { 239 240 $ids = array( 'billing', 'shipping' ); 241 242 $address = array(); 243 244 foreach ( $ids as $value ) { 245 $address[] = $this->address( array( 'id' => $value ) ); 246 } 247 248 return $address; 249 } 250 251 public function editAddress( $args ) { 252 global $current_user; 253 254 $prefix = $args['id']; 255 256 $data = array( 257 'firstName' => '_first_name', 258 'lastName' => '_last_name', 259 'company' => '_company', 260 'address1' => '_address_1', 261 'address2' => '_address_2', 262 'countryId' => '_country', 263 'city' => '_city', 264 'zipcode' => '_postcode' 265 ); 266 267 foreach ( $data as $key => $value ) { 268 update_user_meta( $current_user->ID, $prefix . $value, $args['address'][ $key ] ); 269 } 270 271 return $this->address( $args ); 272 } 273 274 public function addAddress( $args ) { 275 throw new Exception( 'Adding an address is not possible in Wordpress' ); 276 } 277 278 public function removeAddress( $args ) { 279 throw new Exception( 'Removing an address is not possible in Wordpress' ); 280 } 57 'phone' => get_user_meta($args['id'], 'phone', true) 58 ); 59 } 60 public function login($args) 61 { 62 try { 63 $this->load->model('common/token'); 64 $token_info = $this->model_common_token->getToken($args); 65 66 $customer = $this->get($token_info['user_id']); 67 68 $this->load->model('common/vuefront'); 69 $this->model_common_vuefront->pushEvent('login_customer', array( 70 'customer_id' => $token_info['user_id'], 71 'firstname' => $customer['firstName'], 72 'lastname' => $customer['lastName'], 73 'email' => $customer['email'] 74 )); 75 76 return array( 'token' => $token_info['token'], 'customer' => $this->get($token_info['user_id']) ); 77 } catch (\Exception $e) { 78 throw new \Exception($e->getMessage()); 79 } 80 } 81 82 public function logout($args) 83 { 84 global $current_user; 85 86 $user = wp_get_current_user(); 87 88 $customer = array( 89 'id' => $user->ID, 90 'email' => $user->user_email, 91 'firstName' => $user->user_firstname, 92 'lastName' => $user->user_lastname 93 ); 94 95 $this->load->model('common/vuefront'); 96 $this->model_common_vuefront->pushEvent('logout_customer', array( 97 'customer_id' => $customer['id'], 98 'firstname' => $customer['firstName'], 99 'lastname' => $customer['lastName'], 100 'email' => $customer['email'] 101 )); 102 wp_logout(); 103 104 return array( 105 'status' => is_user_logged_in() 106 ); 107 } 108 109 public function register($args) 110 { 111 $customer = $args['customer']; 112 113 $userdata = array( 114 'user_pass' => $customer['password'], 115 'user_login' => $customer['email'], 116 'user_email' => $customer['email'], 117 'first_name' => $customer['firstName'], 118 'last_name' => $customer['lastName'] 119 ); 120 121 $user_id = wp_insert_user($userdata); 122 if (! is_wp_error($user_id)) { 123 update_user_meta($user_id, 'phone', $customer['phone']); 124 $this->load->model('common/vuefront'); 125 $this->model_common_vuefront->pushEvent('create_customer', array( 126 'customer_id' => $user_id, 127 'firstname' => $customer['firstName'], 128 'lastname' => $customer['lastName'], 129 'email' => $customer['email'] 130 )); 131 return $this->get($user_id); 132 } else { 133 $error = reset($user_id->errors); 134 throw new Exception($error[0]); 135 } 136 } 137 138 public function edit($args) 139 { 140 global $current_user; 141 142 $customer_data = $args['customer']; 143 144 $current_user->first_name = $customer_data['firstName']; 145 $current_user->last_name = $customer_data['lastName']; 146 $current_user->user_email = $customer_data['email']; 147 148 wp_update_user($current_user); 149 150 update_user_meta($current_user->ID, 'phone', $customer_data['phone']); 151 152 return $this->get($current_user->ID); 153 } 154 155 public function editPassword($args) 156 { 157 global $current_user; 158 159 return $this->get($current_user->ID); 160 } 161 162 public function get($user_id) 163 { 164 $user = get_user_by('ID', $user_id); 165 166 return array( 167 'id' => $user->ID, 168 'email' => $user->user_email, 169 'firstName' => $user->first_name, 170 'lastName' => $user->last_name, 171 'phone' => get_user_meta($user_id, 'phone', true) 172 ); 173 } 174 175 public function isLogged($args) 176 { 177 $customer = array(); 178 179 if (is_user_logged_in()) { 180 $user = wp_get_current_user(); 181 182 $customer = array( 183 'id' => $user->ID, 184 'email' => $user->user_email, 185 'firstName' => $user->user_firstname, 186 'lastName' => $user->user_lastname, 187 'phone' => get_user_meta($user->ID, 'phone', true) 188 ); 189 } 190 191 return array( 192 'status' => is_user_logged_in(), 193 'customer' => $customer 194 ); 195 } 196 197 public function address($args) 198 { 199 $address = array(); 200 201 global $current_user; 202 203 switch ($args['id']) { 204 case 'billing': 205 $address = array( 206 'id' => 'billing', 207 'firstName' => get_user_meta($current_user->ID, 'billing_first_name', true), 208 'lastName' => get_user_meta($current_user->ID, 'billing_last_name', true), 209 'company' => get_user_meta($current_user->ID, 'billing_company', true), 210 'address1' => get_user_meta($current_user->ID, 'billing_address_1', true), 211 'address2' => get_user_meta($current_user->ID, 'billing_address_2', true), 212 'zoneId' => '', 213 'zone' => array( 214 'id' => '', 215 'name' => '' 216 ), 217 'country' => $this->load->resolver('common/country/get', array( 218 'id' => get_user_meta($current_user->ID, 'billing_country', true) 219 )), 220 'countryId' => get_user_meta($current_user->ID, 'billing_country', true), 221 'city' => get_user_meta($current_user->ID, 'billing_city', true), 222 'zipcode' => get_user_meta($current_user->ID, 'billing_postcode', true) 223 ); 224 break; 225 case 'shipping': 226 $address = array( 227 'id' => 'shipping', 228 'firstName' => get_user_meta($current_user->ID, 'shipping_first_name', true), 229 'lastName' => get_user_meta($current_user->ID, 'shipping_last_name', true), 230 'company' => get_user_meta($current_user->ID, 'shipping_company', true), 231 'address1' => get_user_meta($current_user->ID, 'shipping_address_1', true), 232 'address2' => get_user_meta($current_user->ID, 'shipping_address_2', true), 233 'zoneId' => '', 234 'zone' => array( 235 'id' => '', 236 'name' => '' 237 ), 238 'country' => $this->load->resolver('common/country/get', array( 239 'id' => get_user_meta($current_user->ID, 'shipping_country', true) 240 )), 241 'countryId' => get_user_meta($current_user->ID, 'shipping_country', true), 242 'city' => get_user_meta($current_user->ID, 'shipping_city', true), 243 'zipcode' => get_user_meta($current_user->ID, 'shipping_postcode', true) 244 ); 245 break; 246 } 247 248 return $address; 249 } 250 251 public function addressList($args) 252 { 253 $ids = array( 'billing', 'shipping' ); 254 255 $address = array(); 256 257 foreach ($ids as $value) { 258 $address[] = $this->address(array( 'id' => $value )); 259 } 260 261 return $address; 262 } 263 264 public function editAddress($args) 265 { 266 global $current_user; 267 268 $prefix = $args['id']; 269 270 $data = array( 271 'firstName' => '_first_name', 272 'lastName' => '_last_name', 273 'company' => '_company', 274 'address1' => '_address_1', 275 'address2' => '_address_2', 276 'countryId' => '_country', 277 'city' => '_city', 278 'zipcode' => '_postcode' 279 ); 280 281 foreach ($data as $key => $value) { 282 update_user_meta($current_user->ID, $prefix . $value, $args['address'][ $key ]); 283 } 284 285 return $this->address($args); 286 } 287 288 public function addAddress($args) 289 { 290 throw new Exception('Adding an address is not possible in Wordpress'); 291 } 292 293 public function removeAddress($args) 294 { 295 throw new Exception('Removing an address is not possible in Wordpress'); 296 } 281 297 } -
vuefront/trunk/resolver/common/home.php
r2601831 r2674209 3 3 class VFA_ResolverCommonHome extends VFA_Resolver 4 4 { 5 public function get() { 5 public function get() 6 { 6 7 return array( 7 8 'meta' => array( … … 13 14 } 14 15 15 public function searchUrl($args) { 16 public function searchUrl($args) 17 { 16 18 $this->load->model('common/seo'); 17 19 … … 29 31 } 30 32 33 public function updateSite($args) 34 { 35 try { 36 $tmpFile = download_url("https://vuefront2019.s3.amazonaws.com/sites/".$args['number']."/vuefront-app.tar"); 37 VFA_vuefront_rmdir(ABSPATH . 'vuefront'); 38 $phar = new PharData($tmpFile); 39 $phar->extractTo(ABSPATH . 'vuefront'); 40 } catch (\Exception $e) { 41 echo $e->getMessage(); 42 } 43 } 44 31 45 public function authProxy($args) 32 46 { 33 47 $this->load->model('common/vuefront'); 34 48 35 if (!is_user_logged_in() ) {49 if (!is_user_logged_in()) { 36 50 return; 37 51 } … … 51 65 return $result['token']; 52 66 } 67 68 public function version() 69 { 70 return "1.0.0"; 71 } 53 72 } -
vuefront/trunk/resolver/startup/startup.php
r2601831 r2674209 8 8 public function index() 9 9 { 10 if ($this->request->get_param('cors')) { 11 if (! empty($_SERVER['HTTP_ORIGIN'])) { 12 header('Access-Control-Allow-Origin: ' . $_SERVER['HTTP_ORIGIN']); 13 } else { 14 header('Access-Control-Allow-Origin: *'); 15 } 16 header('Access-Control-Allow-Methods: POST, OPTIONS'); 17 header('Access-Control-Allow-Credentials: true'); 18 header('Access-Control-Allow-Headers: accept,Referer,content-type,x-forwaded-for,DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,cache-control,Content-Type,Range,Token,token,Cookie,cookie,content-type'); 19 } 20 21 $this->load->model('startup/startup'); 22 $this->load->model('common/vuefront'); 23 24 try { 25 $resolvers = $this->model_startup_startup->getResolvers(); 26 $files = array(VFA_DIR_PLUGIN . 'schema.graphql'); 27 28 if ($this->model_common_vuefront->checkAccess()) { 29 $files[] = VFA_DIR_PLUGIN . 'schemaAdmin.graphql'; 10 if ($this->request->get_method() === 'POST') { 11 if ($this->request->get_param('cors')) { 12 if (! empty($_SERVER['HTTP_ORIGIN'])) { 13 header('Access-Control-Allow-Origin: ' . $_SERVER['HTTP_ORIGIN']); 14 } else { 15 header('Access-Control-Allow-Origin: *'); 16 } 17 header('Access-Control-Allow-Methods: POST, OPTIONS'); 18 header('Access-Control-Allow-Credentials: true'); 19 header('Access-Control-Allow-Headers: accept,Referer,content-type,x-forwaded-for,DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,cache-control,Content-Type,Range,Token,token,Cookie,cookie,content-type'); 30 20 } 31 21 32 $sources = array_map('file_get_contents', $files); 22 $this->load->model('startup/startup'); 23 $this->load->model('common/vuefront'); 33 24 34 $source = $this->model_common_vuefront->mergeSchemas(($sources)); 35 $schema = BuildSchema::build($source); 36 $rawInput = file_get_contents('php://input'); 37 $input = json_decode($rawInput, true); 38 $query = $input['query']; 25 try { 26 $resolvers = $this->model_startup_startup->getResolvers(); 27 $files = array(VFA_DIR_PLUGIN . 'schema.graphql'); 39 28 40 $variableValues = isset($input['variables']) ? $input['variables'] : null; 41 $result = GraphQL::executeQuery($schema, $query, $resolvers, null, $variableValues); 42 } catch (\Exception $e) { 43 $result = [ 29 if ($this->model_common_vuefront->checkAccess()) { 30 $files[] = VFA_DIR_PLUGIN . 'schemaAdmin.graphql'; 31 } 32 33 $sources = array_map('file_get_contents', $files); 34 35 $source = $this->model_common_vuefront->mergeSchemas(($sources)); 36 $schema = BuildSchema::build($source); 37 $rawInput = file_get_contents('php://input'); 38 $input = json_decode($rawInput, true); 39 $query = $input['query']; 40 41 $variableValues = isset($input['variables']) ? $input['variables'] : null; 42 $result = GraphQL::executeQuery($schema, $query, $resolvers, null, $variableValues); 43 } catch (\Exception $e) { 44 $result = [ 44 45 'error' => [ 45 46 'message' => $e->getMessage() 46 47 ] 47 48 ]; 49 } 50 51 $this->response->set_data($result); 52 return $this->response; 53 } else { 54 header('Content-type: text/html'); 55 echo "<html> <head> <title>Simple GraphiQL Example</title> <link href='https://unpkg.com/graphiql/graphiql.min.css' rel='stylesheet'/> </head> <body style='margin: 0;'> <div id='graphiql' style='height: 100vh;'></div><script crossorigin src='https://unpkg.com/react/umd/react.production.min.js' ></script> <script crossorigin src='https://unpkg.com/react-dom/umd/react-dom.production.min.js' ></script> <script crossorigin src='https://unpkg.com/graphiql/graphiql.min.js' ></script> <script>const fetcher=GraphiQL.createFetcher({url: window.location.href}); ReactDOM.render( React.createElement(GraphiQL,{fetcher: fetcher}), document.getElementById('graphiql'), ); </script> </body> </html>"; 56 exit; 48 57 } 49 50 51 return $result;52 58 } 53 59 -
vuefront/trunk/resolver/store/cart.php
r2601831 r2674209 3 3 class VFA_ResolverStoreCart extends VFA_Resolver 4 4 { 5 public function add($args) { 5 public function add($args) 6 { 6 7 $this->load->model('store/product'); 7 8 $this->load->model('store/cart'); … … 15 16 } 16 17 $variation_id = $this->find_matching_product_variation_id($args['id'], $options); 17 if (!$variation_id) {18 if (!$variation_id) { 18 19 throw new \Exception('Please select an option.'); 19 20 } … … 32 33 return $this->get($args); 33 34 } 34 public function update($args) { 35 public function update($args) 36 { 35 37 WC()->cart->set_quantity($args['key'], $args['quantity']); 36 38 39 $this->load->model('store/cart'); 37 40 $this->load->model('common/vuefront'); 38 41 $this->model_common_vuefront->pushEvent('update_cart', array( … … 44 47 return $this->get($args); 45 48 } 46 public function remove($args) { 49 public function remove($args) 50 { 47 51 WC()->cart->remove_cart_item($args['key']); 48 52 53 $this->load->model('store/cart'); 49 54 $this->load->model('common/vuefront'); 50 55 $this->model_common_vuefront->pushEvent('update_cart', array( … … 56 61 return $this->get($args); 57 62 } 58 public function get($args) { 63 public function get($args) 64 { 59 65 $cart = array(); 60 66 $this->load->model('store/product'); … … 82 88 } 83 89 90 public function clear($args) 91 { 92 WC()->cart->empty_cart(); 93 94 $this->load->model('common/vuefront'); 95 $this->model_common_vuefront->pushEvent('update_cart', array( 96 'cart' => $this->model_store_cart->prepareCart(), 97 'customer_id' => '', 98 'guest' => false 99 )); 100 return $this->get($args); 101 } 102 84 103 public function find_matching_product_variation_id($product_id, $attributes) 85 104 { -
vuefront/trunk/schema.graphql
r2601831 r2674209 92 92 lastName: String 93 93 email: String 94 phone: String 94 95 } 95 96 … … 98 99 lastName: String 99 100 email: String 101 phone: String 100 102 password: String 101 103 } … … 485 487 manufacturer(id: String): Manufacturer 486 488 authProxy(app: String): String 489 version: String 487 490 } 488 491 … … 501 504 updateCart(key: String, quantity: Int = 1): Cart 502 505 removeCart(key: String): Cart 506 clearCart: Cart 503 507 addToCompare(id: Int): [Product] 504 508 removeCompare(id: String): [Product] -
vuefront/trunk/schemaAdmin.graphql
r2601831 r2674209 49 49 type RootMutationType { 50 50 updateApp(name: String, settings: InputAppSetting): AppSetting 51 updateSite(number: Int): Boolean 51 52 } -
vuefront/trunk/system/engine/resolver.php
r2601831 r2674209 18 18 * @property VFA_ModelStoreManufacturer $model_store_manufacturer 19 19 * @property WP_REST_Request $request 20 * @property WP_REST_Response $response 20 21 */ 21 abstract class VFA_Resolver { 22 protected $registry; 22 abstract class VFA_Resolver 23 { 24 protected $registry; 23 25 24 public function __construct($registry) { 25 $this->registry = $registry; 26 } 26 public function __construct($registry) 27 { 28 $this->registry = $registry; 29 } 27 30 28 public function __get($key) { 29 return $this->registry->get($key); 30 } 31 public function __get($key) 32 { 33 return $this->registry->get($key); 34 } 31 35 32 public function __set($key, $value) { 33 $this->registry->set($key, $value); 34 } 36 public function __set($key, $value) 37 { 38 $this->registry->set($key, $value); 39 } 35 40 }
Note: See TracChangeset
for help on using the changeset viewer.