Skip to content

Commit ec6a2c6

Browse files
committed
4850: Changed project name
1 parent b2b3339 commit ec6a2c6

10 files changed

Lines changed: 23 additions & 23 deletions

File tree

.docker/pretix/etc/pretix.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# https://docs.pretix.eu/en/latest/admin/installation/docker_smallscale.html#config-file
22
[pretix]
3-
instance_name=pretix.hoeringsportal.local.itkdev.dk
4-
url=http://pretix.hoeringsportal.local.itkdev.dk
3+
instance_name=pretix.deltag.local.itkdev.dk
4+
url=http://pretix.deltag.local.itkdev.dk
55
currency=DKK
66
datadir=/data
77
trust_x_forwarded_for=on

.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
COMPOSE_PROJECT_NAME=hoeringsportal
2-
COMPOSE_DOMAIN=hoeringsportal.local.itkdev.dk
1+
COMPOSE_PROJECT_NAME=deltag
2+
COMPOSE_DOMAIN=deltag.local.itkdev.dk
33
ITKDEV_TEMPLATE=drupal-10

.github/workflows/pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ jobs:
254254
$settings['hoeringsportal_openid_connect']['openid_connect'] = [
255255
'clientId' => 'client-id',
256256
'clientSecret' => 'client-secret',
257-
'openIDConnectMetadataUrl' => 'http://idp-citizen.hoeringsportal.local.itkdev.dk/.well-known/openid-configuration',
257+
'openIDConnectMetadataUrl' => 'http://idp-citizen.deltag.local.itkdev.dk/.well-known/openid-configuration',
258258
];
259259
260260
EOL

Taskfile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ dotenv: ['.env.local', '.env']
55

66
vars:
77
# https://taskfile.dev/reference/templating/
8-
BASE_URL: '{{.TASK_BASE_URL | default .COMPOSE_SERVER_DOMAIN | default .COMPOSE_DOMAIN | default "https://hoeringsportal.local.itkdev.dk"}}'
8+
BASE_URL: '{{.TASK_BASE_URL | default .COMPOSE_SERVER_DOMAIN | default .COMPOSE_DOMAIN | default "https://deltag.local.itkdev.dk"}}'
99
DOCKER_COMPOSE: '{{.TASK_DOCKER_COMPOSE | default "docker compose"}}'
1010
DOCKER_COMPOSE_PROFILES: '{{.TASK_DOCKER_COMPOSE_PROFILES | default ""}}'
1111
COMPOSER_INSTALL_ARGUMENTS: '{{.TASK_COMPOSER_INSTALL_ARGUMENTS | default ""}}'
1212

13-
PRETIX_URL: '{{.TASK_PRETIX_URL | default "http://pretix.hoeringsportal.local.itkdev.dk"}}'
13+
PRETIX_URL: '{{.TASK_PRETIX_URL | default "http://pretix.deltag.local.itkdev.dk"}}'
1414
PRETIX_ORGANIZER: '{{.TASK_PRETIX_ORGANIZER | default "dpl-cms"}}'
1515

1616
tasks:

config/sync/openid_connect.client.generic.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ settings:
1010
client_secret: client-secret
1111
iss_allowed_domains: ''
1212
issuer_url: ''
13-
authorization_endpoint: 'http://idp-employee.hoeringsportal.local.itkdev.dk/connect/authorize'
14-
token_endpoint: 'http://idp-employee.hoeringsportal.local.itkdev.dk/connect/token'
13+
authorization_endpoint: 'http://idp-employee.deltag.local.itkdev.dk/connect/authorize'
14+
token_endpoint: 'http://idp-employee.deltag.local.itkdev.dk/connect/token'
1515
userinfo_endpoint: ''
1616
end_session_endpoint: ''
1717
scopes:

documentation/localDevelopment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ docker compose run --rm node npm install --prefix web/themes/custom/hoeringsport
117117
docker compose run --rm node npm run build --prefix web/themes/custom/hoeringsportal
118118

