diff --git a/.github/workflows/publish-branded.yml b/.github/workflows/publish-branded.yml deleted file mode 100644 index 869eb6302..000000000 --- a/.github/workflows/publish-branded.yml +++ /dev/null @@ -1,79 +0,0 @@ -name: publish-branded -on: - repository_dispatch: - types: [trigger-build-success] -jobs: - build_branded: - name: Docker Build Branded - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - with: - ref: ${{ github.event.client_payload.ref }} - - name: Setup env - run: echo "OCELOT_VERSION=${{ github.event.client_payload.BUILD_VERSION }}" >> $GITHUB_ENV - - name: Build branded images - run: | - deployment/scripts/branded-images.build.sh - docker save "ocelotsocialnetwork/backend-branded" > /tmp/backend-branded.tar - docker save "ocelotsocialnetwork/webapp-branded" > /tmp/webapp-branded.tar - docker save "ocelotsocialnetwork/maintenance-branded" > /tmp/maintenance-branded.tar - - - name: Upload Artifact (Backend) - uses: actions/upload-artifact@v2 - with: - name: docker-backend-branded - path: /tmp/backend-branded.tar - - - name: Upload Artifact (Webapp) - uses: actions/upload-artifact@v2 - with: - name: docker-webapp-branded - path: /tmp/webapp-branded.tar - - - name: Upload Artifact (Maintenance) - uses: actions/upload-artifact@v2 - with: - name: docker-maintenance-branded - path: /tmp/maintenance-branded.tar - - upload_to_dockerhub: - name: Upload to Dockerhub - runs-on: ubuntu-latest - needs: [build_branded] - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} - steps: - - name: Checkout code - uses: actions/checkout@v2 - with: - ref: ${{ github.event.client_payload.ref }} - - - name: Download Docker Image (Backend) - uses: actions/download-artifact@v2 - with: - name: docker-backend-branded - path: /tmp - - name: Load Docker Image - run: docker load < /tmp/backend-branded.tar - - - name: Download Docker Image (Webapp) - uses: actions/download-artifact@v2 - with: - name: docker-webapp-branded - path: /tmp - - name: Load Docker Image - run: docker load < /tmp/webapp-branded.tar - - - name: Download Docker Image (Maintenance) - uses: actions/download-artifact@v2 - with: - name: docker-maintenance-branded - path: /tmp - - name: Load Docker Image - run: docker load < /tmp/maintenance-branded.tar - - - name: Upload to dockerhub - run: deployment/scripts/branded-images.upload.sh \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 18ff7a379..ca5e52945 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -292,18 +292,18 @@ jobs: echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV echo "BUILD_COMMIT=${GITHUB_SHA}" >> $GITHUB_ENV - run: echo "BUILD_VERSION=${VERSION}-${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV - - name: Repository Dispatch - uses: peter-evans/repository-dispatch@v2 - with: - token: ${{ github.token }} - event-type: trigger-build-success - repository: ${{ github.repository }} - client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "VERSION": "${VERSION}", "BUILD_DATE": "${BUILD_DATE}", "BUILD_COMMIT": "${BUILD_COMMIT}", "BUILD_VERSION": "${BUILD_VERSION}"}' + #- name: Repository Dispatch + # uses: peter-evans/repository-dispatch@v2 + # with: + # token: ${{ github.token }} + # event-type: trigger-ocelot-build-success + # repository: ${{ github.repository }} + # client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "VERSION": "${VERSION}", "BUILD_DATE": "${BUILD_DATE}", "BUILD_COMMIT": "${BUILD_COMMIT}", "BUILD_VERSION": "${BUILD_VERSION}"}' - name: Repository Dispatch stage.ocelot.social uses: peter-evans/repository-dispatch@v2 with: token: ${{ secrets.OCELOT_PUBLISH_EVENT_PAT }} # this token is required to access the other repository - event-type: trigger-build-success + event-type: trigger-ocelot-build-success repository: 'Ocelot-Social-Community/stage.ocelot.social' - client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "VERSION": "${VERSION}", "BUILD_DATE": "${BUILD_DATE}", "BUILD_COMMIT": "${BUILD_COMMIT}", "BUILD_VERSION": "${BUILD_VERSION}"}' \ No newline at end of file + client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "GITHUB_RUN_NUMBER": "${{ env.GITHUB_RUN_NUMBER }}", "VERSION": "${VERSION}", "BUILD_DATE": "${BUILD_DATE}", "BUILD_COMMIT": "${BUILD_COMMIT}", "BUILD_VERSION": "${BUILD_VERSION}"}' \ No newline at end of file diff --git a/.gitmodules b/.gitmodules index 24249a28e..b2aae2ea3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "styleguide"] path = styleguide url = https://github.com/Human-Connection/Nitro-Styleguide.git +[submodule "deployment/configurations/stage.ocelot.social"] + path = deployment/configurations/stage.ocelot.social + url = git@github.com:Ocelot-Social-Community/stage.ocelot.social.git diff --git a/CHANGELOG.md b/CHANGELOG.md index ac1cf7e02..361ccb183 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,141 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +#### [2.5.1](https://github.com/Ocelot-Social-Community/Ocelot-Social/compare/2.5.0...2.5.1) + +- feat(webapp): add tooltips to all menu icons [`#6185`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6185) +- fix(webapp): popup filter max-width [`#6177`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6177) +- Add tooltip to header notifications menu [`28505a5`](https://github.com/Ocelot-Social-Community/Ocelot-Social/commit/28505a5b181008ebcde6fa58b7a4a8459a492018) +- Add tooltip to header avatar menu [`4c0469f`](https://github.com/Ocelot-Social-Community/Ocelot-Social/commit/4c0469f61a3c2fae23e50c6a5a2a91b63fac149a) +- Add tooltip to locale switch menu [`26b90fc`](https://github.com/Ocelot-Social-Community/Ocelot-Social/commit/26b90fce4704e537126fd15ad950ea04e14890ba) + +#### [2.5.0](https://github.com/Ocelot-Social-Community/Ocelot-Social/compare/2.4.0...2.5.0) + +> 21 March 2023 + +- chore(other): release v2.5.0 [`#6172`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6172) +- fix(other): publish transmit github run number properly [`#6171`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6171) +- feat(other): deployment include GitHub run number on branded images [`#6170`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6170) +- fix(backend): new migration to create search indexes [`#6167`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6167) +- fix(other): prevent exposing secrets in the github actions by not setting debug mode on cluster deploy [`#6168`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6168) +- feat(other): echo current configuration when running scripts [`#6169`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6169) +- refactor(other): build & deployment of branded images on stage.ocelot.social [`#6163`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6163) +- fix(webapp): close popover notification menu [`#6166`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6166) +- fix(webapp): small buttons in notifications menu [`#6162`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6162) +- fix(webapp): revert pr `on newsfeed add bigger y-gap between posts #6121` [`#6164`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6164) +- fix(webapp): join leave button for pending members [`#6152`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6152) +- feat(backend): notifications for groups [`#6150`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6150) +- feat(webapp): add hint text to create and edit a post of a group aside of the save and abort buttons [`#6114`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6114) +- fix(other): use access token to trigger build on external repo [`#6145`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6145) +- feat(webapp): set different icon and text on join leave button, when member is pending [`#6124`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6124) +- refactor(other): deployment upgrade to specific version, trigger build on stage [`#6143`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6143) +- feat(webapp): show 2 GroupItem per row in GroupList [`#6135`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6135) +- fix(backend): do not delete migrations on db reset [`#6136`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6136) +- feat(other): deployment reseed [`#6129`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6129) +- feat(other): deployment secrets [`#6120`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6120) +- feat(webapp): refactor notification page [`#6116`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6116) +- fix(webapp): fix ribbons position [`#6130`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6130) +- fix(webapp): fix donation bar blink [`#6107`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6107) +- feat(webapp): change order of groups to new first [`#6122`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6122) +- fix(webapp): error in user profil on the 'show x more' button [`#6093`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6093) +- feat(webapp): filter button style change [`#6109`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6109) +- refactor(other): deactivate video recording & only upload screenshots, if tests fail for e2e tests [`#6125`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6125) +- fix(webapp): change icon color of active topics (categories) of post teaser [`#6112`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6112) +- docs(other): correct **/README.md [`#6059`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6059) +- fix(webapp): fix `viewport``width=device-width` by removing it [`#6110`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6110) +- feat(webapp): on newsfeed add bigger y-gap between posts [`#6121`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6121) +- Bump peter-evans/repository-dispatch from 1 to 2 [`#6117`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6117) +- fix(webapp): fix gap news feed [`#6065`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6065) +- feat(webapp): change shout icon `bullhorn` to `heart-o` [`#6115`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6115) +- refactor(webapp): change invite code button and menu to copy invite link [`#6108`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6108) +- feat(webapp): change group filter button text [`#6105`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6105) +- feat(webapp): 🍰 allows mark all notifications as read [`#3922`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/3922) +- fix(other): deploy branded - upload to dockerhub [`#6099`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6099) +- feat(webapp): remove user from group [`#6072`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6072) +- chore(other): remove apple m1 docker overrides [`#6056`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6056) +- refactor(other): ocelot publish workflows [`#6083`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6083) +- fix(other): lint pr only on pullrequest [`#6088`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6088) +- fix(other): dependabot do not rebase [`#6096`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6096) +- feat(backend): filter posts in my groups [`#6091`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6091) +- refactor(backend): withdraw mock of gql and replace with graphql-tag function [`#6022`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6022) +- docs(other): update readme.md [`#6090`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6090) +- feat(webapp): adjust and create branding possibilities [`#6063`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6063) +- fix(other): exclude dependabot from pr title linting [`#6085`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6085) +- feat(webapp): change ``Benutzer`` to ``Nutzer`` [`#6027`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6027) +- docs(webapp): change the used nvm version [`#6023`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6023) +- feat(other): backup script [`#6051`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6051) +- fix(backend): user or group has null as description [`#5996`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/5996) +- feat(other): script to set a cluster in maintenance mode [`#6042`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6042) +- feat(other): fix dependabot [`#6035`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6035) +- fix(other): fix maintenance page & maintenance build [`#6032`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6032) +- refactor(webapp): upgrade jest and vue test util [`#5968`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/5968) +- refactor(other): deployment [`#5975`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/5975) +- fix(webapp): remove additional markers from map [`#6021`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6021) +- feat(webapp): add align center to the user profile slug [`#6012`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6012) +- chore(other): update github actions for node 16 [`#5971`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/5971) +- refactor(backend): update jest [`#5964`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/5964) +- Revert "V2.3.0" [`#95`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/95) +- V2.3.0 [`#94`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/94) +- v2.3.0-281 [`#93`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/93) +- rebranding for yunite [`#26`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/26) +- feat(webapp): copy fonts from assets [`#25`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/25) +- feat(webapp): copy fonts from assets [`#92`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/92) +- chore: 🍰 Release v2.2.0-267 – Fixes And Groups Page Etc. [`#19`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/19) +- fix: 🍰 Change Hasttag Menu Search Color To `#17b53f` [`#21`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/21) +- chore: 🍰 Release v2.2.0-267 [`#90`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/90) +- Docu Updates [`#86`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/86) +- chore: 🍰 Release v2.1.0-253 – Merge Groups Into master – Epic Groups [`#12`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/12) +- chore: 🍰 Release v2.1.0-253 [`#87`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/87) +- chore: [WIP] 🍰 Release v2.0.0-250 – Groups – Configurable Header Menu Is Translatable Etc. [`#16`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/16) +- chore: 🍰 Release v2.0.0 – Groups Etc. – Extend Rebranding And Deployment [`#83`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/83) +- fix: 🍰 Fix Implementation Of Overwriting Locales [`#80`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/80) +- feat: 🍰 Merge Locales [`#77`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/77) +- chore: 🍰 Groups Release v1.1.1-231 - Show New Features [`#14`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/14) +- chore: 🍰 Release v1.1.1 – First Design Rebranding [`#10`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/10) +- chore: [WIP] 🍰 Refine Rebanding And Deployment [`#8`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/8) +- chore: 🍰 Fix Folder Name From `branding/assets/styles/import` To `branding/assets/styles/imports` [`#71`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/71) +- chore: 🍰 Release v1.1.1-228 – Refactor Rebranding [`#68`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/68) +- chore: 🍰 Release v1.1.0-205 [`#6`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6) +- chore: 🍰 Release v1.1.0-225 [`#66`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/66) +- chore: [WIP] 🍰 Refine Deployment Setup And Documentation [`#46`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/46) +- chore: [WIP] 🍰 Release v1.1.0 - Implement Categories Again [`#63`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/63) +- Update issue templates [`#3`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/3) +- chore: 🍰 Release v1.0.9-199 [`#59`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/59) +- chore: 🍰 Implement `PRODUCTION_DB_CLEAN_ALLOW` for Staging Production Environments [`#56`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/56) +- chore: 🍰 Add Docker Compose Override For Apple M1 And Docu [`#57`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/57) +- Chore: 🍰 Fix `apiVersion: cert-manager.io/v1alpha2` To `*/v1` [`#53`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/53) +- chore: 🍰 Adjust `maintenance` Container Name In Deployment With Helm [`#50`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/50) +- chore: 🍰 Release New Build Version `v1.0.8-184` [`#51`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/51) +- chore: 🍰 Rename Neo4j Docker Image In General To `neo4j-community:*` [`#49`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/49) +- feat: 🍰 Release v1.0.8 – Configure Cookie Expire Time – second run [`#44`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/44) +- feat: 🍰 Configure Cookie Expire Time [`#43`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/43) +- docs: 🍰 Add Docs For Backups, Rollbacks, And Release v1.0.7-171 [`#40`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/40) +- chore: 🍰 Realease v1.0.6-170 [`#37`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/37) +- chore: 🍰 Refactor FAQ Link To Use Internal Page Which Was Implemented Before [`#36`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/36) +- chore: 🍰 Add Branding Templates For Terms And Conditions Etc. [`#32`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/32) +- feat: 🍰 Add Rebranded E-Mails For Sending Notifications [`#29`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/29) +- bug: 🍰 Fix Minor Errors And Clarify Docs [`#28`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/28) +- chore: 🍰 Implement New Internal Pages – Main Release v1.0.5 [`#25`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/25) +- feat: [WIP] 🍰 Add Landing Page Etc. [`#22`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/22) +- docs: 🍰 [WIP] Add Configure And Rebranding Readme.md [`#20`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/20) +- chore: [WIP] 🍰 New Deployment With 'base' And 'code' Docker Images [`#15`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/15) +- feat: [WIP] 🍰 Flexible Footer Links [`#17`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/17) +- πŸ’₯ Release v1.0.3 [`#12`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/12) +- πŸ›  [Refactor] Add README And LICENSE [`#11`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/11) +- chore: 🍰 Implement Use Of package.json 'Version' Etc. For Build And Refine Helm Chart [`#8`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/8) +- chore: 🍰 Replace Ocelot Logos 619x593 With 600x570 [`#6`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/6) +- brand_as_default [`#4`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/4) +- limit_replicasets [`#3`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/3) +- Deployment [`#2`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/2) +- moved example into stage.ocelot.social [`61b5112`](https://github.com/Ocelot-Social-Community/Ocelot-Social/commit/61b5112b8b547a7491d644c7c4dbfead39b61d79) +- feat(backand): upgrade jest to 29.4 [`4390d72`](https://github.com/Ocelot-Social-Community/Ocelot-Social/commit/4390d72477fb941f69bc9bdc24ac7713ef06e827) +- pages tests nearly working [`4850e45`](https://github.com/Ocelot-Social-Community/Ocelot-Social/commit/4850e456fe5b7c158f23acc7f153576472604300) + #### [2.4.0](https://github.com/Ocelot-Social-Community/Ocelot-Social/compare/2.3.0...2.4.0) +> 10 February 2023 + +- chore(release): v2.4.0 [`#5961`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/5961) - fix(webapp): post teaser width in mobile view [`#5958`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/5958) - fix(webapp): navbar disappears when scrolling to top [`#5957`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/5957) - fix(webapp): close mobile menu on all links [`#5956`](https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/5956) diff --git a/backend/Dockerfile b/backend/Dockerfile index c04cd9bc9..dd8237a4e 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,7 +1,7 @@ ################################################################################## # BASE (Is pushed to DockerHub for rebranding) ################################### ################################################################################## -FROM node:19.4.0-alpine3.17 as base +FROM node:19.8.1-alpine3.17 as base # ENVs ## DOCKER_WORKDIR would be a classical ARG, but that is not multi layer persistent - shame diff --git a/backend/package.json b/backend/package.json index 3f7098206..ff847a784 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "ocelot-social-backend", - "version": "2.4.0", + "version": "2.5.1", "description": "GraphQL Backend for ocelot.social", "repository": "https://github.com/Ocelot-Social-Community/Ocelot-Social", "author": "ocelot.social Community", @@ -87,7 +87,7 @@ "mustache": "^4.2.0", "neo4j-driver": "^4.0.2", "neo4j-graphql-js": "^2.11.5", - "neode": "^0.4.8", + "neode": "^0.4.9", "node-fetch": "~2.6.1", "nodemailer": "^6.4.4", "nodemailer-html-to-text": "^3.2.0", diff --git a/backend/src/db/migrate/store.js b/backend/src/db/migrate/store.js index ac762647b..0c0b63943 100644 --- a/backend/src/db/migrate/store.js +++ b/backend/src/db/migrate/store.js @@ -86,13 +86,6 @@ class Store { 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 constraints - return Promise.all( - [ - 'CALL db.index.fulltext.createNodeIndex("user_fulltext_search",["User"],["name", "slug"])', - 'CALL db.index.fulltext.createNodeIndex("post_fulltext_search",["Post"],["title", "content"])', - 'CALL db.index.fulltext.createNodeIndex("tag_fulltext_search",["Tag"],["id"])', - ].map((statement) => txc.run(statement)), - ) }) try { await writeTxResultPromise diff --git a/backend/src/db/migrations/20230320130345-fulltext-search-indexes.js b/backend/src/db/migrations/20230320130345-fulltext-search-indexes.js new file mode 100644 index 000000000..11029bea6 --- /dev/null +++ b/backend/src/db/migrations/20230320130345-fulltext-search-indexes.js @@ -0,0 +1,68 @@ +import { getDriver } from '../../db/neo4j' + +export const description = '' + +export async function up(next) { + const driver = getDriver() + const session = driver.session() + const transaction = session.beginTransaction() + + try { + // Drop indexes if they exist because due to legacy code they might be set already + const indexesResponse = await transaction.run(`CALL db.indexes()`) + const indexes = indexesResponse.records.map((record) => record.get('indexName')) + if (indexes.indexOf('user_fulltext_search') > -1) { + await transaction.run(`CALL db.index.fulltext.drop("user_fulltext_search")`) + } + if (indexes.indexOf('post_fulltext_search') > -1) { + await transaction.run(`CALL db.index.fulltext.drop("post_fulltext_search")`) + } + if (indexes.indexOf('tag_fulltext_search') > -1) { + await transaction.run(`CALL db.index.fulltext.drop("tag_fulltext_search")`) + } + // Create indexes + await transaction.run( + `CALL db.index.fulltext.createNodeIndex("user_fulltext_search",["User"],["name", "slug"])`, + ) + await transaction.run( + `CALL db.index.fulltext.createNodeIndex("post_fulltext_search",["Post"],["title", "content"])`, + ) + await transaction.run( + `CALL db.index.fulltext.createNodeIndex("tag_fulltext_search",["Tag"],["id"])`, + ) + await transaction.commit() + next() + } catch (error) { + // eslint-disable-next-line no-console + console.log(error) + await transaction.rollback() + // eslint-disable-next-line no-console + console.log('rolled back') + throw new Error(error) + } finally { + session.close() + } +} + +export async function down(next) { + const driver = getDriver() + const session = driver.session() + const transaction = session.beginTransaction() + + try { + await transaction.run(`CALL db.index.fulltext.drop("user_fulltext_search")`) + await transaction.run(`CALL db.index.fulltext.drop("post_fulltext_search")`) + await transaction.run(`CALL db.index.fulltext.drop("tag_fulltext_search")`) + await transaction.commit() + next() + } catch (error) { + // eslint-disable-next-line no-console + console.log(error) + await transaction.rollback() + // eslint-disable-next-line no-console + console.log('rolled back') + throw new Error(error) + } finally { + session.close() + } +} diff --git a/backend/src/middleware/notifications/notificationsMiddleware.js b/backend/src/middleware/notifications/notificationsMiddleware.js index a871605f7..1c97e9591 100644 --- a/backend/src/middleware/notifications/notificationsMiddleware.js +++ b/backend/src/middleware/notifications/notificationsMiddleware.js @@ -51,6 +51,50 @@ const publishNotifications = async (context, promises) => { }) } +const handleJoinGroup = async (resolve, root, args, context, resolveInfo) => { + const { groupId, userId } = args + const user = await resolve(root, args, context, resolveInfo) + if (user) { + await publishNotifications(context, [ + notifyOwnersOfGroup(groupId, userId, 'user_joined_group', context), + ]) + } + return user +} + +const handleLeaveGroup = async (resolve, root, args, context, resolveInfo) => { + const { groupId, userId } = args + const user = await resolve(root, args, context, resolveInfo) + if (user) { + await publishNotifications(context, [ + notifyOwnersOfGroup(groupId, userId, 'user_left_group', context), + ]) + } + return user +} + +const handleChangeGroupMemberRole = async (resolve, root, args, context, resolveInfo) => { + const { groupId, userId } = args + const user = await resolve(root, args, context, resolveInfo) + if (user) { + await publishNotifications(context, [ + notifyMemberOfGroup(groupId, userId, 'changed_group_member_role', context), + ]) + } + return user +} + +const handleRemoveUserFromGroup = async (resolve, root, args, context, resolveInfo) => { + const { groupId, userId } = args + const user = await resolve(root, args, context, resolveInfo) + if (user) { + await publishNotifications(context, [ + notifyMemberOfGroup(groupId, userId, 'removed_user_from_group', context), + ]) + } + return user +} + const handleContentDataOfPost = async (resolve, root, args, context, resolveInfo) => { const idsOfUsers = extractMentionedUsers(args.content) const post = await resolve(root, args, context, resolveInfo) @@ -94,6 +138,72 @@ const postAuthorOfComment = async (commentId, { context }) => { } } +const notifyOwnersOfGroup = async (groupId, userId, reason, context) => { + const cypher = ` + MATCH (group:Group { id: $groupId })<-[membership:MEMBER_OF]-(owner:User) + WHERE membership.role = 'owner' + WITH owner, group + MERGE (group)-[notification:NOTIFIED {reason: $reason}]->(owner) + WITH group, owner, notification + SET notification.read = FALSE + SET notification.createdAt = COALESCE(notification.createdAt, toString(datetime())) + SET notification.updatedAt = toString(datetime()) + SET notification.relatedUserId = $userId + RETURN notification {.*, from: group, to: properties(owner)} + ` + const session = context.driver.session() + const writeTxResultPromise = session.writeTransaction(async (transaction) => { + const notificationTransactionResponse = await transaction.run(cypher, { + groupId, + reason, + userId, + }) + return notificationTransactionResponse.records.map((record) => record.get('notification')) + }) + try { + const notifications = await writeTxResultPromise + return notifications + } catch (error) { + throw new Error(error) + } finally { + session.close() + } +} + +const notifyMemberOfGroup = async (groupId, userId, reason, context) => { + const { user: owner } = context + const cypher = ` + MATCH (user:User { id: $userId }) + MATCH (group:Group { id: $groupId }) + WITH user, group + MERGE (group)-[notification:NOTIFIED {reason: $reason}]->(user) + WITH group, user, notification + SET notification.read = FALSE + SET notification.createdAt = COALESCE(notification.createdAt, toString(datetime())) + SET notification.updatedAt = toString(datetime()) + SET notification.relatedUserId = $ownerId + RETURN notification {.*, from: group, to: properties(user)} + ` + const session = context.driver.session() + const writeTxResultPromise = session.writeTransaction(async (transaction) => { + const notificationTransactionResponse = await transaction.run(cypher, { + groupId, + reason, + userId, + ownerId: owner.id, + }) + return notificationTransactionResponse.records.map((record) => record.get('notification')) + }) + try { + const notifications = await writeTxResultPromise + return notifications + } catch (error) { + throw new Error(error) + } finally { + session.close() + } +} + const notifyUsersOfMention = async (label, id, idsOfUsers, reason, context) => { if (!(idsOfUsers && idsOfUsers.length)) return [] await validateNotifyUsers(label, reason) @@ -188,5 +298,9 @@ export default { UpdatePost: handleContentDataOfPost, CreateComment: handleContentDataOfComment, UpdateComment: handleContentDataOfComment, + JoinGroup: handleJoinGroup, + LeaveGroup: handleLeaveGroup, + ChangeGroupMemberRole: handleChangeGroupMemberRole, + RemoveUserFromGroup: handleRemoveUserFromGroup, }, } diff --git a/backend/src/middleware/notifications/notificationsMiddleware.spec.js b/backend/src/middleware/notifications/notificationsMiddleware.spec.js index a8a5d396b..a9046b09f 100644 --- a/backend/src/middleware/notifications/notificationsMiddleware.spec.js +++ b/backend/src/middleware/notifications/notificationsMiddleware.spec.js @@ -3,6 +3,13 @@ import { cleanDatabase } from '../../db/factories' import { createTestClient } from 'apollo-server-testing' import { getNeode, getDriver } from '../../db/neo4j' import createServer, { pubsub } from '../../server' +import { + createGroupMutation, + joinGroupMutation, + leaveGroupMutation, + changeGroupMemberRoleMutation, + removeUserFromGroupMutation, +} from '../../graphql/groups' let server, query, mutate, notifiedUser, authenticatedUser let publishSpy @@ -92,6 +99,9 @@ describe('notifications', () => { read reason createdAt + relatedUser { + id + } from { __typename ... on Post { @@ -102,6 +112,9 @@ describe('notifications', () => { id content } + ... on Group { + id + } } } } @@ -185,6 +198,7 @@ describe('notifications', () => { id: 'c47', content: commentContent, }, + relatedUser: null, }, ], }, @@ -357,6 +371,7 @@ describe('notifications', () => { id: 'p47', content: expectedUpdatedContent, }, + relatedUser: null, }, ], }, @@ -513,6 +528,7 @@ describe('notifications', () => { id: 'c47', content: commentContent, }, + relatedUser: null, }, ], }, @@ -547,6 +563,7 @@ describe('notifications', () => { id: 'c47', content: commentContent, }, + relatedUser: null, }, ], }, @@ -616,4 +633,232 @@ describe('notifications', () => { }) }) }) + + describe('group notifications', () => { + let groupOwner + + beforeEach(async () => { + groupOwner = await neode.create( + 'User', + { + id: 'group-owner', + name: 'Group Owner', + slug: 'group-owner', + }, + { + email: 'owner@example.org', + password: '1234', + }, + ) + authenticatedUser = await groupOwner.toJson() + await mutate({ + mutation: createGroupMutation(), + variables: { + id: 'closed-group', + name: 'The Closed Group', + about: 'Will test the closed group!', + description: 'Some description' + Array(50).join('_'), + groupType: 'public', + actionRadius: 'regional', + categoryIds, + }, + }) + }) + + describe('user joins group', () => { + beforeEach(async () => { + authenticatedUser = await notifiedUser.toJson() + await mutate({ + mutation: joinGroupMutation(), + variables: { + groupId: 'closed-group', + userId: authenticatedUser.id, + }, + }) + authenticatedUser = await groupOwner.toJson() + }) + + it('has the notification in database', async () => { + await expect( + query({ + query: notificationQuery, + }), + ).resolves.toMatchObject({ + data: { + notifications: [ + { + read: false, + reason: 'user_joined_group', + createdAt: expect.any(String), + from: { + __typename: 'Group', + id: 'closed-group', + }, + relatedUser: { + id: 'you', + }, + }, + ], + }, + errors: undefined, + }) + }) + }) + + describe('user leaves group', () => { + beforeEach(async () => { + authenticatedUser = await notifiedUser.toJson() + await mutate({ + mutation: joinGroupMutation(), + variables: { + groupId: 'closed-group', + userId: authenticatedUser.id, + }, + }) + await mutate({ + mutation: leaveGroupMutation(), + variables: { + groupId: 'closed-group', + userId: authenticatedUser.id, + }, + }) + authenticatedUser = await groupOwner.toJson() + }) + + it('has two the notification in database', async () => { + await expect( + query({ + query: notificationQuery, + }), + ).resolves.toMatchObject({ + data: { + notifications: [ + { + read: false, + reason: 'user_left_group', + createdAt: expect.any(String), + from: { + __typename: 'Group', + id: 'closed-group', + }, + relatedUser: { + id: 'you', + }, + }, + { + read: false, + reason: 'user_joined_group', + createdAt: expect.any(String), + from: { + __typename: 'Group', + id: 'closed-group', + }, + relatedUser: { + id: 'you', + }, + }, + ], + }, + errors: undefined, + }) + }) + }) + + describe('user role in group changes', () => { + beforeEach(async () => { + authenticatedUser = await notifiedUser.toJson() + await mutate({ + mutation: joinGroupMutation(), + variables: { + groupId: 'closed-group', + userId: authenticatedUser.id, + }, + }) + authenticatedUser = await groupOwner.toJson() + await mutate({ + mutation: changeGroupMemberRoleMutation(), + variables: { + groupId: 'closed-group', + userId: 'you', + roleInGroup: 'admin', + }, + }) + authenticatedUser = await notifiedUser.toJson() + }) + + it('has notification in database', async () => { + await expect( + query({ + query: notificationQuery, + }), + ).resolves.toMatchObject({ + data: { + notifications: [ + { + read: false, + reason: 'changed_group_member_role', + createdAt: expect.any(String), + from: { + __typename: 'Group', + id: 'closed-group', + }, + relatedUser: { + id: 'group-owner', + }, + }, + ], + }, + errors: undefined, + }) + }) + }) + + describe('user is removed from group', () => { + beforeEach(async () => { + authenticatedUser = await notifiedUser.toJson() + await mutate({ + mutation: joinGroupMutation(), + variables: { + groupId: 'closed-group', + userId: authenticatedUser.id, + }, + }) + authenticatedUser = await groupOwner.toJson() + await mutate({ + mutation: removeUserFromGroupMutation(), + variables: { + groupId: 'closed-group', + userId: 'you', + }, + }) + authenticatedUser = await notifiedUser.toJson() + }) + + it('has notification in database', async () => { + await expect( + query({ + query: notificationQuery, + }), + ).resolves.toMatchObject({ + data: { + notifications: [ + { + read: false, + reason: 'removed_user_from_group', + createdAt: expect.any(String), + from: { + __typename: 'Group', + id: 'closed-group', + }, + relatedUser: { + id: 'group-owner', + }, + }, + ], + }, + errors: undefined, + }) + }) + }) + }) }) diff --git a/backend/src/schema/resolvers/notifications.js b/backend/src/schema/resolvers/notifications.js index a2b850336..117b9b530 100644 --- a/backend/src/schema/resolvers/notifications.js +++ b/backend/src/schema/resolvers/notifications.js @@ -47,12 +47,22 @@ export default { ` MATCH (resource {deleted: false, disabled: false})-[notification:NOTIFIED]->(user:User {id:$id}) ${whereClause} - WITH user, notification, resource, + OPTIONAL MATCH (relatedUser:User { id: notification.relatedUserId }) + OPTIONAL MATCH (resource)<-[membership:MEMBER_OF]-(relatedUser) + WITH user, notification, resource, membership, relatedUser, [(resource)<-[:WROTE]-(author:User) | author {.*}] AS authors, - [(resource)-[:COMMENTS]->(post:Post)<-[:WROTE]-(author:User) | post{.*, author: properties(author)} ] AS posts - WITH resource, user, notification, authors, posts, - resource {.*, __typename: labels(resource)[0], author: authors[0], post: posts[0]} AS finalResource - RETURN notification {.*, from: finalResource, to: properties(user)} + [(resource)-[:COMMENTS]->(post:Post)<-[:WROTE]-(author:User) | post {.*, author: properties(author)} ] AS posts + WITH resource, user, notification, authors, posts, relatedUser, membership, + resource {.*, + __typename: labels(resource)[0], + author: authors[0], + post: posts[0], + myRole: membership.role } AS finalResource + RETURN notification {.*, + from: finalResource, + to: properties(user), + relatedUser: properties(relatedUser) + } ${orderByClause} ${offset} ${limit} `, @@ -81,8 +91,9 @@ export default { WITH user, notification, resource, [(resource)<-[:WROTE]-(author:User) | author {.*}] AS authors, [(resource)-[:COMMENTS]->(post:Post)<-[:WROTE]-(author:User) | post{.*, author: properties(author)} ] AS posts - WITH resource, user, notification, authors, posts, - resource {.*, __typename: labels(resource)[0], author: authors[0], post: posts[0]} AS finalResource + OPTIONAL MATCH (resource)<-[membership:MEMBER_OF]-(user) + WITH resource, user, notification, authors, posts, membership, + resource {.*, __typename: labels(resource)[0], author: authors[0], post: posts[0], myRole: membership.role } AS finalResource RETURN notification {.*, from: finalResource, to: properties(user)} `, { resourceId: args.id, id: currentUser.id }, @@ -110,8 +121,9 @@ export default { WITH user, notification, resource, [(resource)<-[:WROTE]-(author:User) | author {.*}] AS authors, [(resource)-[:COMMENTS]->(post:Post)<-[:WROTE]-(author:User) | post{.*, author: properties(author)} ] AS posts - WITH resource, user, notification, authors, posts, - resource {.*, __typename: labels(resource)[0], author: authors[0], post: posts[0]} AS finalResource + OPTIONAL MATCH (resource)<-[membership:MEMBER_OF]-(user) + WITH resource, user, notification, authors, posts, membership, + resource {.*, __typename: labels(resource)[0], author: authors[0], post: posts[0], myRole: membership.role} AS finalResource RETURN notification {.*, from: finalResource, to: properties(user)} `, { id: currentUser.id }, diff --git a/backend/src/schema/resolvers/notifications.spec.js b/backend/src/schema/resolvers/notifications.spec.js index 47134aea6..9deaea457 100644 --- a/backend/src/schema/resolvers/notifications.spec.js +++ b/backend/src/schema/resolvers/notifications.spec.js @@ -397,18 +397,20 @@ describe('given some notifications', () => { it('returns all as read', async () => { const response = await mutate({ mutation: markAllAsReadMutation(), variables }) - expect(response.data.markAllAsRead).toEqual([ - { - createdAt: '2019-08-30T19:33:48.651Z', - from: { __typename: 'Comment', content: 'You have been mentioned in a comment' }, - read: true, - }, - { - createdAt: '2019-08-31T17:33:48.651Z', - from: { __typename: 'Post', content: 'You have been mentioned in a post' }, - read: true, - }, - ]) + expect(response.data.markAllAsRead).toEqual( + expect.arrayContaining([ + { + createdAt: '2019-08-30T19:33:48.651Z', + from: { __typename: 'Comment', content: 'You have been mentioned in a comment' }, + read: true, + }, + { + createdAt: '2019-08-31T17:33:48.651Z', + from: { __typename: 'Post', content: 'You have been mentioned in a post' }, + read: true, + }, + ]), + ) expect(response.errors).toBeUndefined() }) }) diff --git a/backend/src/schema/types/enum/ReasonNotification.gql b/backend/src/schema/types/enum/ReasonNotification.gql deleted file mode 100644 index e870e01dc..000000000 --- a/backend/src/schema/types/enum/ReasonNotification.gql +++ /dev/null @@ -1,5 +0,0 @@ -enum ReasonNotification { - mentioned_in_post - mentioned_in_comment - commented_on_post -} diff --git a/backend/src/schema/types/type/NOTIFIED.gql b/backend/src/schema/types/type/NOTIFIED.gql index 864cdea4d..62a1f3696 100644 --- a/backend/src/schema/types/type/NOTIFIED.gql +++ b/backend/src/schema/types/type/NOTIFIED.gql @@ -6,9 +6,10 @@ type NOTIFIED { updatedAt: String! read: Boolean reason: NotificationReason + relatedUser: User } -union NotificationSource = Post | Comment +union NotificationSource = Post | Comment | Group enum NotificationOrdering { createdAt_asc @@ -21,6 +22,10 @@ enum NotificationReason { mentioned_in_post mentioned_in_comment commented_on_post + user_joined_group + user_left_group + changed_group_member_role + removed_user_from_group } type Query { diff --git a/backend/yarn.lock b/backend/yarn.lock index c2fb0d28c..683b69973 100644 --- a/backend/yarn.lock +++ b/backend/yarn.lock @@ -8034,17 +8034,7 @@ neo4j-driver-core@^4.4.7: resolved "https://registry.yarnpkg.com/neo4j-driver-core/-/neo4j-driver-core-4.4.7.tgz#d2475e107b3fea2b9d1c36b0c273da5c5a291c37" integrity sha512-NhvVuQYgG7eO/vXxRaoJfkWUNkjvIpmCIS9UWU9Bbhb4V+wCOyX/MVOXqD0Yizhs4eyIkD7x90OXb79q+vi+oA== -neo4j-driver@^4.0.1, neo4j-driver@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/neo4j-driver/-/neo4j-driver-4.0.2.tgz#78de3b91e91572bcbd9d2e02554322fe1ab399ea" - integrity sha512-xQN4BZZsweaNNac7FDYAV6f/JybghwY3lk4fwblS8V5KQ+DBMPe4Pthh672mp+wEYZGyzPalq5CfpcBrWaZ4Gw== - dependencies: - "@babel/runtime" "^7.5.5" - rxjs "^6.5.2" - text-encoding-utf-8 "^1.0.2" - uri-js "^4.2.2" - -neo4j-driver@^4.2.2: +neo4j-driver@^4.0.1, neo4j-driver@^4.0.2, neo4j-driver@^4.2.2: version "4.4.7" resolved "https://registry.yarnpkg.com/neo4j-driver/-/neo4j-driver-4.4.7.tgz#51b3fb48241e66eb3be94e90032cc494c44e59f3" integrity sha512-N7GddPhp12gVJe4eB84u5ik5SmrtRv8nH3rK47Qy7IUKnJkVEos/F1QjOJN6zt1jLnDXwDcGzCKK8XklYpzogw== @@ -8067,10 +8057,10 @@ neo4j-graphql-js@^2.11.5: lodash "^4.17.15" neo4j-driver "^4.0.1" -neode@^0.4.8: - version "0.4.8" - resolved "https://registry.yarnpkg.com/neode/-/neode-0.4.8.tgz#0889b4fc7f1bf0b470b01fa5b8870373b5d47ad6" - integrity sha512-pb91NfCOg4Fj5o+98H+S2XYC+ByQfbdhwcc1UVuzuUQ0Ezzj+jWz8NmKWU8ZfCH6l4plk71yDAPd2eTwpt+Xvg== +neode@^0.4.9: + version "0.4.9" + resolved "https://registry.yarnpkg.com/neode/-/neode-0.4.9.tgz#11c46c50d0348751dc6db828f3ca59252e7c247f" + integrity sha512-3RufLD2cmTXrPpvsgkEAqS3maRjXJ89vjbyYmyqJMJl5uv6gcUa32N6hRwHcqfjWRWUaFKaoGLEJLaOQobs4eA== dependencies: "@hapi/joi" "^15.1.1" dotenv "^4.0.0" @@ -9496,7 +9486,7 @@ run-parallel@^1.1.9: resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.1.9.tgz#c9dd3a7cf9f4b2c4b6244e173a6ed866e61dd679" integrity sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q== -rxjs@^6.4.0, rxjs@^6.5.2, rxjs@^6.5.4: +rxjs@^6.4.0, rxjs@^6.5.4: version "6.5.4" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.4.tgz#e0777fe0d184cec7872df147f303572d414e211c" integrity sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q== @@ -10311,11 +10301,6 @@ test-exclude@^6.0.0: glob "^7.1.4" minimatch "^3.0.4" -text-encoding-utf-8@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/text-encoding-utf-8/-/text-encoding-utf-8-1.0.2.tgz#585b62197b0ae437e3c7b5d0af27ac1021e10d13" - integrity sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg== - text-table@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" diff --git a/deployment/configurations/example/branding/README.md b/deployment/configurations/example/branding/README.md deleted file mode 100644 index dd2a3b1fc..000000000 --- a/deployment/configurations/example/branding/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Configure And Branding - -In this folder you will find all configuration files and logo images to customise the configuration and branding of the [ocelot.social](https://github.com/Ocelot-Social-Community/Ocelot-Social) network code to your own needs. - -Please change these and they will be used automatically as part of the [deployment](/deployment/README.md) process. diff --git a/deployment/configurations/example/branding/assets/fonts/.gitkeep b/deployment/configurations/example/branding/assets/fonts/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/deployment/configurations/example/branding/assets/styles/imports/_branding.scss b/deployment/configurations/example/branding/assets/styles/imports/_branding.scss deleted file mode 100644 index 75058595d..000000000 --- a/deployment/configurations/example/branding/assets/styles/imports/_branding.scss +++ /dev/null @@ -1,5 +0,0 @@ -/* - * - * Here, all SCSS variables and classes can be adapted to your custom design. - * -*/ \ No newline at end of file diff --git a/deployment/configurations/example/branding/constants/donation.js b/deployment/configurations/example/branding/constants/donation.js deleted file mode 100644 index 3e36ae9a8..000000000 --- a/deployment/configurations/example/branding/constants/donation.js +++ /dev/null @@ -1 +0,0 @@ -export const PROGRESS_BAR_COLOR_TYPE = 'gradient' // 'uni' is the other option diff --git a/deployment/configurations/example/branding/constants/emails.js b/deployment/configurations/example/branding/constants/emails.js deleted file mode 100644 index f5bd9a4a6..000000000 --- a/deployment/configurations/example/branding/constants/emails.js +++ /dev/null @@ -1,8 +0,0 @@ -// this file is duplicated in `backend/src/config/` and `webapp/constants/` and replaced on rebranding by https://github.com/Ocelot-Social-Community/Ocelot-Social-Deploy-Rebranding/tree/master/branding/constants/ -export default { - SUPPORT_EMAIL: 'hello@ocelot.social', - MODERATION_EMAIL: 'hello@ocelot.social', - // ATTENTION: the following links have to be defined even for internal pages with full URLs as example like 'https://staging.ocelot.social/support', because they are used in e-mails! - ORGANIZATION_LINK: 'https://ocelot.social', - SUPPORT_LINK: 'https://ocelot.social', -} diff --git a/deployment/configurations/example/branding/constants/groups.js b/deployment/configurations/example/branding/constants/groups.js deleted file mode 100644 index 1c49d3ff3..000000000 --- a/deployment/configurations/example/branding/constants/groups.js +++ /dev/null @@ -1,5 +0,0 @@ -// this file is duplicated in `backend/src/constants/group.js` and `webapp/constants/group.js` -export const NAME_LENGTH_MIN = 3 -export const NAME_LENGTH_MAX = 50 -export const DESCRIPTION_WITHOUT_HTML_LENGTH_MIN = 100 // with removed HTML tags -export const SHOW_GROUP_BUTTON_IN_HEADER = true diff --git a/deployment/configurations/example/branding/constants/headerMenu.js b/deployment/configurations/example/branding/constants/headerMenu.js deleted file mode 100644 index aa87a598c..000000000 --- a/deployment/configurations/example/branding/constants/headerMenu.js +++ /dev/null @@ -1,13 +0,0 @@ -export default { - MENU: [ - // { - // nameIdent: 'nameIdent', - // path: '/', - // }, - // { - // nameIdent: 'nameIdent', - // url: 'https://ocelot.social', - // target: '_blank', - // }, - ], -} diff --git a/deployment/configurations/example/branding/constants/links.js b/deployment/configurations/example/branding/constants/links.js deleted file mode 100644 index 7efac159f..000000000 --- a/deployment/configurations/example/branding/constants/links.js +++ /dev/null @@ -1,152 +0,0 @@ -// this file is replaced on rebranding by https://github.com/Ocelot-Social-Community/Ocelot-Social-Deploy-Rebranding/tree/master/branding/constants/ - -import { defaultPageParamsPages } from '~/components/utils/InternalPages.js' - -const ORGANIZATION = defaultPageParamsPages.ORGANIZATION.overwrite({ - // if defined it's dominating - externalLink: { - url: 'https://ocelot.social', - target: '_blank', - }, - - internalPage: { - // footerIdent: 'site.made', // localized string identifier, if undefined default is used - // headTitleIdent: 'site.made', // localized string identifier, if undefined default is used - // headlineIdent: 'site.made', // localized string identifier, on null it's hidden, if undefined default is used - hasContainer: true, - hasBaseCard: true, - hasLoginInHeader: true, - // in case internal page content is here 'branding/locales/html/' - }, -}) -const DONATE = defaultPageParamsPages.DONATE.overwrite({ - // if defined it's dominating - externalLink: { - // we use 'ocelot-social.herokuapp.com' at the moment, because redirections of 'ocelot.social' subpages are not working correctly - url: 'https://ocelot-social.herokuapp.com/donations', - target: '_blank', - }, - - internalPage: { - // footerIdent: 'site.donate', // localized string identifier, if undefined default is used - // headTitleIdent: 'site.donate', // localized string identifier, if undefined default is used - // headlineIdent: 'site.donate', // localized string identifier, on null it's hidden, if undefined default is used - hasContainer: true, - hasBaseCard: true, - hasLoginInHeader: true, - // in case internal page content is here 'branding/locales/html/' - }, -}) -const IMPRINT = defaultPageParamsPages.IMPRINT.overwrite({ - // if defined it's dominating - externalLink: { - // we use 'ocelot-social.herokuapp.com' at the moment, because redirections of 'ocelot.social' subpages are not working correctly - url: 'https://ocelot-social.herokuapp.com/imprint', - target: '_blank', - }, - - internalPage: { - // footerIdent: 'site.imprint', // localized string identifier, if undefined default is used - // headTitleIdent: 'site.imprint', // localized string identifier, if undefined default is used - // headlineIdent: 'site.imprint', // localized string identifier, on null it's hidden, if undefined default is used - hasContainer: true, - hasBaseCard: true, - hasLoginInHeader: true, - // in case internal page content is here 'branding/locales/html/' - }, -}) -const TERMS_AND_CONDITIONS = defaultPageParamsPages.TERMS_AND_CONDITIONS.overwrite({ - // externalLink: null, // if defined it's dominating - - internalPage: { - // footerIdent: 'site.termsAndConditions', // localized string identifier, if undefined default is used - // headTitleIdent: 'site.termsAndConditions', // localized string identifier, if undefined default is used - // headlineIdent: 'site.termsAndConditions', // localized string identifier, on null it's hidden, if undefined default is used - hasContainer: true, - hasBaseCard: true, - hasLoginInHeader: true, - // in case internal page content is here 'branding/locales/html/' - }, -}) -const CODE_OF_CONDUCT = defaultPageParamsPages.CODE_OF_CONDUCT.overwrite({ - // externalLink: null, // if defined it's dominating - - internalPage: { - // footerIdent: 'site.code-of-conduct', // localized string identifier, if undefined default is used - // headTitleIdent: 'site.code-of-conduct', // localized string identifier, if undefined default is used - // headlineIdent: 'site.code-of-conduct', // localized string identifier, on null it's hidden, if undefined default is used - hasContainer: true, - hasBaseCard: true, - hasLoginInHeader: true, - // in case internal page content is here 'branding/locales/html/' - }, -}) -const DATA_PRIVACY = defaultPageParamsPages.DATA_PRIVACY.overwrite({ - // externalLink: null, // if defined it's dominating - - internalPage: { - // footerIdent: 'site.data-privacy', // localized string identifier, if undefined default is used - // headTitleIdent: 'site.data-privacy', // localized string identifier, if undefined default is used - // headlineIdent: 'site.data-privacy', // localized string identifier, on null it's hidden, if undefined default is used - hasContainer: true, - hasBaseCard: true, - hasLoginInHeader: true, - // in case internal page content is here 'branding/locales/html/' - }, -}) -const FAQ = defaultPageParamsPages.FAQ.overwrite({ - // externalLink: null, // if defined it's dominating - - internalPage: { - // footerIdent: 'site.faq', // localized string identifier, if undefined default is used - // headTitleIdent: 'site.faq', // localized string identifier, if undefined default is used - // headlineIdent: 'site.faq', // on null default is used, on empty string it's hidden - hasContainer: true, - hasBaseCard: true, - hasLoginInHeader: true, - // in case internal page content is here 'branding/locales/html/' - }, -}) -const SUPPORT = defaultPageParamsPages.SUPPORT.overwrite({ - // if defined it's dominating - externalLink: { - url: 'https://ocelot.social', - target: '_blank', - }, - - internalPage: { - // footerIdent: 'site.support', // localized string identifier, if undefined default is used - // headTitleIdent: 'site.support', // localized string identifier, if undefined default is used - // headlineIdent: 'site.support', // on null default is used, on empty string it's hidden - hasContainer: true, - hasBaseCard: true, - hasLoginInHeader: true, - // in case internal page content is here 'branding/locales/html/' - }, -}) - -export default { - LANDING_PAGE: '/login', // examples: '/login', '/registration', '/organization', or external 'https://ocelot.social' - - // you can find and store templates for πŸ‘‡πŸΌ at https://github.com/Ocelot-Social-Community/Ocelot-Social-Deploy-Rebranding/tree/master/branding/templates/ - - ORGANIZATION, - DONATE, - IMPRINT, - TERMS_AND_CONDITIONS, - CODE_OF_CONDUCT, - DATA_PRIVACY, - FAQ, - SUPPORT, - - FOOTER_LINK_LIST: [ - ORGANIZATION, - TERMS_AND_CONDITIONS, - CODE_OF_CONDUCT, - DATA_PRIVACY, - FAQ, - DONATE, - IMPRINT, - SUPPORT, - ], -} diff --git a/deployment/configurations/example/branding/constants/logos.js b/deployment/configurations/example/branding/constants/logos.js deleted file mode 100644 index 714e78a2c..000000000 --- a/deployment/configurations/example/branding/constants/logos.js +++ /dev/null @@ -1,24 +0,0 @@ -// this file is duplicated in `backend/src/config/logos.js` and `webapp/constants/logos.js` and replaced on rebranding -// this are the paths in the webapp -export default { - LOGO_HEADER_PATH: '/img/custom/logo-horizontal.svg', - LOGO_HEADER_WIDTH: '130px', - LOGO_HEADER_CLICK: { - // externalLink: { - // url: 'https://ocelot.social', - // target: '_blank', - // }, - externalLink: null, - internalPath: { - to: { - name: 'index', - }, - scrollTo: '.main-navigation', - }, - }, - LOGO_SIGNUP_PATH: '/img/custom/logo-squared.svg', - LOGO_WELCOME_PATH: '/img/custom/logo-squared.svg', - LOGO_LOGOUT_PATH: '/img/custom/logo-squared.svg', - LOGO_PASSWORD_RESET_PATH: '/img/custom/logo-squared.svg', - LOGO_MAINTENACE_RESET_PATH: '/img/custom/logo-squared.svg', -} diff --git a/deployment/configurations/example/branding/constants/metadata.js b/deployment/configurations/example/branding/constants/metadata.js deleted file mode 100644 index 3d09066d5..000000000 --- a/deployment/configurations/example/branding/constants/metadata.js +++ /dev/null @@ -1,9 +0,0 @@ -// this file is duplicated in `backend/src/config/metadata.js` and `webapp/constants/metadata.js` and replaced on rebranding -export default { - APPLICATION_NAME: 'ocelot.social', - APPLICATION_SHORT_NAME: 'ocelot.social', - APPLICATION_DESCRIPTION: 'Ocelot Social Community', - COOKIE_NAME: 'ocelot-social-token', - ORGANIZATION_NAME: 'busFaktor e.V.', - ORGANIZATION_JURISDICTION: 'Deutschland', -} diff --git a/deployment/configurations/example/branding/email/.gitkeep b/deployment/configurations/example/branding/email/.gitkeep deleted file mode 100644 index afe8c26c9..000000000 --- a/deployment/configurations/example/branding/email/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -we can put multilanguage e-mails and a layout.html in here \ No newline at end of file diff --git a/deployment/configurations/example/branding/email/templates/de/.gitkeep b/deployment/configurations/example/branding/email/templates/de/.gitkeep deleted file mode 100644 index 5b414a0c8..000000000 --- a/deployment/configurations/example/branding/email/templates/de/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -we can put translated e-mails in here \ No newline at end of file diff --git a/deployment/configurations/example/branding/email/templates/en/.gitkeep b/deployment/configurations/example/branding/email/templates/en/.gitkeep deleted file mode 100644 index 5b414a0c8..000000000 --- a/deployment/configurations/example/branding/email/templates/en/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -we can put translated e-mails in here \ No newline at end of file diff --git a/deployment/configurations/example/branding/locales/de.json b/deployment/configurations/example/branding/locales/de.json deleted file mode 100644 index 2c63c0851..000000000 --- a/deployment/configurations/example/branding/locales/de.json +++ /dev/null @@ -1,2 +0,0 @@ -{ -} diff --git a/deployment/configurations/example/branding/locales/en.json b/deployment/configurations/example/branding/locales/en.json deleted file mode 100644 index 2c63c0851..000000000 --- a/deployment/configurations/example/branding/locales/en.json +++ /dev/null @@ -1,2 +0,0 @@ -{ -} diff --git a/deployment/configurations/example/branding/locales/html/de/code-of-conduct.html b/deployment/configurations/example/branding/locales/html/de/code-of-conduct.html deleted file mode 100644 index c4538e37d..000000000 --- a/deployment/configurations/example/branding/locales/html/de/code-of-conduct.html +++ /dev/null @@ -1,60 +0,0 @@ - - - -
-

