Commit Graph

1163 Commits

Author SHA1 Message Date
Guy Sartorelli
30cd521029 DOC Update docs for searchable and summary fields. 2022-06-30 15:55:56 +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
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
Lukas
552cf5944d
MNT Fix various typos with codespell (#10177) 2021-12-13 21:05:33 +13:00
Aaron Carlino
a1092b8606
DOCS: Add clearer instructions for prerelease installation (#10164)
* DOCS: Add clearer instructions for prerelease installation

* Update docs/en/02_Developer_Guides/19_GraphQL/01_getting_started/index.md

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

Co-authored-by: Michal Kleiner <mk@011.nz>
2021-12-02 11:21:41 +13:00
Aaron Carlino
b5bff1aa08
DOCS: GraphQL architecture diagrams (#10123)
* DOCS: GraphQL architecture diagrams

* Update docs/en/02_Developer_Guides/19_GraphQL/08_architecture_diagrams.md
2021-11-18 00:29:30 +13:00
Bryn Whyman
b381007156
DOCS more guidance on how to create a module (#10131)
The docs on creating a module are pretty light. I've opted to put this in the developer docs and not in the module skeleton repository as I see the later as more of a file skeleton, over a full tutorial space.

Co-authored-by: brynwhyman <bryn.whyman@silverstripe.com>
2021-11-08 15:09:51 +13:00
Steve Boyd
cd076542f4
API Upgrade SapphireTest to work with phpunit 9 (#10028) 2021-10-27 15:39:47 +13:00
Michael Pritchard (HEIW)
5ad7d5169f DOCS Update all occurrences of /app/code/ to /app/src/ for correct v4 structure
Linked to #10099, I noticed another occurrence of /app/code/, so I've search and replaced all of them to /app/src/ for the correct v4 structure
2021-10-07 09:13:26 +01:00
Michael
fbf487183e
DOC: update /app/code to /app/src for correct v4 structure 2021-09-24 15:54:58 +01:00
wernerkrauss
d6ea45d4bf
fix invalid link in docs
the relative link to ruby i18n guides should be absolute
2021-09-20 22:04:35 +02:00
Steve Boyd
52e5e62391
DOC Escape HTML in heading 2021-09-14 16:06:32 +12:00
Steve Boyd
677668f43a DOC Mention image lazy loading available from 4.9 onwards 2021-09-14 14:02:20 +12:00
Aaron Carlino
40bb322a7e
DOCS: Document new DBFieldArgs plugin (#10039)
* Docs for DBFieldArgs

* New docs for enumTypeMapping, ignore
2021-09-06 17:27:14 +12:00
Steve Boyd
00e29758ff DOC Add information regarding Security::setCurrentUser() 2021-09-06 14:04:53 +12:00
Patrick Nelson
612f140bd1
DOCS: Documenting the capability of 'envorconstant' to be checked against specific values 2021-08-31 21:17:59 -07:00