Commit Graph

784 Commits

Author SHA1 Message Date
Aleksandra Sikora
4daa8ad229 console: add missing source to count request
GitOrigin-RevId: 14a2d0e452fe41d7bfa3414a569a08ae8cc2a7d1
2021-01-22 11:56:39 +00:00
Aleksandra Sikora
8dad2da178 Revert "console: tag console requests"
Reverts hasura/graphql-engine-mono#143

GitOrigin-RevId: fa16726ec4ea6f69153b0105c08de017874d158a
2021-01-21 10:21:53 +00:00
Aleksandra Sikora
b4fd2e3f9f console and cli: run console in CLI mode for tests, misc CLI fixes (#368)
GitOrigin-RevId: 4563444387a4c9d02b5429729fe30bc87763288f
2021-01-20 20:18:44 +00:00
Sameer Kolhar
bd2e6a0567 console: tag console requests
resolves #134

The PR adds a new header(`Hasura-Internal-Request-Source`) to every request sent to the server.

Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 9d1538fcf92fd5a00c649884b910da3f3993cd47
2021-01-19 15:36:46 +00:00
Aleksandra Sikora
b829520f49 console: fix imports and raw sql regression
* Fixed imports ('../../../Common/utils/v1QueryUtils' -> '../../../../metadata/queryUtils') which will fix adding and dropping action permissions and table enum toggle.
* Fixed regression from 0dd1e4d58a (diff-2016a81d31343f475f94d13fe21aad0f56664f386c0455210021dc197b3d1dadL173) regarding setting `track this` for functions.

GitOrigin-RevId: 458b84ba06f002c89b5615dbef8c76920a978824
2021-01-18 19:03:37 +00:00
hasura-bot
a398d3b190 cli: support datasources
GITHUB_PR_NUMBER: 6111
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6111

Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 1f6517acfacb58c566bb5e48f74ea0dfa5c6f063
2021-01-18 17:12:09 +00:00
Aleksandra Sikora
5aedaace28 console: support volatile functions (close #6228)
Close https://github.com/hasura/graphql-engine/issues/6228

GitOrigin-RevId: 814c38846f49abd8c5ee48129e61d1a00b81a41e
2021-01-13 04:22:40 +00:00
Aleksandra Sikora
efb5fd70f2 console: update connection_info to be optional
GitOrigin-RevId: 1bf93da749252057c41ef896cfa84f1e6189864e
2021-01-12 10:04:08 +00:00
Sameer Kolhar
ffd5e57666 console: update set_table_custom_fields to use set_table_customization API
#### Changelog - (have added an entry)

#### PR Description

This PR resolves https://github.com/hasura/graphql-engine/issues/6284.

 - Updates the API being used as the issue requires.
 - Places a check to raise an error whenever the user tries to save the custom_fields without _any_ input (it was possible in the previous versions of the console)

 - Updated form (picture)

<img width="745" alt="image" src="https://user-images.githubusercontent.com/6604943/103933740-d866a480-5149-11eb-90b2-e1c1c4559902.png">

Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: df3127c3c58b5ecf2d6ab79cb95610a96592ca12
2021-01-11 21:59:10 +00:00
Aleksandra Sikora
0401ce82dc console: replace Hasura logo and favicon in oss and pro consoles
<img width="338" alt="Screenshot 2021-01-07 at 14 02 10" src="https://user-images.githubusercontent.com/9019397/103895599-f0f6a080-50f0-11eb-8bd9-d8b96a43c300.png">

GitOrigin-RevId: 1700238a5d18923120616e7f4944acb05ccd689c
2021-01-11 17:29:58 +00:00
Aleksandra Sikora
07bde9f577 console: tests improvements and misc fixes to multiple data sources (#315)
GitOrigin-RevId: db7dfce97ac5303cc09974ad7db97beb31e1ae18
2021-01-11 08:04:12 +00:00
Rakesh Emmadi
be62641f68 server: multi source metadata APIs (#217)
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
Co-authored-by: Anon Ray <ecthiender@users.noreply.github.com>
Co-authored-by: Vishnu Bharathi <vishnubharathi04@gmail.com>
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
Co-authored-by: Sameer Kolhar <kolhar730@gmail.com>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
GitOrigin-RevId: 0dd1e4d58ab81f1b4ce24de2d3eab709c2755e6d
2021-01-07 09:05:19 +00:00
Aleksandra Sikora
f0799b47a4 console: misc fixes (close #4785, #6330, #6288, #6374) (#227)
GitOrigin-RevId: 420fd0a949ec1c58f2d6954a74a693be5e3d7214
2020-12-22 14:18:58 +00:00
Aleksandra Sikora
3b140b63ec console: fix save action permissions request (#214)
GitOrigin-RevId: 083f749c7e36a3f3b5fba623f17c35b047d53308
2020-12-16 12:36:38 +00:00
Aleksandra Sikora
479fc6efb0 console: add update version banner (#192)
GitOrigin-RevId: d4c03707341489accc3450ffa5b4404a146f108f
2020-12-11 12:02:53 +00:00
hasura-bot
f5e56e8981 console: automatically wrap default column values in quotes (close #418) (#162)
Co-authored-by: Varun Choudhary <varun@hasura.io>
Co-authored-by: Sameer Kolhar <sameer@hasura.io>
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
GITHUB_PR_NUMBER: 5805
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5805

Co-authored-by: Varun Choudhary <varun@hasura.io>
Co-authored-by: Sameer Kolhar <sameer@hasura.io>
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
GitOrigin-RevId: 8c80998ed9fd803465b3ce2ded7de39acdbd545b
2020-12-08 09:30:38 +00:00
hasura-bot
e27535e9b9 console: fix cron trigger path when containing "/" (close #5935) (#161)
Co-authored-by: kentaro84207 <kentaro84207@gmail.com>
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
GITHUB_PR_NUMBER: 5953
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5953

Co-authored-by: kentaro84207 <kentaro84207@gmail.com>
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
GitOrigin-RevId: 995492c13d8e5ab56c1bd003333c39ea716cd60d
2020-12-07 14:10:24 +00:00
Aleksandra Sikora
237ac68047 console: allow URLs with templated environment variable for data events (close #6239) (#154)
GitOrigin-RevId: f851af1736280becafff5efcc48867926cadec01
2020-12-04 13:02:19 +00:00
hasura-bot
7b31ff99d1 Support Postgres POSIX regex operators (close #4317) (#119)
Co-authored-by: christophediprima <dipdipdip84@gmail.com>
Co-authored-by: dip <dipdipdip84@gmail.com>
Co-authored-by: Auke Booij <auke@hasura.io>
Co-authored-by: Antoine Leblanc <antoine@hasura.io>
GITHUB_PR_NUMBER: 6172
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6172
GitOrigin-RevId: 5192d238b527cd21b6efb2f74e279ecc34756c29
2020-11-27 10:54:52 +00:00
hasura-bot
862f160ee6 console: select first operator by default on the browse rows screen (close #5729) (#93)
Co-authored-by: Dmitrii Grachikov <dgrachikov@gmail.com>
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
GITHUB_PR_NUMBER: 6032
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6032

Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
Co-authored-by: Dmitrii Grachikov <dgrachikov@gmail.com>
GitOrigin-RevId: 44c2f5f082e3bd854a72abf56ca665bc1b213160
2020-11-24 16:17:57 +00:00
Karthikeyan Chinnakonda
e2d07bb507 console/docs: add support for computed fields for views (close #6168)
Co-authored-by: rikinsk <rikin@hasura.io>
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
GITHUB_PR_NUMBER: 6174
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6174
GitOrigin-RevId: d03d9863251aaab696d34bf3672afa9decd7a5bc
2020-11-12 20:43:49 +00:00
Vishnu Bharathi P
58c44f55dd Merge oss/master onto mono/main
GitOrigin-RevId: 1c8c4d60e033c8a0bc8b2beed24c5bceb7d4bcc8
2020-11-12 22:37:19 +05:30
Vishnu Bharathi P
666058ab7f oss: renames dot files and folders
GitOrigin-RevId: 540aeec3be091e1cfb7b05a988f50445534ed663
2020-11-12 22:37:19 +05:30
Sameer Kolhar
31d07cb976
console: notifications bug fixes (#6067)
https://github.com/hasura/graphql-engine/pull/6067
2020-11-06 14:53:18 +00:00
Gnyani
bd6254c58b
console: improve events table UX (close #5477) (#5507)
https://github.com/hasura/graphql-engine/pull/5507
2020-10-15 15:20:04 +00:00
Sooraj
56063515e5
console: fix dropping Postgres dependencies (close #5993) (#5998) 2020-10-15 10:28:56 +02:00
Sooraj
6299d1c278
console: down migrations improvements (close #3503, #4988) (#4790) 2020-10-14 13:27:32 +05:30
Varun Choudhary
2717c38352
console: improve UI for nested remote relationships (close #4973) (#5612)
https://github.com/hasura/graphql-engine/pull/5612
2020-10-07 21:07:58 +00:00
Anuj Shah
8bca587881
console: fix default option selected when cloning row in data browser (close #5340) (#5364) 2020-10-07 22:35:20 +02:00
Abhijeet Singh Khangarot
00289801ff
console: make top navigation bar responsive (close #3680) (#5798)
https://github.com/hasura/graphql-engine/pull/5798
2020-10-07 11:31:12 +00:00
Sameer Kolhar
af32ccff36
server: limit length of event trigger names (close #5786) (#5826)
https://github.com/hasura/graphql-engine/pull/5826
2020-10-06 15:22:09 +00:00
Sameer Kolhar
9cb44fa61e
console: add notifications (#5070) 2020-10-05 14:31:10 +05:30
Sameer Kolhar
18e4c103ad
console: add option to flag an insertion as a migration (close #1766) (#4993)
https://github.com/hasura/graphql-engine/pull/4993
2020-09-29 17:15:39 +00:00
Sameer Kolhar
822a856658
console: unify localStorage utils (#5311)
https://github.com/hasura/graphql-engine/pull/5311
2020-09-29 16:32:11 +00:00
jasvithaM
92b3342ba9
console: remove ONLY as default for ALTER TABLE in column alter operations (close #5512) (#5706)
https://github.com/hasura/graphql-engine/pull/5706
2020-09-28 19:54:39 +00:00
Varun Choudhary
daeb1209ab
console: make error notifications dismissible only after clicking on the close button (close #5533) (#5780)
https://github.com/hasura/graphql-engine/pull/5780
2020-09-28 19:23:17 +00:00
Abhijeet Singh
ee00315ffb
console: trim role names when submitting the form (close #5553) (#5748)
https://github.com/hasura/graphql-engine/pull/5748
2020-09-24 07:28:38 +00:00
Sameer Kolhar
1692e706d2
console: show warning on failing to parse schema for GraphiQL editor (#5640)
https://github.com/hasura/graphql-engine/pull/5640
2020-09-21 14:28:14 +00:00
Sameer Kolhar
6bc1b5432f
console: add missing headers to api request (#5757) 2020-09-09 14:43:14 +02:00
Aleksandra Sikora
b93f8b8737
console: init new websocket client when headers change (close #5744) (#5756) 2020-09-09 11:56:44 +02:00
Rikin Kachhia
37d9a7c841
console: collapse non-trackable functions section (#5657) 2020-08-25 13:03:18 +05:30
surendran82
c758547ce9
console: support forums UI (#5101) 2020-08-24 14:16:41 +02:00
Sameer Kolhar
ad3cfb4681
console: mark inconsistent schemas in the UI (close #5093) (#5181) 2020-08-24 13:31:45 +02:00
Sooraj
41f35c684e
console: allow user to cascade Postgres dependencies when dropping Postgres objects (close #5109) (#5248) 2020-08-22 14:07:02 +02:00
Aleksandra Sikora
b93da39b5c
console: fix remove column test (#5622) 2020-08-20 16:32:45 +02:00
Rishichandra Wawhal
72ecaed8d1
console: remove postinstall script from package.json (#5630) 2020-08-20 12:36:08 +02:00
Kentaro Suzuki
95750b61f9
console: fix folding of invocation information in redeliver event modal (close #5515) (#5559) 2020-08-20 09:40:17 +02:00
Sid Sethupathi
754acc7707
console: fix broken link in permissions section (#5598) 2020-08-17 18:05:14 +02:00
Aleksandra Sikora
b40c0488a7
console: fix handling separated sql and statement timeout (#5600) 2020-08-17 12:13:01 +02:00
Aleksandra Sikora
16b7dd27aa
Merge branch 'master' into feature/add-identity-frequent-column 2020-08-12 15:36:55 +02:00
Harish M
33d99b994d
console: migrate AlertBox component to typescript (#4721) 2020-08-12 15:31:53 +02:00
Lautaro Gruss
1b96d800c5
console: migrate login actions to typescript (#5499) 2020-08-12 11:20:43 +02:00
Rikin Kachhia
15b7def1c7
update indentity column display text 2020-08-11 18:38:24 +05:30
Aleksandra Sikora
5cc02b9edc Merge branch 'feature/add-identity-frequent-column' of github.com:GavinRay97/graphql-engine into feature/add-identity-frequent-column 2020-08-06 12:34:05 +02:00
Aleksandra Sikora
0becc4f3e2 update typescript-eslint 2020-08-06 12:33:43 +02:00
Aleksandra Sikora
bf5a416f3e
Merge branch 'master' into feature/add-identity-frequent-column 2020-08-06 12:11:46 +02:00
Aleksandra Sikora
add325934d fetch postgres version 2020-08-05 21:20:41 +02:00
Varun Choudhary
d4b4459c98
console: fix inconsistency in permissions builder (close #4119) (#5524) 2020-08-05 13:46:57 +02:00
Rikin Kachhia
925b668161
console: separate timeout statement from user statement in raw sql page (#5516) 2020-08-04 13:00:38 +02:00
Aleksandra Sikora
672351add5 move postgres utility types 2020-08-03 18:49:08 +02:00
Aleksandra Sikora
6dab31d7fb lint 2020-08-03 18:42:58 +02:00
Aleksandra Sikora
bb5a5bd8f9
Update FrequentlyUsedColumnSelector.tsx 2020-08-03 18:29:15 +02:00
Aleksandra Sikora
decdcc34ab
Merge branch 'master' into feature/add-identity-frequent-column 2020-08-03 18:21:52 +02:00
Kentaro Suzuki
0ec014881a
console: increase size of redeliver event modal (close #5480) (#5502) 2020-08-03 15:55:04 +02:00
Varun Choudhary
b37b451992
console: fix primary key selector bug and raw sql error message (close #4226) (#5469) 2020-08-03 15:00:25 +02:00
Gnyani
7d06d7a6ab
console: prettify cron trigger JSON payload (close #5052) 2020-08-03 14:01:48 +02:00
Sameer Kolhar
ebd6fe13f0
console: remove obsolete files and update dependencies (#5327) 2020-07-31 15:58:19 +02:00
Gnyani
58b0ac1352
console: trim trailing spaces in action handler URL (close #5416) 2020-07-31 13:24:37 +02:00
Anuj Shah
65e568e6dd
console: handle nested fragments in allowed queries (close #5137) (#5252) 2020-07-31 12:17:52 +02:00
Rikin Kachhia
d1032b2414
console: make add column UX consistent with others (#5486) 2020-07-30 22:54:20 +02:00
Rikin Kachhia
7045fffefa
console: misc updates (#5488) 2020-07-30 18:34:47 +02:00
Rikin Kachhia
8194494afa
console: fix telemetry (#5484) 2020-07-30 21:05:17 +05:30
Rikin Kachhia
03305bb788
console: update sidebar icons for different action and trigger types (#5445) 2020-07-22 17:10:17 +05:30
Sameer Kolhar
ca650353de
console: left-align content on data table (#5408) 2020-07-21 16:54:14 +02:00
Rikin Kachhia
56da4891c3
console: UI updates (#5427)
- Schema page
  - Keep function sections expanded by default
  - Add Know more link for relationships
- Table relationships page
  - Add tooltips / know more links
  - Update add table relationship UI
  - Remote relationships -> remote schema relationships 
  - Make remote relationships UI consistent
- Events pages
  - fix breadcrumbs
  - update scheduled trigger info image
  - add note regarding UTC timezone based events to tooltip for cron triggers
2020-07-21 18:21:34 +05:30
Kentaro Suzuki
788095acba
console: fix import metadata button text (close #5386) (#5415) 2020-07-20 20:46:45 +02:00
soorajshankar
4a116c793b
console: use requestAction instead of fetch (#5406) 2020-07-20 17:48:59 +02:00
Sameer Kolhar
d193af7d11
console: fix clear text issue on RawSQL page (#5351) 2020-07-20 16:57:13 +02:00
Todd Heslin
a677c62dae
console: fix custom root field placeholder for insert one mutation (close #5345) (#5346) 2020-07-20 16:15:52 +02:00
Sameer Kolhar
d8055a7ca6
console: add tooltips to certain headers on API Explorer (#5286) 2020-07-15 18:19:29 +05:30
Aleksandra Sikora
773a29d612
console: don't set payload for data trigger (#5370) 2020-07-13 17:38:43 +02:00
Gavin
66479870ad feat(console): Add "identity" frequently used column, refactor to TS 2020-07-12 01:14:04 -04:00
Aleksandra Sikora
cefe06e089
console: fix clone row in data browser (close #5336) (#5337) 2020-07-09 20:32:44 +05:30
Tanvi Bhakta
51174ceb0e
console: display line number that error originated from in GraphQL editor (close #4849) (#4942) 2020-07-09 13:58:25 +02:00
surendran82
b1b92c75ad
console: update hasura pro content to cloud in header (#5268) 2020-07-08 16:01:31 +05:30
soorajshankar
b1c686f303
console: searchable select UX fix (close #5246) (#5254) 2020-07-08 15:21:41 +05:30
Aleksandra Sikora
4637de42e8
console: add statement timeout for data browser count query (#5313) 2020-07-07 15:56:15 +05:30
Aleksandra Sikora
5d35f564e9
console: fix creating migrations from Raw SQL page (close #5296) (#5308) 2020-07-06 13:49:16 +05:30
Rakesh Emmadi
2fe353a294
allow array relation connection fields regardless of aggregation permission & change relay endpoint to '/v1beta1/relay' (fix #5218) (#5257)
* fix error when array relation connections are queried, fix #5218

* change relay endpoint to '/v1beta1/relay'

* Update CHANGELOG.md

Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-07-03 12:00:35 +05:30
Aleksandra Sikora
53a40bc2be
console: handle generated and identity columns in console data section (close #4552, #4863) (#4761) 2020-07-02 14:32:34 +05:30
Sameer Kolhar
6cd9eb282a
console: add button to cancel one-off scheduled events and cron-trigger events (close #5161) (#5236) 2020-07-02 13:57:53 +05:30
Aleksandra Sikora
af452de754
console: support tracking partitioned tables (close #5071) (#5258) 2020-07-02 13:14:27 +05:30
Anuj Shah
a78f17b79c
console: add code exporter to graphiql (close #4531) (#4652) 2020-07-01 23:16:09 +02:00
Gokul
b9918e0eac
console: allow configuring statement timeout on console RawSQL page (close #4998) (#5045) 2020-07-01 22:06:24 +02:00
soorajshankar
ab311cd9f1
console: add eslint-plugin-react-hooks (#5219) 2020-07-01 12:22:09 +02:00
John Duong
6fe0b748e2
community: fix DATA_API_URL for Heroku in console README (#5069) 2020-07-01 09:54:00 +02:00
Sameer Kolhar
f8b58ea698
console: fix styling of table row content on relationship page (close #4974) (#4979) 2020-06-25 10:13:37 +02:00
Marion Schleifer
527530704d
docs/console: clarify usage of "query" vs "request" , change allowed queries to allow list (close #4053) (#5182) 2020-06-24 23:00:08 +05:30
Sameer Kolhar
01e7b2aea0
console: display error notification if an introspection query fails (#5184) 2020-06-24 13:39:38 +02:00
Aleksandra Sikora
9936ace6ab
console: handle renaming cron triggers (#5167) 2020-06-23 15:56:51 +02:00
Sameer Kolhar
4293714519
console: add the ability to delete a role in permissions summary page (close #3353) (#4987) 2020-06-19 14:36:40 +05:30
Aleksandra Sikora
f2428e3984
console: allow manual edit of column types and handle array data types (close #2544, #3335, #2583) (#4546) 2020-06-18 12:43:19 +02:00
Rikin Kachhia
3c76ddf493
console: misc UX improvements (close #4500, #4689) (#5066) 2020-06-18 10:36:42 +02:00
Egor Ogarkov
df8a0b7924
console: migrate wrap type utils to typescript (#4557) 2020-06-17 17:21:49 +02:00
Pavel Kostenko
213958ac09
console: fix typo in remote relationships tooltip (close #5113) 2020-06-17 10:26:37 +02:00
Aravind
d7ca702542
cli: support squashing migrations with remote joins (close #4908) (#4924) 2020-06-16 12:10:20 +05:30
Marek Dano
65920fb77b
console: migrate main state to typescript (#4804) 2020-06-15 20:25:16 +02:00
Sameer Kolhar
fd00892371
console: reuse websocket connection in api explorer (#5064) 2020-06-12 16:32:21 +02:00
Aleksandra Sikora
0bdfad4ef0
console: remove proposal-export-default-from (#5032) 2020-06-12 12:11:28 +02:00
Aleksandra Sikora
f73b847ddc
console: fix handling inconsistent objects (close #5072) (#5073) 2020-06-12 11:11:54 +02:00
soorajshankar
cb3252cf07
console: allow configuring session_argument for custom functions (close #4499) (#4922) 2020-06-11 14:38:32 +02:00
Rishichandra Wawhal
7efc53206f
console: add default graphiql mode in api explorer (#5061) 2020-06-11 15:41:17 +05:30
Rishichandra Wawhal
63eb311169
console: fix listen update column config selection for event trigger (close #5042) (#5043) 2020-06-10 14:05:43 +02:00
Pavel Kostenko
2030da5282
console: convert settings/utils to typescript (#4684) 2020-06-10 10:52:23 +02:00
soorajshankar
c8d242dd13
console: provide option to cascade metadata on dependency conflicts (close #1593) (#4846) 2020-06-09 18:26:44 +02:00
soorajshankar
2861beaa20
console: fix enum tables reload data button UI (close #4647) (#4877) 2020-06-09 17:10:26 +02:00
soorajshankar
0df38f0a95
console: respect read-only mode in actions pages (close #4656) (#4764) 2020-06-09 14:23:02 +02:00
Ryan Dsouza
dd977d6c22
console: convert About and Login components to typescript (#4794) 2020-06-09 13:21:04 +02:00
Marek Dano
fa60c7d4b6
console: migrate telemetry to typescript (#4737) 2020-06-09 11:01:12 +02:00
Aleksandra Sikora
e4ff1badd6
Merge branch 'master' into migrate-sidebar-to-ts 2020-06-08 20:59:17 +02:00
Aleksandra Sikora
e800e32bdf
console: fix "Cannot read property 'foldable'" runtime error in Browse Rows page (fix #4907) (#5016) 2020-06-08 20:10:39 +05:30
Aleksandra Sikora
547e658b6d
console: replace remote schema url in tests (#5011)
* console: replace remote schema url

* Rename lint to console lint
2020-06-08 17:45:43 +05:30
Vamshi Surabhi
2a9bc2354f
add relay modern support (#4458)
* validation support for unions and interfaces

* refactor SQL generation logic for improved readability

* '/v1/relay' endpoint for relay schema

* implement 'Node' interface and top level 'node' field resolver

* add relay toggle on graphiql

* fix explain api response & index plan id with query type

* add hasura mutations to relay

* add relay pytests

* update CHANGELOG.md

Co-authored-by: rakeshkky <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Rishichandra Wawhal <rishi@hasura.io>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
2020-06-08 17:43:01 +05:30
Xetera
2ada31292f
console: add new sidebar icon that separates enums from tables (fix #4984) (#4992) 2020-06-06 17:17:40 +05:30
Marek Dano
20cf05d883
console: migrate Globals to TS (#4587) 2020-06-06 16:34:35 +05:30
Sameer Kolhar
d67757c23a
console: update QueryAnalyzer to support subscriptions (close #2541) (#4965) 2020-06-06 15:23:37 +05:30
Aleksandra Sikora
342c017d1b
Merge branch 'master' into migrate-sidebar-to-ts 2020-06-05 21:36:02 +02:00
Aleksandra Sikora
2b4d12ec49 Fix eslint config, run prettier 2020-06-05 21:35:38 +02:00
Aleksandra Sikora
d651319110 Fix location type 2020-06-05 21:31:57 +02:00
Aleksandra Sikora
78d2f2ced0 Merge branch 'master' into migrate-sidebar-to-ts 2020-06-05 21:25:19 +02:00
Sameer Kolhar
e4e4856085
console: improve error handling for prerelease notification opt-out (#4983) 2020-06-05 15:38:01 +05:30
Rishichandra Wawhal
aaab6d3eb6
console: add scheduled triggers support (#4732) 2020-06-05 13:40:08 +05:30
soorajshankar
1b3f5b8fcf
console: fix regression in editing permissions manually (fix #4683) (#4826) 2020-06-04 20:51:01 +05:30
Aleksandra Sikora
45c8699e23
console: dependencies cleanup (#4705) 2020-06-02 13:44:45 +05:30
Aleksandra Sikora
af0d4d8f08
console: replace remote schema url in tests (#4964) 2020-06-02 12:41:14 +05:30
Marek Dano
61349c091a
console: migrate ErrorBoundary to TS (#4542) 2020-05-29 19:10:17 +05:30
Kshitiz Kumar
a2a492e5d9
console: migrate CollapsibleToggle to TS (#4697) 2020-05-29 18:34:28 +05:30
Rishichandra Wawhal
6b590cb4f8
console: remote joins code improvements (#4920) 2020-05-29 18:00:37 +05:30
Aleksandra Sikora
41b3be82fb
workflow: add lint and format action for console (#4501) 2020-05-29 16:45:43 +05:30
Rishichandra Wawhal
ea2f1679eb
console: require async globals before render; track runtime errors (#4449) 2020-05-29 15:15:33 +05:30
soorajshankar
d2aac3732a
console: allow entering big int values (close #3667) (#4775) 2020-05-29 14:40:02 +05:30
soorajshankar
b2fd57a8e2
console: fix visiting view modify page overwriting raw sql content (close #4798) (#4810) 2020-05-29 14:11:02 +05:30
Aleksandra Sikora
bc16668ff6
console: remove deprecated better-npm-run (#4819) 2020-05-29 12:09:58 +05:30
Rikin Kachhia
594b387263
console: add Help button and move About page to settings (#4848) 2020-05-27 21:43:04 +05:30
Tirumarai Selvan
c0d2bc6653
Remote Joins: Create relationships across database and remote schemas (#2392)
add remote joins: Create relationships across database and remote schemas (#2392)

Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>

Co-authored-by: Chris Done <chrisdone@gmail.com>
Co-authored-by: Chris Done <github@chrisdone.com>
Co-authored-by: wawhal <rishichandra.wawhal@gmail.com>
Co-authored-by: Aravind Shankar <aravind@hasura.io>
Co-authored-by: Brandon Simmons <brandon.m.simmons@gmail.com>
Co-authored-by: Rishichandra Wawhal <rishi@hasura.io>
Co-authored-by: Brandon Simmons <brandon@hasura.io>
Co-authored-by: nizar-m <19857260+nizar-m@users.noreply.github.com>
Co-authored-by: Praveen Durairaju <praveend.web@gmail.com>
Co-authored-by: rakeshkky <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Anon Ray <rayanon004@gmail.com>
Co-authored-by: Shahidh K Muhammed <shahidh@hasura.io>
Co-authored-by: soorajshankar <soorajshankar@users.noreply.github.com>
Co-authored-by: Sooraj Sanker <sooraj@Soorajs-MacBook-Pro.local>
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
2020-05-27 20:32:58 +05:30
Aleksandra Sikora
c1197be208
console: fix dependency vulnerabilities (#4677) 2020-05-27 16:04:38 +05:30
Raj Anand
1b442fc2dd
console: migrate cypress tests to TypeScript (#4550) 2020-05-27 14:56:29 +05:30
Ryan Dsouza
b088db6ed7 console: migrate Container.js to TypeScript (#4724) 2020-05-27 14:20:26 +05:30
ryo
fb807843c9
console: migrate Button to TypeScript (#4570) 2020-05-27 13:25:40 +05:30
Aleksandra Sikora
f7cb3c1f19
Merge branch 'master' into migrate-sidebar-to-ts 2020-05-25 19:29:16 +02:00
Vamshi Surabhi
ff99b24031 fix a security issue with 1.2 2020-05-22 14:40:57 +05:30
Marek Dano
289ff5e737
console: migrate VoyagerView to TS (#4734) 2020-05-20 15:33:19 +05:30
ryo
fffc65f153
console: migrate switch button and spinner to TypeScript (#4504) 2020-05-19 17:47:33 +05:30
Rikin Kachhia
7a7ff29e08
console: fix undercores not being displayed in raw sql (close #4754) (#4799) 2020-05-18 13:46:08 +05:30
Aleksandra Sikora
78aa346d72
console: fix displaying boolean values in Edit Row tab (#4682) 2020-05-15 14:36:45 +05:30
Rishichandra Wawhal
5a39143518
console: add more themes to ace editor for supporting syntax highlighting (#4600) 2020-05-14 23:27:56 +05:30
Ryan Dsouza
619d167329
console: migrate HTML helpers, route hooks helpers and version utils to TypeScript (#4641) 2020-05-14 19:30:05 +05:30
Aleksandra Sikora
8a2d90cfb1
console: fix bulk selected rows state in data browser (close #4654) (#4673) 2020-05-14 18:55:57 +05:30
Irshad Ansari
d039c12e1d
console: migrate Common/Modal to TypeScript (#4532) 2020-05-14 18:09:28 +05:30
Fadi Khadra
a94012b1b1
console: migrate WarningSymbol and TextInput to TypeScript (#4562) 2020-05-14 17:30:49 +05:30
Marek Dano
ced1b4d001
console: migrate TelemetryFilter file to TS (#4579) 2020-05-14 16:50:40 +05:30
gnyani
5d2b082194
console: trim column name input values (fix #4526) (#4545) 2020-05-14 16:20:12 +05:30
Aleksandra Sikora
1cbb765acd
console: fix rows limit display in permissions editor if set to zero (fix #4559) (#4750) 2020-05-14 15:35:00 +05:30
Tirumarai Selvan
cc8e2ccc78
Scheduled triggers (close #1914) (#3553)
server: add scheduled triggers 

Co-authored-by: Alexis King <lexi.lambda@gmail.com>
Co-authored-by: Marion Schleifer <marion@hasura.io>
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
2020-05-13 18:03:16 +05:30
Antoine Leblanc
201dcca59a
console: restore partial support for foreign tables (fix #4714) (#4742) 2020-05-12 17:18:35 +05:30
Jigyasu Arya
f993a6c907
console: fix checkbox for forwarding client headers in actions (close #4595) (#4669) 2020-05-12 15:22:23 +05:30
Fadi Khadra
cd1c562073
console: allow modifying default value for PK (close #4075) (#4679) 2020-05-12 11:46:48 +05:30
Marek Dano
cd1f43397c Replace react-router-dom by react-router version 3. 2020-05-08 19:57:02 +01:00
Rikin Kachhia
c2fdcd0471
console: optimise count fetch in data browser (#4692)
* in table-browse-rows, make intelligent count

* update changelog

* simplify getting estimatedCount

* prevent doubled requests

* hide estimated count

* update changelog

* Update CHANGELOG.md

Co-authored-by: Rishichandra Wawhal <rishi@hasura.io>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
2020-05-06 23:37:56 +05:30
Marek Dano
dbafb92a07 Replace 'any' in the Sidebar component and fix eslint issue. 2020-05-06 13:36:30 +01:00
Marek Dano
17a4b98e9a Migrate Sidebar to tsx. 2020-05-06 12:44:52 +01:00
Marek Dano
1e2c05426d Remove react-router and replace it with react-router-dom in the console project. 2020-05-06 12:44:15 +01:00
surendran82
5998d22231
console: add read replica support section to pro popup (#4118) 2020-05-02 14:41:40 +05:30
Aleksandra Sikora
43f12db1d3
console: update @babel/core and @babel/preset-env (#4628) 2020-05-01 18:34:52 +05:30
Aleksandra Sikora
09d3c89d4c
console: fix data browser css issue in safari (close #4632) (#4634) 2020-05-01 05:31:22 +05:30
Aleksandra Sikora
220338d5d7
console: pin dependency versions (#4612) 2020-04-30 13:09:17 +05:30
Rikin Kachhia
c2df714e5d
docs: update migrations docs (#3403) 2020-04-29 13:30:26 +05:30
Rishichandra Wawhal
74563402d4
console: update and freeze graphiql explorer to support operation transforms (#4567) 2020-04-27 16:46:09 +05:30
Aleksandra Sikora
4746be2018
console: fix table columns type comparision during column edit (close #4125) (#4393) 2020-04-27 16:13:22 +05:30
Fadi Khadra
d9b9c21198
console: migrate GqlCompabilityWarning to TS (#4544) 2020-04-27 15:42:34 +05:30
Muhammad Ubaid Raza
08aecff498
console: migrate graphql, sql, main utils to TS (#4522) 2020-04-27 15:14:02 +05:30
Aleksandra Sikora
79a3b6131d
console: make graphiql panel use whole height (#4553) 2020-04-27 14:32:39 +05:30
Antoine Leblanc
66e18b7dee
console: support materialized views (close #91) (#4270) 2020-04-24 15:13:42 +05:30
Rakesh Emmadi
d52bfcda4e
backend only insert permissions (rfc #4120) (#4224)
* move user info related code to Hasura.User module

* the RFC #4120 implementation; insert permissions with admin secret

* revert back to old RoleName based schema maps

An attempt made to avoid duplication of schema contexts in types
if any role doesn't possess any admin secret specific schema

* fix compile errors in haskell test

* keep 'user_vars' for session variables in http-logs

* no-op refacto

* tests for admin only inserts

* update docs for admin only inserts

* updated CHANGELOG.md

* default behaviour when admin secret is not set

* fix x-hasura-role to X-Hasura-Role in pytests

* introduce effective timeout in actions async tests

* update docs for admin-secret not configured case

* Update docs/graphql/manual/api-reference/schema-metadata-api/permission.rst

Co-Authored-By: Marion Schleifer <marion@hasura.io>

* Apply suggestions from code review

Co-Authored-By: Marion Schleifer <marion@hasura.io>

* a complete iteration

backend insert permissions accessable via 'x-hasura-backend-privilege'
session variable

* console changes for backend-only permissions

* provide tooltip id; update labels and tooltips;

* requested changes

* requested changes

- remove className from Toggle component
- use appropriate function name (capitalizeFirstChar -> capitalize)

* use toggle props from definitelyTyped

* fix accidental commit

* Revert "introduce effective timeout in actions async tests"

This reverts commit b7a59c19d6.

* generate complete schema for both 'default' and 'backend' sessions

* Apply suggestions from code review

Co-Authored-By: Marion Schleifer <marion@hasura.io>

* remove unnecessary import, export Toggle as is

* update session variable in tooltip

* 'x-hasura-use-backend-only-permissions' variable to switch

* update help texts

* update docs

* update docs

* update console help text

* regenerate package-lock

* serve no backend schema when backend_only: false and header set to true

- Few type name refactor as suggested by @0x777

* update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* fix a merge bug where a certain entity didn't get removed

Co-authored-by: Marion Schleifer <marion@hasura.io>
Co-authored-by: Rishichandra Wawhal <rishi@hasura.io>
Co-authored-by: rikinsk <rikin.kachhia@gmail.com>
Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-04-24 14:40:53 +05:30
Rishichandra Wawhal
2e7e54fc2e
console: preserve the returning field set in a derived action (#4530) 2020-04-23 18:27:42 +05:30
Aleksandra Sikora
447aac3692
console: allow adding post-update checks in update permissions (close #4142) (#4313) 2020-04-22 17:55:10 +05:30
ryo
ae11e9b557
console: migrate checkbox, icon and radio button to TypeScript (#4373) 2020-04-22 16:47:10 +05:30
Rikin Kachhia
20c3beeea0
console: prevent trailing spaces while creating new role (close #3871) (#4497) 2020-04-21 21:36:21 +05:30
Rikin Kachhia
a9bca2383f
console miscellaneous fixes (#4433)
* format row count in data browser for readablity
* move pre-release notification tooltip msg to top
* remove extra localPresets key from migrations (close #3976)
* make nullable and unique labels for columns clickable in insert and modify
* fix row delete for relationships in data browser
2020-04-21 18:41:44 +05:30
Aleksandra Sikora
386786f57c
console: fix columns reordering for relationship tables in data browser (#4483) 2020-04-21 16:46:24 +05:30
Jigyasu Arya
e991180f43
console: change react ace editor theme to eclipse (close #4437) (#4443) 2020-04-20 18:12:45 +05:30
ShahAnuj2610
bf719cbf34
console: surround string type column default value with quotes (close #4371) (#4423) 2020-04-17 21:32:13 +05:30
Aleksandra Sikora
550de3e8a0
console: add possible undefined check (#4445) 2020-04-17 11:58:47 +05:30
Rishichandra Wawhal
8a5cc73ae6
cli, console: actions dx improvements (close #4306, #4311) (#4308) 2020-04-16 13:40:47 +05:30
Aleksandra Sikora
72b2301bc0
console: persist page size in data browser (#4323) 2020-04-15 20:38:37 +05:30
Rakesh Emmadi
dc31b835e1
allow reusing Postgres scalars in custom types & actions (close #4125) (#4333)
* allow re-using Postgres scalars in custom types, close #4125

* add pytest tests

* update CHANGELOG.md

* add a doc pointer for reusable postgres scalars

* document the code, improve the CHANGELOG entry

As suggested by @lexi-lambda

* a bit more source code documentation, use WriterT to collect reused scalars

* Apply suggestions from code review

Co-Authored-By: Marion Schleifer <marion@hasura.io>

* improve doc for Postgres scalars in custom graphql types

* Add some more references to Note; fix Haddock syntax

Also a few very minor tweaks:
  * Use HashSet instead of [] more pervasively
  * Export execWriterT from Hasura.Prelude
  * Use pattern guards in multi-way if
  * Tweak a few names/comments

* Pull buildActions out of buildAndCollectInfo, use buildInfoMap

* Tweak wording in documentation

* incorporate changes in console code

* account Postgres scalars for action input arguments

-> Avoid unnecessary 'throw500' in making action schema

* Review changes

Co-authored-by: Marion Schleifer <marion@hasura.io>
Co-authored-by: Alexis King <lexi.lambda@gmail.com>
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
2020-04-15 17:33:13 +05:30
Ali Oğuzhan Yıldız
dfc1f98e61
console: convert theme files to typescript (#4325) 2020-04-15 13:49:52 +05:30
ShahAnuj2610
cba85cd4a8
console: redirect to /:table/browse from /:table (close #4330) (#4374) 2020-04-13 19:52:32 +05:30
Rishichandra Wawhal
61d58906e7
console: recover from SDL parse in actions type definition editor (fix #4385) (#4389) 2020-04-13 18:22:07 +05:30
Rishichandra Wawhal
9b66724b41
console, cli, cli-ext: query support for actions (close #4032) (#4318)
Co-authored-by: Aravind Shankar <aravind@hasura.io>
2020-04-13 15:51:53 +05:30