Commit Graph

1255 Commits

Author SHA1 Message Date
Arun Babu Neelicattu
dc52c0e507 migrations image: use nc zero-i/o mode when waiting for po… (#2594)
This change adds the `-z` option to the nc command when waiting for
a port to be ready. This ensures that we exit correctly reporting
connection status.
2019-07-31 05:18:03 +00:00
Sebastian Ekström
c4af1d73cd learn: fix typo in mutation documentation (#2185) 2019-07-30 11:43:18 +00:00
Mike Wheaton
b3807d8f98 learn: fix a minor typo (pluralized name) (#2351) 2019-07-30 11:41:36 +00:00
Apoorv Vardhan
5c0bd295a9 community: learn: react tutorial file path fixes (#2632) 2019-07-30 10:44:00 +00:00
Daven Paul Casia
7f06470082 add flag to disable ci colors (close #2072) (#2634)
* added log-level flag

* fix up the colors

* fix description
2019-07-30 06:55:38 +00:00
IMRAN KHAN
4aef5b4c26 add About page to console to show versions info (#2334) 2019-07-29 19:45:39 +05:30
Rikin Kachhia
e3f68dbb67
add support for column comparision operators in permissions builder (close #2040) (#2606) 2019-07-29 14:58:27 +05:30
Rikin Kachhia
b9a88d509d
allow using citext columns in row permission builder (#2622) 2019-07-29 14:50:27 +05:30
AlbertGao
a27488f463 update heroku documentation (#2526) 2019-07-29 06:24:39 +00:00
Tirumarai Selvan
50c6833cf0 add data clean-up docs for event triggers (#2596) 2019-07-26 17:24:38 +05:30
Praveen Durairaj
ce30fa8488 community: add gatsby-contentful-auth0 sample app (#2603) 2019-07-26 09:12:00 +00:00
Rikin Kachhia
47792f85b0
fix radio btn selection on data input in edit row page (close #2595) (#2600) 2019-07-26 13:16:49 +05:30
Rikin Kachhia
e9b5c4f5e4
show error stack trace on console error page for easier bug reporting (close #2598) (#2597) 2019-07-26 13:08:59 +05:30
Brandon Simmons
24409c7cbd Tweak local dev ekg console for longer timespan graphs 2019-07-26 01:17:56 -04:00
Brandon Simmons
0ed7891c0a Add fork of 'ekg' console for local development
These are assets forked from https://github.com/tibbe/ekg at revision fe5e5a1e67
Only monitor.js was modified slightly to take a local port from the URL
fragment.

I think we should feel free to continue modifying this, or replace with
our own tooling later on.
2019-07-26 01:17:56 -04:00
Brandon Simmons
bc32130d09 Clarify HASURA_GRAPHQL_EVENTS_FETCH_INTERVAL docs 2019-07-26 01:17:56 -04:00
Brandon Simmons
57ad9c2f20 Don't keep gzipping gzipped versioned assets 2019-07-26 01:17:56 -04:00
Brandon Simmons
3a4071af09 Remove some output noise from tests 2019-07-26 01:17:55 -04:00
Brandon Simmons
bc4456eccc Add local development swiss army knife script scripts/dev.sh
At the moment we can...

...run tests in isolation, generating coverage report:

    $ dev.sh test

You can pass args to pytest as well. e.g. to run a specific test:

    $ dev.sh test -k "test_jsonb_has_all"

Launch a postgres container with useful dev defaults, with PostGIS,
cleaning up afterwards:

    $ dev.sh postgres

Build and launch graphql-engine in dev mode, connecting with a
`postgres` launched above

    $ dev.sh graphql-engine
2019-07-26 01:17:35 -04:00
Brandon Simmons
04f90dd35d pytest.exit breaks pytest-xdist and produces a misleading error 2019-07-26 01:16:17 -04:00
Brandon Simmons
7e0f00a229 Remove obsolete Makefile target for tests removed in 6393aba447 2019-07-26 01:16:17 -04:00
Aravind Shankar
4405bac577 show warning for tables, columns, relationships which do not conform to GraphQL naming scheme (close #212) (#2422) 2019-07-24 20:11:18 +05:30
Rikin Kachhia
3445de3630
update console UI for RawSQL page / Migration page / Notifications (#2563) 2019-07-24 12:57:00 +05:30
Brandon Simmons
02ae91c64d Increase idle GC interval to workaround CPU leak issue (#2581)
This seems to resolve the issue locally (and has worked in the past),
but it's not clear what exactly is going on here (in particular, why
this should resolve what looks like a memory leak). It certainly seems
like a GHC issue of some sort.

Closes #2565
2019-07-24 10:41:52 +05:30
Vamshi Surabhi
4facb3c780 remove support for query templates (#2560)
query templates is a little known feature that lets you template rql
queries and serve them as rest apis. This is not relevant anymore
given the GraphQL interface and getting rid of it reduces the dev
time when adding features in few subsystems.

This feature has never been used outside hasura's internal projects or
documented or exposed through console and hence can safely be removed.
2019-07-23 19:11:34 +00:00
Shahidh K Muhammed
b32cfc7d28
change code owner for server 2019-07-23 14:43:08 +05:30
Praveen Durairaj
b301fef058 community: learn: update favicon (#2582) 2019-07-23 06:58:23 +00:00
Rishichandra Wawhal
0e94517fed community: learn: reasonml tutorial fixes (#2559) 2019-07-23 06:56:02 +00:00
Anne Ogborn
7a683324f2 add multiline and rich editing to text fields (close #458) (#2498) 2019-07-22 15:17:31 +05:30
Praveen Durairaj
dde9908650 community: learn: show reason-react on homepage (#2558) 2019-07-17 06:03:12 +00:00
Rishichandra Wawhal
a3b70e8d25 community: learn: add reason-react with apollo (#2523) 2019-07-17 01:06:33 +00:00
Anon Ray
a3e7a20a44 add notices in jwt docs regarding audience check (#2557)
- also update firebase sample-app README with correct JWT conf
2019-07-16 11:13:00 +00:00
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