Aravind
de41438e8a
cli: refactor console command ( #4150 )
2020-04-07 14:53:20 +05:30
Tirumarai Selvan
24c072939b
docs: add json path example in query docs ( #4087 )
2020-04-07 12:46:10 +05:30
Aleksandra Sikora
b1f8b656a7
console: set allow-js compiler flag for type checker ( #4290 )
2020-04-06 20:19:35 +05:30
Aleksandra Sikora
141f2afb01
console: fix linter config ( #4137 )
2020-04-06 16:53:04 +05:30
Aleksandra Sikora
ec56b0160b
console: persist columns order / collapsed state in data browser ( close #3390 ) ( #3753 )
2020-04-06 16:03:45 +05:30
Shahidh K Muhammed
b2461c5899
server: add more info about server to config api ( #3412 )
...
Co-authored-by: Toan Nguyen <hgiasac@gmail.com>
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-04-06 10:23:58 +05:30
Rikin Kachhia
74b32fc9b8
console: keep entire graphiql in the viewport ( #4286 )
2020-04-04 19:19:21 +05:30
Karthikeyan Chinnakonda
a07a87066e
make the arguments field optional in ActionDefinition ( #4285 )
2020-04-03 19:21:52 -05:00
Rishichandra Wawhal
2b2145d024
console: persist derived action name after create ( #4272 )
2020-04-03 17:37:14 +05:30
Rikin Kachhia
7060997660
console: fix clone permission migrations ( close #3985 ) ( #4277 )
2020-04-03 14:39:03 +05:30
Rishichandra Wawhal
f75e4e6ad0
cli: add assetsPath in unversioned console html ( close #4274 ) ( #4275 )
2020-04-03 09:04:49 +05:30
Antoine Leblanc
5b54f9d766
server: add support for webhook connection expiration ( #4196 )
...
* add expiry time to webhook user info
This also adds an optional message to webhook errors: if we fail to
parse an expiry time, we will log a warning with the parse error.
* refactored Auth
This change had one main goal: put in common all expiry time
extraction code between the JWT and WebHook parts of the
code. Furthermore, this change also moves all WebHook specific code to
its own module, similarly to what is done for JWT.
* Remove dependency on string-conversions in favor of text-conversions
string-conversions silently uses UTF8 instead of being explicit about
it, and it uses lenientDecode when decoding ByteStrings when it’s
usually better to reject invalid UTF8 input outright. text-conversions
solves both those problems.
Co-authored-by: Alexis King <lexi.lambda@gmail.com>
2020-04-02 19:00:13 -05:00
Rishichandra Wawhal
8bcff193d9
console: allow customising graphql field names for columns of views ( close #3689 ) ( #4255 )
2020-04-02 13:51:56 +05:30
Lyndon Maydwell
85b7c552af
Allow field names to start with reserved keywords ( fix #3597 ) ( #3927 )
2020-04-02 00:27:43 -05:00
Aravind Shankar
69090427b9
ci: use hub instead of ghr for releases ( #4241 )
2020-04-02 07:12:18 +05:30
Antoine Leblanc
5b74b2e2df
server: prevent metadata checks in read-only mode ( #4250 )
...
* do not perform the metadata check in read-only mode
* improve the isAltrDropReplace regex
* quote the regex at compile-time to handle syntax errors statically
Co-authored-by: Alexis King <lexi.lambda@gmail.com>
2020-04-01 18:22:55 -05:00
Karthikeyan Chinnakonda
1264fad97e
fix unnecessary schema update event in run_sql API ( #4266 )
...
When consistent_metadata_check is set to false, then a new schema update
event should not be created.
2020-04-01 16:53:02 -05:00
Karthikeyan Chinnakonda
54dd3c94b9
include postgres version of the database while sending telemetry data ( #4122 )
...
* add new column "pg_version" while sending telemetry data
* make a new type for PGVersion and use serverVersion func
* define runTxIO action to run transaction(which exits on error)
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-04-01 20:44:26 +05:30
Aravind Shankar
863910fed2
ci: fix console hot-fix releases ( #4208 )
2020-04-01 18:26:54 +05:30
Rikin Kachhia
88b29e37ab
console: fix rendering object values in data browser ( #4264 )
2020-04-01 17:40:09 +05:30
Anurag Goel
d7b94f467b
docs: add One-Click Render deployment guides ( close #3683 ) ( #4209 )
2020-04-01 15:25:28 +05:30
Ahmet Simsek
89aaf1a750
community(sample-apps): update firebase-jwt functions ( #4057 )
2020-04-01 06:45:23 +05:30
Brandon Simmons
58ba01f31c
Improve performance of replace_metadata on tracking tables. Closes #3802 ( #4182 )
...
* Improve performance of replace_metadata on tracking tables. Closes #3802
On the 1000 table track case this went from >20min to 8 seconds, the
bottleneck being all the former calls (for each table) to
buildSchemaCache.
* refactor replace metadata
Only save metadata in hdb_catalog schema and build schema cache (strictly)
* remove `withBuildSchemaCache` function
Co-authored-by: rakeshkky <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-03-31 19:30:12 +05:30
Vamshi Surabhi
e33f3a8468
split current 1.2 changelog across all 1.2 beta releases ( #4253 )
...
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
2020-03-31 19:14:09 +05:30
Rishichandra Wawhal
0abb6c275e
console: allow customising root fields of single row mutations ( close #4203 ) ( #4254 )
2020-03-31 19:11:30 +05:30
Rikin Kachhia
8bd7f70818
console: fix computed field permission selection ( #4246 )
2020-03-31 12:57:08 +05:30
Gabriel Sobrinho
6056dfa560
console: fix json string rendering in data browser ( close #4201 ) ( #4221 )
2020-03-30 21:01:49 +05:30
ryo
7a443ce3a3
console: handle long column names in event trigger update columns ( close #4123 ) ( #4210 )
2020-03-30 20:08:29 +05:30
Tirumarai Selvan
df0e8b619c
docs: add statement to grant hasura permissions for PG functions ( #4238 )
2020-03-30 13:48:13 +05:30
Shahidh K Muhammed
a6491e337b
fix codeowners file ( #4223 )
2020-03-30 13:24:15 +05:30
Shahidh K Muhammed
5bc95d2b7a
add workflow automations, update changelog ( #4079 )
...
Co-authored-by: Aravind Shankar <aravind@hasura.io>
2020-03-29 12:01:30 +05:30
Shahidh K Muhammed
1c4f203e4a
update manifests to v1.1.1 ( #4220 )
2020-03-28 16:45:43 +05:30
Karthikeyan Chinnakonda
482fa41e83
add metrics for actions ( #4139 )
...
- The metrics will include
- no of synchronous actions
- no of asynchronous actions
- no of type relationships with the output
- no of custom types defined
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-03-27 17:46:22 +05:30
Vamshi Surabhi
04e5a20dc0
Merge pull request #4080 from rakeshkky/issue-4035-check-computed-field
...
fix postgres query error when computed fields are included in returning (fix #4035 )
2020-03-27 15:01:05 +05:30
Vamshi Surabhi
114268910a
Merge branch 'master' into issue-4035-check-computed-field
2020-03-27 14:12:59 +05:30
Brandon Simmons
eafdda4f33
Add missing migration to initialise.sql for #3839 ( #4212 )
2020-03-26 23:50:45 -05:00
Phil Freeman
4ce4eb1d2f
Remove any outstanding hdb_views ( fixes #3940 ) ( #3965 )
2020-03-26 15:42:33 -05:00
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