Commit Graph
221 Commits
Author SHA1 Message Date
SymfonyandGitHub 32ed60ded2 Merge pull request #92 from sroze/add-behat-recipe 2017-06-22 15:56:30 -07:00
Samuel ROZE fe2e6dd61f Throw an exception instead of using assert 2017-06-22 10:49:55 +01:00
Samuel ROZE 36565deb4e Remove the require on autoload, as it's already loaded by Behat before 2017-06-22 10:09:39 +01:00
Fabien Potencier f819a2e3e5 fixed symfony/routing recipe 2017-06-19 16:54:02 -07:00
Fabien PotencierandGitHub dad6a6f03d Merge pull request #99 from symfony/annot
Add support for symfony/annotations-pack
2017-06-14 16:59:42 -07:00
Fabien Potencier a3b4507feb added support for symfony/annotations-pack 2017-06-14 16:41:52 -07:00
Fabien PotencierandGitHub a1b5be2849 Merge pull request #97 from symfony/router-extract
Routing configuration extraction
2017-06-14 16:32:05 -07:00
Fabien Potencier ce297904d4 moved routing specific configuration to the symfony/routing recipe 2017-06-12 11:30:18 -07:00
Fabien Potencier ddb06c520e fixed CS 2017-06-09 17:28:35 -07:00
Samuel ROZE 7d28af71d8 Add behat.yml to gitignore 2017-06-07 10:15:19 +01:00
Samuel ROZE 20b53655dd Add comments mentionning these scenarios as demonstration and refering to Behat's website 2017-06-07 10:14:19 +01:00
Samuel ROZE 23b397fd5f Remove the path of the kernel as autoloadable 2017-06-07 09:26:13 +01:00
Samuel ROZE 47dcdf198a Rename the @When step 2017-06-07 09:25:31 +01:00
SymfonyandGitHub d5e0f72ffa Merge pull request #94 from symfony/cs 2017-06-06 10:35:37 -07:00
Fabien Potencier 5cce5e5593 fixed CS 2017-06-06 09:26:08 -07:00
SymfonyandGitHub 16b98f20c2 Merge pull request #93 from symfony/typo 2017-06-06 08:48:53 -07:00
Fabien Potencier 0df660d895 updated recipe in README 2017-06-05 14:20:45 -07:00
Samuel ROZE d31e56a20a Add the Behat recipe 2017-06-05 19:14:00 +01:00
SymfonyandGitHub 5eacde060f Merge pull request #91 from symfony/tests-exclude 2017-06-02 14:24:39 -07:00
Fabien Potencier a86b340cf8 excluded Tests from being scanned 2017-06-02 09:41:34 -07:00
Fabien Potencier 9d13de145c bug #88 [doctrine/doctrine-bundle] Use apcu provider instead of deprecated apc (teohhanhui)
This PR was merged into the master branch.

Discussion
----------

[doctrine/doctrine-bundle] Use apcu provider instead of deprecated apc

| Q             | A
| ------------- | ---
| License       | MIT

It's time to move forward.

