Commit Graph

4883 Commits

Author SHA1 Message Date
Fabien Potencier 38adb199ea minor #3153 Update .gitattributes to remove tests from "dist" (barryvdh)
This PR was squashed before being merged into the 2.x branch (closes #3153).

Discussion
----------

Update .gitattributes to remove tests from "dist"

This was proposed many times before, but considering https://github.com/symfony/symfony/pull/33579 is now merged, I propose this again. I refer to that issue as for the reasoning, as it applies here also.

I did not add the `docs` directory as there was much discussion about that before (discussion in  #942)

Related: #942 #1776 #1981 #2292 #2799 2905

Commits
-------

5cde1f50 Update .gitattributes to remove tests from \"dist\"
2019-10-17 09:27:12 +02:00
Barry vd. Heuvel 5cde1f50bb Update .gitattributes to remove tests from \"dist\" 2019-10-17 09:27:07 +02:00
Fabien Potencier 8fc2999a40 Fix CS 2019-10-17 09:25:45 +02:00
Fabien Potencier a7057700ec minor #3170 doc: number_format add math calculation hint (gimler)
This PR was merged into the 2.x branch.

Discussion
----------

doc: number_format add math calculation hint

Add hint about number_format and math calculation

Commits
-------

954ab4b8 doc: number_format add math calculation hint
2019-10-17 09:25:09 +02:00
Fabien Potencier 5bda1f1eff bug #3179 Add string extra in the bundle (fabpot)
This PR was merged into the 2.x branch.

Discussion
----------

Add string extra in the bundle

Commits
-------

069fd6db Add string extra in the bundle
2019-10-17 09:16:43 +02:00
Fabien Potencier 069fd6db49 Add string extra in the bundle 2019-10-17 09:13:47 +02:00
Fabien Potencier 94cc1fda80 feature #3178 Add twig/string-extra extension (nicolas-grekas, fabpot)
This PR was merged into the 2.x branch.

Discussion
----------

Add twig/string-extra extension

Last step before deprecating https://github.com/twigphp/Twig-extensions entirely.

Commits
-------

00e0b531 Add missing docs
e300e379 Add twig/string-extra extension
2019-10-17 08:55:29 +02:00
Fabien Potencier 00e0b53100 Add missing docs 2019-10-17 08:49:30 +02:00
Nicolas Grekas e300e37940 Add twig/string-extra extension 2019-10-16 19:46:20 +02:00
Fabien Potencier c59567371a minor #3175 Update documentation for inky_to_html (tucksaun)
This PR was merged into the 2.x branch.

Discussion
----------

Update documentation for `inky_to_html`

Commits
-------

ae50257d Update documentation for inky_to_html
2019-10-16 10:31:29 +02:00
Tugdual Saunier ae50257dd0 Update documentation for inky_to_html 2019-10-16 10:29:01 +02:00
Gordon Franke 954ab4b8e3 doc: number_format add math calculation hint 2019-10-13 13:36:48 +02:00
Fabien Potencier 23419a9408 Bump version to 2.12.1-DEV 2019-10-05 18:44:39 +02:00
Fabien Potencier c7a85fd083 Prepare the 2.12.0 release v2.12.0 2019-10-05 18:42:38 +02:00
Fabien Potencier 231a365471 Update CHANGELOG 2019-10-05 18:41:19 +02:00
Fabien Potencier 4625774716 feature #3157 Twig 2 is compatible with PHP 7.0 (nicolas-grekas)
This PR was merged into the 2.x branch.

Discussion
----------

Twig 2 is compatible with PHP 7.0

7.1 was needed for #3102, but this is not the case anymore since #3113

Commits
-------

b845ed96 Twig 2 is compatible with PHP 7.0
2019-10-01 12:31:38 +02:00
Fabien Potencier f8c5f86761 Merge branch '1.x' into 2.x
* 1.x:
  Fix issue #3159
  Fix issue #3160
2019-10-01 12:18:48 +02:00
Fabien Potencier 8909a16264 minor #3163 Fix issue #3159 (ericmorand)
This PR was submitted for the 2.x branch but it was merged into the 1.x branch instead (closes #3163).

Discussion
----------

Fix issue #3159

Commits
-------

cfac11e9 Fix issue #3159
2019-10-01 12:18:05 +02:00
Eric MORAND cfac11e98a Fix issue #3159 2019-10-01 12:18:00 +02:00
Fabien Potencier 0d2b2aabf6 minor #3164 Fix issue #3160 (ericmorand)
This PR was submitted for the 2.x branch but it was merged into the 1.x branch instead (closes #3164).

Discussion
----------

Fix issue #3160

Commits
-------

4eb40f2f Fix issue #3160
2019-10-01 12:13:33 +02:00
Eric MORAND 4eb40f2fc8 Fix issue #3160 2019-10-01 12:13:28 +02:00
Nicolas Grekas b845ed969e Twig 2 is compatible with PHP 7.0 2019-09-20 15:13:40 +02:00
Fabien Potencier c2fd9990fc Merge branch '1.x' into 2.x
* 1.x:
  Optimize block('foo') ?? 'bar'
  bumped version to 1.42.4-DEV
  prepared the 1.42.3 release
  updated  ChANGELOG
2019-09-20 14:53:54 +02:00
Fabien Potencier 4d766ec17b bug #3155 Optimize block('foo') ?? 'bar' (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Optimize block('foo') ?? 'bar'

closes #3154

Commits
-------

7a99a4e7 Optimize block('foo') ?? 'bar'
2019-09-20 14:45:25 +02:00
Fabien Potencier 7a99a4e7e5 Optimize block('foo') ?? 'bar' 2019-09-20 12:40:56 +02:00
Fabien Potencier d83802c011 Bump min version for pinky 2019-09-17 08:08:14 +02:00
Fabien Potencier ada3096c0b minor #3150 fix variable name (galdiolo)
This PR was merged into the 2.x branch.

Discussion
----------

fix variable name

Commits
-------

2cb5387e fix variable name
2019-09-15 10:34:00 +02:00
Claudio Galdiolo 2cb5387e75 fix variable name 2019-09-14 13:04:38 +02:00
Fabien Potencier ac72085e78 feature #3149 Move country_timezone to a function (fabpot)
This PR was merged into the 2.x branch.

Discussion
----------

Move country_timezone to a function

Commits
-------

c046e69e Move country_timezone to a function
2019-09-07 09:26:32 +02:00
Fabien Potencier 1fcf9143e2 feature #3148 Rename inky to inky_to_html (fabpot)
This PR was merged into the 2.x branch.

Discussion
----------

Rename inky to inky_to_html

closes #3142

Commits
-------

9f9a2088 Renamed inky to inky_to_html
2019-09-07 09:25:39 +02:00
Fabien Potencier c046e69e67 Move country_timezone to a function 2019-09-07 08:58:31 +02:00
Fabien Potencier 9f9a2088a7 Renamed inky to inky_to_html 2019-09-07 08:57:51 +02:00
Fabien Potencier 2a9fa7ba93 minor #3147 Minor fix in a filter description (javiereguiluz)
This PR was merged into the 2.x branch.

Discussion
----------

Minor fix in a filter description

Commits
-------

890d507f Minor fix in a filter description
2019-09-07 08:25:43 +02:00
Javier Eguiluz 890d507ff1 Minor fix in a filter description 2019-09-06 19:55:25 +02:00
Fabien Potencier 18f56ad9b2 minor #3146 Minor fixes in the docs of some intl filters (javiereguiluz)
This PR was merged into the 2.x branch.

Discussion
----------

Minor fixes in the docs of some intl filters

I'll do another PR to fix https://github.com/twigphp/intl-extra/README.md

Commits
-------

b9abb294 Minor fixes in the docs of some intl filters
2019-09-06 17:38:53 +02:00
Javier Eguiluz b9abb294ab Minor fixes in the docs of some intl filters 2019-09-06 17:34:43 +02:00
Fabien Potencier 144c557bb1 bumped version to 1.42.4-DEV 2019-08-24 14:51:38 +02:00
Fabien Potencier 201baee843 prepared the 1.42.3 release v1.42.3 2019-08-24 14:51:03 +02:00
Fabien Potencier 743135fcc1 updated ChANGELOG 2019-08-24 14:49:29 +02:00
Fabien Potencier 38341bbefd Merge branch '1.x' into 2.x
* 1.x:
  Handle opcache_invalidate() being disabled on shared hosting platforms
2019-08-21 07:13:01 +02:00
Fabien Potencier 5ed74a1bae bug #3105 Handle opcache_invalidate() being disabled on shared hosting platforms (RhvsW)
This PR was submitted for the 2.x branch but it was merged into the 1.x branch instead (closes #3105).

Discussion
----------

Handle opcache_invalidate() being disabled on shared hosting platforms

This fix makes twig gracefully fail on opcache API being disabled on shared hosting platforms for security reasons.
Tested with Grav CMS.

Commits
-------

349a5f26 Handle opcache_invalidate() being disabled on shared hosting platforms
2019-08-21 07:12:26 +02:00
Rhys 349a5f26c3 Handle opcache_invalidate() being disabled on shared hosting platforms
This fix makes twig gracefully fail on opcache API being disabled on shared hosting platforms for security reasons.
Tested with Grav CMS.
2019-08-21 07:12:20 +02:00
Fabien Potencier 55704ce1d2 feature #3133 Add the spaceship operator (fabpot)
This PR was merged into the 2.x branch.

Discussion
----------

Add the spaceship operator

Commits
-------

f5950a5b added the spaceship operator
2019-08-20 10:37:55 +02:00
Fabien Potencier f5950a5b1f added the spaceship operator 2019-08-20 10:30:06 +02:00
Fabien Potencier 491d4a814d feature #3132 Add support for an "arrow" function on the "sort" filter (fabpot)
This PR was merged into the 2.x branch.

Discussion
----------

Add support for an "arrow" function on the "sort" filter

closes #3131

Commits
-------

330024b6 added support for an "arrow" function on the "sort" filter
2019-08-20 10:29:20 +02:00
Fabien Potencier 330024b67e added support for an "arrow" function on the "sort" filter 2019-08-20 10:18:43 +02:00
Fabien Potencier 163f6a0979 minor #3126 Clean up the code (fabpot)
This PR was merged into the 2.x branch.

Discussion
----------

Clean up the code

Commits
-------

ba8f7a5e cleaned up the code
2019-08-12 09:26:54 +02:00
Fabien Potencier ba8f7a5e4c cleaned up the code 2019-08-12 09:23:06 +02:00
Fabien Potencier 905f551621 minor #3125 Fix intl-extra docs and links (pierredup)
This PR was squashed before being merged into the 2.x branch (closes #3125).

Discussion
----------

Fix intl-extra docs and links

Commits
-------

6f73ac72 Fix intl-extra docs and links
2019-08-12 09:17:35 +02:00
Pierre du Plessis 6f73ac72de Fix intl-extra docs and links 2019-08-12 09:17:28 +02:00