Commit Graph

748 Commits

Author SHA1 Message Date
Karthikeyan Chinnakonda
06f5e4fb77 server: inherited roles for mutations, remote schemas, actions and custom functions
https://github.com/hasura/graphql-engine-mono/pull/1715

GitOrigin-RevId: 4818292cff8c3a5b264968e7032887a1e98b6f79
2021-08-09 10:21:05 +00:00
Rikin Kachhia
1b1e60dba7 docs: add keywords for better search
https://github.com/hasura/graphql-engine-mono/pull/2003

GitOrigin-RevId: 68a5d461c4738a2671b438a009c9df2de471bed9
2021-08-05 16:38:31 +00:00
Rakesh Emmadi
87d81fe802 docs: improve computed field related docs
>

### Description
>
This PR contains doc changes for #1793 and #1697.

### Changelog

- [ ] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.

### Affected components

- [x] Docs

https://github.com/hasura/graphql-engine-mono/pull/1932

GitOrigin-RevId: 1240ec106ab11aafb96f9732b76becd87604a32c
2021-08-05 13:48:37 +00:00
Aishwarya Rao
1adfe29f0e docs: dedicated VPC docs
This PR includes addition of dedicated VPC docs to the existing cloud docs.

https://github.com/hasura/graphql-engine-mono/pull/1809

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Shahidh K Muhammed <4124733+shahidhk@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: fb14aa04fd214fb25d369e176c4cd18db28d7f34
2021-08-05 12:50:01 +00:00
Tirumarai Selvan
553aecb5e5 tag release v2.0.5
GitOrigin-RevId: 8c98e9dba9fa655b5d7503211a5d3f42f641cef5
2021-08-05 07:35:10 +00:00
hasura-bot
29b2404a3f docs: clarify many-to-many foreign key section
GITHUB_PR_NUMBER: 7200
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7200

https://github.com/hasura/graphql-engine-mono/pull/1744

Co-authored-by: Preston Rodeniser <29437011+prodeniser@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: e030299eacabf6df3344773f2d0999a0c67d067c
2021-08-03 14:06:59 +00:00
Karthikeyan Chinnakonda
0a3fd16c35 server: revert the relaxing of unique name constraint in allow-lists
https://github.com/hasura/graphql-engine-mono/pull/1972

GitOrigin-RevId: cb062df7a1ba1c99705f811409e2e4ad42f4b581
2021-08-03 09:23:20 +00:00
David Overton
3e1e0773fe Test customization with update_remote_schema
https://github.com/hasura/graphql-engine-mono/pull/1971

GitOrigin-RevId: 617f15193e1149d08327d3a7eb0b21e11e280561
2021-08-02 05:50:49 +00:00
Rikin Kachhia
b713d9b13f docs: misc fixes
https://github.com/hasura/graphql-engine-mono/pull/1969

GitOrigin-RevId: 755b0954cffc6d14fa04bca590318b8756037b4f
2021-07-31 10:10:52 +00:00
hasura-bot
857d36546b docs: update auth0 integration guide
GITHUB_PR_NUMBER: 6495
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6495

https://github.com/hasura/graphql-engine-mono/pull/415

Co-authored-by: Omer <6780529+omerman@users.noreply.github.com>
GitOrigin-RevId: c06762af65279ac1c72771bac2a7f726cdfb7949
2021-07-30 12:47:44 +00:00
David Overton
1abb1dee69 Remote Schema Customization take 2 using parser tranformations
https://github.com/hasura/graphql-engine-mono/pull/1740

GitOrigin-RevId: e807952058243a97f67cd9969fa434933a08652f
2021-07-30 11:33:59 +00:00
Aishwarya Rao
d415fae122 docs: GitHub integration docs
This PR includes addition of github integrations docs to the existing cloud docs

