Commit Graph

470 Commits

Author SHA1 Message Date
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
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
Rishichandra Wawhal
86ab64232d fix setting new role name when perm edit is open (closes #2682) (#2997) 2019-10-15 18:49:23 +05:30
Rikin Kachhia
61d6610ed6
fix console row edit behaviour (close #3121) (#3133)
* handle unmodified fields
* handle setting default value
2019-10-15 15:13:10 +05:30
Rikin Kachhia
bb8880d09a
fix console README and isProduction check while setting globals (#3076) 2019-10-09 19:23:21 +05:30
Rishichandra Wawhal
d3f80265f5 update graphiql explorer in hasura console and graphiql online (closes #2313) (#2994)
* update graphiql explorer

* update onegraph explorer in graphiql online
2019-10-08 16:17:18 +05:30
Rishichandra Wawhal
5ced530ccd separate server and cli env variables in console local dev (#2937) 2019-10-08 15:53:01 +05:30
Rikin Kachhia
0fc70cd242
allow only tracked tables in manual relationship definition in console (#3046) 2019-10-08 13:45:05 +05:30
Kirankumar Ambati
3d4f28551d fix console lint issues, code formatting (#3028) 2019-10-07 17:51:02 +05:30
Kirankumar Ambati
0beb27a1de updated heroku url property in console readme (#2957) 2019-09-30 15:20:13 +05:30
Kirankumar Ambati
0bf1d9ac83 fix typos (#2935) 2019-09-27 12:36:08 +05:30
Rishichandra Wawhal
1d1de94303 better key persistence in console (#2686)
* change login flow to handle admin secret persistence

* handle headers init state

* add tooltip for remember-me

* remove log, make label clickable

* fix a closure scope bug

* handle login verification at route level

* update Login.js

* refactor

* remove extra file

* refactor

* add id to tooltips

* remove adminsecretlabel + update admin secret storage flow

* fix heartIcon close handling

* .

* fix admin secret setting

* fix urlPrefix

* add admin secret header if not present

* update jwt analyzer icon

* persist if admin secret header has already been added

* set cli console mode as constant

* handle CLI admin secret errors

* make separate logout page

* fix typos

* fix typos

* fix typos

* fix typos

* fix cli error

* fix login page path
2019-09-25 21:16:28 +05:30
Alexis King
eb0c1f6642 fix console server-build script (#2790) 2019-09-24 18:42:24 +05:30
Rikin Kachhia
ddf27c1768
add console support for exists operator in permissions (close #2837) (#2878) 2019-09-23 17:23:12 +05:30
Rikin Kachhia
9f59e32240 update console telemetry config (#2899) 2019-09-18 12:25:29 +05:30
Marion Schleifer
480b34ea5e fix typos in documentation (#2562) 2019-09-11 12:47:14 +05:30
IMRAN KHAN
1487cc1d26 make destructive actions on console require typed out confirmation (close #1469) (#2400) 2019-09-10 20:32:04 +05:30
Rikin Kachhia
eea1e33d19
fix console insert/edit row glitches (close #2840, #2665) (#2843) 2019-09-09 19:37:26 +05:30
Rishichandra Wawhal
c343361f02 fix remote schema headers configuration in console (#2847) 2019-09-09 13:57:07 +05:30
Ben Kimpel
0c0a2d6288 handle "without time zone" dateTime types in permissions builder (close #2842) (#2844) 2019-09-07 01:00:25 +05:30
Rikin Kachhia
47fb329090
update enums docs (#2813) 2019-09-03 19:47:36 +05:30
Rishichandra Wawhal
5dfe3b86f2 add console support for setting table as enum (close #2767) (#2789) 2019-08-30 18:47:51 +05:30
rikinsk
78ca9f38a7 apply radio btn selection logic to insert item also 2019-08-29 15:31:40 +05:30
Alireza Ahmadi
ae97c36c9d fix issue with editing boolean fields (fix #2536) 2019-08-29 00:39:08 +04:30