Commit Graph

143 Commits

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