Commit Graph

271 Commits

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