Commit Graph

546 Commits

Author SHA1 Message Date
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
Rishichandra Wawhal
9d8ac86269 enable updating event trigger from console (close #489) (#1124) 2018-12-17 17:37:58 +05:30
Rikin Kachhia
871d5e7f20 update docs (#1221) 2018-12-17 17:28:29 +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
dsandip
460fcfa755 add license information in getting started docs and do one-click guide (#1213) 2018-12-16 15:25:06 +05:30
Rikin Kachhia
751fa5f193 docs css refactor (#1218) 2018-12-16 12:11:34 +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
Rikin Kachhia
b0eb263170 improve docs content structure for search (#1216) 2018-12-15 10:37:47 +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
Tirumarai Selvan
6de17b303f drop trigger functions on updating event triggers (#1214) 2018-12-15 10:35:29 +05:30
Patt-tom McDonnell
e3e57ff3c3 show datatype next to column names when adding triggers (#1188) 2018-12-14 17:08:17 +05:30
Anon Ray
ee3e099eb5 add circleci tests for pg 11 (closes #810) (#1192) 2018-12-14 11:30:36 +05:30
Anon Ray
2bcec7dca9 point jose version to 0.8.0.0 on github (closes #983) (#1202) 2018-12-14 09:51:29 +05:30
Rakesh Emmadi
708a29fc89 refactor server cli code, add more cli options & version command (closes #51, #144, #1090, #1195) (#1200) 2018-12-14 08:51:41 +05:30
Rikin Kachhia
be4c25a643
remove algolia config from docs (#1209) 2018-12-13 20:11:54 +05:30
Rikin Kachhia
5b3c5a81bb
fix docs vulnerable dependency (#1208) 2018-12-13 20:02:17 +05:30
Rikin Kachhia
b1a5e36a1e
fix syntax in docs (#1206) 2018-12-13 16:59:29 +05:30