119119
# Get admin sign in url
120-
docker compose exec phpfpm vendor/bin/drush --yes --uri="http://hoeringsportal.local.itkdev.dk" user:login
120+
docker compose exec phpfpm vendor/bin/drush --yes --uri="http://deltag.local.itkdev.dk" user:login
121121
```
122122

123123
Add all fixtures

documentation/pretix.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ controller](https://github.com/itk-dev/itk_pretix/blob/main/src/Controller/Preti
1717
`settings.local.php`](https://github.com/itk-dev/itk_pretix/blob/main/README.md#configuration):
1818

1919
``` php
20-
$settings['itk_pretix']['drupal_base_url'] = 'http://hoeringsportal.local.itkdev.dk:8080';
20+
$settings['itk_pretix']['drupal_base_url'] = 'http://deltag.local.itkdev.dk:8080';
2121
```
2222

2323
### Pretix build
2424

2525
Sign in to pretix:
2626

27-
Go to [Local pretix](http://pretix.hoeringsportal.local.itkdev.dk/control/) and
27+
Go to [Local pretix](http://pretix.deltag.local.itkdev.dk/control/) and
2828
sign in with username `admin@localhost` and password `admin`.
2929

3030
#### Resetting pretix database
@@ -44,21 +44,21 @@ task pretix:database-dump
4444
#### Connect Drupal to pretix
4545

4646
```sh name=pretix-configure-drupal
47-
task drush -- config:set itk_pretix.pretixconfig pretix_url 'http://pretix.hoeringsportal.local.itkdev.dk/'
47+
task drush -- config:set itk_pretix.pretixconfig pretix_url 'http://pretix.deltag.local.itkdev.dk/'
4848
task drush -- config:set itk_pretix.pretixconfig organizer_slug 'hoeringsportal'
4949
task drush -- config:set itk_pretix.pretixconfig api_token 'v84pb9f19gv5gkn2d8vbxoih6egx2v00hpbcwzwzqoqqixt22locej5rffmou78e'
5050
task drush -- config:set itk_pretix.pretixconfig template_event_slugs 'template-series'
5151
```
5252

5353
Go to
54-
<http://hoeringsportal.local.itkdev.dk/admin/config/itk_pretix/pretixconfig> for
54+
<http://deltag.local.itkdev.dk/admin/config/itk_pretix/pretixconfig> for
5555
more pretix configuration.
5656

5757
### API
5858

5959
``` sh name=pretix-api-get-organizers
6060
curl --header 'Authorization: Token v84pb9f19gv5gkn2d8vbxoih6egx2v00hpbcwzwzqoqqixt22locej5rffmou78e' \
61-
http://pretix.hoeringsportal.local.itkdev.dk/api/v1/organizers/
61+
http://pretix.deltag.local.itkdev.dk/api/v1/organizers/
6262
```
6363

6464
### Making sure everything is up to date
@@ -68,10 +68,10 @@ curl --header 'Authorization: Token v84pb9f19gv5gkn2d8vbxoih6egx2v00hpbcwzwzqoqq
6868
docker compose exec phpfpm /app/vendor/bin/drush --root=/app/web --yes deploy
6969
docker compose exec phpfpm /app/vendor/bin/drush --root=/app/web --yes locale:update
7070

71-
docker compose exec phpfpm vendor/bin/drush --yes --uri=http://hoeringsportal.local.itkdev.dk/ config:set itk_pretix.pretixconfig pretix_url 'http://pretix.hoeringsportal.local.itkdev.dk/'
72-
docker compose exec phpfpm vendor/bin/drush --yes --uri=http://hoeringsportal.local.itkdev.dk/ config:set itk_pretix.pretixconfig organizer_slug 'hoeringsportal'
73-
docker compose exec phpfpm vendor/bin/drush --yes --uri=http://hoeringsportal.local.itkdev.dk/ config:set itk_pretix.pretixconfig api_token 'v84pb9f19gv5gkn2d8vbxoih6egx2v00hpbcwzwzqoqqixt22locej5rffmou78e'
74-
docker compose exec phpfpm vendor/bin/drush --yes --uri=http://hoeringsportal.local.itkdev.dk/ config:set itk_pretix.pretixconfig template_event_slugs 'template-series'
71+
docker compose exec phpfpm vendor/bin/drush --yes --uri=http://deltag.local.itkdev.dk/ config:set itk_pretix.pretixconfig pretix_url 'http://pretix.deltag.local.itkdev.dk/'
72+
docker compose exec phpfpm vendor/bin/drush --yes --uri=http://deltag.local.itkdev.dk/ config:set itk_pretix.pretixconfig organizer_slug 'hoeringsportal'
73+
docker compose exec phpfpm vendor/bin/drush --yes --uri=http://deltag.local.itkdev.dk/ config:set itk_pretix.pretixconfig api_token 'v84pb9f19gv5gkn2d8vbxoih6egx2v00hpbcwzwzqoqqixt22locej5rffmou78e'
74+
docker compose exec phpfpm vendor/bin/drush --yes --uri=http://deltag.local.itkdev.dk/ config:set itk_pretix.pretixconfig template_event_slugs 'template-series'
7575

7676
docker compose exec phpfpm /app/vendor/bin/drush --root=/app/web --yes cache:rebuild
7777
```

