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
Ashish Rao
45533aec54
display postgres version in About page of console ( close #3461 ) ( #3611 )
2020-01-02 11:28:46 +05:30
Rikin Kachhia
69179adb6d
add base code for console read only mode ( #3466 )
2019-12-30 17:22:20 +05:30
Alexis King
65eed04268
console: Bump dependencies to support Node v13.x ( #3579 )
2019-12-24 09:55:43 -06:00
Shahidh K Muhammed
7abe5dd744
merge branch 'release-v1.0' to master after stable release
2019-12-17 19:23:34 +05:30
Rikin Kachhia
ee9482ffc6
remove console feature version checks ( #3494 )
2019-12-17 18:03:17 +05:30
Rikin Kachhia
f0ddbc8420
fix feature compatibility version check expression ( #3546 )
2019-12-17 17:57:33 +05:30
Rikin Kachhia
280e084d38
add custom root fields section for views to console ( #3532 )
2019-12-16 18:18:54 +05:30
Rikin Kachhia
a9a6eea924
fix column edit migrations ( close #3291 ) ( #3441 )
2019-12-06 16:27:42 +05:30
Rikin Kachhia
f4c0753deb
add read_only flag to run_sql select queries from console ( #3465 )
2019-12-05 17:24:14 +05:30
Rishichandra Wawhal
0019808c9b
allow setting check constraints on existing tables from console ( #3383 )
2019-11-27 15:01:05 +05:30
ShahAnuj2610
d2046d8023
make cursor pointer on track and cascade checkboxes in console RawSQL ( close #3276 ) ( #3364 )
2019-11-19 18:01:39 +05:30
Rikin Kachhia
c05ebf8cde
fix console data hydration query ( close #3342 ) ( #3361 )
2019-11-15 20:34:10 +05:30
Anne Ogborn
dc1748b539
display untrackable functions on schema page ( close #2249 ) ( #2773 )
2019-11-15 20:23:57 +05:30
Tirumarai Selvan
3cad1319c4
improve event fetch query ( #3236 )
2019-11-13 12:59:19 +05:30
Rikin Kachhia
bd3eeed9fc
update console error page image paths ( #3340 )
2019-11-12 19:15:26 +05:30
Rikin Kachhia
689c97e9a1
improve migration detection logic in Raw SQL page ( close #3266 ) ( #3306 )
2019-11-11 14:25:10 +05:30
Rikin Kachhia
4178230d93
get user confirmation before executing 'Track All' in console ( close #3318 ) ( #3323 )
2019-11-08 19:32:44 +05:30
ap
5832adae73
escape params in console data section routes ( close #3164 ) ( #3275 )
2019-11-07 17:54:23 +05:30
Rishichandra Wawhal
3a07b2b0cf
handle table configuration defaults in console ( fix #3313 #3314 #3316 ) ( #3317 )
2019-11-07 08:27:27 +05:30
Rishichandra Wawhal
a1a851b3d1
support customising GraphQL fields from console ( #3175 )
2019-11-06 20:00:00 +05:30
Rikin Kachhia
d17068eb24
show only tracked tables during event trigger creation in console ( close #3225 ) ( #3227 )
2019-11-05 16:27:28 +05:30
Shahidh K Muhammed
a9107a2fc3
console (make): fix gcs bucket name ( close #3026 ) ( #3260 )
2019-10-28 12:15:16 +05:30
Rikin Kachhia
a8fe0b6619
fix computed fields variable name in console ( #3196 )
2019-10-22 11:33:06 +05:30
Rikin Kachhia
8000652a5d
fix console test environment ( #3192 )
2019-10-22 11:28:35 +05:30
Rikin Kachhia
68a724f3c7
put computed fields console changes behind version check ( #3190 )
2019-10-21 13:07:29 +05:30
Rishichandra Wawhal
d14300e9c9
generate migrations for replace metadata ( close #2996 ) ( #2999 )
2019-10-18 18:53:55 +05:30
Rakesh Emmadi
d8d21c1487
support computed fields returning scalars or set of tables ( close #1387 ) ( #2917 )
2019-10-18 13:59:47 +05:30
Rishichandra Wawhal
d82c6d464f
fix telemetry notification display ( #3166 )
2019-10-17 18:18:28 +05:30
Rishichandra Wawhal
2e93abd6a9
display table check constraints in console ( close #2898 ) ( #3086 )
2019-10-16 21:24:27 +05:30