- FΓΌr das soziale Netzwerk Ocelot.Social Staging -

-

- PrΓ€ambel -

-

- Ich bin der Inhalt vom Verhaltenskodex. -

-
- - diff --git a/deployment/configurations/example/branding/locales/html/de/data-privacy.html b/deployment/configurations/example/branding/locales/html/de/data-privacy.html deleted file mode 100644 index 104d18300..000000000 --- a/deployment/configurations/example/branding/locales/html/de/data-privacy.html +++ /dev/null @@ -1,60 +0,0 @@ - - - -
-

- FΓΌr das soziale Netzwerk Ocelot.Social Staging -

-

- Information ΓΌber die Erhebung personenbezogener Daten -

-

- Das hier wΓ€re der Inhalt der Datenschutzbestimmungen. -

-
- - diff --git a/deployment/configurations/example/branding/locales/html/de/donate.html b/deployment/configurations/example/branding/locales/html/de/donate.html deleted file mode 100644 index 71f1027ef..000000000 --- a/deployment/configurations/example/branding/locales/html/de/donate.html +++ /dev/null @@ -1,60 +0,0 @@ - - - -
-

- FΓΌr das soziale Netzwerk Ocelot.Social Staging -

-

- Wohin kann ich spenden? -

-

- Hier steht was zu den Spenden. -

