Commit Graph

421 Commits

Author SHA1 Message Date
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
Phil Freeman
4ce4eb1d2f
Remove any outstanding hdb_views (fixes #3940) (#3965) 2020-03-26 15:42:33 -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
Aleksandra Sikora
94b3550d15
console: fix passing default value to JsonInput (#4175) 2020-03-25 17:44:42 +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
Aleksandra Sikora
0a1f83c3ec
console: revert table style changes (#4149) 2020-03-20 15:21:28 +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
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
Aleksandra Sikora
3dc5e04d4e
console: install typings from DT (#4107) 2020-03-16 16:40:42 +05:30
Rikin Kachhia
4064cd2db6
console: track runtime errors (#4083) 2020-03-13 13:22:06 +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
Meera Sundar
e49655e75b
console: fix run_sql migration modal messaging (close #4020) (#4060) 2020-03-09 14:50:10 +05:30
Rishichandra Wawhal
52d3979f92
console: update actions intro image (#4042) 2020-03-06 16:54:17 +05:30
Rishichandra Wawhal
e64bb8956f
console: hide starter kit button if a framework has no starter kit (#4023) 2020-03-06 13:25:21 +05:30
Rikin Kachhia
901c33079b
console: add TypeScript setup (#3902) 2020-03-05 15:01:32 +05:30
Praveen Durairaju
865b150c82
noop: replace subdomain links with subpath (#3869)
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
2020-02-27 15:43:07 +05:30
Aravind Shankar
bb63d7e60e
cli: allow managing actions (#3859)
Co-authored-by: Rishichandra Wawhal <rishichandra.wawhal@gmail.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Aravind <aravindkp@outlook.in>
Co-authored-by: Anon Ray <ecthiender@users.noreply.github.com>
Co-authored-by: Shahidh K Muhammed <muhammedshahid.k@gmail.com>
2020-02-24 21:44:46 +05:30
Rikin Kachhia
2921a56808
fix new release notification logic (#3930) 2020-02-24 16:14:57 +05:30
Rishichandra Wawhal
6b8c7eff67
console: add actions support (#3889) 2020-02-19 15:29:20 +05:30
Rikin Kachhia
ff3ac78d8f
console: show pre-release update notifications with opt out option (#3888) 2020-02-18 15:05:06 +05:30
Phil Freeman
f615abd2f2
Add check expresion to update permissions (close #384) (#3804)
* Add check expresion to update permissions (close #384)

* wip on conflict behavior

* Handle upserts for views properly

* Use insert check if there is no update check

* Fix the test

* Improve error message slightly

Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-02-13 13:08:49 +05:30
Rikin Kachhia
4b78884d36
handle invalid keys in permission builder (close #3848) (#3863)
* handle non-existent column names
* handle invalid _exist operator expression keys
* handle non-array values for _and/_or operators
2020-02-12 14:45:26 +05:30
Aleksandra Sikora
f834f6b0d8
handle missed edge-cases introduced in #3041 (#3837) 2020-02-05 18:39:59 +05:30
Philippe MARTIN
70e1b771e0
accept query params for filter/sort in browse table page (close #833) (#3041) 2020-02-05 16:00:47 +05:30
Anon Ray
c6e34baad8
fix parsing JWK expiry time from headers on startup (fix #3655) (#3779) 2020-02-05 12:37:30 +05:30
Rikin Kachhia
916ccc2e2f
console: permission builder fixes (#3823)
* allow manually editing permissions (#1734)
* separate operators for json and jsonb column types
* allow null as valid JSON type
2020-02-05 00:33:06 +05:30
Isala Piyarisi
79f1603f13
console: handle create if not exists syntax for track table (close #3766) (#3816) 2020-02-03 15:45:06 +05:30
Rikin Kachhia
fca16b88ef
misc console fixes (close #3777, #3789) (#3813)
* handle string errors
* handle empty columns / computed fields in permissions (#3789)
* allow is_null for all operators (#3777)
2020-02-01 09:59:38 +05:30
Rishichandra Wawhal
405d6450f9
console: replace graphiql fork with pkg + update explorer + replace uglify with terser (#3073) 2020-01-31 17:24:19 +05:30
Rikin Kachhia
ce547dc341
console: misc bug fixes (#3733)
* handle undefined headers configuration for event triggers
* save SQL to localStorage after execution (to avoid it being lost in case page is closed without umounting)
* fix nested objects View bug in Browse rows in case nested objects are present in a separate * schema.
2020-01-21 17:13:36 +05:30
Aleksandra Sikora
edb17e8cbb use user friendly terms for filter operators in browse rows page (#3699) 2020-01-17 15:52:08 +05:30
Rikin Kachhia
9355436c43
handle uncategorized types in permission builder (close #3603) (#3712) 2020-01-17 14:32:17 +05:30
Karthikeyan Chinnakonda
f20fc80cfc pretty print json metadata file during export from console (close #3690) (#3694) 2020-01-14 16:32:01 +05:30
Rikin Kachhia
15b6347bb6
update console readme (#3691) 2020-01-13 15:05:16 +05:30
Rikin Kachhia
db6b2aa378
add computed fields support on console (close #3203 #3565) (#3522) 2020-01-13 12:41:30 +05:30
Rishichandra Wawhal
02d13ba164 run sql queries refactor (close #3543) (#3662) 2020-01-10 10:32:44 +05:30
Ashish Rao
6a4d643c8d add bigint id to frequently used columns (close #3524) (#3669) 2020-01-10 10:29:23 +05:30
Alexis King
d86a3d9501 Use fine(er)-grained dependency tracking when building permissions
This changes TableCoreCacheT to internally record dependencies at a
per-table level. In practice, this dramatically improves the performance
of building permissions: it makes it far, far less likely for
permissions to be needlessly rebuilt because some unrelated table
changed.
2020-01-08 16:45:54 -06:00
Rikin Kachhia
ed8bc49d02
update console pro popup content (#3660) 2020-01-08 13:14:25 +05:30
surendran82
7e95463406 console: add hasura pro info button (#3594) 2020-01-08 12:30:21 +05:30
Rikin Kachhia
dbfc9e2b8b
misc console improvements (#3435)
* persist rawSql content to LS
* handle cleanup of admin secret related persisted info if admin secret is removed
* show gql compatibility warning for invalid schemas and add to tooltip that types depending on the identifier will not be exposed over GraphQL
* display non trackable functions section even if there are no functions
* increase width of stack trace container on error page
* fix PG version fetch query
2020-01-07 14:51:41 +05:30