Commit Graph

1176 Commits

Author SHA1 Message Date
Steve Boyd
4d662d2dea Merge branch '4.11' into 4 2022-06-28 17:42:07 +12:00
Steve Boyd
98b985fb91 Merge branch '4.10' into 4.11 2022-06-28 17:41:49 +12:00
Steve Boyd
991aedf017 [CVE-2022-25238] Sanitise htmlfields serverside by default 2022-06-28 17:03:05 +12:00
Guy Sartorelli
4d18d36625
DOC Remove pre-release warnings from GraphQL docs. (#10354) 2022-06-28 16:27:06 +12:00
Sabina Talipova
ad581d9673
Merge pull request #10365 from creative-commoners/pulls/4/docs-for-adding-backtrace-filters
DOCS Encourage filtering sensitive arguments from logged backtraces.
2022-06-27 14:18:37 +12:00
Guy Sartorelli
f276fccb78
DOC Review 4.11.0 changelog notes (#10356)
* DOCS Add missing content from beta/rc changelogs

* DOCS Add documentation for report count limiting.

This was added to the report module README but really belongs here.

* DOCS Add information about some new features.

* DOCS Add and standardise anchor links.

* DOCS Various updates to wording and formatting in 4.11.0 changelog

* DOCS Move php changelog notes

This is consistent with their placement in the 4.10.0 changelogs.

* DOCS Requested PR changes

* DOCSUse relative URLs for links to docs from changelog.

* DOCS Use code blocks for terminal commands

* DOCS requested PR changes

* DOCS Don't need to inline recipe to downgrade graphql.

* DOCS Move php parts back where they were.

* DOCS Fix typos in changelog.
2022-06-27 11:37:34 +12:00
Guy Sartorelli
6a8915b316 DOCS Encourage filtering sensitive arguments from logged backtraces. 2022-06-23 16:10:30 +12:00
Guy Sartorelli
139fa07bcb
DOCS Remove backticks from gatsby metadata in docs. (#10357) 2022-06-15 13:33:11 +12:00
Paweł Suwiński
1c85d151a6
NEW Add factory_method configuration to Injector
use callable as well as creator
2022-06-09 13:57:47 +12:00
Maxime Rainville
22d992a22b
DOC Update documentation for GraphQL v4 (#10325)
* DOC Add upgrade guidance for GraphQL v4

* Move docs around

The existing upgrading docs are for upgrading to v4, whereas the new docs are more about how to handle the new .graphql-generated directory.

* Update graphql documentation

* More updates to doc

Co-authored-by: Guy Sartorelli <guy.sartorelli@silverstripe.com>
2022-06-08 17:23:48 +12:00
Jonathan Copson
2c30438b01
DOCS Add missing colon to CORS docs example 2022-06-07 14:00:29 +12:00
Antony Thorpe
ab3375ce26
Updated 2_configuring_your_schema.md
Fixed tiny inconsistency in `Namespacing by directory name`
2022-06-05 18:40:24 +12:00
Antony Thorpe
1c88e989e2
Updated 07_nested_definitions.md
Missing colon
2022-06-04 21:56:51 +12:00
Guy Sartorelli
fa3556746f
Merge pull request #10335 from creative-commoners/pulls/4/samesite-cookies
ENH Add samesite attribute to cookies.
2022-06-02 12:49:34 +12:00
Guy Sartorelli
31c974c528 ENH Add samesite attribute to cookies.
Co-authored-by: pine3ree <pine3ree@gmail.com>
2022-06-02 12:01:03 +12:00
Guy Sartorelli
413897503d DOCS Correct references to graphql v4 schema build dir 2022-05-30 12:12:04 +12:00
Steve Boyd
c72efa0d3f ENH Use guzzle for oembed 2022-05-11 16:37:59 +12:00
FreezerNick
7d2bfc6fcf
DOC: Fix page not found in Builtin Middlewares
Updates the address to the URL special variables page
2022-04-22 11:24:14 +02:00
FreezerNick
107c7196ac
DOC: Address broken code samples
Fixes syntax errors in YAML config samples and adds a missing PHP use statement for the HTTP Middlewares page
2022-04-21 13:31:15 +02:00
Guy Sartorelli
1261926911
Merge pull request #10282 from creative-commoners/pulls/4/doc-webp-support
WEBP support doc
2022-04-20 10:53:36 +12:00
Maxime Rainville
d7b7b58e5d
Tweaks from peer review
Co-authored-by: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com>
2022-04-20 10:17:09 +12:00
Maxime Rainville
e9d3fe5c00 DOC Explain how to add new Image formats. 2022-04-14 13:56:47 +12:00
Guy Sartorelli
6639fed05e
Merge pull request #10007 from zemiacsik/patch-5
added comment to be more specific
2022-04-12 21:51:36 +12:00
Daniel Hensby
579cfdc5db
Merge pull request #10279 from creative-commoners/pulls/4/nerf-graphql-verbosity-option
DOC Remove reference to GraphQL verbosity
2022-04-12 09:42:07 +01:00
zemiacsik
2a845e420d
added comment to be more specific
added requirement of having custom function in allowed actions in redirection to it
2022-04-12 09:25:22 +01:00
Guy Sartorelli
573144e3b9
Merge pull request #10240 from eduardovinuela/patch-1
DOCS ORM is Object-Relational Mapping.
2022-04-12 19:18:22 +12:00
Maxime Rainville
c2c6e5392d DOC Remove reference to GraphQL verbosity 2022-04-12 13:44:07 +12:00
Steve Boyd
814c5b2fd0 ENH Fix deprecation issues for PHP 8.1 compatibility 2022-04-06 11:34:34 +12:00
Maxime Rainville
78dcfd217a
Merge pull request #10235 from creative-commoners/pulls/4/meta-generator
NEW Get the version for an individual module
2022-03-09 13:41:12 +13:00
Loz Calver
c460ffb88a
Merge pull request #10255 from JohannDickson/patch-2
DOCS: Fix file resolver example
2022-03-08 09:02:40 +00:00
Johann Dickson
60795cd0ab Fix file resolver example 2022-03-08 16:39:29 +13:00
Steve Boyd
b73a3cdd7a API Extension hook for email default from 2022-03-08 14:31:51 +13:00
Steve Boyd
f488f38f7d NEW Get the version for an individual module 2022-03-08 13:48:43 +13:00
Eduardo Viñuela
231063fd07
ORM is Object-Relational Mapping.
Changing Object-Relational Model to Object-Relational Mapping (the correct meaning of ORM).
Other popular ORMs: Hibernate, Entity Framework Core, Dapper.
2022-02-22 12:20:46 -06:00
Tyler Trout
6b1c5eb6d7
NEW Allow methods to be used for flexible searchable_fields (#10199)
* Allow methods to be used for flexible searchable_fields

* match_any key

* Documentation

* Update docs/en/02_Developer_Guides/00_Model/11_Scaffolding.md

Co-authored-by: GuySartorelli <36352093+GuySartorelli@users.noreply.github.com>

* Search fields test

* Newlines

* Update src/ORM/Search/SearchContext.php

Co-authored-by: Steve Boyd <emteknetnz@gmail.com>

* Update docs/en/02_Developer_Guides/00_Model/11_Scaffolding.md

Co-authored-by: Steve Boyd <emteknetnz@gmail.com>

* Removed comments and whitespace. Linting fixes

Co-authored-by: GuySartorelli <36352093+GuySartorelli@users.noreply.github.com>
Co-authored-by: Steve Boyd <emteknetnz@gmail.com>
2022-02-10 09:40:16 +13:00
Maxime Rainville
6e1bc807e5
DOC GraphQL src must always be an array. (#10213)
* DOC GraphQL src must always be an array.

* DOC Tweak the graphql module syntax

* DOC Fix minor linting issue in example
2022-02-08 22:08:37 +13:00
Mojmir Fendek
89c87ddbf8
NEW: Static validation for relationships. (#9874)
* NEW: Static validation for relationships.

* Unit tests added.

* PR fixes

* PR feedback: Execute validation on flush.

* PR fixes.

* PR fixes.
2022-02-04 14:41:09 +13:00
GuySartorelli
8f1c68db42
DOC Document how to enable the preview panel for custom DataObjects. (#10124) 2022-02-04 12:50:35 +13:00
Roman Schmid
3b5c72f3fd
V4: Fix documentation for Enum declaration Syntax (#10223) 2022-02-04 07:22:38 +13:00
Bernard Hamlin
6d90eec0c8
DOC Injector syntax docs update (#10221) 2022-02-02 16:03:13 +13:00
GuySartorelli
5c54276b6f
ENH Make all GridField components injectable (using abstract class) (#10204)
* ENH Make all GridField components injectable.

Some components were already injectable, but all GridField components shipped in silverstripe should be injectable.
This makes it a LOT easier to make global project-specific changes to a given component.
The new AbstractGridFieldComponent also makes it easy to make similar wide-spread changes in the future.

* DOCS Encourage injection for GridField and GridFieldComponents.
2022-02-02 11:14:33 +13:00
Michal Kleiner
c74f368bf4
Merge pull request #10079 from patricknelson/patch-10
DOC Document the capability of 'envorconstant' to be checked against specific values
2022-01-27 10:34:18 +13:00
Steve Boyd
6691d31121 Merge branch '4.10' into 4 2022-01-25 16:09:14 +13:00
Maxime Rainville
962ff93076
DOC Final 4.10 pre-release changelog tweaks (#10210)
* DOC add missing closing detail tag

* DOC RC changelog tweaks into stable changelog

* DOC Add reference to FirstPage and LastPage

* DOC Remove IE11 from supported browsers

* DOC Final pre-release tweaks to 4.10 changelog

* DOC Minor tweak to 4.10 changelog

Co-authored-by: Michal Kleiner <mk@011.nz>

* Update docs/en/04_Changelogs/4.10.0.md

Co-authored-by: GuySartorelli <36352093+GuySartorelli@users.noreply.github.com>

Co-authored-by: Michal Kleiner <mk@011.nz>
Co-authored-by: Steve Boyd <emteknetnz@gmail.com>
Co-authored-by: GuySartorelli <36352093+GuySartorelli@users.noreply.github.com>
2022-01-25 11:39:58 +13:00
Aaron Carlino
5bb203e16a
DOCS: Bulk loader graphql docs (#10203)
* DOCS: Bulk loader graphql docs

* Add code example, add module syntax
2022-01-21 10:22:54 +13:00
Michal Kleiner
30325f6416
Merge pull request #10114 from Michael-HEIW/update-code-to-src
DOCS Update all occurrences of /app/code/ to /app/src/ for v4
2022-01-15 10:34:59 +13:00
Corey Sewell
29bdce98b2
Fix lazy load height attribute typo 2022-01-12 11:11:06 +13:00
Aaron Carlino
a7b8c9f038
DOCS: Docs for various new graphql features (#10186) 2021-12-23 13:51:23 +13:00
Aaron Carlino
e1b33e639b DOCS: fix formatting error 2021-12-20 16:38:41 +13:00
Lukas
63ec5069f7
MNT Update URL unicode-org.github.io/icu (#10176)
A further addition to #10118
2021-12-13 21:28:15 +13:00