-
- - diff --git a/deployment/configurations/example/branding/locales/html/de/faq.html b/deployment/configurations/example/branding/locales/html/de/faq.html deleted file mode 100644 index 15a9d976d..000000000 --- a/deployment/configurations/example/branding/locales/html/de/faq.html +++ /dev/null @@ -1,67 +0,0 @@ - - - -
-

- FΓΌr das soziale Netzwerk Ocelot.Social Staging -

-

- Wie bediene ich dieses Netzwerk? -

-

- Hier findest Du die - Bedienungsanleitung.
-

-

- Betreiberspezifische FAQs -

-

- Hier steht was zu den betreiberspezifischen FAQs. -

-
- - diff --git a/deployment/configurations/example/branding/locales/html/de/imprint.html b/deployment/configurations/example/branding/locales/html/de/imprint.html deleted file mode 100644 index ad3c93562..000000000 --- a/deployment/configurations/example/branding/locales/html/de/imprint.html +++ /dev/null @@ -1,60 +0,0 @@ - - - -
-

- FΓΌr das soziale Netzwerk Ocelot.Social Staging -

-

- Betreiber -

-

- Ich bin das Impressum. -

-
- - diff --git a/deployment/configurations/example/branding/locales/html/de/organization.html b/deployment/configurations/example/branding/locales/html/de/organization.html deleted file mode 100644 index 089d72fa4..000000000 --- a/deployment/configurations/example/branding/locales/html/de/organization.html +++ /dev/null @@ -1,60 +0,0 @@ - - - -
-

