Luca Restagno
cf672a1a59
console: Enable SSL Certificates Configuration in the Console for CDB
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6325
GitOrigin-RevId: 9f6e381dda3e2fcf60bb97c30732a46abb05242f
2022-10-13 08:04:32 +00:00
Daniel Chambers
da8533526c
Adds explicit main schema option to SQLite data connector agent [GDC-455]
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6307
Co-authored-by: Solomon <24038+solomon-b@users.noreply.github.com>
GitOrigin-RevId: 90433478867ffc21826f07df8587da86bd43dc88
2022-10-13 04:20:11 +00:00
Matthew Goodwin
ea6d9226d7
Sql lite testing revisions
...
As I have been onboarding, in order to get a working sqlite agent/db running locally, I got some helpful steps from @mattshardman which I adapted into this testing setup.
Hopefully this should ease the pain for the next person needing to do this!
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6261
GitOrigin-RevId: 03a3f04e38f118898bfd1d27de9305739dee5276
2022-10-12 20:28:24 +00:00
hasura-bot
fba98a8217
docs: update docker-compose spelling, close #8886
...
GITHUB_PR_NUMBER: 9046
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9046
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6157
Co-authored-by: Amit Kumar Sharma <91947037+amit-ksh@users.noreply.github.com>
GitOrigin-RevId: b2172918456617ce4da4856abb1325180b19ecdd
2022-10-12 19:23:12 +00:00
Samir Talwar
96a768e526
Upgrade HLint to v3.4.1.
...
This upgrades CI and anyone using Nix to HLint v3.4.1.
If you're not using Nix, this doesn't actually _do_ anything on your
local machine; it's just a suggestion.
It also applies a bunch of simple HLint refactors, using
`make lint-hs-fix`.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6324
GitOrigin-RevId: de8267e4909d6dcd3f83543188517f3aaeebc5f3
2022-10-12 19:14:56 +00:00
Jesse Hallett
332faabc24
server: codecs for remaining database configuration types
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6062
GitOrigin-RevId: f1ba9fa30267d1825ba36480103cd973616f3079
2022-10-12 16:30:05 +00:00
Rob Dominguez
ac3c054b27
docs: add neon heroku-specific migration guide
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6302
GitOrigin-RevId: 5dfc0c6a194f42c48a5226902e02b80806cf35b3
2022-10-12 15:10:02 +00:00
Tom Harding
9242aea138
Add Delete
tests for Cockroach
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6283
GitOrigin-RevId: 25c075741afbc7730cf13cd79c8838e812eb8cff
2022-10-12 15:03:32 +00:00
Samir Talwar
e78dc7f4eb
server/tests-py: Remove checks for PostgreSQL 9.x.
...
We no longer run tests against these PostgreSQL versions.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6320
GitOrigin-RevId: 175ec5bd5db5fe0a96733f948a10b141aa40ba09
2022-10-12 14:27:48 +00:00
Tom Harding
97a9ce842a
Update documentation to stop supporting Postgres 9.5
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6317
GitOrigin-RevId: 6f098f26943d0e2cba1725aaf2e76aaf1f50ebef
2022-10-12 13:37:23 +00:00
Samir Talwar
bebff269a6
server/tests-py: If a port is busy, try to figure out why.
...
Every now and again, I see in CI that a test will abort early because port 8080 is busy. Given that we're running in a fresh Docker container, this makes no sense to me.
On failure, it will now run `lsof -i :$PORT` to try and figure out what's listening on that port.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6285
GitOrigin-RevId: 5eb58d016b2f43872e2c78a7d89d27cfc3e22312
2022-10-12 13:28:03 +00:00
Nicolas Beaussart
391d8570a1
platform: rework css import to prepare the nx migration
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6272
GitOrigin-RevId: 43d52508dac9687184f6702d312a21232051503e
2022-10-12 12:47:51 +00:00
Daniel Harvey
557bbe0327
server: remove unused imports
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6314
GitOrigin-RevId: 7e22264c0d6159cb446af28bf9834f6abda3ab03
2022-10-12 11:30:29 +00:00
Mohd Bilal
7b5d61d04f
CLI: port catalogstate package to use new errors package
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6259
GitOrigin-RevId: be90386154d7906a41c2334db5cc24fe5febf774
2022-10-12 09:45:51 +00:00
Mohd Bilal
0bd013653a
cli: port pgdump package to use new errors package
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6263
GitOrigin-RevId: e410548ecba70e556e41a0377952555c3b40c8ef
2022-10-12 08:47:21 +00:00
Divi
66fa31944d
ci: add catalog version for v2.14.0-beta.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6308
GitOrigin-RevId: ceba6d62264603ee5d279814677b29bcc43ecaea
2022-10-12 06:40:35 +00:00
Brandon Martin
59820c5db5
server: Add tablePermissionsCommands to DataConnector API
...
Adding tablePermissionsCommands metadata api commands to dataconnector api
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5877
GitOrigin-RevId: feda63a963c6059a9ad72c0f1e13ed2dbb8e0d9b
2022-10-12 01:44:36 +00:00
Rob Dominguez
43c283d6b2
docs: fix broken link causing build fail
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6300
GitOrigin-RevId: d79391392abd162af1d4ec67373331e5051e23e5
2022-10-11 19:38:33 +00:00
paritosh-08
5c774cf839
server,pro: fix batch_size
behaviour for auto event trigger log cleanup
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6279
GitOrigin-RevId: 20b8e6a22a26d97cd78655027aa2f30b7838462d
2022-10-11 19:27:53 +00:00
Sean Park-Ross
4c3775ecb8
Docs: FAQs for Heroku free resource deprecation
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6274
Co-authored-by: Marion Schleifer <5722022+marionschleifer@users.noreply.github.com>
GitOrigin-RevId: 6ce9851df79ab1da8fcb3a476b933770f2f2331d
2022-10-11 18:15:52 +00:00
Sean Park-Ross
3071787cf6
Docs: Reorder Neon in menu, Add logo to cloud db index, cap Database in cloud db docs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6298
GitOrigin-RevId: eceba15c687f8deb6599ba845df17147bbbe87b9
2022-10-11 18:08:28 +00:00
Sean Park-Ross
de1f820511
Docs: Metadata directory format add missing files
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5564
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 6d1c188a4f7fbc74317dfa1e0bc25634f4306eef
2022-10-11 18:02:00 +00:00
Daniel Harvey
f2f83be6cc
tests: re-enable pg-dump tests for Postgres 14
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6248
GitOrigin-RevId: f64989caa0768a5f309f38b147062e0bf3a61155
2022-10-11 17:53:25 +00:00
Mohd Bilal
56a26a74ee
CLI: Add utility Match
and print function for the new errors package
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6258
GitOrigin-RevId: fa3148c467b527fbe62cebca3177a39f9b02b38c
2022-10-11 16:41:57 +00:00
Luca Restagno
950836849d
console: fix alter primary key for cockroachdb
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6292
GitOrigin-RevId: 0f449e08837c174627fb69ee611411b44ba88b62
2022-10-11 16:09:58 +00:00
Samir Talwar
1ffc19367d
Push the Nix dependency management configuration to the OSS repository.
...
We don't need to hide it.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6255
GitOrigin-RevId: 9b46511c6b274dd7e8e52ee74644dc86c7d75872
2022-10-11 15:33:22 +00:00
Tom Harding
2f94bcf6c7
Add Update
tests for Cockroach
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6271
GitOrigin-RevId: ecb38e084f433e29e3ae4e2a6f2039907afcf6d3
2022-10-11 15:18:56 +00:00
Tom Harding
4237c56419
Add more Cockroach tests to api-tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6189
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: fb03fc2f21ef392f63a5d0d4164ff75cc215692c
2022-10-11 14:48:38 +00:00
Vijay Prasanna
690c05d33a
feature (console): Enable browse rows for GDC sources (supports pagination, filter, limit & sort)
...
Adds a browse rows component for GDC sources
Cleans up the implementation of the FilterSection and additonal refactoring
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6178
GitOrigin-RevId: 82c3f729edb05778e81b08254608797617b45aaf
2022-10-11 14:17:42 +00:00
Aravind K P
a949af5e14
cli: refactor httpc package to use error framework
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6227
GitOrigin-RevId: fcf9ee64345309ddcba95e4369a6564defa54fc0
2022-10-11 13:40:46 +00:00
Gil Mizrahi
3a73997555
server/cockroach: fix long identifiers tests for cockroach
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6257
GitOrigin-RevId: 94aa7e59159db2130718285221db88f20ca7079a
2022-10-11 12:59:51 +00:00
Divi
2e2aab9f2f
ci: catalog version update for v2.13.0
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6293
GitOrigin-RevId: cbadd0591f01ae1f038fb9d92aff68e46cc600d1
2022-10-11 12:11:34 +00:00
nevermore
08a46714d3
docs: add Neon integration docs, remove Heroku docs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6162
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 1c80b85df1f474e54cda332c98b93adc4339ac09
2022-10-11 11:59:42 +00:00
Daniel Harvey
f831c73e1b
tests: bump CockroachDB image
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6278
GitOrigin-RevId: a7148f22b278181fccaad17d3e9c4bd61d8475d5
2022-10-11 11:49:42 +00:00
Tom Harding
d7d83d26d6
Add simple Insert
tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6269
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
Co-authored-by: Auke Booij <164426+abooij@users.noreply.github.com>
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
Co-authored-by: hasura-bot <30118761+hasura-bot@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
Co-authored-by: Daniel Chambers <1214352+daniel-chambers@users.noreply.github.com>
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: Manas Agarwal <5352361+manasag@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: e522df6409137aca2209e4e686f673a389abd546
2022-10-11 11:18:26 +00:00
Philip Lykke Carlsen
ee34921d0d
refactor: QualifiedIdentifier to use TableIdentifier
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6210
GitOrigin-RevId: 1fa24321396bbb68dd5f8516aab76850ebeebfa4
2022-10-11 10:43:43 +00:00
Tom Harding
4fdbda05ec
Enable Postgres enums for Cockroach
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6232
GitOrigin-RevId: cc29e4932c3a24039efaf28f890a3dad97b51c3e
2022-10-11 09:09:26 +00:00
Matthew Goodwin
ae00089cd4
Add GQL Customization to connect DB form [GDW-333]
...
## Description 🔖
This adds the ability to edit **GraphQL Field Customization** when either connecting or editing a db connection for an agent.
This was implemented using the newest form and form components:
<img width="548" alt="Screen Shot 2022-09-29 at 3 42 16 PM" src="https://user-images.githubusercontent.com/49927862/193155139-c0eb71fb-4829-42d9-8ec1-90582fe8054a.png ">
## Solution and Design 🎨
This is a fairly minimal addition that makes use of the existing `react-hook-form` compatible `Form` and components. I had to edit the zod schema with the correct properties from the spec for GQL Sources.
I created a new dir for the `CustomizationForm` and implemented it in both the Connect and Edit components.
A quick note on a directory convention I am using here:
It's fairly common to have a components folder, and then within that, have sub-directories for more complicated components.
In that model, I have found it useful to use a `parts` directory as a next level of granularity within a component directory.
This helps to avoid cluttered components folder, by optionally adding a `parts` folder inside a component's folder for pieces that you want to break out but are NOT shared with anything else.
I've done this here with a fairly simple component `src/features/ConnectDB/components/Customization/parts/SectionHeader.tsx`, but one that benefits from having it's own component.
## Review Setup 💻
Video of feature:
https://www.loom.com/share/d737afca4be04da28f6943c1c8164d6f
### Tests
Added new customization form to storybook here ->> http://localhost:6006/?path=/story/data-connect-graphql-field-customization--primary
### Note on commit history
We had some issues trying to fix my accidental commital of a package-lock.json file and ended up doing some song and dance which involved @solomon-b ending up with credit for the first few commits. Just as a note for history, his name is on them, but it's my code, so if there's something to comment on, direct it to me.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6134
Co-authored-by: Solomon <24038+solomon-b@users.noreply.github.com>
GitOrigin-RevId: 0c8891e246e5d048e70b6a8a91331f21049d1c8c
2022-10-11 07:49:03 +00:00
Lyndon Maydwell
d54bb30d3b
Structured Error Protocol for Data Connectors Agents - GDW-137
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6061
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 855d96378030f4e01b0c74b00e20e592e51e7a49
2022-10-11 00:26:24 +00:00
Daniel Harvey
34d01caebb
tests: simplify healthchecks for Pytests in Docker
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6270
GitOrigin-RevId: 70a6c1298bfaf032f6279a6575f37feb8270a392
2022-10-10 19:18:41 +00:00
Daniel Harvey
1aaa7b1b47
server: revert "fetch col_description using value from column directly"
...
Reverts hasura/graphql-engine-mono#6228
We are getting metadata timeouts again, this needs looking into before enabling again.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6277
GitOrigin-RevId: 397c1704834a5e2332cca50d14a46c117f34d1ca
2022-10-10 15:28:44 +00:00
Vijay Prasanna
2835a1aa98
fix (console): tree nav auto-select when table/database is present in the route
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6205
GitOrigin-RevId: 61d89f4dbd2fac0fca58c0c7eefe735856637a42
2022-10-10 12:47:01 +00:00
Abhijeet Khangarot
948ace94e7
console: Neon integraiton design updates
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6212
Co-authored-by: nevermore <31686586+OjasWadhwani@users.noreply.github.com>
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 71cc4923a2dda178839464d91b3214456fd207fa
2022-10-10 09:48:37 +00:00
Daniel Chambers
8369cac3bd
Data Connector agent data schema capabilities [GDC-479]
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6268
GitOrigin-RevId: 4ec29566d3c2ab2144dad8055b4442a4027915ec
2022-10-10 06:59:30 +00:00
Daniel Chambers
c862c64b33
Break down Data Connector agent schema tests into finer grained, more accurate, tests [GDC-479]
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6225
GitOrigin-RevId: 8eaadcc14cf4bc90a22450e924daf8cc340ed2ea
2022-10-10 02:25:09 +00:00
Gil Mizrahi
4a321e2459
docs: functions -> custom functions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6244
GitOrigin-RevId: 999517c28791a0b8f3de1843f02232338ad00fa9
2022-10-07 19:23:41 +00:00
Auke Booij
6f6177db38
Remove some unnecessary OPTIONS_GHC
pragmas
...
I didn't track why these were left behind. Presumably GHC 9.2 has an improved redundant constraint checker, so that explains a few. Otherwise, perhaps code got refactored along the way.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6256
GitOrigin-RevId: b6275edf3e867f8e33bdec533ce9932381d36bbb
2022-10-07 17:27:08 +00:00
Rob Dominguez
9c48313f81
docs: add SLA and reorder pages
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6240
GitOrigin-RevId: 406303a03e5258c20baa5c49f52be8d6262a7535
2022-10-07 16:43:12 +00:00
hasura-bot
7b6dae7e8e
docs: Fix minor grammatical errors in faq.mdx
...
GITHUB_PR_NUMBER: 9075
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9075
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6214
Co-authored-by: Varun <98093422+kVarunkk@users.noreply.github.com>
GitOrigin-RevId: d4bffff3120176e765f4050d77807bffc22c9bc3
2022-10-07 16:12:16 +00:00
Sean Park-Ross
494e270227
Docs: Wiki Restructure and remove Sphinx RST - WIP
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6059
GitOrigin-RevId: c527d01b7af8ef98fa3859930115ec44d993e444
2022-10-07 13:58:26 +00:00