diff --git a/backend/src/db/migrate/store.js b/backend/src/db/migrate/store.js index 57a317b47..ac762647b 100644 --- a/backend/src/db/migrate/store.js +++ b/backend/src/db/migrate/store.js @@ -85,7 +85,7 @@ class Store { await createDefaultAdminUser(session) if (CONFIG.CATEGORIES_ACTIVE) await createCategories(session) const writeTxResultPromise = session.writeTransaction(async (txc) => { - await txc.run('CALL apoc.schema.assert({},{},true)') // drop all indices and contraints + await txc.run('CALL apoc.schema.assert({},{},true)') // drop all indices and constraints return Promise.all( [ 'CALL db.index.fulltext.createNodeIndex("user_fulltext_search",["User"],["name", "slug"])', diff --git a/docker-compose.maintenance.yml b/docker-compose.maintenance.yml index 831bb3f4a..b006713ec 100644 --- a/docker-compose.maintenance.yml +++ b/docker-compose.maintenance.yml @@ -20,7 +20,6 @@ services: - GRAPHQL_URI=http://localhost:4000 - CLIENT_URI=http://localhost:3000 - JWT_SECRET=b/&&7b78BF&fv/Vd - - MAPBOX_TOKEN=pk.eyJ1IjoiYnVzZmFrdG9yIiwiYSI6ImNraDNiM3JxcDBhaWQydG1uczhpZWtpOW4ifQ.7TNRTO-o9aK1Y6MyW_Nd4g - PRIVATE_KEY_PASSPHRASE=a7dsf78sadg87ad87sfagsadg78 - NEO4J_apoc_import_file_enabled=true - "SSH_USERNAME=${SSH_USERNAME}" diff --git a/neo4j/README.md b/neo4j/README.md index f2b26d551..885f7f445 100644 --- a/neo4j/README.md +++ b/neo4j/README.md @@ -98,22 +98,22 @@ On a server with Kubernetes cluster: $ kubectl -n default exec -it $(kubectl -n default get pods | grep ocelot-backend | awk '{ print $1 }') -- /bin/sh -c "yarn prod:migrate init" ``` -***Cypher commands to show indexes and contraints*** +***Cypher commands to show indexes and constraints*** ```bash # in browser command line or cypher shell -# show all indexes and contraints +# show all indexes and constraints $ :schema # show all indexes $ CALL db.indexes(); -# show all contraints +# show all constraints $ CALL db.constraints(); ``` -***Cypher commands to create and drop indexes and contraints*** +***Cypher commands to create and drop indexes and constraints*** ```bash # in browser command line or cypher shell @@ -126,6 +126,6 @@ $ CALL db.index.fulltext.createNodeIndex("tag_fulltext_search",["Tag"],["id"]); # drop an index $ DROP CONSTRAINT ON ( image:Image ) ASSERT image.url IS UNIQUE -# drop all indexes and contraints +# drop all indexes and constraints $ CALL apoc.schema.assert({},{},true) YIELD label, key RETURN * ; ``` diff --git a/webapp/.env.template b/webapp/.env.template index 9776fcea2..76bc502f9 100644 --- a/webapp/.env.template +++ b/webapp/.env.template @@ -1,7 +1,8 @@ SENTRY_DSN_WEBAPP= COMMIT= -PUBLIC_REGISTRATION=false -INVITE_REGISTRATION=true WEBSOCKETS_URI=ws://localhost:3000/api/graphql GRAPHQL_URI=http://localhost:4000/ +MAPBOX_TOKEN="pk.eyJ1IjoiYnVzZmFrdG9yIiwiYSI6ImNraDNiM3JxcDBhaWQydG1uczhpZWtpOW4ifQ.7TNRTO-o9aK1Y6MyW_Nd4g" +PUBLIC_REGISTRATION=false +INVITE_REGISTRATION=true CATEGORIES_ACTIVE=false diff --git a/webapp/assets/_new/icons/svgs/globe-detailed.svg b/webapp/assets/_new/icons/svgs/globe-detailed.svg new file mode 100644 index 000000000..64b5b1573 --- /dev/null +++ b/webapp/assets/_new/icons/svgs/globe-detailed.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webapp/assets/_new/styles/tokens.scss b/webapp/assets/_new/styles/tokens.scss index 180f9c820..770a1a9c9 100644 --- a/webapp/assets/_new/styles/tokens.scss +++ b/webapp/assets/_new/styles/tokens.scss @@ -3,28 +3,28 @@ * @presenter Color */ - $color-primary: rgb(23, 181, 63); - $color-primary-light: rgb(96, 214, 98); - $color-primary-dark: rgb(25, 122, 49); - $color-primary-active: rgb(25, 194, 67); - $color-primary-inverse: rgb(241, 253, 244); - $color-secondary: rgb(0, 142, 230); - $color-secondary-active: rgb(10, 161, 255); - $color-secondary-inverse: rgb(240, 249, 255); - $color-success: rgb(23, 181, 63); - $color-success-active: rgb(26, 203, 71); - $color-success-inverse: rgb(241, 253, 244); - $color-danger: rgb(219, 57, 36); - $color-danger-light: rgb(242, 97, 65); - $color-danger-dark: rgb(158, 43, 28); - $color-danger-active: rgb(224, 81, 62); - $color-danger-inverse: rgb(253, 243, 242); - $color-warning: rgb(230, 121, 25); - $color-warning-active: rgb(233, 137, 53); - $color-warning-inverse: rgb(253, 247, 241); - $color-yellow: rgb(245, 196, 0); - $color-yellow-active: rgb(255, 206, 10); - $color-yellow-inverse: rgb(255, 252, 240); +$color-primary: rgb(23, 181, 63); +$color-primary-light: rgb(96, 214, 98); +$color-primary-dark: rgb(25, 122, 49); +$color-primary-active: rgb(25, 194, 67); +$color-primary-inverse: rgb(241, 253, 244); +$color-secondary: rgb(0, 142, 230); +$color-secondary-active: rgb(10, 161, 255); +$color-secondary-inverse: rgb(240, 249, 255); +$color-success: rgb(23, 181, 63); +$color-success-active: rgb(26, 203, 71); +$color-success-inverse: rgb(241, 253, 244); +$color-danger: rgb(219, 57, 36); +$color-danger-light: rgb(242, 97, 65); +$color-danger-dark: rgb(158, 43, 28); +$color-danger-active: rgb(224, 81, 62); +$color-danger-inverse: rgb(253, 243, 242); +$color-warning: rgb(230, 121, 25); +$color-warning-active: rgb(233, 137, 53); +$color-warning-inverse: rgb(253, 247, 241); +$color-yellow: rgb(245, 196, 0); +$color-yellow-active: rgb(255, 206, 10); +$color-yellow-inverse: rgb(255, 252, 240); /** * @tokens Color Neutral diff --git a/webapp/components/Group/GroupButton.vue b/webapp/components/Group/GroupButton.vue index db72467ef..10275dcca 100644 --- a/webapp/components/Group/GroupButton.vue +++ b/webapp/components/Group/GroupButton.vue @@ -1,5 +1,19 @@ + + diff --git a/webapp/components/Group/GroupForm.vue b/webapp/components/Group/GroupForm.vue index 94ff000dc..cb407a3d9 100644 --- a/webapp/components/Group/GroupForm.vue +++ b/webapp/components/Group/GroupForm.vue @@ -142,6 +142,9 @@ style="position: relative; display: inline-block; right: -96%; top: -33px; width: 26px" @click="formData.locationName = ''" > + + {{ $t('settings.data.labelCityHint') }} + @@ -436,5 +439,9 @@ export default { align-self: flex-end; margin-top: $space-base; } + + > .location-hint { + margin-top: -$space-base + $space-xxx-small; + } } diff --git a/webapp/components/HeaderMenu/HeaderMenu.vue b/webapp/components/HeaderMenu/HeaderMenu.vue index 7f24eeb81..fcec15850 100644 --- a/webapp/components/HeaderMenu/HeaderMenu.vue +++ b/webapp/components/HeaderMenu/HeaderMenu.vue @@ -20,7 +20,7 @@ - + - - + - + + - +