https://github.com/hasura/graphql-engine-mono/pull/1808

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: vaishnavigvs <85152989+vaishnavigvs@users.noreply.github.com>
GitOrigin-RevId: dfc4a5e02f51a20a0c4e2111987139932eef68f6
2021-07-29 15:47:31 +00:00
Divi
28788f4b0b cli: add VERSION env to pin cli version
https://github.com/hasura/graphql-engine-mono/pull/1845

Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: f12ab6ef5a3aa1ee5181f5ddbf16f7232ef2874e
2021-07-29 09:21:57 +00:00
Naveen Naidu
f49e13c890 server: SQL query tags for GQL operations (closes #400)
https://github.com/hasura/graphql-engine-mono/pull/1393

GitOrigin-RevId: f867c16d8281865dac38c91f7dfcbf5815de898c
2021-07-29 08:30:10 +00:00
Auke Booij
7bead93827 server: remove remnants of query plan caching (fix #1795)
Query plan caching was introduced by - I believe - hasura/graphql-engine#1934 in order to reduce the query response latency. During the development of PDV in hasura/graphql-engine#4111, it was found out that the new architecture (for which query plan caching wasn't implemented) performed comparably to the pre-PDV architecture with caching. Hence, it was decided to leave query plan caching until some day in the future when it was deemed necessary.

Well, we're in the future now, and there still isn't a convincing argument for query plan caching. So the time has come to remove some references to query plan caching from the codebase. For the most part, any code being removed would probably not be very well suited to the post-PDV architecture of query execution, so arguably not much is lost.

Apart from simplifying the code, this PR will contribute towards making the GraphQL schema generation more modular, testable, and easier to profile. I'd like to eventually work towards a situation in which it's easy to generate a GraphQL schema parser *in isolation*, without being connected to a database, and then parse a GraphQL query *in isolation*, without even listening any HTTP port. It is important that both of these operations can be examined in detail, and in isolation, since they are two major performance bottlenecks, as well as phases where many important upcoming features hook into.

Implementation

The following have been removed:
- The entirety of `server/src-lib/Hasura/GraphQL/Execute/Plan.hs`
- The core phases of query parsing and execution no longer have any references to query plan caching. Note that this is not to be confused with query *response* caching, which is not affected by this PR. This includes removal of the types:
- - `Opaque`, which is replaced by a tuple. Note that the old implementation was broken and did not adequately hide the constructors.
- - `QueryReusability` (and the `markNotReusable` method). Notably, the implementation of the `ParseT` monad now consists of two, rather than three, monad transformers.
- Cache-related tests (in `server/src-test/Hasura/CacheBoundedSpec.hs`) have been removed .
- References to query plan caching in the documentation.
- The `planCacheOptions` in the `TenantConfig` type class was removed. However, during parsing, unrecognized fields in the YAML config get ignored, so this does not cause a breaking change. (Confirmed manually, as well as in consultation with @sordina.)
- The metrics no longer send cache hit/miss messages.

There are a few places in which one can still find references to query plan caching:

- We still accept the `--query-plan-cache-size` command-line option for backwards compatibility. The `HASURA_QUERY_PLAN_CACHE_SIZE` environment variable is not read.

https://github.com/hasura/graphql-engine-mono/pull/1815

GitOrigin-RevId: 17d92b254ec093c62a7dfeec478658ede0813eb7
2021-07-27 11:52:43 +00:00
vaishnavigvs
d55777058a docs: update db getting started guides
https://github.com/hasura/graphql-engine-mono/pull/1904

Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 4725d1511a53c912fd173d2a6455076d1fcc31c7
2021-07-26 17:57:40 +00:00
Karthikeyan Chinnakonda
5858752f42 docs: refactor API security docs
https://github.com/hasura/graphql-engine-mono/pull/1902

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tirumarai Selvan <8663570+tirumaraiselvan@users.noreply.github.com>
GitOrigin-RevId: a7b1c17f3aec035f3a2e4d968f10e544f5a50559
2021-07-26 14:10:35 +00:00
vaishnavigvs
b8cd59551f docs: add Citus and BigQuery content
https://github.com/hasura/graphql-engine-mono/pull/1763

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 184be0e675345e5ec02678482097edd9c69ad484
2021-07-26 11:54:41 +00:00
Naveen Naidu
0655eb9183 docs/api-limits: Update 3x security information
https://github.com/hasura/graphql-engine-mono/pull/1873

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 62bfdc6a4cc60be22e0c920601cfd880d9589bc5
2021-07-23 15:27:18 +00:00
Rikin Kachhia
8d3e3cc797 update docker install manifest for simpler PG getting started
https://github.com/hasura/graphql-engine-mono/pull/1839

GitOrigin-RevId: 14a72d881d87b882db57b18a6529ec1315f7f9b7
2021-07-22 13:53:40 +00:00
Jesse
0ab7844efa docs: add cloud references
https://github.com/hasura/graphql-engine-mono/pull/1688

Co-authored-by: Jesse Martin <174035+martincreative@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 7a585cb8473e0c5572a347926e156b6ce6f4d780
2021-07-22 13:24:31 +00:00
Praveen Durairaju
3996eef546 docs: add additional resources for getting started
https://github.com/hasura/graphql-engine-mono/pull/1825

GitOrigin-RevId: 3ca4ae3c217347b5b3ee085ca8ef8683e36072e9
2021-07-22 12:39:40 +00:00
Karthikeyan Chinnakonda
34ccca305d server: relax unique operation name constraint in a query collection
https://github.com/hasura/graphql-engine-mono/pull/1849

GitOrigin-RevId: 56c1737b69511c3f2c4480d22f84828f51d3b543
2021-07-21 12:05:50 +00:00
Karthikeyan Chinnakonda
6bddaa7564 server: inherited roles improvements for select permissions only
https://github.com/hasura/graphql-engine-mono/pull/1539

GitOrigin-RevId: 7444973e9cc7e0598eeb1bd7951ad45dd37ec550
2021-07-16 21:19:58 +00:00
Rakesh Emmadi
df1efdcd27 server/postgres: fix reload sources and remote schemas if they're inconsistent
https://github.com/hasura/graphql-engine-mono/pull/1709

GitOrigin-RevId: c0684380d0e86dd6f28d6c8a0aebeaa210319272
2021-07-13 07:57:21 +00:00
Rakesh Emmadi
a375f8c105 server/postgres: Support scalar computed fields in remote joins
https://github.com/hasura/graphql-engine-mono/pull/1692

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: fcef85910899859f7421cad554c022f8023965ea
2021-07-12 16:04:37 +00:00
vaishnavigvs
779f767369 docs: update faq
https://github.com/hasura/graphql-engine-mono/pull/1691

Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: a0c6599db7a9c89a39aff623602684bd68bb3959
2021-07-01 11:58:01 +00:00
vaishnavigvs
e47d37a2a6 docs: add basic FAQs
https://github.com/hasura/graphql-engine-mono/pull/1633

Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 3a70e2098f433445e5ea5d4f0a888d14c08b0d06
2021-06-23 11:30:45 +00:00
Rikin Kachhia
f7b379f677 docs: update docker guides with 2.0 changes
- update docker guides
- misc improvements

https://github.com/hasura/graphql-engine-mono/pull/1638

GitOrigin-RevId: 061aaa4f0da2752fe063be97ffce162653f23b8d
2021-06-23 11:21:55 +00:00
Rikin Kachhia
6c4dbe093c docs: update getting started for 2.0
https://github.com/hasura/graphql-engine-mono/pull/1624

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 8507e5520d7fb3548899cac2e7dc497567e0282e
2021-06-23 08:10:12 +00:00
vaishnavigvs
f9a107ad56 docs: update sql server api reference
https://github.com/hasura/graphql-engine-mono/pull/1609

Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: a6cae8da4e7d050ce77806ebd9ca6433c2f1241e
2021-06-22 22:42:19 +00:00
Aravind K P
5099ef077b docs: update migrations docs
- add a note about mapping database_url to an environment variable
- update migration file structure pages to reflect new changes.

https://github.com/hasura/graphql-engine-mono/pull/1629

GitOrigin-RevId: 2ca891aa4cacb7528159c8793b9f6ca470e1fa7d
2021-06-22 17:39:09 +00:00
Kali Vara Purushotham Santhati
59679babfa cli: add server flag to migrate delete and modify the docs for resetting migrations
https://github.com/hasura/graphql-engine-mono/pull/1540

Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 8aceb35c583d20b7dc7b16f257e20c83171008a2
2021-06-22 11:16:14 +00:00
Sameer Kolhar
608e4fbb20 server, console, docs: add update_remote_schema API
https://github.com/hasura/graphql-engine-mono/pull/1546

GitOrigin-RevId: 142b0d0e0ffc35b2679c91c411868c45a8b8e221
2021-06-21 17:42:40 +00:00
Rikin Kachhia
835900cf30 docs: add MS SQL server docs (#1568)
* copy pg -> mssql

* .

* .

* Removes features that are not compatible in schema/index.rst

* delete extra files

* fix refs

* update sidebar link

* mssql schema updates

* Optimised images with calibre/image-actions

* schema updates clear

* MSSQL Queries

* removed distinct queries & aggregate nodes

* updated table basics blank api

* Adds a getting started guide for Hasura Cloud and with Docker for SQL
Server

* fix stuff

Co-authored-by: Tanmai Gopal <tanmaig@hasura.io>
Co-authored-by: VaishnaviGVS <vaishnavi@hasura.io>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: d0869ee48e459054c54d3ed3523c32bf4994ddba
2021-06-17 11:47:45 +00:00
Solomon Bothwell
99e7e3b7b4 Implement refresh parameter for Cached Directive
https://github.com/hasura/graphql-engine-mono/pull/1523

Co-authored-by: Phil Freeman <630306+paf31@users.noreply.github.com>
GitOrigin-RevId: f83b73d23db15efdd19a61eca35badc3ff235779
2021-06-17 06:28:45 +00:00
Rikin Kachhia
bf29ab1559 docs: fix links in cloud maintenance mode page
https://github.com/hasura/graphql-engine-mono/pull/1589

GitOrigin-RevId: 69c5ebd495bef259753a706eeceeb93153e07ac4
2021-06-16 13:34:12 +00:00
Rikin Kachhia
d8d62f19e2 docs: add v2 computed field typename breaking change
https://github.com/hasura/graphql-engine-mono/pull/1585

GitOrigin-RevId: 41ae0c657f9d1851d0bce6a009c843b0f903e93b
2021-06-16 09:06:14 +00:00
Rikin Kachhia
8e1c3dfd65 docs: update cli docs
https://github.com/hasura/graphql-engine-mono/pull/1573

GitOrigin-RevId: 6d6047ac24c4fd6abcd49aa5fcb0c3f97168c41d
2021-06-15 12:26:48 +00:00
Rikin Kachhia
90f9806c99 docs: add cloud v2 update guide
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 581f08d36caf95d653fe88ee050b11f657614da4
2021-06-10 17:04:44 +00:00
Shraddha Agrawal
64f8ec18a0 docs: add cloud maintenance mode docs
docs for lux PR [#2308](https://github.com/hasura/lux/pull/2308).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 290482e1d737bda419ee7f514ca27c5d7929a31c
2021-06-09 13:39:53 +00:00
Sameer Kolhar
b83ba51fa3 server: add logs for version and healthz endpoints
GitOrigin-RevId: 9fdd953173643f88a64f44efc345a3a7da061ec1
2021-06-08 14:28:52 +00:00
Sandeep Raj Kumar
f079ff84d0 docs: Subscription tuning
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Tirumarai Selvan <8663570+tirumaraiselvan@users.noreply.github.com>
GitOrigin-RevId: 9217d9d7520d424b8092cce1ec0f98b780122c77
2021-06-08 09:45:54 +00:00
Shraddha Agrawal
148d3756d4 docs/cloud: add receipt billing email docs
cloud docs for lux PR [#2327](https://github.com/hasura/lux/pull/2327).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 0bb445712c0c91c30f60eaf648d5bfdf4e9b2ec8
2021-05-31 12:17:37 +00:00
Shraddha Agrawal
0dc4a780dd docs/cloud: update default card delete comment
Users can delete their default card now. They will not be allowed to do so if they have any billable projects or have an pending dues. (ref cloud PR [#2155](https://github.com/hasura/lux/pull/2155)).

Note: The changes are already live.
GitOrigin-RevId: 80d695698152a94613309b5711851f018941c280
2021-05-31 12:06:23 +00:00
Rikin Kachhia
b8c294bb69 docs: update v2.0 breaking changes section
GitOrigin-RevId: efb01723e8c3c85c2eb051644ecca6b1ce682479
2021-05-24 16:35:07 +00:00
Anon Ray
53beef47ea server, console, docs: fix untrack_function metadata query bug
Co-authored-by: Sameer Kolhar <6604943+kolharsam@users.noreply.github.com>
GitOrigin-RevId: a68a6f8b5c5243372332bfec7d9cdcd3011c001f
2021-05-24 15:57:26 +00:00
Vladimir Ciobanu
0f8f4764c7 server: rename source
GitOrigin-RevId: 5f4a17941bfd447deb9663a4c250f149238c5f53
2021-05-24 13:15:02 +00:00
Tirumarai Selvan
52c720a631 add 2.0.0-cloud.11 changelog
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: babbb1e66f83184896988fc40671b2f5bb80b44f
2021-05-24 11:09:15 +00:00
Abby Sassel
1afa4ac3cc server/citus: feature branch
Co-authored-by: Vladimir Ciobanu <1017953+vladciobanu@users.noreply.github.com>
Co-authored-by: Antoine Leblanc <1618949+nicuveo@users.noreply.github.com>
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
Co-authored-by: Phil Freeman <630306+paf31@users.noreply.github.com>
GitOrigin-RevId: 1b964fe5f5f50380172cb702b6a328fed782b6b7
2021-05-21 02:47:51 +00:00
Shahidh K Muhammed
66bbea2b54 update changelog for v2.0.0-cloud.10 and older versions
Co-authored-by: Tirumarai Selvan <8663570+tirumaraiselvan@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 694f6a55d6464baaad70086aff1dee690d79e89f
2021-05-19 05:21:59 +00:00
Ikechukwu Eze
a7639145fe console: allow editing sources configuration
This adds the feature to edit data sources to the console

Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Martin Mark <74692114+martin-hasura@users.noreply.github.com>
GitOrigin-RevId: 40f97a362620e9cebe97a2267cb9fb143c32af5d
2021-05-19 04:16:38 +00:00
Rikin Kachhia
423f5c6ad5 docs: update v2 docs
- update config availablility/deprecation notes
- add notes on metadata inconsistency during config v3 migrations
- use update instead of upgrade for v2 migration for consistency
- fix external link opening

GitOrigin-RevId: a8ca31948285f55a5fac8d00b93f85007be512cc
2021-05-18 13:37:32 +00:00
Praveen Durairaju
b5d11a3896 docs: add additional resource for sql server
GitOrigin-RevId: 67e2e8e21136a3649684e58f158e72a32aa5a680
2021-05-18 10:48:58 +00:00
Karthikeyan Chinnakonda
ecb4b9d098 server: graceful shutdown for event and cron triggers and async action (II)
GitOrigin-RevId: 2090c3cc34f633c691b4e4ff9ae918a60c37ce26
2021-05-14 09:39:33 +00:00
Rikin Kachhia
1bfa53bb4d docs: update upgrade to v2 guide
- add migrations transactionality behaviour change
- update migrated env var list
- add deprecated msg to env vars
- add order by behaviour change

GitOrigin-RevId: 48c0659ef2d7c69eac1fccba1d883dd9e60f939f
2021-05-13 16:53:12 +00:00
Praveen Durairaju
afc01448e1 docs: fix broken links to relay.dev
GitOrigin-RevId: bf6a149d30e42150aa198ab50edca0158217a4d9
2021-05-12 13:54:32 +00:00
Naveen Naidu
27aa5b4781 pro: restrict GQL operations based on node limits
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 49268fcd36dd15e10c7b7c5fe91af93cd65cb4e2
2021-05-12 06:25:45 +00:00
Rikin Kachhia
21215dad1b docs: update docker windows hostname
GitOrigin-RevId: c0d18b985225a3d921e734afe8448c41b820df4f
2021-05-07 13:02:40 +00:00
Karthikeyan Chinnakonda
4702ba514a pro server: disable GraphQL schema introspection for specified roles
GitOrigin-RevId: 36ceb1852bc7779092cfb59c92035dd9635b2e3f
2021-05-05 12:26:23 +00:00
hasura-bot
fef2529c41 docs: fix typo in inherited roles
GITHUB_PR_NUMBER: 6863
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6863

Co-authored-by: Brian Childress <2747820+brian-childress@users.noreply.github.com>
GitOrigin-RevId: e385e3899cf436d08b8f97a6f25dd573d02245b5
2021-05-04 13:33:50 +00:00
Lyndon Maydwell
507d3aac2c Change schema sync env var to HASURA_GRAPHQL_SCHEMA_SYNC_POLL_INTERVAL
GitOrigin-RevId: 13ed047c9ff391e212c8a50dd13dd0adad666a9e
2021-04-28 22:27:21 +00:00
Swann Moreau
c834629afb server: fix regression in query-log generation
Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com>
GitOrigin-RevId: 74cc6bad2274dc1587f4d3b38e444857d079a4ac
2021-04-28 17:39:02 +00:00
Karthikeyan Chinnakonda
aca8964fdc server: make postgres related ENV vars source specific
Co-authored-by: Tirumarai Selvan <8663570+tirumaraiselvan@users.noreply.github.com>
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 8ec3db00f00e9c28bf2dc0f47bd312a656c61a69
2021-04-28 16:50:14 +00:00
Karthikeyan Chinnakonda
bc1e131717 server: accept new env var HASURA_GRAPHQL_EVENTS_FETCH_BATCH_SIZE
GitOrigin-RevId: 62c463d3ee754ce9f05ba09afa8cd74ca807a96c
2021-04-27 17:23:46 +00:00
Vladimir Ciobanu
f50f61ab6a server: fix one-to-one relationships
GitOrigin-RevId: e19f4dec04abbdcf4589d24031705e5c57ea1fbb
2021-04-27 13:45:45 +00:00
kodiakhq[bot]
a935746e17 Integration test improvements (for speed/clarity), also increase polling interval for scheduled events
This claws back ~7min from integration tests (run serially, as with `dev.sh test --integration`
Further improvements would do well to focus on optimizing metadata operations, as `setup` dominates

GitOrigin-RevId: 76637d6fa953c2404627c4391447a05bf09355fa
2021-04-27 05:35:26 +00:00
hasura-bot
e407e8edb6 docs: fix typo
GITHUB_PR_NUMBER: 6811
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6811

Co-authored-by: deathemperor <4255482+deathemperor@users.noreply.github.com>
GitOrigin-RevId: dd04f971743d29517f7780f3781ca947da5173de
2021-04-23 12:58:35 +00:00
Karthikeyan Chinnakonda
7be8003a4b server: limit of an inherited role will be the max of the limit of the limits of the roles
GitOrigin-RevId: 1373f80a691047a9c69b3705e3aafa9244f673b0
2021-04-21 09:13:15 +00:00
Karthikeyan Chinnakonda
58cf521c62 server: support relationship column comparison with root table columns
GitOrigin-RevId: 9d9bcb82a997c1f060df5ba0726c29d934e70d71
2021-04-19 12:17:07 +00:00
Sandeep Raj Kumar
c5991adbdc docs: move the parameterized_query_hash key
GitOrigin-RevId: 69b41f0640edb01c0093bb7952575faf8d903c6b
2021-04-16 14:18:53 +00:00
Rakesh Emmadi
f7c37b007a server: use_prepared_statements option in add_pg_source metadata API
GitOrigin-RevId: 7b5af6d1cafc0b95fc86354293b3c3a4669e8bd2
2021-04-14 17:52:17 +00:00
Philip Carlsen
4cb224afd8 Adding support for ST_3DDWithin and ST_3DIntersects
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: de31fa68fd7dc8ffa0c4e4b89b727a5e14b0525e
2021-04-14 13:03:11 +00:00
Rikin Kachhia
5850423aa6 docs: add behaviour changes to upgrade to v2 guide
GitOrigin-RevId: 9ec65a330f6225f8e12d583a00c2b3ead0e9292b
2021-04-14 07:09:04 +00:00
Sameer Kolhar
b274a2d240 server: disable caching for actions with forward client headers enabled
Co-authored-by: Lyndon Maydwell <92299+sordina@users.noreply.github.com>
Co-authored-by: Antoine Leblanc <1618949+nicuveo@users.noreply.github.com>
Co-authored-by: Abby Sassel <3883855+sassela@users.noreply.github.com>
Co-authored-by: hasura-bot <30118761+hasura-bot@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
Co-authored-by: Naveen Naidu <30195193+Naveenaidu@users.noreply.github.com>
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: c9a8be3cb607f7767e9d6791717106adf123e3a8
2021-04-13 07:01:34 +00:00
Rikin Kachhia
3f0bb499cb docs: add misc updates
- language nitpicks
- add notes on checking env vars storing db urls across environments post upgrading to config v3
- update ci/cd workflow commands in config v3

GitOrigin-RevId: 7f98a03db6bf3c7b8b550e4bdd1e4eca8b1c6e32
2021-04-08 11:21:37 +00:00
Karthikeyan Chinnakonda
ce4794cdcc pro-server: log parameterized query hash for GraphQL queries
GitOrigin-RevId: e804d0b3397a0ae8df05225be43de264babd3de3
2021-04-06 17:53:55 +00:00
Rikin Kachhia
0352e4ae01 docs: misc updates
- master -> primary terminology change in read replica page
- add console flow to add read replica
- add (ci/cd) annotation to migrations
- add config v2 tag for older migrations pages

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 2d2d8e12fbf4f3142d0611f3ab1ce9285a79779f
2021-04-06 17:05:48 +00:00
Aravind K P
1cc3a66fef cli-migrations,ci: add config v3 image
GitOrigin-RevId: ee04d046fd70355495fb18976ebfcca00454c0da
2021-04-06 09:59:16 +00:00
Rikin Kachhia
7f251d09a2 docs: add ugrade to Hasura v2 guide
GitOrigin-RevId: e45642dee466de7705519b949c5ca33f20a07a4c
2021-04-05 08:11:40 +00:00
Rikin Kachhia
e3d8a721ee server: add "SET check_function_bodies=false" in pg_dump clean output
GitOrigin-RevId: f0526f9666c3986d8e3b374556859043f10dbe8d
2021-03-31 14:49:38 +00:00
Rakesh Emmadi
80a5e660b2 docs: add async-actions-fetch-interval option in server command flags
GitOrigin-RevId: 3abc252fa3b98dc7e36fc98ef106cf3244232f1e
2021-03-31 11:03:53 +00:00
Rikin Kachhia
b1361f723f docs: add misc docs fixes
- update cloud glossary
- fix broken ref on cloud index page
- move schema and metadata APIs above older schema/metadata API
- minor changes to some cloud pages

GitOrigin-RevId: 9f25c2e5c8dd9d83ea467cbad767733aa6ecad11
2021-03-30 14:11:50 +00:00
Rakesh Emmadi
7798b9c870 server: allow replacing configuration in add source metadata API (#956)
GitOrigin-RevId: a797d6f1f1e568eeab6acd752d3404a30b890461
2021-03-30 10:10:23 +00:00
Shraddha Agrawal
99cb846911 docs/cloud: add New Relic integeration docs
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 00fbbfdc5b9688459fbfbb54824708292859ffa5
2021-03-30 08:57:53 +00:00
Tirumarai Selvan
730ec5b8d9 add changelog docs
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 20790cbf1c320d34c1271b493928a4eddbed0205
2021-03-29 09:11:27 +00:00
Sameer Kolhar
a73b6479b1 server/console/docs: add a comment field for actions
####  CHANGELOG (done)

#### PR description

This PR hopes to resolve https://github.com/hasura/graphql-engine/issues/4662.
The main work done in this PR is to add an comment field on the add actions page. Prior to this the `actionsDescription` was used as the comment for actions.

#### Updated UI

![image](https://user-images.githubusercontent.com/6604943/111342362-64dc9880-86a0-11eb-8922-36b72bf100cb.png)

Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 5f31b27d66c27bc6c1b0fc5044f0ac13ecc11fa0
2021-03-24 20:11:48 +00:00
Rikin Kachhia
4815c2bbc8 docs: update with misc 2.0 changes
- update copyright
- fix typo: comparision -> comparison
- add new null in comparision exp behaviour
- update cloud read replica page

GitOrigin-RevId: bfd322344e7ecf89a2c1361db4bc2d7e25718b98
2021-03-24 16:38:27 +00:00
Robert
130e27e755 docs: update cloud createTenant for v2 api ref with database url argument removed
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 10b02ca09067ee3f40227b008dc5e9095941c17b
2021-03-24 08:35:52 +00:00
Rikin Kachhia
054b62b4e7 docs: update remote schema relationships and auth sections
GitOrigin-RevId: 86bb88d5e345e76ee8f169fa13112874649573c9
2021-03-17 17:27:29 +00:00
Rikin Kachhia
0c2a40c740 docs: misc updates
- update cloud pricing plan names
- add supported from/in notes
- add config.yaml version note for using config v2
- nitpicks

GitOrigin-RevId: 4c06efb15cbec650fd38162f4d3b71d13c6ee56e
2021-03-17 13:45:07 +00:00
Kali Vara Purushotham Santhati
c3e60aba28 cli: update cli help texts and docs generation
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: b6909583093baac4a69296721feae149ca6a0605
2021-03-15 15:41:54 +00:00
Praveen Durairaju
7fe46423b8 remove migrations webinar in docs, fix conflict in sample apps
GitOrigin-RevId: d2969c7376b51723ae7c52d0666309f75aad98d1
2021-03-15 08:34:49 +00:00
Shraddha Agrawal
0b81677fc6 docs/cloud: change metric name
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: ea55c9661ccdcc7d454bd8508e0bf6c58a259145
2021-03-15 07:49:52 +00:00
Karthikeyan Chinnakonda
067a38f74d docs: document inherited roles
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: b147ed69b90c40d6e1478f028f5d9d7e6f5629f0
2021-03-11 15:21:50 +00:00
Aravind K P
c35e4a26b6 docs: refactor cli docs to match latest changes
GitOrigin-RevId: 4adbc5fbbd60a6e7749f36f3d112c09ba9c4a60a
2021-03-11 08:13:28 +00:00
Aishwarya Rao
9b02f1572e docs: Update docs for cloud dashboard
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: dc8c870d802f2b3d6bce19d2b468ffad1c764e95
2021-03-10 14:54:28 +00:00
Rikin Kachhia
ff8867c7b6 docs: add workaround to change region for cloud v2.0 projects
GitOrigin-RevId: deb7db4d70793b3ca3b7df222909ca1c2db8003d
2021-03-09 21:28:34 +00:00
hasura-bot
7e69d3628d docs: add seeds documentation to the CLI config reference
GITHUB_PR_NUMBER: 6323
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6323

Co-authored-by: Todd Heslin <1883112+toddheslin@users.noreply.github.com>
GitOrigin-RevId: e47d0c62b06e4f4782378318fcfa368406f20096
2021-03-09 16:33:15 +00:00
Naveen Naidu
266f7315a2 docs: Add metadata db link in index of server configuration use case
GitOrigin-RevId: 1c2c4c7c65c6e01ddbec7e589d8644bdb5e856ed
2021-03-09 13:30:33 +00:00
hasura-bot
35168876ec docs: add permissions to config v2 metadata format
GITHUB_PR_NUMBER: 6314
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6314

Co-authored-by: Funmilayo E. Olaiya <35759534+codeliezel@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 43722c20992a4ef0520ee69f3138a97e988f8412
2021-03-09 11:59:20 +00:00
Praveen Durairaju
3ad42ed540 docs: add webinar links
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: d5b680ce50bfa331bbead32ffe8ad7ba95a6b51f
2021-03-09 08:37:34 +00:00
Rikin Kachhia
8357142001 docs: add v2.0 upgrade related docs
- add [page](https://deploy-preview-814--hasura-docs-mono.netlify.app/graphql/core/databases/connect-db.html) on connecting databases
- add [page](https://deploy-preview-814--hasura-docs-mono.netlify.app/graphql/cloud/projects/move-project-v2.html) to move 1.3 cloud projects to 2.0
- add [section](https://deploy-preview-814--hasura-docs-mono.netlify.app/graphql/core/migrations/upgrade-v3.html#continue-using-config-v2) on continue using config v2 with v2.0 projects

GitOrigin-RevId: 5353466425f1c33d987037b739213a30e87e0efa
2021-03-08 15:43:35 +00:00
Aravind K P
0f307fd0a4 docs: add pre update checklist for config v3 update
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: f97c38530ad608372d7e6f7fef4045e08e3b7acb
2021-03-05 16:29:56 +00:00
Rakesh Emmadi
edf5a0661e server: support mssql views
GitOrigin-RevId: 50e2fc1d64a67a9284ae62d2401ca6f9627ebdab
2021-03-05 10:53:38 +00:00
Rikin Kachhia
fa90e9d004 docs: update feature version support notes
GitOrigin-RevId: 4627c876b2771c84602f4bfaa1ab0646b2650f12
2021-03-04 19:21:21 +00:00
Sameer Kolhar
ee56b741d8 server: add is_remote_schema_permissions_enabled to config API
GitOrigin-RevId: 7129d0fba25edc2450c74140335df9398154ce52
2021-03-04 16:22:31 +00:00
Lyndon Maydwell
cb85d62078 docs: add info on variable interpretation for primitive URL variables
Additional documentation for REST queries with respect to how url template variables and query variables are interpreted.

* Route variables and Query parameters are interpreted as scalars according to the variables types in the associated query and passed as JSON data through the query variables:
   * Missing nullable variables are interpreted as NULL
   * Boolean variables are interpreted as Bools
   * Boolean flags without values e.g. ``/api/rest/myquery?mybool`` are interpreted as True for boolean variables
   * String variables are interpreted as literal Strings
   * UUID variables are interpreted as strings
   * ID variables are interpreted as strings
   * Number, Int, Float, and Double variables are interpreted as Numbers
   * All other types or mismatches currently report variable type errors

---

### Kodiak commit message

Documentation for variable interpretation for primitive URL variables

#### Commit title
Documentation for variable interpretation for primitive URL variables

Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 2d90facd0e644e275fe752dc393f066fb71490c5
2021-03-04 10:38:51 +00:00
hasura-bot
564184ef95 docs: use same userId in login example (#127)
Co-authored-by: Tobias Törnros <t.tornros@gmail.com>
GITHUB_PR_NUMBER: 6270
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6270

Co-authored-by: Tobias Törnros <t.tornros@gmail.com>
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
GitOrigin-RevId: 3eed6b2cb413911a407a2a6ecf3e400d2d0919ab
2021-03-04 06:31:59 +00:00
Vladimir Ciobanu
d5ff1acf2d better handling for one-to-one relationships
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 1bb5bc0c4ac8109ee1d20563d23cf98e0906a483
2021-03-03 13:02:59 +00:00
hasura-bot
28db360098 Fix typo in response-caching.rst (#734)
Co-authored-by: chrismcc <chrisvariety@users.noreply.github.com>
GITHUB_PR_NUMBER: 6623
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6623

Co-authored-by: chrismcc <chrisvariety@users.noreply.github.com>
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
GitOrigin-RevId: 5169da9bfa2052ca5f11b25e29d2b5660d93c473
2021-03-03 03:59:13 +00:00
Praveen Durairaju
101d76096f docs: add trailing slash to blog links, update header link
GitOrigin-RevId: e1fb08d1f0123df7e9717e3e56c24ea37f759408
2021-03-02 09:27:14 +00:00
Praveen Durairaju
0ff26100bf update docs link to avoid redirects
GitOrigin-RevId: 1f2a1d21bfb9b2908d56305fa2dfb69270deafdf
2021-03-01 18:51:18 +00:00
Anon Ray
5b916eaaa6 docs: add pg source config details
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: e0a4f7c268763dcd95f3d002ea13b929a5beef33
2021-03-01 15:34:02 +00:00
Abby Sassel
6c289f3e2b docs: support ltree operators (#592)
* Update changelog & docs

* Update query-filters.rst

Co-authored-by: sassela <sassela@users.noreply.github.com>
GitOrigin-RevId: fb8881c380907944aab5f7790a9daddb5c1405cf
2021-02-25 14:11:15 +00:00
Karthikeyan Chinnakonda
4211d27272 server: support reading JWT from Cookie header
GitOrigin-RevId: 1de90242d3c000361f87256c2dddce1677863231
2021-02-25 09:03:46 +00:00
Rikin Kachhia
6fb181a4ee docs: misc updates
- readd first graphql query page as it is a good link to share from external resources (like console)
- add link to changelog for 2.0
- update SQL server support comments

GitOrigin-RevId: 8f7baeccca38fcd645638d2832b85fcad53dabe5
2021-02-24 12:39:33 +00:00
Rikin Kachhia
66fb02b51f docs: add api reference for new metadata api endpoint
GitOrigin-RevId: e86aa47899a030707adf14b1ea235644fc48d726
2021-02-24 12:31:52 +00:00
Tanmai Gopal
bd495b4aae docs: add MS SQL Server support docs (#634)
--

Co-authored-by: rikinsk <rikin@hasura.io>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 8c0fa91dfceeb5f59207ae012647346041e39a86
2021-02-23 16:09:23 +00:00
Aravind K P
4d74c79fce docs: add cli config v3 docs
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 646a781999b4ec6af5dfc2350f5c752fdb2a299e
2021-02-23 15:35:43 +00:00
Rikin Kachhia
a559894d97 add v2.0 install manifest
GitOrigin-RevId: 85c4c2d5f082316315524c8c500ade09611ce6ed
2021-02-23 14:39:11 +00:00
Rikin Kachhia
df45a6f426 docs: add multiple databases and metadata separation docs (#586)
GitOrigin-RevId: 5810a8c2de538c2921a1b749421f4fb1599e7ed0
2021-02-23 12:01:19 +00:00
Sameer Kolhar
509b1fda1b console: REST endpoints UI
Co-authored-by: Abhijeet Singh Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: hasura-bot <30118761+hasura-bot@users.noreply.github.com>
Co-authored-by: Naveen Naidu <30195193+Naveenaidu@users.noreply.github.com>
Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 9cd313c1b3fd2bfada7caf24e379c95ec15ce2cb
2021-02-23 11:24:06 +00:00
Aishwarya Rao
9fb802d5a8 docs: add cloud dashboard v1.4 docs
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 6db4e25de412805a11bf26d7c8a098a977de5641
2021-02-23 11:21:32 +00:00
Naveen Naidu
a80b632568 docs: add env_var/flags spec for metadata-db-url and update PG permission page
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: bb378baee249334f4bc0add43e364dbad6a7284f
2021-02-19 10:14:21 +00:00
Karthikeyan Chinnakonda
a29f7cc043 docs: document the new function permissions
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: ee1291d4dc30064d9f42f4dab719792a34e7a6df
2021-02-19 09:35:33 +00:00
Rikin Kachhia
b59f900328 docs: misc updates
- increase h5 font size
- remove column operators from mutation reference
- nitpicks

GitOrigin-RevId: ba74bb65603e1c6f31e2386438ce22ebabb96e3c
2021-02-19 09:32:40 +00:00
Lyndon Maydwell
59c01786fe Optimistic Metadata Locking
Add optimistic concurrency control to the ‘replace_metadata’ call.

Prevents users from submitting out-of-date metadata to metadata-mutating APIs.

See https://github.com/hasura/graphql-engine-mono/issues/472 for details.

GitOrigin-RevId: 5f220f347a3eba288a9098b01e9913ffd7e38166
2021-02-19 02:40:23 +00:00
hasura-bot
9b9bcf5a44 docs: improve getting started experience
GITHUB_PR_NUMBER: 6143
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6143

Co-authored-by: Marion Schleifer <5722022+marionschleifer@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 7ad41cb9bc2c461ce04a30546e0214b9faebb085
2021-02-18 11:34:17 +00:00
hasura-bot
910402698a docs: remove unused images
GITHUB_PR_NUMBER: 6074
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6074

Co-authored-by: Marion Schleifer <5722022+marionschleifer@users.noreply.github.com>
GitOrigin-RevId: 660d527236c578b44cf6e6378d84553708903d82
2021-02-17 14:19:45 +00:00
Funmilayo E. Olaiya
3d077bdc97 docs: add a guide to clear hasura migrations (close #5372)
### Description
This PR adds information on clearing migrations to the docs.

### Changelog
- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.

### Affected components
- [x] Docs

### Related Issues
https://github.com/hasura/graphql-engine/issues/5372

### Old PR
https://github.com/hasura/graphql-engine-mono/pull/224

### Affected pages
https://deploy-preview-273--hasura-docs-mono.netlify.app/graphql/core/migrations/advanced/resetting-migrations.html

Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 7ccf3fc172ef4bb48f0fef2acd2126992b6447eb
2021-02-17 14:16:14 +00:00
hasura-bot
e64d6d04de docs: fix typo on action handlers page
This PR was migrated from hasura/graphql-engine#6559

Co-authored-by: Jesse <1203804+motleydev@users.noreply.github.com>
GitOrigin-RevId: b78a3233f642fefd7b4cfc880151cbe8adbed744
2021-02-17 12:47:59 +00:00
Rikin Kachhia
daf4f364f5 docs: add tracking params to cloud urls
GitOrigin-RevId: b3ce892e80e3fb68d178f064d5370fce78352367
2021-02-17 12:44:35 +00:00
hasura-bot
736cd7c15e docs: replace outdated images with newer ones (close #3256)
GITHUB_PR_NUMBER: 6176
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6176

Co-authored-by: Funmilayo E. Olaiya <35759534+codeliezel@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 1fcd69dd876224c4d8e82ef1f2dc8e76242a49ba
2021-02-17 12:41:35 +00:00
Funmilayo E. Olaiya
615922b63a docs: pluralise query names, schema / table names
### Description
This PR pluralises all sample query names in all sections of the docs, and these changes affect some schema, images, CLI commands and Apis too.
_A warning was also fixed in the API reference section._

### Changelog

- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.

### Affected components
- [x] Docs

### Related Issues
https://github.com/hasura/graphql-engine-internal/issues/75

### Affected pages

**Getting Started:**
1. https://deploy-preview-312--hasura-docs-mono.netlify.app/graphql/core/getting-started/first-graphql-query.html

**Schema:**
1. https://deploy-preview-312--hasura-docs-mono.netlify.app/graphql/core/schema/tables.html
2. https://deploy-preview-312--hasura-docs-mono.netlify.app/graphql/core/schema/table-relationships/create.html
3. https://deploy-preview-312--hasura-docs-mono.netlify.app/graphql/core/schema/table-relationships/rename.html
4. https://deploy-preview-312--hasura-docs-mono.netlify.app/graphql/core/schema/custom-functions.html
5. https://deploy-preview-312--hasura-docs-mono.netlify.app/graphql/core/schema/computed-fields.html

**Queries:**
1. https://deploy-preview-312--hasura-docs-mono.netlify.app/graphql/core/queries/simple-object-queries.html
2. https://deploy-preview-312--hasura-docs-mono.netlify.app/graphql/core/queries/nested-object-queries.html
3. https://deploy-preview-312--hasura-docs-mono.netlify.app/graphql/core/queries/aggregation-queries.html
4. https://deploy-preview-312--hasura-docs-mono.netlify.app/graphql/core/queries/query-filters.html
5. https://deploy-preview-312--hasura-docs-mono.netlify.app/graphql/core/queries/sorting.html
6. https://deploy-preview-312--hasura-docs-mono.netlify.app/graphql/core/queries/distinct-queries.html
7. https://deploy-preview-312--hasura-docs-mono.netlify.app/graphql/core/queries/pagination.html
8. https://deploy-preview-312--hasura-docs-mono.netlify.app/graphql/core/queries/multiple-arguments.html
9. https://deploy-preview-312--hasura-docs-mono.netlify.app/graphql/core/queries/multiple-queries.html

**Authentication/Authorization:**
1. https://deploy-preview-312--hasura-docs-mono.netlify.app/graphql/core/auth/authorization/basics.html#

**Data Modelling Guides**
1. https://deploy-preview-312--hasura-docs-mono.netlify.app/graphql/core/guides/data-modelling/one-to-one.html
2. https://deploy-preview-312--hasura-docs-mono.netlify.app/graphql/core/guides/data-modelling/one-to-many.html
3. https://deploy-preview-312--hasura-docs-mono.netlify.app/graphql/core/guides/data-modelling/many-to-many.html

GitOrigin-RevId: e02e279466909e0bbd48d908b1b6fa0a5d5e47cf
2021-02-17 11:13:54 +00:00
Swann Moreau
0bc3c688c2 docs: document request field in POST webhook body
* document `request` field in POST webhook body (#2666)

* better query name

* Update webhook.rst

Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
GitOrigin-RevId: e1d5a6d5f9202a8b7f1a0f34fee24bcdb26b50f9
2021-02-16 12:19:09 +00:00
Rikin Kachhia
c8181d345b docs: fix api reference structure
GitOrigin-RevId: bd7dba60fd6ad69df0bfc83862ea8a7b5b359c9d
2021-02-16 09:39:24 +00:00
Lyndon Maydwell
0d67b5cb53 Allow Inconsistent Metadata (v2) (#473)
Allow Inconsistent Metadata

GitOrigin-RevId: 7b7e1fdccbeaa1b7dccf66ff22c4b40f8cf5bb27
2021-02-16 08:10:21 +00:00
Phil Freeman
7fffc11077 Caching, Rate Limiting, Metrics & Session Variable Improvements (#376)
* server: use a leaky bucket algorithm for bytes-per-second cache rate limiting

* Use evalsha properly

* Adds redis cache limit parameters to PoliciesConfig

* Loads Leaky Bucket Script On Server Start

* Adds more redis logging and moves cache update into lua script

* reverts setex in lua and adds notes

* Refactors cacheStore and adds max TTL and cache size limits

* Filter session vars in cache key

* WIP

* parens

* cache-clear-hander POC implementation

* cache-clear-hander POC implementation

* Pro projectId used as cache key

* POC working!

* prefixing query-response keys in redis

* Add cacheClearer to RedisScripts

* Partial implementation of cacheClearer from scripts record

* updating tests

* [automated] stylish-haskell commit

* Adds query look with up with metrics script

* Adds missing module and lua script from last commit

* Changes redis script module structure to match cache clearing branch

* minor change to lua script

* cleaning up cache clearing

* generalising JsonLog

* [automated] stylish-haskell commit

* Draft Cache Metrics Endpoint

* Adds Cache Metrics Handler

* Adds hook handler module

* Missed HandlerHook module in last commit

* glob

* Fixes redis mget bug

* Removes cache totals and changes dashes to colons in metric cache keys

* Adds query param to clear clear endpoint for deleting specific keys

* Adds query param to clear clear endpoint for deleting specific keys

* Cache Metrics on query families rather then queries

* Replace Set with nub

* Base16 Redis Hashes

* Query Family Redis Keys With Roles

* response headers for cache keys

* fixing bug in family key by excluding operation name; using hash for response header instead of entire key

* Adds query family to redis cache keys and cache clear endpoint

* Fixes queryfamily hash bug

* Moves cache endpoints to /pro

* Moved cache clear to POST

* Refactors cache clear function

* Fixes query family format bug

* Adds query cache tests and optional --redis-url flag to python test suite

* Adds session variable cache test

* Update pro changelog

* adding documentation for additional caching features

* more docs

* clearing up units of leaky bucket params

* Adds comments to leaky bucket script

* removes old todo

* Fixes session variable filtering to work with new query rootfield

* more advanced defaulting behaviour for bucket rate and capacity.

* Updates Docs

* Moves Role into QueryFamily hash

* Use Aeson for Cache Clear endpoint response

* Moves trace to bracket the leaky bucket script

* Misc review tweaks

* Adds sum type for cache clear query params

* Hardcodes RegisReplyLog log level

* Update docs/graphql/cloud/response-caching.rst

Co-authored-by: Phil Freeman <phil@hasura.io>

* new prose for rate limiting docs

* [automated] stylish-haskell commit

* make rootToSessVarPreds total

* [automated] stylish-haskell commit

* Fixes out of scope error

* Renamed _acRedis to _acCacheStore

Co-authored-by: Solomon Bothwell <ssbothwell@gmail.com>
Co-authored-by: Lyndon Maydwell <lyndon@sordina.net>
Co-authored-by: David Overton <david@hasura.io>
Co-authored-by: Stylish Haskell Bot <stylish-haskell@users.noreply.github.com>
Co-authored-by: Lyndon Maydwell <lyndon@hasura.io>
GitOrigin-RevId: dda5c1a3f902967b3d78310f950541a55fabb1b0
2021-02-13 00:06:18 +00:00
Sameer Kolhar
8655e6fd3a console: function permissions UI (#413)
GitOrigin-RevId: ccdfab19751b0d238a4ebcec59ba73a798103ca9
2021-02-12 17:02:41 +00:00
Funmilayo E. Olaiya
2793893b86 docs: add a note for export metadata json output (close #6209)
### Description
This PR adds a note for the export_metadata API output.

### Changelog

- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.

### Affected components
- [x] Docs

### Related Issues
https://github.com/hasura/graphql-engine/issues/6209

### Affected pages
1. https://deploy-preview-298--hasura-docs-mono.netlify.app/graphql/core/migrations/reference/metadata-format.html
2. https://deploy-preview-298--hasura-docs-mono.netlify.app/graphql/core/api-reference/schema-metadata-api/manage-metadata.html

Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 10e1a3c3c42b2666992bb13a31fa0c2d622d1552
2021-02-08 09:12:37 +00:00
Priya Sharma
c739927618 cloud docs: add coupon and credit doc
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 414f519aae737cb639916c8c7f034149120f7800
2021-02-08 09:07:05 +00:00
Karthikeyan Chinnakonda
312e56dfa6 server: support tracking of custom functions which return single row
GitOrigin-RevId: fbf99816a70e666bb9b02fca92a0ee7d419cdff8
2021-02-03 14:07:30 +00:00
Shraddha Agrawal
1583fa6872 docs: update Datadog integration v2 docs
GitOrigin-RevId: a0f762bca40cdb5bea690f48625c3a3cb5ae7e89
2021-02-02 22:18:56 +00:00
hasura-bot
60613b4777 docs: add a guide on importing data from a CSV file into PG (close #494)
GITHUB_PR_NUMBER: 6225
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6225

Co-authored-by: Funmilayo E. Olaiya <35759534+codeliezel@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 232414fd293ab1a054b3fec35c7ee3743cd4686d
2021-02-02 10:44:36 +00:00
hasura-bot
bcb1ae07eb docs: add postgres retries environment variables
GITHUB_PR_NUMBER: 4287
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/4287

Co-authored-by: Toan Nguyen  <1615675+hgiasac@users.noreply.github.com>
GitOrigin-RevId: c93781cebb14255d1e04da669c6bf774738ba96f
2021-02-02 10:40:31 +00:00
hasura-bot
bd9c192cb7 docs: add section for codegen examples
GITHUB_PR_NUMBER: 4664
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/4664

Co-authored-by: Marion Schleifer <5722022+marionschleifer@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 70ec08da96a28b5081d1b8e24b2cb9c6a76922de
2021-02-02 09:39:46 +00:00
hasura-bot
0edfcd5f2c docs: add inserts to db modelling guides
GITHUB_PR_NUMBER: 5444
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5444

Co-authored-by: Marion Schleifer <5722022+marionschleifer@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: caabc4de59abbeb7ac4d175cda330ace4196359b
2021-02-02 08:45:32 +00:00
hasura-bot
c3712067e8 docs: add a guide on how to clean up action logs (close #4935)
GITHUB_PR_NUMBER: 6229
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6229

Co-authored-by: Funmilayo E. Olaiya <35759534+codeliezel@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 54e6a3569481671610ea93c6ced6a6b42924c022
2021-02-02 08:06:10 +00:00
Shraddha Agrawal
fbf0c62ffa docs: add cloud docs for project ownership transfer
need to add screens.

Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 6a4977dff321ef01ea2dac9e937e1f4d45978a8c
2021-02-02 08:01:55 +00:00