- FΓΌr das soziale Netzwerk Ocelot.Social Staging -

-

- Das Entwicklernetzwerk -

-

- Hier wird das Netzwerk beschrieben. -

-
- - diff --git a/deployment/configurations/example/branding/locales/html/de/support.html b/deployment/configurations/example/branding/locales/html/de/support.html deleted file mode 100644 index f4dcb537e..000000000 --- a/deployment/configurations/example/branding/locales/html/de/support.html +++ /dev/null @@ -1,60 +0,0 @@ - - - -
-

- FΓΌr das soziale Netzwerk Ocelot.Social Staging -

-

- Ansprechpartner -

-

- Ich bin der Inhalt vom Support. -

-
- - diff --git a/deployment/configurations/example/branding/locales/html/de/terms-and-conditions.html b/deployment/configurations/example/branding/locales/html/de/terms-and-conditions.html deleted file mode 100644 index 74057ada1..000000000 --- a/deployment/configurations/example/branding/locales/html/de/terms-and-conditions.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - -
-

- FΓΌr das soziale Netzwerk Ocelot.Social Staging -

-

- Nutzung und Lizenz -

-

- Ich bin der Inhalt der Seite "Nutzungsbedingungen". -

-
- - diff --git a/deployment/configurations/example/branding/locales/html/en/code-of-conduct.html b/deployment/configurations/example/branding/locales/html/en/code-of-conduct.html deleted file mode 100644 index 714cad330..000000000 --- a/deployment/configurations/example/branding/locales/html/en/code-of-conduct.html +++ /dev/null @@ -1,60 +0,0 @@ - - - -
-

- For the social network Ocelot.Social Staging -

-

- PrΓ€ambel -

-

- I am the content of the code of conduct. -

-
- - diff --git a/deployment/configurations/example/branding/locales/html/en/data-privacy.html b/deployment/configurations/example/branding/locales/html/en/data-privacy.html deleted file mode 100644 index c4b718fe0..000000000 --- a/deployment/configurations/example/branding/locales/html/en/data-privacy.html +++ /dev/null @@ -1,60 +0,0 @@ - - - -
-

- For the social network Ocelot.Social Staging -

-

- Information about the collection of personal data -

-

- This would be our data privacy section. -

-
- - diff --git a/deployment/configurations/example/branding/locales/html/en/donate.html b/deployment/configurations/example/branding/locales/html/en/donate.html deleted file mode 100644 index d25e9f419..000000000 --- a/deployment/configurations/example/branding/locales/html/en/donate.html +++ /dev/null @@ -1,60 +0,0 @@ - - - -
-

- For the social network Ocelot.Social Staging -

-

- Where can I donate? -

-

- Here's what it says about donations. -

-
- - diff --git a/deployment/configurations/example/branding/locales/html/en/faq.html b/deployment/configurations/example/branding/locales/html/en/faq.html deleted file mode 100644 index a5998db78..000000000 --- a/deployment/configurations/example/branding/locales/html/en/faq.html +++ /dev/null @@ -1,67 +0,0 @@ - - - -
-

- For the social network Ocelot.Social Staging -

-

- How do I operate this network? -

-

- Here you can find the - user manual.
-

-

- Operator-Specific FAQs -

-

- Here are the operator-specific FAQs. -

-
- - diff --git a/deployment/configurations/example/branding/locales/html/en/imprint.html b/deployment/configurations/example/branding/locales/html/en/imprint.html deleted file mode 100644 index 6a7489a06..000000000 --- a/deployment/configurations/example/branding/locales/html/en/imprint.html +++ /dev/null @@ -1,60 +0,0 @@ - - - -
-

- For the social network Ocelot.Social Staging -

-

- Operator -

-

- I am the imprint. -

-
- - diff --git a/deployment/configurations/example/branding/locales/html/en/organization.html b/deployment/configurations/example/branding/locales/html/en/organization.html deleted file mode 100644 index e5a6d0f93..000000000 --- a/deployment/configurations/example/branding/locales/html/en/organization.html +++ /dev/null @@ -1,60 +0,0 @@ - - - -
-

- For the social network Ocelot.Social Staging -

-

- The Developers Network -

-

- Here the network is described. -

-
- - diff --git a/deployment/configurations/example/branding/locales/html/en/support.html b/deployment/configurations/example/branding/locales/html/en/support.html deleted file mode 100644 index 118328b06..000000000 --- a/deployment/configurations/example/branding/locales/html/en/support.html +++ /dev/null @@ -1,60 +0,0 @@ - - - -
-

- For the social network Ocelot.Social Staging -

-

- Contact -

-

- I am the content of the support. -

-
- - diff --git a/deployment/configurations/example/branding/locales/html/en/terms-and-conditions.html b/deployment/configurations/example/branding/locales/html/en/terms-and-conditions.html deleted file mode 100644 index 44e3fe3cd..000000000 --- a/deployment/configurations/example/branding/locales/html/en/terms-and-conditions.html +++ /dev/null @@ -1,60 +0,0 @@ - - - -
-

- For the social network Ocelot.Social Staging -

-

- Use and License -

-

- I am the content of the page "Terms And Conditions". -

-
- - diff --git a/deployment/configurations/example/branding/static/favicon.ico b/deployment/configurations/example/branding/static/favicon.ico deleted file mode 100644 index 430cef437..000000000 Binary files a/deployment/configurations/example/branding/static/favicon.ico and /dev/null differ diff --git a/deployment/configurations/example/branding/static/icon.png b/deployment/configurations/example/branding/static/icon.png deleted file mode 100644 index 1c81fa5fc..000000000 Binary files a/deployment/configurations/example/branding/static/icon.png and /dev/null differ diff --git a/deployment/configurations/example/branding/static/img/custom/logo-horizontal.svg b/deployment/configurations/example/branding/static/img/custom/logo-horizontal.svg deleted file mode 100644 index d821c8329..000000000 --- a/deployment/configurations/example/branding/static/img/custom/logo-horizontal.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/deployment/configurations/example/branding/static/img/custom/logo-squared.svg b/deployment/configurations/example/branding/static/img/custom/logo-squared.svg deleted file mode 100644 index 15f420c79..000000000 --- a/deployment/configurations/example/branding/static/img/custom/logo-squared.svg +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/deployment/configurations/example/branding/templates/locales/html/general/de/faq.html b/deployment/configurations/example/branding/templates/locales/html/general/de/faq.html deleted file mode 100644 index b06c7e039..000000000 --- a/deployment/configurations/example/branding/templates/locales/html/general/de/faq.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - -
-

- FΓΌr das soziale Netzwerk {{ organization }} -

-

- Wie bediene ich dieses Netzwerk? -

-

- Hier findest Du die - Bedienungsanleitung.
-

-
- - diff --git a/deployment/configurations/example/branding/templates/locales/html/general/en/faq.html b/deployment/configurations/example/branding/templates/locales/html/general/en/faq.html deleted file mode 100644 index 4a01a4540..000000000 --- a/deployment/configurations/example/branding/templates/locales/html/general/en/faq.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - -
-

- For the social network of {{ organization }} -

-

- How do I operate this network? -

-

- Here you can find the - user manual.
-

-
- - diff --git a/deployment/configurations/example/branding/templates/locales/html/hc-y2020/de/code-of-conduct.html b/deployment/configurations/example/branding/templates/locales/html/hc-y2020/de/code-of-conduct.html deleted file mode 100644 index f0fd19a4f..000000000 --- a/deployment/configurations/example/branding/templates/locales/html/hc-y2020/de/code-of-conduct.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - -
-

- FΓΌr das soziale Netzwerk {{ organization }} -

-

- PrΓ€ambel -

-

- {{ networkName}} ist ein gemeinnΓΌtziges soziales Wissens- und Aktionsnetzwerk der nΓ€chsten Generation. - Von Menschen – fΓΌr Menschen. - Free-Software, Open-Source, fair und transparent. - FΓΌr positiven lokalen und globalen Wandel in allen Lebensbereichen. - Wir gestalten den ΓΆffentlichen Austausch von Wissen, Ideen und Projekten vΓΆllig neu. - Die Funktionen von {{ networkName }} bringen die Menschen zusammen – offline und online – so dass wir die Welt zu einem besseren Ort machen kΓΆnnen.
-

-

- Zweck -

-

- Mit diesen Verhaltensregeln regeln wir die wesentlichen GrundsÀtze für das Verhalten in unserem Sozialen Netzwerk. - Dabei ist die Menschenrechtscharta der Vereinten Nationen unsere Orientierung und bildet das Herz unseres WerteverstÀndnisses. - Die Verhaltensregeln dienen als LeitsÀtze für den persânlichen Auftritt und den Umgang untereinander. - Wer als Nutzer im {{ networkName }} Netzwerk aktiv ist, BeitrÀge verfasst, kommentiert oder mit anderen Nutzern, auch außerhalb des Netzwerkes, Kontakt aufnimmt, erkennt diese Verhaltensregeln als verbindlich an.
-

-

- Erwartetes Verhalten -

-

- Die folgenden Verhaltensweisen werden von allen Community-Mitgliedern erwartet und gefordert:
-

- -

- Nichtakzeptables Verhalten -

-

- Die folgenden Verhaltensweisen sind in unserer Community inakzeptabel:
-

- -

- Konsequenzen inakzeptablen Verhaltens -

-

- Wenn ein Gemeinschaftsmitglied inakzeptables Verhalten an den Tag legt, kânnen die verantwortlichen Betreiber, Moderatoren und Administratoren des Netzwerks angemessene Maßnahmen ergreifen, u.a.:
-

- -

- Wenn Du einem inakzeptablen Verhalten ausgesetzt bist, es miterlebst oder andere Bedenken hast, melde bitte so schnell wie mΓΆglich den oder die entsprechenden Inhalte an die Moderatoren. - Bitte klicke beim Beitrag, Kommentar oder Benutzer auf die drei Punkte und melde ihn ΓΌber das aufgeklappte MenΓΌ.
-

-
- - diff --git a/deployment/configurations/example/branding/templates/locales/html/hc-y2020/de/data-privacy.html b/deployment/configurations/example/branding/templates/locales/html/hc-y2020/de/data-privacy.html deleted file mode 100644 index 9109840fd..000000000 --- a/deployment/configurations/example/branding/templates/locales/html/hc-y2020/de/data-privacy.html +++ /dev/null @@ -1,1010 +0,0 @@ - - - - -
-

- FΓΌr das soziale Netzwerk {{ organization }} -

-

- Information ΓΌber die Erhebung personenbezogener Daten -

-

- Wir freuen uns, dass Du unsere Website besuchst und bedanken uns fΓΌr Dein Interesse. - Im Folgenden informieren wir Dich ΓΌber den Umgang mit Deinen personenbezogenen Daten bei Nutzung unserer Website, unsere Netzwerkes oder der Uhr des Wandels. - Diese Website nutzt aus SicherheitsgrΓΌnden und zum Schutz der Übertragung personenbezogene Daten und anderer vertraulicher Inhalte (z.B. Bestellungen oder Anfragen an den Verantwortlichen) eine SSL-bzw. TLS-VerschlΓΌsselung. - Du kannst eine verschlΓΌsselte Verbindung an der Zeichenfolge β€žhttps://β€œ und dem Schloss-Symbol in Deiner Browserzeile erkennen.
-

-

- Kontaktdaten des Verantwortlichen -

-

- Verantwortlich fΓΌr die Datenverarbeitung auf dieser Website im Sinne der Datenschutz-Grundverordnung (DSGVO) ist
-

-

- {{ organization }}
- Musterstraße 11
- 53487 Musterort
- Deutschland
-

-

- Tel.: +49 151 / 43 80 42 22
- E-Mail: info@example.org
-

-

- Datenschutzbeauftragter -

-

- Unser Datenschutzbeauftragter ist erreichbar unter folgender E-Mail-Adresse: datenschutz@@example.org
-

-

- Diese Website nutzt aus SicherheitsgrΓΌnden und zum Schutz der Übertragung personenbezogene Daten und anderer vertraulicher Inhalte (z.B. Bestellungen oder Anfragen an den Verantwortlichen) eine SSL-bzw. TLS-VerschlΓΌsselung. Du kannst eine verschlΓΌsselte Verbindung an der Zeichenfolge β€žhttps://β€œ und dem Schloss-Symbol in Deiner Browserzeile erkennen.
-

-

- Datenerfassung beim Besuch unserer Website -

-

- Bei der bloß informatorischen Nutzung unserer Website, also wenn Du Dich nicht registrierst oder uns anderweitig Informationen ΓΌbermittelst, erheben wir nur solche Daten, die Dein Browser an unseren Server ΓΌbermittelt (sog. β€žServer-Logfilesβ€œ). Wenn Du unsere Website aufrufst, erheben wir die folgenden Daten, die fΓΌr uns technisch erforderlich sind, um Dir die Website anzuzeigen:
-

- -

- Die Verarbeitung erfolgt gemÀß Art. 6 Abs. 1 lit. f DSGVO auf Basis unseres berechtigten Interesses an der Verbesserung der StabilitÀt und FunktionalitÀt unserer Website. EmpfÀnger dieser Daten sind nur wir und unser Provider Netcup, mit welchem wir einen Auftragsverarbeitungsvertrag haben, um Deine Rechte schützen zu kânnen. - Eine Weitergabe oder anderweitige Verwendung der Daten findet nicht statt. - Wir behalten uns allerdings vor, die Server-Logfiles nachtrÀglich zu überprüfen, sollten konkrete Anhaltspunkte auf eine rechtswidrige Nutzung hinweisen.
-

-

- Dauer der Speicherung personenbezogener Daten -

-

- Die Dauer der Speicherung von personenbezogenen Daten bemisst sich anhand der jeweiligen gesetzlichen Aufbewahrungsfrist (z.B. handels- und steuerrechtliche Aufbewahrungsfristen). Nach Ablauf der Frist werden die entsprechenden Daten routinemÀßig gelâscht, sofern sie nicht mehr zur Vertragserfüllung oder Vertragsanbahnung erforderlich sind und/oder unsererseits kein berechtigtes Interesse an der Weiterspeicherung fortbesteht.
-

-

- Cookies -

-

- Um den Besuch unserer Website attraktiv zu gestalten und die Nutzung bestimmter Funktionen zu ermâglichen, verwenden wir auf verschiedenen Seiten sogenannte Cookies. Hierbei handelt es sich um kleine Textdateien, die auf Deinem EndgerÀt abgelegt werden. Einige der von uns verwendeten Cookies werden nach dem Ende der Browser-Sitzung, also nach Schließen Deines Browsers, wieder gelâscht (sog. Sitzungs-Cookies). Andere Cookies verbleiben auf Deinem EndgerÀt und ermâglichen uns oder unseren Partnerunternehmen (Cookies von Drittanbietern), Deinen Browser beim nÀchsten Besuch wiederzuerkennen (persistente Cookies). Werden Cookies gesetzt, erheben und verarbeiten diese im individuellen Umfang bestimmte Nutzerinformationen wie Browser- und Standortdaten sowie IP-Adresswerte. Persistente Cookies werden automatisiert nach einer vorgegebenen Dauer gelâscht, die sich je nach Cookie unterscheiden kann.
-

-

- Sofern durch einzelne von uns implementierte Cookies auch personenbezogene Daten verarbeitet werden, erfolgt die Verarbeitung gemÀß Art. 6 Abs. 1 lit. f DSGVO zur Wahrung unserer berechtigten Interessen an der bestmâglichen FunktionalitÀt der Website sowie einer kundenfreundlichen und effektiven Ausgestaltung des Seitenbesuchs.
-

-

- Wir arbeiten unter UmstΓ€nden mit Werbepartnern zusammen, die uns helfen, unser Internetangebot interessanter zu gestalten. Zu diesem Zweck werden fΓΌr diesen Fall bei Deinem Besuch unserer Website auch Cookies von Partnerunternehmen in Deinem Browser gespeichert (Cookies von Drittanbietern). Wenn wir mit vorbenannten Werbepartnern zusammenarbeiten, wirst Du ΓΌber den Einsatz derartiger Cookies und den Umfang der jeweils erhobenen Informationen innerhalb der nachstehenden AbsΓ€tze individuell und gesondert informiert.
-

-

- Bitte beachte, dass Du Deinen Browser so einstellen kannst, dass Du über das Setzen von Cookies informiert wirst und einzeln über deren Annahme entscheiden oder die Annahme von Cookies für bestimmte FÀlle oder generell ausschließen kannst. Jeder Browser unterscheidet sich in der Art, wie er die Cookie-Einstellungen verwaltet. Diese ist in dem Hilfemenü jedes Browsers beschrieben, welches Dir erlÀutert, wie Du Deine Cookie-Einstellungen Àndern kannst. Diese findest Du für die jeweiligen Browser unter den folgenden Links:
-

- -

- Bitte beachte auch, dass bei Nichtannahme von Cookies die FunktionalitΓ€t unserer Website eingeschrΓ€nkt sein kann.
-

-

- Spendenformular -

-

