Starting rebranding to ocelot.social

This commit is contained in:
Moriz Wahl 2020-11-10 12:08:44 +01:00
parent bd962bbfcc
commit ecb0bb3766
37 changed files with 54 additions and 52 deletions

View File

@ -4,7 +4,7 @@ EXPOSE 4000
CMD ["yarn", "run", "start"] CMD ["yarn", "run", "start"]
ARG BUILD_COMMIT ARG BUILD_COMMIT
ENV BUILD_COMMIT=$BUILD_COMMIT ENV BUILD_COMMIT=$BUILD_COMMIT
ARG WORKDIR=/backend ARG WORKDIR=/develop-backend
RUN mkdir -p $WORKDIR RUN mkdir -p $WORKDIR
WORKDIR $WORKDIR WORKDIR $WORKDIR
@ -21,7 +21,7 @@ RUN NODE_ENV=production yarn run build
# reduce image size with a multistage build # reduce image size with a multistage build
FROM base as production FROM base as production
ENV NODE_ENV=production ENV NODE_ENV=production
COPY --from=build-and-test /backend/dist ./dist COPY --from=build-and-test /develop-backend/dist ./dist
COPY ./public/img/ ./public/img/ COPY ./public/img/ ./public/img/
COPY ./public/providers.json ./public/providers.json COPY ./public/providers.json ./public/providers.json
RUN yarn install --production=true --frozen-lockfile --non-interactive --no-cache RUN yarn install --production=true --frozen-lockfile --non-interactive --no-cache

View File

@ -1,6 +1,6 @@
export default { export default {
ORGANIZATION: 'https://human-connection.org/', ORGANIZATION: 'https://ocelot-social.herokuapp.com/',
DONATE: 'https://human-connection.org/spenden/', DONATE: 'https://www.busfaktor.org/donations',
FAQ: 'https://faq.human-connection.org/', FAQ: 'https://ocelot-social.herokuapp.com/',
SUPPORT: 'https://human-connection.org/support' SUPPORT: 'https://ocelot-social.herokuapp.com/',
} }

View File

@ -1,7 +1,7 @@
export default { export default {
APPLICATION_NAME: 'fyphe_O', APPLICATION_NAME: 'ocelot.social',
APPLICATION_SHORT_NAME: 'fyphe', APPLICATION_SHORT_NAME: 'ocelot',
APPLICATION_DESCRIPTION: 'The Schools in Motion Network', APPLICATION_DESCRIPTION: 'Ocelot Social Network',
ORGANIZATION_NAME: 'Ensible e.V.', ORGANIZATION_NAME: 'busFaktor() e.V.',
ORGANIZATION_JURISDICTION: 'Köln', ORGANIZATION_JURISDICTION: 'Augsburg',
} }

View File

@ -9,7 +9,7 @@ const welcomeImageUrl = new URL(`/img/custom/welcome.svg`, CONFIG.CLIENT_URI)
const defaultParams = { const defaultParams = {
supportUrl: CONFIG.SUPPORT_URL, supportUrl: CONFIG.SUPPORT_URL,
APPLICATION_NAME: CONFIG.APPLICATION_NAME, APPLICATION_NAME: CONFIG.APPLICATION_NAME,
welcomeImageUrl welcomeImageUrl,
} }
export const signupTemplate = ({ email, nonce }) => { export const signupTemplate = ({ email, nonce }) => {
@ -76,7 +76,7 @@ export const wrongAccountTemplate = ({ email }) => {
subject, subject,
html: mustache.render( html: mustache.render(
templates.layout, templates.layout,
{ actionUrl, supportUrl, welcomeImageUrl }, { actionUrl, supportUrl: CONFIG.SUPPORT_URL, welcomeImageUrl },
{ content: templates.wrongAccount }, { content: templates.wrongAccount },
), ),
} }

View File

@ -44,7 +44,7 @@ spec:
terminationMessagePath: /dev/termination-log terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File terminationMessagePolicy: File
volumeMounts: volumeMounts:
- mountPath: /backend/public/uploads - mountPath: /develop-backend/public/uploads
name: uploads name: uploads
dnsPolicy: ClusterFirst dnsPolicy: ClusterFirst
restartPolicy: Always restartPolicy: Always

View File

@ -45,7 +45,7 @@ services:
- MAPBOX_TOKEN=pk.eyJ1IjoiaHVtYW4tY29ubmVjdGlvbiIsImEiOiJjajl0cnBubGoweTVlM3VwZ2lzNTNud3ZtIn0.KZ8KK9l70omjXbEkkbHGsQ - MAPBOX_TOKEN=pk.eyJ1IjoiaHVtYW4tY29ubmVjdGlvbiIsImEiOiJjajl0cnBubGoweTVlM3VwZ2lzNTNud3ZtIn0.KZ8KK9l70omjXbEkkbHGsQ
- PRIVATE_KEY_PASSPHRASE=a7dsf78sadg87ad87sfagsadg78 - PRIVATE_KEY_PASSPHRASE=a7dsf78sadg87ad87sfagsadg78
- "DEBUG=${DEBUG}" - "DEBUG=${DEBUG}"
- EMAIL_DEFAULT_SENDER=info@human-connection.org - EMAIL_DEFAULT_SENDER=devops@ocelot.social
neo4j: neo4j:
image: ocelotsocialnetwork/develop-neo4j:latest image: ocelotsocialnetwork/develop-neo4j:latest
build: build:

View File

@ -24,6 +24,14 @@
<div v-if="formData.image" class="blur-toggle"> <div v-if="formData.image" class="blur-toggle">
<label for="blur-img">{{ $t('contribution.inappropriatePicture') }}</label> <label for="blur-img">{{ $t('contribution.inappropriatePicture') }}</label>
<input type="checkbox" id="blur-img" v-model="formData.imageBlurred" /> <input type="checkbox" id="blur-img" v-model="formData.imageBlurred" />
<a
href="https://support.human-connection.org/kb/faq.php?id=113"
target="_blank"
class="link"
>
{{ $t('contribution.inappropriatePictureText') }}
<base-icon name="question-circle" />
</a>
</div> </div>
<ds-input <ds-input
model="title" model="title"

View File

@ -1,17 +1,7 @@
<template> <template>
<component <component :is="tag" class="ds-logo" :class="[inverse && 'ds-logo-inverse']">
:is="tag" <svg-logo v-if="!inverse" class="ds-logo-svg" />
class="ds-logo" <svg-logo-inverse v-else class="ds-logo-svg" />
:class="[inverse && 'ds-logo-inverse']"
>
<svg-logo
v-if="!inverse"
class="ds-logo-svg"
/>
<svg-logo-inverse
v-else
class="ds-logo-svg"
/>
</component> </component>
</template> </template>
@ -26,7 +16,7 @@ export default {
name: 'Logo', name: 'Logo',
components: { components: {
svgLogo, svgLogo,
svgLogoInverse svgLogoInverse,
}, },
props: { props: {
/** /**
@ -34,16 +24,16 @@ export default {
*/ */
inverse: { inverse: {
type: Boolean, type: Boolean,
default: false default: false,
}, },
/** /**
* The html element name used for the logo. * The html element name used for the logo.
*/ */
tag: { tag: {
type: String, type: String,
default: 'div' default: 'div',
} },
} },
} }
</script> </script>

