Commit Graph

1966 Commits

Author SHA1 Message Date
Marek Dano
dbafb92a07 Replace 'any' in the Sidebar component and fix eslint issue. 2020-05-06 13:36:30 +01:00
Marek Dano
17a4b98e9a Migrate Sidebar to tsx. 2020-05-06 12:44:52 +01:00
Marek Dano
1e2c05426d Remove react-router and replace it with react-router-dom in the console project. 2020-05-06 12:44:15 +01:00
Shahidh K Muhammed
e14352eb72
tag release v1.2.1 (#4680) 2020-05-05 19:23:29 -05:00
jjangga0214
1211c23a2f
docs: update cli installation via npm instructions (#4409) 2020-05-05 12:35:44 +05:30
Rikin Kachhia
dcab20a5ee
docs: update image paths (#4649) 2020-05-05 09:22:08 +05:30
Can Taşpınar
9d815598cc
cli: include new commands in help text (fix #4623) (#4626) 2020-05-05 09:21:20 +05:30
Marion Schleifer
9f4461b223
docs: fix action handler example (#4663) 2020-05-05 09:16:39 +05:30
ShahAnuj2610
8a58ef8b0c
readme: update badges (close #4225) (#4563) 2020-05-04 09:43:53 +05:30
Rikin Kachhia
6a6225ed99
docs: update telemetry opt-out docs (#4574)
Co-Authored-By: Marion Schleifer <marion@hasura.io>
2020-05-03 06:15:18 +05:30
surendran82
5998d22231
console: add read replica support section to pro popup (#4118) 2020-05-02 14:41:40 +05:30
Rikin Kachhia
2ef36f6f3c
docs: update migrations docs (#4639) 2020-05-01 19:36:00 +05:30
Aleksandra Sikora
43f12db1d3
console: update @babel/core and @babel/preset-env (#4628) 2020-05-01 18:34:52 +05:30
Aleksandra Sikora
09d3c89d4c
console: fix data browser css issue in safari (close #4632) (#4634) 2020-05-01 05:31:22 +05:30
Rikin Kachhia
cecec960ed
docs: add note about using cli-migrations-v2 image (#4618) 2020-04-30 15:20:32 +05:30
Aleksandra Sikora
220338d5d7
console: pin dependency versions (#4612) 2020-04-30 13:09:17 +05:30
Aravind Shankar
ab97dee4b0
add build_image as required job for test_and_build_cli_migrations (#4615) 2020-04-30 12:21:56 +05:30
Aravind Shankar
1ee3f40ad4
cli(migrations): load correct server image (fix #4610) (#4614) 2020-04-30 10:52:11 +05:30
Rikin Kachhia
08e81da02c
docs: update session vars in functions sections (#4606) 2020-04-30 00:53:29 +05:30
Auke Booij
ad882a93e2
tests: tear down numerics values (fix #4602) (#4604)
Also temporarily disable part of the CI to avoid it becoming confused about tests for/from old versions
2020-04-29 16:56:16 +02:00
Shahidh K Muhammed
fb35576984
tag release v1.2.0 (#4597) 2020-04-29 17:13:42 +05:30
Rikin Kachhia
90b49eb007
docs: update config v1 migrations docs (#4598) 2020-04-29 15:39:49 +05:30
Tirumarai Selvan
444db3a4f4
docs: add database url env to server downgrade docs (#4593) 2020-04-29 15:36:15 +05:30
Rikin Kachhia
c2df714e5d
docs: update migrations docs (#3403) 2020-04-29 13:30:26 +05:30
Rikin Kachhia
35a50bb28b
docs: update actions documentation (#4586) 2020-04-29 13:16:02 +05:30
Tirumarai Selvan
7f0e47c44e
ready changelog for v1.2 (#4591) 2020-04-29 11:56:19 +05:30
Shraddha Agrawal
e174633ace
Merge pull request #4566 from ShraddhaAg/init-current-directory
cli: allow initialising project in current directory (fix #4560)
2020-04-28 19:10:46 +05:30
Shraddha Agrawal
88685736c7
Merge branch 'master' into init-current-directory 2020-04-28 18:35:00 +05:30
Shraddha Agrawal
d95d6378e8
cli: add support for servers with self-signed certs (fix #4564) (#4582)
Co-Authored-By: Marion Schleifer <marion@hasura.io>
2020-04-28 17:29:57 +05:30
Rikin Kachhia
b97ab77ee4
docs: misc changes (#4584)
* change v1.0 -> v1.x in version dropdown
* run sphinx build with upto 4 parallel processes
2020-04-28 17:12:02 +05:30
Shraddha Agrawal
63a0a3936a
docs: add version info to the CLI .env file section (close #4572) (#4573) 2020-04-28 16:58:02 +05:30
Shraddha Agrawal
1002d20a0a
Merge branch 'master' into init-current-directory 2020-04-28 02:27:23 +05:30
Marion Schleifer
3ba344befb
docs: data validations (close #4085) (#4260) 2020-04-28 00:32:15 +05:30
Auke Booij
ee7c7b1672
server: allow computed fields to have access to Hasura's session variables (fix #3846) (#4486)
* Allow computed fields to have access to Hasura's session variables

* Inform about session args for computed fields in changelog and docs

* Add tests for session arguments for computed fields (and the respective errors)

Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
Co-authored-by: Marion Schleifer <marion@hasura.io>
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
2020-04-27 17:07:03 +02:00
Aravind
98906e6c5f
Merge branch 'master' into init-current-directory 2020-04-27 16:51:16 +05:30
Rishichandra Wawhal
74563402d4
console: update and freeze graphiql explorer to support operation transforms (#4567) 2020-04-27 16:46:09 +05:30
Aleksandra Sikora
4746be2018
console: fix table columns type comparision during column edit (close #4125) (#4393) 2020-04-27 16:13:22 +05:30
Fadi Khadra
d9b9c21198
console: migrate GqlCompabilityWarning to TS (#4544) 2020-04-27 15:42:34 +05:30
Muhammad Ubaid Raza
08aecff498
console: migrate graphql, sql, main utils to TS (#4522) 2020-04-27 15:14:02 +05:30
Aleksandra Sikora
79a3b6131d
console: make graphiql panel use whole height (#4553) 2020-04-27 14:32:39 +05:30
Shraddha Agrawal
f7b99b53e4 minor fixes 2020-04-27 13:26:34 +05:30
Shraddha Agrawal
d5ae48c14e update help text and docs for init command 2020-04-27 10:03:10 +05:30
Shraddha Agrawal
e9cad694ed validate pwd is neither filesystem root nor an existing hasura project 2020-04-27 09:04:32 +05:30
Shraddha Agrawal
9c06c2998a update CHANGELOG.md 2020-04-26 22:35:39 +05:30
Shraddha Agrawal
3053af1055 cli: allow initialising project in current directory 2020-04-26 22:24:48 +05:30
Shraddha Agrawal
38529b3960
cli: remove irrelevant flags from init command (close #4508) (#4549) 2020-04-25 11:33:13 +05:30
Shahidh K Muhammed
41d3595aab
tag release v1.2.0-beta.5 (#4555) 2020-04-24 19:56:51 +05:30
Antoine Leblanc
66e18b7dee
console: support materialized views (close #91) (#4270) 2020-04-24 15:13:42 +05:30
Rakesh Emmadi
d52bfcda4e
backend only insert permissions (rfc #4120) (#4224)
* move user info related code to Hasura.User module

* the RFC #4120 implementation; insert permissions with admin secret

* revert back to old RoleName based schema maps

An attempt made to avoid duplication of schema contexts in types
if any role doesn't possess any admin secret specific schema

* fix compile errors in haskell test

* keep 'user_vars' for session variables in http-logs

* no-op refacto

* tests for admin only inserts

* update docs for admin only inserts

* updated CHANGELOG.md

* default behaviour when admin secret is not set

* fix x-hasura-role to X-Hasura-Role in pytests

* introduce effective timeout in actions async tests

* update docs for admin-secret not configured case

* Update docs/graphql/manual/api-reference/schema-metadata-api/permission.rst

Co-Authored-By: Marion Schleifer <marion@hasura.io>

* Apply suggestions from code review

Co-Authored-By: Marion Schleifer <marion@hasura.io>

* a complete iteration

backend insert permissions accessable via 'x-hasura-backend-privilege'
session variable

* console changes for backend-only permissions

* provide tooltip id; update labels and tooltips;

* requested changes

* requested changes

- remove className from Toggle component
- use appropriate function name (capitalizeFirstChar -> capitalize)

* use toggle props from definitelyTyped

* fix accidental commit

* Revert "introduce effective timeout in actions async tests"

This reverts commit b7a59c19d6.

* generate complete schema for both 'default' and 'backend' sessions

* Apply suggestions from code review

Co-Authored-By: Marion Schleifer <marion@hasura.io>

* remove unnecessary import, export Toggle as is

* update session variable in tooltip

* 'x-hasura-use-backend-only-permissions' variable to switch

* update help texts

* update docs

* update docs

* update console help text

* regenerate package-lock

* serve no backend schema when backend_only: false and header set to true

- Few type name refactor as suggested by @0x777

* update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* fix a merge bug where a certain entity didn't get removed

Co-authored-by: Marion Schleifer <marion@hasura.io>
Co-authored-by: Rishichandra Wawhal <rishi@hasura.io>
Co-authored-by: rikinsk <rikin.kachhia@gmail.com>
Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-04-24 14:40:53 +05:30
Rakesh Emmadi
6f100e0009
improve debug information in actions errors response (close #4031) (#4432)
* config options for internal errors for non-admin role, close #4031

More detailed action debug info is added in response 'internal' field

* add docs

* update CHANGELOG.md

* set admin graphql errors option in ci tests, minor changes to docs

* fix tests

Don't use any auth for sync actions error tests. The request body
changes based on auth type in session_variables (x-hasura-auth-mode)

* Apply suggestions from code review

Co-Authored-By: Marion Schleifer <marion@hasura.io>

* use a new sum type to represent the inclusion of internal errors

As suggested in review by @0x777
-> Move around few modules in to specific API folder
-> Saperate types from Init.hs

* fix tests

Don't use any auth for sync actions error tests. The request body
changes based on auth type in session_variables (x-hasura-auth-mode)

* move 'HttpResponse' to 'Hasura.HTTP' module

* update change log with breaking change warning

* Update CHANGELOG.md

Co-authored-by: Marion Schleifer <marion@hasura.io>
Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-04-24 13:25:51 +05:30