mirror of
https://github.com/hasura/graphql-engine.git
synced 2025-01-07 16:21:52 +03:00
Merge branch 'master' into 5190-improve-websockets-idle-memory-v2-only-kc8
This commit is contained in:
commit
1dbe5cd1ab
124
docs/_static/hasura-custom.css
vendored
124
docs/_static/hasura-custom.css
vendored
@ -214,94 +214,6 @@ p {
|
|||||||
#mce-responses .success-message {
|
#mce-responses .success-message {
|
||||||
color: #1cd3c6 !important;
|
color: #1cd3c6 !important;
|
||||||
}
|
}
|
||||||
.bannerStripWrapper {
|
|
||||||
background-color: #3D1BB7;
|
|
||||||
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.4);
|
|
||||||
position: relative;
|
|
||||||
min-height: 56px;
|
|
||||||
max-height: 56px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .bannerInnerWrapper {
|
|
||||||
padding: 0 15px;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .displayFlex
|
|
||||||
{
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .displayFlex a {
|
|
||||||
flex: 1;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .bannerStripImg {
|
|
||||||
position: absolute;
|
|
||||||
right: 0;
|
|
||||||
top: 0;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .bannerStripImg img {
|
|
||||||
max-height: 56px;
|
|
||||||
opacity: .4;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .bannerStrip
|
|
||||||
{
|
|
||||||
padding: 8px 0px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: relative;
|
|
||||||
z-index: 10;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .bannerStrip .announceIcon {
|
|
||||||
display: inline-flex;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .bannerStrip .announceIcon img {
|
|
||||||
margin-top: 4px;
|
|
||||||
margin-right: 16px;
|
|
||||||
width: 32px;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .displayFlex a:hover, .bannerStripWrapper .displayFlex a:focus {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .closeBanner {
|
|
||||||
cursor: pointer;
|
|
||||||
text-align: right;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
z-index: 11;
|
|
||||||
margin-left: auto;
|
|
||||||
width: 40px;
|
|
||||||
height: 40px;
|
|
||||||
border-radius: 50%;
|
|
||||||
background-color: rgba(61,27,183,.8);
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .closeBanner img {
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .bannerStrip .bodyTextSmall
|
|
||||||
{
|
|
||||||
font-family: Poppins;
|
|
||||||
text-align: left;
|
|
||||||
padding-top: 0;
|
|
||||||
letter-spacing: normal;
|
|
||||||
font-weight: 600;
|
|
||||||
display: inline-block;
|
|
||||||
line-height: 17px;
|
|
||||||
color: #fff;
|
|
||||||
padding-bottom: 0;
|
|
||||||
padding-right: 10px;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .bannerStrip .bodyTextSmall .fontNormal {
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .bannerStrip .bodyTextSmall .mLeft15 {
|
|
||||||
margin-left: 15px;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .bannerStrip .bodyTextSmall .underLine {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
.content_inner_wrapper {
|
.content_inner_wrapper {
|
||||||
width: 75% !important;
|
width: 75% !important;
|
||||||
/* height: 100vh; */
|
/* height: 100vh; */
|
||||||
@ -1121,21 +1033,6 @@ article ol ol {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (min-width: 768px) and (max-width: 1385px) {
|
@media (min-width: 768px) and (max-width: 1385px) {
|
||||||
.bannerStripWrapper {
|
|
||||||
/* padding-left: 4vw; */
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .bannerStrip .bodyTextSmall {
|
|
||||||
line-height: 21px;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .bannerStripImg {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .bannerStrip .displayFlex {
|
|
||||||
justify-content: flex-start;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .closeBanner {
|
|
||||||
right: 0;
|
|
||||||
}
|
|
||||||
#mc_embed_signup form {
|
#mc_embed_signup form {
|
||||||
padding-top: 10px !important;
|
padding-top: 10px !important;
|
||||||
}
|
}
|
||||||
@ -1152,27 +1049,6 @@ article ol ol {
|
|||||||
}
|
}
|
||||||
/*** Mobile overrides ***/
|
/*** Mobile overrides ***/
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
.bannerStripWrapper {
|
|
||||||
max-height: none;
|
|
||||||
padding: 0 0px;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .bannerStrip {
|
|
||||||
padding-left: 0px;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .bannerStrip .bodyTextSmall {
|
|
||||||
padding-left: 8px;
|
|
||||||
line-height: 120%;
|
|
||||||
font-size: 15px;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .bannerStripImg {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .bannerStrip .bodyTextSmall {
|
|
||||||
padding-left: 0;
|
|
||||||
}
|
|
||||||
.bannerStripWrapper .bannerStrip .bodyTextSmall .mLeft15 {
|
|
||||||
margin-left: 5px;
|
|
||||||
}
|
|
||||||
#sidebar {
|
#sidebar {
|
||||||
top: 170px;
|
top: 170px;
|
||||||
height: calc(100% - 170px);
|
height: calc(100% - 170px);
|
||||||
|
26
docs/_theme/djangodocs/layout.html
vendored
26
docs/_theme/djangodocs/layout.html
vendored
@ -29,32 +29,6 @@
|
|||||||
<div id="custom-doc" class="{% block bodyclass %}{{ 'yui-t6' if not is_landing_page else '' }}{% endblock %}">
|
<div id="custom-doc" class="{% block bodyclass %}{{ 'yui-t6' if not is_landing_page else '' }}{% endblock %}">
|
||||||
<div class="main_container_wrapper">
|
<div class="main_container_wrapper">
|
||||||
{% include 'pages/loading.html' %}
|
{% include 'pages/loading.html' %}
|
||||||
<div id="banner" class="bannerStripWrapper hide">
|
|
||||||
<div class='bannerInnerWrapper displayFlex'>
|
|
||||||
<a
|
|
||||||
href="https://hasura.io/events/hasura-con-2020/"
|
|
||||||
target="_blank"
|
|
||||||
rel="noreferrer noopener"
|
|
||||||
>
|
|
||||||
<div class="bannerStrip">
|
|
||||||
<div class="displayFlex noPadd">
|
|
||||||
<div class="announceIcon">
|
|
||||||
<img src="{{ pathto('_images/layout/hasura-con.svg', 1) }}" alt="Hasura con 2020"/>
|
|
||||||
</div>
|
|
||||||
<div class="bodyTextSmall">
|
|
||||||
Hasura Con: <span class='fontNormal'>Our free online conference on pushing the boundaries of GraphQL<span class='mLeft15'>·</span></span><span class='underLine mLeft15'>Register now</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
<div id="banner-close" class="closeBanner">
|
|
||||||
<img src="{{ pathto('_images/layout/close.svg', 1) }}" alt="Close" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class='bannerStripImg'>
|
|
||||||
<img src="{{ pathto('_images/layout/stripe.png', 1) }}" alt='stripe' />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<header
|
<header
|
||||||
id="header"
|
id="header"
|
||||||
class='blueBgColor boderBottom'
|
class='blueBgColor boderBottom'
|
||||||
|
@ -97,7 +97,7 @@
|
|||||||
"firewallRuleName": "allow-all-azure-firewall-rule",
|
"firewallRuleName": "allow-all-azure-firewall-rule",
|
||||||
"containerGroupName": "[concat(parameters('name'), '-container-group')]",
|
"containerGroupName": "[concat(parameters('name'), '-container-group')]",
|
||||||
"containerName": "hasura-graphql-engine",
|
"containerName": "hasura-graphql-engine",
|
||||||
"containerImage": "hasura/graphql-engine:v1.3.0-beta.2"
|
"containerImage": "hasura/graphql-engine:v1.3.0-beta.3"
|
||||||
},
|
},
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
"dbName": "[parameters('postgresDatabaseName')]",
|
"dbName": "[parameters('postgresDatabaseName')]",
|
||||||
"containerGroupName": "[concat(parameters('name'), '-container-group')]",
|
"containerGroupName": "[concat(parameters('name'), '-container-group')]",
|
||||||
"containerName": "hasura-graphql-engine",
|
"containerName": "hasura-graphql-engine",
|
||||||
"containerImage": "hasura/graphql-engine:v1.3.0-beta.2"
|
"containerImage": "hasura/graphql-engine:v1.3.0-beta.3"
|
||||||
},
|
},
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
|
@ -8,7 +8,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: postgrespassword
|
POSTGRES_PASSWORD: postgrespassword
|
||||||
graphql-engine:
|
graphql-engine:
|
||||||
image: hasura/graphql-engine:v1.3.0-beta.2
|
image: hasura/graphql-engine:v1.3.0-beta.3
|
||||||
depends_on:
|
depends_on:
|
||||||
- "postgres"
|
- "postgres"
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -19,7 +19,7 @@ services:
|
|||||||
PGADMIN_DEFAULT_EMAIL: pgadmin@example.com
|
PGADMIN_DEFAULT_EMAIL: pgadmin@example.com
|
||||||
PGADMIN_DEFAULT_PASSWORD: admin
|
PGADMIN_DEFAULT_PASSWORD: admin
|
||||||
graphql-engine:
|
graphql-engine:
|
||||||
image: hasura/graphql-engine:v1.3.0-beta.2
|
image: hasura/graphql-engine:v1.3.0-beta.3
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -8,7 +8,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: postgrespassword
|
POSTGRES_PASSWORD: postgrespassword
|
||||||
graphql-engine:
|
graphql-engine:
|
||||||
image: hasura/graphql-engine:v1.3.0-beta.2
|
image: hasura/graphql-engine:v1.3.0-beta.3
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -8,7 +8,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: postgrespassword
|
POSTGRES_PASSWORD: postgrespassword
|
||||||
graphql-engine:
|
graphql-engine:
|
||||||
image: hasura/graphql-engine:v1.3.0-beta.2
|
image: hasura/graphql-engine:v1.3.0-beta.3
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -3,4 +3,4 @@ docker run -d -p 8080:8080 \
|
|||||||
-e HASURA_GRAPHQL_DATABASE_URL=postgres://username:password@hostname:port/dbname \
|
-e HASURA_GRAPHQL_DATABASE_URL=postgres://username:password@hostname:port/dbname \
|
||||||
-e HASURA_GRAPHQL_ENABLE_CONSOLE=true \
|
-e HASURA_GRAPHQL_ENABLE_CONSOLE=true \
|
||||||
-e HASURA_GRAPHQL_DEV_MODE=true \
|
-e HASURA_GRAPHQL_DEV_MODE=true \
|
||||||
hasura/graphql-engine:v1.3.0-beta.2
|
hasura/graphql-engine:v1.3.0-beta.3
|
||||||
|
@ -16,7 +16,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: graphql-engine
|
- name: graphql-engine
|
||||||
image: hasura/graphql-engine:v1.3.0-beta.2
|
image: hasura/graphql-engine:v1.3.0-beta.3
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
|
@ -18,7 +18,7 @@ spec:
|
|||||||
app: hasura
|
app: hasura
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: hasura/graphql-engine:v1.3.0-beta.2
|
- image: hasura/graphql-engine:v1.3.0-beta.3
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: hasura
|
name: hasura
|
||||||
env:
|
env:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM hasura/graphql-engine:v1.3.0-beta.2
|
FROM hasura/graphql-engine:v1.3.0-beta.3
|
||||||
|
|
||||||
# set an env var to let the cli know that
|
# set an env var to let the cli know that
|
||||||
# it is running in server environment
|
# it is running in server environment
|
||||||
|
@ -2,7 +2,7 @@ FROM hasura/haskell-docker-packager:20190731 as packager
|
|||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
RUN apt-get update && apt-get download libstdc++6
|
RUN apt-get update && apt-get download libstdc++6
|
||||||
|
|
||||||
FROM hasura/graphql-engine:v1.3.0-beta.2
|
FROM hasura/graphql-engine:v1.3.0-beta.3
|
||||||
|
|
||||||
# install libstdc++6 from .deb file
|
# install libstdc++6 from .deb file
|
||||||
COPY --from=packager /tmp/libstdc++6* .
|
COPY --from=packager /tmp/libstdc++6* .
|
||||||
|
@ -25,3 +25,4 @@ v1.2.1 34
|
|||||||
v1.2.2 34
|
v1.2.2 34
|
||||||
v1.3.0-beta.1 36
|
v1.3.0-beta.1 36
|
||||||
v1.3.0-beta.2 36
|
v1.3.0-beta.2 36
|
||||||
|
v1.3.0-beta.3 36
|
||||||
|
Loading…
Reference in New Issue
Block a user