Commit Graph

454 Commits

Author SHA1 Message Date
Rikin Kachhia
e3f68dbb67
add support for column comparision operators in permissions builder (close #2040) (#2606) 2019-07-29 14:58:27 +05:30
Rikin Kachhia
b9a88d509d
allow using citext columns in row permission builder (#2622) 2019-07-29 14:50:27 +05:30
Rikin Kachhia
47792f85b0
fix radio btn selection on data input in edit row page (close #2595) (#2600) 2019-07-26 13:16:49 +05:30
Rikin Kachhia
e9b5c4f5e4
show error stack trace on console error page for easier bug reporting (close #2598) (#2597) 2019-07-26 13:08:59 +05:30
Brandon Simmons
57ad9c2f20 Don't keep gzipping gzipped versioned assets 2019-07-26 01:17:56 -04:00
Aravind Shankar
4405bac577 show warning for tables, columns, relationships which do not conform to GraphQL naming scheme (close #212) (#2422) 2019-07-24 20:11:18 +05:30
Rikin Kachhia
3445de3630
update console UI for RawSQL page / Migration page / Notifications (#2563) 2019-07-24 12:57:00 +05:30
Anne Ogborn
7a683324f2 add multiline and rich editing to text fields (close #458) (#2498) 2019-07-22 15:17:31 +05:30
Rishichandra Wawhal
012a2cd1d6 allow adding frequently used columns while creating tables + show table triggers on modify page (closes #1462) (#2240) 2019-07-15 17:02:56 +05:30
Rikin Kachhia
5e4a1f4f94
fix column valid typecasts logic in console (close #2519) (#2543) 2019-07-15 16:59:06 +05:30
Rishichandra Wawhal
ece9a2dc83 fix re-introspection on header change in console graphiql (#2522) 2019-07-15 15:08:52 +05:30
Khoa Nguyen
2259d77b05 handle missing columns in permission rules (fix #2506) (#2507) 2019-07-11 17:19:06 +05:30
Vamshi Surabhi
f1cf6d0b17
allow session variables in operators which expect array input (#2475) 2019-07-10 15:49:58 +05:30
Rishichandra Wawhal
f97fb45bfd fix multiple introspection queries (#2492) 2019-07-09 23:47:05 +05:30
Aravind Shankar
7356f59655 handle table with no columns in console (close #2481) (#2484) 2019-07-08 20:01:15 +05:30
Rakesh Emmadi
9eb38e6c96 cache remote schema's introspection query response (fix #1679) (#2089) 2019-07-08 11:21:41 +05:30
Rikin Kachhia
e404320e17
fix console license (#2470) 2019-07-04 14:57:35 +05:30
Alexis King
fb3794c31a Support Node v12.x and fix tests on macOS (#2455)
* Bump node-sass to version ^4.12.0

This avoids sass/node-sass#2632, which causes compilation failures on
Node v12.x.

* Do most of the work in /pg_dump in Haskell instead of shell

The shell version caused problems on non-Linux systems since it relied
on the non-POSIX -i option for sed, which works slightly differently on
BSD and macOS.
2019-07-03 14:07:13 +05:30
Rishichandra Wawhal
bdb415b386 use server version from console html (#2464) 2019-07-03 13:55:29 +05:30
Aravind Shankar
0aefbd0822 infer relationship type using uniqueness constraint of foreign key (close #969) (#2347) 2019-07-02 19:05:27 +05:30
Aravind Shankar
2b616afd97 fix relationship page error if array fk relationship exists with table in another schema (#2459) 2019-07-02 18:37:28 +05:30
Rikin Kachhia
baeffc2a7a
fix type placeholders in console insert/edit row (#2460) 2019-07-02 18:35:52 +05:30
Anne Ogborn
63ad2c4fc5 change default type placeholder from 'text' to type (fix 2394) (#2458) 2019-07-02 18:03:37 +05:30
Anne Ogborn
9a6e9dfad5 refactor AddTable validation on console (close #1712) (#2408) 2019-07-02 11:30:48 +00:00
Aravind Shankar
35230cb091 fix to show error notification when run sql fails in cli mode (close #2438) (#2446) 2019-06-28 18:04:30 +05:30
Aravind Shankar
c85986c922 fix browse rows query error handling + boolean filter value (close #2421) (#2440) 2019-06-28 16:07:16 +05:30
Anne Ogborn
6576204c66 add new column row during add table only after completed prev column def (#2428) 2019-06-26 19:54:30 +05:30
Aravind Shankar
c17bf2f94b create down migration when a column is dropped (close #2291) (#2385) 2019-06-26 18:42:44 +05:30
Aravind Shankar
03f0d4edaa change browse rows action buttons heading id (close #2403) (#2413) 2019-06-20 16:53:39 +05:30
Aravind Shankar
a40709dc4a clear header state for remote-schema (close #2396) (#2401) 2019-06-20 16:24:28 +05:30
Aravind Shankar
5053b1ecd8 add graphql-voyager to console (close #314) (#2369) 2019-06-20 16:00:29 +05:30
Karthik Venkateswaran
8fb81e7f7a fix postgres query to fetch pg_types default functions (close #2399) (#2402) 2019-06-20 12:37:16 +05:30
Karthik Venkateswaran
93a7c2c734 suggest column default values (#2352) 2019-06-18 23:03:54 +05:30
Rikin Kachhia
00e911e3cd
update table rename handling (#2393) 2019-06-18 23:00:56 +05:30
Rikin Kachhia
4ce2b2cc3b
update console dev logging + add logging disable instructions to README (#2388) 2019-06-18 12:14:29 +05:30
IMRAN KHAN
d6a071bd83 render 404 for nonexistent resources (#2341) 2019-06-17 12:17:27 +05:30
Anne Ogborn
034c550ccd enable add/modify/delete for event triggers and remote schemas in disabled migration mode (fix #1875) (#2366) 2019-06-13 17:08:25 +05:30
Aravind Shankar
938921eed5 set console subscriptions protocol based only on graphql endpoint (close #2330) (#2374) 2019-06-13 15:27:01 +05:30
Shahidh K Muhammed
a8dd3b3deb add api to get server config details (close #1831); add jwt-analyzer (close #1369) (#1925) 2019-06-11 18:59:03 +05:30
Aravind Shankar
be5316a984 support multi-column manual relationships from console (close #2007) (#2332) 2019-06-10 20:18:15 +05:30
Karthik Venkateswaran
0b3defd314 fix query to fetch list of postgres types, change filter (close #2314) (#2339) 2019-06-07 19:58:02 +05:30
IMRAN KHAN
de09c29003 change events success code from 200 to 2xx (close #2335) (#2342) 2019-06-07 18:12:32 +05:30
Rikin Kachhia
d1f0cf02a9
fix fk name generation (#2320) 2019-06-03 16:06:29 +05:30
Rakesh Emmadi
31cf7314e2 better change detection when altering foreign key constraints (fix #2060) (#2252)
foreign keys are considered to be dropped only if constraint oid changes
2019-06-03 15:51:55 +05:30
Rikin Kachhia
04fa165059
fix console bugs (#2309)
* fix permissions bug
* fix insert/edit rows
* fix error on deleting unique column (close #2306)
2019-06-01 02:15:35 +05:30
IMRAN KHAN
17b5dc0e9c fix head to home console error from error page (#2304) 2019-05-31 17:57:49 +05:30
Aravind Shankar
f9fc0cc5e3 fix console schema update quirks (#2286) 2019-05-29 19:44:21 +05:30
Rikin Kachhia
7ab9d5eaeb update console favicons to png (#2287) 2019-05-29 10:03:29 +05:30
Rishichandra Wawhal
cd060025a1 quote SQL appropriately while modifying PK (#2289) 2019-05-28 22:10:41 +05:30
Rikin Kachhia
f65a2b59b0
update console feature support checks (#2202) 2019-05-28 13:41:08 +05:30
Aravind Shankar
0957a43563 fix loadSchema to fetch currentSchema if schemas is empty (#2283) 2019-05-27 20:07:51 +05:30
IMRAN KHAN
13a0427614 fix breadcrumbs and pKey unique handling (#2281) 2019-05-27 19:48:30 +05:30
Aravind Shankar
3e814048cf optimize sql used to fetch schema information on console (fix #2273) (#2280) 2019-05-27 18:19:34 +05:30
Rikin Kachhia
b7396f79b1
fix console logging (#2268) 2019-05-25 13:28:28 +05:30
Aravind Shankar
e0a0e3a872 fix handling tables with capitals in name (close #2266) (#2267) 2019-05-25 13:12:21 +05:30
Anupam Dagar
71557cdecc add json editor for json data type (fix #504) (#1181) 2019-05-24 20:40:39 +05:30
Aravind Shankar
2cdb1a1508 refactor schema management in console and misc fixes (#2016)
close #1704, #2174, #2188, #2006, #2031, #1617, #1882
2019-05-24 19:30:44 +05:30
Karthik Venkateswaran
8639534aa4 handle empty recommended type casts for some pg types (close #2258) (#2262) 2019-05-24 13:47:47 +05:30
Karthik Venkateswaran
8a9901d417 add all PG column types in table add / modify (close #223, #2035, #394, #2038) (#1933) 2019-05-22 16:53:30 +05:30
Rishichandra Wawhal
9940ae1992 update modify table tests (#2245) 2019-05-22 12:08:32 +05:30
Rishichandra Wawhal
3ef1219fa0 change default endpoint to v1/graphql; remove semver checks (#2181) 2019-05-16 14:38:44 +05:30
Shahidh K Muhammed
76ceb707f4
bundle console assets into server (close #516, close #521, close #2130) (#2192)
This PR builds console static assets into the server docker image at `/srv/console-assets`. When env var `HASURA_GRAPHQL_CONSOLE_ASSETS_DIR=/srv/console-assets` or flag `--console-assets-dir=/srv/console-assets` is set on the server, the files in this directory are served at `/console/assets/*`.

The console html template will have a variable called `cdnAssets: false` when this flag is set and it loads assets from server itself instead of CDN.

The assets are moved to a new bucket with a new naming scheme:

```
graphql-engine-cdn.hasura.io/console/assets/
   /common/{}
   /versioned/<version/{}
   /channel/<channel>/<version>/{}
```

Console served by CLI will still load assets from CDN - will fix that in the next release.
2019-05-16 13:15:29 +05:30
Rakesh Emmadi
0b210cc245 support allow-list for graphql queries (closes #989) (#2075) 2019-05-16 11:43:25 +05:30
Rikin Kachhia
d6995c3547
add schema create/delete options in console (closes #2142) (#2143) 2019-05-15 19:30:44 +05:30
Rishichandra Wawhal
5c07ebc512 support composite unique keys from the console (close #506) (#2148) 2019-05-15 16:59:09 +05:30
Rishichandra Wawhal
5a8a34b8cf fix column comment handling in modify (fix #2164) (#2187) 2019-05-15 13:35:29 +05:30
Tirumarai Selvan
36e49ea75b manual event triggers (close #1687) (#2077) 2019-05-13 15:11:07 +05:30
Rikin Kachhia
0bb96883d6
fix function table permission url (#2152) 2019-05-10 12:53:08 +05:30
Rishichandra Wawhal
a0bed89283 fix relationship rename for non-public schemas (close #1777) (#2127) 2019-05-07 17:54:44 +05:30
Rikin Kachhia
5b9e99acd3 sanitize migration filenames (close #2094) (#2123) 2019-05-07 11:40:38 +05:30
Rikin Kachhia
b24456788c
fix set column as unique bug (close #2096) (#2108) 2019-05-03 13:10:27 +05:30
Rikin Kachhia
c87940ae42
fix console expandable editor styles (#2111) 2019-05-03 13:09:33 +05:30
Rikin Kachhia
87bc39c9e9
restructure console files (#2078) 2019-04-26 16:41:52 +05:30
Rikin Kachhia
b61f54b086
change position of constraint names in table modify (#2069) 2019-04-26 13:39:09 +05:30
Rikin Kachhia
ed3e9caf2f
fix console bugs (close #2030, #2032, #226) (#2044)
* fix timestamp column shown as text in modify section
* fix foreign key update bug in case of capital letters in name
* show column type, default value, constraint names as properties in modify section
* display disabled action btns in browse rows if no primary key set
* add tooltips to event trigger / remote schema try it out examples
2019-04-24 13:05:05 +05:30
John Bampton
91f4d7b5e2 change Github to GitHub at multiple places (#2046) 2019-04-23 15:39:28 +05:30
Vamshi Surabhi
b714923ffb fix typo in the field name for accessing headers (#2026)
The diff says it all
2019-04-18 00:19:50 +05:30
Rakesh Emmadi
1d7cbc7f24 recover from inconsistent database state (closes #231) (#1863) 2019-04-17 21:59:39 +05:30
Rishichandra Wawhal
393110420d fix fk bug in non-public schemas (#2010) 2019-04-15 21:44:57 +05:30
Rikin Kachhia
5626a30f8d
refactor permissions types handling (#2009) 2019-04-15 18:57:37 +05:30
Rikin Kachhia
ef00e5f8f3
persist explorer / endpoint / headers collapsed state in ApiExplorer (#1992) 2019-04-15 18:57:07 +05:30
Rishichandra Wawhal
e94ee34017 make console function fetchTableListBySchema reusable (#2008) 2019-04-15 16:04:26 +05:30
Karthik Venkateswaran
bf3cf7ff8e fix webhook url edit for event triggers (#1987) 2019-04-11 13:32:11 +05:30
Rikin Kachhia
86192511a4
show default values as placeholder during insert row (#1985) 2019-04-10 19:16:32 +05:30
Rikin Kachhia
605ecda832
handle permission api shorthands in console (#1986) 2019-04-10 19:15:53 +05:30
Rikin Kachhia
b316bf60cb
optimise introspection query calls (#1971) 2019-04-10 18:05:35 +05:30
Mathias Griffe
39135d0990 fix save function in console's retry config editor (fix #1975) (#1976) 2019-04-10 16:55:45 +05:30
Rikin Kachhia
c58acaf641
add placeholder for bool type fields while inserting rows (#1962) 2019-04-10 13:40:34 +05:30
Rikin Kachhia
6b3e544069
re-add same as other action options in permissions (#1970) 2019-04-09 19:12:50 +05:30
Rikin Kachhia
1a4f172f6e
update console permissions ui (#1924)
* Make permissions sections as collapsibles with tooltips
* Remove 'use same permission as select' type options from row permissions section
* Added clone section to apply same permission to any table-role-action
* Disable other subsections till row permissions are set
2019-04-09 17:25:02 +05:30
Rikin Kachhia
60b450b903
fix styles in browse rows, relationship and permission tables (#1969) 2019-04-09 17:22:12 +05:30
Rishichandra Wawhal
70cd78fec0 support composite foreign keys and primary keys through console (close #1707) (#1854) 2019-04-08 18:47:02 +05:30
Rishichandra Wawhal
c964c90a7b persist queries in GraphiQL (closes #1894) (#1903) 2019-04-03 19:43:09 +05:30
Anne Ogborn
44d6bb8b7e improve console error page (close #272) (#1890) 2019-04-03 19:08:17 +05:30
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