Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
tacman committed Nov 18, 2024
2 parents f1016ae + 1056c91 commit c79ede4
Show file tree
Hide file tree
Showing 270 changed files with 2,948 additions and 22 deletions.
2 changes: 2 additions & 0 deletions 21torr/hosting/2.1/config/packages/hosting.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
hosting:
tier: '%env(HOSTING_TIER)%'
14 changes: 14 additions & 0 deletions 21torr/hosting/2.1/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"bundles": {
"Torr\\Hosting\\HostingBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"HOSTING_TIER": "development"
},
"gitignore": [
"/.build-info.json"
]
}
3 changes: 3 additions & 0 deletions 21torr/hosting/3.2/config/packages/hosting.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
hosting:
tier: '%env(HOSTING_TIER)%'
installation: "%env(HOSTING_INSTALLATION)%"
3 changes: 3 additions & 0 deletions 21torr/hosting/3.2/config/routes/hosting.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
hosting:
resource: '@HostingBundle/config/routes.yaml'
prefix: /hosting
15 changes: 15 additions & 0 deletions 21torr/hosting/3.2/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"bundles": {
"Torr\\Hosting\\HostingBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"HOSTING_TIER": "development",
"HOSTING_INSTALLATION": ""
},
"gitignore": [
"/.build-info.json"
]
}
4 changes: 4 additions & 0 deletions 21torr/storyblok/3.0/config/packages/storyblok.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
storyblok:
space_id: "%env(int:STORYBLOK_SPACE_ID)%"
management_token: "%env(STORYBLOK_MANAGEMENT_TOKEN)%"
content_token: "%env(STORYBLOK_CONTENT_TOKEN)%"
13 changes: 13 additions & 0 deletions 21torr/storyblok/3.0/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"bundles": {
"Torr\\Storyblok\\TorrStoryblokBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"STORYBLOK_SPACE_ID": "",
"STORYBLOK_MANAGEMENT_TOKEN": "",
"STORYBLOK_CONTENT_TOKEN": ""
}
}
6 changes: 6 additions & 0 deletions 21torr/task-manager/2.0/config/packages/task_manager.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
task_manager:
queues:
# queues sorted by priority. Highest priority at the top
- app_very_urgent
- app_urgent
- app
8 changes: 8 additions & 0 deletions 21torr/task-manager/2.0/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"bundles": {
"Torr\\TaskManager\\TaskManagerBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
34 changes: 34 additions & 0 deletions alms/cycle-bundle/0.1/config/packages/cycle.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
cycle:
dbal:
databases:
default:
connection: default_connection

connections:
default_connection:
driver: mysql
host: '%env(resolve:DB_HOST)%'
port: '%env(int:DB_PORT)%'
dbname: '%env(resolve:DB_NAME)%'
user: '%env(resolve:DB_USER)%'
password: '%env(resolve:DB_PASSWORD)%'
charset: utf8

orm:
schema:
type: attribute
dir: "%kernel.project_dir%/src/Entity"
cache_dir: "%kernel.cache_dir%/cycle"
relation:
fk_create: false
index_create: false

migration:
directory: "%kernel.project_dir%/migrations"

when@test:
cycle:
dbal:
connections:
default_connection:
dbname: 'test_%env(resolve:DB_NAME)%'
23 changes: 23 additions & 0 deletions alms/cycle-bundle/0.1/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"bundles": {
"Alms\\Bundle\\CycleBundle\\CycleBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"src/": "%SRC_DIR%/",
"migrations/": "migrations/"
},
"env": {
"DB_DRIVER": "mysql",
"DB_HOST": "localhost",
"DB_PORT": "3306",
"DB_NAME": "app",
"DB_USER": "root",
"DB_PASSWORD": "secret"
},
"post-install-output": [
" * Modify your database config in <fg=green>.env</>"
]
}
Empty file.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# See Readme at https://github.com/arad021/entity-already-exists-validation-constraint
services:
Arad021\Validator\Constraint\EntityNotExistValidator:
arguments: ['@doctrine.orm.entity_manager']
tags: [ 'validator.constraint_validator' ]
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
svg_inline:
path: "%kernel.project_dir%/assets/svg"
8 changes: 8 additions & 0 deletions artack/svg-inline-bundle/1.0/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"bundles": {
"Artack\\SvgInlineBundle\\SvgInlineBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
bitbag_sylius_product_bundle_plugin:
resource: "@BitBagSyliusProductBundlePlugin/Resources/config/routing.yml"
prefix: /admin
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
imports:
- { resource: "@BitBagSyliusWishlistPlugin/Resources/config/config.yml" }
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bitbag_sylius_wishlist_plugin:
resource: "@BitBagSyliusWishlistPlugin/Resources/config/routing.yml"
8 changes: 8 additions & 0 deletions bitbag/wishlist-plugin/4.4/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"bundles": {
"BitBag\\SyliusWishlistPlugin\\BitBagSyliusWishlistPlugin": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
2 changes: 2 additions & 0 deletions bitbag/wishlist-plugin/4.4/post-install.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
If you want to contact us, the best way is to fill the form on our website or send us an e-mail to <comment>hello@bitbag.io</comment> with your question(s).
We guarantee that we answer as soon as we can!
19 changes: 19 additions & 0 deletions codeception/codeception/5.0/codeception.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
namespace: App\Tests
support_namespace: Support
paths:
tests: tests
output: tests/_output
data: tests/Support/Data
support: tests/Support
envs: tests/_envs
actor_suffix: Tester
extensions:
enabled:
- Codeception\Extension\RunFailed
params:
- .env
- .env.test
settings:
shuffle: true
colors: true
report_useless_tests: true
6 changes: 6 additions & 0 deletions codeception/codeception/5.0/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"copy-from-recipe": {
"codeception.yml": "codeception.yml",
"tests/": "tests/"
}
}
13 changes: 13 additions & 0 deletions codeception/codeception/5.0/post-install.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
codeception.yml written <- Global configuration
tests/Unit/ created <- Unit tests
tests/Unit.suite.yml written <- Unit test suite configuration
tests/Functional/ created <- Functional tests
tests/Functional.suite.yml written <- Functional test suite configuration
tests/Acceptance/ created <- Acceptance tests
tests/Acceptance.suite.yml written <- Acceptance test suite configuration
<info>Codeception is installed for acceptance, functional, and unit testing</>
<options=bold>Next steps:</>
1. Edit <options=bold>tests/Functional.suite.yml</> to enable the Doctrine module if needed
2. Create your first acceptance test using <comment>vendor/bin/codecept generate:cest Acceptance First</>
3. Write your first test in <options=bold>tests/Acceptance/FirstCest.php</>
4. Run tests using: <comment>vendor/bin/codecept run</>
15 changes: 15 additions & 0 deletions codeception/codeception/5.0/tests/Acceptance.suite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Codeception Acceptance Test Suite Configuration
#
# Perform tests in a browser by either emulating one using PhpBrowser, or in a real browser using WebDriver.
# If you need both WebDriver and PhpBrowser tests, create a separate suite for each.

actor: AcceptanceTester
modules:
enabled:
- PhpBrowser:
url: https://localhost:8000
# Add Codeception\Step\Retry trait to AcceptanceTester to enable retries
step_decorators:
- Codeception\Step\ConditionalAssertion
- Codeception\Step\TryTo
- Codeception\Step\Retry
Empty file.
15 changes: 15 additions & 0 deletions codeception/codeception/5.0/tests/Functional.suite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Codeception Test Suite Configuration
#
# Suite for functional tests
# Emulate web requests and make application process them

actor: FunctionalTester
modules:
enabled:
- Asserts
- Symfony:
app_path: 'src'
environment: 'test'
# - Doctrine:
# depends: Symfony
# cleanup: true
Empty file.
30 changes: 30 additions & 0 deletions codeception/codeception/5.0/tests/Support/AcceptanceTester.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

declare(strict_types=1);

namespace App\Tests\Support;

/**
* Inherited Methods
*
* @method void wantTo($text)
* @method void wantToTest($text)
* @method void execute($callable)
* @method void expectTo($prediction)
* @method void expect($prediction)
* @method void amGoingTo($argumentation)
* @method void am($role)
* @method void lookForwardTo($achieveValue)
* @method void comment($description)
* @method void pause($vars = [])
*
* @SuppressWarnings(PHPMD)
*/
class AcceptanceTester extends \Codeception\Actor
{
use _generated\AcceptanceTesterActions;

/**
* Define custom actions here
*/
}
Empty file.
30 changes: 30 additions & 0 deletions codeception/codeception/5.0/tests/Support/FunctionalTester.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

declare(strict_types=1);

namespace App\Tests\Support;

/**
* Inherited Methods
*
* @method void wantTo($text)
* @method void wantToTest($text)
* @method void execute($callable)
* @method void expectTo($prediction)
* @method void expect($prediction)
* @method void amGoingTo($argumentation)
* @method void am($role)
* @method void lookForwardTo($achieveValue)
* @method void comment($description)
* @method void pause($vars = [])
*
* @SuppressWarnings(PHPMD)
*/
class FunctionalTester extends \Codeception\Actor
{
use _generated\FunctionalTesterActions;

/**
* Define custom actions here
*/
}
Empty file.
30 changes: 30 additions & 0 deletions codeception/codeception/5.0/tests/Support/UnitTester.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

declare(strict_types=1);

namespace App\Tests\Support;

/**
* Inherited Methods
*
* @method void wantTo($text)
* @method void wantToTest($text)
* @method void execute($callable)
* @method void expectTo($prediction)
* @method void expect($prediction)
* @method void amGoingTo($argumentation)
* @method void am($role)
* @method void lookForwardTo($achieveValue)
* @method void comment($description)
* @method void pause($vars = [])
*
* @SuppressWarnings(PHPMD)
*/
class UnitTester extends \Codeception\Actor
{
use _generated\UnitTesterActions;

/**
* Define custom actions here
*/
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
8 changes: 8 additions & 0 deletions codeception/codeception/5.0/tests/Unit.suite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Codeception Test Suite Configuration
#
# Suite for unit or integration tests.

actor: UnitTester
modules:
enabled:
- Asserts
Empty file.
2 changes: 2 additions & 0 deletions codeception/codeception/5.0/tests/_output/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
idempotency:
name: 'app'
methods: ['POST', 'PUT', 'PATCH']
location: 'Header-Idempotency-Key'
scope: 'headers'
8 changes: 8 additions & 0 deletions conejerock/idempotency-bundle/1.0/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"bundles": {
"Conejerock\\IdempotencyBundle\\IdempotencyBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
Loading

0 comments on commit c79ede4

Please sign in to comment.