Ikechukwu Eze
3f4dda2520
console: support computed fields in remote schema join
...
https://github.com/hasura/graphql-engine-mono/pull/2188
GitOrigin-RevId: 2d6fae62dbdcbdc7515a7b4982299dc9610a2230
2021-08-27 09:58:17 +00:00
Varun Choudhary
31fd4a3df2
console: support insecure TLS allowlist
...
https://github.com/hasura/graphql-engine-mono/pull/1985
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 9d71ff7624346395c91720bca260a5219622555e
2021-08-26 14:08:14 +00:00
hasura-bot
52aaf2751a
Fix typo: iconsistent -> inconsistent
...
GITHUB_PR_NUMBER: 7394
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7394
https://github.com/hasura/graphql-engine-mono/pull/2091
Co-authored-by: Tyler Breisacher <244381+MatrixFrog@users.noreply.github.com>
GitOrigin-RevId: a5a4547e5e187193ab4f7a2cb4b8e85139c75967
2021-08-25 13:26:18 +00:00
Nicolas Beaussart
05c0382036
console: fix remote schema permission spacing
...
https://github.com/hasura/graphql-engine-mono/pull/2182
GitOrigin-RevId: c362e377879c3faba3857b0bdcd77a9cb586c8f5
2021-08-23 12:56:16 +00:00
Nicolas Beaussart
89dc079977
pro-console: fix pro console ui and revert package locks
...
https://github.com/hasura/graphql-engine-mono/pull/2170
GitOrigin-RevId: f5344f5729be48bb0eb1c2a87a4e5641169975a0
2021-08-20 16:28:05 +00:00
Ikechukwu Eze
f02234ee10
console: remove redux-logger
...
https://github.com/hasura/graphql-engine-mono/pull/2130
GitOrigin-RevId: 557c69f13665984e5500543dfc3eb611c234bf9c
2021-08-19 23:24:16 +00:00
Ikechukwu Eze
4330798a71
console: fix error due too rendering inconsistent object's message
...
https://github.com/hasura/graphql-engine-mono/pull/2116
GitOrigin-RevId: a2d8230bf685a201991adfe33f548c9e9c24e44b
2021-08-19 16:43:17 +00:00
Nicolas Beaussart
582ebcca9c
console: move to dart-sass
...
https://github.com/hasura/graphql-engine-mono/pull/2155
GitOrigin-RevId: 2c86a617314d9c308c295c18cdbcba8060e2075c
2021-08-19 14:36:21 +00:00
Vijay Prasanna
479c0b3980
console: add quotes to column names
...
https://github.com/hasura/graphql-engine-mono/pull/2127
GitOrigin-RevId: 6c1596ad132a400f2c2864712d7ffa3a4a7ae2f2
2021-08-18 09:33:11 +00:00
Sooraj
c0ea2b0a04
console: oss test optimisation
...
https://github.com/hasura/graphql-engine-mono/pull/1837
GitOrigin-RevId: e638ca400a275a2cba7fec64f157c989b2147b8e
2021-08-18 08:38:34 +00:00
hasura-bot
2d03920169
console: add custom timeouts to actions
...
GITHUB_PR_NUMBER: 6251
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6251
https://github.com/hasura/graphql-engine-mono/pull/97
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 758c6d7edfbf3f7f3173653bceb53608b0f253d8
2021-08-17 11:59:22 +00:00
Sameer Kolhar
1243da1d54
server: fix regressions on invoking manual trigger
...
https://github.com/hasura/graphql-engine-mono/pull/2029
GitOrigin-RevId: d1a445cca8106835735c5e10cab045ea6a2e1635
2021-08-17 10:22:50 +00:00
Ikechukwu Eze
64a5c52904
console: support computed fields in permission builder
...
>
### Description
>
### 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] Console
### Related Issues
closes [#7336 ](https://github.com/hasura/graphql-engine/issues/7336 )
### Steps to test and verify
- Add a scalar computed field with only table row as argument, to the table you want to use for testing
- Then head to table's permission tab, and try to use permission builder to set permissions for any role
- confirm that computed fields are listed as options along table columns
https://github.com/hasura/graphql-engine-mono/pull/2056
GitOrigin-RevId: 2cd16ca4a0e6a6288d4b62549ebe1aaaf841952b
2021-08-16 12:28:03 +00:00
Abhijeet Khangarot
5de2ef7d31
console: allow same named queries and unnamed queries on allowlist file upload
...
https://github.com/hasura/graphql-engine-mono/pull/1906
GitOrigin-RevId: bdd752f49213a2056f39050d40d3dc299dc07819
2021-08-16 09:23:12 +00:00
Sameer Kolhar
3f35a9a219
console: support creation of indexes on the console for postgres sources
...
https://github.com/hasura/graphql-engine-mono/pull/358
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
GitOrigin-RevId: cd4a5073fb361fe1235f5d49a0dc9b025fc1379f
2021-08-11 18:02:56 +00:00
Vijay Prasanna
5d6211d3dc
console/inherited-roles: allow resolution of conflicting permissions
...
https://github.com/hasura/graphql-engine-mono/pull/2027
GitOrigin-RevId: 896759f70aa95bf4b16766cc6e4ca38cf10878e1
2021-08-11 14:21:14 +00:00
Nicolas Beaussart
e063835b83
console: fix ui for template gallery when there is no image
...
https://github.com/hasura/graphql-engine-mono/pull/1940
GitOrigin-RevId: 97fca7b6423309c22a1072b9e380ba724d7bad00
2021-08-11 11:24:04 +00:00
nevermore
05a12912aa
console: change HEROKU_DATABASE_URL to PG_DATABASE_URL while creating datasource on cloud
...
https://github.com/hasura/graphql-engine-mono/pull/2050
GitOrigin-RevId: d40b32feb2015780865ad4d74e442fbdc3da82b8
2021-08-11 09:23:19 +00:00
Nicolas Beaussart
a226d514af
console: add tailwindcss for styles
...
https://github.com/hasura/graphql-engine-mono/pull/2032
GitOrigin-RevId: d6552e990823acc3bdac829487e91ae931ac4345
2021-08-10 13:46:52 +00:00
Varun Choudhary
a4b01b2756
console: auto suggest gen_random_uuid()
while adding a default value to UUID type column in schema other than public
...
https://github.com/hasura/graphql-engine-mono/pull/1910
GitOrigin-RevId: c2ee953ca7cd72fc7cc143465be2fe84e4284636
2021-08-10 05:55:41 +00:00
Vijay Prasanna
74704801cb
console/tests: add manage db tests for mssql
...
https://github.com/hasura/graphql-engine-mono/pull/1782
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 1ed4c6d09d2dbd6f68faacd83e7daae916cff972
2021-08-09 14:04:54 +00:00
hasura-bot
e78bc4b0ed
console: export metadata before tracking new table ( fix #6805 ) ( fix #7221 ) ( fix #7233 )
...
GITHUB_PR_NUMBER: 7330
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7330
https://github.com/hasura/graphql-engine-mono/pull/1970
Co-authored-by: Kenneth J. Miller <6822406+KloudJack@users.noreply.github.com>
GitOrigin-RevId: 9532f7b596801ebcdd15bd40a9b3ace0b9b88326
2021-08-06 09:09:34 +00:00
Kali Vara Purushotham Santhati
0341037aeb
cli-ext: fix sdl formatting
...
closes https://github.com/hasura/graphql-engine/issues/7296
https://github.com/hasura/graphql-engine-mono/pull/2012
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 41383e1f88c709c6cae4059a1b4fb8f2a58259e6
2021-08-06 05:01:07 +00:00
Ikechukwu Eze
2e1f0df610
console: fix untracked foreign-key relationships suggestion across schemas
...
This PR fixes untracked foreign-key relationships suggestion across schemas.
### 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] Console
### Related Issues
close [#7177 ](https://github.com/hasura/graphql-engine/issues/7177 )
### Solution and Design
Previously to determine relations, we'd check the foreign keys constraint on all tables in the metadata,
but from 2.0, we filtered these tables based on schema. Therefore, relationships are only reflected if both tables are of the same schema. This PR makes sure that all tables in the metadata are considered
### Steps to test and verify
- Create two schemas and a table in each
- Create a foreign key constraint on one of the tables to the other using RawSQL
- Go the schema page of the table where the constraint was created on.
- Confirm that the console suggests to track the relationship you created in step 2 above
#### Breaking changes
- [x] No Breaking changes
https://github.com/hasura/graphql-engine-mono/pull/2000
GitOrigin-RevId: c1d5229955e731bb8019955ebd7a925d7870eb17
2021-08-05 12:32:53 +00:00
Varun Choudhary
b4e329307a
console: fix splitgraph console issue
...
Closes: https://github.com/hasura/graphql-engine-mono/issues/1746
### Description
Main problem: https://github.com/hasura/graphql-engine-mono/issues/1746#issuecomment-880492976
Solution: I ensure that there is URL encoding while routing from the data manager
The other issue that was addressed was that there was some query that was failing on the splitgraph DB that uses explicit typecasting. I removed the same from our query.
### Affected components
- [x] Console
https://github.com/hasura/graphql-engine-mono/pull/1802
GitOrigin-RevId: 8d6ebae217b07357bf147a2c881bae9de156a450
2021-08-05 10:57:38 +00:00
Varun Choudhary
121afe39fe
console: remove "UIKit" components from the console codebase
...
https://github.com/hasura/graphql-engine-mono/pull/1834
GitOrigin-RevId: 84d601072552f37740321686905e58677b5aa31c
2021-08-04 13:37:02 +00:00
Rishichandra Wawhal
fed7f71aa2
console: use the data host passed by lux to contact lux data service
...
https://github.com/hasura/graphql-engine-mono/pull/1981
GitOrigin-RevId: d9fe7d4d04afc73a8482d61de733f5ebba031144
2021-08-04 09:37:08 +00:00
Vijay Prasanna
f81741d086
console: enable aggregate permission toggle for Big Query sources
...
https://github.com/hasura/graphql-engine-mono/pull/1988
GitOrigin-RevId: db0545bafa923afb66f582d287d1595013c69490
2021-08-03 14:58:36 +00:00
Abhijeet Khangarot
bf5fe2ffe8
console: fix remote schema permission bugs
...
https://github.com/hasura/graphql-engine-mono/pull/1178
GitOrigin-RevId: 0c1d7dc5737a3f05330a30438f48033c7c01f42c
2021-08-03 07:57:01 +00:00
Nicolas Beaussart
1b10f275d2
console: add template gallery
...
https://github.com/hasura/graphql-engine-mono/pull/1923
GitOrigin-RevId: 88f8f276c79ea61ba38070c582bd02468e6593e2
2021-07-29 13:51:45 +00:00
Vijay Prasanna
76dc3ed100
console: pro console build fails
...
https://github.com/hasura/graphql-engine-mono/pull/1928
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: e80c247840e4e29d66efc17631580b833ee0efe7
2021-07-29 06:25:48 +00:00
Sooraj
af9dfd3554
console: show error message on inconsistent objects table
...
https://github.com/hasura/graphql-engine-mono/pull/1886
GitOrigin-RevId: 074b1f54b6ed3505892b5db3466592333ba1207a
2021-07-27 06:56:52 +00:00
Ikechukwu Eze
ac10c32381
console: make specifying unique params for rate limits optional
...
### Description
Make the unique parameters to be an optional field in the form.
### 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] Console
### Related Issues
Based on internal discussion: https://hasurahq.slack.com/archives/C01SQFJ7SHX/p1626948719012400
Closes #1890
### Solution and Design
This is more of adhoc solution for the unique parameters not being a required field: Using a checkbox to enable the additional unique params - if the user has not checked it, then the payload is sent without the unique params attribute.
When the additional unique parameters are not selected -
![Screenshot 2021-07-26 at 2 40 57 PM](https://user-images.githubusercontent.com/11921040/126964312-bb12b146-2644-432f-a790-88f23fb322ce.png )
When the additional unique parameters are picked -
![Screenshot 2021-07-26 at 2 42 03 PM](https://user-images.githubusercontent.com/11921040/126964545-89f41e43-c855-4290-8b15-75f03c44101e.png )
https://github.com/hasura/graphql-engine-mono/pull/1885
GitOrigin-RevId: dd16812c1c548147a47830a8a8af27c1e39a5689
2021-07-26 15:01:15 +00:00
Nicolas Beaussart
71adc6431b
console: add schema sharnig template version check
...
https://github.com/hasura/graphql-engine-mono/pull/1893
GitOrigin-RevId: 1fcb07a937ef067e4b370e49e9aade26efd90035
2021-07-26 13:50:37 +00:00
Ikechukwu Eze
760406b851
console: fix issues with replacing invalid graphql identifiers in table and column names
...
>
This PR replaces all occurrences of invalid graphql identifiers in table and column names when tracking a table from the console.
### Description
>
### 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] Console
### Related Issues
Closes [7239](https://github.com/hasura/graphql-engine/issues/7239 )
https://github.com/hasura/graphql-engine-mono/pull/1888
GitOrigin-RevId: b6f719b0f1c270908a8717b08564a97c44d8c5bf
2021-07-23 16:36:06 +00:00
Abhijeet Khangarot
76d1430703
console: use escape string constants for text fields
...
https://github.com/hasura/graphql-engine-mono/pull/1797
GitOrigin-RevId: 1d0cb1e95206c444fb3bc91ddc9a3210045d29c5
2021-07-23 10:35:33 +00:00
Aleksandra Sikora
eb967e6df9
console: enable bigquery in connect db form for cloud console
...
https://github.com/hasura/graphql-engine-mono/pull/1410
GitOrigin-RevId: 8853ec4904e8d47a05e821fefc38eeffebfbb3ba
2021-07-22 11:48:12 +00:00
hasura-bot
2814934cf7
console: add pagination on rawsql results page
...
GITHUB_PR_NUMBER: 5629
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5629
https://github.com/hasura/graphql-engine-mono/pull/1665
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 9bf8c6f9068fc04160e9e9ebce2600b30e523a90
2021-07-22 09:58:24 +00:00
Vijay Prasanna
6323f4f7b1
pro-console: fix error message alignment on api limits form
...
https://github.com/hasura/graphql-engine-mono/pull/1871
GitOrigin-RevId: 54bad11061c330554193ab0e81a66a61d92d2d73
2021-07-22 09:16:26 +00:00
Vijay Prasanna
32202e90d3
pro-console/bug: fixes broken form layout
...
https://github.com/hasura/graphql-engine-mono/pull/1870
GitOrigin-RevId: 89d0407331dbe35a569afe746ff30d9c51d6b364
2021-07-22 05:47:02 +00:00
Vijay Prasanna
89e7f26c55
pro-console/security-features: add ability to enable/disable GraphQL introspection per role
...
https://github.com/hasura/graphql-engine-mono/pull/1678
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
GitOrigin-RevId: 9bfd8a20dfe499b2852e5809471d73ad50b1a48b
2021-07-20 16:10:15 +00:00
Abhijeet Khangarot
fe1f50d0f1
console: add/remove database persist in metadata
...
https://github.com/hasura/graphql-engine-mono/pull/1721
GitOrigin-RevId: 15ce3b966db26a88357922e45af742474a8abe19
2021-07-20 12:40:03 +00:00
Varun Choudhary
7bd32c7bb8
pro-console: fix runtime error when expanding pending/processed scheduled events
...
closes: https://github.com/hasura/graphql-engine/issues/7168
### Description
On expanding the pending and processed event on `one-off scheduled event` on pro we are getting an error because we are not passing the auth header to API request. In this PR we are passing `includeAdminHeaders` to API as `true` to fetch events.
`keyframes` imported from `styled-components` is supported on V3 only and we are using V5.0.1. So, instead of importing spinner from UIKit which we are not using anymore, we are importing spinner form other place.
### Affected components
- [x] Console
https://github.com/hasura/graphql-engine-mono/pull/1754
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 7550d544b2d7f4f98a793895368c964d17d0e362
2021-07-19 06:55:48 +00:00
Sooraj
08847566d8
console: support global_select_limit for bigquery sources
...
https://github.com/hasura/graphql-engine-mono/pull/1812
GitOrigin-RevId: 55785579523fcd3500486139431c4d9b3c1ace19
2021-07-16 15:05:28 +00:00
Ikechukwu Eze
175b1a86ca
console: fix issue with changing table's column name and graphQL field name simultaneously
...
This PR fixes the following errors when column name and graphql field name are modified:
1. Metadata out-of-date error -> when graphql field name is removed (set to empty on the console UI)
2. Inconsistent state error -> due to old column name used in modifying graphql field name
### Changelog
- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR.
### Affected components
- [x] Console
### Related Issues
Closes [7221](https://github.com/hasura/graphql-engine/issues/7221 )
### Solution and Design
1. Use exportMetadata function after column name rename has been completed, passing the function to rename graphql field name
2. Use new column name, instead of old column name when renaming graphql field name
### Steps to test and verify
1. Go to data tab
2. Create a table if none
3. click the table name by the side-menu and when it has loaded, click on the modify tab.
4. Then edit any column of the table:
- Change column name and graphql field name, it should work successfully without an error
- Change column name and remove graphql field name, it should work successfully without metadata out-of-date error
Does this PR add a new Metadata feature?
- [x] No
#### GraphQL
- [x] No new GraphQL schema is generated
#### Breaking changes
- [x] No Breaking changes
https://github.com/hasura/graphql-engine-mono/pull/1778
GitOrigin-RevId: edfd795fb804df71a4e07e0373ca0714ff45fda9
2021-07-14 09:46:37 +00:00
Varun Choudhary
b1013e8d6c
console: add reload all databases
checkbox to the metadata settings page
...
Closes: https://github.com/hasura/graphql-engine/issues/7146
### Description
This PR adds a `reload all databases` check box along `with` the `reload metadata` check box to reload all databases (inconsistent databases also).
![Screenshot from 2021-07-07 16-51-49](https://user-images.githubusercontent.com/68095256/124750932-af31a000-df43-11eb-88d9-b6585214a188.png )
### Affected components
- [x] Console
### Steps to test and verify
Use this for your docker image: https://235669-308610159-gh.circle-artifacts.com/0/server/image.tar
1. Go to the metadata setting page
2. If `reload all databases` check box is checked: It reloads everything by sending * in the API
3. If `reloading all databases` check box is not checked: It reloads inconsistent DB and if no inconsistent then it passes an empty string
https://github.com/hasura/graphql-engine-mono/pull/1703
GitOrigin-RevId: 2b6f029a17d40a43f5bce3680d5681c97433d78c
2021-07-14 06:16:00 +00:00
Nicolas Beaussart
cdfb71c1da
console: add a feature flag for schema sharing
...
https://github.com/hasura/graphql-engine-mono/pull/1786
GitOrigin-RevId: a35dfa98508a8ef1ea92fe8588e79fc6f8479a2d
2021-07-13 16:57:04 +00:00
Ikechukwu Eze
701f3fd304
pro-console/security features: add support for api limits
...
https://github.com/hasura/graphql-engine-mono/pull/1541
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 83f0f20a45f0f396002c53a716dd3541e82b83e1
2021-07-13 11:18:06 +00:00
Sooraj
effb221d97
console: fix test_oss_console ci errors
...
https://github.com/hasura/graphql-engine-mono/pull/1726
GitOrigin-RevId: ae87ca45a111fcdb25ba9c53c1bfd8650e1be78c
2021-07-12 10:40:50 +00:00
Nicolas Beaussart
e3e078fa42
console: add schema sharing
...
https://github.com/hasura/graphql-engine-mono/pull/1512
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 71efbb2a5a577f765b83b1fd9ee9254a292d361d
2021-07-08 08:18:25 +00:00