web/modules/custom/hoeringsportal_base_fixtures/src/Fixture/PretixConfigFixture.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class PretixConfigFixture extends AbstractConfigFixture {
1414
*/
1515
protected static array $config = [
1616
'itk_pretix.pretixconfig' => [
17-
'pretix_url' => 'http://pretix.hoeringsportal.local.itkdev.dk/',
17+
'pretix_url' => 'http://pretix.deltag.local.itkdev.dk/',
1818
'organizer_slug' => 'hoeringsportal',
1919
'api_token' => 'v84pb9f19gv5gkn2d8vbxoih6egx2v00hpbcwzwzqoqqixt22locej5rffmou78e',
2020
'template_event_slugs' => 'template-series',

web/modules/custom/hoeringsportal_base_fixtures/src/Fixture/PublicMeetingFixture.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,11 @@ public function createOrders(NodeInterface $node, array ...$specs): void {
325325
$request = new \ReflectionMethod($client, 'request');
326326

327327
// Add setting to create a proper webhook in pretix
328-
// (http://pretix.hoeringsportal.local.itkdev.dk/control/organizer/hoeringsportal/webhooks)
328+
// (http://pretix.deltag.local.itkdev.dk/control/organizer/hoeringsportal/webhooks)
329329
// (see PretixOrderHelper::ensureWebhook() for details).
330330
$settings = Settings::getAll();
331331
if (!isset($settings['itk_pretix']['drupal_base_url'])) {
332-
$settings['itk_pretix']['drupal_base_url'] = 'http://hoeringsportal.local.itkdev.dk:8080';
332+
$settings['itk_pretix']['drupal_base_url'] = 'http://deltag.local.itkdev.dk:8080';
333333
}
334334
new Settings($settings);
335335
$output->writeln(sprintf('Ensuring that webhook (%s) exists in pretix',

web/modules/custom/hoeringsportal_openid_connect/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Define settings in `settings.local.php`:
66
$settings['hoeringsportal_openid_connect']['openid_connect'] = [
77
'clientId' => 'client-id',
88
'clientSecret' => 'client-secret',
9-
'openIDConnectMetadataUrl' => 'http://idp-citizen.hoeringsportal.local.itkdev.dk/.well-known/openid-configuration',
9+
'openIDConnectMetadataUrl' => 'http://idp-citizen.deltag.local.itkdev.dk/.well-known/openid-configuration',
1010
];
1111
```
1212

0 commit comments

Comments
 (0)