104 Commits

Author SHA1 Message Date
daabb4024c
fix(webapp): invalidate cache (#8763)
* invalidate cache by attaching the ocelot version in the js chuck filenames

* petter adjust js chunk name to the nuxt default, also attach version to css files
2025-08-04 16:16:01 +00:00
Max
2a54dc9664
Build source maps (#8695)
Builds source maps, so we can debug our frontend code on stage and production.
2025-06-25 13:24:46 +02:00
Max
ba0cc147e7
fix(webapp): fix admin badges settings (#8438)
* Remove proxy from nuxt.config, instead add proxy filter

* Show message when there are no badges
2025-04-26 17:25:27 +00:00
Wolfgang Huß
e58efb1ce0
refactor(webapp): refactor branding diverse v2 (#8427)
* Set new 'config.resolve.alias'

* Set new alias 'compilerOptions.paths'
2025-04-23 13:56:17 +02:00
Max
c090db3866
feat(webapp): badges admin settings (#8401)
Adds a link to badges settings in the user table, where admins can set the available badges.
2025-04-22 17:28:51 +00:00
Wolfgang Huß
a31274c793
refactor(webapp): refactor branding of post ribbons and chat etc. (#8395)
* Refactor branding of post ribbons

* Refactor chat to be more brandable

* Refine avatar menu logout item to have danger color

* Change login menu item color to '$text-color-link'
2025-04-17 17:48:59 +02:00
01027e42cc
feat(webapp): track online status (#8312)
* client

* backend

* tests

* also save awaySince timestamp

* remove console.log
2025-04-03 17:19:53 +02:00
Robert Schäfer
628b57aa29
feat(other): major improvement of deployment (#7925)
* feat(other): major improvement of deployment

Motivation
----------

Kubernetes:
* backend becomes a statefulset (exclusive volume mount)
  See: https://spacelift.io/blog/statefulset-vs-deployment
* implement neo4j backup with job

Docker:
* consistent targets across all dockerfiles
* remove redundant labels
* remove unnecessary build args
* remove obsolete networks
* remove development dependencies for production

Rebranding:
* add image tags for local tagging and pulling
* use Github's docker build workflows
* use Github container registry
* ONBUILD to simplify caller Dockerfiles
* docker compose for branding

Tooling:
* same node --version as in dockerfile

Docs:
* missing step in README.md

* refactor: remove submodules

It's better to keep them all in a separate repository

* improve kubernetes chart

* better image tag defaults
* split neo4j into its own chart (for re-use)
* use application defaults where possible

* optional resources for all pods

* remove obsolete key/value pair from secrets

* remove obsolete build argsand

and add labels for neo4j enterprise

* env vars for webapp

* allow to define redirect domains

Define a list of Domains that redirect to the domain of the project. The
idea is to provide the ability to redirect eg. www.domain.tld to
domain.tld

* remove maintenance part regarding database

* move backup job outside template folder

* name the ingress

* updated ingress

* handle empty case of middlewares

* try to default the ingress

* use quote

* restore todo-next-update

* fix docu check

* fix naming

* try using prod:migrate

* try using override config

* copy src folder

* try using base as image instead of build

* fix test build

* force build

* comment for the problem

* fix webapp tests (potentially)

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-02-28 18:22:23 +01:00
mahula
09498bc4e5 adapt nuxt config to use hoisting @use imports 2024-10-27 11:06:10 +01:00
Markus
9cca4c9e6f [feature] changed chat style export so rebranding is also working for chat 2023-07-13 11:00:44 +02:00
Markus
708c769a3b added chat code as plugin for client rendering 2023-07-04 21:42:14 +02:00
ogerly
0f7312d21b vue-advanced-chat implemented and game page set up 2023-06-15 15:54:34 +02:00
Wolfgang Huß
60e4ff28a7 Remove comment why 'viewport' has to be changed 2023-03-14 07:39:25 +01:00
Wolfgang Huß
eb9daebe52 Change 'viewport' on maintenance page as well and add comment 2023-03-09 20:13:56 +01:00
Wolfgang Huß
b9d5fe449e Fix 'viewport' 'width=device-width' by removing it, because it does not work correctly for Safari on iOS 2023-03-09 14:35:02 +01:00
9a3f88ca80
lint fix 2023-01-04 13:34:59 +01:00
be41815b1a
working prototype v-mapbox 2023-01-04 13:32:05 +01:00
ogerly
58e48cfe77 rebrand in config for scss and styleguide 2022-09-21 12:09:35 +02:00
Wolfgang Huß
d0985ca804 Add comment for 'sameSite' cookie option 2022-01-20 18:16:15 +01:00
Wolfgang Huß
81ffed4758 Add 'sameSite' option to login cookie 2022-01-20 13:43:49 +01:00
Wolfgang Huß
0b1bdc495f Implement configuration of internal pages 2021-07-29 16:54:20 +02:00
Wolfgang Huß
3b214c9db9 Implement HTML internal support and organization pages 2021-07-20 11:34:01 +02:00
Wolfgang Huß
c3a5efcc72 Fix error for not viewing FAQs page without login 2021-07-20 10:14:15 +02:00
Wolfgang Huß
4c8fb83dcd Refactor use of .env variables after Moriz suggestions 2021-03-19 13:23:15 +01:00
Wolfgang Huß
dd6adc6ac4 Fix redirect to signup goes to registration
- Cleanup.
2021-03-15 08:05:15 +01:00
Wolfgang Huß
eebacab7ea Implement registration with slider, first step 2021-03-01 18:08:40 +01:00
Moriz Wahl
ae61baadfb add plugin vue-observe-visibility 2021-03-01 15:24:38 +01:00
e37d9f34bc
- lint fixes 2021-01-29 20:48:12 +01:00
9bf90bc880
- make cookie time configurable (default: 2 years)
- make cookie https setting configurable (default true in production)
- ensure cookie is set to `path: /` to fix redirect problem
2021-01-29 20:45:54 +01:00
a6bd42856a
- fixed config import
- default for STYLEGUIDE_DEV config
2021-01-28 17:47:55 +01:00
7d66431049
introduced config file for webapp 2021-01-28 17:47:55 +01:00
Moriz Wahl
43852a5f26 name of cookie is set by metadata.js 2020-12-21 13:41:42 +01:00
Moriz Wahl
5cfb73572e further rebranding 2020-11-16 09:43:15 +01:00
roschaefer
906ab2d790 Parameterize page titles 2020-06-16 14:31:29 +02:00
roschaefer
77b031083e Make four static pages
* imprint
* data privacy
* terms of service
* code of conduct
2020-06-15 14:08:45 +02:00
roschaefer
4a910664eb Parameterize entire html of terms+conditions 2020-06-14 17:57:40 +02:00
roschaefer
37b3014ac7 Parameterize manifest 2020-06-05 17:37:16 +02:00
roschaefer
276ea79e8f Update prettier to v2 2020-03-24 21:11:11 +01:00
roschaefer
2e19cf6592 fix(nuxt-env): Configuration issue with websockets
After some intensive debugging I found out that `req` (on the server)
and `nuxtState` (on the client) have access to the configurations
changed at runtime.

How did I debug it:
```
yarn run build
env WEBSOCKET_URI=whatever yarn run start
```
I also put a `console.log` into `plugins/apollo-client.js`.
2020-02-17 23:30:50 +01:00
roschaefer
4631db0a1b feat(webapp): Display deployed version in footer
Remove VERSION file in favour of version entry in `package.json`. Parse
this version in our build server scripts.

This commit also introduces `standard-version` which we can use to
generate our `CHANGELOG.md` with `yarn run release`.

close #1831
2020-01-16 19:24:55 +01:00
Alina Beck
56b1a74e64 let eslint do some magic 2019-12-19 12:53:38 +05:30
Alina Beck
c83f158ca4 Merge branch 'master' into migrate-styleguide-buttons 2019-12-18 12:59:23 +05:30
mattwr18
bcf602fe77 Use more verbose naming
- Co-authored-by: Alina Beck <alina.beck@mail.com>
2019-12-10 14:08:13 +01:00
mattwr18
27a2ccd9ae Merge branch 'master' of github.com:Human-Connection/Human-Connection into remove-data-test-attributes-in-production 2019-12-10 13:31:10 +01:00
Alina Beck
8f70ce5b31 set up css resets 2019-12-10 13:17:04 +03:00
Alina Beck
f20531ece3 use babel-loader with vue-svg-loader 2019-12-05 13:59:06 +03:00
mattwr18
58835947ad Remove data-test attriubutes in non-dev env 2019-12-04 11:56:52 +01:00
Alina Beck
a210dd599d Merge branch 'master' into migrate-styleguide-icons 2019-11-20 19:35:03 +03:00
Alina Beck
0727c3314d move styles from view folder to assets 2019-11-20 16:13:07 +03:00
mattwr18
a6c169c2e0 Fix infinite scrolling out of control 2019-11-15 14:35:08 +01:00