Commit Graph

6886 Commits

Author SHA1 Message Date
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
Rikin Kachhia
c478f45e19
migrate docs search to algolia doc search (close #1146) (#1199) 2018-12-13 16:38:45 +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
Rikin Kachhia
b76039b6be docs css refactor (#1198)
* fix cli docs toctree

* reorganize docs css
2018-12-12 21:40:32 +05:30
Rakesh Emmadi
ff6c95c2f8 allow ordering with aggregated fields (close #1039) (#1042) 2018-12-12 18:28:39 +05:30
Anon Ray
77cbf12bb7 merge types with same structure in remote schema (closes #1112, #1135) (#1145) 2018-12-12 17:31:18 +05:30
Praveen Durairaj
e929cc4402 accept query_file query param for preloading queries (#1185) 2018-12-12 12:46:13 +05:30
Praveen Durairaj
12231bc062 add env to handle graphql endpoint for graphiql-online (#1178)
[skip ci]
2018-12-11 14:31:46 +05:30
Siddhant Srivastav
2855e07b11 fix preloader refresh on events page (close #1000) (#1153) 2018-12-11 14:26:34 +05:30
Rikin Kachhia
9cbbac9456
fix titles in docs guides (#1172) 2018-12-07 18:03:21 +05:30
Rikin Kachhia
94f161c66e update hasura cli docs (#1173) 2018-12-07 17:38:39 +05:30