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
Karthik Venkateswaran
8639534aa4
handle empty recommended type casts for some pg types ( close #2258 ) ( #2262 )
2019-05-24 13:47:47 +05:30
Karthik Venkateswaran
8a9901d417
add all PG column types in table add / modify ( close #223 , #2035 , #394 , #2038 ) ( #1933 )
2019-05-22 16:53:30 +05:30
Rishichandra Wawhal
9940ae1992
update modify table tests ( #2245 )
2019-05-22 12:08:32 +05:30
Rishichandra Wawhal
3ef1219fa0
change default endpoint to v1/graphql; remove semver checks ( #2181 )
2019-05-16 14:38:44 +05:30
Shahidh K Muhammed
76ceb707f4
bundle console assets into server ( close #516 , close #521 , close #2130 ) ( #2192 )
...
This PR builds console static assets into the server docker image at `/srv/console-assets`. When env var `HASURA_GRAPHQL_CONSOLE_ASSETS_DIR=/srv/console-assets` or flag `--console-assets-dir=/srv/console-assets` is set on the server, the files in this directory are served at `/console/assets/*`.
The console html template will have a variable called `cdnAssets: false` when this flag is set and it loads assets from server itself instead of CDN.
The assets are moved to a new bucket with a new naming scheme:
```
graphql-engine-cdn.hasura.io/console/assets/
/common/{}
/versioned/<version/{}
/channel/<channel>/<version>/{}
```
Console served by CLI will still load assets from CDN - will fix that in the next release.
2019-05-16 13:15:29 +05:30
Rakesh Emmadi
0b210cc245
support allow-list for graphql queries ( closes #989 ) ( #2075 )
2019-05-16 11:43:25 +05:30
Rikin Kachhia
d6995c3547
add schema create/delete options in console ( closes #2142 ) ( #2143 )
2019-05-15 19:30:44 +05:30
Rishichandra Wawhal
5c07ebc512
support composite unique keys from the console ( close #506 ) ( #2148 )
2019-05-15 16:59:09 +05:30
Rishichandra Wawhal
5a8a34b8cf
fix column comment handling in modify ( fix #2164 ) ( #2187 )
2019-05-15 13:35:29 +05:30
Tirumarai Selvan
36e49ea75b
manual event triggers ( close #1687 ) ( #2077 )
2019-05-13 15:11:07 +05:30
Rikin Kachhia
0bb96883d6
fix function table permission url ( #2152 )
2019-05-10 12:53:08 +05:30
Rishichandra Wawhal
a0bed89283
fix relationship rename for non-public schemas ( close #1777 ) ( #2127 )
2019-05-07 17:54:44 +05:30
Rikin Kachhia
5b9e99acd3
sanitize migration filenames ( close #2094 ) ( #2123 )
2019-05-07 11:40:38 +05:30
Rikin Kachhia
b24456788c
fix set column as unique bug ( close #2096 ) ( #2108 )
2019-05-03 13:10:27 +05:30
Rikin Kachhia
c87940ae42
fix console expandable editor styles ( #2111 )
2019-05-03 13:09:33 +05:30
Rikin Kachhia
87bc39c9e9
restructure console files ( #2078 )
2019-04-26 16:41:52 +05:30
Rikin Kachhia
b61f54b086
change position of constraint names in table modify ( #2069 )
2019-04-26 13:39:09 +05:30
Rikin Kachhia
ed3e9caf2f
fix console bugs ( close #2030 , #2032 , #226 ) ( #2044 )
...
* fix timestamp column shown as text in modify section
* fix foreign key update bug in case of capital letters in name
* show column type, default value, constraint names as properties in modify section
* display disabled action btns in browse rows if no primary key set
* add tooltips to event trigger / remote schema try it out examples
2019-04-24 13:05:05 +05:30
John Bampton
91f4d7b5e2
change Github to GitHub at multiple places ( #2046 )
2019-04-23 15:39:28 +05:30
Vamshi Surabhi
b714923ffb
fix typo in the field name for accessing headers ( #2026 )
...
The diff says it all
2019-04-18 00:19:50 +05:30
Rakesh Emmadi
1d7cbc7f24
recover from inconsistent database state ( closes #231 ) ( #1863 )
2019-04-17 21:59:39 +05:30
Rishichandra Wawhal
393110420d
fix fk bug in non-public schemas ( #2010 )
2019-04-15 21:44:57 +05:30
Rikin Kachhia
5626a30f8d
refactor permissions types handling ( #2009 )
2019-04-15 18:57:37 +05:30
Rikin Kachhia
ef00e5f8f3
persist explorer / endpoint / headers collapsed state in ApiExplorer ( #1992 )
2019-04-15 18:57:07 +05:30
Rishichandra Wawhal
e94ee34017
make console function fetchTableListBySchema reusable ( #2008 )
2019-04-15 16:04:26 +05:30
Karthik Venkateswaran
bf3cf7ff8e
fix webhook url edit for event triggers ( #1987 )
2019-04-11 13:32:11 +05:30
Rikin Kachhia
86192511a4
show default values as placeholder during insert row ( #1985 )
2019-04-10 19:16:32 +05:30
Rikin Kachhia
605ecda832
handle permission api shorthands in console ( #1986 )
2019-04-10 19:15:53 +05:30
Rikin Kachhia
b316bf60cb
optimise introspection query calls ( #1971 )
2019-04-10 18:05:35 +05:30
Mathias Griffe
39135d0990
fix save function in console's retry config editor ( fix #1975 ) ( #1976 )
2019-04-10 16:55:45 +05:30
Rikin Kachhia
c58acaf641
add placeholder for bool type fields while inserting rows ( #1962 )
2019-04-10 13:40:34 +05:30
Rikin Kachhia
6b3e544069
re-add same as other action options in permissions ( #1970 )
2019-04-09 19:12:50 +05:30
Rikin Kachhia
1a4f172f6e
update console permissions ui ( #1924 )
...
* Make permissions sections as collapsibles with tooltips
* Remove 'use same permission as select' type options from row permissions section
* Added clone section to apply same permission to any table-role-action
* Disable other subsections till row permissions are set
2019-04-09 17:25:02 +05:30
Rikin Kachhia
60b450b903
fix styles in browse rows, relationship and permission tables ( #1969 )
2019-04-09 17:22:12 +05:30
Rishichandra Wawhal
70cd78fec0
support composite foreign keys and primary keys through console ( close #1707 ) ( #1854 )
2019-04-08 18:47:02 +05:30
Rishichandra Wawhal
c964c90a7b
persist queries in GraphiQL ( closes #1894 ) ( #1903 )
2019-04-03 19:43:09 +05:30
Anne Ogborn
44d6bb8b7e
improve console error page ( close #272 ) ( #1890 )
2019-04-03 19:08:17 +05:30
Rikin Kachhia
56c67509aa
update track relationship text in console ( #1927 )
2019-04-03 15:07:14 +05:30
Rikin Kachhia
1c6e962776
remove remote schema env var note ( #1932 )
2019-04-02 16:44:02 +05:30
Rikin Kachhia
b5188e79f4
update raw sql notes and tooltips ( #1926 )
2019-04-02 15:58:06 +05:30
Rikin Kachhia
e80a58faac
refactor some console components for readability ( #1928 )
2019-04-02 15:45:38 +05:30
Karthik Venkateswaran
8221653237
make graphiql api endpoint and request header sections collapsible ( #1723 )
2019-04-01 18:45:29 +05:30
Tirumarai Selvan
36781199d0
breaking: drop id from event_triggers table ( fix #1840 ) ( #1857 )
2019-03-25 22:40:52 +05:30
Karthik Venkateswaran
d93e3b533c
use inflection to suggest relationship names ( close #1665 ) ( #1801 )
...
This breaks existing behaviour on how relationship names are generated.
2019-03-25 20:25:24 +05:30
Shahidh K Muhammed
b8700cce70
add spatial predicates for geography columns ( close #1674 ) ( #1735 )
...
This PR adds support for PostGIS spatial predicates on geography columns. The predicates are _st_d_within and _st_intersects.
2019-03-25 17:59:52 +05:30
Rikin Kachhia
1ba382193e
update console and docs favicons ( close #1485 ) ( #1760 )
2019-03-25 15:42:56 +05:30
Rikin Kachhia
2bc2c40532
handle capital letters and quotes in Raw SQL Track this ( #1811 )
2019-03-19 14:23:19 +05:30
Rishichandra Wawhal
97ac88edb5
fix relationship editor bug in console ( #1814 )
2019-03-19 14:22:31 +05:30
Shahidh K Muhammed
a5890623c4
specify needed node version, clarify setup instructions ( close #1754 ) ( #1815 )
2019-03-19 10:42:50 +05:30
Karthik Venkateswaran
ead7e614a0
remove graphiql suggestions on page navigation ( #1803 )
2019-03-18 23:45:47 +05:30
Rishichandra Wawhal
bcb3fb4fab
reload onegraph schema on header change ( #1810 )
2019-03-18 23:21:42 +05:30
Rishichandra Wawhal
3d81e02026
add onegraph explorer to console ( close #1616 ) ( #1680 )
2019-03-18 11:05:35 +05:30
Rikin Kachhia
df8216b576
show migration name section only if This is migration is checked ( close #1732 ) ( #1762 )
2019-03-16 15:11:59 +05:30
Tirumarai Selvan
a26716cb0a
change try it out link for remote schema in console #1788
2019-03-15 14:55:53 +05:30
Rikin Kachhia
f736ad2b47
fix console raw SQL track this logic ( close #1671 , #1627 ) ( #1717 )
...
* Track this will be disabled if SQL contains a create function statement
* Track this will be disabled if SQL contains a create table/view statement for a table/view which is already tracked
2019-03-13 15:35:49 +05:30
surendran82
6a4a33f304
add quickstart content to console remote schema and event triggers pages ( #1630 )
2019-03-07 18:34:43 +05:30
Rikin Kachhia
06afb75f4e
console code refactor ( #1688 )
...
* Removed duplicate css
* Reorganised common code
2019-03-06 17:00:25 +05:30
Rikin Kachhia
da4ed1a808
fix console browse rows bugs ( #1691 )
2019-03-04 20:32:28 +05:30
Rakesh Emmadi
6c20ca8a55
allow renaming tables, columns and relationships ( close #79 ) ( #1542 )
2019-03-01 14:47:22 +05:30
Rishichandra Wawhal
00227728cb
add "*" for insert and delete columns when creating and modifying trigger ( close #1629 ) ( #1673 )
...
This PR adds "*" as columns for insert and delete so that there are no column dependencies on event triggers and users can drop/modify columns whenever they want.
```
{
"type": "bulk",
"args": [{
"type": "create_event_trigger",
"args": {
"name": "test",
"table": {
"name": "user",
"schema": "public"
},
"webhook": "http://httpbin.org/post ",
"insert": {
"columns": "*"
},
"update": {
"columns": ["col1", "col2"]
},
"delete": {
"columns": "*"
}
"headers": []
}
}]
}
```
2019-03-01 11:13:10 +05:30
Rikin Kachhia
214cdeb388
update console permissions ( #1658 )
...
* removed trash icon to remove all permissions to avoid confusion. Same action can be done via the bulk section
* colour coded permissions symbols for better visual feedback
2019-02-28 20:22:08 +05:30
Rikin Kachhia
2783561e1b
update console browse rows section ( close #1622 ) ( #1642 )
...
* Update browse rows UI
* Make columns draggable
* Make columns collapsible
* Allow multiple columns sort using column headers
* Add no sort option while toggling
2019-02-28 20:19:53 +05:30
Rishichandra Wawhal
a002d3ad2a
refactor console code, update react to 16.8.2 ( close #1467 ) ( #1608 )
2019-02-28 17:13:06 +05:30
Rikin Kachhia
e5290d4281
fix console sidebar links highlighting ( #1657 )
2019-02-26 12:34:14 +05:30
Rikin Kachhia
56a08a16b5
make button texts consistent across event trigger and remote schemas ( close #1634 ) ( #1666 )
2019-02-26 12:23:36 +05:30
Rikin Kachhia
626af8939f
handle empty header key in console APIExplorer ( #1641 )
2019-02-22 11:59:23 +05:30
Rikin Kachhia
5a1fc5d46c
update console unable to connect to server msg ( #1625 )
2019-02-19 18:11:57 +05:30
Praveen Durairaj
6ef0b4dfdf
fix console hot reloading and upgrade to babel 7 ( #1618 )
2019-02-19 14:00:48 +05:30
Praveen Durairaj
76b51216fc
fix ace editor cursor to match with the text ( #1620 )
2019-02-19 10:01:23 +05:30
Rishichandra Wawhal
386ab81b96
make events and remote-schema tabs independent of update checker ( #1604 )
...
* fix a bug where update check request failure would stop remote-schemas and event triggers tab from loading
* update graphiql test for with and without admin secret
* remove dev data api url from localDev env
2019-02-17 17:14:52 +05:30
Rikin Kachhia
75674859b3
update console permissions ( close #1503 , #1529 , #1567 , #1470 ) ( #1605 )
...
* show roles from all tables/views in the schema
* show operators and set values based on field type in permission builder
* add support for jsonb and postgis operators in permission builder
* add note for permissions for relationships
* enable only one Save permissions button if apply to other roles is selected
2019-02-17 16:06:29 +05:30
nizar-m
f83a8e591f
rename access-key to admin-secret ( close #1347 ) ( #1540 )
...
Rename the admin secret key header used to access GraphQL engine from X-Hasura-Access-Key to X-Hasura-Admin-Secret.
Server CLI and console all support the older flag but marks it as deprecated.
2019-02-14 15:07:47 +05:30
Tirumarai Selvan
51dd6157e1
remove wreq and set response timeout ( close #1477 ) ( #1501 )
2019-02-14 13:07:59 +05:30
Rakesh Emmadi
cba732d439
support column presets in update mutation ( closes #1449 , closes #1464 ) ( #1473 )
...
Also restricts altering type of columns which are used in presets
2019-02-11 18:15:30 +05:30
Rishichandra Wawhal
61aa39ee35
fix add-column button overflow in modify table ( #1518 )
2019-02-11 16:27:51 +05:30
Rishichandra Wawhal
ca7e2167e5
fix a bug where div keys repetition caused buggy render ( #1578 )
2019-02-11 16:27:26 +05:30
Karthik Venkateswaran
ad72984749
fix console custom functions bug ( close #1561 ) ( #1566 )
2019-02-06 23:27:57 +05:30
Karthik Venkateswaran
39982d459a
fix custom functions console bugs ( close #1548 , #1549 ) ( #1552 )
2019-02-06 22:00:57 +05:30
Rikin Kachhia
4bf9d19b13
fix console permissions bug ( #1562 )
2019-02-06 13:26:55 +05:30
Karthik Venkateswaran
1268ef63df
don't strip x-hasura-access-key from headers for explain/analyze query, closes #1533 ( #1534 )
2019-01-31 11:13:24 +05:30
Patt-tom McDonnell
638b837f17
sort table names alphabetically when creating new triggers ( #1194 )
2019-01-29 21:28:10 +05:30
Gopal Ojha
cf7d482652
add note for env var usage in webhook, remote schema urls ( fix #970 ) ( #1384 )
2019-01-29 21:26:57 +05:30
Rishichandra Wawhal
ef565590af
remove the usage of spread operator in setState ( #1490 )
2019-01-29 13:10:53 +05:30
Anupam Dagar
e528445c45
change json field placeholder from 'asdf' to 'bar' ( close #1260 ) ( #1261 )
2019-01-28 22:24:55 +05:30
nizar-m
32387ba964
support union and interface types in remote schema ( close #1276 ) ( #1361 )
2019-01-28 22:15:10 +05:30
Praveen Durairaj
33b8c3dcc7
console ui fixes ( #1455 )
...
* Ui fixes for console
* UI fixes for sidebar scroll, table and api explorer page text box read only
* Api explorer input box readonly
* No rows found fix
* Table scroll fix in firefox
* Event trigger page sidebar scroll and table head fix
API Explorer input box readonly and cursor changes
Focus on schema dropdown firefox fix
Border bottom on scroll for react-table fixed
Left sidebar table scrollbar fix for firefox
[skip-ci]
2019-01-28 19:35:38 +05:30
Shahidh K Muhammed
11e7c3f9d6
add anonymous telemetry ( #1401 )
2019-01-28 19:25:28 +05:30
Rishichandra Wawhal
81c950ecc5
fix a bug where modifying trigger opts failed ( #1465 )
2019-01-26 11:11:53 +05:30
Rakesh Emmadi
0bf2457e23
allow exposing postgres functions through GraphQL interface ( close #333 ) ( #1073 )
2019-01-25 09:01:54 +05:30
Karthik Venkateswaran
8342a962d5
analyze now works for all roles from the console, closes #1457 ( #1459 )
2019-01-24 23:10:11 +05:30
Aravind Shankar
b5b2fe6851
create correct down migration for delete_event_trigger action ( close #1390 ) ( #1391 )
2019-01-24 09:40:49 +05:30
Rishichandra Wawhal
46fdfc998f
auto-fill name while suggesting relationships ( closes #1095 ) ( #1437 )
2019-01-24 09:40:21 +05:30
Rishichandra Wawhal
3cfeb6064a
reuse buttons across console for uniformity ( #1400 )
2019-01-23 07:26:40 +05:30
dsandip
fcb6bd6449
modify contributing guides for docs, console and community ( #1427 )
2019-01-21 16:49:35 +05:30
Rishichandra Wawhal
26a997208a
fix console link on schema change ( #1389 )
2019-01-17 22:38:37 +05:30
Aravind Shankar
e375c61e4a
fix to create correct down migrations for permission ( close #1366 ) ( #1376 )
2019-01-16 16:22:52 +05:30
Praveen Durairaj
f7d408e2da
remove permission-denied check for login redirect ( close #1364 ) ( #1363 )
...
* remove permission-denied check for login redirect
* remove alert
2019-01-12 18:59:43 +05:30
Siddhant Srivastav
406df14bc2
add css property to completely show column values ( close #1246 ) ( #1337 )
2019-01-11 16:34:25 +05:30
Rishichandra Wawhal
00dc868f25
move schema dropdown to top-left ( close #1092 ) ( #1118 )
2019-01-11 16:33:41 +05:30
Aravind Shankar
a2b40de8a0
console bug fixes on event triggers page ( close #1307 ) ( close #1308 ) ( close #1332 ) ( #1336 )
2019-01-08 13:48:12 +05:30
Aravind Shankar
35d0e8f3f3
fix to display correct delivered time on console event trigger ( close #1309 ) ( #1312 )
2019-01-08 13:38:03 +05:30
Aravind Shankar
3f79ad2809
fix incorrect array relationship suggestion in case of circular fk ( close #1296 ) ( #1306 )
2019-01-08 13:37:40 +05:30
surendran82
ca5ccd7a59
fix console ui issues ( close #1303 ) ( close #1049 ) ( close #1282 ) ( #1330 )
...
Fix and close #1303 , #1049 and #1282
2019-01-08 10:44:21 +05:30
Rishichandra Wawhal
8134116750
determine api root from consolepath var on console ( #1228 )
...
* console determines data api url from console path
* update contributing instructions in README
2019-01-04 15:21:05 +05:30
Gagan Ganapathy
92ff16a605
persist headers in graphiql tab ( close #275 )
2019-01-04 12:11:11 +05:30
Aravind Shankar
7c5a5a2957
display table name for manual array relationship from view to table, fix #1292 ( #1293 )
2019-01-04 12:05:16 +05:30
surendran82
675370e98c
highlight actionable buttons when its on focus ( close #1294 )
2019-01-04 12:04:17 +05:30
surendran82
79de01425e
ui improvements on event trigger update columns ( close #1257 ) ( #1259 )
2019-01-03 14:25:08 +05:30
Anupam Dagar
27ae18438e
show only valid options in alter type dropdown on modify table page ( close #544 ) ( #1174 )
...
This commit fixes the alter type dropdown on modify page
to show only valid datatypes.
Fixes : #544
The valid datatypes are as follows:
### From integer/ integer auto increment:
1. integer auto increment
2. big int
3. big int auto increment
4. numeric
5. text
### From uuid:
1. text
### From big int/ big int auto increment:
1. big int auto increment
2. text
3. numeric
### json and jsonb can be changed to one another.
### Don't allow change of datatype for text, ~~date, timestamp, time and boolean~~.
### Allow change of datatype to text for date, timestamp, time and boolean.
2019-01-03 11:15:14 +05:30
Siddhant Srivastav
9b229651eb
add a section title to add column in modify tab ( fix #1096 ) ( #1245 )
2018-12-20 16:52:57 +05:30
Shahidh K Muhammed
4940492266
revert consolePath change for console ( #1226 )
2018-12-18 17:21:39 +05:30
Rakesh Emmadi
b5bbb966f2
add consolePath in console.html template ( #1222 )
...
Server templates `consolePath` key in `window.__env` object in console html template.
If server is hit at `/console/table/author` then `window.__env` in served html looks like
```
{
consoleMode: "server",
urlPrefix: "/console",
consolePath: "/console/table/author",
isAccessKeySet: true
}
```
2018-12-18 15:09:01 +05:30
Rishichandra Wawhal
9d8ac86269
enable updating event trigger from console ( close #489 ) ( #1124 )
2018-12-17 17:37:58 +05:30
Aravind Shankar
1548b82e0e
optimise the on-load queries on console using bulk api ( close #1191 ) ( #1196 )
2018-12-17 13:16:54 +05:30
Rakesh Emmadi
3026c49087
apply update permissions for upsert mutations ( #628 )
2018-12-15 21:40:29 +05:30
Aravind Shankar
58cfbed22e
permissions ui improvments ( close #1068 ) ( #1205 )
2018-12-15 10:38:50 +05:30
Aravind Shankar
432a151f62
show response status code in event trigger events tab ( close #1022 ) ( #1203 )
2018-12-15 10:36:25 +05:30
Patt-tom McDonnell
e3e57ff3c3
show datatype next to column names when adding triggers ( #1188 )
2018-12-14 17:08:17 +05:30
Vamshi Surabhi
ec8b2c80b5
refactor to remove warnings especially with orphan instances ( #1163 )
...
* remove phase one/two distinction and hdbquery typeclass
* move extensions to default-extensions
* switch to LazyTx which only acquires a connection if needed
* move defns from TH module into Ops module
* remove tojson orphan instance for http exception
* remove orphan instance for dmlp1
* getTopLevelNodes will not throw any exceptions
2018-12-13 12:56:15 +05:30
Siddhant Srivastav
2855e07b11
fix preloader refresh on events page ( close #1000 ) ( #1153 )
2018-12-11 14:26:34 +05:30
Praveen Durairaj
65d476c800
export console remote schemas ( #1165 )
2018-12-05 14:54:29 +05:30
Rikin Kachhia
1e24da8633
handle cross schema permissions in console permission builder ( Close #1127 #1152 ) ( #1158 )
2018-12-03 18:18:21 +05:30
Aravind Shankar
0281a1bfe1
console semver check fix for non-tag versions ( #1134 )
2018-12-03 14:43:49 +05:30
Aravind Shankar
980d2030d9
fix suggested relationship name strips off numbers ( close #1139 ) ( #1144 )
2018-11-30 12:26:15 +05:30
Rishichandra Wawhal
7f56da9f28
console semver fix for commits on master branch ( #1131 )
2018-11-28 15:20:55 +05:30
Rishichandra Wawhal
6a2c4566b7
update notes in the sql section ( close #1093 ) ( #1116 )
2018-11-27 10:20:27 +05:30
Anon Ray
512ee6fb9f
adds basic support for remote schemas/schema stitching ( #952 )
2018-11-23 18:32:46 +05:30
Tirumarai Selvan
317efb81f1
event triggers: take webhook url from env ( close #966 ) ( #968 )
2018-11-14 12:43:01 +05:30
Rishichandra Wawhal
8b1062bd78
allow hypens in event-trigger names ( #1024 )
2018-11-14 10:33:56 +05:30
Aravind Shankar
03d2ebd00d
track table when 'create or replace' is used in run sql ( close #995 ) ( #1021 )
2018-11-13 17:39:57 +05:30
riffrayugo
dc2386ae4e
add link to docs on console help button ( close #908 ) ( #909 )
2018-11-09 14:49:24 +05:30
Daniel Brereton
9cb5c71ed9
update console readme ( #946 )
2018-11-08 12:04:41 +05:30
Abhinav Srivastava
c776cd84a6
update multiple files ( #943 )
2018-11-08 12:02:57 +05:30
czakarian
e756061439
update typo in console readme ( close #944 ) ( #945 )
2018-11-04 08:05:21 +05:30
Rakesh Emmadi
999580481c
allow specifying a list of columns that can be inserted ( close #250 ) ( #917 )
2018-11-02 20:38:38 +05:30
surendran82
a32d94f841
update logo in console ( #934 )
2018-10-31 17:23:38 +05:30
Rishichandra Wawhal
4890434477
fix broken redirect from table/edit to table/browse ( close #905 ) ( #935 )
2018-10-30 16:24:51 +05:30
Karthik Venkateswaran
b84a03fc38
fix issue with pending event trigger logs when opened ( #926 )
2018-10-29 23:42:22 +05:30
Karthik Venkateswaran
a1febadf47
remove tries filter from where clause for pending events ( #921 )
2018-10-29 20:27:51 +05:30
Karthik Venkateswaran
c3f4c35141
handle non-public schema cases for manual relationship creation ( close #911 ) ( #912 )
2018-10-29 17:50:17 +05:30
Karthik Venkateswaran
4e08be15d6
handle table/schema names in relationship suggestions properly ( close #876 ) ( #879 )
2018-10-27 15:40:11 +05:30
Karthik Venkateswaran
92182e9af3
update advanced settings in create trigger page ( close #654 ) ( #868 )
2018-10-27 09:52:23 +05:30
Aravind Shankar
add2d40517
added support for composite relationship suggestions ( close #284 ) ( #808 )
2018-10-27 09:08:17 +05:30
Karthikeya Viswanath
224042a28b
set event trigger headers from console (close 523) ( #812 )
2018-10-27 09:03:54 +05:30
Tirumarai Selvan
baf7c493bc
respect retry-after header on event trigger response ( #525 )
2018-10-26 21:58:03 +05:30
Vamshi Surabhi
8b0082eac1
clean up user variables parsing logic and fix explain api ( #869 )
2018-10-26 21:27:22 +05:30
Rakesh Emmadi
fb842fde6f
optional 'set' field in insert permissions, closes #216 ( #622 )
2018-10-26 20:28:20 +05:30
Rakesh Emmadi
a8cee16ab5
support aggregations ( closes #786 ) ( #787 )
...
* support for count and aggregations on columns, close #786
* support explain query for aggregations
* '<arr-rel>_agg' in '<table>' type, fix order by for aggregations
* add 'allow_aggregations' key in select permissions
* Add checkbox to toggle count and aggregations on columns on select permission
* align aggregation checkbox with columns div
* improve readability of the generated sql
* alias is needed at the top level aggregation
* throw internal errors for unexpected fields
* rename SelFld to more readable TableAggFld
* rename agg to aggregate
2018-10-26 14:32:43 +05:30
Aravind Shankar
e437604f57
quote schema identifier separately ( close #837 ) ( #838 )
2018-10-26 08:23:14 +05:30
Karthik Venkateswaran
748b6c91c9
increase width of schema text section ( fix #820 ) ( #822 )
2018-10-20 14:49:07 +05:30
Karthik Venkateswaran
0e56c98959
add syntax highlighting for sql in query analysis ( #819 )
...
* Send headers as part of request headers too
* Disable helper functions from linting
* Update hasura-console-graphiql to filter mutations from analyze list
* Update hasura-console-graphiql to 0.0.6
2018-10-19 14:47:41 +05:30
Karthik Venkateswaran
bcb3dadf27
send headers as part of request headers too for explain query ( #816 )
2018-10-19 10:50:43 +05:30
Vamshi Surabhi
ac537330d0
explain a graphql query, similar to explain of an sql statement ( close #562 ) ( #805 )
2018-10-19 07:45:28 +05:30
Aravind Shankar
9818819151
track multiple instances of table/view in run sql ( close #784 ) ( #785 )
2018-10-17 10:56:35 +05:30
Aravind Shankar
bdcb282c32
don't check for run sql migration name in server mode ( fix #778 ) ( #780 )
2018-10-16 17:18:42 +05:30
Shrey
421606f124
add name field for migrations created via run_sql ( close #541 ) ( #750 )
2018-10-15 18:09:27 +05:30
Burak Özdemir
feb8968879
fix e.g. and i.e. typos ( #732 )
2018-10-15 14:17:21 +05:30
Aravind Shankar
6591095ba1
fix track table error when table name is immediately followed by '(' ( close #717 ) #718
2018-10-15 11:42:08 +05:30
Rakesh Emmadi
49dd7bf98b
allow mutations on views only if they are allowed by postgres ( fix #232 ) ( #339 )
2018-10-12 17:36:12 +05:30
Léo Pradel
7d1361ceb7
fix broken link on console readme ( #697 )
2018-10-11 09:13:26 +05:30
Rikin Kachhia
27302fae68
console: add support for _is_null operator in permissions ( #700 )
2018-10-11 09:11:08 +05:30
Aravind Shankar
813795d094
fix to append uriPrefix on schema change event ( close #691 ) ( #692 )
2018-10-10 15:16:19 +05:30
Karthikeya Viswanath
882719f7e7
add reset metadata button to settings page ( close #515 ) ( #673 )
2018-10-10 13:05:18 +05:30
Aravind Shankar
40c391df09
track table in run_sql handles schema name and table name separately ( close #484 ) ( #685 )
2018-10-10 10:34:19 +05:30
Aravind Shankar
a68bb61250
improve version check for server dependent features ( close #388 ) ( #676 )
2018-10-09 16:33:48 +05:30
Zac Braddy
4f2fd73f2c
insert row inputs respect null and default values ( fix #545 ) ( #589 )
2018-10-09 15:50:29 +05:30
Rishichandra Wawhal
137ab673ef
remove an unnecessary test from console ( #681 )
2018-10-09 14:55:03 +05:30
Peter McAree
936d4c7b85
metadata button appears for custom versions (fixe #618 ) ( #662 )
2018-10-09 14:05:44 +05:30
Arash Khazaei
dbdd79a987
fix alert in cli mode without accesskey ( close #536 ) ( #588 )
2018-10-09 11:55:10 +05:30
Karthikeya Viswanath
64286f69ed
add clear access key button ( close #486 ) ( #675 )
2018-10-08 19:50:33 +05:30
Akshit Bhalla
fc68477b63
add phantom div for update check banner ( fix #271 ) ( #665 )
2018-10-08 19:49:20 +05:30
Shrey
69b57625a0
add keybinding to submit sql query ( close #542 )
2018-10-08 19:38:22 +05:30
Sunita Sen
3d9cad7708
fixe typo in console readme ( #658 )
2018-10-05 23:39:56 +05:30
Kevin Raynel
5abd18a156
enable redux-dev-tools if present in dev mode ( closes #606 ) ( #607 )
2018-10-05 19:14:03 +05:30
Varun Dey
b439d15725
fix typo in cypress readme ( #651 )
2018-10-05 15:25:49 +05:30
Karthik Venkateswaran
80a5f00ae4
fix failing tests on console ( #650 )
2018-10-05 15:10:00 +05:30
Gaurav Sachdeva
d02361ce14
fix typos, punctuation, etc in docs ( #635 )
2018-10-04 19:55:46 +05:30
Karthik Venkateswaran
b07d04a4a4
configuration list is alphabetical, add note in sql tab for down migrations ( close #616 ) ( close #617 )
2018-10-04 15:12:01 +05:30
Praveen Durairaj
509c8b89ed
logo and favicon update on console ( #627 )
2018-10-03 18:49:56 +05:30
Karthikeya Viswanath
f34338f792
add tooltip for upsert option under custom permissions ( #546 ) ( #566 )
2018-10-02 12:17:28 +05:30
Kevin Raynel
05dea9f888
fix typo in proptypes validation ( fixes #604 ) ( #605 )
2018-10-02 11:44:13 +05:30
Akash Agrawal
ffa0938a86
ask for confirmation before deleting event triggers ( close #599 )
2018-10-02 11:02:54 +05:30
Karthik Venkateswaran
c98c88c00c
allow adding relationship across schemas via manual relationship ( fix #526 ) ( #533 )
...
Adds a schema dropdown to manual relationship section which allows creating manual relationship across schemas. This feature is added based on this PR #526
- [x] Console
Adds a schema dropdown to manual relationship section which allows creating manual relationship across schemas
2018-09-29 11:23:15 +05:30
Karthik Venkateswaran
a9dc756a40
update console variables and contributing guide ( close #517 ) ( #538 )
...
Changes `consoleMode` variable templated by HGE to `server` and modified console to respect in the same way and adds a patch to continue working with the older HGEs
- [x] Server
- [x] Console
2018-09-27 17:10:32 +05:30
Karthik Venkateswaran
42177360e3
console fixes ( close #406 ) ( close #491 ) ( #522 )
...
Fetches event information on click on the redeliver event icon and refreshes every 5 seconds to display the recent invocation data
2018-09-25 22:11:56 +05:30
Karthik Venkateswaran
65f29610f0
take access key from redux state ( #514 )
2018-09-22 14:32:41 +05:30
Karthik Venkateswaran
72dfa7dcde
remove development data api url ( #492 )
2018-09-20 09:55:40 +05:30
Karthik Venkateswaran
6f1be7c3b2
show access key prompt when server indicates it's set ( close #426 ) ( #481 )
2018-09-19 15:35:47 +05:30
Praveen Durairaj
17490e14ee
fix add manual relationships state ( close #442 ) ( #450 )
2018-09-14 14:11:03 +05:30
Praveen Durairaj
eeb15f663f
sort untracked table list alphabetically ( close #421 ) ( #449 )
2018-09-14 12:55:11 +05:30
Praveen Durairaj
7b6add51e6
fix track_table pattern, error handling in run_sql ( close #392 ) ( #448 )
2018-09-14 12:44:41 +05:30
Praveen Durairaj
7a8fc66f73
export event triggers component ( #386 )
2018-09-10 17:48:20 +05:30
Aravind Shankar
79a6849241
add parallel tests and update dependencies ( #374 )
2018-09-08 23:01:14 +05:30
Tirumarai Selvan
e905535beb
implement api to deliver a particular event ( close #371 ) ( #373 )
2018-09-07 17:21:01 +05:30
Karthik Venkateswaran
e3102dfd5e
ui buttons to export and import metadata, reload metadata api ( close #293 ) ( #323 )
2018-09-05 20:55:30 +05:30
Praveen Durairaj
a49188a606
console: handle non access key errors ( #356 )
...
[skip ci]
2018-09-05 18:38:19 +05:30
Praveen Durairaj
258885ad4d
console: update request payload event triggers ( #358 )
2018-09-05 18:37:52 +05:30
Praveen Durairaj
e8a86a569f
console: add version check for event triggers ( #361 )
...
[skip ci]
2018-09-05 18:30:27 +05:30
Tirumarai Selvan
82e09efce6
add event triggers ( #329 )
2018-09-05 16:56:46 +05:30
Praveen Durairaj
d397d932d6
console: fix error notification non json, auto height css ( #354 )
2018-09-05 12:06:21 +05:30
Shahidh K Muhammed
80bc927d29
Revert "add links to share and help ( #303 )" ( #334 )
...
This reverts commit 798efdd1c0
.
2018-08-30 19:27:06 +05:30
Praveen Durairaj
798efdd1c0
add links to share and help ( #303 )
2018-08-27 19:55:34 +05:30
Praveen Durairaj
c645fc5c46
permissions ui/ux improvements ( close #205 ) ( #295 )
...
- Delete role(s)
- Apply same type of permission to multiple roles
Closes #205
2018-08-22 13:55:48 +05:30
Aswin M Prabhu
b47172974f
ignore case when comparing header names to detect access key ( fix #286 ) ( #287 )
2018-08-15 14:17:18 +05:30
Rishichandra Wawhal
6ba9c759e6
import queries into graphiql from url in query params ( #283 )
...
If there are a bunch of queries at a file path, say: `https://raw.githubusercontent.com/wawhal/test-repo/master/queries.graphql `, you can template GraphiQL with those queries by passing the URL in query params.
For example: if the console is running at `https://wofoo.herokuapp.com/console `, to template the queries, the URL would be: `https://wofoo.herokuapp.com/console?query_file=https://raw.githubusercontent.com/wawhal/test-repo/master/queries.graphql `
2018-08-14 15:35:57 +05:30
Praveen Durairaj
f3d22cbbb3
export console as npm module ( #279 )
2018-08-13 14:38:17 +05:30
Rikin Kachhia
816b480df3
handle legacy operators in permissions builder ( fix #268 ) ( #270 )
2018-08-08 11:41:00 +05:30
Rakesh Emmadi
9c55490e98
add limit in select permission which overrides limit in query ( close #178 ) ( #237 )
2018-08-06 17:45:08 +05:30
Praveen Durairaj
60f15c654b
create table, modify table ui alignment fix ( #249 )
2018-08-03 16:16:42 +05:30
Praveen Durairaj
40602fcc6e
add url prefix for console add table redirect ( fix #245 ) ( #247 )
2018-08-03 12:41:29 +05:30
Praveen Durairaj
6340a5074a
show graphql-engine version on console ( close #184 ) ( #230 )
2018-07-31 12:06:20 +05:30
Praveen Durairaj
2e58483af3
modify comments for tables/columns and views ( #220 )
...
* console: modify comments for tables/columns
* console: fix bugs, css
* console: update package.json
* console: fix comment
2018-07-30 19:09:18 +05:30
Praveen Durairaj
70d7c7deb1
add version update checker ( #215 )
2018-07-26 17:10:32 +05:30
Aswin M Prabhu
94b309d69a
remove legacy react lifecycle methods ( fix #99 ) ( #208 )
...
* remove legacy react lifecycle methods (#99 )
2018-07-25 20:40:54 +05:30
Aswin M Prabhu
7feb82ed98
add test for subscriptions, improve coverage ( fix #191 )
2018-07-25 12:14:27 +05:30
Aswin M Prabhu
a127b5ae59
show access key as password on the console ( fix #98 ) ( #203 )
2018-07-24 17:29:53 +05:30
Rishichandra Wawhal
9b61964b71
retry websocket connection on failure ( fix #198 ) ( #200 )
2018-07-24 15:22:47 +05:30
Cosmin Radoi
453f7d8b7f
refactor: convert function expression to arrow function ( #181 )
...
Just a few cases of converting a traditional function to ES6 arrow functions. Pure refactoring.
2018-07-23 11:59:56 +05:30
Shahidh K Muhammed
9081a27259
open secure websockets if console and endpoint are both on https (fix 182) ( #183 )
2018-07-21 05:18:57 +05:30
Aravind Shankar
75dbe35a21
create down migrations for actions from console ( close #164 ) ( #173 )
2018-07-20 16:01:33 +05:30
Vamshi Surabhi
e3f960da96
initial support for livequeries ( #176 )
...
fix #59
2018-07-20 12:52:46 +05:30
ASWIN M PRABHU
8d83cbedd3
fix error when altering schema in raw_sql ( fix #171 ) ( #172 )
2018-07-19 16:51:35 +05:30
Praveen Durairaj
81da2f7d1a
add cascade option for raw sql ( close #161 ) ( #168 )
2018-07-19 16:38:32 +05:30
Rishichandra Wawhal
7ea67f207c
add uuid column type in console ( close #142 ) ( #160 )
2018-07-18 18:16:04 +05:30
ASWIN M PRABHU
c16e3ca949
improve tests for relationships ( close #130 ) ( #131 )
2018-07-16 15:30:40 +05:30
Rishichandra Wawhal
87359fb9fc
show indicative comments on graphiql if no tables are present ( #120 )
2018-07-12 00:54:14 +05:30
Rikin Kachhia
45cd97f9b8
fix and/or expressions in permissions builder ( #119 )
2018-07-12 00:51:26 +05:30
Praveen Durairaj
32750d65fb
fix secure endpoint link, update contributing guide ( #117 )
2018-07-11 20:07:23 +05:30
Rishichandra Wawhal
3a085da736
testing console tests in the ci ( #83 )
...
* testing console tests in the ci
* console: making cypress wait for the server to start
* console: fixing failing tests
* console: update failing test
* console: cleaned up modify tests
* console: fixed a failing test for api-explorer
2018-07-11 17:32:29 +05:30
Praveen Durairaj
3f9859b8dd
fix schema dropdown ui, redirect with urlPrefix, fix #97 ( #107 )
...
Also fixes the graphiql rendering where on header change, requests were being made.
2018-07-11 17:18:14 +05:30
Praveen Durairaj
6826cec1df
console: add gzip compression to deployments ( #94 )
2018-07-11 12:19:03 +05:30
Rishichandra Wawhal
1f7f8e56f9
update test command in console makefile ( #69 )
2018-07-11 10:30:27 +05:30
Praveen Durairaj
113b6a9bb5
close #57 fix messaging, expand track all relations ( #88 )
2018-07-11 10:28:52 +05:30
Shahidh K Muhammed
50165fc1ed
circleci integration ( #74 )
2018-07-10 10:01:02 +00:00
Praveen Durairaj
b0e3cbdd6a
console: handle access key error code ( #66 )
2018-07-09 20:52:44 +05:30
Praveen Durairaj
5a512481f9
console: add access key login, update messaging/tooltips ( #65 )
...
* console: add access key login
* console: update messaging/tooltips
* console: fix add relationship link
* console: updated test script
* console: update test command
2018-07-09 20:07:44 +05:30
Rishichandra Wawhal
d8d3bdd239
console: update tests ( #63 )
...
* console: modify getTableName() for parallel tests
* console: remove notification tests
* console: fix failing tests
2018-07-09 13:53:05 +05:30
Rishichandra Wawhal
25a45d3366
console: handle baseUrl in tests
2018-07-09 13:34:53 +05:30
aswinmprabhu
2cab15ede4
console: more tests ( #35 )
2018-07-04 18:27:56 +05:30
Rishichandra Wawhal
a2a85b8952
console: fix #40 react table resizing/sorting bug ( #41 )
...
* Fix #40
* console: bug fix where a non-action was being dispatched
2018-07-04 18:15:48 +05:30
Shahidh K Muhammed
98c827449b
build: integrate circleci
...
integration with circleci for various workflows
2018-07-03 22:40:13 +05:30
Rishichandra Wawhal
b2abc8b2c1
console: update tests for multiple modes
...
* console: fix create-table tests
1. Changed "Creating table failed" -> "Create table failed"
2. Updated cypress > plugins > index.js. It must export a function
* console: fix test for insert-browse
console: added a test for checking descending sort
* console: fix migration inconsistency in hdb mode
* console: fix tests for modify-table
* console: fix permissiosn tests
* console: fixed all tests
* console: updated the test workflow
* console: disabling video recording while testing
* console: taking migrate URL from env
* console: update readme, fixed typo
2018-07-03 12:47:08 +05:30
Praveen Durairaj
95aab89c01
console: fix migration status in hasuradb mode, ui fixes, deps update ( #32 )
2018-07-02 19:13:12 +05:30
Praveen Durairaj
a979efa6ef
console: disable change schema dropdown ( #24 )
...
* console: disable change schema dropdown
* console: fix graphiql scroll for document title
2018-06-29 17:21:00 +05:30
Praveen Durairaj
f5ca8d7c96
console: add cli and hasuradb mode ( #19 )
...
* console: handle cli and hasuradb mode
* console: add urlPrefix, fix run_sql button
* console: handle defaults for env
* console: disable migration alert in hasuradb mode
2018-06-29 15:32:19 +05:30
Praveen D
4f09f40a98
console: update gitignore
2018-06-28 10:33:53 +05:30
Praveen D
b8bb2d652c
add console to graphql-engine
2018-06-28 10:27:37 +05:30