- Wenn Du unsere Fundraisingbox (Spendenformular) auf unserer Webseite nutzt, dann benâtigen wir von Dir folgende personenbezogene Daten: - Deinen Vor- und Nachnamen, Deine E-Mail-Adresse und Deine Bankverbindung mit Kontoinhaber, IBAN und BIC. Solltest Du uns durch eine einfache Überweisung spenden, bekommen wir alle diese Daten auch, bis auf die E-Mail-Adresse. - Wenn Du uns diese in der Überweisung mitteilst, wÀre das gut. - Gleichzeitig speichern wir folgende, von Dir eingegebene Daten (Name, E-Mail, Anschrift und Betrag) zur Ausstellung einer Spendenbescheinigung.
-

-

- Deine E-Mail-Adresse und die HΓΆhe deiner Spende wird ebenfalls von uns gespeichert, um spΓ€ter die MΓΆglichkeit zu schaffen, Deine UnterstΓΌtzung durch eine Spende ΓΌber eine sogenannte Badge-Anzeige in unserem Netzwerk ΓΆffentlich zu honorieren. - Solltest Du uns nicht nur finanziell unterstΓΌtzen, sondern auch Nutzer unseres Netzwerkes sein, wirst Du nach dem Go-Live unseres Netzwerkes selber entscheiden kΓΆnnen, ob diese Badges angezeigt werden sollen, oder nicht. - Dieser Punkt wird, sobald vollstΓ€ndig implementiert, nΓ€her in den Datenschutzbedingungen unseres Netzwerkes beschrieben sein.
-

-

- Als gemeinnΓΌtzige Organisation haben wir ein berechtigtes Interesse gem. Art. 6 Abs. 1 lit. f) DSGVO, unseren Spendern eine einfache und sichere ZahlungsmΓΆglichkeit zu bieten, welches die Rechtsgrundlage fΓΌr diese Verarbeitung ist. - Der Zweck ist die finanzielle UnterstΓΌtzung unserer gemeinnΓΌtzigen Organisation.
-

-

- Die Speicherdauer Deiner Daten betrΓ€gt aus steuerrechtlichen GrΓΌnden 10 Jahre. - Wir lΓΆschen diese Daten spΓ€testens 12 Monate danach.
-

-

- FΓΌr unser Spendenformular auf der Webseite nutzen wir den Finanzdienstleister Fundraisingbox, mit welchem wir einen entsprechenden Auftragsdatenverarbeitungsvertrag abgeschlossen haben, um Deine Rechte, wie unten angegegeben, im Zusammenhang mit Deiner Spende auch durchsetzen zu kΓΆnnen. - FundraisingBox und wir sind EmpfΓ€nger dieser Daten.
-

-

- Alle weiteren Finanzdienstleister bzw. Banken, die Du angeben kannst, arbeiten nicht im Auftrag von uns bzw. nach unseren Vorgaben, sondern eigenverantwortlich. - Diese sind, je nachdem, auf welchem Weg Du spendest, die GLS Bank, Paypal, VISA, Klarna, Stripe und Deine Bank, von der Du spendest. - FundraisingBox selber liefert dabei keine personenbezogenen Daten in ein Drittland. - Bei von Dir angegebenen bzw. genutzten Finanzdienstleistern kann dies unter UmstΓ€nden der Fall sein. - Von den oben angegebenen sind hier die Datenschutzinformationen noch einmal gesondert aufgefΓΌhrt:
-

- -

- Das Spendenformular ist auf unserer Webseite über einen sogenannten iFrame eingebunden und die Inhalte werden verschlüsselt zu FundraisingBox übertragen. - Dies bedeutet, dass niemand außer Dir und FundraisingBox bei dieser Übertragung Daten zu sehen bekommt. - Zu Fundraisingbox werden entsprechend Daten übertragen, die Dein Webbrowser liefert, also Deine IP-Adresse und, je nachdem, welchen Browser Du nutzt und wie er eingestellt ist, in der Regel Dein Betriebssystem, die Browserversion und einige andere Daten. - Zum Datenschutz von Fundraisingbox kannst Du hier die Details lesen: https://www.fundraisingbox.com/datensicherheit/.
-

-

- Support -

-

- Zweck -

-

- Wir stellen Dir zum Zweck der ProblemlΓΆsung einen Support zur VerfΓΌgung, wenn Du Probleme mit unserem Netzwerk, unserer Webseite oder der Clock-of-Change hast oder generell etwas von und mit uns geklΓ€rt haben willst. - Ebenso kannst Du den Support ΓΌber das Senden einer E-Mail erreichen. - Optional kannst Du, wenn Du Dich bei uns registriert hast, Deine vergangenen Support-Tickets betrachten.
-

-

- Personenbezogene Daten: - Um Dir kommunizieren zu kΓΆnnen, benΓΆtigen wir von Dir Deine E-Mail-Adresse und einen Namen oder ein Pseudonym, damit wir Dich ansprechen kΓΆnnen. - Optional kannst Du uns eine Telefonnummer angeben, unter welcher wir Dich erreichen kΓΆnnen, wenn Du das mΓΆchtest. - Weitere personenbezogene Daten kΓΆnnen im Text Deiner Support-Anfrage enthalten sein.
-

-

- Ebenfalls werden bei Deiner Anfrage, wenn sie ΓΌber unsere Support-Website stattfindet, Deine IP-Adresse und weitere Daten ΓΌbertragen, die Dein Browser uns liefert. - Diese Daten werden von uns nicht gespeichert (kein Logging).
-

-

- Speicherdauer -

-

- Wir speichern Deine Supportanfragen fΓΌr Dich, bis Du deinen Account lΓΆscht oder uns Bescheid gibst, dass Du sie gelΓΆscht haben mΓΆchtest. - Wir lΓΆschen allerdings jede Supportanfrage spΓ€testens nach 12 Monaten, nachdem sie geschlossen wurde.
-

-

- Rechtsgrundlage -

-

- Als gemeinnΓΌtzige Organisation haben wir ein berechtigtes Interesse gem. Art. 6 Abs. 1 lit. f) DSGVO, unseren Spendern eine einfache und sichere Support-MΓΆglichkeit fΓΌr die von uns zur VerfΓΌgung gestellten Dienste und damit zusammenhΓ€ngenden Fragen zu bieten. - Nutzer sind unter UmstΓ€nden mit Herausforderungen oder Fragestellungen konfrontiert, die sie nicht alleine lΓΆsen kΓΆnnen. - Mit dem Support bieten wir dafΓΌr eine notwendige Kommunikationsschnittstelle, die auch fΓΌr den Nutzer transparent einsehbar ist.
-

-

- EmpfΓ€nger -

-

- Deine personenbezogenen Daten kΓΆnnen nur wir sehen und prinzipiell auch unser Provider, mit welchem wir einen Auftragsdatenverarbeitungsvertrag haben, der unsere DurchgriffsmΓΆglichkeiten und Verantwortlichkeiten regelt.
-

-

- Drittlandtransfer -

-

- Unsere Support-Daten werden nicht in einem Drittland gespeichert oder verarbeitet.
-

-

- Nutzung deiner Daten zur Direktwerbung -

-

- Anmeldung zu unserem E-Mail-Newsletter -

-

- Wenn Du Dich zu unserem E-Mail Newsletter anmeldest, übersenden wir Dir regelmÀßig Informationen zu unseren Angeboten. - Pflichtangabe für die Übersendung des Newsletters ist allein Deine E-Mail-Adresse. - Die Angabe weiterer evtl. Daten ist freiwillig und wird verwendet, um Dich persânlich ansprechen zu kânnen. - Für den Versand des Newsletters verwenden wir das sog. Double Opt-in Verfahren. - Dies bedeutet, dass wir Dir erst dann einen E-Mail-Newsletter übermitteln werden, wenn Du uns ausdrücklich bestÀtigt hast, dass Du dem Versand des Newsletters einwilligst. - Wir schicken Dir dann eine BestÀtigungsmail, mit der Du gebeten wirst, durch Anklicken eines entsprechenden Links zu bestÀtigen, dass Du künftig unseren Newsletter erhalten willst.
-

-

- Mit der Aktivierung des BestÀtigungslinks erteilst Du uns Deine Einwilligung für die Nutzung Deiner personenbezogenen Daten gemÀß Art. 6 Abs. 1 lit. a DSGVO. - Bei der Anmeldung zum Newsletter speichern wir Deine vom Internet Service-Provider (ISP) eingetragene IP-Adresse sowie das Datum und die Uhrzeit der Anmeldung, um einen mâglichen Missbrauch Deiner E-Mailadresse zu einem spÀteren Zeitpunkt nachvollziehen zu kânnen. - Die von uns bei der Anmeldung zum Newsletter erhobenen Daten werden ausschließlich für Zwecke der werblichen Ansprache im Wege des Newsletters benutzt. - Du kannst den Newsletter jederzeit über den dafür vorgesehenen Link im Newsletter selbst oder durch entsprechende Nachricht an den Support (siehe Formular) abbestellen. - Nach erfolgter Abmeldung wird Deine E-Mailadresse unverzüglich in unserem Newsletter-Verteiler gelâscht, soweit Du nicht ausdrücklich zu einer weiteren Nutzung Deiner Daten eingewilligt hast oder wir uns eine darüberhinausgehende Datenverwendung vorbehalten, die gesetzlich erlaubt ist und über die wir Dich in dieser ErklÀrung informieren.
-

-

- Verwendung von Videos -

-

- Verwendung von Youtube-Videos -

-

- Diese Website nutzt die Youtube-Einbettungsfunktion zur Anzeige und Wiedergabe von Videos des Anbieters β€žYoutubeβ€œ, der zu der Google LLC., 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA (β€žGoogleβ€œ) gehΓΆrt.
-

-

- Hierbei wird der erweiterte Datenschutzmodus verwendet, der nach Anbieterangaben eine Speicherung von Nutzerinformationen erst bei Wiedergabe des/der Videos in Gang setzt. - Wird die Wiedergabe eingebetteter Youtube-Videos gestartet, setzt der Anbieter β€žYoutubeβ€œ Cookies ein, um Informationen ΓΌber das Nutzerverhalten zu sammeln. - Hinweisen von β€žYoutubeβ€œ zufolge dienen diese unter anderem dazu, Videostatistiken zu erfassen, die Nutzerfreundlichkeit zu verbessern und missbrΓ€uchliche Handlungsweisen zu unterbinden. - Wenn Du bei Google eingeloggt bist, werden Deine Daten direkt Deinem Konto zugeordnet, wenn Du ein Video anklickst. - Wenn Du die Zuordnung zu Deinen Profil bei YouTube nicht wΓΌnscht, muss Du Dich vor Aktivierung des Buttons ausloggen. - Google speichert Deine Daten (selbst fΓΌr nicht eingeloggte Nutzer) als Nutzungsprofile und wertet diese aus. - Eine solche Auswertung erfolgt insbesondere gemÀß Art. 6 Abs. 1 lit.f DSGVO auf Basis der berechtigten Interessen von Google an der Einblendung personalisierter Werbung, Marktforschung und/oder bedarfsgerechten Gestaltung seiner Website. - Dir steht ein Widerspruchsrecht gegen die Bildung dieser Nutzerprofile zu, wobei Du Dich zur AusΓΌbung dessen an YouTube richten musst.
-

-

- UnabhΓ€ngig von einer Wiedergabe der eingebetteten Videos wird bei jedem Aufruf dieser Website eine Verbindung zum Google-Netzwerk β€žDoubleClickβ€œ aufgenommen, was ohne unseren Einfluss weitere DatenverarbeitungsvorgΓ€nge auslΓΆsen kann.
-

-

- Google LLC mit Sitz in den USA ist fΓΌr das us-europΓ€ische DatenschutzΓΌbereinkommen β€žPrivacy Shieldβ€œ zertifiziert, welches die Einhaltung des in der EU geltenden Datenschutzniveaus gewΓ€hrleistet.
-

-

- Weitere Informationen zum Datenschutz bei β€žYouTubeβ€œ findest Du in der DatenschutzerklΓ€rung des Anbieters unter: https://www.google.de/intl/de/policies/privacy.
-

-

- Netzwerk -

-

- Wir betreiben ein gemeinnΓΌtziges soziales Wissens- und Aktionsnetzwerks, um den Herausforderungen unserer Zeit gemeinsam zu begegnen, die WΓΌrde des Menschen zu wahren und eine lebenswerte Zukunft fΓΌr alle Menschen und zukΓΌnftigen Generationen zu schaffen.
-

-

- Im Folgenden sind die Einzelnen Datenverarbeitungen aufgefΓΌhrt, die im Rahmen des Betriebs unseres Netzwerkes notwendig sind.
-

-

- Anmeldedaten -

-

- Zweck -

-

- Die Anmeldedaten werden fΓΌr die Anmeldung am Netzwerk benΓΆtigt.
-

-

- Personenbezogene Daten -

-

- Im Sinne der Datenminimierung registrierst Du Dich für unser Netzwerk einzig mit Deiner E-Mail-Adresse. - Weitere personenbezogene Daten sind für die Registrierung nicht nâtig. - Über diese E-Mail-Adresse stellen wir Deine IdentitÀt fest.
-

-

- In der Kommunikation mit uns spielt die von Dir verwendete E-Mail-Adresse also eine zentrale Rolle. - Daher werden wir alle von Dir ausgeΓΌbten Rechte und ggf. WΓΌnsche, die Du an uns richtest, immer ΓΌber Deine E-Mail-Adresse verifizieren. - Niemals werden wir auf Basis eines Anrufes oder einer sonstigen Information an Deinem Account etwas Γ€ndern, ihn z.B. lΓΆschen oder stillegen, ohne diese Verifizierung – außer, wir sind durch ein Gesetz dazu gezwungen. - Gesichert ist Dein Account in unserem Netzwerk ΓΌber ein Passwort, was von Dir selbst vergeben werden muss und jederzeit geΓ€ndert werden kann.
-

-

- Speicherdauer -

-

- Wir speichern Deine Anmeldedaten, bis Du deinen Account lΓΆschst oder uns via E-Mail Bescheid gibst, dass Du sie gelΓΆscht haben mΓΆchtest.
-

-

- Rechtsgrundlage -

-

- Die Einwilligung durch Registrierung am Netzwerk gem. Art. 6 Abs. 1 lit. a) DSGVO. - Die Einwilligung kann jederzeit durch Lâschen des Accounts samt aller Daten Widerrufen werden. - Beim Lâschen ist da Lâschen der BeitrÀge und Kommentare vorgegeben, aber optional. - Sollen BeitrÀge und Kommentare nicht gelâscht werden, werden diese anonymisiert. - Dadurch sind sie nicht mehr zuordenbar, weswegen auch anschließend kein Recht auf Lâschung mehr geltend gemacht werden kann.
-

-

- Die E-Mail-Adresse kann jederzeit selber geÀndert werden. - Durch den Widerruf der Einwilligung wird die RechtmÀßigkeit der aufgrund der Einwilligung bis zum Widerruf erfolgten Verarbeitung nicht berührt.
-

-

- EmpfΓ€nger -

-

- Deine personenbezogenen Daten kΓΆnnen nur wir und unser Provider einsehen, mit welchem wir einen Auftragsdatenverarbeitungsvertrag haben, der unsere DurchgriffsmΓΆglichkeiten und Verantwortlichkeiten regelt.
-

-

- Weitergabe an Dritte -

-

- Die Anmeldedaten werden nicht an Dritte weitergegeben, außer ein Gesetz zwingt uns dazu.
-

-

- Drittlandtransfer -

-

- Die Daten werden nicht in einem Drittland gespeichert.
-

-

- Profildaten -

-

- Zweck -

-

- Die Profildaten ermΓΆglichen es Nutzern, freiwillig weitere Informationen ΓΌber sich weltweit und frei abrufbar zu verΓΆffentlichen.
-

-

- Personenbezogene Daten -

-

- Angaben, wie Dein Pseudonym, ein Avatar-Bildchen oder weitere Angaben, die ggf. auch personenbezogene Daten sein kΓΆnnen, vergibst Du selbst.
-

-

- Speicherdauer -

-

- Wir speichern Deine Profildaten, bis Du sie lΓΆscht. Da die Daten ΓΆffentlich sind, kΓΆnnen sie von Dritten kopiert worden sein und sind daher ggf. nicht zurΓΌckholbar.
-

-

- Rechtsgrundlage -

-

- Die Einwilligung gem. Art. 6 Abs. 1 lit. a), diese Profildaten ΓΆffentlich zu machen. - Die VerΓΆffentlichung geschieht mit der Eingabe. - Die Einwilligung kann jederzeit durch LΓΆschen der Daten widerrufen werden. - Die Profildaten kΓΆnnen jederzeit selber geΓ€ndert werden.
-

-

- EmpfΓ€nger -

-

- Deine Profildaten sind ΓΆffentlich und kΓΆnnen weltweit von jedem, der zugreift, gesehen werden.
-

-

- Dritte -

-

- Deine Profildaten sind ΓΆffentlich und kΓΆnnen weltweit von jedem, der zugreift, gesehen werden.
-

-

- Drittlandtransfer -

-

- Die Daten werden von uns nicht in einem Drittland gespeichert oder an ein solches ΓΌbertragen.
-

-

- Session-Daten -

-

- Zweck -

-

- Speicherung der Anmeldung im Browser, damit nicht jeder Seitenaufruf eine neue Anmeldung erfordert.
-

-

- Personenbezogene Daten -

-

- Ein Session-Cookie, der in Deinem Webbrowser gespeichert wird.
-

-

- Speicherdauer -

-

- Wir speichern Diesen Cookie einen Tag lang.
-

-

- Cookies -

-

- Dieser Cookie wird gespeichert:
-

- - - - - - - - - - - - - - - - - -
- Name - - Zweck - - Speicherdauer - - Typ -
- ocelot-social-token - - Merken der Anmeldung am Netzwerk. - Mit diesem CookieΒ bleibst Du bis zu einem Tag in unserem Netzwerk angemeldet. - - 730 Tage, ca. 2 Jahre - - HTTP-Cookie -
-

- Rechtsgrundlage -

-

- Das berechtigtes Interesse gem. Art. 6 Abs. 1 lit. f), unseren Nutzern das Login auf unser Netzwerk technisch zu ermΓΆglichen.
-

-

- EmpfΓ€nger -

-

- Deine personenbezogenen Daten kΓΆnnen nur wir und unser Provider, mit welchem wir einen Auftragsdatenverarbeitungsvertrag haben, der unsere DurchgriffsmΓΆglichkeiten und Verantwortlichkeiten regelt.
-

-

- Drittlandtransfer -

-

- Die Daten werden nicht in einem Drittland gespeichert.
-

-

- Browser-Zugriffsdaten -

-

- Zweck -

-

- Technische FunktionsfΓ€higkeit der Webanwendung inkl. korrekter Darstellung in der jeweiligen Landessprache.
-

-

- Personenbezogene Daten -

