Commit Graph

23193 Commits

Author SHA1 Message Date
Guy Sartorelli
6a8915b316 DOCS Encourage filtering sensitive arguments from logged backtraces. 2022-06-23 16:10:30 +12:00
Guy Sartorelli
86cf404944 MNT Add test for backtrace class checking method. 2022-06-23 15:54:36 +12:00
Guy Sartorelli
74e5a94b32 ENH Update list of methods to have filtered args in backtrace. 2022-06-23 15:18:28 +12:00
Guy Sartorelli
d448622ff4 ENH Allow subclasses to be defined for backtrace filtered functions. 2022-06-23 15:17:33 +12:00
Guy Sartorelli
2b0df58176 ENH Minor performance enhancement for backtrace.
Don't keep processing when we've found a match.
2022-06-23 15:16:46 +12:00
Guy Sartorelli
268a66418b ENH Move backtrace ignored functions into yml config.
Each module that adds its own methods will do it via yml. This keeps
framework consistent with the others.
2022-06-23 14:24:23 +12:00
Guy Sartorelli
7f7feb8604 ENH Refactor Backtrace to be a bit more readable. 2022-06-23 13:57:08 +12:00
Guy Sartorelli
139fa07bcb
DOCS Remove backticks from gatsby metadata in docs. (#10357) 2022-06-15 13:33:11 +12:00
Loz Calver
be19fa7f3d
Merge pull request #10352 from oddnoc/phan-help
Correct declaration of variadic $args as array
2022-06-13 09:18:14 +01:00
Loz Calver
d2df0650db
Merge pull request #10355 from creative-commoners/pulls/4/group-title-test
MNT Add test for programatically adding blank Group title.
2022-06-13 09:17:06 +01:00
Guy Sartorelli
e8194123a6 MNT Add test for programatically adding blank Group title. 2022-06-13 16:32:10 +12:00
Fred Condo
f670eb4980 Correct declaration of variadic $args to mixed
Declaring as array confuses static analyzers, specifically phan, which
throws PhanTypeMismatchArgument for every invocation of
Injectable::create(). Correcting this declaration in the doc block
prevents all those false positives.
2022-06-09 14:27:42 -07: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
3799bceff3
Merge pull request #10344 from creative-commoners/pulls/4/public-graphql-dir
DOCS Update server requirements to account for public/_graphql/
2022-06-08 22:03:28 +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
Guy Sartorelli
0bd3fae7e1 DOCS Update server requirements to account for public/_graphql/ 2022-06-08 09:12:03 +12:00
Jonathan Copson
2c30438b01
DOCS Add missing colon to CORS docs example 2022-06-07 14:00:29 +12:00
Guy Sartorelli
40ba78fd63
Merge pull request #10348 from AntonyThorpe/patch-2
Updated 2_configuring_your_schema.md
2022-06-05 19:22:21 +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
Guy Sartorelli
5a4b35875a
Merge pull request #10346 from AntonyThorpe/patch-1
Updated 07_nested_definitions.md
2022-06-04 23:32:14 +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
Maxime Rainville
6c09173647
Merge pull request #10339 from creative-commoners/pulls/4/graphql-generated-docs
DOCS Correct references to graphql v4 schema build dir
2022-06-01 21:09:10 +12:00
Guy Sartorelli
c8990e6949
Merge pull request #10340 from creative-commoners/pulls/4/rc1-changelog
DOC Add 4.11.0-rc1 changelog
2022-05-30 16:45:41 +12:00
Steve Boyd
112284975a DOC Add 4.11.0-rc1 changelog 2022-05-30 16:43:09 +12:00
Christian Bünte
d37ddedd90
Fix i18nTextCollector produces corrupt output / namespaces when running under PHP8.0 (#10228)
* FIX i18nTextCollector produces corrupt output / namespaces when running under PHP8.0
2022-05-30 15:04:51 +12:00
Guy Sartorelli
413897503d DOCS Correct references to graphql v4 schema build dir 2022-05-30 12:12:04 +12:00
Guy Sartorelli
8ae7f30c41 Merge branch '4.11' into 4 2022-05-27 15:19:51 +12:00
Guy Sartorelli
dec85819bd Merge branch '4.10' into 4.11 2022-05-27 15:19:39 +12:00
Guy Sartorelli
0bc3ed4d2c Merge branch '4.9' into 4.10 2022-05-27 15:19:17 +12:00
Guy Sartorelli
2cf1725ba6
Merge pull request #10317 from silverstripe-terraformers/feature/mock-sleep
NEW: Mock sleep unit test utility.
2022-05-27 13:52:01 +12:00
Guy Sartorelli
9d73b7b4bd Merge branch '4.11' into 4 2022-05-27 12:55:53 +12:00
Guy Sartorelli
972a77f4d3 Merge branch '4.10' into 4.11 2022-05-27 12:55:35 +12:00
Steve Boyd
825dd4b10d
Merge pull request #10333 from creative-commoners/pulls/4.10/fix-group-code-dedupe
FIX Resolve deduping problem with group codes.
2022-05-27 12:22:36 +12:00
Guy Sartorelli
e0c4f01c11 FIX Resolve deduping problem with group codes.
Also remove dead validation code.
2022-05-27 11:19:32 +12:00
Steve Boyd
6f27dadae8 Merge branch '4.11' into 4 2022-05-26 12:39:09 +12:00
Steve Boyd
dccaa9135e
Merge pull request #10334 from creative-commoners/pulls/4.11/mysql8-pdo-test
MNT Update utf8 aliases for mysql 8 and mariadb 10.6
2022-05-26 12:38:18 +12:00
Steve Boyd
ec5b94facf MNT Update utf8 aliases for mysql 8 and mariadb 10.6 2022-05-26 12:06:51 +12:00
Guy Sartorelli
07aae0e56a
Merge pull request #10330 from creative-commoners/pulls/4.9/permissions-repeated-records
ENH Replace record in Permission Table if GroupID already exist
2022-05-23 18:30:21 +12:00
Sabina Talipova
70f1dc8841 ENH Override record if a provided GroupId with provided Code already exist in Permission table. 2022-05-23 14:52:33 +12:00
Guy Sartorelli
a8652f7cbb ENH Restore gridfield state from get vars 2022-05-23 10:57:13 +12:00
Daniel Hensby
8903b446a0
Merge pull request #10326 from creative-commoners/pulls/4/unreleased-changelog
DOCS Clearly mark 4.11.0 as unreleased
2022-05-21 18:25:54 +01:00
Guy Sartorelli
ba660cc84c DOCS Add title to 4.11.0 changelog
Marks this minor version as unreleased in the changelog listing
2022-05-20 13:54:29 +12:00
Steve Boyd
db5fbcd035 Merge branch '4.11' into 4 2022-05-19 17:25:42 +12:00
Steve Boyd
d3252b1645 Merge branch '4.10' into 4.11 2022-05-19 17:25:15 +12:00
Mojmir Fendek
a9a6b0f114 PR fixes. 2022-05-19 14:09:04 +12:00
Steve Boyd
6c5448b70f Merge branch '4.11' into 4 2022-05-18 13:43:06 +12:00
Guy Sartorelli
feb7ccf92e
Merge pull request #10324 from creative-commoners/pulls/4.11/guzzle
DEP Add guzzle 7 requirement
2022-05-18 13:34:13 +12:00
Steve Boyd
19dcf477a6
Merge pull request #10262 from sirtoobii/patch-1
Fixed $Debug to finally show available methods
2022-05-18 13:14:10 +12:00