197 Commits

Author SHA1 Message Date
Javier Eguiluz
a6c4e9adb1 Merge branch '6.4' into 7.3
* 6.4:
  Split cache examples
2026-01-05 16:46:40 +01:00
tcoch
b9cec7864a Split cache examples 2025-12-19 19:08:05 +01:00
Nicolas Grekas
4579583cb6 [Security] Tell about stateless CSRF protection 2025-05-17 14:10:20 +02:00
Javier Eguiluz
782014499b Merge branch '6.4' into 7.1
* 6.4:
  Minor tweaks
  Add info for essential cookies (such as REMEMBERME)
2025-01-02 13:27:42 +01:00
Javier Eguiluz
c6f8e11faa Minor tweaks 2025-01-02 13:27:26 +01:00
Hugo Posnic
9b50440bfb Add info for essential cookies (such as REMEMBERME) 2025-01-02 13:24:40 +01:00
Wouter de Jong
84ead23b4f Merge remote-tracking branch 'origin/6.4' into 7.1
* origin/6.4:
  Replaced caution blocks with warning
2024-12-07 12:11:20 +01:00
Timo Bakx
3849004fcc Replaced caution blocks with warning
Fixes #20371

Both blocks are currently rendered identically. Keeping only one of the two makes it easier to contribute.

Some blocks were elevated to danger.
2024-12-07 12:02:55 +01:00
Javier Eguiluz
2e179dd64b Merge branch '6.4' into 7.1
* 6.4:
  Duplicate a note useful for varnish
2024-11-19 14:59:01 +01:00
Javier Eguiluz
2c5dc95dad Merge branch '5.4' into 6.4
* 5.4:
  Duplicate a note useful for varnish
2024-11-19 14:58:58 +01:00
Hugo Posnic
b6b649481e Duplicate a note useful for varnish 2024-11-19 14:58:41 +01:00
Javier Eguiluz
e2cb8211f9 Merge branch '6.4' into 7.0
* 6.4:
  [HttpCache] Remove SensioFrameworkExtraBundle reference
2024-05-22 14:53:42 +02:00
Simon André
46bef1465a [HttpCache] Remove SensioFrameworkExtraBundle reference 2024-05-22 14:53:17 +02:00
Oskar Stark
f367fad361 Merge branch '6.4' into 7.0
* 6.4:
  Remove redundant parenthesis on attribute
2024-05-21 20:23:21 +02:00
Antoine Lamirault
5d63d63c99 Remove redundant parenthesis on attribute 2024-05-20 19:09:01 +02:00
Javier Eguiluz
650277cfe6 Merge branch '6.4' into 7.0
* 6.4:
  Mutate some `cautions` to `dangers`
2023-12-26 16:08:45 +01:00
Javier Eguiluz
a750ec584a Merge branch '5.4' into 6.3
* 5.4:
  Mutate some `cautions` to `dangers`
2023-12-26 16:07:36 +01:00
Alexandre Daubois
ac45c0cd62 Mutate some cautions to dangers 2023-12-17 20:21:10 +01:00
Alexandre Daubois
bbd1d8e092 Remove all 6.x versionadded on 7.0 2023-10-16 13:51:42 +02:00
Rylix
0f1f5db720 [Cache] Add missing backtick 2023-08-07 08:45:32 +02:00
Alexandre Daubois
0a00d17c6c Add return types and parameter types 2023-07-13 11:34:31 +02:00
Alexandre Daubois
472f5794d3 Add property types and return types in a few places 2023-05-31 09:23:59 +02:00
Oskar Stark
d1ea043d46 Merge branch '5.4' into 6.2
* 5.4:
  Use "$container" consistently
2023-05-19 22:08:14 +02:00
Nicolas Grekas
26d021c632 Use "$container" consistently 2023-05-10 09:45:38 +02:00
Oskar Stark
4ef50155b3 Merge branch '5.4' into 6.2
* 5.4:
  Use HTTPS links when possible
2023-04-14 11:58:23 +02:00
Christophe Coevoet
a8045320eb Use HTTPS links when possible 2023-04-14 11:48:23 +02:00
Javier Eguiluz
491704c66b Merge branch '5.4' into 6.2
* 5.4:
  Remove index directive
2023-03-29 10:08:09 +02:00
Antoine Lamirault
d7e844d9f2 Remove index directive 2023-03-27 19:56:40 +02:00
Javier Eguiluz
f9d355d757 Merge branch '5.4' into 6.2
* 5.4:
  [HttpCache] Fix decorating http_cache xml example
