Commit Graph

319 Commits

Author SHA1 Message Date
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