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
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