Vijay Prasanna
218c8afe89
console: replace ui kit loader with common loader
...
GitOrigin-RevId: 5988619e8169b18a6561993809f49872c69462bb
2021-04-07 15:10:00 +00:00
Sooraj
9130fa8b8f
console/ci: add unit tests
...
GitOrigin-RevId: 01c9328a298dc6e53b910fa05d7587614c324f20
2021-04-07 13:28:13 +00:00
Lyndon Maydwell
bec6e4c1c8
Disable schema sync with an interval of 0 instead of an explicit flag
...
Removing `schemaSyncDisable` flag and interpreting `schemaPollInterval` of `0` as disabling schema sync.
This change brings the convention in line with how action and other intervals are used to disable processes.
There is an opportunity to abstract the notion of an optional interval similar to how actions uses `AsyncActionsFetchInterval`.
This can be used for the following fields of ServeOptions, with RawServeOptions having a milliseconds value where `0` is interpreted as disable.
OptionalInterval:
```
-- | Sleep time interval for activities
data OptionalInterval
= Skip -- ^ No polling
| Interval !Milliseconds -- ^ Interval time
deriving (Show, Eq)
```
ServeOptions:
```
data ServeOptions impl
= ServeOptions
{
...
, soEventsFetchInterval :: !OptionalInterval
, soAsyncActionsFetchInterval :: !OptionalInterval
, soSchemaPollInterval :: !OptionalInterval
...
}
```
Rather than encoding a `Maybe OptionalInterval` in RawServeOptions, instead a `Maybe Milliseconds` can be used to more directly express the input format, with the ServeOptions constructor interpreting `0` as `Skip`.
Current inconsistencies:
* `soEventsFetchInterval` has no value interpreted as disabling the fetches
* `soAsyncActionsFetchInterval` uses an `OptionalInterval` analog in `RawServeOptions` instead of `Milliseconds`
* `soSchemaPollInterval` currently uses `Milliseconds` directly in `ServeOptions`
---
### 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
GitOrigin-RevId: 3cda1656ae39ae95ba142512ed4e123d6ffeb7fe
2021-04-07 10:01:00 +00:00
Ikechukwu Eze
7db125adc6
console: add custom_column_names to track_table request with replaced invalid characters
...
This PR allows the use invalid identifiers allowed in SQL server to be used in column names. fixes #954
### Todo
- [x] Track (all) table(s)
- [x] Fetch rows in browse rows
- [x] Process fetching query
- [x] Process sort and where clauses
- [x] Process fetch results
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 7930a2064080156ae067a396523274768f37f17d
2021-04-07 09:12:48 +00:00
Karthikeyan Chinnakonda
ce4794cdcc
pro-server: log parameterized query hash for GraphQL queries
...
GitOrigin-RevId: e804d0b3397a0ae8df05225be43de264babd3de3
2021-04-06 17:53:55 +00:00
Rikin Kachhia
0352e4ae01
docs: misc updates
...
- master -> primary terminology change in read replica page
- add console flow to add read replica
- add (ci/cd) annotation to migrations
- add config v2 tag for older migrations pages
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 2d2d8e12fbf4f3142d0611f3ab1ce9285a79779f
2021-04-06 17:05:48 +00:00
Tirumarai Selvan
8be6f55e86
tag release v2.0.0-alpha.7 ( #1050 )
...
GitOrigin-RevId: 372e700ee837ef01a18fab3749c0ab9636e4bb88
2021-04-06 11:06:47 +00:00
Aravind K P
1cc3a66fef
cli-migrations,ci: add config v3 image
...
GitOrigin-RevId: ee04d046fd70355495fb18976ebfcca00454c0da
2021-04-06 09:59:16 +00:00
Naveen Naidu
78827b2f72
server: revert max connection pool settings default to 50
...
GitOrigin-RevId: 7860c48a88b171b68aee58b0e1932aa679faba14
2021-04-06 08:56:55 +00:00
Lyndon Maydwell
c737ce992d
Schema-Sync Improvements for Cloud, Pro, and OSS - Version Checking for Metadata ( #738 )
...
Modifying schema-sync implementation to use polling for OSS/Pro. Invalidations are now propagated via the `hdb_catalog.hdb_schema_notifications` table in OSS/Pro. Pattern followed is now a Listener/Processor split with Cloud listening for changes via a LISTEN/NOTIFY channel and OSS polling for resource version changes in the metadata table. See issue #460 for more details.
GitOrigin-RevId: 48434426df02e006f4ec328c0d5cd5b30183db25
2021-04-06 03:25:53 +00:00
Vijay Prasanna
a93135d1b1
console: fix for manually added relationships
...
GitOrigin-RevId: de609849f14882c4c97a4676e73f396ce7c9d767
2021-04-05 19:46:16 +00:00
Abhijeet Singh Khangarot
8274fee00f
console: data sidebar bug fixes and improvements
...
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 169894ff1c4faabc7abee7d0e1e9c3259d5497cc
2021-04-05 15:40:44 +00:00
Aleksandra Sikora
f822bd8ef0
pro-console: update oss package version
...
GitOrigin-RevId: 4bac0e96cc89085512a80dabeaa22212643ef174
2021-04-05 14:49:39 +00:00
Kali Vara Purushotham Santhati
379b812674
cli: add e2e tests for metadata and migrate commands
...
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: d63e0452fdb97a8f6c4e921467fc2a1de50639a1
2021-04-05 14:01:35 +00:00
Ikechukwu Eze
eb5a0d4c46
console: sort untracked tables list
...
Sorts untracked tables/views list by name. Resolves #967
#### Before
<img width="852" alt="Screenshot 2021-03-29 at 11 15 49" src="https://user-images.githubusercontent.com/22247592/112825665-f32f2200-9083-11eb-85c5-522d86cf9b29.png ">
#### After
<img width="851" alt="Screenshot 2021-03-29 at 11 31 24" src="https://user-images.githubusercontent.com/22247592/112825709-ffb37a80-9083-11eb-9552-a72314556d6c.png ">
GitOrigin-RevId: 8fd00c4de49e54dfea6adab3faaf2bc7267059a8
2021-04-05 12:38:30 +00:00
Vijay Prasanna
bc4551da2f
console: data sources code improvements
...
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
GitOrigin-RevId: 225403edaf39e3c845249829b2b9c2aca229c021
2021-04-05 11:48:14 +00:00
Rikin Kachhia
7f251d09a2
docs: add ugrade to Hasura v2 guide
...
GitOrigin-RevId: e45642dee466de7705519b949c5ca33f20a07a4c
2021-04-05 08:11:40 +00:00
Antoine Leblanc
71ae144aa6
server: implement transaction workaround
...
GitOrigin-RevId: 404f8bbdefb8a99b31fac75e4253daad81c8af90
2021-04-01 20:41:41 +00:00
Aravind K P
7f420ad1ae
cli: add --all--databases
flag on migrate apply
...
GitOrigin-RevId: 87a8b4250abad349153d1af73917859bd8f2a31a
2021-04-01 12:59:20 +00:00
Aravind K P
cc3539415b
cli: fix seeds incorrectly being applied to databases
...
GitOrigin-RevId: cce2612ddfd90d1fd10a0a3561d24c64569a6935
2021-04-01 10:39:53 +00:00
Kali Vara Purushotham Santhati
b875d95a75
cli: separate the metadata operations from migrate driver
...
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 8f6791d5fd51d011623361ac2f5994c8badb50bf
2021-04-01 05:14:17 +00:00
Rikin Kachhia
e3d8a721ee
server: add "SET check_function_bodies=false" in pg_dump clean output
...
GitOrigin-RevId: f0526f9666c3986d8e3b374556859043f10dbe8d
2021-03-31 14:49:38 +00:00
Antoine Leblanc
60da76ed89
server/mssql: fix foreign keys being wrongfully coalesced
...
GitOrigin-RevId: 0cfef7176e751d17ea709814ae912574511ca79a
2021-03-31 13:49:31 +00:00
Rakesh Emmadi
80a5e660b2
docs: add async-actions-fetch-interval option in server command flags
...
GitOrigin-RevId: 3abc252fa3b98dc7e36fc98ef106cf3244232f1e
2021-03-31 11:03:53 +00:00
Rakesh Emmadi
362230e8d0
server: async action query subscription
...
Multi source support had limited the availability of async action queries in subscriptions. This PR
adds support for async action query subscriptions with new implementation. Also addresses https://github.com/hasura/graphql-engine/issues/6460 .
GitOrigin-RevId: 5ddc321073d224f287dc4b86ce2239ff55190b36
2021-03-31 10:40:15 +00:00
Vijay Prasanna
0b9f2993aa
console: fix parse errors while fetching mssql foreign keys
...
GitOrigin-RevId: 650e7acd2c207c1282f1775862d1d583a94c691c
2021-03-30 19:59:15 +00:00
Rikin Kachhia
b1361f723f
docs: add misc docs fixes
...
- update cloud glossary
- fix broken ref on cloud index page
- move schema and metadata APIs above older schema/metadata API
- minor changes to some cloud pages
GitOrigin-RevId: 9f25c2e5c8dd9d83ea467cbad767733aa6ecad11
2021-03-30 14:11:50 +00:00
Karthikeyan Chinnakonda
3e880be55f
server: efficient polling for cron triggers and async actions
...
GitOrigin-RevId: 210df9e6e660b90fb74e930a8909129edba4e7a3
2021-03-30 12:58:40 +00:00
Abhijeet Singh Khangarot
412194ad13
console: don't show permissions pane before selecting operation
...
GitOrigin-RevId: 4f3cb5b5b91eacd644462c4909400c971a50d4ea
2021-03-30 10:56:25 +00:00
Rakesh Emmadi
7798b9c870
server: allow replacing configuration in add source metadata API ( #956 )
...
GitOrigin-RevId: a797d6f1f1e568eeab6acd752d3404a30b890461
2021-03-30 10:10:23 +00:00
Shraddha Agrawal
99cb846911
docs/cloud: add New Relic integeration docs
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 00fbbfdc5b9688459fbfbb54824708292859ffa5
2021-03-30 08:57:53 +00:00
Tirumarai Selvan
730ec5b8d9
add changelog docs
...
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 20790cbf1c320d34c1271b493928a4eddbed0205
2021-03-29 09:11:27 +00:00
Vladimir Ciobanu
c08e6d108b
server: allow GeoJSON to be passed for Geometry/Geography operators
...
GitOrigin-RevId: 51ca927b55d3d717da07447f67fd4d3c068a8357
2021-03-26 17:00:18 +00:00
Aleksandra Sikora
33f7fa9550
console: upgrade typescript
...
GitOrigin-RevId: 6daee605820497c4f3c687aa589a2c8799e52566
2021-03-26 12:14:21 +00:00
kodiakhq[bot]
e5b2525d9f
Prune unused dependencies, sort dependencies list
...
GitOrigin-RevId: f6727f11a35925e7b627ecccafa34133dd9e8ee7
2021-03-26 10:45:47 +00:00
Abby Sassel
33a710f4c7
server/docs: Add MSSQL testing steps for those running pytest
manually
...
GitOrigin-RevId: 36eaab863c7bea552a394bd6c36cedb1aa877f50
2021-03-26 09:49:19 +00:00
Vishnu Bharathi
6631f79aee
ci, cli: fix cli to have clean version
...
GitOrigin-RevId: 4ffb2657b455ee08e68e5c57dd2d5c6b411ece5e
2021-03-26 02:53:16 +00:00
Antoine Leblanc
d8c56a40f6
server: split boolean operators between core and backend-specific
...
GitOrigin-RevId: f1291946a1122220e82371676d88867fd7b2b7c4
2021-03-25 17:51:08 +00:00
Antoine Leblanc
9052518da2
Revert #893
...
GitOrigin-RevId: 055e7c2761ceae028d4fefc282475199714e6efe
2021-03-25 16:38:47 +00:00
Rakesh Emmadi
d0048897cf
server: use_prepared_statements
option in add_pg_source metadata API ( #893 )
...
* add `use_prepared_statements` option to add_pg_source API
* update CHANGELOG.md
* change default value for 'use_prepared_statements' to False
* update CHANGELOG.md
GitOrigin-RevId: 6f5b90991f4a8c03a51e5829d2650771bb0e29c1
2021-03-25 12:54:00 +00:00
Rishichandra Wawhal
98ab400f3b
console: name the heroku db as default if there's no datasouce added
...
GitOrigin-RevId: 01c26d4cf06545cce052e51cd6714ac097ba9ab1
2021-03-25 08:54:39 +00:00
Naveen Naidu
bade27c1cc
server: emit max connections reached error from postgres
...
Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com>
GitOrigin-RevId: 26ea3bcb7a2b247f26c9b032b23ac6d68d40b4aa
2021-03-25 07:42:49 +00:00
Aleksandra Sikora
dc17de8571
console/ci: add missing env var
...
GitOrigin-RevId: 15621e6174a339c4741970f9ce9d60a1ae93afa5
2021-03-24 20:58:15 +00:00
Sameer Kolhar
a73b6479b1
server/console/docs: add a comment field for actions
...
#### CHANGELOG (done)
#### PR description
This PR hopes to resolve https://github.com/hasura/graphql-engine/issues/4662 .
The main work done in this PR is to add an comment field on the add actions page. Prior to this the `actionsDescription` was used as the comment for actions.
#### Updated UI
![image](https://user-images.githubusercontent.com/6604943/111342362-64dc9880-86a0-11eb-8922-36b72bf100cb.png )
Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com>
GitOrigin-RevId: 5f31b27d66c27bc6c1b0fc5044f0ac13ecc11fa0
2021-03-24 20:11:48 +00:00
Ikechukwu Eze
81f527a7ee
console/ci: upgrade terser and drop large resource class for console build
...
GitOrigin-RevId: 1e352fa17b7561cfe618bd3cb9f0f75be3e95c73
2021-03-24 19:22:41 +00:00
Sameer Kolhar
3507699aed
console: team console code improvements
...
GitOrigin-RevId: 03c011b419cb8085633432c030e730953b23f526
2021-03-24 18:04:59 +00:00
Rikin Kachhia
4815c2bbc8
docs: update with misc 2.0 changes
...
- update copyright
- fix typo: comparision -> comparison
- add new null in comparision exp behaviour
- update cloud read replica page
GitOrigin-RevId: bfd322344e7ecf89a2c1361db4bc2d7e25718b98
2021-03-24 16:38:27 +00:00
hasura-bot
e0ec670b05
ci: fix missing postgres envs in test_server ( #949 )
...
Co-authored-by: Vishnu Bharathi P <vishnubharathi04@gmail.com>
GITHUB_PR_NUMBER: 6708
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6708
Co-authored-by: Vishnu Bharathi P <vishnubharathi04@gmail.com>
GitOrigin-RevId: ef035813e9dd4f5e61e62889068222d49bbaa350
2021-03-24 14:38:18 +00:00
Abby Sassel
9f0bcabf23
server/mssql: better support for spatial data operators ( fixes #789 )
...
GitOrigin-RevId: b3d59a5c351e747370b82d086fe13d5d8d178d05
2021-03-24 13:44:44 +00:00
Tirumarai Selvan
ce37e7b1f1
tag release v2.0.0-alpha.6 ( #947 )
...
GitOrigin-RevId: a214f5e6ba20a0975e5f8a6c2478950f7455549f
2021-03-24 11:26:22 +00:00