Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow custom mutations through actions #3042

Merged
merged 76 commits into from Feb 13, 2020
Merged

allow custom mutations through actions #3042

merged 76 commits into from Feb 13, 2020

Commits on Oct 15, 2019

  1. basic doc for actions

    0x777 committed Oct 15, 2019
    Copy the full SHA
    b3ac563 View commit details
    Browse the repository at this point in the history
  2. wip docs

    tirumaraiselvan authored and 0x777 committed Oct 15, 2019
    Copy the full SHA
    8946ba7 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    05684e8 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    61072b1 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2019

  1. update docs

    tirumaraiselvan committed Oct 16, 2019
    Copy the full SHA
    04b863c View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2019

  1. metadata import/export

    0x777 committed Oct 17, 2019
    Copy the full SHA
    afb4ac9 View commit details
    Browse the repository at this point in the history
  2. webhook calls are now supported

    0x777 committed Oct 17, 2019
    Copy the full SHA
    a7d72ac View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2019

  1. relationships in sync actions

    0x777 committed Oct 20, 2019
    Copy the full SHA
    ca4fd66 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    4462284 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2019

  1. Copy the full SHA
    e0570a5 View commit details
    Browse the repository at this point in the history
  2. disable -Werr on this branch

    0x777 committed Oct 21, 2019
    Copy the full SHA
    4bc8106 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    c86dcc4 View commit details
    Browse the repository at this point in the history
  4. fix metadata tests

    0x777 committed Oct 21, 2019
    Copy the full SHA
    cb05dd1 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2019

  1. Copy the full SHA
    b925752 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2019

  1. Copy the full SHA
    ea0f8f7 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    a40b68e View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    c33372a View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2019

  1. Copy the full SHA
    1ba45d1 View commit details
    Browse the repository at this point in the history
  2. default to pgjson unless a field is involved in relationships, for ge…

    …nerating definition list
    0x777 committed Oct 30, 2019
    Copy the full SHA
    2559837 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2019

  1. Copy the full SHA
    1c9819a View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2019

  1. Copy the full SHA
    aa02af1 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    0c7b499 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    5a5ad19 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    1f6adac View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2019

  1. Copy the full SHA
    6944f42 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2019

  1. Copy the full SHA
    4e81961 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    483ef36 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2019

  1. allow templating actions wehook URLs with env vars

    Example:-
    {{MY_APP_BASE}}/api1/webhook
    rakeshkky committed Dec 27, 2019
    Copy the full SHA
    7d736c2 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    3fcc908 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2020

  1. Merge branch 'master' into actions

    Resolve Conflicts:
    	server/Makefile
    	server/graphql-engine.cabal
    	server/src-exec/Main.hs
    	server/src-lib/Hasura/GraphQL/Context.hs
    	server/src-lib/Hasura/GraphQL/Execute.hs
    	server/src-lib/Hasura/GraphQL/Resolve.hs
    	server/src-lib/Hasura/GraphQL/Resolve/Context.hs
    	server/src-lib/Hasura/GraphQL/Resolve/Mutation.hs
    	server/src-lib/Hasura/GraphQL/Resolve/Select.hs
    	server/src-lib/Hasura/GraphQL/Resolve/Types.hs
    	server/src-lib/Hasura/GraphQL/Schema.hs
    	server/src-lib/Hasura/GraphQL/Validate/Types.hs
    	server/src-lib/Hasura/RQL/DDL/Metadata.hs
    	server/src-lib/Hasura/RQL/DDL/RemoteSchema.hs
    	server/src-lib/Hasura/RQL/DDL/Schema/Cache.hs
    	server/src-lib/Hasura/RQL/DDL/Schema/Table.hs
    	server/src-lib/Hasura/RQL/DML/Internal.hs
    	server/src-lib/Hasura/RQL/DML/Mutation.hs
    	server/src-lib/Hasura/RQL/DML/Returning.hs
    	server/src-lib/Hasura/RQL/DML/Select.hs
    	server/src-lib/Hasura/RQL/DML/Select/Internal.hs
    	server/src-lib/Hasura/RQL/DML/Select/Types.hs
    	server/src-lib/Hasura/RQL/Types.hs
    	server/src-lib/Hasura/RQL/Types/Catalog.hs
    	server/src-lib/Hasura/RQL/Types/Metadata.hs
    	server/src-lib/Hasura/RQL/Types/SchemaCache.hs
    	server/src-lib/Hasura/SQL/DML.hs
    	server/src-lib/Hasura/SQL/Rewrite.hs
    	server/src-lib/Hasura/SQL/Types.hs
    	server/src-lib/Hasura/Server/Migrate/Version.hs
    	server/src-lib/Hasura/Server/Query.hs
    	server/src-rsr/catalog_metadata.sql
    	server/src-rsr/initialise.sql
    	server/src-rsr/migrations/25_to_26.sql
    	server/stack.yaml
    	server/tests-py/queries/v1/metadata/clear_metadata.yaml
    	server/tests-py/queries/v1/metadata/export_metadata.yaml
    rakeshkky committed Jan 2, 2020
    Copy the full SHA
    f58b887 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    74593f5 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2020

  1. Copy the full SHA
    3a6f444 View commit details
    Browse the repository at this point in the history
  2. allow forwarding client headers by setting forward_client_headers i…

    …n action definition
    
    Catalog changed, migration SQL:
    ALTER TABLE hdb_catalog.hdb_action_log ADD COLUMN request_headers JSONB NOT NULL DEFAULT '[]'::jsonb
    rakeshkky committed Jan 6, 2020
    Copy the full SHA
    a6b5a8c View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2020

  1. Copy the full SHA
    8180674 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    694791b View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2020

  1. support array relationships for custom types

    Now a relationship object will have a compulsory 'type' key whose value
    is either 'array' or 'object'
    rakeshkky committed Jan 8, 2020
    Copy the full SHA
    0865aac View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2020

  1. Copy the full SHA
    d4668bf View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2020

  1. Merge branch 'master' into actions

    Resolve Conflicts:
    	server/Makefile
    	server/graphql-engine.cabal
    	server/src-lib/Hasura/GraphQL/Context.hs
    	server/src-lib/Hasura/GraphQL/Execute.hs
    	server/src-lib/Hasura/GraphQL/Schema.hs
    	server/src-lib/Hasura/RQL/DDL/Headers.hs
    	server/src-lib/Hasura/RQL/DDL/Metadata.hs
    	server/src-lib/Hasura/RQL/DDL/RemoteSchema.hs
    	server/src-lib/Hasura/RQL/DDL/Schema/Cache.hs
    	server/src-lib/Hasura/RQL/DDL/Schema/Table.hs
    	server/src-lib/Hasura/RQL/Types.hs
    	server/src-lib/Hasura/RQL/Types/Catalog.hs
    	server/src-lib/Hasura/RQL/Types/Common.hs
    	server/src-lib/Hasura/RQL/Types/Metadata.hs
    	server/src-lib/Hasura/RQL/Types/Permission.hs
    	server/src-lib/Hasura/RQL/Types/SchemaCache.hs
    	server/src-lib/Hasura/SQL/DML.hs
    	server/src-lib/Hasura/SQL/Types.hs
    	server/src-lib/Hasura/SQL/Value.hs
    	server/src-rsr/migrations/28_to_29.sql
    	server/stack.yaml
    rakeshkky committed Jan 10, 2020
    Copy the full SHA
    9344d08 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2020

  1. Merge branch 'master' into actions

    Resolve Conflicts:
    	server/src-lib/Hasura/GraphQL/Resolve/Types.hs
    	server/src-lib/Hasura/RQL/DDL/Metadata.hs
    	server/src-lib/Hasura/RQL/Types/Common.hs
    	server/src-rsr/hdb_metadata.yaml
    rakeshkky committed Jan 15, 2020
    Copy the full SHA
    f5c8071 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2020

  1. Copy the full SHA
    8323c30 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2020

  1. Copy the full SHA
    596fe2a View commit details
    Browse the repository at this point in the history
  2. use top level primary key inputs for delete_by_pk & account select pe…

    …rmissions for single row mutations
    rakeshkky committed Jan 20, 2020
    Copy the full SHA
    78ab464 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    b2de9c0 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2020

  1. Merge branch 'master' into actions

    Resolve Conflicts:
    	server/Makefile
    	server/src-lib/Hasura/RQL/Types/SchemaCache.hs
    	server/src-rsr/initialise.sql
    	server/src-rsr/migrations/29_to_30.sql
    	server/stack.yaml
    	server/stack.yaml.lock
    rakeshkky committed Jan 21, 2020
    Copy the full SHA
    fb25f8e View commit details
    Browse the repository at this point in the history
  2. remove warnings

    rakeshkky committed Jan 21, 2020
    Copy the full SHA
    116ac5b View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2020

  1. Copy the full SHA
    a2423bf View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    487ee82 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    7368748 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    be07e04 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2020

  1. Copy the full SHA
    4e58372 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into actions

    Resolve Conflicts:
    	server/src-lib/Hasura/GraphQL/Execute.hs
    rakeshkky committed Jan 23, 2020
    Copy the full SHA
    99aab8a View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2020

  1. avoid '_0_root.base' hack & add async result accessible check

    * Async action response is accessible for non admin roles only if
      the request session vars equals to action's
    rakeshkky committed Feb 5, 2020
    Copy the full SHA
    b02474b View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into actions

    Resolve Conflicts:
    	server/src-lib/Hasura/GraphQL/Resolve/Insert.hs
    	server/src-lib/Hasura/GraphQL/Transport/HTTP.hs
    	server/src-lib/Hasura/GraphQL/Transport/WebSocket.hs
    	server/src-lib/Hasura/RQL/DML/Mutation.hs
    	server/src-lib/Hasura/RQL/DML/Select/Internal.hs
    rakeshkky committed Feb 5, 2020
    Copy the full SHA
    1becb1b View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    e5b49c5 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    8234626 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2020

  1. async action mutation returns only the UUID of the action

    The mutation field of async action look like
    
    action_name(arg: SampleInput!): uuid!
    rakeshkky committed Feb 6, 2020
    Copy the full SHA
    7c2be6d View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into actions

    Resolve Conflicts:
    	server/src-lib/Hasura/RQL/DDL/Schema/Cache.hs
    	server/src-lib/Hasura/RQL/DDL/Schema/Cache/Common.hs
    	server/src-rsr/initialise.sql
    	server/src-rsr/migrations/30_to_31.sql
    rakeshkky committed Feb 6, 2020
    Copy the full SHA
    b1fff1c View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    a9ef569 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    ecbd40b View commit details
    Browse the repository at this point in the history
  5. no-op refactor

    rakeshkky committed Feb 6, 2020
    Copy the full SHA
    2e439c2 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    d3ffcef View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2020

  1. Copy the full SHA
    5268b2a View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    baf40ff View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2020

  1. Copy the full SHA
    a0771e0 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2020

  1. Copy the full SHA
    a3e2805 View commit details
    Browse the repository at this point in the history
  2. remove few commented code

    rakeshkky committed Feb 10, 2020
    Copy the full SHA
    5b2de9a View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    06b35e6 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2020

  1. Copy the full SHA
    c96dd6e View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into actions

    Resolve Conflicts:
    	server/src-lib/Hasura/SQL/Types.hs
    rakeshkky committed Feb 11, 2020
    Copy the full SHA
    57f71e8 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    2e92e3a View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2020

  1. Copy the full SHA
    c3557ea View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    20e23a1 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2020

  1. Copy the full SHA
    e32545e View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into actions

    Resolve Conflicts:
    	server/src-lib/Hasura/GraphQL/Resolve/Insert.hs
    	server/src-lib/Hasura/GraphQL/Resolve/Mutation.hs
    	server/src-lib/Hasura/RQL/DML/Insert.hs
    	server/src-lib/Hasura/RQL/DML/Update.hs
    	server/src-lib/Hasura/RQL/Types/SchemaCache.hs
    rakeshkky committed Feb 13, 2020
    Copy the full SHA
    9222cae View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    8a07237 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    12dc26e View commit details
    Browse the repository at this point in the history