Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE Release/ef 2024 #242

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ on:
push:
branches:
- 'main'
- 'release/ef-2024'
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

jobs:
build-and-push-image:
permissions:
Expand Down Expand Up @@ -41,7 +46,7 @@ jobs:
REGISTRY_USER: ${{ github.actor }}
REGISTRY_PASS: ${{ secrets.GITHUB_TOKEN }}

- name: Docker build and push 'latest' image
- name: Docker build and push 'latest-ef' image
if: startsWith(github.ref, 'refs/heads/')
run: >
TAG_ARGS=$(echo -n "$IMAGE_TAGS" | sed -r "s_([^ :/]+)_ --tag $REGISTRY/$IMAGE_NAME:\1 _g") &&
Expand All @@ -56,7 +61,7 @@ jobs:
env:
REGISTRY: 'ghcr.io'
IMAGE_NAME: ${{ github.repository }}
IMAGE_TAGS: latest
IMAGE_TAGS: latest-ef
FULL_REPO_URL: "https://github.com/${{ github.repository }}"
COMMIT_HASH: ${{ github.sha }}

Expand Down
5 changes: 5 additions & 0 deletions httpd-container.conf
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ CustomLog /dev/stdout json
SubstituteMaxLineLength 5M
Substitute "s|aN3nNFwFoi5QkyPaVJ54dDTDc6HrrCYGAL6U6GUuyV2uvvekgOxqYe6K2hur|${HTTPD_CONF_PATH_PREFIX_NO_SLASHES}|n"

# proxy to onsite UIs (nav page)

ProxyPass /${HTTPD_CONF_PATH_PREFIX_NO_SLASHES}/onsite http://onsite:8000/aN3nNFwFoi5QkyPaVJ54dDTDc6HrrCYGAL6U6GUuyV2uvvekgOxqYe6K2hur/onsite disablereuse=On connectiontimeout=20 timeout=60
ProxyPassReverse /${HTTPD_CONF_PATH_PREFIX_NO_SLASHES}/onsite http://onsite:8000/aN3nNFwFoi5QkyPaVJ54dDTDc6HrrCYGAL6U6GUuyV2uvvekgOxqYe6K2hur/onsite

ServerSignature Off

ErrorDocument 404 /404.html
Expand Down
15 changes: 14 additions & 1 deletion src/components/funnels/funnels/register/steps/ticket/level.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,20 @@ const TicketLevel = (_: ReadonlyRouteComponentProps) => {
label="Late Fee"
price="+15" ></TicketLevelFootnote>
</Localized>
</ModifiersSection> : undefined }
<Localized id="register-ticket-level-footnote-late-sponsors" attrs={{ label: true, description: true, price: false }}>
<TicketLevelFootnote
marker="**"
label="Subject to availability if booked less than 1 month before the convention!"
price="" ></TicketLevelFootnote>
</Localized>
</ModifiersSection> : <ModifiersSection>
<Localized id="register-ticket-level-footnote-late-sponsors" attrs={{ label: true, description: true, price: false }}>
<TicketLevelFootnote
marker="**"
label="Subject to availability if booked less than 1 month before the convention!"
price="" ></TicketLevelFootnote>
</Localized>
</ModifiersSection> }
<AddonsSection>
<Localized id="register-ticket-level-addons-title"><h3>Select add-ons</h3></Localized>
<AddonsContainer>
Expand Down
4 changes: 2 additions & 2 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
const apiPath = (path: string) => process.env.GATSBY_API_BASE_URL === undefined ? withPrefix(path) : `${process.env.GATSBY_API_BASE_URL}${path}`

