Vijay Prasanna
1afd38f887
console: add source attribute to make migration action
...
https://github.com/hasura/graphql-engine-mono/pull/2213
Co-authored-by: Kali Vara Purushotham Santhati <72007599+purush7@users.noreply.github.com>
GitOrigin-RevId: 3cf65f0062005d23aa264da744dc680417275add
2021-09-14 06:49:57 +00:00
Matt Hardman
bbed956137
console: support tracking of functions with return a single row (close#2281)
...
### Description
- Tracking functions that return a single row were unsupported, this was fixed with -> [this](https://github.com/hasura/graphql-engine/issues/4299#issuecomment-911553730 )
- This PR updates the console to list functions that return a single row as trackable
### 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
#2281
### Solution and Design
>
### Steps to test and verify
- Create the following table
```sql
create table users (
"id" int primary key,
"name" text
);
```
- Create a function that returns one row, (don't tick track function)
```sql
CREATE OR REPLACE FUNCTION public.me()
RETURNS users
LANGUAGE sql
STABLE
AS $function$
select *
from public.users
where id = 1;
$function$
```
- click on the schema and the function should appear in untracked functions
<img width="614" alt="Screenshot 2021-09-13 at 11 18 30" src="https://user-images.githubusercontent.com/28978422/133067170-24d5adc7-73d4-44ae-941f-ed790d2d861c.png ">
---
### Kodiak commit message
Information used by [Kodiak bot](https://kodiakhq.com/ ) while merging this PR.
#### Commit title
Same as the title of this pull request
https://github.com/hasura/graphql-engine-mono/pull/2329
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
GitOrigin-RevId: 6365a1bf35205a51e995c2b17104eb2f79563756
2021-09-14 05:29:08 +00:00
Martin Mark
e0cabef0ca
console: updated override styles for GraphiQL / React-Select
...
https://github.com/hasura/graphql-engine-mono/pull/2315
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: b1011bce3980b4ea5541ff7e68843b200fe7a6e8
2021-09-11 07:56:43 +00:00
Vijay Prasanna
f639012999
console: modify placeholder generator function
...
https://github.com/hasura/graphql-engine-mono/pull/2218
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: b10b791d87ca0d688638d9b0c78e1f5d2aafe2df
2021-09-09 09:09:05 +00:00
Ikechukwu Eze
dc4713b9d3
console: refactor PermissionBuilder.js to typescript
...
### Changelog
no changelog required
### Affected components
- [ ] Server
- [x] Console
- [ ] CLI
- [ ] Docs
- [ ] Community Content
- [ ] Build System
- [ ] Tests
- [ ] Other (list it)
https://github.com/hasura/graphql-engine-mono/pull/2122
GitOrigin-RevId: d12d225454659621198286c15965345c7a8a8e01
2021-09-08 14:12:04 +00:00
hasura-bot
570f9622f1
fix typo in TemplateGalleryTable
...
GITHUB_PR_NUMBER: 7518
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7518
https://github.com/hasura/graphql-engine-mono/pull/2310
Co-authored-by: ghry5 <32223782+ghry5@users.noreply.github.com>
GitOrigin-RevId: 5724f604f8f59deec258b5650cec5a6752d6ac41
2021-09-08 07:03:52 +00:00
Nicolas Beaussart
1b90360bb3
console: add fixed height to html
...
https://github.com/hasura/graphql-engine-mono/pull/2073
Co-authored-by: Martin Mark <74692114+martin-hasura@users.noreply.github.com>
GitOrigin-RevId: b13f9e478b2569a5bd9b6c845c80df81a560cdc4
2021-09-03 07:36:58 +00:00
Ikechukwu Eze
8ca110b5bb
console: fix data sidebar not updated when a table is renamed
...
https://github.com/hasura/graphql-engine-mono/pull/2237
GitOrigin-RevId: 53ee0ab1b786e8364df3af73396c97c6acb5470f
2021-08-30 10:50:28 +00:00
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