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