-

- Übertragen werden u.a., je nach verwendetem Browser und dessen Einstellungen: - Datum und Uhrzeit des Zugriffes, Menge der gesendeten Daten in Byte, ggf. Quelle/Verweis, von welcher Seite Du auf unsere jeweilige gelangst, verwendeter Browser, verwendetes Betriebssystem, Sprachinformation, Grâße des Browserfensters, verwendete IP-Adresse.
-

-

- Speicherdauer -

-

- Diese Daten werden von uns nicht gespeichert, sondern nur zur Beantwortung der konkreten Anfrage verwendet.
-

-

- Rechtsgrundlage -

-

- Das berechtigtes Interesse gem. Art. 6 Abs. 1 lit. f), unseren Nutzern die Nutzung unseres netzwerkes technisch zu ermΓΆglichen.
-

-

- EmpfΓ€nger -

-

- Deine personenbezogenen Daten kΓΆnnen nur wir und unser Provider, mit welchem wir einen Auftragsdatenverarbeitungsvertrag haben, der unsere DurchgriffsmΓΆglichkeiten und Verantwortlichkeiten regelt.
-

-

- Drittlandtransfer -

-

- Die Daten werden nicht in einem Drittland gespeichert.
-

-

- Inhalte -

-

- Zweck -

-

- VerΓΆffentlichung von Inhalten in unserem weltweit offenen sozialen Wissens- und Aktionsnetzwerk.
-

-

- Personenbezogene Daten -

-

- Alle BeitrΓ€ge und Kommentare
-

-

- Speicherdauer -

-

- Wir speichern Deine BeitrΓ€ge und Kommentare, bis Du sie lΓΆscht. - Da die Daten ΓΆffentlich sind, kΓΆnnen sie von Dritten kopiert worden sein und sind daher ggf. nicht zurΓΌckholbar.
-

-

- Rechtsgrundlage -

-

- Die Einwilligung zur Verâffentlichung gem. Art. 6 Abs. 1 lit. a). Die Verâffentlichung geschieht mit der Eingabe. - Die Einwilligung kann jederzeit durch Lâschen der BeitrÀge und Kommentare widerrufen werden. - Die BeitrÀge und Kommentare kânnen jederzeit selber geÀndert werden. - Durch den Widerruf der Einwilligung wird die RechtmÀßigkeit der aufgrund der Einwilligung bis zum Widerruf erfolgten Verarbeitung nicht berührt.
-

-

- EmpfΓ€nger -

-

- Deine BeitrΓ€ge und Kommentare sind ΓΆffentlich und kΓΆnnen weltweit von jedem, der zugreift, gesehen werden.
-

-

- Dritte -

-

- Deine BeitrΓ€ge und Kommentare sind ΓΆffentlich und kΓΆnnen weltweit von jedem, der zugreift, gesehen werden.
-

-

- Drittlandtransfer -

-

- Die Daten werden von uns nicht in einem Drittland gespeichert oder an ein solches ΓΌbertragen.
-

-

- Einbettung von Inhalten von Drittanbietern -

-

- Der Nutzer kann einwilligen, dass Inhalte von Drittanbietern, wie Facebook, Twitter oder Vimeo nicht als Link dargestellt werden, sondern optional in der Webseite angezeigt bzw. abgespielt werden. - Wir empfehlen, darauf zu verzichten. - Die Grundeinstellung in unserem Netzwerk ist, dass Inhalte von Drittanbietern nicht eingebunden werden.
-

-

- Zweck -

-

- Darstellung der Inhalte von Drittanbietern, wie Facebook, Twitter im Kontext des jeweiligen Artikels oder Beitrags im Browser des Nutzers.
-

-

- Personenbezogene Daten, Speicherdauer, EmpfΓ€nger und Drittlandtransfer -

-

- Man kann prinzipiell davon ausgehen, dass Dienste von Drittanbietern durch das Sammeln von Daten ΓΌber Dich bzw. den damit mΓΆglichen Gewinnen finanziert werden. - Daher raten wir davon ab, das Einbinden von Drittanbieterinhalten einzuschalten.
-

-

- Die von den Drittanbietern gesammelten personenbezogenen Daten und deren Verwendung kânnen wir letztendlich nicht kontrollieren. - Sie sind auch keine Auftragsverarbeiter von uns oder funktionaler Bestandteil unseres Netzwerkes, sondern eigenstÀndig Verantwortliche. - Ein Nutzer kann sich entscheiden, von anderen Nutzern eingestellte Links bzw. deren Inhalte Inhalte eingebettet anzuzeigen. - Die dabei preisgegebenen personenbezogenen daten entsprechen im Großen und Ganzen denen eines Aufrufes des jeweiligen Links. - Dies sind, abhÀngig vom jeweiligen Browser des Nutzers und seiner Einstellung zum Beispiel:
-

- -

- Ebenso kΓΆnnen Cookies von Drittanbietern gesetzt und gespeichert werden, wenn Du dies in Deinem Browser zugelassen hast.
-

-

- Drittanbieter Γ€ndern ihre GeschΓ€ftsbedingungen in der Regel hΓ€ufiger. - Daher sind hier die jeweiligen Nutzungsbedingungen und Datenschutzbestimmungen mit genauen und stets aktuellen Details verlinkt:
-

- -

- Rechtsgrundlage -

-

- Einwilligung des Nutzers gem. Art. 6 Abs. 1 lit. a) durch Freischalten der Einbettung in den Benutzereinstellungen. - Die Einwilligung kann jederzeit in den Benutzereinstellungen widerrufen werden. - Durch den Widerruf der Einwilligung wird die RechtmÀßigkeit der aufgrund der Einwilligung bis zum Widerruf erfolgten Verarbeitung nicht berührt.
-

-

- Youtube-Videos -

-

- Zweck -

-

- Freiwillige Einbettung von Youtube-Videos auf unserer Webseite um Videos in der Webseite und nicht in einem neuen Browserfenster darzustellen.
-

-

- Marketing-Cookies werden von Google genutzt, um Nutzer zu tracken. Der Hintergrund ist die Anzeige von personalisierter Werbung, wofΓΌr entsprechende Daten gesammelt werden. - Wir empfehlen das Netzwerk in den Benutzereinstellungen so zu konfigurieren, dass eingebettete Objekte nicht verwendet werden. - Die Inhalte werden dann nicht dargestellt und keine Cookies gespeichert und personenbezogene Daten ΓΌbertragen.
-

-

- Hier die aktuellsten mitgeltenden Google-Datenschutzbestimmungen.
-

-

- Personenbezogene Daten -

-

- Oben angegebene Daten zum Browserzugriff und die hier folgenden Cookie-Daten mit Details:
-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Name - - Zweck - - Speicherdauer - - Typ -
- GPS - - Registriert eine eindeutige ID auf mobilen GerΓ€ten, um Tracking basierend auf dem geografischen GPS-Standort zu ermΓΆglichen. - - 30 Minuten - - HTTP-Cookie -
- PREF - - Registriert eine eindeutige ID, die von Google verwendet wird, um Statistiken dazu, wie der Besucher YouTube-Videos auf verschiedenen Websites nutzt, zu behalten. - - 8 Monate - - HTTP-Cookie -
- VISITOR_INFO1_LIVE - - Versucht, die Benutzerbandbreite auf Seiten mit integrierten YouTube-Videos zu schΓ€tzen. - - 6 Monate - - HTTP-Cookie -
- YSC - - Registriert eine eindeutige ID, die das GerΓ€t eines wiederkehrenden Benutzers identifiziert. Die ID wird fΓΌr gezielte Werbung genutzt. - - Sitzungsende - - HTTP-Cookie -
- yt-player-bandwith - - Wird verwendet, um die optimale VideoqualitΓ€t basierend auf den GerΓ€te- und Netzwerkeinstellungen des Besuchers zu bestimmen. - - Dauerhaft - - Local Storage -
- yt-player-headers-readable - - Sammelt Daten zur Besucherinteraktion mit dem Video-Inhalt der Webseite – Diese Daten werden verwendet, um den Video-Inhalt der Webseite fΓΌr den Besucher relevanter zu machen. - - Dauerhaft - - Local Storage -
- yt-remote-connected-devices - - Speichert die Benutzereinstellungen beim Abruf eines auf anderen Webseiten integrierten Youtube-Videos. - - Dauerhaft - - Local Storage -
- yt-remote-device-id - - Speichert die Benutzereinstellungen beim Abruf eines auf anderen Webseiten integrierten Youtube-Videos. - - Dauerhaft - - Local Storage -
- yt-remote-fast-check-period - - Speichert die Benutzereinstellungen beim Abruf eines auf anderen Webseiten integrierten Youtube-Videos. - - Sitzungsende - - Session Storage -
- yt-remote-session-app - - Speichert die Benutzereinstellungen beim Abruf eines auf anderen Webseiten integrierten Youtube-Videos. - - Sitzungsende - - Session Storage -
- yt-remote-session-name - - Speichert die Benutzereinstellungen beim Abruf eines auf anderen Webseiten integrierten Youtube-Videos. - - Sitzungsende - - Session Storage -
-

- Speicherdauer -

-

- Datails siehe oben.
-

-

- Rechtsgrundlage -

-

- Die Einwilligung gem. Art. 6 Abs. 1 lit. a) durch Freischalten der Einbettung in den Benutzereinstellungen. - Die Einwilligung kann jederzeit in den Benutzereinstellungen widerrufen werden. - Durch den Widerruf der Einwilligung wird die RechtmÀßigkeit der aufgrund der Einwilligung bis zum Widerruf erfolgten Verarbeitung nicht berührt.
-

-

- EmpfΓ€nger -

-

- Der Drittanbieter β€žYoutubeβ€œ, der zu der Google LLC., 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA (β€žGoogleβ€œ) gehΓΆrt.
-

-

- Drittlandtransfer -

-

- Die Daten werden nicht in einem Drittland gespeichert.
-

-

- Rechte des Betroffenen -

-

- Das geltende Datenschutzrecht gewΓ€hrt Dir gegenΓΌber dem Verantwortlichen hinsichtlich der Verarbeitung Deiner personenbezogenen Daten umfassende Betroffenenrechte (Auskunfts- und Interventionsrechte), ΓΌber die wir Dich nachstehend informieren:
-

-

- Auskunftsrecht gemÀß Art. 15 DSGVO: -

-

- Du hast insbesondere ein Recht auf Auskunft über Deine von uns verarbeiteten personenbezogenen Daten, die Verarbeitungszwecke, die Kategorien der verarbeiteten personenbezogenen Daten, die EmpfÀnger oder Kategorien von EmpfÀngern, gegenüber denen Deine Daten offengelegt wurden oder werden, die geplante Speicherdauer bzw. die Kriterien für die Festlegung der Speicherdauer, das Bestehen eines Rechts auf Berichtigung, Lâschung, EinschrÀnkung der Verarbeitung, Widerspruch gegen die Verarbeitung, Beschwerde bei einer Aufsichtsbehârde, die Herkunft Deiner Daten, wenn diese nicht durch uns bei Dir erhoben wurden, das Bestehen einer automatisierten Entscheidungsfindung einschließlich Profiling und ggf. aussagekrÀftige Informationen über die involvierte Logik und die Dich betreffende Tragweite und die angestrebten Auswirkungen einer solchen Verarbeitung, sowie Dein Recht auf Unterrichtung, welche Garantien gemÀß Art. 46 DSGVO bei Weiterleitung Deiner Daten in DrittlÀnder bestehen;
-

-

- Recht auf Berichtigung gemÀß Art. 16 DSGVO: -

-

- Du hast ein Recht auf unverzΓΌgliche Berichtigung Dich betreffender unrichtiger Daten und/oder VervollstΓ€ndigung Deiner bei uns gespeicherten unvollstΓ€ndigen Daten;
-

-

- Recht auf Lâschung gemÀß Art. 17 DSGVO: -

-

- Du hast das Recht, die Lâschung Deiner personenbezogenen Daten bei Vorliegen der Voraussetzungen des Art. 17 Abs. 1 DSGVO zu verlangen. - Dieses Recht besteht jedoch insbesondere dann nicht, wenn die Verarbeitung zur Ausübung des Rechts auf freie MeinungsÀußerung und Information, zur Erfüllung einer rechtlichen Verpflichtung, aus Gründen des âffentlichen Interesses oder zur Geltendmachung, Ausübung oder Verteidigung von Rechtsansprüchen erforderlich ist.
-

-

- Recht auf EinschrÀnkung der Verarbeitung gemÀß Art. 18 DSGVO: -

-

- Du hast das Recht, die EinschrΓ€nkung der Verarbeitung Deiner personenbezogenen Daten zu verlangen, solange die von Dir bestrittene Richtigkeit Deiner Daten ΓΌberprΓΌft wird, wenn Du eine LΓΆschung Deiner Daten wegen unzulΓ€ssiger Datenverarbeitung ablehnst und stattdessen die EinschrΓ€nkung der Verarbeitung Deiner Daten verlangst, wenn Du Deine Daten zur Geltendmachung, AusΓΌbung oder Verteidigung von RechtsansprΓΌchen benΓΆtigst, nachdem wir diese Daten nach Zweckerreichung nicht mehr benΓΆtigen oder wenn Du Widerspruch aus GrΓΌnden Deiner besonderen Situation eingelegt habst, solange noch nicht feststeht, ob unsere berechtigten GrΓΌnde ΓΌberwiegen.
-

-

- Recht auf Unterrichtung gemÀß Art. 19 DSGVO: -

-

- Hast Du das Recht auf Berichtigung, Lâschung oder EinschrÀnkung der Verarbeitung gegenüber dem Verantwortlichen geltend gemacht, ist dieser verpflichtet, allen EmpfÀngern, denen die Dich betreffenden personenbezogenen Daten offengelegt wurden, diese Berichtigung oder Lâschung der Daten oder EinschrÀnkung der Verarbeitung mitzuteilen, es sei denn, dies erweist sich als unmâglich oder ist mit einem unverhÀltnismÀßigen Aufwand verbunden. - Dir steht das Recht zu, über diese EmpfÀnger unterrichtet zu werden.
-

-

- Recht auf Datenübertragbarkeit gemÀß Art. 20 DSGVO: -

-

- Du hast das Recht, Deine personenbezogenen Daten, die Du uns bereitgestellt habst, in einem strukturierten, gÀngigen und maschinenlesebaren Format zu erhalten oder die Übermittlung an einen anderen Verantwortlichen zu verlangen, soweit dies technisch machbar is.
-

-

- Recht auf Widerruf erteilter Einwilligungen gemÀß Art. 7 Abs. 3 DSGVO: -

-

- Du hast das Recht, eine einmal erteilte Einwilligung in die Verarbeitung von Daten jederzeit mit Wirkung für die Zukunft zu widerrufen. - Im Falle des Widerrufs werden wir die betroffenen Daten unverzüglich lâschen, sofern eine weitere Verarbeitung nicht auf eine Rechtsgrundlage zur einwilligungslosen Verarbeitung gestützt werden kann. - Durch den Widerruf der Einwilligung wird die RechtmÀßigkeit der aufgrund der Einwilligung bis zum Widerruf erfolgten Verarbeitung nicht berührt.
-

-

- Recht auf Beschwerde gemÀß Art. 77 DSGVO: -

-

- Wenn Du der Ansicht bist, dass die Verarbeitung der Dich betreffenden personenbezogenen Daten gegen die DSGVO verstâßt, hast Du – unbeschadet eines anderweitigen verwaltungsrechtlichen oder gerichtlichen Rechtsbehelfs – das Recht auf Beschwerde bei einer AufsichtsbehΓΆrde, insbesondere in dem Mitgliedstaat Deines Aufenthaltsortes, Deines Arbeitsplatzes oder des Ortes des mutmaßlichen Verstoßes.
-

-

- WIDERSPRUCHSRECHT -

-

- WENN WIR IM RAHMEN EINER INTERESSENABWΓ„GUNG IHRE PERSONENBEZOGENEN DATEN AUFGRUND UNSERES ÜBERWIEGENDEN BERECHTIGTEN INTERESSES VERARBEITEN, HAST DU DAS JEDERZEITIGE RECHT, AUS GRÜNDEN, DIE SICH AUS DEINER BESONDEREN SITUATION ERGEBEN, GEGEN DIESE VERARBEITUNG WIDERSPRUCH MIT WIRKUNG FÜR DIE ZUKUNFT EINZULEGEN.
- MACHST DU VON DEINEM WIDERSPRUCHSRECHT GEBRAUCH, BEENDEN WIR DIE VERARBEITUNG DER BETROFFENEN DATEN. - EINE WEITERVERARBEITUNG BLEIBT ABER VORBEHALTEN, WENN WIR ZWINGENDE SCHUTZWÜRDIGE GRÜNDE FÜR DIE VERARBEITUNG NACHWEISEN KΓ–NNEN, DIE DEINE INTERESSEN, GRUNDRECHTE UND GRUNDFREIHEITEN ÜBERWIEGEN, ODER WENN DIE VERARBEITUNG DER GELTENDMACHUNG, AUSÜBUNG ODER VERTEIDIGUNG VON RECHTSANSPRÜCHEN DIENT.
-

-

- WERDEN DEINE PERSONENBEZOGENEN DATEN VON UNS VERARBEITET, UM DIREKTWERBUNG ZU BETREIBEN, HAST DU DAS RECHT, JEDERZEIT WIDERSPRUCH GEGEN DIE VERARBEITUNG SIE BETREFFENDER PERSONENBEZOGENER DATEN ZUM ZWECKE DERARTIGER WERBUNG EINZULEGEN. - DU KANNST DEN WIDERSPRUCH WIE OBEN BESCHRIEBEN AUSÜBEN.
-

-

- MACHST DU VON DEINEM WIDERSPRUCHSRECHT GEBRAUCH, BEENDEN WIR DIE VERARBEITUNG DER BETROFFENEN DATEN ZU DIREKTWERBEZWECKEN.
-

-
- - diff --git a/deployment/configurations/example/branding/templates/locales/html/hc-y2020/de/terms-and-conditions.html b/deployment/configurations/example/branding/templates/locales/html/hc-y2020/de/terms-and-conditions.html deleted file mode 100644 index fe02cdab5..000000000 --- a/deployment/configurations/example/branding/templates/locales/html/hc-y2020/de/terms-and-conditions.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - -
-

- FΓΌr das soziale Netzwerk {{ organization }} -

-

- Nutzungsbedingungen -

-

