Commit Graph

1079 Commits

Author SHA1 Message Date
Rikin Kachhia
18822ded9a
update styles of data tables in console for better readability (#2629)
* add row striping
* reduce row vertical padding
* column widths based on content
* table width based on content
* handle display of data represented as objects (e.g. jsonb, geaography)
* display data with correct formatting in row expanded mode
* show pagination section even if numRows < page size
* hide filter/sort/pagination sections for object relationship
2019-08-09 16:27:44 +05:30
Rikin Kachhia
c79385864d
escape PG comment strings in console to allow quotes (close #2641) (#2676) 2019-08-09 16:21:05 +05:30
AlbertGao
2d4f91472f fix error in migration docs (#2691) 2019-08-09 14:53:38 +05:30
Vamshi Surabhi
52bf885f14
refactor schema.hs into multiple modules (#2661)
Mostly moving around things across modules. No change in
functionality.
2019-08-09 14:49:17 +05:30
Kaushlendra Pratap
0b9fdad806 add missing -- prefix from server flags in docs (close #2646) (#2697) 2019-08-09 14:43:37 +05:30
Rakesh Emmadi
a03c78854d capture Postgres error code 22025 as HTTP 400 bad request (close #2486) (#2671) 2019-08-08 15:57:42 -05:00
Rikin Kachhia
01e71ca896
enable only normal and multiline inputs for text column editing (#2684) 2019-08-07 18:42:06 +05:30
Vamshi Surabhi
6a649c23f8
Merge pull request #2547 from jberryman/dev-scripts-and-doc-tweaks
Add local development swiss army knife script `scripts/dev.sh`
2019-08-07 12:42:38 +05:30
Vamshi Surabhi
a5a07634a5
Merge branch 'master' into dev-scripts-and-doc-tweaks 2019-08-07 12:08:46 +05:30
Rishichandra Wawhal
e92ffcf440 refactor console codebase with customResolver -> remoteSchema (#2670) 2019-08-06 14:30:30 +05:30
Raja Jain
242ecf5a47 community: learn: add flutter-graphql tutorial (#2554) 2019-08-06 04:03:11 +00:00
Josha Inglis
d19491ce54 improve console logic for view updatability check (fix #2667) (#2668) 2019-08-05 13:35:37 +05:30
Rikin Kachhia
19069c2c2b
show proper console notifications for errors in db schema load & metadata reload 2019-08-02 18:13:10 +05:30
Rikin Kachhia
c1d4f76c1f
allow adding frequently used columns from table modify page (close #2545) (#2593) 2019-08-02 14:01:30 +05:30
surendran82
1115d0c9a0 community: learn: home page design updates (#2588) 2019-08-01 12:46:43 +00:00
Shahidh K Muhammed
bfc6fc8a5e update manifests to v1.0.0-beta.4 2019-08-01 16:26:32 +05:30
Anon Ray
b4a0a03631 log when request body parsing fails (fix #2555) (#2556) 2019-08-01 16:21:59 +05:30
Alexis King
84ff3ff01b Set LANG=C.UTF-8 in the docker container (fix #2571) (#2647) 2019-08-01 13:00:07 +05:30
Tobias Törnros
727eee8493 fix typo on event triggers boilerplates for Netlify Functions (#2493) 2019-08-01 05:11:44 +00:00
Rakesh Emmadi
6b8a6ca48f dont use sub-query for perm limit if aggregations are absent (#2630) 2019-08-01 05:09:52 +00:00
Rodrigo Quelhas
93737916a9 community: learn: ReasonML tutorial bug fixes (#2642) 2019-07-31 16:18:32 +00:00
Brandon Simmons
3e2e14357a Add rebuild-ghc-options to stack.yamls
I found this default a super annoying time waster.
2019-07-31 10:22:50 -04:00
Rakesh Emmadi
db24d3248f schema sync process will not generate garbage data (close #2542) (#2585)
schema syncing logic now requires only a single row in `hdb_schema_update_event`.
2019-07-31 14:31:48 +05:30
Vitalii Tverdokhlib
a8a18e04bb community: update remote schema boilerplate (#1938) 2019-07-31 06:24:50 +00:00
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