Commit Graph

707 Commits

Author SHA1 Message Date
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
b2c0bbb491 docs: unify core and cloud search
GitOrigin-RevId: 1762a593a6caea5e734911f522458d189702939a
2021-03-18 20:12:46 +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
Rikin Kachhia
3696d92743 add github workflow to compress new images in PRs
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: cfef3585b120d82cafe5343cfceddbcd05969a15
2021-03-10 20:55:02 +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
Jigyasu Arya
36a6c36f6d docs: update cloud project collaborators screenshots
GitOrigin-RevId: 8acfe781d27d09d688a293d09fe624c0499c8417
2021-03-09 10:13:46 +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
Rikin Kachhia
eab2bdf85c docs: remove version indicator
GitOrigin-RevId: a3b4c9ce1a2f14543cb22c344ecc0465a585449a
2021-03-02 17:34: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
Praveen Durairaju
47880ccdfa docs: update to latest urls in sitemap (#651)
GitOrigin-RevId: 27f38544d9443f3605ca67f136c0af0c2180cf4c
2021-02-23 18:57:27 +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
2a2e09d671 docs: update canonical url to use latest (#637)
GitOrigin-RevId: 4be2326862ddb376d9a6961f3fe23179a835e019
2021-02-23 12:29:44 +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
hasura-bot
96209f6bec docs: add trackGA function and listeners
GITHUB_PR_NUMBER: 5526
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5526

Co-authored-by: sezgi <139535+sezgi@users.noreply.github.com>
GitOrigin-RevId: 041d213165a61cd3c940413414811c43cdcf0722
2021-02-22 07:37:01 +00:00
Praveen Durairaju
ddf32ae060 docs: update link for get started
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 3fb3f8330e1b4137279677ec5f7390f35a75456a
2021-02-19 10:22:37 +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
surendran82
76844835c1 docs: favicon change
GitOrigin-RevId: 4f695b1ad01b73abca5de6ebae74c5b9e03da09c
2021-02-10 08:19:05 +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
Karthikeyan Chinnakonda
10a3f9960d server: new function permissions layer
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
GitOrigin-RevId: 35645121242294cb6bb500ea598e9a1f2ca67fa1
2021-01-29 05:49:09 +00:00
Lyndon Maydwell
0767333597 server: support restified versions of graphql queries (#303)
Restified GraphQL Endpoints feature.

GitOrigin-RevId: 3d6e589426ec21a60a915b47f579f0ac4934af45
2021-01-29 01:03:35 +00:00
Shraddha Agrawal
f64e2f1aab docs: add manage cards docs
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: f5ab0f02a812b016a1f97044bda4d4937772268b
2021-01-22 20:24:22 +00:00
hasura-bot
98ccd81704 Server: Remote relationships permissions
GITHUB_PR_NUMBER: 6125
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6125

Co-authored-by: Karthikeyan Chinnakonda <15602904+codingkarthik@users.noreply.github.com>
GitOrigin-RevId: 53d0671e6335dad1af7cb00e3e05e7021a910673
2021-01-19 20:57:58 +00:00
hasura-bot
38fc4cb677 server: consistently log request_id at the same level
GITHUB_PR_NUMBER: 6244
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6244

Co-authored-by: José Lorenzo Rodríguez <37621+lorenzo@users.noreply.github.com>
GitOrigin-RevId: fef22d98ac7be23ca21a63dc1c696fa7169253a4
2021-01-19 17:26:45 +00:00
Rikin Kachhia
0f26a24557 docs: remove posthog tracking script
as tracking scripts are managed via google tag manager they can be removed from code

GitOrigin-RevId: ed864944e3062f33c08bfce7f2aca9f79ded6b8c
2021-01-19 10:15:55 +00:00
hasura-bot
647504ef99 docs: fix UserLogin action mutation definition
This PR was migrated from https://github.com/hasura/graphql-engine/pull/6300

---
Accept password instead of email in UserInfo Mutation type example

Co-authored-by: Tobias Törnros <17402497+tobiastornros@users.noreply.github.com>
GitOrigin-RevId: 9fbc0fc1ad4e6725b5411c271dd8e2d1ee7840be
2021-01-15 12:36:32 +00:00
hasura-bot
b9d31203c9 docs: add full page on pg permissions to cloud docs
GITHUB_PR_NUMBER: 6128
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6128

Co-authored-by: Marion Schleifer <5722022+marionschleifer@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 0ebd5fcbdfa6deaccd63d164c5ed8a07b63abca3
2021-01-14 08:17:38 +00:00
Karthikeyan Chinnakonda
c14bcb6967 server: accept new config allowed_skew in JWT config to provide leeway in JWT expiry
fixes https://github.com/hasura/graphql-engine/issues/2109

This PR accepts a new config `allowed_skew` in the JWT config to provide for some leeway while comparing the JWT expiry time.

GitOrigin-RevId: ef50cf77d8e2780478685096ed13794b5c4c9de4
2021-01-13 08:39:18 +00:00
surendran82
3373bbc748 docs: update marketo form
GitOrigin-RevId: 474aa477bda27eaa262815c069a58c61d6cbf3f5
2021-01-12 15:37:34 +00:00
Marion Schleifer
b4e72efeb7 docs: fix warning on build
Fix warning on docs build on main

GitOrigin-RevId: 3a5937539f4a1cebfe8770e75605240ab54a8c02
2021-01-12 06:31:27 +00:00
hasura-bot
4cbebed2df docs: add <> around placeholders
GITHUB_PR_NUMBER: 5803
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5803

Co-authored-by: Funmilayo E. Olaiya <35759534+codeliezel@users.noreply.github.com>
GitOrigin-RevId: 98c44e8497069ecaab8b74d81279a117cac4b57d
2021-01-11 19:21:40 +00:00
hasura-bot
66a3ad4d36 docs: fix typo
This PR was migrated from https://github.com/hasura/graphql-engine/pull/6254

---
>

### Description
>

### 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

- [ ] Server
- [ ] Console
- [ ] CLI
- [ ] Docs
- [ ] Community Content
- [ ] Build System
- [ ] Tests
- [ ] Other (list it)

### Related Issues
->

### Solution and Design
>

### Steps to test and verify
>

### Limitations, known bugs & workarounds
>

### Server checklist

#### Catalog upgrade

Does this PR change Hasura Catalog version?
- [ ] No
- [ ] Yes
  - [ ] Updated docs with SQL for downgrading the catalog

#### Metadata

Does this PR add a new Metadata feature?
- [ ] No
- [ ] Yes
  - Does `run_sql` auto manages the new metadata through schema diffing?
    - [ ] Yes
    - [ ] Not required
  - Does `run_sql` auto manages the definitions of metadata on renaming?
    - [ ] Yes
    - [ ] Not required
  - Does `export_metadata`/`replace_metadata` supports the new metadata added?
    - [ ] Yes
    - [ ] Not required

#### GraphQL
- [ ] No new GraphQL schema is generated
- [ ] New GraphQL schema is being generated:
   - [ ] New types and typenames are correlated

#### Breaking changes

- [ ] No Breaking changes
- [ ] There are breaking changes:

  1. Metadata API

     Existing `query` types:
     - [ ] Modify `args` payload which is not backward compatible
     - [ ] Behavioural change of the API
     - [ ] Change in response `JSON` schema
     - [ ] Change in error code

  2. GraphQL API

     Schema Generation:

     - [ ] Change in any `NamedType`
     - [ ] Change in table field names

     Schema Resolve:-

     - [ ] Change in treatment of `null` value for any input fields

  3. Logging

     - [ ] Log `JSON` schema has changed
     - [ ] Log `type` names have changed

Co-authored-by: Thomas Güttler <414336+guettli@users.noreply.github.com>
GitOrigin-RevId: 8381a182e9f380b98e0ebe918727e0ccae103e14
2021-01-11 14:40:48 +00:00
Shraddha Agrawal
583405bf96 docs: update datadog integration snaps
### Description
This PR updates the datadog integration screenshots.

### 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

### Affected pages
https://deploy-preview-289--hasura-docs-mono.netlify.app/graphql/cloud/metrics/integrations/datadog.html

Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 206234de7e461a04ea75715480fa714b35d185a1
2021-01-11 12:58:57 +00:00
surendran82
79095cf66d docs: update logos
GitOrigin-RevId: 0ea3ff19efe2ff93dac17ca903197ab155bad38f
2021-01-11 10:49:18 +00:00
hasura-bot
35143b7939 docs: fix wording in delete mutation
GITHUB_PR_NUMBER: 6427
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6427

Co-authored-by: Vlad Minaev <3295727+web-devel@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 522096265fcae4dbef41bf8c586a62b6f3e7a89a
2021-01-07 13:59:48 +00:00
hasura-bot
6f86d3892a docs: remove blank
GITHUB_PR_NUMBER: 6399
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6399

Co-authored-by: Giovane de Loredo <20311005+gloredo@users.noreply.github.com>
GitOrigin-RevId: 9489a0d086510f6a37f84757d304ecf0f04b7068
2021-01-06 12:02:33 +00:00
Funmilayo E. Olaiya
ff598db965 docs: add same field example for _and syntactic sugar (#274)
GitOrigin-RevId: 202ad631b0ed975a20da13c6262602847da8dc71
2021-01-05 07:18:05 +00:00
Marion Schleifer
bdceb08b50 docs: fix syntax warning (#278)
GitOrigin-RevId: 45c3870547ba7f93684e0fa3374d32b31d8130d7
2021-01-04 09:48:47 +00:00