2023-03-16 15:27:32 +01:00
HypeMC
6641fa5dda [HttpCache] Fix decorating http_cache xml example 2023-03-15 22:25:51 +01:00
HypeMC
e992925ca9 [HttpCache] Add example with an attribute 2023-03-02 09:31:33 +01:00
Oskar Stark
013f3cc060 Merge branch '5.4' into 6.2
* 5.4:
  [Form] Removed jQuery in favour of vanilla Javascript
  [HttpCache] Explain how to extend the HttpCache class
2023-03-02 07:58:52 +01:00
HypeMC
34809dde62 [HttpCache] Explain how to extend the HttpCache class 2023-02-26 17:31:21 +01:00
Antoine Lamirault
34745bf96c [HttpKernel] Add option to render Surrogate fragment with absolute URIs 2022-12-24 13:24:19 +01:00
Christian Flothmann
2564f4b153 Merge branch '6.1' into 6.2
* 6.1:
  [Security] update Voter return type
  [DependecyInjection] Added Uses & hints
  "Creating Pages" not responsive
  [Cache] Add return hint
  [Cache] Add use Response & return hint
  Update questionhelper.rst
  [Cache] Add return hint
  Minor
  [Cache] Add return hint
  [Validation] Add getGroupSequence return hint
  [4.4] fix code sample to log out
  [Lock] Specify default ttl
2022-08-22 10:23:10 +02:00
Christian Flothmann
d5ac6646fc Merge branch '5.4' into 6.0
* 5.4:
  [Security] update Voter return type
  [DependecyInjection] Added Uses & hints
  "Creating Pages" not responsive
  [Cache] Add return hint
  [Cache] Add use Response & return hint
  Update questionhelper.rst
  Minor
  [Cache] Add return hint
  [4.4] fix code sample to log out
  [Lock] Specify default ttl
2022-08-22 10:21:11 +02:00
Christian Flothmann
fc087b89d8 Merge branch '4.4' into 5.4
* 4.4:
  [Security] update Voter return type
  [DependecyInjection] Added Uses & hints
  "Creating Pages" not responsive
  [Cache] Add return hint
  [Cache] Add use Response & return hint
  Minor
  [4.4] fix code sample to log out
  [Lock] Specify default ttl
2022-08-22 10:20:03 +02:00
mohamed gasmi
9e04da2d2c [Cache] Add return hint 2022-08-22 10:10:57 +02:00
mohamed gasmi
6868736fe0 [Cache] Add use Response & return hint 2022-08-21 13:41:24 +02:00
mohamed gasmi
d3b56dfaf0 [Cache] Add return hint
Return hint for invalidate added in V6.0
2022-08-16 21:50:41 +02:00
Javier Eguiluz
b2193d8cd0 Merge branch '6.1' into 6.2
* 6.1:
  [Doctrine] MakerBundle 1.3 is too old to reference
  add command related to tags
  added validation model ref link
2022-07-22 12:51:31 +02:00
Javier Eguiluz
58c16a62b3 Merge branch '4.4' into 5.4
* 4.4:
  add command related to tags
  added validation model ref link
2022-07-22 12:50:03 +02:00
Javier Eguiluz
7cb8ac16b7 minor #17010 [HttpCache] add validation model ref link (mohamedGasmii)
This PR was merged into the 4.4 branch.

Discussion
----------

[HttpCache] add validation model ref link

<!--

If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/releases for the list of maintained branches).

If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `6.x` for features of unreleased versions).

-->

Commits
-------

e34c9d070 added validation model ref link
2022-07-22 12:47:44 +02:00
Javier Eguiluz
cf50198ac4 minor #16998 [HttpKernel] Add #[Cache()] attribute (javiereguiluz)
This PR was merged into the 6.2 branch.

Discussion
----------

[HttpKernel] Add #[Cache()] attribute

Fixes #16974.

The only article I didn't update was `http_cache/validation.rst` because it uses lots of PHP logic to set cache headers, so I think it cannot be replicated with PHP attributes.

Commits
-------

189414128 Add #[Cache()] attribute
2022-07-21 17:56:58 +02:00
Javier Eguiluz
0497127459 Merge branch '4.4' into 5.4
* 4.4:
  [HttpCache] Update a link to Varnish cookie docs
  Improve the explanation of the setfacl command usage
2022-07-19 12:09:23 +02:00
mohamed gasmi
e34c9d0702 added validation model ref link 2022-07-18 22:21:53 +02:00
Javier Eguiluz
0960134dd2 [HttpCache] Update a link to Varnish cookie docs 2022-07-18 17:44:50 +02:00
Javier Eguiluz
1894141283 Add #[Cache()] attribute 2022-07-18 15:00:11 +02:00
Javier Eguiluz
a5979b0390 Merge branch '4.4' into 5.4
* 4.4:
  Use `path` instead of `url` in SSI documentation
2022-02-18 16:51:46 +01:00
Javier Eguiluz
ac13f6e4e5 Minor tweak 2022-02-18 16:50:04 +01:00