这是indexloc提供的服务,不要输入任何密码
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
1a496ab
actions init
Oct 21, 2019
2c9c7bd
set argument editor
Oct 23, 2019
2c868ae
type builder v1; enum todo
Oct 23, 2019
21e6ce8
api integration init
Oct 23, 2019
039eecf
make type editor collapsible
Oct 23, 2019
d055b6a
Merge branch 'master' of github.com:hasura/graphql-engine into consol…
Oct 23, 2019
22fe9f9
set tab layout for each action
Oct 24, 2019
c9a3af0
push to action after creation
Oct 24, 2019
97e55e1
allow removing args and field in editors
Oct 24, 2019
f178a71
fix type removal bugs
Oct 24, 2019
2912238
set defaults on creating table; enum type builder
Oct 25, 2019
65d28bf
set modify UI and state; API integration todo
Oct 26, 2019
826fcb6
add async; fix enum builder bug; modify api integration
Oct 26, 2019
321f5a4
Merge branch 'master' of github.com:hasura/graphql-engine into consol…
Oct 27, 2019
8e322de
clear tabcontainer effect on unmount
Oct 27, 2019
b8edf9b
optional arguments; optimise server IO
Oct 27, 2019
1dc5aae
wip
Oct 27, 2019
91e9741
fix helmet
Oct 28, 2019
40024c7
add typewrappers; derive types init
Oct 29, 2019
2f56547
wip; name conflicts todo
Oct 29, 2019
63d113d
add typewrappers; derive from existing type
Oct 30, 2019
1577f7d
handle type removal elegantly
Oct 30, 2019
02d32f5
handle type removal elegantly in modify
Oct 30, 2019
a0acec0
fix modify overlapping types bug
Nov 1, 2019
82d4f20
handle cloning enums from Hasura
Nov 4, 2019
7c7d972
action rels v1
rikinsk Nov 8, 2019
e070893
create actions and types through SDL
Nov 8, 2019
a7cd206
minor restructure
Nov 8, 2019
0c3f60f
modify action using sdl
Nov 8, 2019
4d4d1b5
merge with wawhal:console-actions
Nov 8, 2019
0837ff3
clone type functionality
Nov 11, 2019
6918160
type management init
Nov 11, 2019
b0d93b0
add a reset button to types editor
Nov 11, 2019
3b984be
show actions types; show warning if a type is being modified
Nov 12, 2019
241e0df
fix a bug where relationships got deleted on modifyin types
Nov 13, 2019
5712082
Merge branch 'master' of github.com:hasura/graphql-engine into consol…
Nov 13, 2019
149c527
maintain relationships while modifying types
Nov 14, 2019
280e55e
remove unwanted script from localdev html
Nov 14, 2019
d05a075
fix accessing relationships for new types
Nov 15, 2019
4c1e7af
set timer and ast in redux state
Nov 19, 2019
8cf97ba
Merge branch 'master' of github.com:hasura/graphql-engine into consol…
Dec 11, 2019
9bdd042
add UI for actions permissions (#8)
wawhal Dec 11, 2019
52fb69f
expose shared modules; webhook -> handler; implement update API
Dec 27, 2019
6446766
pull latest server changes
Jan 9, 2020
01f7c86
allow selecting action relationship type
Jan 9, 2020
ef3ef13
fix a bug where function def got printed
Jan 14, 2020
6fcf729
treat custom type kinds as nullable in the server response
Jan 14, 2020
bda7eb2
pull server changes
Jan 20, 2020
8f45e3b
pull server changes
Jan 21, 2020
469f7f9
codegen init
Jan 23, 2020
f411e38
pull latest server changes
Jan 23, 2020
7719ddd
get .circleci scripts from vamshi/actions
Jan 23, 2020
2b5ae66
pull latest server changes
Jan 24, 2020
d224012
add basic codegen to actions
Jan 27, 2020
e9744b7
Merge branch 'console-actions-codegen' into console-actions-build
Jan 27, 2020
f426ffe
hide codegen tab
Jan 27, 2020
bc234e5
use 'require' over 'import' to load dependencies async
Jan 27, 2020
de68f65
change editor orders in action editor; validate templates
Jan 27, 2020
d04536c
add basic derive mutation
Jan 28, 2020
0f829a5
add temp dependency
Jan 28, 2020
a182021
persist mutations in local storage
Jan 31, 2020
a531e7a
hide save button for existing permission
Jan 31, 2020
d065c43
add UI for headerconf to actions
Feb 3, 2020
1ae7c70
merge with hasura:master while pulling new changes from 0x777:actions
Feb 3, 2020
73023b6
add glitch and starter kit
Feb 3, 2020
875ef7c
add derive mutation checkbox
Feb 3, 2020
59ab932
handle label onclick default for fch checkbox
Feb 4, 2020
9855a19
better mutation validation before derivation
Feb 4, 2020
5b2d1b5
add getting started page to actions
Feb 5, 2020
c07c561
catch json parse of undefined in persistMutation to LS
Feb 5, 2020
f7645df
make console navbar slightly responsive
Feb 6, 2020
31a8952
pull latest server changes
arvi3411301 Feb 6, 2020
e105f7a
pull latest circleci changes
arvi3411301 Feb 6, 2020
f865a9d
pull latest server changes
arvi3411301 Feb 6, 2020
c34676d
pull latest circleci changes
arvi3411301 Feb 6, 2020
83c31fb
consider ID as an inbuilt type
Feb 6, 2020
274cbeb
Merge branch 'console-actions-build' of github.com:wawhal/graphql-eng…
Feb 6, 2020
8b016f8
add more docs for actions
Feb 7, 2020
480849a
changes to the actions docs page
Feb 7, 2020
f83ccf1
work on requested changes; relationships refactor init
Feb 10, 2020
70162ba
refactor action relationships code
Feb 10, 2020
adb3c72
work on requested changes
Feb 10, 2020
7073dec
remove unused route
Feb 10, 2020
2c9d1fe
update action def editor tooltip
Feb 12, 2020
8f3cdcb
add more actions docs
Feb 12, 2020
21cc0ef
pull latest server changes
Feb 13, 2020
c02fbfe
change derive-from-mutation -> derive-from-operation
Feb 14, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 0 additions & 10 deletions .ciignore

This file was deleted.

26 changes: 3 additions & 23 deletions .circleci/ciignore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ if [[ "$CIRCLE_BRANCH" = "release-"* ]]; then
exit
fi

if [[ ! -a "$ROOT/.ciignore" ]]; then
echo "Skipping check since .ciignore is not found"
exit # If .ciignore doesn't exists, just quit this script
fi

# get the diff
if [[ ! -z "$CIRCLE_COMPARE_URL" ]]; then
# CIRCLE_COMPARE_URL is not empty, use it to get the diff
Expand All @@ -39,36 +34,21 @@ if [[ ! -z "$CIRCLE_COMPARE_URL" ]]; then
COMMIT_RANGE=$(echo $CIRCLE_COMPARE_URL | sed 's:^.*/compare/::g')
fi
echo "Diff: $COMMIT_RANGE"
changes="$(git diff $COMMIT_RANGE --name-only)"
changes="$(git diff $COMMIT_RANGE --name-only -- . ':!scripts' ':!assets' ':!docs' ':!community' ':!install-manifests' ':!github' ':!*.md' ':!.ciignore' ':!.gitignore' ':!LICENSE')"
elif [[ "$CIRCLE_BRANCH" == "master" ]]; then
# CIRCLE_COMPARE_URL is not set, but branch is master, diff with last commit
echo "Diff: HEAD~1"
changes="$(git diff HEAD~1 --name-only)"
changes="$(git diff HEAD~1 --name-only -- . ':!scripts' ':!assets' ':!docs' ':!community' ':!install-manifests' ':!github' ':!*.md' ':!.ciignore' ':!.gitignore' ':!LICENSE')"
else
# CIRCLE_COMPARE_URL is not set, branch is not master, diff with origin/master
echo "Diff: origin/master..HEAD"
changes="$(git diff-tree --no-commit-id --name-only -r origin/master..HEAD)"
changes="$(git diff-tree --no-commit-id --name-only -r origin/master..HEAD -- . ':!scripts' ':!assets' ':!docs' ':!community' ':!install-manifests' ':!github' ':!*.md' ':!.ciignore' ':!.gitignore' ':!LICENSE')"
fi

echo "Changes in this build:"
echo $changes
echo

# Load the patterns we want to skip into an array
mapfile -t blacklist < "$ROOT/.ciignore"

for i in "${blacklist[@]}"
do
# Remove the current pattern from the list of changes
changes=( ${changes[@]/$i/} )

if [[ ${#changes[@]} -eq 0 ]]; then
# If we've exhausted the list of changes before we've finished going
# through patterns, that's okay, just quit the loop
break
fi
done

if [[ ${#changes[@]} -gt 0 ]]; then
# If there's still changes left, then we have stuff to build, leave the commit alone.
echo "Files that are not ignored present in commits, need to build, succeed the job"
Expand Down
22 changes: 22 additions & 0 deletions .circleci/test-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,8 @@ wait_for_port 5001

cache_control_jwk_url='{"type": "RS256", "jwk_url": "http://localhost:5001/jwk-cache-control"}'
expires_jwk_url='{"type": "RS256", "jwk_url": "http://localhost:5001/jwk-expires"}'
cc_nomaxage_jwk_url='{"type": "RS256", "jwk_url": "http://localhost:5001/jwk-cache-control?nomaxage"}'
cc_nocache_jwk_url='{"type": "RS256", "jwk_url": "http://localhost:5001/jwk-cache-control?nocache"}'

# start HGE with cache control JWK URL
export HASURA_GRAPHQL_JWT_SECRET=$cache_control_jwk_url
Expand Down Expand Up @@ -596,6 +598,26 @@ pytest -n 1 -vv --hge-urls "$HGE_URL" --pg-urls "$HASURA_GRAPHQL_DATABASE_URL" -

kill_hge_servers

# start HGE with nomaxage JWK URL
export HASURA_GRAPHQL_JWT_SECRET=$cc_nomaxage_jwk_url
run_hge_with_args serve
wait_for_port 8080

pytest -n 1 -vv --hge-urls "$HGE_URL" --pg-urls "$HASURA_GRAPHQL_DATABASE_URL" --hge-key="$HASURA_GRAPHQL_ADMIN_SECRET" --test-jwk-url test_jwk.py -k 'test_cache_control_header'

kill_hge_servers
unset HASURA_GRAPHQL_JWT_SECRET

# start HGE with nocache JWK URL
export HASURA_GRAPHQL_JWT_SECRET=$cc_nocache_jwk_url
run_hge_with_args serve
wait_for_port 8080

pytest -n 1 -vv --hge-urls "$HGE_URL" --pg-urls "$HASURA_GRAPHQL_DATABASE_URL" --hge-key="$HASURA_GRAPHQL_ADMIN_SECRET" --test-jwk-url test_jwk.py -k 'test_cache_control_header'

kill_hge_servers
unset HASURA_GRAPHQL_JWT_SECRET

kill $JWKS_PID

# end jwk url test
Expand Down
1 change: 1 addition & 0 deletions console/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
"jsx-a11y/no-autofocus": 0,
"max-len": 0,
"no-continue": 0,
"eqeqeq": 0,
"no-nested-ternary": 0
},
"plugins": [
Expand Down
Loading