- Die folgenden Nutzungsbedingungen sind Basis fΓΌr die Nutzung unseres {{ networkName }} Netzwerkes. - Beim Registrieren musst Du diese anerkennen und wir werden Dich auch spΓ€ter ΓΌber ggf. stattfindende Γ„nderungen informieren. - Unser Netzwerk wird in der {{ organizationLocation }} betrieben und unterliegt daher {{ organizationLocation2 }} Recht. - Gerichtsstand ist {{ legacyLocation }}. - Zu Details schau in unser Impressum: https://{{ networkURL }}/imprint/.
-

-

- Nutzung und Lizenz -

-

- Sind Inhalte, die Du bei uns einstellst, durch Rechte am geistigen Eigentum geschΓΌtzt, erteilst Du uns eine nicht-exklusive, ΓΌbertragbare, unterlizenzierbare und weltweite Lizenz fΓΌr die Nutzung dieser Inhalte fΓΌr die Bereitstellung in unserem Netzwerk. - Diese Lizenz endet, sobald Du Deine Inhalte oder Deinen ganzen Account lΓΆscht. - Bedenke, dass andere Deine Inhalte weiter teilen kΓΆnnen und wir diese nicht lΓΆschen kΓΆnnen.
-

-

- Datenschutz -

-

- Unser Netzwerk ist ein soziales Wissens- und Aktionsnetzwerk. - Daher ist es uns besonders wichtig, dass mâglichst viele Inhalte âffentlich zugÀnglich sind. - Im Laufe der Entwicklung unseres Netzwerkes wird es mehr und mehr die Mâglichkeit geben, über die Sichtbarkeit der selbst angegebenen bzw. persânlichen Daten zu entscheiden. - Über diese neuen Funktionen werden wir Euch informieren. - Ansonsten gilt, dass Du immer darüber nachdenken solltest, welche persânlichen Daten Du über Dich (oder andere) preisgibst. - Dies gilt insbesondere für Inhalte von BeitrÀgen und Kommentaren, da diese einen weitgehend âffentlichen Charakter haben. - SpÀter wird es Mâglichkeiten geben, die Sichtbarkeit Deines Profils einzuschrÀnken. - Teil der Nutzungsbedingungen ist unsere DatenschutzerklÀrung, die Dich über die einzelnen Datenverarbeitungen in unserem Netzwerk informiert: https://{{ networkURL }}/data-privacy. - Unsere DatenschutzerklÀrung ist an die Gesetzeslage und die Charakteristika unseres Netzwerks angepasst und gilt immer in der aktuellsten Version.
-

-

- Verhaltenscodex -

-

- Unser Verhaltenskodex dient als Leitfaden für das persânliche Auftreten und den Umgang miteinander. - Wer als Nutzer im {{ networkName }} Netzwerk aktiv ist, BeitrÀge verfasst, kommentiert oder mit anderen Nutzern, auch außerhalb des Netzwerkes, Kontakt aufnimmt, erkennt diese Verhaltensregeln als verbindlich an. https://{{ networkURL }}/code-of-conduct
-

-

- Moderation -

-

- Bis unsere finanziellen MΓΆglichkeiten uns erlauben, das Community-Moderationssystem zu implementieren, moderieren wir mit einem vereinfachten System und eigenen bzw. ggf. ehrenamtlichen Mitarbeitern. - Wir schulen diese Moderatoren und aus diesem Grund treffen auch nur diese entsprechende Entscheidungen. - Diese Moderatoren fΓΌhren Ihre TΓ€tigkeit anonym aus. - Du kannst uns BeitrΓ€ge, Kommentare und auch Nutzer melden (wenn diese zum Beispiel in ihrem Profil Angaben machen oder Bilder haben, die diese Nutzungsbedingungen verletzen). - Wenn Du uns etwas meldest, kannst Du einen Meldegrund angeben und noch eine kurze ErlΓ€uterung mitgeben. - Wir schauen uns dann das Gemeldete an und sanktionieren ggf., z.B. indem wir BeitrΓ€ge, Kommentare oder Nutzer sperren. - Du und auch der Betroffene erhalten derzeitig von uns leider noch keine RΓΌckmeldung, das ist aber in Planung. - UnabhΓ€ngig davon behalten wir uns prinzipiell Sanktionen vor aus GrΓΌnden, die unter UmstΓ€nden nicht oder noch nicht in unserem Verhaltenscodex oder diesen Nutzungsbedingungen aufgefΓΌhrt sind.
-

-

- Fehler und RΓΌckmeldungen -

-

- Wir sind sehr bemΓΌht, unser Netzwerk und unsere Daten sicher und abrufbar zu erhalten. - Jede neue Version der Software durchlΓ€uft sowohl automatisierte als auch manuelle Tests. - Es kΓΆnnen jedoch unvorhergesehene Fehler auftreten. - Deshalb sind wir dankbar fΓΌr jeden gemeldeten Fehler. - Du kannst gerne jeden von Dir entdeckten Fehler dem Support/der Hilfe-Assistenz mitteilen: https://{{ networkURL }}/support.
-

-

- Keine kommerzielle Nutzung -

-

- Die Nutzung des {{ networkName }} Netzwerkes ist nicht fΓΌr kommerzielle Zwecke gestattet. - Darunter fΓ€llt unter anderem das Bewerben von Produkten mit kommerzieller Absicht, das Einstellen von Affiliate-Links (GeschΓ€ftspartner-Links), direkter Aufruf zu Spenden oder finanzieller UnterstΓΌtzung fΓΌr Zwecke, die steuerlich nicht als gemeinnΓΌtzig anerkannt sind.
-

-

- Keine politische Nutzung -

-

- Nutzerkonten von politischen Parteien oder offizielle Nutzerkonten eines politischen Vertreters sind unzulΓ€ssig.
-

-

- Hilfe und Fragen -

-

- FΓΌr Hilfe und Fragen haben wir Dir eine umfassende Sammlung an hΓ€ufig gestellten Fragen und Antworten (FAQ) zusammengestellt; Du findest diese auf https://{{ networkURL }}/faq.
-

-
- - diff --git a/deployment/configurations/example/branding/templates/locales/html/hc-y2020/en/code-of-conduct.html b/deployment/configurations/example/branding/templates/locales/html/hc-y2020/en/code-of-conduct.html deleted file mode 100644 index 682b8d491..000000000 --- a/deployment/configurations/example/branding/templates/locales/html/hc-y2020/en/code-of-conduct.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - -
-

- For the social network of {{ organization }} -

-

- PrΓ€ambel -

-

- {{ networkName }} is a non-profit social knowledge and action network of the next generation. - By people - for people. Free software, open source, fair and transparent. - For positive local and global change in all areas of life. - We completely redesign the public exchange of knowledge, ideas and projects. - The functions of {{ networkName }} bring people together - offline and online - so that we can make the world a better place.
-

-

- Purpose -

-

- With these code of conduct we regulate the essential principles for behavior in our social network. - The United Nations Charter of Human Rights is our orientation and forms the heart of our understanding of values. - The code of conduct serves as guiding principles for our personal appearance and interaction with one another. - Anyone who is active as a user in the {{ networkName }} Network, writes articles, comments or contacts other users, including those outside the network,acknowledges these rules of conduct as binding.
-

-

- Expected Behaviour -

-

- The following behaviors are expected and requested of all community members:
-

- -

- Unacceptable Behavior -

-

- The following behaviors are unacceptable within our community:
-

- -

- Consequences of Unacceptable Behavior -

-

- If a community member exhibits unacceptable behaviour, the responsible operators, moderators and administrators of the network may take appropriate measures, including but not limited to:
-

- -

- If you are subject to or witness unacceptable behavior, or have any other concerns, please notify a community organizer as soon as possible and link or refer to the corresponding content. - Please click on the three dots on the post, comment or user and report it using the drop-down menu.
-

-
- - diff --git a/deployment/configurations/example/branding/templates/locales/html/hc-y2020/en/terms-and-conditions.html b/deployment/configurations/example/branding/templates/locales/html/hc-y2020/en/terms-and-conditions.html deleted file mode 100644 index 4687b8c45..000000000 --- a/deployment/configurations/example/branding/templates/locales/html/hc-y2020/en/terms-and-conditions.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - -
-

- For the social network of {{ organization }} -

-

- Terms of Service -

-

- The following terms of use form the basis for the use of our network. - When you register, you must accept them and we will inform you later about any changes that may take place. - The {{ networkName }} Network is operated in Germany and is therefore subject to German law. - Place of jurisdiction is {{ organizationLocation }}. - For details see our imprint: https://{{ networkURL }}/imprint/
-

-

- Use and License -

-

- If any content you post to us is protected by intellectual property rights, you grant us a non-exclusive, transferable, sublicensable, worldwide license to use such content for posting to our network. - This license expires when you delete your content or your entire account. - Remember that others may share your content and we cannot delete it.
-

-

- Privacy Statement -

-

- Our network is a social knowledge and action network. - It is therefore particularly important to us that as much content as possible is publicly accessible. - In the course of the development of our network there will be more and more the possibility to decide about the visibility of the personal data. - We will inform you about these new features. - Otherwise, you should always think about which personal data you disclose about yourself (or others). - This applies in particular to the content of posts and comments, as these have a largely public character. - Later there will be possibilities to limit the visibility of your profile. - Part of the terms of service is our privacy statement, which informs you about the individual data processing operations in our network: https://{{ networkURL }}/data-privacy. - Our privacy statement is adapted to the legal situation and characteristics of our network and is always valid in the most current version.
-

-

- Code of Conduct -

-

- Our code of conduct serves as a handbook for personal appearance and interaction with each other. - Whoever is active as a user in the {{ networkName }} network, writes articles, comments or makes contact with other users, even outside the network, acknowledges these rules of conduct as binding. https://{{ networkURL }}/code-of-conduct
-

-

- Moderation -

-

- Until our financial possibilities allow us to implement the community moderation system, we moderate with a simplified system and with our own or possibly volunteer staff. - We train these moderators and for this reason only they make the appropriate decisions. - These moderators carry out their work anonymously. - You can report posts, comments and users to us (for example, if they provide information in their profile or have images that violate these Terms of Use). - If you report something to us, you can give us a reason and a short explanation. - We will then take a look at what you have reported and sanction you if necessary, e.g. by blocking contributions, comments or users. - Unfortunately, you and the person concerned will not receive any feedback from us at this time, but this is in the planning stage. - Irrespective of this, we reserve the right to impose sanctions in principle for reasons that may not or not yet be listed in our Code of Conduct or these terms of service.
-

-

- Errors and Feedback -

-

- We make every effort to keep our network and data secure and available. - Each new release of the software goes through both automated and manual testing. - However, unforeseen errors may occur. Therefore, we are grateful for any reported bugs. - You are welcome to report any bugs you discover by emailing Support at https://{{ networkURL }}/support
-

-

- No Commercial Use -

-

- The use of the {{ networkName }} Network is not permitted for commercial purposes. - This includes, but is not limited to, advertising products with commercial intent, posting affiliate links, directly soliciting donations, or providing financial support for purposes that are not recognized as charitable for tax purposes.
-

-

- No Political Use -

-

- User accounts of political parties or official user accounts of a political representative are not permitted.
-

-

- Help and Questions -

-

- For help and questions we have compiled a comprehensive collection of frequently asked questions and answers (FAQ) for you. You can find them here: https://{{ networkURL }}/faq
-

