Commit Graph

1716 Commits

Author SHA1 Message Date
Rakesh Emmadi
91376316f2 breaking: encode bigint and bigserial postgres types as strings in response (fix #633) (#640)
This is breaking change where bigint and bigserial Postgres types will be encoded as GraphQL String types, as opposed to Int as present in earlier releases.

Input types were already encoded as String.

This is achieved by selecting `bigint` and `bigserial` columns as `text`s in the SQL query: `select "big_id"::text ..` instead of `select "big_id" .. `.

Reason for that change is outlined in #633 where JavaScript cannot decode 64 bit Integers.
2018-10-05 10:46:21 +05:30
Utkarsh Gupta
300684f2dc add docs for jwt_secret & enable_console env (#646) 2018-10-04 20:05:13 +05:30
Hugo
1e8e440bbc docs: fix spelling (#637) 2018-10-04 20:00:01 +05:30
Gaurav Sachdeva
d02361ce14 fix typos, punctuation, etc in docs (#635) 2018-10-04 19:55:46 +05:30
nizar-m
596bccde49 add python based tests, remove haskell tests
this does not generate coverage report yet
2018-10-04 18:14:15 +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
Miguel Piedrafita
408b943774 update newsletter link to https (#634) 2018-10-04 09:49:40 +05:30
Nikita Titov
15e3d6e549 multiple punctuation fixes in docs (#614) 2018-10-04 09:39:47 +05:30
Rishichandra Wawhal
ddfd7cd0fe update data modelling for realtime chat app (#630) 2018-10-04 09:10:17 +05:30
Rishichandra Wawhal
30273d354d improve normalization for firebase2graphql (#621) 2018-10-04 09:09:42 +05:30
Praveen Durairaj
509c8b89ed logo and favicon update on console (#627) 2018-10-03 18:49:56 +05:30
Aravind Shankar
44f64a1410 changelog script to consider only core components (fix #433) (#624) 2018-10-03 18:23:23 +05:30
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