`doctrine/cache` since [1.6.0](https://github.com/doctrine/cache/releases/tag/v1.6.0) (see doctrine/cache#115):
* `ApcuCache` added
* `ApcCache` deprecated

`doctrine/doctrine-cache-bundle` since [1.3.0](https://github.com/doctrine/DoctrineCacheBundle/releases/tag/1.3.0) (see doctrine/DoctrineCacheBundle#86):
* `apcu` added in the configuration

Commits
-------

1aaa26a [doctrine/doctrine-bundle] Use apcu provider instead of deprecated apc
2017-05-31 11:30:54 -07:00
Fabien Potencier 34fbe10a31 bug #90 [symfony] Correct versions for symfony/orm-pack and symfony/profiler-pack (teohhanhui)
This PR was merged into the master branch.

Discussion
----------

[symfony] Correct versions for symfony/orm-pack and symfony/profiler-pack

| Q             | A
| ------------- | ---
| License       | MIT

Also added aliases `doctrine-orm` and `doctrine` for `symfony/orm-pack` to better address symfony/flex#28 and symfony/recipes#24.

Commits
-------

38f8251 [symfony] Correct versions for symfony/orm-pack and symfony/profiler-pack
2017-05-31 10:17:28 -07:00
Teoh Han Hui 38f8251b6f [symfony] Correct versions for symfony/orm-pack and symfony/profiler-pack 2017-05-31 17:56:13 +08:00
Teoh Han Hui 1aaa26ad14 [doctrine/doctrine-bundle] Use apcu provider instead of deprecated apc 2017-05-31 12:54:32 +08:00
Fabien Potencier 05f2992d47 minor #83 Rename .gitkeep files to .gitignore (teohhanhui)
This PR was merged into the master branch.

Discussion
----------

Rename .gitkeep files to .gitignore

| Q | A |
| --- | --- |
| License | MIT |

Let's not keep this legacy convention. *(pun intended)*

The **official** guidance is to use an empty `.gitignore` file.

See

https://git.wiki.kernel.org/index.php/GitFaq#Can_I_add_empty_directories.3F

and

https://git.wiki.kernel.org/index.php/SvnMigration#Empty_directories

Commits
-------

0480f8c Rename .gitkeep files to .gitignore
2017-05-30 13:09:48 -07:00
Fabien Potencier a6efd2bdce bug #85 [lexik/jwt-authentication-bundle] Fix generate-jwt-keys target in Makefile (teohhanhui)
This PR was merged into the master branch.

Discussion
----------

[lexik/jwt-authentication-bundle] Fix generate-jwt-keys target in Makefile

| Q | A |
| --- | --- |
| License | MIT |

The definition of the `generate-jwt-keys` target broke the `Makefile` when the `openssl` binary is not available.

Commits
-------

651c84f [lexik/jwt-authentication-bundle] Fix generate-jwt-keys target in Makefile
2017-05-30 11:03:28 -07:00
Fabien Potencier e440a0bb32 added the License in the PR template 2017-05-30 06:27:39 -07:00
Teoh Han Hui 651c84f968 [lexik/jwt-authentication-bundle] Fix generate-jwt-keys target in Makefile 2017-05-30 19:32:23 +08:00
Teoh Han Hui 0480f8c563 Rename .gitkeep files to .gitignore 2017-05-30 18:02:25 +08:00
Fabien Potencier 2911cba850 feature #77 Add the profiler pack (fabpot)
This PR was merged into the master branch.

Discussion
----------

Add the profiler pack

fixed symfony/flex#90

License MIT

Commits
-------

5824ee7 added the profiler pack
2017-05-27 10:29:17 -07:00
Fabien Potencier 5824ee767f added the profiler pack 2017-05-27 10:04:10 -07:00
Fabien Potencier a415b1db85 removed obsolete note 2017-05-27 08:39:41 -07:00
Fabien Potencier 413ce3fd2f minor #76 [Doc] Add missing doc about the "container" configurator (Pierstoval)
This PR was squashed before being merged into the master branch (closes #76).

Discussion
----------

[Doc] Add missing doc about the "container" configurator

| Q             | A
| ------------- | ---
| License       | MIT

Was missing, not sure it was by purpose or not, but I propose to add it anyway, feel free to close it if you think it's not relevant.

Just about the bottom-note I added, it's because of [this "fixme" comment](https://github.com/symfony/flex/blob/master/src/Configurator/ContainerConfigurator.php#L27-L30), I'm not sure this warning should be present in the docs or if we shouldn't tell about it as the "fixme" might be solved one day 🤔

Commits
-------

c101117 [Doc] Add missing doc about the "container" configurator
2017-05-27 08:39:10 -07:00
Alex Rock AnceletandFabien Potencier c1011171c6 [Doc] Add missing doc about the "container" configurator 2017-05-27 08:39:09 -07:00
Fabien Potencier 78e7dcaf08 feature #75 [Translation] Allow using "etc/translations" to store translations files (Pierstoval)
This PR was squashed before being merged into the master branch (closes #75).

Discussion
----------

[Translation] Allow using "etc/translations" to store translations files

| Q             | A
| ------------- | ---
| License       | MIT

For now, translations are stored in Symfony's default directory which is `%kernel.root_dir%/Resources/translations`, resolved to `src/Resources/translations`.

I find it much more convenient to store it in `etc/translations`.

I'm not sure about some things though:

* The yaml file name, `translation.yaml`, as this config is part of the framework and we cannot "update" the `framework.yaml` file with this recipe 😕 Maybe should I rename it `symfony_translation.yaml` or `translator`, or even maybe `symfony_translator`?
* Adding `%locale%` parameter with `en` by default. As it's not mandatory to have a `%locale%` parameter in Symfony apps anymore, I thought it would be useful to setup at least this value and add a comment to tell the user to update it depending on his/her application.

What do you think?

Commits
-------

b3dc37b [Translation] Allow using "etc/translations" to store translations files
2017-05-27 08:37:54 -07:00
Alex Rock AnceletandFabien Potencier b3dc37b54b [Translation] Allow using "etc/translations" to store translations files 2017-05-27 08:37:51 -07:00
Fabien Potencier dbea6b4af1 added a new validation rule 2017-05-25 19:16:55 +02:00
Fabien Potencier 9ea56c3fcf added a new validation rule 2017-05-25 19:06:36 +02:00
Fabien Potencier 245d351019 bug #73 [lexik/jwt-authentication-bundle] Fix configured key path (chalasr)
This PR was merged into the master branch.

Discussion
----------

[lexik/jwt-authentication-bundle] Fix configured key path

Only using `%ETC_DIR%` leads to

> Private key "etc/jwt/private.pem" does not exist or is not readable.

This fixes it by prefixing paths by `%kernel.project_dir%/` in the bundle config.

Commits
-------

7f5180d [lexik/jwt-authentication-bundle] Fix configured key path
2017-05-24 08:11:00 +02:00
Fabien Potencier 41daf7dc64 bug #74 [doctrine/doctrine-bundle] Escape DATABASE_URL env value (chalasr)
This PR was merged into the master branch.

Discussion
----------

[doctrine/doctrine-bundle] Escape DATABASE_URL env value

When requiring `doctrine/doctrine-bundle` (more often `orm-pack`), the following is added to the project `.env`:

```
DATABASE_URL=mysql://root@127.0.0.1:3306/symfony?charset=utf8mb4&serverVersion=5.7
```
The makefile seems to parse that properly (tested on OSX and debian).
But running `source .env` from the cli (for debugging the .env vars, as shown in [dotenv docs](http://symfony.com/doc/master/components/dotenv.html)) gives

> .env:15: parse error near `&'

This fixes it by adding quotes around the value.

Commits
-------

1e60b1f [doctrine/doctrine-bundle] Escape DATABASE_URL env value
2017-05-24 08:09:39 +02:00
Robin Chalas 1e60b1f90d [doctrine/doctrine-bundle] Escape DATABASE_URL env value 2017-05-23 21:01:26 +02:00
Robin Chalas 7f5180d3f9 [lexik/jwt-authentication-bundle] Fix configured key path 2017-05-23 18:30:17 +02:00
Fabien Potencier 050655c481 feature #70 Remove version_aliases configuration setting (fabpot)
This PR was merged into the master branch.

Discussion
----------

Remove version_aliases configuration setting

`version_aliases` was a bad idea as it incurs too much manual maintenance as we need to remember to add new minor and major versions. That's fragile and we will probably forget to do it promptly. That's even worse for contributed recipes.

So, instead (and as already documented in the README, so not part of the diff), the version of the recipe if the minimum version that the recipe supports. So, if there is only one recipe for version "3.3", the recipe will be applied for all versions >= 3.3 (including 3.x, 4.x, ...).

If a version introduces changes that has an impact on the recipe , then a new directory with the version when the break appeared should be created with the new recipe, which makes total sense.

Commits
-------

07a5c67 removed version_aliases configuration setting
2017-05-20 09:55:30 +02:00
Fabien Potencier 07a5c67ace removed version_aliases configuration setting 2017-05-20 09:32:06 +02:00
Fabien Potencier 716ce4272d feature #65 Tweak configuration for app.yaml (fabpot)
This PR was merged into the master branch.

Discussion
----------

Tweak configuration for app.yaml

symfony/symfony-standard#1070

Commits
-------

7581f44 tweaked configuration for app.yaml
2017-05-20 07:50:02 +02:00
Fabien Potencier 11bd171055 bug #67 fix error exit code (xabbuh)
This PR was merged into the master branch.

Discussion
----------

fix error exit code

In case that the server could not start we should indicate the failure
with a non-zero exit code.

This addresses @stof's comment in https://github.com/symfony/recipes/pull/54#discussion_r116276643.

Commits
-------

9acb162 fix error exit code
2017-05-16 07:03:19 -07:00
Christian Flothmann 9acb162c7f fix error exit code
In case that the server could not start we should indicate the failure
with a non-zero exit code.
2017-05-16 09:23:11 +02:00
Fabien Potencier bed08a2c1a minor #66 Add a Github PR template (fabpot)
This PR was merged into the master branch.

Discussion
----------

Add a Github PR template

Commits
-------

a572667 added a PR template
2017-05-15 07:12:59 -07:00
Fabien Potencier a572667caa added a PR template 2017-05-14 10:00:44 -07:00
Fabien Potencier 7581f44af7 tweaked configuration for app.yaml 2017-05-14 09:33:30 -07:00