-
- - diff --git a/deployment/configurations/example/kubernetes/dns.values.template.yaml b/deployment/configurations/example/kubernetes/dns.values.template.yaml deleted file mode 100644 index 09539e37e..000000000 --- a/deployment/configurations/example/kubernetes/dns.values.template.yaml +++ /dev/null @@ -1,12 +0,0 @@ -# please duplicate template file and rename to "dns.values.yaml" and fill in your value - -provider: digitalocean -digitalocean: - # create the API token at https://cloud.digitalocean.com/account/api/tokens - # needs read + write - apiToken: "TODO" -domainFilters: - # domains you want external-dns to be able to edit - - TODO.TODO -rbac: - create: true \ No newline at end of file diff --git a/deployment/configurations/example/kubernetes/values.template.yaml b/deployment/configurations/example/kubernetes/values.template.yaml deleted file mode 100644 index 86c02310c..000000000 --- a/deployment/configurations/example/kubernetes/values.template.yaml +++ /dev/null @@ -1,120 +0,0 @@ -# please duplicate template file and rename to "values.yaml" and fill in your value - -# change all the below if needed -MAPBOX_TOKEN: "pk.eyJ1IjoiYnVzZmFrdG9yIiwiYSI6ImNraDNiM3JxcDBhaWQydG1uczhpZWtpOW4ifQ.7TNRTO-o9aK1Y6MyW_Nd4g" -PRODUCTION_DB_CLEAN_ALLOW: false # only true for production environments on staging servers -PUBLIC_REGISTRATION: false -INVITE_REGISTRATION: false -COOKIE_EXPIRE_TIME: 730 # days (730 days, two years is the default in main code) -CATEGORIES_ACTIVE: false - -BACKEND: - # change all the below if needed - # DOCKER_IMAGE_REPO - change that to your branded docker image - # label is appended based on .Chart.appVersion - DOCKER_IMAGE_REPO: "ocelotsocialnetwork/backend-branded" - CLIENT_URI: "https://staging.ocelot.social" - # create a new one for your network - JWT_SECRET: "b/&&7b78BF&fv/Vd" - PRIVATE_KEY_PASSPHRASE: "a7dsf78sadg87ad87sfagsadg78" - # ocelot.social mail dummy - EMAIL_DEFAULT_SENDER: "devops@ocelot.social" - SMTP_HOST: "mail.ocelot.social" - SMTP_USERNAME: "devops@ocelot.social" - SMTP_PASSWORD: "devops@ocelot.social" - SMTP_PORT: "587" - SMTP_IGNORE_TLS: 'false' - SMTP_SECURE: 'false' # true for 465, false for other ports - # or - # SMTP_PORT: "465" - # SMTP_IGNORE_TLS: 'true' - # SMTP_SECURE: 'true' # true for 465, false for other ports - - # most likely you don't need to change this - MIN_READY_SECONDS: "15" - PROGRESS_DEADLINE_SECONDS: "60" - REVISIONS_HISTORY_LIMIT: "25" - CONTAINER_RESTART_POLICY: "Always" - CONTAINER_TERMINATION_GRACE_PERIOD_SECONDS: "30" - DOCKER_IMAGE_PULL_POLICY: "Always" - STORAGE_UPLOADS: "25Gi" - -WEBAPP: - # change all the below if needed - # DOCKER_IMAGE_REPO - change that to your branded docker image - # label is appended based on .Chart.appVersion - DOCKER_IMAGE_REPO: "ocelotsocialnetwork/webapp-branded" - WEBSOCKETS_URI: "wss://staging.ocelot.social/api/graphql" - - # Most likely you don't need to change this - REPLICAS: "2" - MIN_READY_SECONDS: "15" - PROGRESS_DEADLINE_SECONDS: "60" - REVISIONS_HISTORY_LIMIT: "25" - CONTAINER_RESTART_POLICY: "Always" - CONTAINER_TERMINATION_GRACE_PERIOD_SECONDS: "30" - DOCKER_IMAGE_PULL_POLICY: "Always" - -NEO4J: - # most likely you don't need to change this - REVISIONS_HISTORY_LIMIT: "25" - DOCKER_IMAGE_REPO: "ocelotsocialnetwork/neo4j-community-branded" - DOCKER_IMAGE_PULL_POLICY: "Always" - CONTAINER_RESTART_POLICY: "Always" - CONTAINER_TERMINATION_GRACE_PERIOD_SECONDS: "30" - STORAGE: "5Gi" - # RESOURCE_REQUESTS_MEMORY configures the memory available for requests. - RESOURCE_REQUESTS_MEMORY: "2G" - # RESOURCE_LIMITS_MEMORY configures the memory limits available. - RESOURCE_LIMITS_MEMORY: "4G" - # required for Neo4j Enterprice version - #ACCEPT_LICENSE_AGREEMENT: "yes" - ACCEPT_LICENSE_AGREEMENT: "no" - AUTH: "none" - #DBMS_CONNECTOR_BOLT_THREAD_POOL_MAX_SIZE: "10000" # hc value - DBMS_CONNECTOR_BOLT_THREAD_POOL_MAX_SIZE: "400" # default value - #DBMS_MEMORY_HEAP_INITIAL_SIZE: "500MB" # HC value - DBMS_MEMORY_HEAP_INITIAL_SIZE: "" # default - #DBMS_MEMORY_HEAP_MAX_SIZE: "500MB" # HC value - DBMS_MEMORY_HEAP_MAX_SIZE: "" # default - #DBMS_MEMORY_PAGECACHE_SIZE: "490M" # HC value - DBMS_MEMORY_PAGECACHE_SIZE: "" # default - #APOC_IMPORT_FILE_ENABLED: "true" # HC value - APOC_IMPORT_FILE_ENABLED: "false" # default - DBMS_SECURITY_PROCEDURES_UNRESTRICTED: "algo.*,apoc.*" - -MAINTENANCE: - # change all the below if needed - # DOCKER_IMAGE_REPO - change that to your branded docker image - # label is appended based on .Chart.appVersion - DOCKER_IMAGE_REPO: "ocelotsocialnetwork/maintenance-branded" - - # Most likely you don't need to change this - REVISIONS_HISTORY_LIMIT: "25" - CONTAINER_RESTART_POLICY: "Always" - CONTAINER_TERMINATION_GRACE_PERIOD_SECONDS: "30" - DOCKER_IMAGE_PULL_POLICY: "Always" - -LETSENCRYPT: - # change all the below if needed - # ISSUER is used by cert-manager to set up certificates with the given provider. - # change it to "letsencrypt-production" once you are ready to have valid cetrificates. - # Be aware that the is an issuing limit with letsencrypt, so a dry run with staging might be wise - ISSUER: "letsencrypt-staging" - EMAIL: "devops@ocelot.social" - DOMAINS: - - "staging.ocelot.social" - - "www.staging.ocelot.social" - -NGINX: - # most likely you don't need to change this - PROXY_BODY_SIZE: "10m" - -STORAGE: - # change all the below if needed - PROVISIONER: "dobs.csi.digitalocean.com" - - # most likely you don't need to change this - RECLAIM_POLICY: "Retain" - VOLUME_BINDING_MODE: "Immediate" - ALLOW_VOLUME_EXPANSION: true \ No newline at end of file diff --git a/deployment/configurations/stage.ocelot.social b/deployment/configurations/stage.ocelot.social new file mode 160000 index 000000000..540bd503b --- /dev/null +++ b/deployment/configurations/stage.ocelot.social @@ -0,0 +1 @@ +Subproject commit 540bd503b9401c1608ccda77bdd23fe47ba008fb diff --git a/deployment/scripts/branded-images.build.sh b/deployment/scripts/branded-images.build.sh index 099ba460a..bb86b29a6 100755 --- a/deployment/scripts/branded-images.build.sh +++ b/deployment/scripts/branded-images.build.sh @@ -9,19 +9,30 @@ SCRIPT_PATH=$(realpath $0) SCRIPT_DIR=$(dirname $SCRIPT_PATH) +# check CONFIGURATION +if [ -z ${CONFIGURATION} ]; then + echo "You must provide a `CONFIGURATION` via environment variable" + exit 1 +fi +echo "Using CONFIGURATION=${CONFIGURATION}" + # configuration -CONFIGURATION=${CONFIGURATION:-"example"} DOCKERHUB_ORGANISATION=${DOCKERHUB_ORGANISATION:-"ocelotsocialnetwork"} OCELOT_VERSION=${OCELOT_VERSION:-$(node -p -e "require('${SCRIPT_DIR}/../../package.json').version")} +OCELOT_GITHUB_RUN_NUMBER=${OCELOT_GITHUB_RUN_NUMBER:-master} +OCELOT_VERSION_BUILD=${OCELOT_VERSION_BUILD:-${OCELOT_VERSION}-${OCELOT_GITHUB_RUN_NUMBER}} BRANDED_VERSION=${BRANDED_VERSION:-${GITHUB_RUN_NUMBER:-"local"}} BUILD_DATE=${BUILD_DATE:-$(date -u +'%Y-%m-%dT%H:%M:%SZ')} -BUILD_VERSION=${BRANDED_VERSION}-ocelot.social${OCELOT_VERSION} +BUILD_VERSION_BASE=${BRANDED_VERSION}-ocelot.social${OCELOT_VERSION} +BUILD_VERSION=${BRANDED_VERSION}-ocelot.social${OCELOT_VERSION_BUILD} BUILD_COMMIT=${GITHUB_SHA:-"0000000"} # backend docker build --target branded \ -t "${DOCKERHUB_ORGANISATION}/backend-branded:latest" \ -t "${DOCKERHUB_ORGANISATION}/backend-branded:${OCELOT_VERSION}" \ + -t "${DOCKERHUB_ORGANISATION}/backend-branded:${OCELOT_VERSION_BUILD}" \ + -t "${DOCKERHUB_ORGANISATION}/backend-branded:${BUILD_VERSION_BASE}" \ -t "${DOCKERHUB_ORGANISATION}/backend-branded:${BUILD_VERSION}" \ -f "${SCRIPT_DIR}/../src/docker/backend.Dockerfile" \ --build-arg "CONFIGURATION=${CONFIGURATION}" \ @@ -33,6 +44,8 @@ docker build --target branded \ docker build --target branded \ -t "${DOCKERHUB_ORGANISATION}/webapp-branded:latest" \ -t "${DOCKERHUB_ORGANISATION}/webapp-branded:${OCELOT_VERSION}" \ + -t "${DOCKERHUB_ORGANISATION}/webapp-branded:${OCELOT_VERSION_BUILD}" \ + -t "${DOCKERHUB_ORGANISATION}/webapp-branded:${BUILD_VERSION_BASE}" \ -t "${DOCKERHUB_ORGANISATION}/webapp-branded:${BUILD_VERSION}" \ -f "${SCRIPT_DIR}/../src/docker/webapp.Dockerfile" \ --build-arg "CONFIGURATION=${CONFIGURATION}" \ @@ -44,6 +57,8 @@ docker build --target branded \ docker build --target branded \ -t "${DOCKERHUB_ORGANISATION}/maintenance-branded:latest" \ -t "${DOCKERHUB_ORGANISATION}/maintenance-branded:${OCELOT_VERSION}" \ + -t "${DOCKERHUB_ORGANISATION}/maintenance-branded:${OCELOT_VERSION_BUILD}" \ + -t "${DOCKERHUB_ORGANISATION}/maintenance-branded:${BUILD_VERSION_BASE}" \ -t "${DOCKERHUB_ORGANISATION}/maintenance-branded:${BUILD_VERSION}" \ -f "${SCRIPT_DIR}/../src/docker/maintenance.Dockerfile" \ --build-arg "CONFIGURATION=${CONFIGURATION}" \ diff --git a/deployment/scripts/branded-images.upload.sh b/deployment/scripts/branded-images.upload.sh index 3891fe474..0d3fdb6d6 100755 --- a/deployment/scripts/branded-images.upload.sh +++ b/deployment/scripts/branded-images.upload.sh @@ -13,8 +13,11 @@ SCRIPT_DIR=$(dirname $SCRIPT_PATH) # configuration DOCKERHUB_ORGANISATION=${DOCKERHUB_ORGANISATION:-"ocelotsocialnetwork"} OCELOT_VERSION=${OCELOT_VERSION:-$(node -p -e "require('${SCRIPT_DIR}/../../package.json').version")} +OCELOT_GITHUB_RUN_NUMBER=${OCELOT_GITHUB_RUN_NUMBER:-master} +OCELOT_VERSION_BUILD=${OCELOT_VERSION_BUILD:-${OCELOT_VERSION}-${OCELOT_GITHUB_RUN_NUMBER}} BRANDED_VERSION=${BRANDED_VERSION:-${GITHUB_RUN_NUMBER:-"local"}} -BUILD_VERSION=${BRANDED_VERSION}-ocelot.social${OCELOT_VERSION} +BUILD_VERSION_BASE=${BRANDED_VERSION}-ocelot.social${OCELOT_VERSION} +BUILD_VERSION=${BRANDED_VERSION}-ocelot.social${OCELOT_VERSION_BUILD} # login to dockerhub echo "${DOCKERHUB_TOKEN}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin @@ -22,14 +25,20 @@ echo "${DOCKERHUB_TOKEN}" | docker login -u "${DOCKERHUB_USERNAME}" --password-s # push backend images docker push ${DOCKERHUB_ORGANISATION}/backend-branded:latest docker push ${DOCKERHUB_ORGANISATION}/backend-branded:${OCELOT_VERSION} +docker push ${DOCKERHUB_ORGANISATION}/backend-branded:${OCELOT_VERSION_BUILD} +docker push ${DOCKERHUB_ORGANISATION}/backend-branded:${BUILD_VERSION_BASE} docker push ${DOCKERHUB_ORGANISATION}/backend-branded:${BUILD_VERSION} # push webapp images docker push ${DOCKERHUB_ORGANISATION}/webapp-branded:latest docker push ${DOCKERHUB_ORGANISATION}/webapp-branded:${OCELOT_VERSION} +docker push ${DOCKERHUB_ORGANISATION}/webapp-branded:${OCELOT_VERSION_BUILD} +docker push ${DOCKERHUB_ORGANISATION}/webapp-branded:${BUILD_VERSION_BASE} docker push ${DOCKERHUB_ORGANISATION}/webapp-branded:${BUILD_VERSION} # push maintenance images docker push ${DOCKERHUB_ORGANISATION}/maintenance-branded:latest docker push ${DOCKERHUB_ORGANISATION}/maintenance-branded:${OCELOT_VERSION} +docker push ${DOCKERHUB_ORGANISATION}/maintenance-branded:${OCELOT_VERSION_BUILD} +docker push ${DOCKERHUB_ORGANISATION}/maintenance-branded:${BUILD_VERSION_BASE} docker push ${DOCKERHUB_ORGANISATION}/maintenance-branded:${BUILD_VERSION} \ No newline at end of file diff --git a/deployment/scripts/cluster.backup.sh b/deployment/scripts/cluster.backup.sh index b83bab198..7d9cbd44d 100755 --- a/deployment/scripts/cluster.backup.sh +++ b/deployment/scripts/cluster.backup.sh @@ -4,8 +4,13 @@ SCRIPT_PATH=$(realpath $0) SCRIPT_DIR=$(dirname $SCRIPT_PATH) +# check CONFIGURATION +if [ -z ${CONFIGURATION} ]; then + echo "You must provide a `CONFIGURATION` via environment variable" + exit 1 +fi + # configuration -CONFIGURATION=${CONFIGURATION:-"example"} KUBECONFIG=${KUBECONFIG:-${SCRIPT_DIR}/../configurations/${CONFIGURATION}/kubeconfig.yaml} BACKUP_DATE=$(date "+%F_%H-%M-%S") BACKUP_FOLDER=${BACKUP_FOLDER:-${SCRIPT_DIR}/../configurations/${CONFIGURATION}/backup/${BACKUP_DATE}} diff --git a/deployment/scripts/cluster.maintenance.sh b/deployment/scripts/cluster.maintenance.sh index 3a558d7bb..b64994e9b 100755 --- a/deployment/scripts/cluster.maintenance.sh +++ b/deployment/scripts/cluster.maintenance.sh @@ -4,8 +4,14 @@ SCRIPT_PATH=$(realpath $0) SCRIPT_DIR=$(dirname $SCRIPT_PATH) +# check CONFIGURATION +if [ -z ${CONFIGURATION} ]; then + echo "You must provide a `CONFIGURATION` via environment variable" + exit 1 +fi +echo "Using CONFIGURATION=${CONFIGURATION}" + # configuration -CONFIGURATION=${CONFIGURATION:-"example"} KUBECONFIG=${KUBECONFIG:-${SCRIPT_DIR}/../configurations/${CONFIGURATION}/kubeconfig.yaml} case $1 in diff --git a/deployment/scripts/cluster.reseed.sh b/deployment/scripts/cluster.reseed.sh index 705e1880a..9aba0a353 100755 --- a/deployment/scripts/cluster.reseed.sh +++ b/deployment/scripts/cluster.reseed.sh @@ -4,8 +4,14 @@ SCRIPT_PATH=$(realpath $0) SCRIPT_DIR=$(dirname $SCRIPT_PATH) +# check CONFIGURATION +if [ -z ${CONFIGURATION} ]; then + echo "You must provide a `CONFIGURATION` via environment variable" + exit 1 +fi +echo "Using CONFIGURATION=${CONFIGURATION}" + # configuration -CONFIGURATION=${CONFIGURATION:-"example"} KUBECONFIG=${KUBECONFIG:-${SCRIPT_DIR}/../configurations/${CONFIGURATION}/kubeconfig.yaml} # clean & seed diff --git a/deployment/scripts/cluster.upgrade.sh b/deployment/scripts/cluster.upgrade.sh index 1aec2cf18..de0444065 100755 --- a/deployment/scripts/cluster.upgrade.sh +++ b/deployment/scripts/cluster.upgrade.sh @@ -4,16 +4,21 @@ SCRIPT_PATH=$(realpath $0) SCRIPT_DIR=$(dirname $SCRIPT_PATH) +# check CONFIGURATION +if [ -z ${CONFIGURATION} ]; then + echo "You must provide a `CONFIGURATION` via environment variable" + exit 1 +fi +echo "Using CONFIGURATION=${CONFIGURATION}" + # configuration -CONFIGURATION=${CONFIGURATION:-"example"} KUBECONFIG=${KUBECONFIG:-${SCRIPT_DIR}/../configurations/${CONFIGURATION}/kubeconfig.yaml} -VALUES=${SCRIPT_DIR}/../configurations/${CONFIGURATION}/kubernetes/values. +VALUES=${SCRIPT_DIR}/../configurations/${CONFIGURATION}/kubernetes/values.yaml DOCKERHUB_OCELOT_TAG=${DOCKERHUB_OCELOT_TAG:-"latest"} # upgrade with helm helm --kubeconfig=${KUBECONFIG} upgrade ocelot \ --values ${VALUES} \ - --set appVersion="${DOCKERHUB_OCELOT_TAG}" + --set appVersion="${DOCKERHUB_OCELOT_TAG}" \ ${SCRIPT_DIR}/../src/kubernetes/ \ - --debug \ --timeout 10m \ No newline at end of file diff --git a/deployment/scripts/secret.generate.sh b/deployment/scripts/secret.generate.sh index dba958c34..cb788a7bd 100755 --- a/deployment/scripts/secret.generate.sh +++ b/deployment/scripts/secret.generate.sh @@ -7,8 +7,14 @@ SCRIPT_PATH=$(realpath $0) SCRIPT_DIR=$(dirname $SCRIPT_PATH) +# check CONFIGURATION +if [ -z ${CONFIGURATION} ]; then + echo "You must provide a `CONFIGURATION` via environment variable" + exit 1 +fi +echo "Using CONFIGURATION=${CONFIGURATION}" + # configuration -CONFIGURATION=${CONFIGURATION:-"example"} SECRET_FILE=${SCRIPT_DIR}/../configurations/${CONFIGURATION}/SECRET openssl rand -base64 32 > ${SECRET_FILE} \ No newline at end of file diff --git a/deployment/scripts/secrets.decrypt.sh b/deployment/scripts/secrets.decrypt.sh index 283768ad0..a7a1328b1 100755 --- a/deployment/scripts/secrets.decrypt.sh +++ b/deployment/scripts/secrets.decrypt.sh @@ -7,8 +7,14 @@ SCRIPT_PATH=$(realpath $0) SCRIPT_DIR=$(dirname $SCRIPT_PATH) +# check CONFIGURATION +if [ -z ${CONFIGURATION} ]; then + echo "You must provide a `CONFIGURATION` via environment variable" + exit 1 +fi +echo "Using CONFIGURATION=${CONFIGURATION}" + # configuration -CONFIGURATION=${CONFIGURATION:-"example"} SECRET=${SECRET} SECRET_FILE=${SCRIPT_DIR}/../configurations/${CONFIGURATION}/SECRET FILES=(\ diff --git a/deployment/scripts/secrets.encrypt.sh b/deployment/scripts/secrets.encrypt.sh index ef6c87e85..57be1c16e 100755 --- a/deployment/scripts/secrets.encrypt.sh +++ b/deployment/scripts/secrets.encrypt.sh @@ -7,8 +7,14 @@ SCRIPT_PATH=$(realpath $0) SCRIPT_DIR=$(dirname $SCRIPT_PATH) +# check CONFIGURATION +if [ -z ${CONFIGURATION} ]; then + echo "You must provide a `CONFIGURATION` via environment variable" + exit 1 +fi +echo "Using CONFIGURATION=${CONFIGURATION}" + # configuration -CONFIGURATION=${CONFIGURATION:-"example"} SECRET=${SECRET} SECRET_FILE=${SCRIPT_DIR}/../configurations/${CONFIGURATION}/SECRET FILES=(\ diff --git a/package.json b/package.json index ba1e67eec..d217d5b1d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ocelot-social", - "version": "2.4.0", + "version": "2.5.1", "description": "Free and open source software program code available to run social networks.", "author": "ocelot.social Community", "license": "MIT", @@ -22,8 +22,8 @@ "release": "yarn version --no-git-tag-version --no-commit-hooks --no-commit && auto-changelog --latest-version $(node -p -e \"require('./package.json').version\") && cd backend && yarn version --no-git-tag-version --no-commit-hooks --no-commit --new-version $(node -p -e \"require('./../package.json').version\") && cd ../webapp && yarn version --no-git-tag-version --no-commit-hooks --no-commit --new-version $(node -p -e \"require('./../package.json').version\") && cd ../webapp/maintenance/source && yarn version --no-git-tag-version --no-commit-hooks --no-commit --new-version $(node -p -e \"require('./../../../package.json').version\")" }, "devDependencies": { - "@babel/core": "^7.9.0", - "@babel/preset-env": "^7.12.7", + "@babel/core": "^7.21.4", + "@babel/preset-env": "^7.21.4", "@babel/register": "^7.12.10", "@faker-js/faker": "5.1.0", "auto-changelog": "^2.3.0", @@ -36,7 +36,7 @@ "cypress-file-upload": "^3.5.3", "date-fns": "^2.25.0", "dotenv": "^8.2.0", - "expect": "^25.3.0", + "expect": "^29.5.0", "graphql-request": "^2.0.0", "import": "^0.0.6", "jsonwebtoken": "^8.5.1", diff --git a/webapp/Dockerfile b/webapp/Dockerfile index 7952d02c1..067dc58e3 100644 --- a/webapp/Dockerfile +++ b/webapp/Dockerfile @@ -1,7 +1,7 @@ ################################################################################## # BASE (Is pushed to DockerHub for rebranding) ################################### ################################################################################## -FROM node:19.4.0-alpine3.17 as base +FROM node:19.8.1-alpine3.17 as base # ENVs ## DOCKER_WORKDIR would be a classical ARG, but that is not multi layer persistent - shame diff --git a/webapp/Dockerfile.maintenance b/webapp/Dockerfile.maintenance index e148da555..e285ca40e 100644 --- a/webapp/Dockerfile.maintenance +++ b/webapp/Dockerfile.maintenance @@ -1,7 +1,7 @@ ################################################################################## # BASE ########################################################################### ################################################################################## -FROM node:19.4.0-alpine3.17 as base +FROM node:19.8.1-alpine3.17 as base # ENVs ## DOCKER_WORKDIR would be a classical ARG, but that is not multi layer persistent - shame diff --git a/webapp/components/AvatarMenu/AvatarMenu.vue b/webapp/components/AvatarMenu/AvatarMenu.vue index 5ec031e61..977996092 100644 --- a/webapp/components/AvatarMenu/AvatarMenu.vue +++ b/webapp/components/AvatarMenu/AvatarMenu.vue @@ -11,7 +11,15 @@ " @click.prevent="toggleMenu" > - + @@ -80,7 +88,7 @@ export default { icon: 'user', }, { - name: this.$t('header.avatarMenu.Groups'), + name: this.$t('header.avatarMenu.groups'), path: '/groups', icon: 'users', }, diff --git a/webapp/components/Button/JoinLeaveButton.vue b/webapp/components/Button/JoinLeaveButton.vue index 152039eb0..f4cc2c009 100644 --- a/webapp/components/Button/JoinLeaveButton.vue +++ b/webapp/components/Button/JoinLeaveButton.vue @@ -63,7 +63,7 @@ export default { content: this.$t('group.joinLeaveButton.tooltip'), placement: 'right', show: this.isMember && !this.isNonePendingMember && this.hovered, - trigger: this.isMember && !this.isNonePendingMember ? 'hover' : 'manual', + trigger: 'manual', } }, }, diff --git a/webapp/components/LocaleSwitch/LocaleSwitch.vue b/webapp/components/LocaleSwitch/LocaleSwitch.vue index 12a37e237..11ecb3c2f 100644 --- a/webapp/components/LocaleSwitch/LocaleSwitch.vue +++ b/webapp/components/LocaleSwitch/LocaleSwitch.vue @@ -2,7 +2,15 @@