graphql-engine/server
Shahidh K Muhammed 76ceb707f4
bundle console assets into server (close #516, close #521, close #2130) (#2192)
This PR builds console static assets into the server docker image at `/srv/console-assets`. When env var `HASURA_GRAPHQL_CONSOLE_ASSETS_DIR=/srv/console-assets` or flag `--console-assets-dir=/srv/console-assets` is set on the server, the files in this directory are served at `/console/assets/*`.

The console html template will have a variable called `cdnAssets: false` when this flag is set and it loads assets from server itself instead of CDN.

The assets are moved to a new bucket with a new naming scheme:

```
graphql-engine-cdn.hasura.io/console/assets/
   /common/{}
   /versioned/<version/{}
   /channel/<channel>/<version>/{}
```

Console served by CLI will still load assets from CDN - will fix that in the next release.
2019-05-16 13:15:29 +05:30
..
packaging bump haskell-docker-packager version (#1870) 2019-03-26 15:26:15 +05:30
src-exec bundle console assets into server (close #516, close #521, close #2130) (#2192) 2019-05-16 13:15:29 +05:30
src-lib bundle console assets into server (close #516, close #521, close #2130) (#2192) 2019-05-16 13:15:29 +05:30
src-rsr bundle console assets into server (close #516, close #521, close #2130) (#2192) 2019-05-16 13:15:29 +05:30
test allow renaming tables, columns and relationships (close #79) (#1542) 2019-03-01 14:47:22 +05:30
tests-py support allow-list for graphql queries (closes #989) (#2075) 2019-05-16 11:43:25 +05:30
.dockerignore update packages (#251) 2018-08-08 13:10:13 +05:30
.gitignore adds basic support for remote schemas/schema stitching (#952) 2018-11-23 18:32:46 +05:30
.stylish-haskell.yaml refactor to remove warnings especially with orphan instances (#1163) 2018-12-13 12:56:15 +05:30
CONTRIBUTING.md bundle console assets into server (close #516, close #521, close #2130) (#2192) 2019-05-16 13:15:29 +05:30
graphql-engine.cabal bundle console assets into server (close #516, close #521, close #2130) (#2192) 2019-05-16 13:15:29 +05:30
Makefile bundle console assets into server (close #516, close #521, close #2130) (#2192) 2019-05-16 13:15:29 +05:30
Setup.hs move raven into graphql-engine repo 2018-06-28 00:32:00 +05:30
stack-nightly.yaml bump stackage to lts 13 and refer to hasura's pg-client-hs (#1747) 2019-03-14 20:25:33 +05:30
stack.yaml support allow-list for graphql queries (closes #989) (#2075) 2019-05-16 11:43:25 +05:30