const config = checkConfig({
version: 4, // increment to prevent loading from local storage (new year, pricing changes, default packages)
version: 5, // increment to prevent loading from local storage (new year, pricing changes, default packages)
eventName: 'Eurofurence',
registrationLaunch: DateTime.fromISO('2023-01-21T12:30:23+02:00'),
registrationExpirationDate: DateTime.fromISO('2024-09-22', { zone: 'Europe/Berlin' }),
Expand Down Expand Up @@ -83,7 +83,7 @@
},
'late': {
price: 15,
default: false, // don't forget to increment version when changing this
default: true, // don't forget to increment version when changing this
options: {},
unavailableFor: {
type: ['day'],
Expand Down Expand Up @@ -264,7 +264,7 @@
terms: 'https://help.eurofurence.org/legal/terms',
rules: 'https://help.eurofurence.org/legal/roc',
contact: 'https://help.eurofurence.org/contact',
// TODO do we need to display this in a popup?

Check warning on line 267 in src/config.ts

View workflow job for this annotation

GitHub Actions / build-and-test

Unexpected 'todo' comment: 'TODO do we need to display this in a...'
//
// the cookie statement should probably be part of the registration system
//
Expand Down
14 changes: 9 additions & 5 deletions src/localizations/de-DE.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ register-ticket-level-card-sponsor =
+ Teilnahme an den regulären Events
+ früher Zugang zu Dealers' Den und Art Show (Donnerstag)
+ Prioritäts-Warteschlange bei bestimmten Events
+ Sponsor-Paket
+ kostenloses T-Shirt
+ Sponsor-Paket**
+ kostenloses T-Shirt**

.label = Sponsor
.priceLabel = {$type ->
Expand All @@ -236,8 +236,8 @@ register-ticket-level-card-super-sponsor =
+ Teilnahme an den regulären Events
+ Besonders früher Zugang zu Dealers' Den und Art Show (Donnerstag)
+ Prioritäts-Warteschlange bei bestimmten Events
+ Super-Sponsor-Paket
+ kostenloses T-Shirt
+ Super-Sponsor-Paket**
+ kostenloses T-Shirt**

.label = Supersponsor
.priceLabel = {$type ->
Expand All @@ -253,6 +253,10 @@ register-ticket-level-modifiers-late-fee =
.label = Spätbucheraufschlag (bei Zahlung ab 1. Juni)
.price = +15 €

register-ticket-level-footnote-late-sponsors =
.label = Nach Verfügbarkeit bei Buchung weniger als 1 Monat vor der Convention!
.price = .

register-ticket-level-expiration-notice = Registriere Dich vor dem {DATETIME($expirationDate, day: "numeric", month: "long")}

register-ticket-level-addons-title = Zusatzoptionen auswählen
Expand All @@ -263,7 +267,7 @@ register-ticket-level-addons-item-stage-pass =

register-ticket-level-addons-item-tshirt =
.label = Eurofurence T-shirt
.description = Hochwertiges T-Shirt aus 100% Baumwolle. Du kannst es auch vor Ort kaufen, aber hier kannst Du es in Deiner Größe vorbestellen.
.description = Hochwertiges T-Shirt aus 100% Baumwolle. Du kannst es auch vor Ort kaufen, aber wenn Du es mindestens einen Monat vor der Convention vorbestellst, bekommst Du auch sicher eines.

register-ticket-level-addons-item-tshirt-option-size =
.label = T-Shirt-Größe
Expand Down
14 changes: 9 additions & 5 deletions src/localizations/en-US.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ register-ticket-level-card-sponsor =
+ participation in scheduled events
+ early access to the Dealers' Den and Art Show (Thursday)
+ priority queueing for certain events
+ Sponsor pack
+ free T-shirt
+ Sponsor pack**
+ free T-shirt**

.label = Sponsor
.priceLabel = {$type ->
Expand All @@ -236,8 +236,8 @@ register-ticket-level-card-super-sponsor =
+ participation in scheduled events
+ super-early access to the Dealers' Den and Art Show (Thursday)
+ priority queueing for certain events
+ Super Sponsor pack
+ free T-shirt
+ Super Sponsor pack**
+ free T-shirt**

.label = Super sponsor
.priceLabel = {$type ->
Expand All @@ -253,6 +253,10 @@ register-ticket-level-modifiers-late-fee =
.label = Late Fee (if paid June 1st or later)
.price = + €15

register-ticket-level-footnote-late-sponsors =
.label = Subject to availability if booked less than 1 month before the convention!
.price = .

register-ticket-level-expiration-notice = Register before {DATETIME($expirationDate, day: "numeric", month: "long")}

register-ticket-level-addons-title = Select add-ons
Expand All @@ -263,7 +267,7 @@ register-ticket-level-addons-item-stage-pass =

register-ticket-level-addons-item-tshirt =
.label = Eurofurence T-shirt
.description = 100% cotton, high-quality T-shirts. You can also purchase these at the event, but purchasing one now will guarantee availability of your size.
.description = 100% cotton, high-quality T-shirts. You can also purchase these at the event, but purchasing one at least one month before the convention will guarantee availability of your size.

register-ticket-level-addons-item-tshirt-option-size =
.label = T-shirt size
Expand Down
Loading