Skip to content
Merged
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
233 changes: 0 additions & 233 deletions .do/app.yaml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ jobs:
run: vapor deploy ${{ env.VAPOR_ENV }}
env:
VAPOR_API_TOKEN: ${{ secrets.VAPOR_API_TOKEN }}
SENTRY_RELEASE: ${{ github.sha }}

frontend:
name: Deploy Frontend
Expand Down
11 changes: 11 additions & 0 deletions backend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ APP_SAAS_MODE_ENABLED=false
APP_SAAS_STRIPE_APPLICATION_FEE_PERCENT=1.5
APP_HOMEPAGE_VIEWS_UPDATE_BATCH_SIZE=8
APP_DISABLE_REGISTRATION=false
APP_EVENT_SPAM_CHECK_ENABLED=false
APP_EVENT_SPAM_CHECK_CONFIDENCE_THRESHOLD=0.7
ANTHROPIC_API_KEY=
APP_STRIPE_CONNECT_ACCOUNT_TYPE=express
APP_PLATFORM_SUPPORT_EMAIL=support@your-website.com
APP_ALLOWED_INTERNAL_WEBHOOK_HOSTS=
Expand All @@ -24,6 +27,14 @@ CORS_ALLOWED_ORIGINS=*
LOG_CHANNEL=stderr
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
LOG_STACK=single

SENTRY_DSN=
SENTRY_ENVIRONMENT=
SENTRY_ENABLE_LOGS=false
SENTRY_LOG_LEVEL=info
SENTRY_RELEASE=
SENTRY_TRACES_SAMPLE_RATE=0

DB_CONNECTION=pgsql
DB_HOST=pgsql
Expand Down
13 changes: 13 additions & 0 deletions backend/app/DomainObjects/EventDomainObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ class EventDomainObject extends Generated\EventDomainObjectAbstract implements I

private ?string $occurrencesMonth = null;

private ?string $lifecycleStatus = null;

public static function getAllowedFilterFields(): array
{
return [
Expand Down Expand Up @@ -308,8 +310,19 @@ public function isEventOngoing(): bool
);
}

public function setLifecycleStatus(string $lifecycleStatus): self
{
$this->lifecycleStatus = $lifecycleStatus;

return $this;
}

public function getLifecycleStatus(): string
{
if ($this->lifecycleStatus !== null) {
return $this->lifecycleStatus;
}

if ($this->isEventOngoing()) {
return EventLifecycleStatus::ONGOING->name;
}
Expand Down
20 changes: 20 additions & 0 deletions backend/app/DomainObjects/EventSpamCheckDomainObject.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

namespace HiEvents\DomainObjects;

class EventSpamCheckDomainObject extends Generated\EventSpamCheckDomainObjectAbstract
{
private ?EventDomainObject $event = null;

public function setEvent(?EventDomainObject $event): self
{
$this->event = $event;

return $this;
}

public function getEvent(): ?EventDomainObject
{
return $this->event;
}
}
Loading
Loading