Commit Graph

1223 Commits

Author SHA1 Message Date
Shahidh K Muhammed
71e2b45390
community: learn: use cloudflare dns challenge (#2551) 2019-07-16 03:23:27 +00:00
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
Alexis King
8f9a41ff88 Support casting between PostGIS geometry and geography types in where expressions (close #1983) (#2495)
* server: Bump dependencies to allow Haddock to run successfully

* Support casting between PostGIS geometry and geography types in filters
2019-07-15 14:22:45 +05:30
Karthik Venkateswaran
a76e34770a community: learn: add elm graphql tutorial (#2427) 2019-07-13 07:43:03 +00:00
Rishichandra Wawhal
f3808bc9ba community: fix tic-tac-toe wrong turn bug (#2524) 2019-07-12 12:37:10 +00:00
Tobias Törnros
88a1be4a04 Use the event object in trigger payload (#2500)
Broken example. The data object is located in the event object in trigger payload. Info: https://docs.hasura.io/1.0/graphql/manual/event-triggers/payload.html
2019-07-12 14:08:53 +05:30
Michael Edelman
6baf0b9ed0 fix: correct typo in 'Idea #2' section (close#2513) (#2514)
This change fixes a typo found on line 95 where the word 'wow' had been used instead of 'now'
2019-07-12 06:37:31 +00:00
Shahidh K Muhammed
694ba2cb6d update manifests to v1.0.0-beta.3 2019-07-12 11:00:10 +05:30
Vamshi Surabhi
66a2f33fa9 use all available cpu cores by default (#2511)
Use all available cores by default. sets -N rts flag by default. Can be disabled by
setting the `GHCRTS` env variable to `-N1`.
2019-07-12 05:25:15 +00:00
Shahidh K Muhammed
f20b12664c Revert "update manifests to v1.0.0-beta.3"
This reverts commit ec58269b7f.
2019-07-12 10:18:45 +05:30
Khoa Nguyen
2259d77b05 handle missing columns in permission rules (fix #2506) (#2507) 2019-07-11 17:19:06 +05:30
Anon Ray
c797d23a14 fix server tests (#2510) 2019-07-11 10:55:34 +00:00
Shahidh K Muhammed
ec58269b7f update manifests to v1.0.0-beta.3 2019-07-11 15:33:10 +05:30
Anon Ray
f2f14e727b Merge pull request from GHSA-2j98-fw5g-j43v
* fix bug in audience check while verifying JWT

  - previously the check was converting the audience type into a string
  and then comparing with the conf value. all audience types (as it is a
  string or URI) will convert to plain strings
  - use the Audience type from the jose library for comparing

* add docs for audience

* add issuer check as well

* docs minor syntax fix

* skip audience check if not given in conf

* minor docs update

* qualify import jose library
2019-07-11 09:58:39 +00:00
Ajeet D'Souza
92c4cff79e check input for empty strings for metadata api (close #2302) (#2300) 2019-07-11 09:00:45 +00:00
Ajeet D'Souza
605f8633f3 fail on tracking table/function with name conflict (close #2020) (#2383)
Currently, we allow tracking of a table with the same name as an already tracked function, and vice-versa. This causes an issue when querying from GraphQL since it will only query the table and not the function. I've made changes to disallow this by throwing an error.
2019-07-11 07:41:20 +00:00
Anon Ray
8f1e7dbc8d breaking: server logging changes (close #507, close #2171) (#1835) 2019-07-11 05:37:06 +00:00
dependabot[bot]
5342c9b869 Bump lodash.merge in /community/sample-apps/react-static-graphql (#2505)
Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-11 04:25:48 +00:00
Vamshi Surabhi
5aa4a46e72
allow fetching gc stats through dev api (#2489) 2019-07-10 17:31:52 +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
Anon Ray
d2867cea0c add docs for JWT audience and issuer (#2496) 2019-07-09 15:09:32 +00:00
Aravind Shankar
7356f59655 handle table with no columns in console (close #2481) (#2484) 2019-07-08 20:01:15 +05:30
Shahidh K Muhammed
510d854e91
update code owner for docs 2019-07-08 11:42:31 +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
9675e036ea
update jwt spec info (#2457) 2019-07-05 14:13:02 +05:30
Alexis King
6393aba447 Remove obsolete/unmaintained server Haskell test suite (#2472)
* Remove obsolete/unmaintained server Haskell test suite

* Prune some unused server dependencies
2019-07-05 10:56:32 +05:30
dependabot[bot]
184683c87f Bump handlebars in /community/tools/graphql2chartjs/example/app (#2473)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.12 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.12...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-05 04:02:18 +00:00
dependabot[bot]
9132f5575d Bump handlebars from 4.0.11 to 4.1.2 in /community/sample-apps/… (#2474)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.11 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.11...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-05 04:01:25 +00:00
Anon Ray
f9863a29c7 update server cabal file to reflect the correct license (#2471) 2019-07-04 10:58:02 +00:00
Ajeet D'Souza
666fd1bbc7 improve code for release channel detection (#2456) 2019-07-04 09:47:17 +00:00
Rikin Kachhia
e404320e17
fix console license (#2470) 2019-07-04 14:57:35 +05:30
Alexis King
a96adad786 Clarify a few steps involved in running the server test suite (#2467) 2019-07-04 11:43:16 +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
Ajeet D'Souza
b184ce0188 add server version to console html (close #2444) (#2452) 2019-07-02 12:44:29 +00:00
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
matt
f7ac664cc4 update postgres permission documentation (fix #2404) (#2405) 2019-07-02 13:19:29 +05:30
Anon Ray
f31c3b2887 freeze requirements.txt for server tests (#2450) 2019-07-01 13:34: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
Rishichandra Wawhal
f86fcde723 graphql2chartjs: bump version to 0.3.0 (#2445) 2019-06-28 16:31:41 +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
Shahidh K Muhammed
aae68873da add note on exporting multiple schemas as migration (#2436) 2019-06-27 17:04:19 +05:30
Praveen Durairaj
7c7f34da8e learn: fix twitter share image on homepage (#2437) 2019-06-27 15:10:45 +05:30