Commit Graph

22991 Commits

Author SHA1 Message Date
Steve Boyd
59800b5879 Merge branch '4.9' into 4.10 2022-03-08 12:21:03 +13:00
Maxime Rainville
018457a7c8
Merge pull request #10236 from creative-commoners/pulls/4.9/default-email-from
ENH Create fallback email from address
2022-03-08 10:35:36 +13:00
Michal Kleiner
f666537c7e
Merge pull request #10249 from creative-commoners/pulls/4/bug-bounty
DOC Clarify that Silverstripe CMS does not have a bug bounty program
2022-03-07 17:27:21 +13:00
Steve Boyd
badc17891c ENH Create fallback email from address 2022-03-07 16:18:57 +13:00
Maxime Rainville
41df2a22e6 DOC Clarify that Silverstripe CMS does not have a bug bounty program 2022-03-07 14:38:17 +13:00
Maxime Rainville
4f14f5c8aa
Merge pull request #10225 from GuySartorelli/patch-1
DOCS Add blurbs about several new features to 4.11 changelog
2022-03-02 16:02:45 +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
Michal Kleiner
69225497b8
Merge pull request #10234 from GuySartorelli/patch-2
DOCS Fix link to PHPunit docs
2022-02-15 16:20:49 +13:00
Guy Sartorelli
9773f0d8ce
DOCS Fix link to PHPunit docs
The old URL gives a 404 response.
2022-02-15 15:15:02 +13:00
Michal Kleiner
342611d202
Merge pull request #10232 from creative-commoners/pulls/4/serializable
API Implement updated Serializable API
2022-02-14 18:26:04 +13:00
Steve Boyd
0318372641 API Implement updated Serializable API 2022-02-14 13:26:11 +13:00
Michal Kleiner
ba80f4baa9
Merge pull request #9996 from signify-nz/enh/gridfield-readonly-transformation
ENH Provide ways to modify read-only gridfields globally.
2022-02-12 22:10:29 +13:00
Steve Boyd
bccbeedfdc Merge branch '4.10' into 4 2022-02-10 16:38:08 +13: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
Michal Kleiner
9b93399f1f
Merge pull request #10231 from creative-commoners/pulls/4/update-core-committer
DOC Add Steve to Core Committer list
2022-02-09 14:18:09 +13:00
Maxime Rainville
73fd4b185a DOC Add Steve to Core Committer list 2022-02-09 13:38:12 +13:00
Michal Kleiner
c3e7933942
Merge pull request #10230 from webbuilders-group/bugfix-undefined-class
FIX Fix issue where an undefined class error would be thrown when getting objects or ids from fixtures
2022-02-09 09:59:43 +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
Steve Boyd
4044573ae7
DOC Clarify which branch to target for third-party dependency changes (#10216) 2022-02-08 17:44:09 +13:00
Steve Boyd
b800927d97
DEP Set minimum symfony version to 3.4 (#10209) 2022-02-08 16:27:43 +13:00
Michal Kleiner
756e67d746
Merge pull request #10226 from GuySartorelli/patch-2
DOC Update old pre-namespaces PHPDoc
2022-02-08 15:02:56 +13:00
GuySartorelli
2e5a988f46 DOC Add blurbs about several new features to 4.11 changelog 2022-02-08 14:20:51 +13:00
Michal Kleiner
578f3e035f
Merge pull request #10224 from webbuilders-group/bugfix-undefined-class
FIX Fix issue where an undefined class error would be thrown when getting objects or ids from fixtures
2022-02-08 13:49:28 +13:00
GuySartorelli
95be6ed077
DOC Update old pre-namespaces PHPDoc
The code in the original PHPDoc would have produced an error if used.
2022-02-08 13:03:45 +13:00
UndefinedOffset
34118efbc6
BUGFIX: Fixed issue where an undefined class error would be thrown when getting objects or ids from fixtures 2022-02-07 09:45:18 -04: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
Ingo Schommer
d8499a24d0
NEW NullDatabase (#10016)
* NEW DatabaselessKernel to support operation without DB

This is required for GraphQL code generation in CI (without a working runtime database/webserver environment).
Context: https://github.com/silverstripe/silverstripe-graphql/issues/388

* New --no-database option for sake

* Refactor to abstract class

* Apply feedback peer review

Co-authored-by: Aaron Carlino <unclecheese@leftandmain.com>
Co-authored-by: Maxime Rainville <maxime@silverstripe.com>
2022-02-04 10:07:27 +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
GuySartorelli
21c279ba57
DOC Change "SilverStripe" to "Silverstripe" in readme (#10206) 2022-02-02 10:16:38 +13:00
GuySartorelli
fc2160fa3a
ENH Provide hook for updating the parent used for absoluteURL (#10168)
One use case for this that I've run into a few times is for sending emails using a queued job from the CLI.
2022-01-31 20:41:14 +13:00
Andrew Paxley
83156dd9c9
DOC Add admin_email config recommendation to 4.9.0 upgrade (#10212)
* Add admin_email config recommendation to 4.9.0 upgrade

* add missing header
2022-01-27 14:06:17 +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
7d19ded76e
Merge pull request #10214 from creative-commoners/pulls/4.10/final-changelog
DOC Update 4.10.0 changelog
2022-01-25 16:05:38 +13:00
Steve Boyd
85519b7a17 DOC Update 4.10.0 changelog 2022-01-25 16:04:06 +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
Thomas Portelange
0cfd98d87a
FIX support search filter instances (#9991)
and also fully qualified class names
2022-01-21 16:33:51 +13:00
Steve Boyd
f9cceef9b5 Merge branch '4.10' into 4 2022-01-21 11:57:51 +13:00
Steve Boyd
d1d1e9f58e Merge branch '4.9' into 4.10 2022-01-21 11:57:19 +13:00
Maxime Rainville
2841e1bd3d
DOC Fix type in 4.9.0 changelog (#10152) 2022-01-21 11:56:30 +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
Steve Boyd
fc707cc10d
MNT Refactor out missing assertArraySubset (#10208) 2022-01-20 12:24:25 +13:00
Steve Boyd
511b8a4c71 Merge branch '4.10' into 4 2022-01-19 16:03:42 +13:00
Ed Wilde
05e57bdc38
DOC Remove italics in headings (#10205)
The italics in the heading appear to break the rendering of the page. Instead rendering the heading as "What's the difference between a".
2022-01-19 09:09:50 +13:00
LiamKearn
ce3e07a189
DOC DBComposite reword to make a little more sense. (#10193)
* Docs: DBComposite reword to make a little more sense.
* Update src/ORM/FieldType/DBComposite.php
Docs: Rewording DBComposite explanation based on feedback
Co-authored-by: Steve Boyd <emteknetnz@gmail.com>
2022-01-18 15:52:01 +13:00
Steve Boyd
94f976d985
Merge pull request #9894 from brettt89/fix/single-select-empty-default
Move hasEmptySchema and emptyString to DataSchema on SingleSelectField
2022-01-18 11:11:17 +13:00
Mojmir Fendek
3db1435df7
NEW: Allow DateTime to be immutable (#10125)
* BUG: Datetime modify() returns a new field instance.
* PR fixes.
* PR fixes.
2022-01-18 09:41:11 +13:00