Antoine Leblanc
b7dba573f1
tests: fix stringify function ( #4191 )
...
The stackoverflow answer this was copied from has a glaring problem: python really dislikes a dictionary being modified while it is being iterated on. I rewrote the function to instead return a modified copy.
2020-03-26 15:21:32 -05:00
Gabriel Sobrinho
b53533c381
console: disable selecting roles without permissions for bulk actions ( close #4178 ) ( #4195 )
2020-03-26 21:13:34 +05:30
Rikin Kachhia
84c6b00c84
console: show remote shema / event trigger intro sections always ( #4044 )
2020-03-26 18:45:37 +05:30
Rakesh Emmadi
fd6535b861
option to reload remote schemas in 'reload metadata' ( fix #3792 , #4117 ) ( #4141 )
...
* option to reload remote schemas in 'reload_metadata' API, fix #3792 , #4117
* add tests
* update changelog
* update docs api reference for 'reload_metadata'
* send reload_remote_schemas: true with the reload_metadata query
* add reload remote schemas checkbox; minor refactor
* Add a Note about cache invalidation and inconsistent metadata objects
* Small pluralization agreement tweak in docs
* Remove duplicated line in CHANGELOG
* no-op refactor
Suggested by Alexis @lexi-lambda
* Update server/src-lib/Hasura/RQL/DDL/RemoteSchema.hs
As suggested by @lexi-lambda
Co-Authored-By: Alexis King <lexi.lambda@gmail.com>
* fix tests
* requested changes
* comment 'replaceMetadataToOrdJson' unit tests
Co-authored-by: Rishichandra Wawhal <rishi@hasura.io>
Co-authored-by: Alexis King <lexi.lambda@gmail.com>
Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-03-26 17:22:20 +05:30
Aditya Sharma
877000b819
community: add a missing step in gridsome sample app ( #3809 )
2020-03-26 15:12:03 +05:30
Valentin Cocaud
e0084f8f41
community: fix some readme titles ( #3995 )
...
Co-authored-by: Praveen Durairaju <praveen@hasura.io>
2020-03-26 15:11:07 +05:30
Shahidh K Muhammed
1e5e7d93dd
cli(migrations-image): add support for v2 config ( close #3969 ) ( #4145 )
...
Co-authored-by: Shahidh K Muhammed <shahidh@hasura.io>
2020-03-26 14:00:26 +05:30
Shahidh K Muhammed
4ee67bf7a1
Merge branch 'master' into issue-3969
2020-03-26 11:13:03 +05:30
Shahidh K Muhammed
89a49f001b
add changelog
2020-03-26 11:08:24 +05:30
Aravind Shankar
09e0e2f2a5
cli: fix init command to generate correct config ( fix #4036 ) ( #4038 )
2020-03-26 08:54:05 +05:30
Aravind Shankar
13e8a3c010
cli: send command path in telemetry data ( #4095 )
2020-03-26 08:38:54 +05:30
Aravind Shankar
c0902a57d3
fix merge conflict
2020-03-25 18:32:48 +05:30
Aleksandra Sikora
94b3550d15
console: fix passing default value to JsonInput ( #4175 )
2020-03-25 17:44:42 +05:30
Aravind Shankar
0a0dfd4768
ci: fix deploy script to upload github release assets ( #4103 )
2020-03-25 16:20:59 +05:30
Aravind Shankar
41757b5f7f
cli: fix parse error returned on console api ( close #4126 ) ( #4152 )
2020-03-25 16:12:39 +05:30
Aravind Shankar
8a81891aef
update CHANGELOG.md
2020-03-25 15:58:14 +05:30
Aravind Shankar
425c40c7c6
Merge branch 'issue-3969' of github.com:arvi3411301/graphql-engine into issue-3969
2020-03-25 15:56:52 +05:30
Aravind Shankar
68a8fada61
fix function name
2020-03-25 15:56:43 +05:30
Aravind Shankar
b2c4fa2918
Merge branch 'master' into issue-3969
2020-03-25 15:55:08 +05:30
Rishichandra Wawhal
ac9e1b90d4
console shared modules: fix parsing of wrapped types in SDL ( close #4099 ) ( #4167 )
2020-03-25 15:17:29 +05:30
Tirumarai Selvan
f0d0547900
add docs for redeliver_event api ( fix #4176 ) ( #4177 )
2020-03-24 18:45:25 +05:30
Antoine Leblanc
eb81d6947a
server: add tests for track_table of a materialized view ( #4155 )
...
* server: add tests for track_table of a materialized view
In the context of #91 , we discovered that materialized views were
already "automagically" supported; to ensure we don't regress on this
accidental but welcome change, this patch adds simple tests.
This is basically just a copy of `track_untrack_table`, but for
materialized views.
* Expand abbreviations
Co-authored-by: Alexis King <lexi.lambda@gmail.com>
2020-03-24 12:35:34 +05:30
Antoine Leblanc
d9fa299750
server: fix all EWKT warnings in python tests ( #4154 )
...
The setup in several tests was using `ST_GeomFromText`, which expects
data in the OGC WKT format, but was providing the SRID in the text
itself, which is part of the EWKT format.
The fix was simply to replace all calls to `ST_GeomFromText` to
`ST_GeomFromEWKT`.
2020-03-23 20:48:09 -05:00
Antoine Leblanc
4f44741f3b
server: add missing mention of postgis to CONTRIBUTING.md ( #4156 )
2020-03-23 20:46:09 -05:00
Rakesh Emmadi
c12dd1bae1
Merge branch 'master' into issue-4035-check-computed-field
2020-03-23 10:44:48 +05:30
Aleksandra Sikora
0a1f83c3ec
console: revert table style changes ( #4149 )
2020-03-20 15:21:28 +05:30
Rakesh Emmadi
f80b69e931
few actions' fixes and improvements ( fix #3977 , #4061 & close #4021 ) ( #4109 )
...
* add 'ID' to default scalars for custom types, fix #4061
* preserve cookie headers from sync action webhook, close #4021
* validate action webhook response to conform to output type, fix #3977
* fix tests, don't run actions' tests on PG version < 10
* update CHANGELOG.md
* no-op refactor, use types from http-network more
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-03-20 12:16:45 +05:30
Rishichandra Wawhal
2a24b660cd
console: misc actions fixes ( #4059 )
2020-03-19 22:14:14 +05:30
Rishichandra Wawhal
1155807b7a
console: action relationship page improvements ( fix #4062 , #4130 ) ( #4133 )
2020-03-19 18:32:52 +05:30
Aravind Shankar
d36cc16150
fix deploy script
2020-03-19 17:58:29 +05:30
Aravind Shankar
1453516767
update readme
2020-03-19 17:53:11 +05:30
Aravind Shankar
315f19738c
add support for cli-migrations-v2
2020-03-19 17:51:53 +05:30
Brandon Simmons
2d3313e643
Try again to fix flaky TestEventFlood test ( #4088 )
...
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-03-18 22:45:41 +05:30
Rikin Kachhia
3c6e1a39e8
console: unique filenames for exported metadata ( close #1772 ) ( #4106 )
...
Generate metadata filenames such as: hasura_metadata_2020_03_13_18_10_31_711.json
2020-03-18 20:27:18 +05:30
Jigyasu Arya
e93179fae0
console: add design system base ui components ( #3866 )
2020-03-18 17:52:29 +05:30
Aleksandra Sikora
bd74ecfdb0
console: upgrade eslint and change eslint parser ( #4131 )
2020-03-18 14:29:15 +05:30
Brandon Simmons
4d2dbe68fa
Use AssertNF for leak prophylaxis when doing mutable writes. Closes #3937 ( #4097 )
...
Writing to a mutable var is a particularly potent source of leaks since
it mostly defeats GHC's analysis. Here we add assertions to all mutable
writes, and fix a couple spots where we wrote some thunks to a mutable
var (compiled with -O2).
Some of these thunks were probably benign, but others looked liked they
might be retaining big args. Didn't do much analysis, just fixed.
Actually pretty happy with how easy this was to use and as a diagnostic,
once I sorted out some issues. We should consider using it elsewhere,
and maybe extending so that we can use it with tests, enable when
`-fenable-assertsions` etc.
Relates #3388
Also simplified codepaths that use `AcceptWith`, which has unnecessary
`Maybe` fields.
2020-03-17 20:31:22 -05:00
Phil Freeman
979dedccc2
docs: update permission.rst for check constraint api ( #4124 )
...
* Update permission.rst for check constraint API
* Apply suggestions from code review
Co-Authored-By: Marion Schleifer <marion@hasura.io>
* update UpdatePermission
Co-authored-by: Marion Schleifer <marion@hasura.io>
Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-03-17 14:52:37 +05:30
Aleksandra Sikora
3dc5e04d4e
console: install typings from DT ( #4107 )
2020-03-16 16:40:42 +05:30
Alexis King
b65e9fc1b2
server: Fix buggy rewrite rule for Rule
...
We’re lucky that this never bit us. For the most part, these rules
aren’t actually used; most code programs against ArrowCache and doesn’t
get specialized enough for these rules to fire.
Even if we did have code that could trigger this rule, the situations
where it would actually fire are slim. In order for the rule to
typecheck at all, both sides of the pair being passed through the arrow
must have exactly the same type. Of course, that would just make this
even more hellish to debug.
Rewrite rules are dangerous.
2020-03-14 20:38:26 -05:00
Rikin Kachhia
28e2b2d51d
docs: bump MarkupSafe version ( #4102 )
2020-03-13 13:58:54 +05:30
Aravind Shankar
bca029d00e
ci: fix ciignore script to ignore certain directories ( #4086 )
2020-03-13 13:55:47 +05:30
Rikin Kachhia
4064cd2db6
console: track runtime errors ( #4083 )
2020-03-13 13:22:06 +05:30
rakeshkky
889f375ae2
Merge branch 'master' into issue-4035-check-computed-field
...
Resolve Conflicts:
CHANGELOG.md
2020-03-12 10:21:43 +05:30
Marion Schleifer
e031e99d73
docs: replace doc with ref ( close #4054 ) ( #4068 )
2020-03-12 01:12:36 +05:30
Aleksandra Sikora
315c399ba3
console: add dropdown for enum fields in insert/edit row pages ( close #3748 ) ( #3810 )
2020-03-12 00:02:26 +05:30
Rishichandra Wawhal
029bda1bd3
console: disable renaming action relationships ( #4072 )
2020-03-11 22:10:46 +05:30
Aleksandra Sikora
36c92db991
console: add multi select in browse rows to allow bulk delete ( close #1739 ) ( #3735 )
2020-03-11 18:55:36 +05:30
Aleksandra Sikora
71240f310d
console: manage postgres check constraints ( #3881 )
...
* Add check constraints to create table view
* Add input field for check in new column row
* Minor changes
* Remove check input field
* Add tooltip
* Move tooltips to Common/
* Refactor tooltips
* Move expandedContent to separate component
* Add quotation marks for constraint name
* update changelog
* Revert "update changelog"
This reverts commit 6e6e4835d9
.
* update changelog
* Update CHANGELOG.md
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: rikinsk <rikin.kachhia@gmail.com>
2020-03-11 17:50:52 +05:30
Rakesh Emmadi
996ce928d4
auto-include __typename
field in custom types' objects ( fix #4063 ) ( #4074 )
...
* include `__typename` field in custom types' objects, fix #4063
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-03-11 17:09:00 +05:30