View File

@ -8,7 +8,11 @@
@submit="handleSubmit" @submit="handleSubmit"
> >
<h1> <h1>
{{ invitation ? $t('profile.invites.title', metadata) : $t('components.registration.signup.title', metadata) }} {{
invitation
? $t('profile.invites.title', metadata)
: $t('components.registration.signup.title', metadata)
}}
</h1> </h1>
<ds-space v-if="token" margin-botton="large"> <ds-space v-if="token" margin-botton="large">
<ds-text v-html="$t('registration.signup.form.invitation-code', { code: token })" /> <ds-text v-html="$t('registration.signup.form.invitation-code', { code: token })" />

View File

@ -1,4 +1,4 @@
export default { export default {
SUPPORT: 'support@human-connection.org', SUPPORT: 'devops@ocelot.social',
MODERATION: 'moderation@human-connection.org', MODERATION: 'devops@ocelot.social',
} }

View File

@ -1,6 +1,6 @@
export default { export default {
ORGANIZATION: 'https://human-connection.org/', ORGANIZATION: 'https://www.busfaktor.org',
DONATE: 'https://human-connection.org/spenden/', DONATE: 'https://www.busfaktor.org/donations',
FAQ: 'https://faq.human-connection.org/', FAQ: 'https://ocelot-social.herokuapp.com',
SUPPORT: 'https://human-connection.org/support', SUPPORT: 'https://ocelot-social.herokuapp.com',
} }

View File

@ -1,7 +1,7 @@
export default { export default {
APPLICATION_NAME: 'fyphe_O', APPLICATION_NAME: 'ocelot.social',
APPLICATION_SHORT_NAME: 'fyphe', APPLICATION_SHORT_NAME: 'ocelot',
APPLICATION_DESCRIPTION: 'The Schools in Motion Network', APPLICATION_DESCRIPTION: 'Ocelot Social Network',
ORGANIZATION_NAME: 'Ensible e.V.', ORGANIZATION_NAME: 'buusFaktor() e.V.',
ORGANIZATION_JURISDICTION: 'Köln', ORGANIZATION_JURISDICTION: 'Augsburg',
} }

View File

@ -6,7 +6,7 @@
<ds-flex-item width="5.5%" /> <ds-flex-item width="5.5%" />
<ds-flex-item style="flex-grow: 1;" width="20%"> <ds-flex-item style="flex-grow: 1;" width="20%">
<a @click="redirectToRoot"> <a @click="redirectToRoot">
<Logo /> <logo />
</a> </a>
</ds-flex-item> </ds-flex-item>
<ds-flex-item width="20%" style="flex-grow: 0;"> <ds-flex-item width="20%" style="flex-grow: 0;">

View File

@ -6,7 +6,7 @@
<ds-flex class="main-navigation-flex"> <ds-flex class="main-navigation-flex">
<ds-flex-item :width="{ base: '142px' }"> <ds-flex-item :width="{ base: '142px' }">
<nuxt-link :to="{ name: 'index' }" v-scroll-to="'.main-navigation'"> <nuxt-link :to="{ name: 'index' }" v-scroll-to="'.main-navigation'">
<Logo /> <logo />
</nuxt-link> </nuxt-link>
</ds-flex-item> </ds-flex-item>
<ds-flex-item <ds-flex-item

View File

@ -1 +1 @@
<p1>Ich bin der Inhalt vom Verhaltenskodex</p> <p>Ich bin der Inhalt vom Verhaltenskodex</p>

View File

@ -1 +1 @@
<p1>Ich bin das Impressum</p> <p>Ich bin das Impressum</p>

View File

@ -1 +1 @@
<p1>I am the content of the code of conduct</p> <p>I am the content of the code of conduct</p>

View File

@ -57,6 +57,6 @@ export default {
loader: 'raw-loader', loader: 'raw-loader',
exclude: /(node_modules)/, exclude: /(node_modules)/,
}) })
} },
} },
} }