Skip to content

Commit 2912e2a

Browse files
authored
Merge pull request #12 from itk-dev/release/1.0.0
Release/1.0.0
2 parents 94c2449 + 75b895f commit 2912e2a

40 files changed

+4702
-4502
lines changed

.env

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,31 @@ APP_SECRET=01324d73757787ffeba5f2f76cec1a28
2424

2525
###> app ###
2626
APP_PATH_PREFIX=/api/v2
27+
APP_PROJECT_URI=https://${COMPOSE_DOMAIN}
28+
29+
OPENAPI_TITLE='Event Database'
30+
OPENAPI_DESCRIPTION='API for the Event Database'
31+
OPENAPI_CONTACT_NAME='Contact Name'
32+
OPENAPI_CONTACT_URL='https://github.com/itk-dev/event-database-api/'
33+
OPENAPI_CONTACT_EMAIL='contact@example.org'
34+
OPENAPI_TERMS_OF_SERVICE='https://example.org'
2735

2836
# Must be valid json, usernames and apikeys must be unique
29-
# APP_API_KEYS='[{"username": "user1", "apikey": "api_key_1"}, {"username": "user2", "apikey": "api_key_2"}]'
37+
# APP_API_KEYS='[{"username": "user_1", "apikey": "api_key_1"}, {"username": "user_2", "apikey": "api_key_2"}]'
3038
APP_API_KEYS=[]
3139
###< app ###
3240

41+
###> api-platform/core ###
42+
PAGINATION_ITEMS_PER_PAGE=20
43+
PAGINATION_MAXIMUM_ITEMS_PER_PAGE=50
44+
###< api-platform/core ###
45+
3346
###> INDEX ###
3447
INDEX_URL=http://elasticsearch:9200
3548
INDEX_EVENTS_ALIAS=events
3649
INDEX_ORGANIZATION_ALIAS=organization
3750
###< INDEX ###
3851

39-
###> doctrine/doctrine-bundle ###
40-
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
41-
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
42-
#
43-
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
44-
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4"
45-
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
46-
DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8"
47-
###< doctrine/doctrine-bundle ###
48-
4952
###> nelmio/cors-bundle ###
50-
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
53+
CORS_ALLOW_ORIGIN='*'
5154
###< nelmio/cors-bundle ###

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ See [keep a changelog] for information about writing changes to this log.
88

99
## [Unreleased]
1010

11+
## [1.0.0] - 2024-09-11
12+
1113
### Added
1214

1315
- Symfony core.

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
"ext-ctype": "*",
1111
"ext-iconv": "*",
1212
"api-platform/core": "^3.2",
13-
"doctrine/doctrine-bundle": "^2.11",
14-
"doctrine/doctrine-migrations-bundle": "^3.3",
15-
"doctrine/orm": "^2.17",
1613
"elasticsearch/elasticsearch": "^8.13",
1714
"nelmio/cors-bundle": "^2.4",
1815
"phpdocumentor/reflection-docblock": "^5.3",
@@ -99,6 +96,8 @@
9996
"psalm/plugin-symfony": "^5.1",
10097
"symfony/maker-bundle": "^1.52",
10198
"symfony/phpunit-bridge": "^7.0",
99+
"symfony/stopwatch": "6.4.*",
100+
"symfony/web-profiler-bundle": "6.4.*",
102101
"vimeo/psalm": "^5.16",
103102
"weirdan/doctrine-psalm-plugin": "^2.9"
104103
}

0 commit comments

Comments
 (0)