Skip to content
Open
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
1 change: 1 addition & 0 deletions webapp/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
"symfony/security-csrf": "6.4.*",
"symfony/serializer": "6.4.*",
"symfony/stopwatch": "6.4.*",
"symfony/translation": "6.4.*",
"symfony/twig-bundle": "6.4.*",
"symfony/validator": "6.4.*",
"symfony/web-profiler-bundle": "6.4.*",
Expand Down
1,828 changes: 1,069 additions & 759 deletions webapp/composer.lock

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions webapp/config/packages/translation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
framework:
default_locale: en
translator:
default_path: '%kernel.project_dir%/translations'
providers:
8 changes: 0 additions & 8 deletions webapp/src/Entity/Contest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1340,14 +1340,6 @@ public function validate(ExecutionContextInterface $context): void
}

if ($this->medalsEnabled) {
foreach (['goldMedals', 'silverMedals', 'bronzeMedals'] as $field) {
if ($this->$field === null) {
$context
->buildViolation('This field is required when \'Enable medals\' is set.')
->atPath($field)
->addViolation();
}
}
if ($this->medal_categories->isEmpty()) {
$context
->buildViolation('This field is required when \'Process medals\' is set.')
Expand Down
2 changes: 1 addition & 1 deletion webapp/symfony.lock
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "6.3",
"ref": "e28e27f53663cc34f0be2837aba18e3a1bef8e7b"
"ref": "620a1b84865ceb2ba304c8f8bf2a185fbf32a843"
},
"files": [
"config/packages/translation.yaml",
Expand Down
Empty file added webapp/translations/.gitignore
Empty file.
16 changes: 8 additions & 8 deletions webapp/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ d3@3.5.17:
integrity sha512-yFk/2idb8OHPKkbAL8QaOaqENNoMhIaSHZerk3oQsECwkObkCpJyjYwCe+OHiq6UEdhe1m8ZGARRRO3ljFjlKg==

datatables.net-bs5@^2.3.4:
version "2.3.4"
resolved "https://registry.yarnpkg.com/datatables.net-bs5/-/datatables.net-bs5-2.3.4.tgz#63326190c20552c8c2c4d19a57ecdd10f0fe27ff"
integrity sha512-OSoPWhNfiU71VjNP604uTmFRxiX32U7SCW0KRZ2X6z3ZYbIwjjoWcMEjjPWOH3uOqaI0OTDBgOgOs5G28VaJog==
version "2.3.5"
resolved "https://registry.yarnpkg.com/datatables.net-bs5/-/datatables.net-bs5-2.3.5.tgz#96f76dce12b1554664b06bd85f6b3be8d6da509f"
integrity sha512-2JA2WZz1tBxdVpYAspiqI8POdqEoAZZzqp7tISKaof2P5ufBJb+OLaahxwuB0sF9qcQh1azlU+JH1zsLBXVwXg==
dependencies:
datatables.net "2.3.4"
datatables.net "2.3.5"
jquery ">=1.7"

datatables.net@2.3.4, datatables.net@^2.3.4:
version "2.3.4"
resolved "https://registry.yarnpkg.com/datatables.net/-/datatables.net-2.3.4.tgz#8cf69f2e6cb8d271be3d5c4f75a479684d20f253"
integrity sha512-fKuRlrBIdpAl2uIFgl9enKecHB41QmFd/2nN9LBbOvItV/JalAxLcyqdZXex7wX4ZXjnJQEnv6xeS9veOpKzSw==
datatables.net@2.3.5, datatables.net@^2.3.4:
version "2.3.5"
resolved "https://registry.yarnpkg.com/datatables.net/-/datatables.net-2.3.5.tgz#a35cc1209edb7525ea68ebc3e7d3af6e3f30a758"
integrity sha512-Qrwc+vuw8GHo42u1usWTuriNAMW0VvLPSW3j8g3GxvatiD8wS/ZGW32VAYLLfmF4Hz0C/fo2KB3xZBfcpqqVTQ==
dependencies:
jquery ">=1.7"

Expand Down
Loading