Commit Graph

613 Commits

Author SHA1 Message Date
Rishichandra Wawhal
c23fcc8a80 json2graphql update README.md (#1382) 2019-01-15 18:16:11 +05:30
Rishichandra Wawhal
92b071afdf json2graphql: clean up, update readme, add examples (#1375) 2019-01-15 17:10:29 +05:30
Rikin Kachhia
66b67cfe22
misc docs update (#1374) 2019-01-15 16:19:58 +05:30
Aravind Shankar
a8dd49aa4c remove sleep for the console tests to start (close #1377) (#1378) 2019-01-15 10:49:06 +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
Rikin Kachhia
03b5e76cde add db password url encoding note (#1359) 2019-01-11 17:08:41 +05:30
Nathan Stitt
1b9540f996 allow specifying network interface with "server-host" option (#1280)
* allow specifying network interface with "server-host" option

* store host value as a HostPreference

* document server-host options
2019-01-11 16:37:13 +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
Rakesh Emmadi
1008c08420 accept null and empty values for relationships during insert, closes #1352 2019-01-11 12:52:58 +05:30
Rikin Kachhia
68ed62fb62
fix docs version in opensearch url (#1354) 2019-01-09 18:30:53 +05:30
Rikin Kachhia
7b2971812f
enable OpenSearch for docs (close #1215) (#1349) 2019-01-09 14:30:40 +05:30
Rikin Kachhia
5820e5e41d
update docs config + base pages (#1343) 2019-01-08 22:39:05 +05:30
Rishichandra Wawhal
a9e2326ea8 remove auth0 webhook ref from docs and community (#1341) 2019-01-08 16:36:16 +05:30
Anon Ray
e9121a903f fix typo in pgcrypto error message (fix #1322) (#1331) 2019-01-08 14:35:25 +05:30
Shahidh K Muhammed
feaeccba71
apply metadata also in cli migrations image (close #1316) (#1319) 2019-01-08 14:35:03 +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
Rikin Kachhia
4470c34fe1 fix docs vulnerability in pyyaml (#1324)
CVE-2017-18342 https://nvd.nist.gov/vuln/detail/CVE-2017-18342

high severity
Vulnerable versions: < 4.2b1
Patched version: 4.2b1

In PyYAML before 4.1, the yaml.load() API could execute arbitrary code. In other words, yaml.safe_load is not used.
2019-01-07 15:13:53 +05:30
Rikin Kachhia
b04539bfe6
add how it works docs section (#1227) 2019-01-04 22:55:48 +05:30
Rishichandra Wawhal
97c4cf0e2a update auth docs (#1305)
* fix broken auth example links

* add jwt examples

* misc auth docs changes
2019-01-04 19:31:18 +05:30
Shahidh K Muhammed
8ec69b68e6 update manifests to v1.0.0-alpha34 2019-01-04 17:08:24 +05:30
Rakesh Emmadi
e2fe078b89 fix fetching primary key columns for non table owners (close #1269) (#1300) 2019-01-04 16:36:05 +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
Aravind Shankar
c64a83f073 display error message for invalid migration file (fix #1224) (#1238) 2019-01-04 15:15:54 +05:30
Rakesh Emmadi
41e487d203 fix auth hook mode env var (fix #1270) (#1285)
Support HASURA_GRAPHQL_AUTH_HOOK_MODE env var for --auth-hook-mode flag.
Drop support for HASURA_GRAPHQL_AUTH_HOOK_TYPE env var in next major
update (beta/stable)
2019-01-04 12:12:36 +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
Rikin Kachhia
41a4196fc2 docs css fixes (#1286) 2019-01-03 09:29:27 +05:30
Vamshi Surabhi
380fdad468 update constraint enum types when a new constraint is added (#1287)
* update metadata when constraints on a table are altered, fix #240

* capture only unique or primary constraints in tableinfo
2019-01-03 09:28:12 +05:30
Rakesh Emmadi
4d9d1505dd improve startup logging, close #1236 (#1258) 2019-01-02 16:54:17 +05:30
grenadejumper
f21fd41cc5 include documentation for Docker for Windows usage (#1263) 2018-12-31 14:16:43 +05:30
Gordon Johnston
ebf98281a5 docs: multiple root fields in subscription was removed (#1264)
In alpha33 the support for multiple root fields in a subscription was removed.
2018-12-24 12:31:17 +05:30
Vamshi Surabhi
be1d9414f8
diff's query should account for table having no columns (#1256) 2018-12-21 15:24:22 +05:30
Vamshi Surabhi
ea4d2644e8
local console during development (#1252)
* console now works on local builds of the server

1. local console assets can be served at /static/ by a build time flag
'local-console'. This can be set with stack as follows:
   `stack build --flag graphql-engine:local-console`
2. the --root-dir option is removed which was used as a temporary hack
for serving graphiql
3. remove server's graphiql source code
2018-12-21 13:21:02 +05:30
Rakesh Emmadi
63acd0e7b2 generate aggregate order by types only if relevant columns are present, closes #1243 (#1248) 2018-12-20 19:31:54 +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
Arpit Kushwaha
f698193c7f fix discord links (#1237)
updated all the discord links
2018-12-20 14:18:06 +05:30
Shahidh K Muhammed
633631e0b1 update manifests to v1.0.0-alpha33 2018-12-19 18:43:43 +05:30
Rakesh Emmadi
d4e6ffcae8 revert back to older cli options parser type (#1231) 2018-12-19 17:08:33 +05:30
Vamshi Surabhi
c28fbd3f98
faster retrieval of table information from postgres (#1235) 2018-12-19 16:11:06 +05:30
Vamshi Surabhi
8feff0daca
clear event_triggers when clear_metadata is called, closes #1232 (#1233) 2018-12-19 12:04:27 +05:30
Shahidh K Muhammed
4940492266
revert consolePath change for console (#1226) 2018-12-18 17:21:39 +05:30
Shahidh K Muhammed
87edce1b12 update manifests to v1.0.0-alpha32 2018-12-18 15:51:56 +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