Commit Graph

860 Commits

Author SHA1 Message Date
Rikin Kachhia
56c67509aa
update track relationship text in console (#1927) 2019-04-03 15:07:14 +05:30
Rikin Kachhia
1c6e962776
remove remote schema env var note (#1932) 2019-04-02 16:44:02 +05:30
Rikin Kachhia
b5188e79f4
update raw sql notes and tooltips (#1926) 2019-04-02 15:58:06 +05:30
Rikin Kachhia
e80a58faac
refactor some console components for readability (#1928) 2019-04-02 15:45:38 +05:30
Karthik Venkateswaran
8221653237 make graphiql api endpoint and request header sections collapsible (#1723) 2019-04-01 18:45:29 +05:30
Tirumarai Selvan
36781199d0 breaking: drop id from event_triggers table (fix #1840) (#1857) 2019-03-25 22:40:52 +05:30
Karthik Venkateswaran
d93e3b533c use inflection to suggest relationship names (close #1665) (#1801)
This breaks existing behaviour on how relationship names are generated.
2019-03-25 20:25:24 +05:30
Shahidh K Muhammed
b8700cce70
add spatial predicates for geography columns (close #1674) (#1735)
This PR adds support for PostGIS spatial predicates on geography columns. The predicates are _st_d_within and _st_intersects.
2019-03-25 17:59:52 +05:30
Rikin Kachhia
1ba382193e update console and docs favicons (close #1485) (#1760) 2019-03-25 15:42:56 +05:30
Rikin Kachhia
2bc2c40532
handle capital letters and quotes in Raw SQL Track this (#1811) 2019-03-19 14:23:19 +05:30
Rishichandra Wawhal
97ac88edb5 fix relationship editor bug in console (#1814) 2019-03-19 14:22:31 +05:30
Shahidh K Muhammed
a5890623c4
specify needed node version, clarify setup instructions (close #1754) (#1815) 2019-03-19 10:42:50 +05:30
Karthik Venkateswaran
ead7e614a0 remove graphiql suggestions on page navigation (#1803) 2019-03-18 23:45:47 +05:30
Rishichandra Wawhal
bcb3fb4fab reload onegraph schema on header change (#1810) 2019-03-18 23:21:42 +05:30
Rishichandra Wawhal
3d81e02026 add onegraph explorer to console (close #1616) (#1680) 2019-03-18 11:05:35 +05:30
Rikin Kachhia
df8216b576
show migration name section only if This is migration is checked (close #1732) (#1762) 2019-03-16 15:11:59 +05:30
Tirumarai Selvan
a26716cb0a change try it out link for remote schema in console #1788 2019-03-15 14:55:53 +05:30
Rikin Kachhia
f736ad2b47
fix console raw SQL track this logic (close #1671, #1627) (#1717)
* Track this will be disabled if SQL contains a create function statement
* Track this will be disabled if SQL contains a create table/view statement for a table/view which is already tracked
2019-03-13 15:35:49 +05:30
surendran82
6a4a33f304 add quickstart content to console remote schema and event triggers pages (#1630) 2019-03-07 18:34:43 +05:30
Rikin Kachhia
06afb75f4e
console code refactor (#1688)
* Removed duplicate css
* Reorganised common code
2019-03-06 17:00:25 +05:30
Rikin Kachhia
da4ed1a808
fix console browse rows bugs (#1691) 2019-03-04 20:32:28 +05:30
Rakesh Emmadi
6c20ca8a55 allow renaming tables, columns and relationships (close #79) (#1542) 2019-03-01 14:47:22 +05:30
Rishichandra Wawhal
00227728cb add "*" for insert and delete columns when creating and modifying trigger (close #1629) (#1673)
This PR adds "*" as columns for insert and delete so that there are no column dependencies on event triggers and users can drop/modify columns whenever they want.

```
{
	"type": "bulk",
	"args": [{
		"type": "create_event_trigger",
		"args": {
			"name": "test",
			"table": {
				"name": "user",
				"schema": "public"
			},
			"webhook": "http://httpbin.org/post",
			"insert": {
				"columns": "*"
			},
                        "update": {
                               "columns": ["col1", "col2"] 
                       },
                       "delete": {
                               "columns": "*"
                       }
			"headers": []
		}
	}]
}
```
2019-03-01 11:13:10 +05:30
Rikin Kachhia
214cdeb388
update console permissions (#1658)
* removed trash icon to remove all permissions to avoid confusion. Same action can be done via the bulk section
* colour coded permissions symbols for better visual feedback
2019-02-28 20:22:08 +05:30
Rikin Kachhia
2783561e1b
update console browse rows section (close #1622) (#1642)
* Update browse rows UI
* Make columns draggable
* Make columns collapsible
* Allow multiple columns sort using column headers
* Add no sort option while toggling
2019-02-28 20:19:53 +05:30
Rishichandra Wawhal
a002d3ad2a refactor console code, update react to 16.8.2 (close #1467) (#1608) 2019-02-28 17:13:06 +05:30
Rikin Kachhia
e5290d4281
fix console sidebar links highlighting (#1657) 2019-02-26 12:34:14 +05:30
Rikin Kachhia
56a08a16b5
make button texts consistent across event trigger and remote schemas (close #1634) (#1666) 2019-02-26 12:23:36 +05:30
Rikin Kachhia
626af8939f
handle empty header key in console APIExplorer (#1641) 2019-02-22 11:59:23 +05:30
Rikin Kachhia
5a1fc5d46c
update console unable to connect to server msg (#1625) 2019-02-19 18:11:57 +05:30
Praveen Durairaj
6ef0b4dfdf fix console hot reloading and upgrade to babel 7 (#1618) 2019-02-19 14:00:48 +05:30
Praveen Durairaj
76b51216fc fix ace editor cursor to match with the text (#1620) 2019-02-19 10:01:23 +05:30
Rishichandra Wawhal
386ab81b96 make events and remote-schema tabs independent of update checker (#1604)
* fix a bug where update check request failure would stop remote-schemas and event triggers tab from loading

* update graphiql test for with and without admin secret

* remove dev data api url from localDev env
2019-02-17 17:14:52 +05:30
Rikin Kachhia
75674859b3
update console permissions (close #1503, #1529, #1567, #1470) (#1605)
* show roles from all tables/views in the schema
* show operators and set values based on field type in permission builder
* add support for jsonb and postgis operators in permission builder
* add note for permissions for relationships
* enable only one Save permissions button if apply to other roles is selected
2019-02-17 16:06:29 +05:30
nizar-m
f83a8e591f rename access-key to admin-secret (close #1347) (#1540)
Rename the admin secret key header used to access GraphQL engine from X-Hasura-Access-Key to X-Hasura-Admin-Secret.

Server CLI and console all support the older flag but marks it as deprecated.
2019-02-14 15:07:47 +05:30
Tirumarai Selvan
51dd6157e1 remove wreq and set response timeout (close #1477) (#1501) 2019-02-14 13:07:59 +05:30
Rakesh Emmadi
cba732d439 support column presets in update mutation (closes #1449, closes #1464) (#1473)
Also restricts altering type of columns which are used in presets
2019-02-11 18:15:30 +05:30
Rishichandra Wawhal
61aa39ee35 fix add-column button overflow in modify table (#1518) 2019-02-11 16:27:51 +05:30
Rishichandra Wawhal
ca7e2167e5 fix a bug where div keys repetition caused buggy render (#1578) 2019-02-11 16:27:26 +05:30
Karthik Venkateswaran
ad72984749 fix console custom functions bug (close #1561) (#1566) 2019-02-06 23:27:57 +05:30
Karthik Venkateswaran
39982d459a fix custom functions console bugs (close #1548, #1549) (#1552) 2019-02-06 22:00:57 +05:30
Rikin Kachhia
4bf9d19b13
fix console permissions bug (#1562) 2019-02-06 13:26:55 +05:30
Karthik Venkateswaran
1268ef63df don't strip x-hasura-access-key from headers for explain/analyze query, closes #1533 (#1534) 2019-01-31 11:13:24 +05:30
Patt-tom McDonnell
638b837f17 sort table names alphabetically when creating new triggers (#1194) 2019-01-29 21:28:10 +05:30
Gopal Ojha
cf7d482652 add note for env var usage in webhook, remote schema urls (fix #970) (#1384) 2019-01-29 21:26:57 +05:30
Rishichandra Wawhal
ef565590af remove the usage of spread operator in setState (#1490) 2019-01-29 13:10:53 +05:30
Anupam Dagar
e528445c45 change json field placeholder from 'asdf' to 'bar' (close #1260) (#1261) 2019-01-28 22:24:55 +05:30
nizar-m
32387ba964 support union and interface types in remote schema (close #1276) (#1361) 2019-01-28 22:15:10 +05:30
Praveen Durairaj
33b8c3dcc7 console ui fixes (#1455)
* Ui fixes for console

* UI fixes for sidebar scroll, table and api explorer page text box read only

* Api explorer input box readonly

* No rows found fix

* Table scroll fix in firefox

* Event trigger page sidebar scroll and table head fix


    API Explorer input box readonly and cursor changes
    Focus on schema dropdown firefox fix
    Border bottom on scroll for react-table fixed
    Left sidebar table scrollbar fix for firefox

[skip-ci]
2019-01-28 19:35:38 +05:30
Shahidh K Muhammed
11e7c3f9d6 add anonymous telemetry (#1401) 2019-01-28 19:25:28 +05:30
Rishichandra Wawhal
81c950ecc5 fix a bug where modifying trigger opts failed (#1465) 2019-01-26 11:11:53 +05:30
Rakesh Emmadi
0bf2457e23 allow exposing postgres functions through GraphQL interface (close #333) (#1073) 2019-01-25 09:01:54 +05:30
Karthik Venkateswaran
8342a962d5 analyze now works for all roles from the console, closes #1457 (#1459) 2019-01-24 23:10:11 +05:30
Aravind Shankar
b5b2fe6851 create correct down migration for delete_event_trigger action (close #1390) (#1391) 2019-01-24 09:40:49 +05:30
Rishichandra Wawhal
46fdfc998f auto-fill name while suggesting relationships (closes #1095) (#1437) 2019-01-24 09:40:21 +05:30
Rishichandra Wawhal
3cfeb6064a reuse buttons across console for uniformity (#1400) 2019-01-23 07:26:40 +05:30
dsandip
fcb6bd6449 modify contributing guides for docs, console and community (#1427) 2019-01-21 16:49:35 +05:30
Rishichandra Wawhal
26a997208a fix console link on schema change (#1389) 2019-01-17 22:38:37 +05:30
Aravind Shankar
e375c61e4a fix to create correct down migrations for permission (close #1366) (#1376) 2019-01-16 16:22:52 +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
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
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
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
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
Aravind Shankar
bdcb282c32 don't check for run sql migration name in server mode (fix #778) (#780) 2018-10-16 17:18:42 +05:30
Shrey
421606f124 add name field for migrations created via run_sql (close #541) (#750) 2018-10-15 18:09:27 +05:30
Burak Özdemir
feb8968879 fix e.g. and i.e. typos (#732) 2018-10-15 14:17:21 +05:30
Aravind Shankar
6591095ba1 fix track table error when table name is immediately followed by '(' (close #717) #718 2018-10-15 11:42:08 +05:30
Rakesh Emmadi
49dd7bf98b allow mutations on views only if they are allowed by postgres (fix #232) (#339) 2018-10-12 17:36:12 +05:30
Léo Pradel
7d1361ceb7 fix broken link on console readme (#697) 2018-10-11 09:13:26 +05:30
Rikin Kachhia
27302fae68 console: add support for _is_null operator in permissions (#700) 2018-10-11 09:11:08 +05:30
Aravind Shankar
813795d094 fix to append uriPrefix on schema change event (close #691) (#692) 2018-10-10 15:16:19 +05:30
Karthikeya Viswanath
882719f7e7 add reset metadata button to settings page (close #515) (#673) 2018-10-10 13:05:18 +05:30
Aravind Shankar
40c391df09 track table in run_sql handles schema name and table name separately (close #484) (#685) 2018-10-10 10:34:19 +05:30
Aravind Shankar
a68bb61250 improve version check for server dependent features (close #388) (#676) 2018-10-09 16:33:48 +05:30
Zac Braddy
4f2fd73f2c insert row inputs respect null and default values (fix #545) (#589) 2018-10-09 15:50:29 +05:30
Rishichandra Wawhal
137ab673ef remove an unnecessary test from console (#681) 2018-10-09 14:55:03 +05:30
Peter McAree
936d4c7b85 metadata button appears for custom versions (fixe #618) (#662) 2018-10-09 14:05:44 +05:30
Arash Khazaei
dbdd79a987 fix alert in cli mode without accesskey (close #536) (#588) 2018-10-09 11:55:10 +05:30
Karthikeya Viswanath
64286f69ed add clear access key button (close #486) (#675) 2018-10-08 19:50:33 +05:30
Akshit Bhalla
fc68477b63 add phantom div for update check banner (fix #271) (#665) 2018-10-08 19:49:20 +05:30
Shrey
69b57625a0 add keybinding to submit sql query (close #542) 2018-10-08 19:38:22 +05:30
Sunita Sen
3d9cad7708 fixe typo in console readme (#658) 2018-10-05 23:39:56 +05:30
Kevin Raynel
5abd18a156 enable redux-dev-tools if present in dev mode (closes #606) (#607) 2018-10-05 19:14:03 +05:30
Varun Dey
b439d15725 fix typo in cypress readme (#651) 2018-10-05 15:25:49 +05:30
Karthik Venkateswaran
80a5f00ae4 fix failing tests on console (#650) 2018-10-05 15:10:00 +05:30
Gaurav Sachdeva
d02361ce14 fix typos, punctuation, etc in docs (#635) 2018-10-04 19:55:46 +05:30
Karthik Venkateswaran
b07d04a4a4 configuration list is alphabetical, add note in sql tab for down migrations (close #616) (close #617) 2018-10-04 15:12:01 +05:30
Praveen Durairaj
509c8b89ed logo and favicon update on console (#627) 2018-10-03 18:49:56 +05:30
Karthikeya Viswanath
f34338f792 add tooltip for upsert option under custom permissions (#546) (#566) 2018-10-02 12:17:28 +05:30
Kevin Raynel
05dea9f888 fix typo in proptypes validation (fixes #604) (#605) 2018-10-02 11:44:13 +05:30
Akash Agrawal
ffa0938a86 ask for confirmation before deleting event triggers (close #599) 2018-10-02 11:02:54 +05:30
Karthik Venkateswaran
c98c88c00c allow adding relationship across schemas via manual relationship (fix #526) (#533)
Adds a schema dropdown to manual relationship section which allows creating manual relationship across schemas. This feature is added based on this PR #526 

- [x] Console

Adds a schema dropdown to manual relationship section which allows creating manual relationship across schemas
2018-09-29 11:23:15 +05:30
Karthik Venkateswaran
a9dc756a40 update console variables and contributing guide (close #517) (#538)
Changes `consoleMode` variable templated by HGE to `server` and modified console to respect in the same way and adds a patch to continue working with the older HGEs

- [x] Server
- [x] Console
2018-09-27 17:10:32 +05:30
Karthik Venkateswaran
42177360e3 console fixes (close #406) (close #491) (#522)
Fetches event information on click on the redeliver event icon and refreshes every 5 seconds to display the recent invocation data
2018-09-25 22:11:56 +05:30
Karthik Venkateswaran
65f29610f0 take access key from redux state (#514) 2018-09-22 14:32:41 +05:30
Karthik Venkateswaran
72dfa7dcde remove development data api url (#492) 2018-09-20 09:55:40 +05:30
Karthik Venkateswaran
6f1be7c3b2 show access key prompt when server indicates it's set (close #426) (#481) 2018-09-19 15:35:47 +05:30
Praveen Durairaj
17490e14ee fix add manual relationships state (close #442) (#450) 2018-09-14 14:11:03 +05:30
Praveen Durairaj
eeb15f663f sort untracked table list alphabetically (close #421) (#449) 2018-09-14 12:55:11 +05:30
Praveen Durairaj
7b6add51e6 fix track_table pattern, error handling in run_sql (close #392) (#448) 2018-09-14 12:44:41 +05:30
Praveen Durairaj
7a8fc66f73 export event triggers component (#386) 2018-09-10 17:48:20 +05:30
Aravind Shankar
79a6849241 add parallel tests and update dependencies (#374) 2018-09-08 23:01:14 +05:30
Tirumarai Selvan
e905535beb implement api to deliver a particular event (close #371) (#373) 2018-09-07 17:21:01 +05:30
Karthik Venkateswaran
e3102dfd5e ui buttons to export and import metadata, reload metadata api (close #293) (#323) 2018-09-05 20:55:30 +05:30
Praveen Durairaj
a49188a606 console: handle non access key errors (#356)
[skip ci]
2018-09-05 18:38:19 +05:30
Praveen Durairaj
258885ad4d console: update request payload event triggers (#358) 2018-09-05 18:37:52 +05:30
Praveen Durairaj
e8a86a569f console: add version check for event triggers (#361)
[skip ci]
2018-09-05 18:30:27 +05:30
Tirumarai Selvan
82e09efce6 add event triggers (#329) 2018-09-05 16:56:46 +05:30
Praveen Durairaj
d397d932d6 console: fix error notification non json, auto height css (#354) 2018-09-05 12:06:21 +05:30
Shahidh K Muhammed
80bc927d29
Revert "add links to share and help (#303)" (#334)
This reverts commit 798efdd1c0.
2018-08-30 19:27:06 +05:30
Praveen Durairaj
798efdd1c0 add links to share and help (#303) 2018-08-27 19:55:34 +05:30
Praveen Durairaj
c645fc5c46 permissions ui/ux improvements (close #205) (#295)
- Delete role(s)
- Apply same type of permission to multiple roles

Closes #205
2018-08-22 13:55:48 +05:30
Aswin M Prabhu
b47172974f ignore case when comparing header names to detect access key (fix #286) (#287) 2018-08-15 14:17:18 +05:30
Rishichandra Wawhal
6ba9c759e6 import queries into graphiql from url in query params (#283)
If there are a bunch of queries at a file path, say: `https://raw.githubusercontent.com/wawhal/test-repo/master/queries.graphql`, you can template GraphiQL with those queries by passing the URL in query params.

For example: if the console is running at `https://wofoo.herokuapp.com/console`, to template the queries, the URL would be: `https://wofoo.herokuapp.com/console?query_file=https://raw.githubusercontent.com/wawhal/test-repo/master/queries.graphql`
2018-08-14 15:35:57 +05:30
Praveen Durairaj
f3d22cbbb3 export console as npm module (#279) 2018-08-13 14:38:17 +05:30
Rikin Kachhia
816b480df3 handle legacy operators in permissions builder (fix #268) (#270) 2018-08-08 11:41:00 +05:30
Rakesh Emmadi
9c55490e98 add limit in select permission which overrides limit in query (close #178) (#237) 2018-08-06 17:45:08 +05:30
Praveen Durairaj
60f15c654b create table, modify table ui alignment fix (#249) 2018-08-03 16:16:42 +05:30
Praveen Durairaj
40602fcc6e add url prefix for console add table redirect (fix #245) (#247) 2018-08-03 12:41:29 +05:30
Praveen Durairaj
6340a5074a show graphql-engine version on console (close #184) (#230) 2018-07-31 12:06:20 +05:30
Praveen Durairaj
2e58483af3 modify comments for tables/columns and views (#220)
* console: modify comments for tables/columns

* console: fix bugs, css

* console: update package.json

* console: fix comment
2018-07-30 19:09:18 +05:30
Praveen Durairaj
70d7c7deb1 add version update checker (#215) 2018-07-26 17:10:32 +05:30
Aswin M Prabhu
94b309d69a remove legacy react lifecycle methods (fix #99) (#208)
* remove legacy react lifecycle methods (#99)
2018-07-25 20:40:54 +05:30
Aswin M Prabhu
7feb82ed98 add test for subscriptions, improve coverage (fix #191) 2018-07-25 12:14:27 +05:30
Aswin M Prabhu
a127b5ae59 show access key as password on the console (fix #98) (#203) 2018-07-24 17:29:53 +05:30
Rishichandra Wawhal
9b61964b71 retry websocket connection on failure (fix #198) (#200) 2018-07-24 15:22:47 +05:30
Cosmin Radoi
453f7d8b7f refactor: convert function expression to arrow function (#181)
Just a few cases of converting a traditional function to ES6 arrow functions. Pure refactoring.
2018-07-23 11:59:56 +05:30
Shahidh K Muhammed
9081a27259
open secure websockets if console and endpoint are both on https (fix 182) (#183) 2018-07-21 05:18:57 +05:30
Aravind Shankar
75dbe35a21 create down migrations for actions from console (close #164) (#173) 2018-07-20 16:01:33 +05:30
Vamshi Surabhi
e3f960da96 initial support for livequeries (#176)
fix #59
2018-07-20 12:52:46 +05:30
ASWIN M PRABHU
8d83cbedd3 fix error when altering schema in raw_sql (fix #171) (#172) 2018-07-19 16:51:35 +05:30
Praveen Durairaj
81da2f7d1a add cascade option for raw sql (close #161) (#168) 2018-07-19 16:38:32 +05:30
Rishichandra Wawhal
7ea67f207c add uuid column type in console (close #142) (#160) 2018-07-18 18:16:04 +05:30
ASWIN M PRABHU
c16e3ca949 improve tests for relationships (close #130) (#131) 2018-07-16 15:30:40 +05:30
Rishichandra Wawhal
87359fb9fc show indicative comments on graphiql if no tables are present (#120) 2018-07-12 00:54:14 +05:30
Rikin Kachhia
45cd97f9b8 fix and/or expressions in permissions builder (#119) 2018-07-12 00:51:26 +05:30
Praveen Durairaj
32750d65fb fix secure endpoint link, update contributing guide (#117) 2018-07-11 20:07:23 +05:30
Rishichandra Wawhal
3a085da736 testing console tests in the ci (#83)
* testing console tests in the ci

* console: making cypress wait for the server to start

* console: fixing failing tests

* console: update failing test

* console: cleaned up modify tests

* console: fixed a failing test for api-explorer
2018-07-11 17:32:29 +05:30
Praveen Durairaj
3f9859b8dd fix schema dropdown ui, redirect with urlPrefix, fix #97 (#107)
Also fixes the graphiql rendering where on header change, requests were being made.
2018-07-11 17:18:14 +05:30
Praveen Durairaj
6826cec1df console: add gzip compression to deployments (#94) 2018-07-11 12:19:03 +05:30
Rishichandra Wawhal
1f7f8e56f9 update test command in console makefile (#69) 2018-07-11 10:30:27 +05:30
Praveen Durairaj
113b6a9bb5 close #57 fix messaging, expand track all relations (#88) 2018-07-11 10:28:52 +05:30
Shahidh K Muhammed
50165fc1ed circleci integration (#74) 2018-07-10 10:01:02 +00:00
Praveen Durairaj
b0e3cbdd6a console: handle access key error code (#66) 2018-07-09 20:52:44 +05:30
Praveen Durairaj
5a512481f9
console: add access key login, update messaging/tooltips (#65)
* console: add access key login

* console: update messaging/tooltips

* console: fix add relationship link

* console: updated test script

* console: update test command
2018-07-09 20:07:44 +05:30
Rishichandra Wawhal
d8d3bdd239 console: update tests (#63)
* console: modify getTableName() for parallel tests

* console: remove notification tests

* console: fix failing tests
2018-07-09 13:53:05 +05:30
Rishichandra Wawhal
25a45d3366 console: handle baseUrl in tests 2018-07-09 13:34:53 +05:30
aswinmprabhu
2cab15ede4 console: more tests (#35) 2018-07-04 18:27:56 +05:30
Rishichandra Wawhal
a2a85b8952 console: fix #40 react table resizing/sorting bug (#41)
* Fix #40

* console: bug fix where a non-action was being dispatched
2018-07-04 18:15:48 +05:30
Shahidh K Muhammed
98c827449b
build: integrate circleci
integration with circleci for various workflows
2018-07-03 22:40:13 +05:30
Rishichandra Wawhal
b2abc8b2c1 console: update tests for multiple modes
* console: fix create-table tests

1. Changed "Creating table failed" -> "Create table failed"
2. Updated cypress > plugins > index.js. It must export a function

* console: fix test for insert-browse

console: added a test for checking descending sort

* console: fix migration inconsistency in hdb mode

* console: fix tests for modify-table

* console: fix permissiosn tests

* console: fixed all tests

* console: updated the test workflow

* console: disabling video recording while testing

* console: taking migrate URL from env

* console: update readme, fixed typo
2018-07-03 12:47:08 +05:30
Praveen Durairaj
95aab89c01
console: fix migration status in hasuradb mode, ui fixes, deps update (#32) 2018-07-02 19:13:12 +05:30
Praveen Durairaj
a979efa6ef
console: disable change schema dropdown (#24)
* console: disable change schema dropdown

* console: fix graphiql scroll for document title
2018-06-29 17:21:00 +05:30
Praveen Durairaj
f5ca8d7c96 console: add cli and hasuradb mode (#19)
* console: handle cli and hasuradb mode

* console: add urlPrefix, fix run_sql button

* console: handle defaults for env

* console: disable migration alert in hasuradb mode
2018-06-29 15:32:19 +05:30
Praveen D
4f09f40a98 console: update gitignore 2018-06-28 10:33:53 +05:30
Praveen D
b8bb2d652c add console to graphql-engine 2018-06-28 10:27:37 +05:30