Commit Graph

454 Commits

Author SHA1 Message Date
Shahidh K Muhammed
d2dfe7b026
update serverless triggers on zeit now (close #490) (#613)
This PR re-writes the README for serverless triggers on Zeit Now. `zeit-serverless-docker` have been renamed to `zeit-now`. Echo and mutation examples for Go and NodeJS are added.
2018-10-02 16:36:28 +05:30
Rosário Pereira Fernandes
f40da07aaa add nodejs 6 and python for serverless triggers on gcloud functions (#608) 2018-10-02 14:39:06 +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
Kundan
4643458cf9 update readme (#597) 2018-10-02 10:25:31 +05:30
Bharat Raghunathan
811bc01163 update contributing guides to include cla (close #594) (#590) 2018-10-01 22:39:18 +05:30
Shahidh K Muhammed
ac004fec38
validate the directory before executing migrate create (fix #585) (#586) 2018-10-01 15:42:12 +05:30
Shahidh K Muhammed
73c7f039ea update installation manifests to v1.0.0-alpha22 2018-09-29 13:23:26 +05:30
Vamshi Surabhi
67ee3fc0f2 on a conn_init error send connection_err message instead of closing the ws conn (fix #537) (#572) 2018-09-29 13:21:49 +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
Aravind Shankar
f847758edf changelog script to consider only core components (close #433) (#564) 2018-09-29 11:19:24 +05:30
Karthik Venkateswaran
9325e241c0 update gatsby-postgres-graphql readme (#577)
some typo fixes
2018-09-29 11:17:35 +05:30
Rakesh Emmadi
fc7ea9213c fix non-admin insert returns null column values when query affects zero rows in postgres (fix #563) (#565)
Insert trigger function: If query affects no rows then return `null`

Insert trigger function is modified to have 
 `IF r IS NULL THEN RETURN null; ELSE RETURN r; END IF;` in return statement.
2018-09-29 11:12:47 +05:30
Rishichandra Wawhal
0cf981ddf8 update firebase2graphql readme (#575) 2018-09-28 18:19:05 +05:30
Rishichandra Wawhal
bdb73fe6d1 add firebase2graphql to community tools (#573) 2018-09-28 17:45:22 +05:30
Vamshi Surabhi
b084249e01 do not clean hdb_views by dropping and creating the schema (closes #567) (#568)
Fix migration logic to accommodate for non superuser permissions. Closes #567 

- [x] Server

By clearing the `hdb_views` schema of existing views and functions instead of dropping and creating it again. 

- [x] Bug fix (non-breaking change which fixes an issue)
2018-09-28 16:22:54 +05:30
Shahidh K Muhammed
848dfce4a5
update cli docs (#561) 2018-09-28 12:57:10 +05:30
Rikin Kachhia
e265086fa4 docs: update logo + add docker for mac configuration note (#559) 2018-09-27 21:34:21 +05:30
Shahidh K Muhammed
d42f7b33da update installation manifests to v1.0.0-alpha21 2018-09-27 19:32:30 +05:30
Karthik Venkateswaran
fb8af76bc4 update gatsby-postgres-graphql boilerplate (#556) 2018-09-27 19:28:26 +05:30
Shahidh K Muhammed
330f90de40
add project flag, change persistentprerun to prerun (close #552) (#557)
### Description

Adds `--project` flag to the CLI and changes all `PersistentPreRuns` to `PreRuns`

What component does this PR affect? 

- [ ] Server
- [ ] Console
- [x] CLI
- [ ] Docs
- [ ] Community Content
- [ ] Build System

### Related Issue

#552
2018-09-27 19:27:17 +05:30
Anon Ray
1a0af29920 remove 's' unit from query_execution_time in logs (close #509) (#553)
Removes the seconds unit (trailing `s`) from `query_execution_time` in logs.

- [x] Server

It was a string before, changed to double.

- [x] Bug fix (non-breaking change which fixes an issue)

Docs should mention the type/unit of `query_execution_time` is numeric/double.
2018-09-27 18:02:21 +05:30
Vamshi Surabhi
5e619cc479 fix geojson inconsistencies (closes #510) (#513)
Graphql-engine now accepts crs key to specify the Coordinate Reference System as accepted in GeoJSON 2008 spec.

- [x] Server
2018-09-27 17:53:17 +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
Anon Ray
75090d51b9 jwt config now takes a jwk url (close #465) (#527)
JWT config now takes an optional jwk_url parameter (which points to published JWK Set). This is useful for providers who rotate their JWK Set.

Optional jwk_url parameter is taken. The published JWK set under that URL should be in standard JWK format (tools.ietf.org/html/rfc7517#section-4.8).

If the response contains an Expires header, the JWK set is automatically refreshed.
2018-09-27 16:52:49 +05:30
Shahidh K Muhammed
4e2ab8ad79
add brand assets (#543) 2018-09-27 16:44:50 +05:30
Karthik Venkateswaran
0ebe82c598 update gatsby-postgres-graphql boilerplate (#551) 2018-09-27 16:13:18 +05:30
Aravind Shankar
e82eb52305 changelog script to consider only core components (close #433) (#529) 2018-09-26 19:52:28 +05:30
surendran82
17cbdbd970 add github and social media buttons to docs page (#540) 2018-09-26 19:42:55 +05:30
Arpit Kushwaha
0a43d53ab9 update pull request template (#532)
add build system to the checklists in pr_template, moved test as a checkbox
2018-09-26 18:01:37 +05:30
Aravind Shankar
ebc3589118 add passport-js auth webhook boilerplate (#528) 2018-09-26 17:57:59 +05:30
Rikin Kachhia
d0303995e3 explicity mention env variables for heroku with existing database (#531) 2018-09-25 22:29:47 +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
Tirumarai Selvan
2cd2b23b2d add custom headers for webhooks, refactor retry logic (#419) 2018-09-24 17:20:11 +05:30
Karthik Venkateswaran
65f29610f0 take access key from redux state (#514) 2018-09-22 14:32:41 +05:30
Karthik Venkateswaran
33accea81c add gatsby-postgres-hasura boilerplate (#499) 2018-09-20 21:03:46 +05:30
Rakesh Emmadi
8f6b19d6f1 quote constraint name for non-admin inserts (fix #494) (#497)
### Description
What component does this PR affect? 

- [x] Server
### Related Issue
#494 

### Solution and Design
Use `quote_ident()` SQL function over `constraint_name` in insert trigger function definition.

### Type
- [x] Bug fix (non-breaking change which fixes an issue)
2018-09-20 20:54:20 +05:30
Shahidh K Muhammed
ae43a08afb
update docs (#498)
update docs (close #474, close #480)
2018-09-20 15:21:27 +05:30
Anon Ray
04696aec45 fix pgcrypto extension creation failures on heroku (fix #495) (#496)
### Description
Fixes #495 

What component does this PR affect? 

- [x] Server

### Solution and Design
Create the extension explicitly mentioning the public schema. 

### Type

- [x] Bug fix (non-breaking change which fixes an issue)
2018-09-20 12:55:39 +05:30
Karthik Venkateswaran
72dfa7dcde remove development data api url (#492) 2018-09-20 09:55:40 +05:30
Arpit Kushwaha
a5ebd5a1c0 add pull request template and new demo gif (close #473) (#488) 2018-09-20 09:54:05 +05:30
Aravind Shankar
729b56dd20 live queries tests for subscription (#487) 2018-09-20 07:16:03 +05:30
Maxim Makarov
0fc4ebf09a fix typos in metadata command (#493) 2018-09-20 07:00:37 +05:30
Tirumarai Selvan
c42af444f7 implement query to update an event trigger (#367) 2018-09-19 17:42:57 +05:30
Shahidh K Muhammed
9d0ec2f8ba update installation manifests to v1.0.0-alpha20 2018-09-19 15:38:25 +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
Rishichandra Wawhal
3d6732b678 change table and foreign-key naming conventions in json2graphql (#485)
Foreign keys will now be detected if a column name is `<table_name>_id`.

Earlier, foreign keys would be detected when column name was `<table_name - s>_id`. This was a problem because it placed restrictions on table names. Such restrictions were limiting us from importing complicated JSON databases.

Here are the examples of JSON sampel data for a user, post and comment schema as per new and old conventions:

Old convention:

```
{
    posts: [
        { id: 1, title: "Lorem Ipsum", views: 254, user_id: 123 },
        { id: 2, title: "Sic Dolor amet", views: 65, user_id: 456 },
    ],
    users: [
        { id: 123, name: "John Doe" },
        { id: 456, name: "Jane Doe" }
    ],
    comments: [
        { id: 987, post_id: 1, body: "Consectetur adipiscing elit" },
        { id: 995, post_id: 1, body: "Nam molestie pellentesque dui" }
    ]
}
```

New convention:

```
{
    post: [
        { id: 1, title: "Lorem Ipsum", views: 254, user_id: 123 },
        { id: 2, title: "Sic Dolor amet", views: 65, user_id: 456 },
    ],
    user: [
        { id: 123, name: "John Doe" },
        { id: 456, name: "Jane Doe" }
    ],
    comment: [
        { id: 987, post_id: 1, body: "Consectetur adipiscing elit" },
        { id: 995, post_id: 1, body: "Nam molestie pellentesque dui" }
    ]
};
``` 

@FrediBach I am not sure how this would affect [Blowson](https://github.com/FrediBach/json-data-extender). Can you provide some input?
2018-09-19 14:18:52 +05:30
Rakesh Emmadi
ec516ce55b allow _is_null operator for filter/check permissions (close #456) (#477) 2018-09-18 17:15:35 +05:30
nizar-m
cde559fe58 dont set non-null constraint for manual object relationships (close #462) 2018-09-18 17:01:16 +05:30