Commit Graph

2652 Commits

Author SHA1 Message Date
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
Sooraj
baae5441f2 hide inconsistent data sources from the sidebar of the data tab
GitOrigin-RevId: da81079a9821f43be0e04bffdea825a504f13106
2021-02-24 08:35:55 +00:00
Vamshi Surabhi
bde1a4d2f2 bump odbc version (#660)
GitOrigin-RevId: 43873267167dd742d3a6baeb5e1434e2a968a4ca
2021-02-24 07:47:07 +00:00
Aravind K P
65ea2f4c1b ci: update cli and console builder images
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: 1c14fc13a8ce9569a721dba1d9bd67c45292ce06
2021-02-24 07:42:42 +00:00
Lyndon Maydwell
08da0c63b6 REST Endpoints - Prohibit Invalid slashes, duplicate variables, non-singular query definitions, subscriptions
Resolves Issues:

* https://github.com/hasura/graphql-engine-mono/issues/658 - Invalid Slashes
* https://github.com/hasura/graphql-engine-mono/issues/628 - Subscriptions

Implementation:

* Moved some logic from Endpoint.hs to allow reuse of splitting url into PathSegments.
* Additional validation steps alongside checking for overlapping routes
* Logging potential misuse of GET for mutations

Future Work:

* [ ] GET is allowed for mutations (Ignore/Log warning for Now)
* [ ] Add to scInconsistentObjs rather than throwing error
  * Add information to scInconsistentObjs instead of raising errors directly.

TODO:

* [x] Duplicate variable segments with the same name in the location should not be allowed
* [x] We should throw an error on trailing and leading slashes and URLs which contain empty segments
* [x] Endpoints can be created using subscriptions. But the error only shows at the time of the query
* [x] Tests

---

### Kodiak commit message

Prohibit Invalid slashes, duplicate variables, subscriptions for REST endpoints.

GitOrigin-RevId: 86c0d4af97984c8afd02699e6071e9c1658710b8
2021-02-24 04:31:05 +00:00
Antoine Leblanc
7527039f08 server: fix build
GitOrigin-RevId: 8ba687fce6892ac32182311cccc1d4d149049d62
2021-02-23 21:43:56 +00:00
Tanmai Gopal
26e832e652 update install manifest for MS SQL Server
GitOrigin-RevId: ebaa874c2489c0dbfbc3d9ac6aa09ca243f1ed5f
2021-02-23 21:29:21 +00:00
Aleksandra Sikora
a80364d7d6 console: sql server support
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 3d9941f3063eca87293325b30f3ca7771da7cf19
2021-02-23 19:00:28 +00:00
Praveen Durairaju
47880ccdfa docs: update to latest urls in sitemap (#651)
GitOrigin-RevId: 27f38544d9443f3605ca67f136c0af0c2180cf4c
2021-02-23 18:57:27 +00:00
Vladimir Ciobanu
281cb771ff server: add MSSQL support
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Antoine Leblanc <1618949+nicuveo@users.noreply.github.com>
Co-authored-by: Vamshi Surabhi <6562944+0x777@users.noreply.github.com>
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 699c453b9692e1b822f393f23ff5e6db4e010d57
2021-02-23 17:38:36 +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
Sameer Kolhar
067664dee7 console: align method badges on REST endpoint list view
GitOrigin-RevId: 4ca09226629d49c8f6c0dae768cf5b0c49524331
2021-02-23 12:55:12 +00:00
Rikin Kachhia
2a2e09d671 docs: update canonical url to use latest (#637)
GitOrigin-RevId: 4be2326862ddb376d9a6961f3fe23179a835e019
2021-02-23 12:29:44 +00:00
Sooraj
a365f4c7d6 handle inconsistent sources on console
GitOrigin-RevId: a2d4a1dca6239ee2718defb6d3e02ccfa16db9b8
2021-02-23 12:18:51 +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
Rishichandra Wawhal
b1464afbe5 console: heroku oneclick integration
GitOrigin-RevId: c77a2d46238763761f8406c0a0e1c53c6f7b32dd
2021-02-23 09:03:03 +00:00
Phil Freeman
478acdb23c server: Fix issues with remote schemas over TLS
GitOrigin-RevId: 2734b5b1bd45e5a379ac8e4fc65f79d2b3b1233e
2021-02-23 01:20:53 +00:00
Anon Ray
cad013c039 multitenant: fix cloud schema files
GitOrigin-RevId: 99f04df3654ab83f64489960b5f7ecf5f86c9a99
2021-02-22 16:03:07 +00:00
Naveen Naidu
4fa34e1d5e server: Apply migrations when catalog version < 43
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
GitOrigin-RevId: 4fa1a04f4924002faac1eca2e5092dfa8767fdb9
2021-02-22 15:00:24 +00:00
hasura-bot
8ab4213020 cli: fix minor typo
GITHUB_PR_NUMBER: 6574
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6574

Co-authored-by: Samuel Ainsworth <226872+samuela@users.noreply.github.com>
GitOrigin-RevId: f62f046d9b3756d1bd64ee9ffeb1e047ebd159b9
2021-02-22 13:26:24 +00:00
Aravind K P
fe0d85804a cli: fix tls config of api client
GitOrigin-RevId: 5fb26450aae3062b0b96093e7884f6277ed846f0
2021-02-22 12:43:11 +00:00
Abby Sassel
b00009f4bb server: fix issue with queries on character column types (close #6217)
GitOrigin-RevId: 81eaa0db63656b1d37b9b71736d4309af902cc47
2021-02-22 10:21:21 +00:00
Anon Ray
0dfe83f931 server: optimize resolving source
GitOrigin-RevId: e0513a714b5e3f6d730b0470e1836ed44badd3c0
2021-02-22 07:53:36 +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
Antoine Leblanc
377425ff2d server: generalize subscriptions
GitOrigin-RevId: 464e80abf151032dc50eaf6cf8dafc5e7cfa51cd
2021-02-20 13:46:43 +00:00
Sameer Kolhar
da1a7a58a9 console: update manage databases UI (#499)
GitOrigin-RevId: 68f58ef7def6391f6d7798f64a56e3c340e44b31
2021-02-19 19:41:30 +00:00
Aleksandra Sikora
88e71f3256 console: fix raw sql callback
GitOrigin-RevId: cbc4a338e9106d4f284ac8b06131a5acb34fa38a
2021-02-19 14:41:59 +00:00
Aravind K P
730ac1aed4 ci: stop building and pushing cli-migrations-v1 image in deploy step (#602)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
GitOrigin-RevId: 2e0b6f39a953116273a6dcaa59c06371844519f2
2021-02-19 11:49:02 +00:00
Praveen Durairaju
16db278002 update newsletter link in readme (#593)
GitOrigin-RevId: e9df0602e913f9c056afbbb6bd389b8e6c81a2fd
2021-02-19 11:02:39 +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
David Overton
7e79f8dc64 Fix migrations
Provides queries for fetching and inserting metadata into that database that do not assume there is a `resource_version` column. This means that will work when migrating to/from older versions.

Co-authored-by: Lyndon Maydwell <92299+sordina@users.noreply.github.com>
GitOrigin-RevId: dac636d530524082c5a13ae0f016a2d4ced16f7f
2021-02-19 08:47:10 +00:00