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
Kirankumar Ambati
185292cd2a
fix typo in console ( #2527 )
2019-08-28 13:31:40 +05:30
Rikin Kachhia
4bdf965d87
fix table permissions page UX glitches ( #2763 )
2019-08-23 18:04:41 +05:30
Tirumarai Selvan
98784212e2
allow configuring timeout for remote schema calls ( close #2501 ) ( #2753 )
2019-08-23 14:27:19 +05:30
Rikin Kachhia
db0578843e
update console error pages image ( #2762 )
2019-08-21 16:54:12 +05:30
Rikin Kachhia
03ea997c3b
add schema permissions summary page + update table permissions page ( #2693 )
...
Schema permissions summary page
* show summary of access control for all roles across tables and actions
* allow copy of permissions from one role to others
Table permissions page
* highlight actions and roles as headers in table
* move bulk action selector to end of row
* scroll to edit/bulk section when opened
* pre-select table and action in clone section
2019-08-20 19:12:15 +05:30
Rikin Kachhia
47057989af
set console asset version as build timestamp ( #2742 )
2019-08-19 14:40:41 +05:30
Marion Schleifer
ffbdabf2d0
open secure-your-endpoint docs in new tab from console ( #2709 )
2019-08-13 12:09:47 +05:30
Rikin Kachhia
18822ded9a
update styles of data tables in console for better readability ( #2629 )
...
* add row striping
* reduce row vertical padding
* column widths based on content
* table width based on content
* handle display of data represented as objects (e.g. jsonb, geaography)
* display data with correct formatting in row expanded mode
* show pagination section even if numRows < page size
* hide filter/sort/pagination sections for object relationship
2019-08-09 16:27:44 +05:30
Rikin Kachhia
c79385864d
escape PG comment strings in console to allow quotes ( close #2641 ) ( #2676 )
2019-08-09 16:21:05 +05:30
Rikin Kachhia
01e71ca896
enable only normal and multiline inputs for text column editing ( #2684 )
2019-08-07 18:42:06 +05:30
Vamshi Surabhi
a5a07634a5
Merge branch 'master' into dev-scripts-and-doc-tweaks
2019-08-07 12:08:46 +05:30
Rishichandra Wawhal
e92ffcf440
refactor console codebase with customResolver -> remoteSchema ( #2670 )
2019-08-06 14:30:30 +05:30
Josha Inglis
d19491ce54
improve console logic for view updatability check ( fix #2667 ) ( #2668 )
2019-08-05 13:35:37 +05:30
Rikin Kachhia
19069c2c2b
show proper console notifications for errors in db schema load & metadata reload
2019-08-02 18:13:10 +05:30
Rikin Kachhia
c1d4f76c1f
allow adding frequently used columns from table modify page ( close #2545 ) ( #2593 )
2019-08-02 14:01:30 +05:30
IMRAN KHAN
4aef5b4c26
add About page to console to show versions info ( #2334 )
2019-07-29 19:45:39 +05:30
Rikin Kachhia
e3f68dbb67
add support for column comparision operators in permissions builder ( close #2040 ) ( #2606 )
2019-07-29 14:58:27 +05:30
Rikin Kachhia
b9a88d509d
allow using citext columns in row permission builder ( #2622 )
2019-07-29 14:50:27 +05:30
Rikin Kachhia
47792f85b0
fix radio btn selection on data input in edit row page ( close #2595 ) ( #2600 )
2019-07-26 13:16:49 +05:30
Rikin Kachhia
e9b5c4f5e4
show error stack trace on console error page for easier bug reporting ( close #2598 ) ( #2597 )
2019-07-26 13:08:59 +05:30
Brandon Simmons
57ad9c2f20
Don't keep gzipping gzipped versioned assets
2019-07-26 01:17:56 -04:00
Aravind Shankar
4405bac577
show warning for tables, columns, relationships which do not conform to GraphQL naming scheme ( close #212 ) ( #2422 )
2019-07-24 20:11:18 +05:30
Rikin Kachhia
3445de3630
update console UI for RawSQL page / Migration page / Notifications ( #2563 )
2019-07-24 12:57:00 +05:30
Anne Ogborn
7a683324f2
add multiline and rich editing to text fields ( close #458 ) ( #2498 )
2019-07-22 15:17:31 +05:30
Rishichandra Wawhal
012a2cd1d6
allow adding frequently used columns while creating tables + show table triggers on modify page ( closes #1462 ) ( #2240 )
2019-07-15 17:02:56 +05:30
Rikin Kachhia
5e4a1f4f94
fix column valid typecasts logic in console ( close #2519 ) ( #2543 )
2019-07-15 16:59:06 +05:30
Rishichandra Wawhal
ece9a2dc83
fix re-introspection on header change in console graphiql ( #2522 )
2019-07-15 15:08:52 +05:30
Khoa Nguyen
2259d77b05
handle missing columns in permission rules ( fix #2506 ) ( #2507 )
2019-07-11 17:19:06 +05:30
Vamshi Surabhi
f1cf6d0b17
allow session variables in operators which expect array input ( #2475 )
2019-07-10 15:49:58 +05:30
Rishichandra Wawhal
f97fb45bfd
fix multiple introspection queries ( #2492 )
2019-07-09 23:47:05 +05:30
Aravind Shankar
7356f59655
handle table with no columns in console ( close #2481 ) ( #2484 )
2019-07-08 20:01:15 +05:30
Rakesh Emmadi
9eb38e6c96
cache remote schema's introspection query response ( fix #1679 ) ( #2089 )
2019-07-08 11:21:41 +05:30
Rikin Kachhia
e404320e17
fix console license ( #2470 )
2019-07-04 14:57:35 +05:30
Alexis King
fb3794c31a
Support Node v12.x and fix tests on macOS ( #2455 )
...
* Bump node-sass to version ^4.12.0
This avoids sass/node-sass#2632 , which causes compilation failures on
Node v12.x.
* Do most of the work in /pg_dump in Haskell instead of shell
The shell version caused problems on non-Linux systems since it relied
on the non-POSIX -i option for sed, which works slightly differently on
BSD and macOS.
2019-07-03 14:07:13 +05:30
Rishichandra Wawhal
bdb415b386
use server version from console html ( #2464 )
2019-07-03 13:55:29 +05:30
Aravind Shankar
0aefbd0822
infer relationship type using uniqueness constraint of foreign key ( close #969 ) ( #2347 )
2019-07-02 19:05:27 +05:30
Aravind Shankar
2b616afd97
fix relationship page error if array fk relationship exists with table in another schema ( #2459 )
2019-07-02 18:37:28 +05:30
Rikin Kachhia
baeffc2a7a
fix type placeholders in console insert/edit row ( #2460 )
2019-07-02 18:35:52 +05:30
Anne Ogborn
63ad2c4fc5
change default type placeholder from 'text' to type (fix 2394) ( #2458 )
2019-07-02 18:03:37 +05:30
Anne Ogborn
9a6e9dfad5
refactor AddTable validation on console ( close #1712 ) ( #2408 )
2019-07-02 11:30:48 +00:00
Aravind Shankar
35230cb091
fix to show error notification when run sql fails in cli mode ( close #2438 ) ( #2446 )
2019-06-28 18:04:30 +05:30
Aravind Shankar
c85986c922
fix browse rows query error handling + boolean filter value ( close #2421 ) ( #2440 )
2019-06-28 16:07:16 +05:30
Anne Ogborn
6576204c66
add new column row during add table only after completed prev column def ( #2428 )
2019-06-26 19:54:30 +05:30
Aravind Shankar
c17bf2f94b
create down migration when a column is dropped ( close #2291 ) ( #2385 )
2019-06-26 18:42:44 +05:30
Aravind Shankar
03f0d4edaa
change browse rows action buttons heading id ( close #2403 ) ( #2413 )
2019-06-20 16:53:39 +05:30
Aravind Shankar
a40709dc4a
clear header state for remote-schema ( close #2396 ) ( #2401 )
2019-06-20 16:24:28 +05:30
Aravind Shankar
5053b1ecd8
add graphql-voyager to console ( close #314 ) ( #2369 )
2019-06-20 16:00:29 +05:30
Karthik Venkateswaran
8fb81e7f7a
fix postgres query to fetch pg_types default functions ( close #2399 ) ( #2402 )
2019-06-20 12:37:16 +05:30
Karthik Venkateswaran
93a7c2c734
suggest column default values ( #2352 )
2019-06-18 23:03:54 +05:30
Rikin Kachhia
00e911e3cd
update table rename handling ( #2393 )
2019-06-18 23:00:56 +05:30
Rikin Kachhia
4ce2b2cc3b
update console dev logging + add logging disable instructions to README ( #2388 )
2019-06-18 12:14:29 +05:30
IMRAN KHAN
d6a071bd83
render 404 for nonexistent resources ( #2341 )
2019-06-17 12:17:27 +05:30
Anne Ogborn
034c550ccd
enable add/modify/delete for event triggers and remote schemas in disabled migration mode ( fix #1875 ) ( #2366 )
2019-06-13 17:08:25 +05:30
Aravind Shankar
938921eed5
set console subscriptions protocol based only on graphql endpoint ( close #2330 ) ( #2374 )
2019-06-13 15:27:01 +05:30
Shahidh K Muhammed
a8dd3b3deb
add api to get server config details ( close #1831 ); add jwt-analyzer ( close #1369 ) ( #1925 )
2019-06-11 18:59:03 +05:30
Aravind Shankar
be5316a984
support multi-column manual relationships from console ( close #2007 ) ( #2332 )
2019-06-10 20:18:15 +05:30
Karthik Venkateswaran
0b3defd314
fix query to fetch list of postgres types, change filter ( close #2314 ) ( #2339 )
2019-06-07 19:58:02 +05:30
IMRAN KHAN
de09c29003
change events success code from 200 to 2xx ( close #2335 ) ( #2342 )
2019-06-07 18:12:32 +05:30
Rikin Kachhia
d1f0cf02a9
fix fk name generation ( #2320 )
2019-06-03 16:06:29 +05:30
Rakesh Emmadi
31cf7314e2
better change detection when altering foreign key constraints ( fix #2060 ) ( #2252 )
...
foreign keys are considered to be dropped only if constraint oid changes
2019-06-03 15:51:55 +05:30
Rikin Kachhia
04fa165059
fix console bugs ( #2309 )
...
* fix permissions bug
* fix insert/edit rows
* fix error on deleting unique column (close #2306 )
2019-06-01 02:15:35 +05:30
IMRAN KHAN
17b5dc0e9c
fix head to home console error from error page ( #2304 )
2019-05-31 17:57:49 +05:30
Aravind Shankar
f9fc0cc5e3
fix console schema update quirks ( #2286 )
2019-05-29 19:44:21 +05:30
Rikin Kachhia
7ab9d5eaeb
update console favicons to png ( #2287 )
2019-05-29 10:03:29 +05:30
Rishichandra Wawhal
cd060025a1
quote SQL appropriately while modifying PK ( #2289 )
2019-05-28 22:10:41 +05:30
Rikin Kachhia
f65a2b59b0
update console feature support checks ( #2202 )
2019-05-28 13:41:08 +05:30
Aravind Shankar
0957a43563
fix loadSchema to fetch currentSchema if schemas is empty ( #2283 )
2019-05-27 20:07:51 +05:30
IMRAN KHAN
13a0427614
fix breadcrumbs and pKey unique handling ( #2281 )
2019-05-27 19:48:30 +05:30
Aravind Shankar
3e814048cf
optimize sql used to fetch schema information on console ( fix #2273 ) ( #2280 )
2019-05-27 18:19:34 +05:30
Rikin Kachhia
b7396f79b1
fix console logging ( #2268 )
2019-05-25 13:28:28 +05:30
Aravind Shankar
e0a0e3a872
fix handling tables with capitals in name ( close #2266 ) ( #2267 )
2019-05-25 13:12:21 +05:30
Anupam Dagar
71557cdecc
add json editor for json data type ( fix #504 ) ( #1181 )
2019-05-24 20:40:39 +05:30
Aravind Shankar
2cdb1a1508
refactor schema management in console and misc fixes ( #2016 )
...
close #1704 , #2174 , #2188 , #2006 , #2031 , #1617 , #1882
2019-05-24 19:30:44 +05:30