Commit Graph

2689 Commits

Author SHA1 Message Date
Sameer Kolhar
ee56b741d8 server: add is_remote_schema_permissions_enabled to config API
GitOrigin-RevId: 7129d0fba25edc2450c74140335df9398154ce52
2021-03-04 16:22:31 +00:00
Tirumarai Selvan
d1d8cc0a40 tag release v2.0.0-alpha.3 (#790)
GitOrigin-RevId: 7b61e8190d07ebe45ff96ee5209992dfc3c53b93
2021-03-04 14:30:32 +00:00
Vishnu Bharathi
0c8dce35e4 ci: avoids doing backport release commit
GitOrigin-RevId: 5aa89862f0427bdc3ab1aa84ba8041286786fcb0
2021-03-04 12:45:08 +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
Karthikeyan Chinnakonda
f2199c4174 fix the changelog of static console assets fix (#771)
GitOrigin-RevId: 9516a41c3f615b1ef5264a7c902adf153ae85c00
2021-03-04 06:50:35 +00:00
hasura-bot
da3c9f2c53 minor typo fixes (#165)
Co-authored-by: Colby Thomas <coloradocolby@gmail.com>
GITHUB_PR_NUMBER: 6311
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6311

Co-authored-by: Colby Thomas <coloradocolby@gmail.com>
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
GitOrigin-RevId: 946665878fb9199d067ad1bd981de9525e86a0ae
2021-03-04 06:36:15 +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
Vamshi Surabhi
ab1ccfdbcd rfc: permissions layer on functions (#384)
GitOrigin-RevId: 1eb01e0d4579298478cdb3d1f2669d902e466c48
2021-03-04 04:08:09 +00:00
Vamshi Surabhi
95fe9be148 rfc: optimistic concurrency control for metadata changes (#480)
GitOrigin-RevId: 9b6f10138777e1d078cad37b0325b9973566c0a0
2021-03-04 04:08:03 +00:00
Aleksandra Sikora
c763494005 console: fix deleting remote relationship
GitOrigin-RevId: 31839bb8c4e26cc760bc3d9cbfbb0bd04c027d9b
2021-03-03 15:24:53 +00:00
Vijay Prasanna
968b573171 console: add relationship tab for mssql tables
GitOrigin-RevId: dc55849c9c38834481fc855e5242f7bf0d3a5e6e
2021-03-03 14:18:38 +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
Karthikeyan Chinnakonda
15ed0cf536 server: document the remote joins architecture
GitOrigin-RevId: f142908fa3dd3b0cb8887521c639be4a017e606a
2021-03-03 11:47:13 +00:00
Vijay Prasanna
42f5d66015 console: fix adding new function doesn't update sidebar content
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 5c2e0366f50b46846d05be84d4256bd406cf8829
2021-03-03 10:29:22 +00:00
Praveen Durairaju
917670db36 update brand assets
GitOrigin-RevId: df68cc9d4141e1e5c29dd33509c90f91c03744dd
2021-03-03 09:00:49 +00:00
Vladimir Ciobanu
d4d02c08d8 update ci-info-hs for cabal 3.4 (#747)
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
GitOrigin-RevId: 29bed5510b971572bf545e588065bbe1b5743d2c
2021-03-03 07:02:42 +00:00
David Overton
456b6d5664 Tests for metadata resource version
GitOrigin-RevId: c1db1355ef8c6617db8179c8c50ba2bd91f7062f
2021-03-03 04:41:02 +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
Karthikeyan Chinnakonda
d2418383bf server: add https remote schema tests
GitOrigin-RevId: 9e9e66248f956174dc8197adeb7a48da12e53dac
2021-03-02 16:52:47 +00:00
Karthikeyan Chinnakonda
f2724c97b4 build: fix the packaging of the static console assets
GitOrigin-RevId: 01a6e4f15366476f01ca355f1013712e24bb4a3b
2021-03-02 13:23:53 +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
a5c02ab405 community: update sample apps to use hasura cloud and v3 migrations/metadata
GitOrigin-RevId: c3858e4ed2f3d544f797ee159bd03b458d9cf82e
2021-03-02 08:32:37 +00:00
Vishnu Bharathi
bf76de3ab6 ci: exits in case of an error in Makefile, refactor cli-migrations-v2 image in accordance with hge base image
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 484147cb31becf6742620219d1c2b96a66bdb667
2021-03-02 07:26:30 +00:00
David Overton
e4c8d560c5 Fix/missing source error
GitOrigin-RevId: 074f4eb2d13a2c8ab002a355c6734eed257482d3
2021-03-02 04:27:29 +00:00
Vladimir Ciobanu
88ce387919 docs: add note about recovering existentially quantified type info
This should be merged after #686

GitOrigin-RevId: a372ca475a9c4a182b4819310634d4c3985225ab
2021-03-01 22:31:55 +00:00
Vladimir Ciobanu
ddbc497506 docs: add note on existentials and references to it
Added a note on existentials. I plan to create a subsequent PR with a note on how we use the singletons trick to recover the type inside an existential.

GitOrigin-RevId: 1f227d859dcc384b4ac7e103053f643f879827d1
2021-03-01 21:38:50 +00:00
Abby Sassel
01cb59919f docs: changelog & server documentation improvements
GitOrigin-RevId: e6a5e464acb5492ab7a592362fff2bac6528dfaa
2021-03-01 20:53:43 +00:00
Abhijeet Singh Khangarot
afd70e9952 console: data sidebar routing fix
GitOrigin-RevId: c3aadc392c38b9f9a1ea18298c58eaa98a4e1d66
2021-03-01 20:07:36 +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
Sooraj
48efc72b02 console: update oss-console-build resources and terser config
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: ceab8597216b44082916ae1d7293f4c3ee0ab0f9
2021-03-01 13:58:00 +00:00
Sooraj
581d4a0691 console: support connection string without username
GitOrigin-RevId: 66b56d1280e0efad41dd7785f2f73942484ea99e
2021-03-01 12:25:56 +00:00
Sameer Kolhar
f8c5f1b634 console: fix adding allowed query (#721)
GitOrigin-RevId: 8acee7ce4eb4a4fce02cb219f53126daf6ca1158
2021-03-01 11:34:15 +00:00
Vamshi Surabhi
e9f85ce6e6 mssql: connection pooling
GitOrigin-RevId: c1a6509f19a903724ce2b770ae23cbd925b537f8
2021-02-25 18:16:52 +00:00
Aleksandra Sikora
71d5955654 console: move back to metadata apis for verifying login
GitOrigin-RevId: 56581f7f05f8c69d8b2d38c3719057b489132437
2021-02-25 17:31:51 +00:00
Aleksandra Sikora
06a129d5c0 console: fix down query for adding remote relationships
GitOrigin-RevId: ed99bf2221e1e6f7126f141c8f7c9f12da3aea16
2021-02-25 15:40:56 +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
Abby Sassel
fb1a0d286d server: support ltree operators (close #625)
GitOrigin-RevId: fb6a3eb8cbe4604789938bcbc78916fbcd1af515
2021-02-25 11:06:49 +00:00
Antoine Leblanc
f55bbe96ef server: fix MSSQL returning malformed JSON on empty select
GitOrigin-RevId: b0b9f68dbdb2b015e4c0640670a2e4cf978fe5fb
2021-02-25 09:58:24 +00:00
Karthikeyan Chinnakonda
4211d27272 server: support reading JWT from Cookie header
GitOrigin-RevId: 1de90242d3c000361f87256c2dddce1677863231
2021-02-25 09:03:46 +00:00
Aleksandra Sikora
9343f40fad console: misc fixes
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: b7d8ab70515034ec98ef41e5731cdaf38fe71922
2021-02-24 20:47:37 +00:00
Vamshi Surabhi
74a58fb66c mssql: basic support for geography and geometry types
GitOrigin-RevId: 97bbf0e8d53b00c9f4365b145adb19bdcd769ceb
2021-02-24 12:53:15 +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
Aleksandra Sikora
6dff6e97ab pro-console: add rest endpoints
Co-authored-by: Karthik Venkateswaran <25095884+karthikvt26@users.noreply.github.com>
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: d9cafd23683f9c8ac45e978fffa513d76e90308a
2021-02-24 11:43:15 +00:00
Aleksandra Sikora
e063d90abf console: misc fixes
GitOrigin-RevId: 6dc5cad50e90eba4f3d7df5ee15ed854d245bc84
2021-02-24 10:59:01 +00:00
Lyndon Maydwell
b944d598e0 Adding check for multiple query definitions for rest endpoints
When adding a rest endpoint that references a query with multiple definitions, throw an error.

Needed a second PR for this as Kodiak merged the prior PR before this commit was added.

---

### Kodiak commit message

Adding check for multiple query definitions for rest endpoints.

GitOrigin-RevId: 6e3977a210e29f143b61282fbb37c93eb5b9d73c
2021-02-24 10:13:11 +00:00
Rikin Kachhia
a8a5e253dd update v2.0 and ms-sql install manifest
GitOrigin-RevId: a9a8aafb19be33870a3b7d1be0997f6e6ef0d742
2021-02-24 10:09:45 +00:00
Sameer Kolhar
827a332464 console: fixes for cloud console
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 7e86572cb18e045520a922e57a22057a82af6f0f
2021-02-24 09:27:23 +00:00