Commit Graph

230 Commits

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