From 552cf5944d1440bdb97f34ad12d3eea3932c76ab Mon Sep 17 00:00:00 2001 From: Lukas Date: Mon, 13 Dec 2021 09:05:33 +0100 Subject: [PATCH] MNT Fix various typos with codespell (#10177) --- .travis.yml | 2 +- .../00_Server_Requirements.md | 2 +- docs/en/00_Getting_Started/02_Composer.md | 2 +- .../00_Model/01_Data_Model_and_ORM.md | 2 +- .../00_Model/10_Versioning.md | 12 +++---- .../01_Templates/01_Syntax.md | 6 ++-- .../01_Templates/02_Common_Variables.md | 4 +-- .../01_Templates/03_Requirements.md | 4 +-- .../11_Partial_Template_Caching.md | 2 +- .../02_Controllers/01_Introduction.md | 2 +- .../02_Controllers/02_Routing.md | 2 +- .../02_Controllers/04_Redirection.md | 2 +- .../04_Create_a_GridField_ActionProvider.md | 2 +- .../How_Tos/05_Simple_Contact_Form.md | 2 +- .../05_Extending/01_Extensions.md | 2 +- .../06_Testing/04_Fixtures.md | 2 +- .../How_Tos/00_Write_a_SapphireTest.md | 2 +- .../08_Performance/01_Caching.md | 2 +- .../08_Performance/02_HTTP_Cache_Headers.md | 2 +- .../09_Security/04_Secure_Coding.md | 2 +- .../12_Search/01_Searchcontext.md | 2 +- docs/en/02_Developer_Guides/13_i18n/index.md | 2 +- .../14_Files/01_File_Management.md | 4 +-- .../14_Files/03_File_Security.md | 6 ++-- .../14_Files/05_File_Migration.md | 2 +- .../02_CMS_Architecture.md | 2 +- .../06_Javascript_Development.md | 10 +++--- .../07_ReactJS_Redux_and_GraphQL.md | 4 +-- .../How_Tos/CMS_Alternating_Button.md | 2 +- .../02_query_plugins.md | 2 +- .../03_permissions.md | 2 +- .../07_nested_definitions.md | 2 +- .../05_adding_pagination.md | 2 +- .../06_extending/adding_a_custom_model.md | 2 +- .../06_extending/adding_middleware.md | 2 +- .../19_GraphQL/08_architecture_diagrams.md | 2 +- docs/en/03_Upgrading/02_Upgrading_module.md | 4 +-- docs/en/03_Upgrading/03_Migrating_off_CWP.md | 2 +- docs/en/04_Changelogs/4.0.0.md | 24 ++++++------- docs/en/04_Changelogs/4.0.1.md | 2 +- docs/en/04_Changelogs/4.0.2.md | 2 +- docs/en/04_Changelogs/4.1.0.md | 6 ++-- docs/en/04_Changelogs/4.2.0.md | 6 ++-- docs/en/04_Changelogs/4.3.0.md | 2 +- docs/en/04_Changelogs/4.3.2.md | 2 +- docs/en/04_Changelogs/4.3.3.md | 2 +- docs/en/04_Changelogs/4.4.0.md | 8 ++--- docs/en/04_Changelogs/4.4.1.md | 6 ++-- docs/en/04_Changelogs/4.4.2.md | 2 +- docs/en/04_Changelogs/4.4.5.md | 2 +- docs/en/04_Changelogs/4.4.7.md | 2 +- docs/en/04_Changelogs/4.5.0.md | 6 ++-- docs/en/04_Changelogs/4.5.3.md | 2 +- docs/en/04_Changelogs/4.6.0.md | 2 +- docs/en/04_Changelogs/4.6.1.md | 2 +- docs/en/04_Changelogs/4.7.0.md | 14 ++++---- docs/en/04_Changelogs/4.8.0.md | 4 +-- docs/en/04_Changelogs/4.9.0.md | 2 +- docs/en/04_Changelogs/alpha/4.0.0-alpha1.md | 24 ++++++------- docs/en/04_Changelogs/alpha/4.0.0-alpha7.md | 2 +- docs/en/04_Changelogs/alpha/4.5.0-alpha1.md | 6 ++-- docs/en/04_Changelogs/alpha/4.9.0-alpha1.md | 2 +- docs/en/04_Changelogs/beta/4.0.0-beta1.md | 10 +++--- docs/en/04_Changelogs/beta/4.10.0-beta1.md | 2 +- docs/en/04_Changelogs/beta/4.6.0-beta1.md | 2 +- docs/en/04_Changelogs/beta/4.7.0-beta1.md | 12 +++---- docs/en/04_Changelogs/beta/4.8.0-beta1.md | 6 ++-- docs/en/04_Changelogs/beta/4.9.0-beta1.md | 4 +-- docs/en/04_Changelogs/rc/4.0.0-rc1.md | 10 +++--- docs/en/04_Changelogs/rc/4.0.1-rc1.md | 2 +- docs/en/04_Changelogs/rc/4.3.0-rc1.md | 2 +- docs/en/04_Changelogs/rc/4.4.0-rc1.md | 6 ++-- docs/en/04_Changelogs/rc/4.5.0-rc1.md | 6 ++-- docs/en/04_Changelogs/rc/4.6.0-rc1.md | 2 +- docs/en/04_Changelogs/rc/4.7.0-rc1.md | 14 ++++---- docs/en/04_Changelogs/rc/4.8.0-rc1.md | 4 +-- docs/en/04_Changelogs/rc/4.9.0-rc1.md | 4 +-- .../05_Making_A_SilverStripe_Core_Release.md | 4 +-- docs/en/05_Contributing/07_Translations.md | 2 +- src/Control/Cookie_Backend.php | 2 +- src/Control/Director.php | 2 +- src/Control/HTTPRequest.php | 6 ++-- src/Control/HTTPStreamResponse.php | 2 +- .../Middleware/HTTPCacheControlMiddleware.php | 4 +-- src/Control/PjaxResponseNegotiator.php | 2 +- src/Control/RSS/RSSFeed.php | 2 +- src/Control/RequestHandler.php | 4 +-- src/Control/SimpleResourceURLGenerator.php | 2 +- src/Core/Cache/DefaultCacheFactory.php | 2 +- src/Core/Convert.php | 2 +- src/Core/CoreKernel.php | 12 +++---- src/Core/Injector/Injector.php | 2 +- .../Startup/ErrorControlChainMiddleware.php | 2 +- .../Startup/ParameterConfirmationToken.php | 2 +- src/Dev/CSVParser.php | 2 +- src/Dev/CliDebugView.php | 2 +- src/Dev/Constraint/SSListContains.php | 2 +- .../SSListContainsOnlyMatchingItems.php | 2 +- src/Dev/Constraint/ViewableDataContains.php | 2 +- src/Dev/DebugView.php | 6 ++-- src/Dev/FixtureFactory.php | 2 +- src/Dev/FunctionalTest.php | 4 +-- src/Dev/SapphireTest.php | 4 +-- src/Forms/DropdownField.php | 2 +- src/Forms/FieldList.php | 6 ++-- src/Forms/FileUploadReceiver.php | 2 +- src/Forms/Form.php | 4 +-- .../GridField/GridFieldSortableHeader.php | 2 +- .../GridField/GridField_StateProvider.php | 2 +- src/Forms/HTMLEditor/HTMLEditorConfig.php | 2 +- src/Forms/HTMLReadonlyField.php | 2 +- src/Forms/RequiredFields.php | 2 +- src/Forms/SingleLookupField.php | 2 +- src/Forms/TreeMultiselectField.php | 2 +- src/ORM/Connect/DBSchemaManager.php | 2 +- src/ORM/Connect/Database.php | 14 ++++---- src/ORM/Connect/Query.php | 4 +-- src/ORM/DB.php | 4 +-- src/ORM/DataList.php | 4 +-- src/ORM/DataObject.php | 36 +++++++++---------- src/ORM/DataObjectInterface.php | 2 +- src/ORM/DataObjectSchema.php | 2 +- src/ORM/DataQuery.php | 2 +- src/ORM/DatabaseAdmin.php | 2 +- src/ORM/FieldType/DBComposite.php | 4 +-- src/ORM/FieldType/DBPolymorphicForeignKey.php | 2 +- src/ORM/FieldType/DBVarchar.php | 2 +- src/ORM/HasManyList.php | 2 +- src/ORM/Hierarchy/MarkedSet.php | 2 +- src/ORM/PaginatedList.php | 2 +- src/ORM/PolymorphicHasManyList.php | 2 +- src/ORM/Queries/SQLAssignmentRow.php | 8 ++--- src/ORM/Queries/SQLConditionalExpression.php | 4 +-- src/ORM/Queries/SQLWriteExpression.php | 2 +- src/ORM/Search/FulltextSearchable.php | 4 +-- src/Security/Group.php | 2 +- .../CookieAuthenticationHandler.php | 2 +- .../LostPasswordHandler.php | 2 +- .../MemberAuthenticator/MemberLoginForm.php | 2 +- .../SessionAuthenticationHandler.php | 4 +-- .../PasswordEncryptor_LegacyPHPHash.php | 2 +- src/Security/Permission.php | 6 ++-- src/Security/Permission_Group.php | 6 ++-- src/Security/Security.php | 2 +- src/View/GenericTemplateGlobalProvider.php | 2 +- src/View/Parsers/HTMLValue.php | 2 +- src/View/SSTemplateParser.peg | 24 ++++++------- src/View/SSTemplateParser.php | 4 +-- src/View/SSViewer_DataPresenter.php | 2 +- src/View/TemplateIteratorProvider.php | 2 +- src/View/ThemeResourceLoader.php | 4 +-- src/View/ViewableData.php | 2 +- src/i18n/TextCollection/i18nTextCollector.php | 8 ++--- src/i18n/i18nEntityProvider.php | 2 +- src/includes/constants.php | 4 +-- tests/behat/src/CmsUiContext.php | 4 +-- tests/behat/src/ConfigContext.php | 2 +- tests/php/Control/CookieJarTest.php | 2 +- tests/php/Control/CookieTest.php | 4 +-- tests/php/Control/DirectorTest.php | 2 +- tests/php/Control/HTTPRequestTest.php | 2 +- tests/php/Control/HTTPTest.php | 4 +-- tests/php/Control/RequestHandlingTest.php | 4 +-- tests/php/Core/EnvironmentTest.php | 2 +- tests/php/Forms/CheckboxSetFieldTest.php | 4 +-- tests/php/Forms/FileFieldTest.php | 6 ++-- tests/php/Forms/FormScaffolderTest.php | 2 +- tests/php/Forms/FormTest.php | 2 +- .../GridField/GridFieldDetailFormTest.php | 2 +- .../GridField/GridFieldSortableHeaderTest.php | 18 +++++----- tests/php/Forms/GridField/GridFieldTest.php | 6 ++-- tests/php/Forms/RequiredFieldsTest.php | 6 ++-- tests/php/Forms/TimeFieldTest.php | 2 +- tests/php/ORM/DBHTMLTextTest.php | 2 +- tests/php/ORM/DataListTest.php | 2 +- tests/php/ORM/DataObjectSchemaTest.php | 4 +-- tests/php/ORM/DataObjectTest.php | 4 +-- .../MockDynamicAssignmentDBField.php | 4 +-- .../MockDynamicAssignmentDataObject.php | 4 +-- tests/php/ORM/DatabaseTest.php | 14 ++++---- .../HasOneChild.php | 2 +- .../HasOneGrandChild.php | 2 +- .../ManyManyChild.php | 2 +- .../ManyManyGrandChild.php | 2 +- tests/php/ORM/TransactionTest.php | 2 +- tests/php/Security/MemberTest.php | 6 ++-- tests/php/View/Parsers/HTML4ValueTest.php | 2 +- tests/php/View/SSViewerTest.php | 2 +- 188 files changed, 378 insertions(+), 378 deletions(-) diff --git a/.travis.yml b/.travis.yml index 68e14ac06c3..5a5b5cbbd44 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ env: global: - REQUIRE_RECIPE="4.x-dev" -# Using a manual matrix to exlude PHPUNIT_COVERAGE_TEST for now because it was causing some strange issues +# Using a manual matrix to exclude PHPUNIT_COVERAGE_TEST for now because it was causing some strange issues # e.g. https://travis-ci.com/github/silverstripe/silverstripe-framework/jobs/457096837 jobs: fast_finish: true diff --git a/docs/en/00_Getting_Started/00_Server_Requirements.md b/docs/en/00_Getting_Started/00_Server_Requirements.md index 9b4e95b3486..c8f701bbc72 100644 --- a/docs/en/00_Getting_Started/00_Server_Requirements.md +++ b/docs/en/00_Getting_Started/00_Server_Requirements.md @@ -274,7 +274,7 @@ $email->send(); Using the code snippet above also tests that the ability to set the "from" address is working correctly. -See the [email section](/developer_guides/email) for futher details, including how to set the administrator "from" email address, change the `sendmail` binary location and how to use SMTP or other mail transports instead of sendmail. +See the [email section](/developer_guides/email) for further details, including how to set the administrator "from" email address, change the `sendmail` binary location and how to use SMTP or other mail transports instead of sendmail. ## PHP Requirements for older Silverstripe CMS releases {#php-support} diff --git a/docs/en/00_Getting_Started/02_Composer.md b/docs/en/00_Getting_Started/02_Composer.md index 8ffdceb2c4d..a1d0c9c10b8 100644 --- a/docs/en/00_Getting_Started/02_Composer.md +++ b/docs/en/00_Getting_Started/02_Composer.md @@ -13,7 +13,7 @@ for [installing modules with Composer](/developer_guides/extending/modules). Before installing Composer you should ensure your system has the version control system, [Git installed](http://git-scm.com/book/en/v2/Getting-Started-Installing-Git). Composer uses Git to check out -the code dependancies you need to run your Silverstripe CMS website from the code repositories maintained on GitHub. +the code dependencies you need to run your Silverstripe CMS website from the code repositories maintained on GitHub. Next, [install composer](https://getcomposer.org/download/). For our documentation we assume the `composer` command is installed globally. You should now be able to run the command: diff --git a/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md b/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md index ec3caa04863..4e315eeabac 100644 --- a/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md +++ b/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md @@ -125,7 +125,7 @@ $player = Player::create(); ``` [notice] -Using the `create()` method provides chainability, which can add elegance and brevity to your code, e.g. `Player::create()->write()`. More importantly, however, it will look up the class in the [Injector](../extending/injector) so that the class can be overriden by [dependency injection](http://en.wikipedia.org/wiki/Dependency_injection). +Using the `create()` method provides chainability, which can add elegance and brevity to your code, e.g. `Player::create()->write()`. More importantly, however, it will look up the class in the [Injector](../extending/injector) so that the class can be overridden by [dependency injection](http://en.wikipedia.org/wiki/Dependency_injection). [/notice] diff --git a/docs/en/02_Developer_Guides/00_Model/10_Versioning.md b/docs/en/02_Developer_Guides/00_Model/10_Versioning.md index cd330bca18f..ed6762fced8 100644 --- a/docs/en/02_Developer_Guides/00_Model/10_Versioning.md +++ b/docs/en/02_Developer_Guides/00_Model/10_Versioning.md @@ -106,7 +106,7 @@ Items can be added to a changeset in two ways -- *implicitly* and *explicitly*. An *implicit* inclusion occurs when a record is added to a changeset by virtue of another object declaring ownership of it via the `$owns` setting. Implicit inclusion of owned objects ensures that when a changeset is published, the action cascades through not only all of the items explicitly added to the changeset, but also all of the records that each of those items owns. -An *explicit* inclusion is much more direct, occurring only when a user has opted to include a record in a changeset either through the UI or programatically. +An *explicit* inclusion is much more direct, occurring only when a user has opted to include a record in a changeset either through the UI or programmatically. It is possible for an item to be included both implicitly and explicitly in a changeset. For instance, if a page owns a file, and the page gets added to a changeset, the file is implicitly added. That same file, however, can still be added to the changeset explicitly through the file editor. In this case, the file is considered to be *explicitly* added. If the file is later removed from the changeset, it is then considered *implicitly* added, due to its owner page still being in the changeset. @@ -367,7 +367,7 @@ To write your changes without creating new version, call [writeWithoutVersion()] ```php byID(99); // This wil retrieve the latest draft version of record ID 99. +$record = MyRecord::get()->byID(99); // This will retrieve the latest draft version of record ID 99. echo $record->Version; // This will output the version ID. Let's assume it's 13. @@ -386,7 +386,7 @@ Similarly, an "unpublish" operation does the reverse, and removes a record from There's two main methods used to publish a versioned DataObject: * `publishSingle()` publishes this record to live from the draft -* `publishRecursive()` publishes this record, and any dependant objects this record may refer to. +* `publishRecursive()` publishes this record, and any dependent objects this record may refer to. In most regular cases, you'll want to use `publishRecursive`. @@ -425,7 +425,7 @@ $record->delete(); Note that `doUnpublish()` and `doArchive()` do not work recursively. If you wish to unpublish or archive dependants records, you have to do it manually. ### Rolling back to an older version -Rolling back allows you to return a DataObject to a previous state. You can rollback a single DataObject using the `rollbackSingle()` method. You can also rollback all dependant records using the `rollbackRecursive()` method. +Rolling back allows you to return a DataObject to a previous state. You can rollback a single DataObject using the `rollbackSingle()` method. You can also rollback all dependent records using the `rollbackRecursive()` method. Both `rollbackSingle()` and `rollbackRecursive()` expect a single argument, which may be a specific version ID or a stage name. @@ -596,11 +596,11 @@ Any links presented on the view produced with `?stage=Stage` need to have the sa to retain the stage. If you are using the `SiteTree->Link()` and `Controller->Link()` methods, this is automatically the case for `DataObject` links, controller links and form actions. Note that this behaviour applies for unversioned objects as well, since the views -these are presented in might still contain dependant objects that are versioned. +these are presented in might still contain dependent objects that are versioned. You can opt for a session base stage setting through the `Versioned.use_session` setting. Warning: This can lead to leaking of unpublished information, if a live URL is viewed in draft mode, -and the result is cached due to agressive cache settings (not varying on cookie values). +and the result is cached due to aggressive cache settings (not varying on cookie values). *app/src/MyObject.php* diff --git a/docs/en/02_Developer_Guides/01_Templates/01_Syntax.md b/docs/en/02_Developer_Guides/01_Templates/01_Syntax.md index 41d8eb10176..5a49df5d6c9 100644 --- a/docs/en/02_Developer_Guides/01_Templates/01_Syntax.md +++ b/docs/en/02_Developer_Guides/01_Templates/01_Syntax.md @@ -100,7 +100,7 @@ If you wish to pass parameters to getter functions, you must use the full method [note] For more detail around how variables are inserted and formatted into a template see -[Formating, Modifying and Casting Variables](casting) +[Formatting, Modifying and Casting Variables](casting) [/note] Variables can come from your database fields, or custom methods you define on your objects. @@ -444,7 +444,7 @@ $Foo // returns "3" ``` [hint] -For more information on formatting and casting variables see [Formating, Modifying and Casting Variables](casting) +For more information on formatting and casting variables see [Formatting, Modifying and Casting Variables](casting) [/hint] ## Scope @@ -498,7 +498,7 @@ Given the following structure, it will output the text. Page 'Child 2' is a child of 'MyPage' ``` [notice] -Additional selectors implicitely change the scope so you need to put additional `$Up` to get what you expect. +Additional selectors implicitly change the scope so you need to put additional `$Up` to get what you expect. [/notice] ```ss diff --git a/docs/en/02_Developer_Guides/01_Templates/02_Common_Variables.md b/docs/en/02_Developer_Guides/01_Templates/02_Common_Variables.md index 2a1a20fa81e..1df99e75b49 100644 --- a/docs/en/02_Developer_Guides/01_Templates/02_Common_Variables.md +++ b/docs/en/02_Developer_Guides/01_Templates/02_Common_Variables.md @@ -22,7 +22,7 @@ extensions. [/notice] Outputting these variables is only the start, if you want to format or manipulate them before adding them to the template -have a read of the [Formating, Modifying and Casting Variables](casting) documentation. +have a read of the [Formatting, Modifying and Casting Variables](casting) documentation. [alert] Some of the following only apply when you have the `CMS` module installed. If you're using the `Framework` alone, this @@ -391,7 +391,7 @@ Placing it just below `$Content` is a good default. ## Related Documentation - * [Casting and Formating Variables](casting) + * [Casting and Formatting Variables](casting) * [Template Inheritance](template_inheritance) ## API Documentation diff --git a/docs/en/02_Developer_Guides/01_Templates/03_Requirements.md b/docs/en/02_Developer_Guides/01_Templates/03_Requirements.md index b6b69b71b82..c21b2a3b09b 100644 --- a/docs/en/02_Developer_Guides/01_Templates/03_Requirements.md +++ b/docs/en/02_Developer_Guides/01_Templates/03_Requirements.md @@ -291,7 +291,7 @@ and production environments. ### Combined CSS Files You can also combine CSS files into a media-specific stylesheets as you would with the `Requirements::css` call - use -the third paramter of the `combine_files` function: +the third parameter of the `combine_files` function: ```php $loader = SilverStripe\View\ThemeResourceLoader::inst(); @@ -316,7 +316,7 @@ the destination location of the resulting combined CSS. ### Combined JS Files You can also add the 'async' and/or 'defer' attributes to combined Javascript files as you would with the -`Requirements::javascript` call - use the third paramter of the `combine_files` function: +`Requirements::javascript` call - use the third parameter of the `combine_files` function: ```php $loader = SilverStripe\View\ThemeResourceLoader::inst(); diff --git a/docs/en/02_Developer_Guides/01_Templates/11_Partial_Template_Caching.md b/docs/en/02_Developer_Guides/01_Templates/11_Partial_Template_Caching.md index 4d6eff353cb..8c32788c451 100644 --- a/docs/en/02_Developer_Guides/01_Templates/11_Partial_Template_Caching.md +++ b/docs/en/02_Developer_Guides/01_Templates/11_Partial_Template_Caching.md @@ -84,7 +84,7 @@ Here is how it works in detail: All keys of `$CacheKey` are processed, concatenated and the final value is hashed. If there are no values defined, this step is skipped. -4. Make the final key vaule +4. Make the final key value A string produced by concatenation of all the values mentioned above is used as the final value. diff --git a/docs/en/02_Developer_Guides/02_Controllers/01_Introduction.md b/docs/en/02_Developer_Guides/02_Controllers/01_Introduction.md index f0a2bdf5fb7..fcfd4fc215a 100644 --- a/docs/en/02_Developer_Guides/02_Controllers/01_Introduction.md +++ b/docs/en/02_Developer_Guides/02_Controllers/01_Introduction.md @@ -181,7 +181,7 @@ public function Link($action = null) ``` ## Connecting Pages to Controllers -By default, a controller for a page type must reside in the same namespace as its page. If you find that your controllers are in a different namespace then you'll need to overide SiteTree::getControllerName(). +By default, a controller for a page type must reside in the same namespace as its page. If you find that your controllers are in a different namespace then you'll need to override SiteTree::getControllerName(). Example controller: ```php diff --git a/docs/en/02_Developer_Guides/02_Controllers/02_Routing.md b/docs/en/02_Developer_Guides/02_Controllers/02_Routing.md index 275a83e97db..6f1fd50c751 100644 --- a/docs/en/02_Developer_Guides/02_Controllers/02_Routing.md +++ b/docs/en/02_Developer_Guides/02_Controllers/02_Routing.md @@ -111,7 +111,7 @@ A rule must always start with alphabetical ([A-Za-z]) characters or a $Variable | Pattern | Description | | ----------- | --------------- | - | `$` | **Param Variable** - Starts the name of a paramater variable, it is optional to match this unless ! is used | + | `$` | **Param Variable** - Starts the name of a parameter variable, it is optional to match this unless ! is used | | `!` | **Require Variable** - Placing this after a parameter variable requires data to be present for the rule to match | | `//` | **Shift Point** - Declares that only variables denoted with a $ are parsed into the $params AFTER this point in the regex | diff --git a/docs/en/02_Developer_Guides/02_Controllers/04_Redirection.md b/docs/en/02_Developer_Guides/02_Controllers/04_Redirection.md index 91a7ada78c0..fb7d76e034c 100644 --- a/docs/en/02_Developer_Guides/02_Controllers/04_Redirection.md +++ b/docs/en/02_Developer_Guides/02_Controllers/04_Redirection.md @@ -47,7 +47,7 @@ private static $url_handlers = [ ]; ``` -For more information on `$url_handlers` see the [Routing](routing) documenation. +For more information on `$url_handlers` see the [Routing](routing) documentation. ## API Documentation diff --git a/docs/en/02_Developer_Guides/03_Forms/How_Tos/04_Create_a_GridField_ActionProvider.md b/docs/en/02_Developer_Guides/03_Forms/How_Tos/04_Create_a_GridField_ActionProvider.md index 071b2526acc..096d3444ef1 100644 --- a/docs/en/02_Developer_Guides/03_Forms/How_Tos/04_Create_a_GridField_ActionProvider.md +++ b/docs/en/02_Developer_Guides/03_Forms/How_Tos/04_Create_a_GridField_ActionProvider.md @@ -118,7 +118,7 @@ $config->addComponent(new GridFieldCustomAction()); $gridField = new GridField('Teams', 'Teams', $this->Teams(), $config); -// option 2: adding the CustomAction to an exisitng GridField +// option 2: adding the CustomAction to an existing GridField $gridField->getConfig()->addComponent(new GridFieldCustomAction()); ``` diff --git a/docs/en/02_Developer_Guides/03_Forms/How_Tos/05_Simple_Contact_Form.md b/docs/en/02_Developer_Guides/03_Forms/How_Tos/05_Simple_Contact_Form.md index 1cfa1fef0a7..4d586c77e67 100644 --- a/docs/en/02_Developer_Guides/03_Forms/How_Tos/05_Simple_Contact_Form.md +++ b/docs/en/02_Developer_Guides/03_Forms/How_Tos/05_Simple_Contact_Form.md @@ -43,7 +43,7 @@ class ContactPageController extends PageController ``` -To create a form, we instanciate a `Form` object on a function on our page controller. We'll call this function `Form()`. You're free to choose this name, but it's standard practice to name the function `Form()` if there's only a single form on the page. +To create a form, we instantiate a `Form` object on a function on our page controller. We'll call this function `Form()`. You're free to choose this name, but it's standard practice to name the function `Form()` if there's only a single form on the page. There's quite a bit in this function, so we'll step through one piece at a time. diff --git a/docs/en/02_Developer_Guides/05_Extending/01_Extensions.md b/docs/en/02_Developer_Guides/05_Extending/01_Extensions.md index 254d9a0bc32..90fcc0dc0f7 100644 --- a/docs/en/02_Developer_Guides/05_Extending/01_Extensions.md +++ b/docs/en/02_Developer_Guides/05_Extending/01_Extensions.md @@ -359,7 +359,7 @@ populated. * [DataExtensions and SiteConfig](https://www.silverstripe.org/learn/lessons/v4/data-extensions-and-siteconfig-1) -## Related Documentaion +## Related Documentation * [Injector](injector/) diff --git a/docs/en/02_Developer_Guides/06_Testing/04_Fixtures.md b/docs/en/02_Developer_Guides/06_Testing/04_Fixtures.md index 2c3c8e9518d..874699551b6 100644 --- a/docs/en/02_Developer_Guides/06_Testing/04_Fixtures.md +++ b/docs/en/02_Developer_Guides/06_Testing/04_Fixtures.md @@ -189,7 +189,7 @@ test. ### Fixtures for namespaced classes -As of Silverstripe CMS 4 you will need to use fully qualfied class names in your YAML fixture files. In the above examples, they belong to the global namespace so there is nothing requires, but if you have a deeper DataObject, or it has a relationship to models that are part of the framework for example, you will need to include their namespaces: +As of Silverstripe CMS 4 you will need to use fully qualified class names in your YAML fixture files. In the above examples, they belong to the global namespace so there is nothing requires, but if you have a deeper DataObject, or it has a relationship to models that are part of the framework for example, you will need to include their namespaces: ```yml diff --git a/docs/en/02_Developer_Guides/06_Testing/How_Tos/00_Write_a_SapphireTest.md b/docs/en/02_Developer_Guides/06_Testing/How_Tos/00_Write_a_SapphireTest.md index 52368fdbe21..76eccbb04ae 100644 --- a/docs/en/02_Developer_Guides/06_Testing/How_Tos/00_Write_a_SapphireTest.md +++ b/docs/en/02_Developer_Guides/06_Testing/How_Tos/00_Write_a_SapphireTest.md @@ -106,7 +106,7 @@ The final part of our test is an assertion command, `assertEquals`. An assertion in our test methods (in this case we are testing if two values are equal). A test method can have more than one assertion command, and if any one of these assertions fail, so will the test method. -The example **phpunit.xml** file should be placed in the root folder of your project. PHPUnit 5.7 should be included by default, as a dev dependancy, in the **composer.json** file. +The example **phpunit.xml** file should be placed in the root folder of your project. PHPUnit 5.7 should be included by default, as a dev dependency, in the **composer.json** file. ## Caching diff --git a/docs/en/02_Developer_Guides/08_Performance/01_Caching.md b/docs/en/02_Developer_Guides/08_Performance/01_Caching.md index e364c0b9222..ecf4ef7ae70 100644 --- a/docs/en/02_Developer_Guides/08_Performance/01_Caching.md +++ b/docs/en/02_Developer_Guides/08_Performance/01_Caching.md @@ -72,7 +72,7 @@ Caches are namespaced, which might allow granular clearing of a particular cache In our example, the namespace is "myCache", expressed in the service name as `Psr\SimpleCache\CacheInterface.myCache`. We recommend the `::class` short-hand to compose the full service name. -Clearing caches by namespace is dependant on the used adapter: While the `FilesystemCache` adapter clears only the namespaced cache, +Clearing caches by namespace is dependent on the used adapter: While the `FilesystemCache` adapter clears only the namespaced cache, a `MemcachedCache` adapter will clear all caches regardless of namespace, since the underlying memcached service doesn't support this. See "Invalidation" for alternative strategies. diff --git a/docs/en/02_Developer_Guides/08_Performance/02_HTTP_Cache_Headers.md b/docs/en/02_Developer_Guides/08_Performance/02_HTTP_Cache_Headers.md index 3c123d2af25..be06766b4f0 100644 --- a/docs/en/02_Developer_Guides/08_Performance/02_HTTP_Cache_Headers.md +++ b/docs/en/02_Developer_Guides/08_Performance/02_HTTP_Cache_Headers.md @@ -49,7 +49,7 @@ It comes with methods which let developers safely interact with the `Cache-Contr Simple way to set cache control header to a non-cacheable state. Use this method over `privateCache()` if you are unsure about caching details. -Takes precendence over unforced `enableCache()`, `privateCache()` or `publicCache()` calls. +Takes precedence over unforced `enableCache()`, `privateCache()` or `publicCache()` calls. Removes all state and replaces it with `no-cache, no-store, must-revalidate`. Although `no-store` is sufficient the others are added under [recommendation from Mozilla](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control#Examples) diff --git a/docs/en/02_Developer_Guides/09_Security/04_Secure_Coding.md b/docs/en/02_Developer_Guides/09_Security/04_Secure_Coding.md index 8d3bc569324..4d2b5cb8629 100644 --- a/docs/en/02_Developer_Guides/09_Security/04_Secure_Coding.md +++ b/docs/en/02_Developer_Guides/09_Security/04_Secure_Coding.md @@ -468,7 +468,7 @@ given variable is done safely, with the assumption that it's an integer. To cast the variable as an integer, place `(int)` or `(integer)` before the variable. -For example: a page with the URL paramaters *example.com/home/add/1* requires that ''Director::urlParams['ID']'' be an +For example: a page with the URL parameters *example.com/home/add/1* requires that ''Director::urlParams['ID']'' be an integer. We cast it by adding `(int)` - ''(int)Director::urlParams['ID']''. If a value other than an integer is passed, such as *example.com/home/add/dfsdfdsfd*, then it returns 0. diff --git a/docs/en/02_Developer_Guides/12_Search/01_Searchcontext.md b/docs/en/02_Developer_Guides/12_Search/01_Searchcontext.md index 9b76084a494..7959d96f8a1 100644 --- a/docs/en/02_Developer_Guides/12_Search/01_Searchcontext.md +++ b/docs/en/02_Developer_Guides/12_Search/01_Searchcontext.md @@ -190,7 +190,7 @@ Results.PaginationSummary(4) defines how many pages the search will show in the <% if $Results %> <% else %> diff --git a/docs/en/02_Developer_Guides/13_i18n/index.md b/docs/en/02_Developer_Guides/13_i18n/index.md index 2c92307fef7..c9ad0e5f3d6 100644 --- a/docs/en/02_Developer_Guides/13_i18n/index.md +++ b/docs/en/02_Developer_Guides/13_i18n/index.md @@ -124,7 +124,7 @@ By default, URLs for pages in Silverstripe CMS (the `SiteTree->URLSegment` prope are automatically reduced to the allowed allowed subset of ASCII characters. If characters outside this subset are added, they are either removed or (if possible) "transliterated". This describes the process of converting from one character set to another -while keeping characters recognizeable. For example, vowels with french accents +while keeping characters recognizable. For example, vowels with french accents are replaced with their base characters, `pâté` becomes `pate`. It is advisable to set the `SS_Transliterator.use_iconv` setting to true via config for systems diff --git a/docs/en/02_Developer_Guides/14_Files/01_File_Management.md b/docs/en/02_Developer_Guides/14_Files/01_File_Management.md index 52be01a7c9b..cea2ed06615 100644 --- a/docs/en/02_Developer_Guides/14_Files/01_File_Management.md +++ b/docs/en/02_Developer_Guides/14_Files/01_File_Management.md @@ -68,7 +68,7 @@ In order to ensure that assets are made public you should check the following: ## File shortcodes -Shortcodes represent an embeded asset within a block of HTML text. For instance, this is the content +Shortcodes represent an embedded asset within a block of HTML text. For instance, this is the content of a page with a shortcode image: ```html @@ -275,7 +275,7 @@ or embed those images. By default files which do not exist on either the live or draft stage (but do have a version history) are removed from the filesystem. -In order to permanantly keep a record of all past physical files you can set the `File.keep_archived_assets` +In order to permanently keep a record of all past physical files you can set the `File.keep_archived_assets` config option to true. This will ensure that historic files can always be restored, albeit at a cost to disk storage. diff --git a/docs/en/02_Developer_Guides/14_Files/03_File_Security.md b/docs/en/02_Developer_Guides/14_Files/03_File_Security.md index 7dd837cc0a6..2ad1b43dc48 100644 --- a/docs/en/02_Developer_Guides/14_Files/03_File_Security.md +++ b/docs/en/02_Developer_Guides/14_Files/03_File_Security.md @@ -77,7 +77,7 @@ Custom implementations (e.g. APIs or custom file viewers) can have further restrictions in your project. [warning] -When implenting your own `canView()` logic through [extensions](/developer_guides/extending/extensions), +When implementing your own `canView()` logic through [extensions](/developer_guides/extending/extensions), existing unprotected files are not retroactively moved to the protected asset store. While those new permissions are honoured in the CMS, protected files through custom `canView()` can still be downloaded through a public URL until a `write()` operation is triggered on them. @@ -406,7 +406,7 @@ SilverStripe\Assets\Flysystem\FlysystemAssetStore: By default, the default extension `AssetControlExtension` will control the disposal of assets attached to objects when those objects are archived or replaced. For example, unpublished versioned objects will automatically have their attached assets moved to the protected store. The archive of -draft or (or deletion of unversioned objects) will have those assets permanantly deleted +draft or (or deletion of unversioned objects) will have those assets permanently deleted (along with all variants). Note that regardless of this setting, the database record will still be archived in the @@ -469,7 +469,7 @@ bypasses PHP requests for files that do exist. The default template (declared by `PublicAssetAdapter_HTAccess.ss`) has the following section, which may be customised in your project: ``` -# Non existant files passed to requesthandler +# Non existent files passed to requesthandler RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* ../index.php [QSA] diff --git a/docs/en/02_Developer_Guides/14_Files/05_File_Migration.md b/docs/en/02_Developer_Guides/14_Files/05_File_Migration.md index 2d78bb54dcd..e72dce9d833 100644 --- a/docs/en/02_Developer_Guides/14_Files/05_File_Migration.md +++ b/docs/en/02_Developer_Guides/14_Files/05_File_Migration.md @@ -210,7 +210,7 @@ Use the following estimates to decide how you will run your file migration: | < 10000 | Command Line | 10000 seconds | 950 MB | | 10000+ | Command Line or contact support | n/a | n/a | -Your exact experience will vary based on your host server, the size of your files and other conditions. If your site is hosted on a managed environement (e.g.: [Common Web Platform](https://www.cwp.govt.nz/service-desk) or [Silverstripe Cloud](https://docs.platform.silverstripe.com/support/)), you may not have access to the command line to manually run the migration task. Contact your hosting provider's helpdesk if that's your case. +Your exact experience will vary based on your host server, the size of your files and other conditions. If your site is hosted on a managed environment (e.g.: [Common Web Platform](https://www.cwp.govt.nz/service-desk) or [Silverstripe Cloud](https://docs.platform.silverstripe.com/support/)), you may not have access to the command line to manually run the migration task. Contact your hosting provider's helpdesk if that's your case. ## Natural path vs Hash Path diff --git a/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/02_CMS_Architecture.md b/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/02_CMS_Architecture.md index 0635e1bfe23..b8d18fad041 100644 --- a/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/02_CMS_Architecture.md +++ b/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/02_CMS_Architecture.md @@ -128,7 +128,7 @@ When writing templates use: $AdminURL ``` -And in JavaScript, this is avaible through the `ss` namespace +And in JavaScript, this is available through the `ss` namespace ```js diff --git a/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/06_Javascript_Development.md b/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/06_Javascript_Development.md index 81e6852c840..b160a256788 100644 --- a/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/06_Javascript_Development.md +++ b/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/06_Javascript_Development.md @@ -12,7 +12,7 @@ a list of our best practices for contributing and modifying the core javascript ## ES6 and build tools The remainder of this tutorial is written in [ECMAScript 6](http://es6-features.org/#Constants), or _ES6_ for short. This is the new spec for Javascript (currently ES5) that is as of this writing -only partially implmented in modern browsers. Because it doesn't yet enjoy vast native support, +only partially implemented in modern browsers. Because it doesn't yet enjoy vast native support, it has to be [transpiled](https://www.stevefenton.co.uk/2012/11/compiling-vs-transpiling/) in order to work in a browser. This transpiling can be done using a variety of toolchains, but the basic principle is that a browser-ready, ES5 version of your code is generated in your dev @@ -80,9 +80,9 @@ Example: A plugin to highlight a collection of elements with a configurable fore // create closure (function($) { // plugin definition - $.fn.hilight = function(options) { + $.fn.highlight = function(options) { // build main options before element iteration - var opts = $.extend({}, $.fn.hilight.defaults, options); + var opts = $.extend({}, $.fn.highlight.defaults, options); // iterate and reformat each matched element return this.each(function() { $this = $(this); @@ -96,7 +96,7 @@ Example: A plugin to highlight a collection of elements with a configurable fore }); }; // plugin defaults - $.fn.hilight.defaults = { + $.fn.highlight.defaults = { foreground: "red", background: "yellow" }; @@ -116,7 +116,7 @@ Usage: jQuery(':button').highlight({background: "green"}); // Set all further highlight() calls to have a green background - $.fn.hilight.defaults.background = "green"; + $.fn.highlight.defaults.background = "green"; })(jQuery); ``` diff --git a/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/07_ReactJS_Redux_and_GraphQL.md b/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/07_ReactJS_Redux_and_GraphQL.md index 960a5c94175..fb18e98717b 100644 --- a/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/07_ReactJS_Redux_and_GraphQL.md +++ b/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/07_ReactJS_Redux_and_GraphQL.md @@ -202,7 +202,7 @@ import addLoggingMiddleware from './addLoggingMiddleware'; const MyNewLogger = addLoggingMiddleware(LoggingService); ``` -We haven't overriden any functionality. `LoggingService(error)` will still invoke `console.error`, once all the middleware has run. But what if we did want to kill the original functionality? +We haven't overridden any functionality. `LoggingService(error)` will still invoke `console.error`, once all the middleware has run. But what if we did want to kill the original functionality? ```js import LoggingService from './LoggingService'; @@ -447,7 +447,7 @@ inject([dependencies], mapDependenciesToProps, getContext)(Component) is expected to return a map of props to dependencies. If this parameter is not specified, the prop names and the service names will mirror each other. * **getContext**: A callback function with params `(props, currentContext)` that will calculate the context to -use for determining which tranformations apply to the dependencies. This defaults to the current context. This +use for determining which transformations apply to the dependencies. This defaults to the current context. This could help when any customisations that may calls for a change (or tweak) to the current context. The result is a function that is ready to apply to a component. diff --git a/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/How_Tos/CMS_Alternating_Button.md b/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/How_Tos/CMS_Alternating_Button.md index 94c2b3d1a7a..1faad5280ef 100644 --- a/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/How_Tos/CMS_Alternating_Button.md +++ b/docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/How_Tos/CMS_Alternating_Button.md @@ -17,7 +17,7 @@ frontend. This how-to will walk you through creation of a "Clean-up" button with two appearances: * active: "Clean-up now" green constructive button if the actions can be performed -* netural: "Cleaned" default button if the action does not need to be done +* neutral: "Cleaned" default button if the action does not need to be done The controller code that goes with this example is listed in [Extend CMS Interface](extend_cms_interface). diff --git a/docs/en/02_Developer_Guides/19_GraphQL/02_working_with_dataobjects/02_query_plugins.md b/docs/en/02_Developer_Guides/19_GraphQL/02_working_with_dataobjects/02_query_plugins.md index 3066904c6c8..53826c7625e 100644 --- a/docs/en/02_Developer_Guides/19_GraphQL/02_working_with_dataobjects/02_query_plugins.md +++ b/docs/en/02_Developer_Guides/19_GraphQL/02_working_with_dataobjects/02_query_plugins.md @@ -376,7 +376,7 @@ second enum generated will use `Enum`. If an enum already exists with the same fields and name, it will be reused. For instance, if `OptionsEnum` is found and has exactly the same defined values (in the same order) as the Enum being generated, -it will be reused rather than proceding to the deduplication strategy. +it will be reused rather than proceeding to the deduplication strategy. #### Custom enum names diff --git a/docs/en/02_Developer_Guides/19_GraphQL/02_working_with_dataobjects/03_permissions.md b/docs/en/02_Developer_Guides/19_GraphQL/02_working_with_dataobjects/03_permissions.md index 99bd0137a6d..bedb0e42472 100644 --- a/docs/en/02_Developer_Guides/19_GraphQL/02_working_with_dataobjects/03_permissions.md +++ b/docs/en/02_Developer_Guides/19_GraphQL/02_working_with_dataobjects/03_permissions.md @@ -46,7 +46,7 @@ assumed to have permission to view a record. [/notice] -For `read` and `readOne` a plugin called `canView` will filter the result set by the `canView($memeber)` check. +For `read` and `readOne` a plugin called `canView` will filter the result set by the `canView($member)` check. [notice] When paginated items fail a `canView()` check, the `pageInfo` field is not affected. diff --git a/docs/en/02_Developer_Guides/19_GraphQL/02_working_with_dataobjects/07_nested_definitions.md b/docs/en/02_Developer_Guides/19_GraphQL/02_working_with_dataobjects/07_nested_definitions.md index d48606fdc07..c2b8927a470 100644 --- a/docs/en/02_Developer_Guides/19_GraphQL/02_working_with_dataobjects/07_nested_definitions.md +++ b/docs/en/02_Developer_Guides/19_GraphQL/02_working_with_dataobjects/07_nested_definitions.md @@ -43,7 +43,7 @@ MyProject\Pages\Blog: title: true author: true categories: true -SilverStripe\Securty\Member: +SilverStripe\Security\Member: fields firstName: true surname: true diff --git a/docs/en/02_Developer_Guides/19_GraphQL/03_working_with_generic_types/05_adding_pagination.md b/docs/en/02_Developer_Guides/19_GraphQL/03_working_with_generic_types/05_adding_pagination.md index 4214e95b56a..fae92d2b5c7 100644 --- a/docs/en/02_Developer_Guides/19_GraphQL/03_working_with_generic_types/05_adding_pagination.md +++ b/docs/en/02_Developer_Guides/19_GraphQL/03_working_with_generic_types/05_adding_pagination.md @@ -92,7 +92,7 @@ A couple of things are going on here: parameter, we need to get this information to the function that is ultimately used in the schema. Therefore, we create a dynamic function in a static method by wrapping it with context. It's kind of like a decorator. -* As long as we can do the work of counting and limiting the array, the `PaginationPlugin` can handle the rest. It will reutrn an array including `edges`, `nodes`, and `pageInfo`. +* As long as we can do the work of counting and limiting the array, the `PaginationPlugin` can handle the rest. It will return an array including `edges`, `nodes`, and `pageInfo`. Rebuild the schema, and test it out: diff --git a/docs/en/02_Developer_Guides/19_GraphQL/06_extending/adding_a_custom_model.md b/docs/en/02_Developer_Guides/19_GraphQL/06_extending/adding_a_custom_model.md index 1578ef12b50..66b5d003b3b 100644 --- a/docs/en/02_Developer_Guides/19_GraphQL/06_extending/adding_a_custom_model.md +++ b/docs/en/02_Developer_Guides/19_GraphQL/06_extending/adding_a_custom_model.md @@ -45,7 +45,7 @@ Get the generic resolver that should be used for types that are built with this model. * `getSourceClass(): string`: Get the name of the class that builds the type, e.g. `MyDataObject` -* `getAllFields(): array`: Get all availble fields on the object +* `getAllFields(): array`: Get all available fields on the object * `getModelField(string $fieldName): ?ModelType`: For nested fields. If a field resolves to another model (e.g. has_one), return that model type. diff --git a/docs/en/02_Developer_Guides/19_GraphQL/06_extending/adding_middleware.md b/docs/en/02_Developer_Guides/19_GraphQL/06_extending/adding_middleware.md index 44afb3fe5f3..e7e3e97114f 100644 --- a/docs/en/02_Developer_Guides/19_GraphQL/06_extending/adding_middleware.md +++ b/docs/en/02_Developer_Guides/19_GraphQL/06_extending/adding_middleware.md @@ -22,7 +22,7 @@ with other middlewares in sequence and not have to worry about the order of execution. In `silverstripe-graphql`, middleware is used for query execution, -but could ostensibly be used elsewhere too if the API ever accomodates +but could ostensibly be used elsewhere too if the API ever accommodates such an expansion. [notice] diff --git a/docs/en/02_Developer_Guides/19_GraphQL/08_architecture_diagrams.md b/docs/en/02_Developer_Guides/19_GraphQL/08_architecture_diagrams.md index 3c504c9cd8f..50c352eb2b1 100644 --- a/docs/en/02_Developer_Guides/19_GraphQL/08_architecture_diagrams.md +++ b/docs/en/02_Developer_Guides/19_GraphQL/08_architecture_diagrams.md @@ -91,7 +91,7 @@ The plugin layer is likely to be refactored before stablisation, but the current ![](../../_images/graphql/resolver_composition.png) -Injecting behvaiour into resolvers is one of the main ways the schema can be customised. For instance, if you add a new argument to a query, the standard dataobject resolver will not know about it, so you'll want to write your own code to handle that argument. You could overwrite the entire resolver, but then you would lose key functionality from other plugins, like pagination, sort, and filtering. +Injecting behaviour into resolvers is one of the main ways the schema can be customised. For instance, if you add a new argument to a query, the standard dataobject resolver will not know about it, so you'll want to write your own code to handle that argument. You could overwrite the entire resolver, but then you would lose key functionality from other plugins, like pagination, sort, and filtering. To this end, resolvers are a product of composition. Each bit of functionality is just another resolver in the "stack." The stack passes the result of the previous resolver to the next resolver, while the other three parameters, `$args, $context, $info` are immutable. diff --git a/docs/en/03_Upgrading/02_Upgrading_module.md b/docs/en/03_Upgrading/02_Upgrading_module.md index 204d9f528f4..487b01cba81 100644 --- a/docs/en/03_Upgrading/02_Upgrading_module.md +++ b/docs/en/03_Upgrading/02_Upgrading_module.md @@ -20,7 +20,7 @@ Your Silverstripe CMS 4 module should ship with a `.upgrade.yml` file. This file You'll want to run your module upgrade on a dedicated development branch. While it's possible to upgrade a module from within a Silverstripe CMS project, it's usually cleaner and easier to clone your module and work directly on it. ```bash -# We're assumming that the default branch of you module is the latest SS3 compatible branch +# We're assuming that the default branch of you module is the latest SS3 compatible branch git clone git@github.com:example-user/silverstripe-example-module.git cd silverstripe-example-module @@ -117,7 +117,7 @@ upgrade add-namespace --root-dir vendor/example-user/silverstripe-example-module "ExampleUser\\SilverstripeExampleModule" \ vendor/example-user/silverstripe-example-module/code/ -# If you are working directly from the module, you can ommit `--root-dir` parameter +# If you are working directly from the module, you can omit `--root-dir` parameter upgrade add-namespace "ExampleUser\\SilverstripeExampleModule" code/ ``` diff --git a/docs/en/03_Upgrading/03_Migrating_off_CWP.md b/docs/en/03_Upgrading/03_Migrating_off_CWP.md index 74f06e2165f..4b6c755ca1b 100644 --- a/docs/en/03_Upgrading/03_Migrating_off_CWP.md +++ b/docs/en/03_Upgrading/03_Migrating_off_CWP.md @@ -20,7 +20,7 @@ Before you begin this process you must identify which version of Silverstripe CM 3. If your current composer file contains `cwp/cwp-recipe-core`, replace it with `silverstripe/recipe-ccl`. 4. If your current composer file contains `cwp/cwp-recipe-search`, replace it with `silverstripe/recipe-solr-search`. 5. Review all your composer requirements and update the constraints so the module versions documented in the changelog for you desired Silverstripe CMS Recipe release are installable. -6. Run a `composer update` to get the lastest tag of each module. +6. Run a `composer update` to get the latest tag of each module. The `silverstripe/recipe-solr-search` and `silverstripe/recipe-ccl` release versions follow the same numbering scheme as the recipes they superseded: - the last release version of `cwp/cwp-recipe-search` and `cwp/cwp-recipe-core` is 2.8.0 diff --git a/docs/en/04_Changelogs/4.0.0.md b/docs/en/04_Changelogs/4.0.0.md index ec716a78f01..1d7cd441d92 100644 --- a/docs/en/04_Changelogs/4.0.0.md +++ b/docs/en/04_Changelogs/4.0.0.md @@ -86,13 +86,13 @@ For users upgrading to later versions, please see the specific [4.1.0](4.1.0) an * [Template locations and references](#template-locations): Templates require the folder path inside the templates folder, and Core templates are placed in paths following the class namespace, e.g. `FormField` is now `SilverStripe/Forms/FormField`. When using the `<% include %>` syntax, you can leave out the `Includes` folder in the path. * Modules need to declare which files need to be exposed via the new [vendor-plugin](https://github.com/silverstripe/vendor-plugin), - using symlinks to link to files from the publically accessible `resources` folder. + using symlinks to link to files from the publicly accessible `resources` folder. * [Explicit text casting on template variables](#template-casting) Calling `$MyField` on a DataObject in templates will by default cast MyField as `Text` which means it will be safely encoded. * Template variable casting (e.g. `

$Title

`) is enforced by default, which will ensure safe HTML encode unless explicitly opted out ([details](#template-casting)) * Themes are now configured to cascade, where you can specify a list of themes, and have the template engine - search programatically through a prioritised list when resolving template and CSS file paths. + search programmatically through a prioritised list when resolving template and CSS file paths. * The `GDBackend` and `ImagickBackend` classes have been replaced by a unified `InterventionBackend` which uses the [intervention/image](https://github.com/intervention/image) library to power manipualations. @@ -606,7 +606,7 @@ instead, or if used in an actual XML file use `.CDATA` (see [template casting](/ ### Replace UploadField with injected service {#uploadfield} -This field has been superceded by a new class provided by the +This field has been superseded by a new class provided by the [asset-admin](https://github.com/silverstripe/silverstripe-asset-admin) module, which provides a more streamlined simpler mechanism for uploading `File` dataobjects. @@ -834,7 +834,7 @@ There are other important considerations in working with File dataobjects which * File synchronisation is no longer automatic. This is due to the fact that there is no longer a 1-to-1 relationship between physical files and File DataObjects. * Folder DataObjects are now purely logical DataObjects, and perform no actual filesystem folder creation on write. -* All Files are versioned, which means that by default, new File records will not be visibile +* All Files are versioned, which means that by default, new File records will not be visible to the public site. You will need to make sure to invoke `->doPublish()` on any File DataObject you wish visitors to be able to see. @@ -1264,7 +1264,7 @@ All `DBField` subclasses are namespaced, have a `DB` prefix, and drop any existi For example, `Text` becomes `SilverStripe\ORM\FieldType\DBText`, and `SS_Datetime` becomes `SilverStripe\ORM\FieldType\DBDatetime`. Since they are aliased to their old name, you likely won't need to change your `DataObject::$db` definitions. -If you are instanciating or otherwise referencing those classes directly (not through strings), +If you are instantiating or otherwise referencing those classes directly (not through strings), they'll likely get rewritten automatically through the [upgrader tool](https://github.com/silverstripe/silverstripe-upgrader/). @@ -1846,7 +1846,7 @@ usercode before invocation. * Deprecated `DataObject::$destroyed` * Removed `DataObject::validateModelDefinitions`. Relations are now validated within `DataObjectSchema` * Removed `DataObject` methods `hasOwnTableDatabaseField`, `has_own_table_database_field` and {#dataobject-has-own} - `hasDatabaseFields` are superceded by `DataObjectSchema::fieldSpec`. + `hasDatabaseFields` are superseded by `DataObjectSchema::fieldSpec`. Use `$schema->fieldSpec($class, $field, DataObjectSchema::DB_ONLY | DataObjectSchema::UNINHERITED )`. Exclude `uninherited` option to search all tables in the class hierarchy. * Renamed `DataObject::is_composite_field()` to `DataObjectSchema::compositeField()` @@ -1999,7 +1999,7 @@ appropriate mime types. The following file manipulations classes and methods hav Now this field should only be used for multi-selection. Single-selection should be done using a regular `DropdownField`. * `GroupedDropdownField::setDisabled()` now only accepts a list of values - instead of a list of grouped values. The method now expectes + instead of a list of grouped values. The method now expects a non-associative array of values (not titles) or an `SS_List`. The following methods and properties on `Requirements_Backend` have been renamed: {#requirements} @@ -2952,7 +2952,7 @@ Further API changes: * 2017-04-12 [8999f70ac](https://github.com/silverstripe/silverstripe-framework/commit/8999f70acc0fa9853c94786da8c3b5c713f8a359) ing broken search in SecurityAdmin Groups field (Sean Harvey) * 2017-04-11 [03a2a907](https://github.com/silverstripe/silverstripe-cms/commit/03a2a907cea7d857a210c1b974df8d4fe61c2153) whitespace in templates causing double arrows (Damian Mooyman) * 2017-04-11 [9cad8ba0](https://github.com/silverstripe/silverstripe-cms/commit/9cad8ba01b4e8ebfca229ad53a4e2853f2eb5598) ed linting (Ingo Schommer) - * 2017-04-11 [1ca51eb57](https://github.com/silverstripe/silverstripe-framework/commit/1ca51eb57a933964e9640c02697a78c068a8c462) Ensure that mysite test boostrap configuration is loaded after core and before the database connection (Robbie Averill) + * 2017-04-11 [1ca51eb57](https://github.com/silverstripe/silverstripe-framework/commit/1ca51eb57a933964e9640c02697a78c068a8c462) Ensure that mysite test bootstrap configuration is loaded after core and before the database connection (Robbie Averill) * 2017-04-05 [f9f61cb](https://github.com/silverstripe/silverstripe-installer/commit/f9f61cbce286b8685ccd6f81a7d2a3c4a4478b2d) Fix cow release config (Damian Mooyman) * 2017-04-05 [8cbdfa456](https://github.com/silverstripe/silverstripe-framework/commit/8cbdfa4561036a63e8b93fa7ddbd485188b40c3c) invalid json file (Damian Mooyman) * 2017-04-05 [e12a2709](https://github.com/silverstripe/silverstripe-cms/commit/e12a2709d0dc92f684f5056d20f9bc0981736cb4) syntax error in selector (Christopher Joe) @@ -3165,7 +3165,7 @@ Further API changes: * 2016-09-01 [c9d964ff0](https://github.com/silverstripe/silverstripe-framework/commit/c9d964ff0d6e10e2c962df6eda60766fd8093d85) HTMLEditorField image reference (Ingo Schommer) * 2016-09-01 [ecaed8c08](https://github.com/silverstripe/silverstripe-framework/commit/ecaed8c08d38ff23452024055aeae8b2be031748) ed icon regression in <Breadcrumb> (Ingo Schommer) * 2016-08-30 [fa5e6bbd6](https://github.com/silverstripe/silverstripe-framework/commit/fa5e6bbd692ef22b406d69054e515c3b79d8fe37) ed breadcrumb icon spacing (Ingo Schommer) - * 2016-08-29 [a6f1fa3](https://github.com/silverstripe/silverstripe-installer/commit/a6f1fa3b9193fb97f100f9226407dcef5736be4b) use 1.0.x-dev for asset-admin composer contraint (Robbie Averill) + * 2016-08-29 [a6f1fa3](https://github.com/silverstripe/silverstripe-installer/commit/a6f1fa3b9193fb97f100f9226407dcef5736be4b) use 1.0.x-dev for asset-admin composer constraint (Robbie Averill) * 2016-08-28 [b509f9199](https://github.com/silverstripe/silverstripe-framework/commit/b509f9199df32c01d4dd681cdc0df61ada7d0fc2) Modal response positioning (Christopher Joe) * 2016-08-26 [1b527fca3](https://github.com/silverstripe/silverstripe-framework/commit/1b527fca3f59e2aa577162eb8f4547fd57971fb3) Webpack handles images & fonts. (Sam Minnee) * 2016-08-23 [b77d21c25](https://github.com/silverstripe/silverstripe-framework/commit/b77d21c25a7d70eeabfed03a40cd36818d075328) pages add to campaign, improved FormActions error handling, Popover focus highlight and refactored AddToCampaignModal to FormBuilderModal (Christopher Joe) @@ -3225,7 +3225,7 @@ Further API changes: * 2016-05-23 [ad213b35](https://github.com/silverstripe/silverstripe-cms/commit/ad213b3576e7eccb38311011b2ae2e683f0faeac) Fix rollback page crash (Damian Mooyman) * 2016-05-23 [0f646ba3](https://github.com/silverstripe/silverstripe-cms/commit/0f646ba375150bd334d05668517ccfdb06d687da) undefined index error (Damian Mooyman) * 2016-05-20 [90397c94](https://github.com/silverstripe/silverstripe-cms/commit/90397c945d2eec1ea07ecfee7a4adab15279dac9) fix missing install image (Damian Mooyman) - * 2016-05-12 [a61d0a2f0](https://github.com/silverstripe/silverstripe-framework/commit/a61d0a2f0babedd4cc8bc639e5c4890eaf0d3351) Persistant Loading... indicator when no campaigns yet in admin (Hamish Friedlander) + * 2016-05-12 [a61d0a2f0](https://github.com/silverstripe/silverstripe-framework/commit/a61d0a2f0babedd4cc8bc639e5c4890eaf0d3351) Persistent Loading... indicator when no campaigns yet in admin (Hamish Friedlander) * 2016-05-12 [73939958](https://github.com/silverstripe/silverstripe-cms/commit/7393995836de89509aa7643d64b322c289ff6b7a) preview in Asset Admin (Hamish Friedlander) * 2016-05-09 [1263bf8a](https://github.com/silverstripe/silverstripe-cms/commit/1263bf8a04d4873037b9fee5fecf7d1a5b8c2f70) Not being able to save when viewing page settings (Hamish Friedlander) * 2016-05-09 [2af63a84](https://github.com/silverstripe/silverstripe-cms/commit/2af63a84efd1b0a91985ea877fc65447c198ea02) add_i18n_javascript calls not being updated after JS move (Hamish Friedlander) @@ -3299,7 +3299,7 @@ Further API changes: * 2016-02-26 [40723aaa5](https://github.com/silverstripe/silverstripe-framework/commit/40723aaa58fcee4496b25ac82ebc55eaefa3fb4d) undeclared variable in UploadField.js (David Craig) * 2016-02-24 [beba0f25](https://github.com/silverstripe/silverstripe-cms/commit/beba0f2551f368a04edc8a9dd4d7446e77778c20) Fix behat tests for asset abstraction (Damian Mooyman) * 2016-02-23 [0ee156489](https://github.com/silverstripe/silverstripe-framework/commit/0ee1564896be9a1da97d61f5141d6cffe416a7e5) Fix deprecated API usage in DataFormatter API and DataObjectTest (Damian Mooyman) - * 2016-02-19 [7580d35be](https://github.com/silverstripe/silverstripe-framework/commit/7580d35be816ad73ca6d9434f7992301c000d0fa) ability to edit files immeditately after upload (scott1702) + * 2016-02-19 [7580d35be](https://github.com/silverstripe/silverstripe-framework/commit/7580d35be816ad73ca6d9434f7992301c000d0fa) ability to edit files immediately after upload (scott1702) * 2016-01-25 [d031f53e](https://github.com/silverstripe/silverstripe-reports/commit/d031f53e7314498c900c84923f94f66e4aa3303a) incorrect version dependency (Damian Mooyman) * 2016-01-21 [8872ed51](https://github.com/silverstripe/silverstripe-siteconfig/commit/8872ed51931efcab859c9d6f148c8dc61aa4509f) Fix broken travis yml (Damian Mooyman) * 2016-01-21 [6cebffd89](https://github.com/silverstripe/silverstripe-framework/commit/6cebffd89bce5e4ed15d4fbd2ceb7680ec74894a) Fix SSViewerTest not restoring old requirements (Damian Mooyman) @@ -3315,7 +3315,7 @@ Further API changes: * 2015-10-18 [c8a0347b7](https://github.com/silverstripe/silverstripe-framework/commit/c8a0347b78af0e643b1fd3032d100f8e7ed55ee2) Monolog constant use (Ingo Schommer) * 2015-10-15 [27a8afe78](https://github.com/silverstripe/silverstripe-framework/commit/27a8afe78bae34a4e0cbd6fb225840312dc8fa5f) Fix regressions in fulltextsearch (Damian Mooyman) * 2015-10-14 [d884c859d](https://github.com/silverstripe/silverstripe-framework/commit/d884c859d189a0803974636fa6f699cbc474233a) Fix file link tracking for new asset abstraction (Damian Mooyman) - * 2015-10-06 [c13dfc2fa](https://github.com/silverstripe/silverstripe-framework/commit/c13dfc2fa0d84fab40d01f38441295d40d2d1df5) ing phpdoc blocks to refering to Objects to built-in types of PHP (Peter Thaleikis) + * 2015-10-06 [c13dfc2fa](https://github.com/silverstripe/silverstripe-framework/commit/c13dfc2fa0d84fab40d01f38441295d40d2d1df5) ing phpdoc blocks to referring to Objects to built-in types of PHP (Peter Thaleikis) * 2015-09-28 [1f632a10c](https://github.com/silverstripe/silverstripe-framework/commit/1f632a10c9661d7f7eb27bd1fcf7e03081e8010e) Replace direct reference to $_REQUEST['url'] with request object getter (Damian Mooyman) * 2015-09-28 [8e3f549b](https://github.com/silverstripe/silverstripe-cms/commit/8e3f549b19bd4930f2fa80a7fa6a528cdc5e4011) Fix regressions in CMS from db field changes (Damian Mooyman) * 2015-09-09 [60e75cbd](https://github.com/silverstripe/silverstripe-cms/commit/60e75cbd990669dade21633a475ff845e089a1d6) travis php version back to 5.4 (Damian Mooyman) diff --git a/docs/en/04_Changelogs/4.0.1.md b/docs/en/04_Changelogs/4.0.1.md index 965ef218d5c..300e8761168 100644 --- a/docs/en/04_Changelogs/4.0.1.md +++ b/docs/en/04_Changelogs/4.0.1.md @@ -20,7 +20,7 @@ * 2017-12-04 [8ee35f4](https://github.com/silverstripe/silverstripe-asset-admin/commit/8ee35f46cbc9ae96e7927af46ea7ca8f067e55e1) added loadComponent fix for asset-admin entwine components (Christopher Joe) * 2017-12-01 [259ae3f78](https://github.com/silverstripe/silverstripe-framework/commit/259ae3f78bf4fe13985a1277d5b94210935d408f) Add ViewableData::getViewerTemplates() (Loz Calver) * 2017-11-27 [b418616](https://github.com/silverstripe/silverstripe-admin/commit/b4186162769cee0c4fe7ab2df50781241b4e17ad) Use recipes for test configuration (Damian Mooyman) - * 2017-11-27 [33a39666b](https://github.com/silverstripe/silverstripe-framework/commit/33a39666bafb65d77765fdc8b044849afa078bc1) Promote portugese (portugal) as primary locale (Damian Mooyman) + * 2017-11-27 [33a39666b](https://github.com/silverstripe/silverstripe-framework/commit/33a39666bafb65d77765fdc8b044849afa078bc1) Promote portuguese (portugal) as primary locale (Damian Mooyman) * 2017-11-20 [3d5f4b3](https://github.com/silverstripe/silverstripe-assets/commit/3d5f4b38952d3b4d9fbf3a53767a942065490a0d) Hide Image_Backend construction behind image manipulations to improve performance (Damian Mooyman) * 2017-11-20 [dea77c7](https://github.com/silverstripe/silverstripe-assets/commit/dea77c7792f9ee92f6c2ac600978c16cf7bf222c) Disable force_resample by default (Damian Mooyman) * 2017-11-20 [0a37ff3](https://github.com/silverstripe/silverstripe-asset-admin/commit/0a37ff30c0d747e89dbcbd1a2a42411392aeb118) Don't request unused width / height from graphql (Damian Mooyman) diff --git a/docs/en/04_Changelogs/4.0.2.md b/docs/en/04_Changelogs/4.0.2.md index 587e155ba08..b7ad2c79584 100644 --- a/docs/en/04_Changelogs/4.0.2.md +++ b/docs/en/04_Changelogs/4.0.2.md @@ -60,6 +60,6 @@ * 2017-12-10 [69decdf3a](https://github.com/silverstripe/silverstripe-framework/commit/69decdf3a408769abb4cccec744901864e661579) Don't warn on table name for classes without tables (Damian Mooyman) * 2017-12-05 [8477de15](https://github.com/silverstripe/silverstripe-siteconfig/commit/8477de15203c4c80ca55365200fa3c7c031d70d8) Remove unused Behat tests from 3.6 branch (Robbie Averill) * 2017-11-30 [84d7afb34](https://github.com/silverstripe/silverstripe-framework/commit/84d7afb3477885e9d69f2ac10838179efc1d3b91) Use baseDataClass for allVersions as with other methods (Daniel Hensby) - * 2017-11-23 [2ad3cc07d](https://github.com/silverstripe/silverstripe-framework/commit/2ad3cc07d583041e23a5dca0d53ffbdf8c9cd0d0) Update meber passwordencryption to default on password change (Daniel Hensby) + * 2017-11-23 [2ad3cc07d](https://github.com/silverstripe/silverstripe-framework/commit/2ad3cc07d583041e23a5dca0d53ffbdf8c9cd0d0) Update member passwordencryption to default on password change (Daniel Hensby) * 2017-11-16 [e4b1fb2](https://github.com/silverstripe/silverstripe-campaign-admin/commit/e4b1fb2e88d50810631c590f832be9e552c5a3e7) issue where there's no error for duplicate name (Saophalkun Ponlu) * 2016-03-20 [805c38f10](https://github.com/silverstripe/silverstripe-framework/commit/805c38f107e7e332d2846407e0a89cade1d33ed1) don't try and switch out of context of the tab system (Stevie Mayhew) diff --git a/docs/en/04_Changelogs/4.1.0.md b/docs/en/04_Changelogs/4.1.0.md index 9a0e79a9951..e50b849e231 100644 --- a/docs/en/04_Changelogs/4.1.0.md +++ b/docs/en/04_Changelogs/4.1.0.md @@ -159,7 +159,7 @@ SilverStripe\View\SSViewer: - '$default' ``` -This would allow `<% require themedCSS('style.css') %>` to find a file comitted to `public/css/style.css`. +This would allow `<% require themedCSS('style.css') %>` to find a file committed to `public/css/style.css`. Note that `Requirements` calls will look in both the `public` folder (first) and then the base path when resolving css or javascript files. Any files that aren't in the public folder must be exposed using @@ -167,7 +167,7 @@ the composer.json "expose" mechanism described below. ### Expose root project files {#expose-root-files} -If you have files comitted to source control outside of the `public` folder, but you need them to be available +If you have files committed to source control outside of the `public` folder, but you need them to be available to the web server, you can also use the composer.json `expose` directive to symlink / copy these to `public/resources/`. **composer.json** (in project root) @@ -227,7 +227,7 @@ For example: normalising `Convert::normalise('/some\\dir/')` will convert to `/s Setting the second arg to true will also trim leading slashes. E.g. `Convert::normalise('/sub\\dir/', true)` will convert to `sub/dir`. -It is preferrable to use these helpers in your code instead of assuming `DIRECTORY_SEPARATOR` === `/` +It is preferable to use these helpers in your code instead of assuming `DIRECTORY_SEPARATOR` === `/` ## Change Log diff --git a/docs/en/04_Changelogs/4.2.0.md b/docs/en/04_Changelogs/4.2.0.md index 89213c0394e..6887578e3bb 100644 --- a/docs/en/04_Changelogs/4.2.0.md +++ b/docs/en/04_Changelogs/4.2.0.md @@ -101,7 +101,7 @@ The following methods have been added to [api:SilverStripe\Versioned\Versioned] unauthenticated users. Replaces `unsecuredDraftSite` session var. * `get_default_reading_mode()` / `set_default_reading_mode()` The default reading mode is now configurable. Any non-default reading mode must have querystring args - to be visible. This will be the mode choosen for requests that do not have these args. + to be visible. This will be the mode chosen for requests that do not have these args. Note that the default mode for CMS is now draft, but is live on the frontend. A new class [api:SilverStripe\Versioned\ReadingMode] has also been added to assist with @@ -147,7 +147,7 @@ Two new commands have been added to the SilverStripe upgrader tool: `environment `environment` allows you to convert your `_ss_environment.php` file to an equivalent `.env` file when migrating a SilverStripe 3 project to SilverStripe 4. -`reorganise` renames your `mysite` and `app/code` folders to `app` and `app/src`. It also warns you of any occurence of `mysite` in your codebase. +`reorganise` renames your `mysite` and `app/code` folders to `app` and `app/src`. It also warns you of any occurrence of `mysite` in your codebase. ``` cd ~/my-project-root @@ -358,7 +358,7 @@ class PageController extends ContentController rely on the existing `Cache-Control: no-store` defaults instead * Removed `Vary: Accept`, since it's very uncommon to vary content on the `Accept` headers submitted through the request, - and it can significantly decrease the likelyhood of a cache hit. + and it can significantly decrease the likelihood of a cache hit. Note this is different from `Vary: Accept-Encoding`, which is important for compression (e.g. gzip), and usually added by other layers such as Apache's mod_gzip. diff --git a/docs/en/04_Changelogs/4.3.0.md b/docs/en/04_Changelogs/4.3.0.md index ed6f321daf5..abaa7df1a8b 100644 --- a/docs/en/04_Changelogs/4.3.0.md +++ b/docs/en/04_Changelogs/4.3.0.md @@ -278,7 +278,7 @@ for more details. * 2018-08-24 [6164d01d6](https://github.com/silverstripe/silverstripe-framework/commit/6164d01d65648ce6b25a7ef82fabaa10b81565d0) GridField delete button to offer archive action if possible (#8325) (Luke Edwards) * 2018-08-22 [1b67bb08c](https://github.com/silverstripe/silverstripe-framework/commit/1b67bb08c8b61ad7e5324ef07eaea2834772b818) Fix failing HTML button test step (Luke Edwards) * 2018-08-17 [160d595e2](https://github.com/silverstripe/silverstripe-framework/commit/160d595e226edcbaa64a47a0be74193a8b8058cc) fix trailing whitespace (maks) - * 2018-08-17 [16217f365](https://github.com/silverstripe/silverstripe-framework/commit/16217f3655c28ddcf6a721bca82d45d65b91e3ed) fix accidentaly deleted comma (maks) + * 2018-08-17 [16217f365](https://github.com/silverstripe/silverstripe-framework/commit/16217f3655c28ddcf6a721bca82d45d65b91e3ed) fix accidentally deleted comma (maks) * 2018-08-16 [61c046c](https://github.com/silverstripe/silverstripe-versioned/commit/61c046c9cd6ce97456b6123a05438c7cd05d07cc) If archive's possible switch GridField delete button with archive (Luke Edwards) * 2018-08-15 [d9154bffb](https://github.com/silverstripe/silverstripe-framework/commit/d9154bffbf7b0031e5bd3ed1f68db3fae6ab5959) text/json is not a valid mimetype (Daniel Hensby) * 2018-08-15 [d18b5ee](https://github.com/silverstripe/silverstripe-campaign-admin/commit/d18b5eed63e081a4cbcbb30edcf51839a2ae3461) text/json is not a valid mimetype (Daniel Hensby) diff --git a/docs/en/04_Changelogs/4.3.2.md b/docs/en/04_Changelogs/4.3.2.md index 50e690f74e1..14c0ced0c31 100644 --- a/docs/en/04_Changelogs/4.3.2.md +++ b/docs/en/04_Changelogs/4.3.2.md @@ -77,7 +77,7 @@ * 2018-11-22 [24d303a](https://github.com/silverstripe/silverstripe-admin/commit/24d303acfb072043a864fd0ae71cd3a024fb137a) Search filters and header inputs support the attribute store method for action state (Guy Marriott) * 2018-11-21 [9ce6d91b7](https://github.com/silverstripe/silverstripe-framework/commit/9ce6d91b76e525a6fc81e02023e9e53cdf82e047) / TreeMultiselectField::objectForKey handles list of IDs correctly (Serge Latyntcev) * 2018-11-21 [b4c8f699e](https://github.com/silverstripe/silverstripe-framework/commit/b4c8f699eb4dd75089100c1b180cd0df25146206) Provide alternatives to session for storing GridField_FormAction state (Guy Marriott) - * 2018-11-20 [d74af1c17](https://github.com/silverstripe/silverstripe-framework/commit/d74af1c17e0b72ae119abc00fd7ef0aca6dd4498) Explicity mark nodes when searching nodes in TreeDropdownField #8621 (Maxime Rainville) + * 2018-11-20 [d74af1c17](https://github.com/silverstripe/silverstripe-framework/commit/d74af1c17e0b72ae119abc00fd7ef0aca6dd4498) Explicitly mark nodes when searching nodes in TreeDropdownField #8621 (Maxime Rainville) * 2018-11-19 [d05e142](https://github.com/silverstripe/silverstripe-admin/commit/d05e1424ee1d7217474d7d16f8bdc4e289dd2700) Correct the entwine match for the loading animation (Maxime Rainville) * 2018-11-16 [35c3a8c6](https://github.com/silverstripe/silverstripe-cms/commit/35c3a8c68db2660838dcd2ae5abd2bd1c3214af4) 'Search' text in default search form should be a placeholder (Robbie Averill) * 2018-11-16 [f63e368](https://github.com/silverstripe/silverstripe-admin/commit/f63e368cb0aba1964327b853631a67ba2af5db09) Change Tag class to avoid conflict with taxanomie (Maxime Rainville) diff --git a/docs/en/04_Changelogs/4.3.3.md b/docs/en/04_Changelogs/4.3.3.md index 8bbabc43946..3951b426da1 100644 --- a/docs/en/04_Changelogs/4.3.3.md +++ b/docs/en/04_Changelogs/4.3.3.md @@ -16,7 +16,7 @@ * 2019-03-18 [4e05efe](https://github.com/silverstripe/silverstripe-asset-admin/commit/4e05efe8983fc9f963d55d4676287c09c44feb93) Revert 69341e86 (#863) (#922) (Guy Marriott) * 2019-03-18 [d76ce85](https://github.com/silverstripe/silverstripe-assets/commit/d76ce8535aba9cbf1c226963cb1003ef06aa24ac) Redirect legacy assets and replaced assets (fixes #218) (Maxime Rainville) - * 2019-03-14 [4eb9267](https://github.com/silverstripe/silverstripe-graphql/commit/4eb92670244d95e7966971a8e8f0969ce08a5669) Allow mutations to be null. graphql-devtools chokes on it othewise (#225) (Aaron Carlino) + * 2019-03-14 [4eb9267](https://github.com/silverstripe/silverstripe-graphql/commit/4eb92670244d95e7966971a8e8f0969ce08a5669) Allow mutations to be null. graphql-devtools chokes on it otherwise (#225) (Aaron Carlino) * 2019-03-08 [c1569d3](https://github.com/silverstripe/silverstripe-admin/commit/c1569d37adb5405a957d65c26fdd24c67a0ac1c4) Archive and delete confirmation messages in GridFields now have fallback translation strings (Robbie Averill) * 2019-03-05 [861dde5](https://github.com/silverstripe/silverstripe-admin/commit/861dde53822d23a7ab20bef4eae3f302a947e086) Composite fields containing checkboxes now correctly indent them, and height is fixed (Robbie Averill) * 2019-03-05 [0555f7d](https://github.com/silverstripe/silverstripe-admin/commit/0555f7d56593837f5163af8ddd586973e2c2223e) Checkbox indentation is now correct when used in PHP generated forms (Robbie Averill) diff --git a/docs/en/04_Changelogs/4.4.0.md b/docs/en/04_Changelogs/4.4.0.md index 77f3697bd86..6f2a813ef77 100644 --- a/docs/en/04_Changelogs/4.4.0.md +++ b/docs/en/04_Changelogs/4.4.0.md @@ -329,7 +329,7 @@ SilverStripe\Core\Injector\Injector: React-rendered UIs represent a growing proportion of the CMS, and we're continuing to invest in this technology by staying up-to-date with its newest APIs. React 16 offers a number of features that developers love, such as fragments, portals, and declarative error handling. -If you have thirdparty code, such as a backend module, that depends on React UIs, your code may break due to incompatability with React 16. The most common API breakage we see is that [PropTypes has been moved to its own library](https://www.npmjs.com/package/prop-types). +If you have thirdparty code, such as a backend module, that depends on React UIs, your code may break due to incompatibility with React 16. The most common API breakage we see is that [PropTypes has been moved to its own library](https://www.npmjs.com/package/prop-types). ### DevelopmentAdmin controllers @@ -483,7 +483,7 @@ SilverStripe\Forms\GridField\GridFieldDetailForm_ItemRequest: * 2019-02-22 [12512e84](https://github.com/silverstripe/silverstripe-cms/commit/12512e84b1765f144247d66e8d96b7d8f44e6015) BrokenLinksReport now uses injector for fields, uses short array syntax and single quotes (Robbie Averill) * 2019-02-03 [8267623](https://github.com/silverstripe/silverstripe-admin/commit/8267623bc5044e47026d7716e859d2208b0e651e) Add getter for ModelAdmin::$modelClass (jcarter) * 2019-02-01 [bbace74](https://github.com/silverstripe/silverstripe-campaign-admin/commit/bbace7455dc0ea4c21ee5128b0cf185580c05b58) Add to Campaign button in SiteTree now lives in campaign-admin (Robbie Averill) - * 2019-01-29 [c4bf06f60](https://github.com/silverstripe/silverstripe-framework/commit/c4bf06f6008e4619fb88075e6dc779d7acf595fd) Add new execmetric debug URL parameter to print out exection time and peak memory usage (Maxime Rainville) + * 2019-01-29 [c4bf06f60](https://github.com/silverstripe/silverstripe-framework/commit/c4bf06f6008e4619fb88075e6dc779d7acf595fd) Add new execmetric debug URL parameter to print out execution time and peak memory usage (Maxime Rainville) * 2019-01-23 [13b8475](https://github.com/silverstripe/silverstripe-asset-admin/commit/13b847501f117a6286cf079550f7c0031c4edf14) add a memory limit to the ImageThumbnailHelper (Maxime Rainville) * 2019-01-16 [6689db1b](https://github.com/silverstripe/silverstripe-cms/commit/6689db1ba983a91f7fb1b50644b84513f0381bef) Convert drag handle and dropdown caret to use font-icons in site tree (Sacha Judd) * 2019-01-16 [e665820](https://github.com/silverstripe/silverstripe-admin/commit/e66582031e9b8c962beb8b1760324dd7b5588567) Convert drag handle and dropdown caret to use font-icons in site tree (Sacha Judd) @@ -574,7 +574,7 @@ SilverStripe\Forms\GridField\GridFieldDetailForm_ItemRequest: * 2019-04-05 [594af7713](https://github.com/silverstripe/silverstripe-framework/commit/594af7713487da0fc200d6df8d9c706c26e3c767) prevent unnecessary field alterations for enums with empty defaults (Loz Calver) * 2019-04-05 [1cfc4c7](https://github.com/silverstripe/silverstripe-assets/commit/1cfc4c73686a14c36c619a236cf63db44beb3c8d) Still fixing unit tests (Maxime Rainville) * 2019-04-05 [f0b61bd](https://github.com/silverstripe/silverstripe-assets/commit/f0b61bd29a7c1c22d2ce30f480b7478e3e4fe61e) Hard fail when trying to build a Hash file ID without prvoding a hash (Maxime Rainville) - * 2019-04-05 [4cdaae9](https://github.com/silverstripe/silverstripe-assets/commit/4cdaae93b2f5852764d9ec0da67736f0f59c43c8) Explicitely set hash when returning variant parsed ID (Maxime Rainville) + * 2019-04-05 [4cdaae9](https://github.com/silverstripe/silverstripe-assets/commit/4cdaae93b2f5852764d9ec0da67736f0f59c43c8) Explicitly set hash when returning variant parsed ID (Maxime Rainville) * 2019-04-04 [759968bbe](https://github.com/silverstripe/silverstripe-framework/commit/759968bbe2f8e3a4087b2f08622abc4cc70f2867) Fix Undefined variable: result when catch Exception (Ian Patel) * 2019-04-04 [a3c61e5](https://github.com/silverstripe/silverstripe-admin/commit/a3c61e546f77e78fdefd3e678b0dbe0ca52e933b) Long site names now display correctly in CMS menu with equal margins and alignment (Robbie Averill) * 2019-04-04 [b542585](https://github.com/silverstripe/silverstripe-assets/commit/b5425850b3c048bdeda66821ad9c889ad7c0d767) Convert more of FlyAssetStore to use new format (Maxime Rainville) @@ -583,7 +583,7 @@ SilverStripe\Forms\GridField\GridFieldDetailForm_ItemRequest: * 2019-04-04 [a17e1de](https://github.com/silverstripe/silverstripe-admin/commit/a17e1deee08a4fc73470dfc1ac9083b7d019fbc8) Show RightTitle on CheckboxField (Sam Minnee) * 2019-04-04 [8a098d637](https://github.com/silverstripe/silverstripe-framework/commit/8a098d637fd67ba20e98ec76d51195f74e8eb131) Show RightTitle on CheckboxField (Sam Minnee) * 2019-04-03 [c767d81](https://github.com/silverstripe/silverstripe-assets/commit/c767d813af591e0f2bf99df0ff6d5d312edb1ab9) Adjust test to work with new asset structure (Maxime Rainville) - * 2019-04-03 [fbf385a](https://github.com/silverstripe/silverstripe-assets/commit/fbf385afcbb95f1d3c6fa2399d7d6e76c7daaa52) Adjust writting logic to work with file resolution strategies (Maxime Rainville) + * 2019-04-03 [fbf385a](https://github.com/silverstripe/silverstripe-assets/commit/fbf385afcbb95f1d3c6fa2399d7d6e76c7daaa52) Adjust writing logic to work with file resolution strategies (Maxime Rainville) * 2019-04-03 [ad828a4](https://github.com/silverstripe/silverstripe-assets/commit/ad828a458430f982ae8057b7e967d66073400169) Validate hash when looking for variant (Maxime Rainville) * 2019-03-29 [c84ad4278](https://github.com/silverstripe/silverstripe-framework/commit/c84ad4278f924679ba8c0d258c806ddd610c6bc5) Update installer to create the assets folder if its missing (Maxime Rainville) * 2019-03-28 [2b386e6](https://github.com/silverstripe/silverstripe-assets/commit/2b386e6e34aaeccd714b8f0f3f2c7de1b7f71b27) Fix the exist and delete logic when working (Maxime Rainville) diff --git a/docs/en/04_Changelogs/4.4.1.md b/docs/en/04_Changelogs/4.4.1.md index fae9b302073..e6bb32a416d 100644 --- a/docs/en/04_Changelogs/4.4.1.md +++ b/docs/en/04_Changelogs/4.4.1.md @@ -33,11 +33,11 @@ * 2019-05-24 [25aa3af03](https://github.com/silverstripe/silverstripe-framework/commit/25aa3af032f24314ac458743db78028e1aa66ead) HeaderField requires the optional Title field (Dylan Wagstaff) * 2019-05-22 [cc165e8](https://github.com/silverstripe/silverstripe-assets/commit/cc165e86d2c107aab31c566f8e9ce8c6be5eb2b3) Tweak short code method to look for clean filename (Maxime Rainville) * 2019-05-21 [f449a49](https://github.com/silverstripe/silverstripe-assets/commit/f449a495ca97d9b259a3f00d12310552024104a8) Fix broken rebase. (Maxime Rainville) - * 2019-05-21 [b4b021b](https://github.com/silverstripe/silverstripe-assets/commit/b4b021b605fe5648f1bfe3e3546a6c7a6516abdb) Explicitely check hash from folder against the actual hash of their file (Maxime Rainville) + * 2019-05-21 [b4b021b](https://github.com/silverstripe/silverstripe-assets/commit/b4b021b605fe5648f1bfe3e3546a6c7a6516abdb) Explicitly check hash from folder against the actual hash of their file (Maxime Rainville) * 2019-05-21 [a06094b](https://github.com/silverstripe/silverstripe-assets/commit/a06094bbdec80d860a76e46b72c125416ed628c1) Update HashFileIDHelper to fail hash folder with non hexa-decimal characters (Maxime Rainville) * 2019-05-20 [e85d7af](https://github.com/silverstripe/silverstripe-assets/commit/e85d7af09e17108e916df995179fd9fd43999af3) Do not run legacy thumbnail migration if we don't have the `Filename` DB field (Maxime Rainville) - * 2019-05-17 [d60439c](https://github.com/silverstripe/silverstripe-versioned/commit/d60439cbb5780b732bb4a899b425a198e549cdd7) Revert framework constraint bump and add easly returns when non B/C interface does not exist (#232) (Guy Marriott) - * 2019-05-17 [5df7f4f](https://github.com/silverstripe/silverstripe-versioned/commit/5df7f4f2708efe98daa6c2be8f0d5a2de6b0742d) Revert framework constraint bump and add easly returns when non B/C interface does not exist (Robbie Averill) + * 2019-05-17 [d60439c](https://github.com/silverstripe/silverstripe-versioned/commit/d60439cbb5780b732bb4a899b425a198e549cdd7) Revert framework constraint bump and add easily returns when non B/C interface does not exist (#232) (Guy Marriott) + * 2019-05-17 [5df7f4f](https://github.com/silverstripe/silverstripe-versioned/commit/5df7f4f2708efe98daa6c2be8f0d5a2de6b0742d) Revert framework constraint bump and add easily returns when non B/C interface does not exist (Robbie Averill) * 2019-05-14 [3f1479edb](https://github.com/silverstripe/silverstripe-framework/commit/3f1479edbbe406a6b9ca1c5284f2daabf455c8b5) DataQuery overwriting _SortColumn selects (#8974) (Aaron Carlino) * 2019-05-14 [5a3c751](https://github.com/silverstripe/silverstripe-assets/commit/5a3c751b296cbd0b7759d85b2d3afc7da0ac3d9e) fix unit tests. (Maxime Rainville) * 2019-05-14 [e6db5de](https://github.com/silverstripe/silverstripe-assets/commit/e6db5dee3a200019b2bc1259f40a1c9a6ada6cc7) Update FileMigrationHelper to rename files with bad name if another file already exists with that name (Maxime Rainville) diff --git a/docs/en/04_Changelogs/4.4.2.md b/docs/en/04_Changelogs/4.4.2.md index 507a8e1375c..a282337316a 100644 --- a/docs/en/04_Changelogs/4.4.2.md +++ b/docs/en/04_Changelogs/4.4.2.md @@ -15,7 +15,7 @@ * 2019-08-02 [181dba8](https://github.com/silverstripe/silverstripe-admin/commit/181dba850bf1e73d53b49563f400a12305b35488) FormSchema field title can include html, this will sometimes be used to render form modals (Maxime Rainville) * 2019-07-29 [5c794dfcd](https://github.com/silverstripe/silverstripe-framework/commit/5c794dfcdd42b319325c867f4a807429ad93a553) Prevent setting session value when no session exists yet (Robbie Averill) * 2019-07-22 [e822e1d](https://github.com/silverstripe/silverstripe-admin/commit/e822e1d1d480c01f612ee8c3219058547c990184) Support array field names when resolving values (Guy Marriott) - * 2019-07-22 [d5bd3b0](https://github.com/silverstripe/silverstripe-versioned-admin/commit/d5bd3b0f1890693a5983fcf577a6b3c22d0eeac5) Removing unecessary requirements calls (Guy Marriott) + * 2019-07-22 [d5bd3b0](https://github.com/silverstripe/silverstripe-versioned-admin/commit/d5bd3b0f1890693a5983fcf577a6b3c22d0eeac5) Removing unnecessary requirements calls (Guy Marriott) * 2019-07-22 [2af771d](https://github.com/silverstripe/silverstripe-versioned-admin/commit/2af771d02465885fd5eb0880332d4f66575adfd6) Use a more reliable method of including client bundles (Guy Marriott) * 2019-07-17 [ef25468](https://github.com/silverstripe/silverstripe-admin/commit/ef2546889ff35c2a6cf74aa956d818cae72898e0) Inline toolbar placement now works in HTMLEditorFields with less than 6 rows (Robbie Averill) * 2019-07-17 [00d4f18e](https://github.com/silverstripe/silverstripe-cms/commit/00d4f18ed2b554c59ac8de24b5aebd7c00bf8bda) display recognisable names for dependent content with no ti… (#2458) (Guy Marriott) diff --git a/docs/en/04_Changelogs/4.4.5.md b/docs/en/04_Changelogs/4.4.5.md index 990053544ea..77d2511dc71 100644 --- a/docs/en/04_Changelogs/4.4.5.md +++ b/docs/en/04_Changelogs/4.4.5.md @@ -49,7 +49,7 @@ The vulnerability has not identified on forms created through the silverstripe/u * 2019-10-03 [b3ccd48](https://github.com/silverstripe/silverstripe-admin/commit/b3ccd48cb9bc0567f9ce53a74d5d465be4e77d90) Remove buggy code from LeftAndMain Breadcrumb (Maxime Rainville) * 2019-10-02 [7db524bd9](https://github.com/silverstripe/silverstripe-framework/commit/7db524bd9065dc1918fd812bf20e207740b57dd0) DebugViewFrendlyErrorFormatter handle of admin_email (Serge Latyntcev) * 2019-09-30 [be44178](https://github.com/silverstripe/silverstripe-admin/commit/be441785aeb79ea77bd56a5e74a668d809e92530) fixed creating multiple duplicate data object by locking out save button on submit (Makreig) - * 2019-09-29 [2799265](https://github.com/silverstripe/silverstripe-asset-admin/commit/2799265675ac251c4590c80258f717a08d199273) Honour AssetAdminFile insert dimentions when inserting a new image (#1015) (Maxime Rainville) + * 2019-09-29 [2799265](https://github.com/silverstripe/silverstripe-asset-admin/commit/2799265675ac251c4590c80258f717a08d199273) Honour AssetAdminFile insert dimensions when inserting a new image (#1015) (Maxime Rainville) * 2019-09-29 [f475826](https://github.com/silverstripe/silverstripe-assets/commit/f4758265ad245e3b05f8e5fcf9c87fb490de5853) Fix inlinting issue (Maxime Rainville) * 2019-09-29 [30d816e](https://github.com/silverstripe/silverstripe-assets/commit/30d816ef386f13a774b4d037620d2435d65af42f) Flush cache before every test in Sha1FileHashingServiceTest (Maxime Rainville) * 2019-09-26 [959da81](https://github.com/silverstripe/silverstripe-assets/commit/959da8137684fcadd50701111355e3f71d4c9fe1) Store the timestamp in the cache (Maxime Rainville) diff --git a/docs/en/04_Changelogs/4.4.7.md b/docs/en/04_Changelogs/4.4.7.md index 712a9a1c9d2..8c3153df862 100644 --- a/docs/en/04_Changelogs/4.4.7.md +++ b/docs/en/04_Changelogs/4.4.7.md @@ -45,7 +45,7 @@ SilverStripe\Core\Injector\Injector: If your project overrides the defaults allowed file types, it's important that you take the time to review your configuration and adjust it as need be to work with `silverstripe/mimevalidator`. -Read the [Allowed file types](/Developer_Guides/Files/Allowed_file_types) documentation for more details on controling the type of files that can be stored in your Silverstrip CMS Project. +Read the [Allowed file types](/Developer_Guides/Files/Allowed_file_types) documentation for more details on controlling the type of files that can be stored in your Silverstrip CMS Project. #### Special consideration when upgrading Userforms diff --git a/docs/en/04_Changelogs/4.5.0.md b/docs/en/04_Changelogs/4.5.0.md index 999e78fdcd0..228842089e1 100644 --- a/docs/en/04_Changelogs/4.5.0.md +++ b/docs/en/04_Changelogs/4.5.0.md @@ -207,7 +207,7 @@ SilverStripe\Core\Injector\Injector: * 2019-10-02 [7db524bd9](https://github.com/silverstripe/silverstripe-framework/commit/7db524bd9065dc1918fd812bf20e207740b57dd0) DebugViewFrendlyErrorFormatter handle of admin_email (Serge Latyntcev) * 2019-09-30 [be44178](https://github.com/silverstripe/silverstripe-admin/commit/be441785aeb79ea77bd56a5e74a668d809e92530) fixed creating multiple duplicate data object by locking out save button on submit (Makreig) * 2019-09-30 [daf995da6](https://github.com/silverstripe/silverstripe-framework/commit/daf995da6398a9eb7bcb2fbbe802d58477bd89b9) Fix syntax error in DataList docs (Loz Calver) - * 2019-09-29 [2799265](https://github.com/silverstripe/silverstripe-asset-admin/commit/2799265675ac251c4590c80258f717a08d199273) Honour AssetAdminFile insert dimentions when inserting a new image (#1015) (Maxime Rainville) + * 2019-09-29 [2799265](https://github.com/silverstripe/silverstripe-asset-admin/commit/2799265675ac251c4590c80258f717a08d199273) Honour AssetAdminFile insert dimensions when inserting a new image (#1015) (Maxime Rainville) * 2019-09-29 [f475826](https://github.com/silverstripe/silverstripe-assets/commit/f4758265ad245e3b05f8e5fcf9c87fb490de5853) Fix inlinting issue (Maxime Rainville) * 2019-09-29 [30d816e](https://github.com/silverstripe/silverstripe-assets/commit/30d816ef386f13a774b4d037620d2435d65af42f) Flush cache before every test in Sha1FileHashingServiceTest (Maxime Rainville) * 2019-09-29 [52b2b3a](https://github.com/silverstripe/silverstripe-asset-admin/commit/52b2b3afca0533e01d4fd9430484726dedec2780) Fix minor typos in the comments (Maxime Rainville) @@ -252,7 +252,7 @@ SilverStripe\Core\Injector\Injector: * 2019-06-17 [093c3cf](https://github.com/silverstripe/silverstripe-admin/commit/093c3cf78231435da09dfce82db6ff04550fd47e) Hide iframe while loading in preview component (Guy Marriott) * 2019-06-14 [1ee03da65](https://github.com/silverstripe/silverstripe-framework/commit/1ee03da657575436f307df5e7ffc169a415c91d5) Fix PHPUnit operation on PHP 7.4 (Sam Minnee) * 2019-06-14 [ea04c8c](https://github.com/silverstripe/silverstripe-admin/commit/ea04c8cc326e2fda5ee237ef2ff84a37c2396b60) Remove unused gzip tinemce third party lib (Maxime Rainville) - * 2019-06-14 [abce98886](https://github.com/silverstripe/silverstripe-framework/commit/abce98886cf950f75e8f1f6cd7fd5b9a41d254b6) Temporarilly allow PHP 7.4 build to fail without failing the entire build (Maxime Rainville) + * 2019-06-14 [abce98886](https://github.com/silverstripe/silverstripe-framework/commit/abce98886cf950f75e8f1f6cd7fd5b9a41d254b6) Temporarily allow PHP 7.4 build to fail without failing the entire build (Maxime Rainville) * 2019-06-13 [b3093b7a1](https://github.com/silverstripe/silverstripe-framework/commit/b3093b7a1a77dcddf88ad01fe6620fb1798e1c21) Allow state to be shared across nested GridFields (Aaron Carlino) * 2019-06-10 [654156d46](https://github.com/silverstripe/silverstripe-framework/commit/654156d46d109e1cca0198c069aa6b657b574aad) Fix bug when confirmed password is changed but not the password. (#9012) (Sam Minnée) * 2019-06-05 [acfb84e](https://github.com/silverstripe/silverstripe-admin/commit/acfb84eda3a09139728697a8e96e34991165c44e) Update modal designs to match design pattern library (Guy Marriott) @@ -271,6 +271,6 @@ SilverStripe\Core\Injector\Injector: * 2019-05-06 [4d21f34](https://github.com/silverstripe/silverstripe-errorpage/commit/4d21f3495e54d9fa916839003873c9e1b928e69c) Fix composer.json merge (Aaron Carlino) * 2019-04-29 [cfba4cb](https://github.com/silverstripe/silverstripe-installer/commit/cfba4cbe3602c666bd3481b9786b5b9bd5932336) Fixed core dependency to 4.x-dev (Ingo Schommer) * 2019-04-29 [f02c756](https://github.com/silverstripe/silverstripe-admin/commit/f02c75675053d8fe51cfcaef9e3eca45ef3c438f) Remove unused variable (Guy Marriott) - * 2019-04-15 [f63973f](https://github.com/silverstripe/recipe-core/commit/f63973f062757f7faa90358d411e9070cb74f277) Disable uneeded File ID Helper on new project (Maxime Rainville) + * 2019-04-15 [f63973f](https://github.com/silverstripe/recipe-core/commit/f63973f062757f7faa90358d411e9070cb74f277) Disable unneeded File ID Helper on new project (Maxime Rainville) * 2019-04-09 [91f168955](https://github.com/silverstripe/silverstripe-framework/commit/91f168955dc6f314615f25f22220032f3679a9aa) Fix reference to webconfig.php, an invalid file (Matt Peel) * 2019-02-01 [031740e](https://github.com/silverstripe/silverstripe-admin/commit/031740edcb412ff66b9436f0df6bb62cfb55b4e6) Scrolling out of auto-selected edit mode not switches back to split mode (Robbie Averill) diff --git a/docs/en/04_Changelogs/4.5.3.md b/docs/en/04_Changelogs/4.5.3.md index 7731e60549c..368a61f4536 100644 --- a/docs/en/04_Changelogs/4.5.3.md +++ b/docs/en/04_Changelogs/4.5.3.md @@ -46,7 +46,7 @@ SilverStripe\Core\Injector\Injector: If your project overrides the defaults allowed file types, it's important that you take the time to review your configuration and adjust it as need be to work with `silverstripe/mimevalidator`. -Read the [Allowed file types](/Developer_Guides/Files/Allowed_file_types) documentation for more details on controling the type of files that can be stored in your Silverstrip CMS Project. +Read the [Allowed file types](/Developer_Guides/Files/Allowed_file_types) documentation for more details on controlling the type of files that can be stored in your Silverstrip CMS Project. #### Special consideration when upgrading Userforms diff --git a/docs/en/04_Changelogs/4.6.0.md b/docs/en/04_Changelogs/4.6.0.md index d5c9575500f..56cf5194e86 100644 --- a/docs/en/04_Changelogs/4.6.0.md +++ b/docs/en/04_Changelogs/4.6.0.md @@ -432,7 +432,7 @@ This release supports PHP 7.4, as does version 4.5.3 which was released at the s * 2020-04-08 [e51bd421](https://github.com/silverstripe/silverstripe-cms/commit/e51bd421a6996e0a2794799c9475ef115bcf7673) InnoDB FULLTEXT compat in tests (Ingo Schommer) * 2020-04-08 [dd839ca2](https://github.com/silverstripe/silverstripe-cms/commit/dd839ca2d9b8cc56501e466da9421b11d76fa967) Remove searchEngine() test that's using API wrong (Ingo Schommer) * 2020-04-08 [052c5cbc3](https://github.com/silverstripe/silverstripe-framework/commit/052c5cbc38210476ffce7d98dc052fa09b4e5e5f) Infinite loops in TempDatabase (fixes #8902) (Ingo Schommer) - * 2020-04-05 [d6fc7fe80](https://github.com/silverstripe/silverstripe-framework/commit/d6fc7fe8040a9701a380bfa9c25497a9dc63fbe9) Fix issue with the GridField documenation - many_many_extraFields code example (tdenev) + * 2020-04-05 [d6fc7fe80](https://github.com/silverstripe/silverstripe-framework/commit/d6fc7fe8040a9701a380bfa9c25497a9dc63fbe9) Fix issue with the GridField documentation - many_many_extraFields code example (tdenev) * 2020-04-02 [9e0ed0a50](https://github.com/silverstripe/silverstripe-framework/commit/9e0ed0a50a383bd83f405d3cb8fb091708bd251d) Fix spaces around concatenation operator (Dan Hensby) * 2020-03-23 [5002f514b](https://github.com/silverstripe/silverstripe-framework/commit/5002f514b3fde8e4ef75a72c964d649f46ab31f0) Capitalisation fixes in welcome back message (#9439) (Robbie Averill) * 2020-03-23 [e5aa94c](https://github.com/silverstripe/silverstripe-admin/commit/e5aa94cfdd4fadcc87db3eee127f2f4f751ef6a7) "My profile" title in CMS is now vertical centered as other LeftAndMain screens are (Robbie Averill) diff --git a/docs/en/04_Changelogs/4.6.1.md b/docs/en/04_Changelogs/4.6.1.md index d85be372ed4..124058117b7 100644 --- a/docs/en/04_Changelogs/4.6.1.md +++ b/docs/en/04_Changelogs/4.6.1.md @@ -52,7 +52,7 @@ This patch release only includes updates to a subset of core modules. A full lis * 2020-07-14 [85c508c](https://github.com/silverstripe/silverstripe-asset-admin/commit/85c508c84d3616ee475f6c6a076914f753a24148) Properly parse preview image url before busting the cache (Maxime Rainville) * 2020-07-09 [b780c4f50](https://github.com/silverstripe/silverstripe-framework/commit/b780c4f504555e5ae2d3861f8772f87ab20e016e) Tweak DBHTMLText::Plain to avoid treating some chinese characters as line breaks. (Maxime Rainville) * 2020-07-08 [1f0a78e57](https://github.com/silverstripe/silverstripe-framework/commit/1f0a78e57b1710b90c0c1827381e13ebe8b33dd7) More context for GridFieldDataColumns callbacks (Ingo Schommer) - * 2020-07-03 [56f15b1c1](https://github.com/silverstripe/silverstripe-framework/commit/56f15b1c143d0c994780853e5c4fb9f3cd03de6d) Try Catch for embeded media (#9424) (rdigitalg) + * 2020-07-03 [56f15b1c1](https://github.com/silverstripe/silverstripe-framework/commit/56f15b1c143d0c994780853e5c4fb9f3cd03de6d) Try Catch for embedded media (#9424) (rdigitalg) * 2020-06-30 [dcafadc](https://github.com/silverstripe/silverstripe-assets/commit/dcafadccc19ba4ace9d5942ea064cdbd3ac68eca) Generate URL correctly for ErrorPages in shortcodes (#410) (Andre Kiste) * 2020-06-23 [e033f26](https://github.com/silverstripe/silverstripe-admin/commit/e033f26d16527c04fb09c9ae3c1582367cf1dcaf) Fix external link setting text to `undefined` on text (#1059) (Andre Kiste) * 2020-06-22 [b4669ad1b](https://github.com/silverstripe/silverstripe-framework/commit/b4669ad1bb06228c4d5b79890ee9beafa3be8bbe) 4.6 regression in the TempDatabase reset schema logic (Serge Latyntcev) diff --git a/docs/en/04_Changelogs/4.7.0.md b/docs/en/04_Changelogs/4.7.0.md index 783886ce329..3b10e784093 100644 --- a/docs/en/04_Changelogs/4.7.0.md +++ b/docs/en/04_Changelogs/4.7.0.md @@ -262,7 +262,7 @@ support for hydration. * 2020-05-27 [27231bf](https://github.com/silverstripe/silverstripe-installer/commit/27231bf315ca5f592ac79e59ca84325d21923a76) Treat login-forms as a core module (Maxime Rainville) * silverstripe/recipe-core (4.6.1 -> 4.7.0) - * 2020-06-29 [d609c02](https://github.com/silverstripe/recipe-core/commit/d609c02d78309dbc376e4edcfc0580eae8a6ae3f) Revert &quot;Disable uneeded File ID Helper on new project&quot; (#59) (Maxime Rainville) + * 2020-06-29 [d609c02](https://github.com/silverstripe/recipe-core/commit/d609c02d78309dbc376e4edcfc0580eae8a6ae3f) Revert &quot;Disable unneeded File ID Helper on new project&quot; (#59) (Maxime Rainville) * silverstripe/assets (1.6.1 -> 1.7.0) * 2020-10-07 [635d7a7](https://github.com/silverstripe/silverstripe-assets/commit/635d7a7f1e482392d0e561d6c96dde0b8c19dbbf) Refactor Prophecy tests to PHPUnit Mock Objects (Garion Herman) @@ -281,10 +281,10 @@ support for hydration. * 2020-10-06 [198b25c90](https://github.com/silverstripe/silverstripe-framework/commit/198b25c9002160596a47357fd79fff2c55fdd888) Hardcode PasswordValidator config in VersionedMemberAuthenticatorTest (Garion Herman) * 2020-09-30 [8ad4c4e02](https://github.com/silverstripe/silverstripe-framework/commit/8ad4c4e02484b532724d39a75c83f36372cc74b8) Fix namespace parsing under PHP 8, tweak readability of parser (Garion Herman) * 2020-09-18 [8b3ef8f85](https://github.com/silverstripe/silverstripe-framework/commit/8b3ef8f85ae7a738fa2e8cfe217aca6274477117) recipe-testing is only needed for behat. (Sam Minnee) - * 2020-09-15 [acce4c4ce](https://github.com/silverstripe/silverstripe-framework/commit/acce4c4ce7cf4b42cfa4d33a115825e713d4cd78) Remove old boostrap 3 CSS class (Maxime Rainville) + * 2020-09-15 [acce4c4ce](https://github.com/silverstripe/silverstripe-framework/commit/acce4c4ce7cf4b42cfa4d33a115825e713d4cd78) Remove old bootstrap 3 CSS class (Maxime Rainville) * 2020-09-11 [2143660c3](https://github.com/silverstripe/silverstripe-framework/commit/2143660c3f371883e2e870f8e953d0ccae0c568e) Add class_exists() guards to SapphireTest (Sam Minnee) * 2020-09-10 [ac6f34846](https://github.com/silverstripe/silverstripe-framework/commit/ac6f34846e013c3067721894583399024f222376) Resolve issue where TreeMultiSelectField would error loading its value (#9604) (Damian Mooyman) - * 2020-09-10 [8bcfa5734](https://github.com/silverstripe/silverstripe-framework/commit/8bcfa57342ecd716273e55de75b50e0ad656196e) Make PasswordEncryptor::check more resistent to timing attacks (Maxime Rainville) + * 2020-09-10 [8bcfa5734](https://github.com/silverstripe/silverstripe-framework/commit/8bcfa57342ecd716273e55de75b50e0ad656196e) Make PasswordEncryptor::check more resistant to timing attacks (Maxime Rainville) * 2020-09-10 [acdebcdba](https://github.com/silverstripe/silverstripe-framework/commit/acdebcdba7a7176f10aad345770fd88e028c4b1b) Fix unit test (Maxime Rainville) * 2020-09-10 [02827a667](https://github.com/silverstripe/silverstripe-framework/commit/02827a66700f3a1d05ffb4065d1e664da94ee49e) Problem with direct compare in SELECT statement causing incompatibility with SQL Server database (Steve Boyd) * 2020-09-09 [27c1c7291](https://github.com/silverstripe/silverstripe-framework/commit/27c1c72912b04b8c64cd8418c6bfcb0c3e65c990) ModuleManifest::getModuleByPath fix to ensure right module is returned (#9569) (Nicolaas) @@ -308,7 +308,7 @@ support for hydration. * 2020-08-06 [0ed40e9b0](https://github.com/silverstripe/silverstripe-framework/commit/0ed40e9b0effc54fc56075683f7b8c128ca48d78) only use HTTPS link on the default controller template (Maxime Rainville) * 2020-07-14 [f13c928b1](https://github.com/silverstripe/silverstripe-framework/commit/f13c928b14f0ded74db91f3d421095a696e7333e) Fix _images pathing (Aaron Carlino) * 2020-07-14 [0d2a9da0d](https://github.com/silverstripe/silverstripe-framework/commit/0d2a9da0dd0b444025df9af4b51270d64310de11) Fix file icon URL (Aaron Carlino) - * 2020-07-03 [3bf89b2d1](https://github.com/silverstripe/silverstripe-framework/commit/3bf89b2d13bf882803f5f5409284c76b41166c6c) Try Catch for embeded media (#9424) (rdigitalg) + * 2020-07-03 [3bf89b2d1](https://github.com/silverstripe/silverstripe-framework/commit/3bf89b2d13bf882803f5f5409284c76b41166c6c) Try Catch for embedded media (#9424) (rdigitalg) * 2020-06-12 [2e0e04f70](https://github.com/silverstripe/silverstripe-framework/commit/2e0e04f70105ccabc174b58cf022ca6ac22fd0a3) fix deprecation notices (Andrew Aitken-Fincham) * 2019-08-26 [01d3b4fd9](https://github.com/silverstripe/silverstripe-framework/commit/01d3b4fd96cb9e6e5b2fa52a7de6067d90326dc4) Set many-many-through joinRecord on newly added records. (Sam Minnee) * 2019-04-26 [3575070b9](https://github.com/silverstripe/silverstripe-framework/commit/3575070b9d44472555606a4fbabfb5d011b69c29) Removing selected column detail only if having is empty (MySQL &quot;feature&quot;) (Guy Marriott) @@ -364,7 +364,7 @@ support for hydration. * 2020-10-15 [aaf4fb4d](https://github.com/silverstripe/silverstripe-cms/commit/aaf4fb4d7aeaee0760bd3d713d12b3fbea3a0d69) Remove broken RESOURCES_DIR test (Maxime Rainville) * 2020-10-12 [73460f9e](https://github.com/silverstripe/silverstripe-cms/commit/73460f9ee0014acf0817e737197de7df899ecf3c) remove old syntax from meta tag label (brynwhyman) * 2020-10-05 [0fcda80f](https://github.com/silverstripe/silverstripe-cms/commit/0fcda80f028c036f0c8be2b2e6954b3857727b32) URL segment filter correction for CMS page search. (Mojmir Fendek) - * 2020-09-15 [edbe5ad0](https://github.com/silverstripe/silverstripe-cms/commit/edbe5ad069663ce10189fb7baca2a27d82920711) Remove old boostrap 3 CSS class (Maxime Rainville) + * 2020-09-15 [edbe5ad0](https://github.com/silverstripe/silverstripe-cms/commit/edbe5ad069663ce10189fb7baca2a27d82920711) Remove old bootstrap 3 CSS class (Maxime Rainville) * 2020-08-31 [39b8d146](https://github.com/silverstripe/silverstripe-cms/commit/39b8d14634d18ce545c34324251d70884d0855b9) Unpublish permission decoupled from publish permission. (Mojmir Fendek) * 2020-08-25 [c5a96a2a](https://github.com/silverstripe/silverstripe-cms/commit/c5a96a2a876689d51a662677885b72c249fc2086) Flush embed shortcode provider cache on SiteTree write (Steve Boyd) * 2020-08-06 [31fa2624](https://github.com/silverstripe/silverstripe-cms/commit/31fa262475fcfbfedcdbea0bbe292b0fe319c0ec) Honour URL suffix on URL Segment field (Maxime Rainville) @@ -508,7 +508,7 @@ support for hydration. * silverstripe/mimevalidator (2.0.0 -> 2.1.0) * 2020-06-29 [4782e8e](https://github.com/silverstripe/silverstripe-mimevalidator/commit/4782e8e0728a32ea7fa63f1400051c511987b72e) Detail that mimevalidator is now a part of core (#40) (Serge Latyntsev) - * 2020-05-11 [04a45a7](https://github.com/silverstripe/silverstripe-mimevalidator/commit/04a45a771a6bc23a4cfa1b5b27d0cfcd2cc11e37) Move configration info to core documentation (Maxime Rainville) + * 2020-05-11 [04a45a7](https://github.com/silverstripe/silverstripe-mimevalidator/commit/04a45a771a6bc23a4cfa1b5b27d0cfcd2cc11e37) Move configuration info to core documentation (Maxime Rainville) * silverstripe/login-forms (4.1.2 -> 4.3.0) * 2020-05-27 [273f70d](https://github.com/silverstripe/silverstripe-login-forms/commit/273f70df8526ab9b4fd9075e7df80d54caddfb96) Clean up login-forms README (Maxime Rainville) @@ -640,7 +640,7 @@ support for hydration. * 2020-07-13 [8bb8f5e](https://github.com/silverstripe/silverstripe-login-forms/commit/8bb8f5e8f76fcc86b2e70f8cf906df2ffe1ebb49) Minor template fixes (3Dgoo) * 2020-06-16 [ee9af65](https://github.com/silverstripe/silverstripe-login-forms/commit/ee9af65f1269b3788299fb2e1eefe766a400ee77) Update translations (Maxime Rainville) * 2020-06-15 [8477674](https://github.com/silverstripe/silverstripe-login-forms/commit/84776747517a98db0962f745c654f69198dd27e2) Update for 4.2 (#59) (Steve Boyd) - * 2019-11-26 [46b7451](https://github.com/silverstripe/silverstripe-login-forms/commit/46b74513fc0b33f53036b332253d5a6689089b8c) Removed redundent CSS (James Cocker) + * 2019-11-26 [46b7451](https://github.com/silverstripe/silverstripe-login-forms/commit/46b74513fc0b33f53036b332253d5a6689089b8c) Removed redundant CSS (James Cocker) * 2019-11-22 [dd3ed10](https://github.com/silverstripe/silverstripe-login-forms/commit/dd3ed107730bf1caae899e3d32c2dc473919b99d) Resolve SVG IE11 logo scaling issue (James Cocker) * 2019-11-22 [42c37b0](https://github.com/silverstripe/silverstripe-login-forms/commit/42c37b013987bbb08f6f6726889c588e31068d9f) Brand logo CSS improvements (James Cocker) diff --git a/docs/en/04_Changelogs/4.8.0.md b/docs/en/04_Changelogs/4.8.0.md index 6794fb654f9..e1961592c33 100644 --- a/docs/en/04_Changelogs/4.8.0.md +++ b/docs/en/04_Changelogs/4.8.0.md @@ -204,8 +204,8 @@ This release includes a number of bug fixes to improve a broad range of areas. C * silverstripe/admin (1.7.3 -> 1.8.0) * 2021-05-11 [4793b9f](https://github.com/silverstripe/silverstripe-admin/commit/4793b9fc054521dfe386a391ce540e3d611cb323) Fix TreeDropDownField no longer displaying dropdown options (#1196) (Andre Kiste) * 2021-02-25 [036bc9e](https://github.com/silverstripe/silverstripe-admin/commit/036bc9ea97e40d50207d06680366c572f6fb85dc) Fix merge conflict from merge-up (Steve Boyd) - * 2021-02-14 [9a4bf89](https://github.com/silverstripe/silverstripe-admin/commit/9a4bf8971864378b67dae6ad727f5218d31c1a25) Allow external link anchor fiel to work even if the user provides a hash mark (Maxime Rainville) - * 2021-01-26 [095b773](https://github.com/silverstripe/silverstripe-admin/commit/095b7737a8cfa3ff9fc250264282dad514fd7475) Clean up old life cycle methods and fix serach filter compenent state (Maxime Rainville) + * 2021-02-14 [9a4bf89](https://github.com/silverstripe/silverstripe-admin/commit/9a4bf8971864378b67dae6ad727f5218d31c1a25) Allow external link anchor field to work even if the user provides a hash mark (Maxime Rainville) + * 2021-01-26 [095b773](https://github.com/silverstripe/silverstripe-admin/commit/095b7737a8cfa3ff9fc250264282dad514fd7475) Clean up old life cycle methods and fix search filter component state (Maxime Rainville) * 2020-12-02 [bc9457b](https://github.com/silverstripe/silverstripe-admin/commit/bc9457bdedef3a566e3252403176e7cb414973ed) Fix inforrect modelConfig (Aaron Carlino) * 2020-10-22 [397fa06](https://github.com/silverstripe/silverstripe-admin/commit/397fa06894d685ac72757e7d83c17793c1ddf876) TreeDropdownField wouldn&#039;t render children when using TreeBaseID (fixes #954) (Loz Calver) * 2020-08-28 [7594ef2](https://github.com/silverstripe/silverstripe-admin/commit/7594ef2a5cb842a0ac260a1c85f2826e3ef60030) Do not override grid state with search parameters (Maxime Rainville) diff --git a/docs/en/04_Changelogs/4.9.0.md b/docs/en/04_Changelogs/4.9.0.md index f8fd4b6edaa..271f48e4ae5 100644 --- a/docs/en/04_Changelogs/4.9.0.md +++ b/docs/en/04_Changelogs/4.9.0.md @@ -648,7 +648,7 @@ This release includes a number of bug fixes to improve a broad range of areas. C * 2021-08-18 [c59ef273e](https://github.com/silverstripe/silverstripe-framework/commit/c59ef273e2b2a514eea79004a1328020f335aa05) incorrect php version reference (brynwhyman) * 2021-08-17 [2838625a0](https://github.com/silverstripe/silverstripe-framework/commit/2838625a090987aa2a4877a63c204084f3cbb8c6) Add extra detail to the Image Lazy Loading doc (#10049) (Maxime Rainville) * 2021-08-15 [e78a93588](https://github.com/silverstripe/silverstripe-framework/commit/e78a93588b8e3a04f0bc3b56a4d7d8f3f9ea3c21) Add session-manager to changelog (Steve Boyd) - * 2021-08-10 [0128bbd80](https://github.com/silverstripe/silverstripe-framework/commit/0128bbd80471c8ea91aabb04c021173853a4d25b) core committer onboarding proccess (brynwhyman) + * 2021-08-10 [0128bbd80](https://github.com/silverstripe/silverstripe-framework/commit/0128bbd80471c8ea91aabb04c021173853a4d25b) core committer onboarding process (brynwhyman) * 2021-08-04 [0c998fc5c](https://github.com/silverstripe/silverstripe-framework/commit/0c998fc5ceedc0db0bf7f7f420609faae165f708) Add Michal Kleiner as core committer (Aaron Carlino) * 2021-07-17 [c8c7ee4a0](https://github.com/silverstripe/silverstripe-framework/commit/c8c7ee4a0858a1fd4be4900f184d3180a3075dd8) better docblock for TinyMCEConfig::removeButtons (Nicolaas) * 2021-06-30 [fdbd89976](https://github.com/silverstripe/silverstripe-framework/commit/fdbd89976628a150de403b8a55166c9aaa8298b2) Update SilverStripe to Silverstripe CMS (Michael Pritchard) diff --git a/docs/en/04_Changelogs/alpha/4.0.0-alpha1.md b/docs/en/04_Changelogs/alpha/4.0.0-alpha1.md index a7300fc4e3d..c937b9d0f1b 100644 --- a/docs/en/04_Changelogs/alpha/4.0.0-alpha1.md +++ b/docs/en/04_Changelogs/alpha/4.0.0-alpha1.md @@ -88,7 +88,7 @@ * `get_live_stage` is removed. Use the `Versioned::LIVE` constant instead. * `getDefaultStage` is removed. Use the `Versioned::DRAFT` constant instead. * `$versionableExtensions` is now `private static` instead of `protected static` - * `hasStages` is addded to check if an object has a given stage. + * `hasStages` is added to check if an object has a given stage. * `stageTable` is added to get the table for a given class and stage. * `ChangeSet` and `ChangeSetItem` have been added for batch publishing of versioned dataobjects. * `FormAction::setValidationExempt` can be used to turn on or off form validation for individual actions @@ -180,14 +180,14 @@ See notes below on upgrading extensions to the ErrorPage class The following image manipulations previously deprecated has been removed: - * `Image::SetRatioSize` superceded by `Fit` - * `Image::SetWidth` superceded by `ScaleWidth` - * `Image::SetHeight` superceded by `ScaleHeight` - * `Image::SetSize` superceded by `Pad` - * `Image::PaddedImage` superceded by `Pad` - * `Image::CroppedImage` superceded by `Fill` - * `Image::AssetLibraryPreview` superceded by `PreviewThumbnail` - * `Image::AssetLibraryThumbnail` superceded by `CMSThumbnail` + * `Image::SetRatioSize` superseded by `Fit` + * `Image::SetWidth` superseded by `ScaleWidth` + * `Image::SetHeight` superseded by `ScaleHeight` + * `Image::SetSize` superseded by `Pad` + * `Image::PaddedImage` superseded by `Pad` + * `Image::CroppedImage` superseded by `Fill` + * `Image::AssetLibraryPreview` superseded by `PreviewThumbnail` + * `Image::AssetLibraryThumbnail` superseded by `CMSThumbnail` The following `File` methods have been removed. Since there is no longer any assumed local path for any file, methods which dealt with such paths may no longer be relied on. @@ -425,7 +425,7 @@ There are other important considerations in working with File dataobjects which * File synchronisation is no longer automatic. This is due to the fact that there is no longer a 1-to-1 relationship between physical files and File DataObjects. * Folder DataObjects are now purely logical DataObjects, and perform no actual filesystem folder creation on write. -* All Files are versioned, which means that by default, new File records will not be visibile +* All Files are versioned, which means that by default, new File records will not be visible to the public site. You will need to make sure to invoke `->doPublish()` on any File DataObject you wish visitors to be able to see. @@ -553,7 +553,7 @@ when set to true (with a field name as the first parameter), will also include t SQLQuery is still implemented, but now extends the new SQLSelect class and has some methods deprecated. Previously this class was used for both selecting and deleting, but these -have been superceded by the specialised SQLSelect and SQLDelete classes. +have been superseded by the specialised SQLSelect and SQLDelete classes. Take care for any code or functions which expect an object of type `SQLQuery`, as these references should be replaced with `SQLSelect`. Legacy code which generates @@ -960,7 +960,7 @@ Note that string references to SS_Datetime passed to injector, or used in config ### Bugfixes - * 2016-05-12 [a61d0a2](https://github.com/silverstripe/silverstripe-framework/commit/a61d0a2f0babedd4cc8bc639e5c4890eaf0d3351) Persistant Loading... indicator when no campaigns yet in admin (Hamish Friedlander) + * 2016-05-12 [a61d0a2](https://github.com/silverstripe/silverstripe-framework/commit/a61d0a2f0babedd4cc8bc639e5c4890eaf0d3351) Persistent Loading... indicator when no campaigns yet in admin (Hamish Friedlander) * 2016-05-12 [7393995](https://github.com/silverstripe/silverstripe-cms/commit/7393995836de89509aa7643d64b322c289ff6b7a) preview in Asset Admin (Hamish Friedlander) * 2016-05-10 [d1df67d](https://github.com/silverstripe/silverstripe-framework/commit/d1df67d3089a51c0db63fbaed869738453bee482) SQLSelect count methods now cast to int (fixes #5498) (Loz Calver) * 2016-05-09 [1263bf8](https://github.com/silverstripe/silverstripe-cms/commit/1263bf8a04d4873037b9fee5fecf7d1a5b8c2f70) Not being able to save when viewing page settings (Hamish Friedlander) diff --git a/docs/en/04_Changelogs/alpha/4.0.0-alpha7.md b/docs/en/04_Changelogs/alpha/4.0.0-alpha7.md index f641df2e052..731d7c5e316 100644 --- a/docs/en/04_Changelogs/alpha/4.0.0-alpha7.md +++ b/docs/en/04_Changelogs/alpha/4.0.0-alpha7.md @@ -380,7 +380,7 @@ * 2017-04-11 [03a2a907](https://github.com/silverstripe/silverstripe-cms/commit/03a2a907cea7d857a210c1b974df8d4fe61c2153) whitespace in templates causing double arrows (Damian Mooyman) * 2017-04-11 [9cad8ba0](https://github.com/silverstripe/silverstripe-cms/commit/9cad8ba01b4e8ebfca229ad53a4e2853f2eb5598) ed linting (Ingo Schommer) * 2017-04-11 [092b2bd](https://github.com/silverstripe/silverstripe-admin/commit/092b2bd125973d8dd82a4cdbe6154cefa5214c58) date field in browser that doesn't support html5 date field (Saophalkun Ponlu) - * 2017-04-11 [1ca51eb57](https://github.com/silverstripe/silverstripe-framework/commit/1ca51eb57a933964e9640c02697a78c068a8c462) Ensure that mysite test boostrap configuration is loaded after core and before the database connection (Robbie Averill) + * 2017-04-11 [1ca51eb57](https://github.com/silverstripe/silverstripe-framework/commit/1ca51eb57a933964e9640c02697a78c068a8c462) Ensure that mysite test bootstrap configuration is loaded after core and before the database connection (Robbie Averill) * 2017-04-07 [023e417](https://github.com/silverstripe/silverstripe-admin/commit/023e4170990e887086b02e893356293a9388b9a8) proper visibility in error message (Nic Horstmeier) * 2017-04-07 [f2d3ed2](https://github.com/silverstripe/silverstripe-asset-admin/commit/f2d3ed202ef86d7d9be6eed08238e0d4fe2e23f4) set Editor auto focus to true (Christopher Joe) * 2017-04-06 [effcb7d](https://github.com/silverstripe/silverstripe-asset-admin/commit/effcb7d1ed408e15217ccb3ff40feb7c7742308d) Fix broken search form and localisations (Damian Mooyman) diff --git a/docs/en/04_Changelogs/alpha/4.5.0-alpha1.md b/docs/en/04_Changelogs/alpha/4.5.0-alpha1.md index 8af9045b366..cd8d7709994 100644 --- a/docs/en/04_Changelogs/alpha/4.5.0-alpha1.md +++ b/docs/en/04_Changelogs/alpha/4.5.0-alpha1.md @@ -89,7 +89,7 @@ * 2019-10-02 [7db524bd9](https://github.com/silverstripe/silverstripe-framework/commit/7db524bd9065dc1918fd812bf20e207740b57dd0) DebugViewFrendlyErrorFormatter handle of admin_email (Serge Latyntcev) * 2019-09-30 [be44178](https://github.com/silverstripe/silverstripe-admin/commit/be441785aeb79ea77bd56a5e74a668d809e92530) fixed creating multiple duplicate data object by locking out save button on submit (Makreig) * 2019-09-30 [daf995da6](https://github.com/silverstripe/silverstripe-framework/commit/daf995da6398a9eb7bcb2fbbe802d58477bd89b9) Fix syntax error in DataList docs (Loz Calver) - * 2019-09-29 [2799265](https://github.com/silverstripe/silverstripe-asset-admin/commit/2799265675ac251c4590c80258f717a08d199273) Honour AssetAdminFile insert dimentions when inserting a new image (#1015) (Maxime Rainville) + * 2019-09-29 [2799265](https://github.com/silverstripe/silverstripe-asset-admin/commit/2799265675ac251c4590c80258f717a08d199273) Honour AssetAdminFile insert dimensions when inserting a new image (#1015) (Maxime Rainville) * 2019-09-29 [f475826](https://github.com/silverstripe/silverstripe-assets/commit/f4758265ad245e3b05f8e5fcf9c87fb490de5853) Fix inlinting issue (Maxime Rainville) * 2019-09-29 [30d816e](https://github.com/silverstripe/silverstripe-assets/commit/30d816ef386f13a774b4d037620d2435d65af42f) Flush cache before every test in Sha1FileHashingServiceTest (Maxime Rainville) * 2019-09-29 [52b2b3a](https://github.com/silverstripe/silverstripe-asset-admin/commit/52b2b3afca0533e01d4fd9430484726dedec2780) Fix minor typos in the comments (Maxime Rainville) @@ -134,7 +134,7 @@ * 2019-06-17 [093c3cf](https://github.com/silverstripe/silverstripe-admin/commit/093c3cf78231435da09dfce82db6ff04550fd47e) Hide iframe while loading in preview component (Guy Marriott) * 2019-06-14 [1ee03da65](https://github.com/silverstripe/silverstripe-framework/commit/1ee03da657575436f307df5e7ffc169a415c91d5) Fix PHPUnit operation on PHP 7.4 (Sam Minnee) * 2019-06-14 [ea04c8c](https://github.com/silverstripe/silverstripe-admin/commit/ea04c8cc326e2fda5ee237ef2ff84a37c2396b60) Remove unused gzip tinemce third party lib (Maxime Rainville) - * 2019-06-14 [abce98886](https://github.com/silverstripe/silverstripe-framework/commit/abce98886cf950f75e8f1f6cd7fd5b9a41d254b6) Temporarilly allow PHP 7.4 build to fail without failing the entire build (Maxime Rainville) + * 2019-06-14 [abce98886](https://github.com/silverstripe/silverstripe-framework/commit/abce98886cf950f75e8f1f6cd7fd5b9a41d254b6) Temporarily allow PHP 7.4 build to fail without failing the entire build (Maxime Rainville) * 2019-06-13 [b3093b7a1](https://github.com/silverstripe/silverstripe-framework/commit/b3093b7a1a77dcddf88ad01fe6620fb1798e1c21) Allow state to be shared across nested GridFields (Aaron Carlino) * 2019-06-10 [654156d46](https://github.com/silverstripe/silverstripe-framework/commit/654156d46d109e1cca0198c069aa6b657b574aad) Fix bug when confirmed password is changed but not the password. (#9012) (Sam Minnée) * 2019-06-05 [acfb84e](https://github.com/silverstripe/silverstripe-admin/commit/acfb84eda3a09139728697a8e96e34991165c44e) Update modal designs to match design pattern library (Guy Marriott) @@ -153,7 +153,7 @@ * 2019-05-06 [4d21f34](https://github.com/silverstripe/silverstripe-errorpage/commit/4d21f3495e54d9fa916839003873c9e1b928e69c) Fix composer.json merge (Aaron Carlino) * 2019-04-29 [cfba4cb](https://github.com/silverstripe/silverstripe-installer/commit/cfba4cbe3602c666bd3481b9786b5b9bd5932336) Fixed core dependency to 4.x-dev (Ingo Schommer) * 2019-04-29 [f02c756](https://github.com/silverstripe/silverstripe-admin/commit/f02c75675053d8fe51cfcaef9e3eca45ef3c438f) Remove unused variable (Guy Marriott) - * 2019-04-15 [f63973f](https://github.com/silverstripe/recipe-core/commit/f63973f062757f7faa90358d411e9070cb74f277) Disable uneeded File ID Helper on new project (Maxime Rainville) + * 2019-04-15 [f63973f](https://github.com/silverstripe/recipe-core/commit/f63973f062757f7faa90358d411e9070cb74f277) Disable unneeded File ID Helper on new project (Maxime Rainville) * 2019-04-09 [91f168955](https://github.com/silverstripe/silverstripe-framework/commit/91f168955dc6f314615f25f22220032f3679a9aa) Fix reference to webconfig.php, an invalid file (Matt Peel) * 2019-02-01 [031740e](https://github.com/silverstripe/silverstripe-admin/commit/031740edcb412ff66b9436f0df6bb62cfb55b4e6) Scrolling out of auto-selected edit mode not switches back to split mode (Robbie Averill) diff --git a/docs/en/04_Changelogs/alpha/4.9.0-alpha1.md b/docs/en/04_Changelogs/alpha/4.9.0-alpha1.md index 99644aeb229..b363193b4e3 100644 --- a/docs/en/04_Changelogs/alpha/4.9.0-alpha1.md +++ b/docs/en/04_Changelogs/alpha/4.9.0-alpha1.md @@ -329,7 +329,7 @@ A full list of module versions included in CMS Recipe 4.9.0-alpha1 is provided b * 2021-08-18 [c59ef273e](https://github.com/silverstripe/silverstripe-framework/commit/c59ef273e2b2a514eea79004a1328020f335aa05) incorrect php version reference (brynwhyman) * 2021-08-17 [2838625a0](https://github.com/silverstripe/silverstripe-framework/commit/2838625a090987aa2a4877a63c204084f3cbb8c6) Add extra detail to the Image Lazy Loading doc (#10049) (Maxime Rainville) * 2021-08-15 [e78a93588](https://github.com/silverstripe/silverstripe-framework/commit/e78a93588b8e3a04f0bc3b56a4d7d8f3f9ea3c21) Add session-manager to changelog (Steve Boyd) - * 2021-08-10 [0128bbd80](https://github.com/silverstripe/silverstripe-framework/commit/0128bbd80471c8ea91aabb04c021173853a4d25b) core committer onboarding proccess (brynwhyman) + * 2021-08-10 [0128bbd80](https://github.com/silverstripe/silverstripe-framework/commit/0128bbd80471c8ea91aabb04c021173853a4d25b) core committer onboarding process (brynwhyman) * 2021-08-04 [0c998fc5c](https://github.com/silverstripe/silverstripe-framework/commit/0c998fc5ceedc0db0bf7f7f420609faae165f708) Add Michal Kleiner as core committer (Aaron Carlino) * 2021-07-17 [c8c7ee4a0](https://github.com/silverstripe/silverstripe-framework/commit/c8c7ee4a0858a1fd4be4900f184d3180a3075dd8) better docblock for TinyMCEConfig::removeButtons (Nicolaas) * 2021-06-30 [fdbd89976](https://github.com/silverstripe/silverstripe-framework/commit/fdbd89976628a150de403b8a55166c9aaa8298b2) Update SilverStripe to Silverstripe CMS (Michael Pritchard) diff --git a/docs/en/04_Changelogs/beta/4.0.0-beta1.md b/docs/en/04_Changelogs/beta/4.0.0-beta1.md index 1e162995591..1666fb96c54 100644 --- a/docs/en/04_Changelogs/beta/4.0.0-beta1.md +++ b/docs/en/04_Changelogs/beta/4.0.0-beta1.md @@ -511,7 +511,7 @@ * 2017-04-12 [8999f70](https://github.com/silverstripe/silverstripe-framework/commit/8999f70acc0fa9853c94786da8c3b5c713f8a359) ing broken search in SecurityAdmin Groups field (Sean Harvey) * 2017-04-11 [03a2a90](https://github.com/silverstripe/silverstripe-cms/commit/03a2a907cea7d857a210c1b974df8d4fe61c2153) whitespace in templates causing double arrows (Damian Mooyman) * 2017-04-11 [9cad8ba](https://github.com/silverstripe/silverstripe-cms/commit/9cad8ba01b4e8ebfca229ad53a4e2853f2eb5598) ed linting (Ingo Schommer) - * 2017-04-11 [1ca51eb](https://github.com/silverstripe/silverstripe-framework/commit/1ca51eb57a933964e9640c02697a78c068a8c462) Ensure that mysite test boostrap configuration is loaded after core and before the database connection (Robbie Averill) + * 2017-04-11 [1ca51eb](https://github.com/silverstripe/silverstripe-framework/commit/1ca51eb57a933964e9640c02697a78c068a8c462) Ensure that mysite test bootstrap configuration is loaded after core and before the database connection (Robbie Averill) * 2017-04-05 [f9f61cb](https://github.com/silverstripe/silverstripe-installer/commit/f9f61cbce286b8685ccd6f81a7d2a3c4a4478b2d) Fix cow release config (Damian Mooyman) * 2017-04-05 [8cbdfa4](https://github.com/silverstripe/silverstripe-framework/commit/8cbdfa4561036a63e8b93fa7ddbd485188b40c3c) invalid json file (Damian Mooyman) * 2017-04-05 [e12a270](https://github.com/silverstripe/silverstripe-cms/commit/e12a2709d0dc92f684f5056d20f9bc0981736cb4) syntax error in selector (Christopher Joe) @@ -722,7 +722,7 @@ * 2016-09-01 [c9d964f](https://github.com/silverstripe/silverstripe-framework/commit/c9d964ff0d6e10e2c962df6eda60766fd8093d85) HTMLEditorField image reference (Ingo Schommer) * 2016-09-01 [ecaed8c](https://github.com/silverstripe/silverstripe-framework/commit/ecaed8c08d38ff23452024055aeae8b2be031748) ed icon regression in <Breadcrumb> (Ingo Schommer) * 2016-08-30 [fa5e6bb](https://github.com/silverstripe/silverstripe-framework/commit/fa5e6bbd692ef22b406d69054e515c3b79d8fe37) ed breadcrumb icon spacing (Ingo Schommer) - * 2016-08-29 [a6f1fa3](https://github.com/silverstripe/silverstripe-installer/commit/a6f1fa3b9193fb97f100f9226407dcef5736be4b) use 1.0.x-dev for asset-admin composer contraint (Robbie Averill) + * 2016-08-29 [a6f1fa3](https://github.com/silverstripe/silverstripe-installer/commit/a6f1fa3b9193fb97f100f9226407dcef5736be4b) use 1.0.x-dev for asset-admin composer constraint (Robbie Averill) * 2016-08-28 [b509f91](https://github.com/silverstripe/silverstripe-framework/commit/b509f9199df32c01d4dd681cdc0df61ada7d0fc2) Modal response positioning (Christopher Joe) * 2016-08-26 [1b527fc](https://github.com/silverstripe/silverstripe-framework/commit/1b527fca3f59e2aa577162eb8f4547fd57971fb3) Webpack handles images & fonts. (Sam Minnee) * 2016-08-23 [b77d21c](https://github.com/silverstripe/silverstripe-framework/commit/b77d21c25a7d70eeabfed03a40cd36818d075328) pages add to campaign, improved FormActions error handling, Popover focus highlight and refactored AddToCampaignModal to FormBuilderModal (Christopher Joe) @@ -781,7 +781,7 @@ * 2016-05-23 [ad213b3](https://github.com/silverstripe/silverstripe-cms/commit/ad213b3576e7eccb38311011b2ae2e683f0faeac) Fix rollback page crash (Damian Mooyman) * 2016-05-23 [0f646ba](https://github.com/silverstripe/silverstripe-cms/commit/0f646ba375150bd334d05668517ccfdb06d687da) undefined index error (Damian Mooyman) * 2016-05-20 [90397c9](https://github.com/silverstripe/silverstripe-cms/commit/90397c945d2eec1ea07ecfee7a4adab15279dac9) fix missing install image (Damian Mooyman) - * 2016-05-12 [a61d0a2](https://github.com/silverstripe/silverstripe-framework/commit/a61d0a2f0babedd4cc8bc639e5c4890eaf0d3351) Persistant Loading... indicator when no campaigns yet in admin (Hamish Friedlander) + * 2016-05-12 [a61d0a2](https://github.com/silverstripe/silverstripe-framework/commit/a61d0a2f0babedd4cc8bc639e5c4890eaf0d3351) Persistent Loading... indicator when no campaigns yet in admin (Hamish Friedlander) * 2016-05-12 [7393995](https://github.com/silverstripe/silverstripe-cms/commit/7393995836de89509aa7643d64b322c289ff6b7a) preview in Asset Admin (Hamish Friedlander) * 2016-05-09 [1263bf8](https://github.com/silverstripe/silverstripe-cms/commit/1263bf8a04d4873037b9fee5fecf7d1a5b8c2f70) Not being able to save when viewing page settings (Hamish Friedlander) * 2016-05-09 [2af63a8](https://github.com/silverstripe/silverstripe-cms/commit/2af63a84efd1b0a91985ea877fc65447c198ea02) add_i18n_javascript calls not being updated after JS move (Hamish Friedlander) @@ -855,7 +855,7 @@ * 2016-02-26 [40723aa](https://github.com/silverstripe/silverstripe-framework/commit/40723aaa58fcee4496b25ac82ebc55eaefa3fb4d) undeclared variable in UploadField.js (David Craig) * 2016-02-24 [beba0f2](https://github.com/silverstripe/silverstripe-cms/commit/beba0f2551f368a04edc8a9dd4d7446e77778c20) Fix behat tests for asset abstraction (Damian Mooyman) * 2016-02-23 [0ee1564](https://github.com/silverstripe/silverstripe-framework/commit/0ee1564896be9a1da97d61f5141d6cffe416a7e5) Fix deprecated API usage in DataFormatter API and DataObjectTest (Damian Mooyman) - * 2016-02-19 [7580d35](https://github.com/silverstripe/silverstripe-framework/commit/7580d35be816ad73ca6d9434f7992301c000d0fa) ability to edit files immeditately after upload (scott1702) + * 2016-02-19 [7580d35](https://github.com/silverstripe/silverstripe-framework/commit/7580d35be816ad73ca6d9434f7992301c000d0fa) ability to edit files immediately after upload (scott1702) * 2016-01-25 [d031f53](https://github.com/silverstripe/silverstripe-reports/commit/d031f53e7314498c900c84923f94f66e4aa3303a) incorrect version dependency (Damian Mooyman) * 2016-01-21 [8872ed5](https://github.com/silverstripe/silverstripe-siteconfig/commit/8872ed51931efcab859c9d6f148c8dc61aa4509f) Fix broken travis yml (Damian Mooyman) * 2016-01-21 [6cebffd](https://github.com/silverstripe/silverstripe-framework/commit/6cebffd89bce5e4ed15d4fbd2ceb7680ec74894a) Fix SSViewerTest not restoring old requirements (Damian Mooyman) @@ -871,7 +871,7 @@ * 2015-10-18 [c8a0347](https://github.com/silverstripe/silverstripe-framework/commit/c8a0347b78af0e643b1fd3032d100f8e7ed55ee2) Monolog constant use (Ingo Schommer) * 2015-10-15 [27a8afe](https://github.com/silverstripe/silverstripe-framework/commit/27a8afe78bae34a4e0cbd6fb225840312dc8fa5f) Fix regressions in fulltextsearch (Damian Mooyman) * 2015-10-14 [d884c85](https://github.com/silverstripe/silverstripe-framework/commit/d884c859d189a0803974636fa6f699cbc474233a) Fix file link tracking for new asset abstraction (Damian Mooyman) - * 2015-10-06 [c13dfc2](https://github.com/silverstripe/silverstripe-framework/commit/c13dfc2fa0d84fab40d01f38441295d40d2d1df5) ing phpdoc blocks to refering to Objects to built-in types of PHP (Peter Thaleikis) + * 2015-10-06 [c13dfc2](https://github.com/silverstripe/silverstripe-framework/commit/c13dfc2fa0d84fab40d01f38441295d40d2d1df5) ing phpdoc blocks to referring to Objects to built-in types of PHP (Peter Thaleikis) * 2015-09-28 [1f632a1](https://github.com/silverstripe/silverstripe-framework/commit/1f632a10c9661d7f7eb27bd1fcf7e03081e8010e) Replace direct reference to $_REQUEST['url'] with request object getter (Damian Mooyman) * 2015-09-28 [8e3f549](https://github.com/silverstripe/silverstripe-cms/commit/8e3f549b19bd4930f2fa80a7fa6a528cdc5e4011) Fix regressions in CMS from db field changes (Damian Mooyman) * 2015-09-09 [60e75cb](https://github.com/silverstripe/silverstripe-cms/commit/60e75cbd990669dade21633a475ff845e089a1d6) travis php version back to 5.4 (Damian Mooyman) diff --git a/docs/en/04_Changelogs/beta/4.10.0-beta1.md b/docs/en/04_Changelogs/beta/4.10.0-beta1.md index 27496e50b88..403e5cc7f83 100644 --- a/docs/en/04_Changelogs/beta/4.10.0-beta1.md +++ b/docs/en/04_Changelogs/beta/4.10.0-beta1.md @@ -644,7 +644,7 @@ This release includes a number of bug fixes to improve a broad range of areas. C * silverstripe/framework (4.9.0 -> 4.10.0-beta1) * 2021-11-21 [e0197191b](https://github.com/silverstripe/silverstripe-framework/commit/e0197191b8879c7393805fdddca4c7e60591f5ad) Rename &quot;Ignore CI Configs&quot; to &quot;Ignored CI Config&quot; (Maxime Rainville) - * 2021-11-18 [7c3fddfc8](https://github.com/silverstripe/silverstripe-framework/commit/7c3fddfc8a52fbad4a28256d80b8ba9ff6b83007) Anwser Peer review feedback (Maxime Rainville) + * 2021-11-18 [7c3fddfc8](https://github.com/silverstripe/silverstripe-framework/commit/7c3fddfc8a52fbad4a28256d80b8ba9ff6b83007) Answer Peer review feedback (Maxime Rainville) * 2021-11-18 [d5b03eb5c](https://github.com/silverstripe/silverstripe-framework/commit/d5b03eb5cb432b4b5387a52c3c22225f0c20a1c9) Bump to composer/installer v2 (#10153) (Maxime Rainville) * 2021-09-13 [3a9c4002b](https://github.com/silverstripe/silverstripe-framework/commit/3a9c4002b90c5d65d2303bc2c4fe7e59c91d07fc) Apply suggestions from code review (Maxime Rainville) * 2021-09-09 [26da242e6](https://github.com/silverstripe/silverstripe-framework/commit/26da242e6b161dd609e0a85c04d501b462d89f57) Add a bit more detail (Maxime Rainville) diff --git a/docs/en/04_Changelogs/beta/4.6.0-beta1.md b/docs/en/04_Changelogs/beta/4.6.0-beta1.md index 5705ad4fd38..ad55fff3ec6 100644 --- a/docs/en/04_Changelogs/beta/4.6.0-beta1.md +++ b/docs/en/04_Changelogs/beta/4.6.0-beta1.md @@ -147,7 +147,7 @@ Read [Allowed file types](https://docs.silverstripe.org/en/4/developer_guides/fi * 2020-04-08 [e51bd421](https://github.com/silverstripe/silverstripe-cms/commit/e51bd421a6996e0a2794799c9475ef115bcf7673) InnoDB FULLTEXT compat in tests (Ingo Schommer) * 2020-04-08 [dd839ca2](https://github.com/silverstripe/silverstripe-cms/commit/dd839ca2d9b8cc56501e466da9421b11d76fa967) Remove searchEngine() test that's using API wrong (Ingo Schommer) * 2020-04-08 [052c5cbc3](https://github.com/silverstripe/silverstripe-framework/commit/052c5cbc38210476ffce7d98dc052fa09b4e5e5f) Infinite loops in TempDatabase (fixes #8902) (Ingo Schommer) - * 2020-04-05 [d6fc7fe80](https://github.com/silverstripe/silverstripe-framework/commit/d6fc7fe8040a9701a380bfa9c25497a9dc63fbe9) Fix issue with the GridField documenation - many_many_extraFields code example (tdenev) + * 2020-04-05 [d6fc7fe80](https://github.com/silverstripe/silverstripe-framework/commit/d6fc7fe8040a9701a380bfa9c25497a9dc63fbe9) Fix issue with the GridField documentation - many_many_extraFields code example (tdenev) * 2020-04-02 [9e0ed0a50](https://github.com/silverstripe/silverstripe-framework/commit/9e0ed0a50a383bd83f405d3cb8fb091708bd251d) Fix spaces around concatenation operator (Dan Hensby) * 2020-03-23 [5002f514b](https://github.com/silverstripe/silverstripe-framework/commit/5002f514b3fde8e4ef75a72c964d649f46ab31f0) Capitalisation fixes in welcome back message (#9439) (Robbie Averill) * 2020-03-23 [e5aa94c](https://github.com/silverstripe/silverstripe-admin/commit/e5aa94cfdd4fadcc87db3eee127f2f4f751ef6a7) "My profile" title in CMS is now vertical centered as other LeftAndMain screens are (Robbie Averill) diff --git a/docs/en/04_Changelogs/beta/4.7.0-beta1.md b/docs/en/04_Changelogs/beta/4.7.0-beta1.md index 23ac9ca4ac5..75cfe56cea2 100644 --- a/docs/en/04_Changelogs/beta/4.7.0-beta1.md +++ b/docs/en/04_Changelogs/beta/4.7.0-beta1.md @@ -234,14 +234,14 @@ $newFoo = Foo::create(['Title' => 'Bar', 'ID' => 123], DataObject::CREATE_HYDRAT * 2020-09-21 [60482f9](https://github.com/silverstripe/silverstripe-admin/commit/60482f99115e83121511f88b16d35a6a761b50c6) Temporary fix to use the most up-to-date version of chromedriver (#1114) (Maxime Rainville) * 2020-09-18 [8b3ef8f85](https://github.com/silverstripe/silverstripe-framework/commit/8b3ef8f85ae7a738fa2e8cfe217aca6274477117) recipe-testing is only needed for behat. (Sam Minnee) * 2020-09-16 [33b0003b](https://github.com/silverstripe/silverstripe-asset-admin/commit/33b0003b8fc65d88585c902c53d9b811a14038bf) Strip html tags from file upload error responses (Steve Boyd) - * 2020-09-15 [edbe5ad0](https://github.com/silverstripe/silverstripe-cms/commit/edbe5ad069663ce10189fb7baca2a27d82920711) Remove old boostrap 3 CSS class (Maxime Rainville) - * 2020-09-15 [acce4c4ce](https://github.com/silverstripe/silverstripe-framework/commit/acce4c4ce7cf4b42cfa4d33a115825e713d4cd78) Remove old boostrap 3 CSS class (Maxime Rainville) + * 2020-09-15 [edbe5ad0](https://github.com/silverstripe/silverstripe-cms/commit/edbe5ad069663ce10189fb7baca2a27d82920711) Remove old bootstrap 3 CSS class (Maxime Rainville) + * 2020-09-15 [acce4c4ce](https://github.com/silverstripe/silverstripe-framework/commit/acce4c4ce7cf4b42cfa4d33a115825e713d4cd78) Remove old bootstrap 3 CSS class (Maxime Rainville) * 2020-09-15 [7193602](https://github.com/silverstripe/silverstripe-admin/commit/7193602a0074061fa27ab5190bc704c0ab54c2e7) Revert vertically align form description contents (Steve Boyd) * 2020-09-11 [2143660c3](https://github.com/silverstripe/silverstripe-framework/commit/2143660c3f371883e2e870f8e953d0ccae0c568e) Add class_exists() guards to SapphireTest (Sam Minnee) * 2020-09-10 [ac6f34846](https://github.com/silverstripe/silverstripe-framework/commit/ac6f34846e013c3067721894583399024f222376) Resolve issue where TreeMultiSelectField would error loading its value (#9604) (Damian Mooyman) * 2020-09-10 [fc9bf93](https://github.com/silverstripe/silverstripe-versioned/commit/fc9bf93635db4e228cbdbbc3e38b36c93faee4cc) UI related changes moved from Versioned to Versioned Admin. (Mojmir Fendek) * 2020-09-10 [fa4908a](https://github.com/silverstripe/silverstripe-versioned-admin/commit/fa4908a0fadb297db57297f1a1f0c65167125e38) UI related changes moved from Versioned to Versioned Admin. (Mojmir Fendek) - * 2020-09-10 [8bcfa5734](https://github.com/silverstripe/silverstripe-framework/commit/8bcfa57342ecd716273e55de75b50e0ad656196e) Make PasswordEncryptor::check more resistent to timing attacks (Maxime Rainville) + * 2020-09-10 [8bcfa5734](https://github.com/silverstripe/silverstripe-framework/commit/8bcfa57342ecd716273e55de75b50e0ad656196e) Make PasswordEncryptor::check more resistant to timing attacks (Maxime Rainville) * 2020-09-10 [80d1bdf](https://github.com/silverstripe/silverstripe-installer/commit/80d1bdf621e3923b90ec7fa66391a0ee107e78be) Don't include the .cow folders in releases (Maxime Rainville) * 2020-09-10 [acdebcdba](https://github.com/silverstripe/silverstripe-framework/commit/acdebcdba7a7176f10aad345770fd88e028c4b1b) Fix unit test (Maxime Rainville) * 2020-09-10 [02827a667](https://github.com/silverstripe/silverstripe-framework/commit/02827a66700f3a1d05ffb4065d1e664da94ee49e) Problem with direct compare in SELECT statement causing incompatibility with SQL Server database (Steve Boyd) @@ -281,9 +281,9 @@ $newFoo = Foo::create(['Title' => 'Bar', 'ID' => 123], DataObject::CREATE_HYDRAT * 2020-07-14 [0d2a9da0d](https://github.com/silverstripe/silverstripe-framework/commit/0d2a9da0dd0b444025df9af4b51270d64310de11) Fix file icon URL (Aaron Carlino) * 2020-07-08 [b39f0ba](https://github.com/silverstripe/silverstripe-admin/commit/b39f0ba8f472b05532ccc9f67d86a29b30401b4f) Decouple ModelAdmin URL slug from class. (Sam Minnee) * 2020-07-06 [c32cba5](https://github.com/silverstripe/silverstripe-versioned/commit/c32cba50eb17a2ee69379a37eaaf6423cd91d746) Fix semantics of isPublished(), isArchived(), isOnDraft() for objects without draft/published stages (Sam Minnee) - * 2020-07-03 [3bf89b2d1](https://github.com/silverstripe/silverstripe-framework/commit/3bf89b2d13bf882803f5f5409284c76b41166c6c) Try Catch for embeded media (#9424) (rdigitalg) + * 2020-07-03 [3bf89b2d1](https://github.com/silverstripe/silverstripe-framework/commit/3bf89b2d13bf882803f5f5409284c76b41166c6c) Try Catch for embedded media (#9424) (rdigitalg) * 2020-07-02 [75f1936](https://github.com/silverstripe/silverstripe-login-forms/commit/75f19367d59056dada584f42142c3903249864cf) Localise login screen (#61) (Maxime Rainville) - * 2020-06-29 [d609c02](https://github.com/silverstripe/recipe-core/commit/d609c02d78309dbc376e4edcfc0580eae8a6ae3f) Revert "Disable uneeded File ID Helper on new project" (#59) (Maxime Rainville) + * 2020-06-29 [d609c02](https://github.com/silverstripe/recipe-core/commit/d609c02d78309dbc376e4edcfc0580eae8a6ae3f) Revert "Disable unneeded File ID Helper on new project" (#59) (Maxime Rainville) * 2020-06-16 [f67766b](https://github.com/silverstripe/silverstripe-admin/commit/f67766bb512910c78751c0b15f637858493064e3) Ensure graphql URL is inserted before admin (Sam Minnee) * 2020-06-12 [2e0e04f70](https://github.com/silverstripe/silverstripe-framework/commit/2e0e04f70105ccabc174b58cf022ca6ac22fd0a3) fix deprecation notices (Andrew Aitken-Fincham) * 2020-05-27 [27231bf](https://github.com/silverstripe/silverstripe-installer/commit/27231bf315ca5f592ac79e59ca84325d21923a76) Treat login-forms as a core module (Maxime Rainville) @@ -336,7 +336,7 @@ $newFoo = Foo::create(['Title' => 'Bar', 'ID' => 123], DataObject::CREATE_HYDRAT * 2020-05-27 [273f70d](https://github.com/silverstripe/silverstripe-login-forms/commit/273f70df8526ab9b4fd9075e7df80d54caddfb96) Clean up login-forms README (Maxime Rainville) * 2020-05-27 [0f5c5d14c](https://github.com/silverstripe/silverstripe-framework/commit/0f5c5d14c2f327ec94c3400bbb05d716eeced883) Show beta changelogs on doc site (#9523) (Maxime Rainville) * 2020-05-21 [e632ee3e5](https://github.com/silverstripe/silverstripe-framework/commit/e632ee3e5210abc11d4fda056987bb9b991a6c86) Update Partial Template Cache documentation (Serge Latyntcev) - * 2020-05-11 [04a45a7](https://github.com/silverstripe/silverstripe-mimevalidator/commit/04a45a771a6bc23a4cfa1b5b27d0cfcd2cc11e37) Move configration info to core documentation (Maxime Rainville) + * 2020-05-11 [04a45a7](https://github.com/silverstripe/silverstripe-mimevalidator/commit/04a45a771a6bc23a4cfa1b5b27d0cfcd2cc11e37) Move configuration info to core documentation (Maxime Rainville) * 2019-10-07 [4ee710276](https://github.com/silverstripe/silverstripe-framework/commit/4ee7102761bdb2e32f867de527ae4f305def7a45) Update breadcrumb template in theme rather than app. (Maxime Rainville) ### Dependencies diff --git a/docs/en/04_Changelogs/beta/4.8.0-beta1.md b/docs/en/04_Changelogs/beta/4.8.0-beta1.md index 7e8919d9040..4867a5ab92a 100644 --- a/docs/en/04_Changelogs/beta/4.8.0-beta1.md +++ b/docs/en/04_Changelogs/beta/4.8.0-beta1.md @@ -46,7 +46,7 @@ provide [feedback](https://github.com/silverstripe/silverstripe-graphql/issues) In order to facilitate the new module release, most GraphQL helper classes to drive the CMS UI have been marked as deprecated, and moved to `GraphQL/_legacy` folders within core modules. -The GraphQL schema under `admin/graphql` has been altered slightly to enable forwards compability, +The GraphQL schema under `admin/graphql` has been altered slightly to enable forwards compatibility, with lower-camelcase field names, and a different filter argument structure. In the unlikely case that you are relying on those classes or queries directly, consider upgrading to `silverstripe/graphql:^4`. @@ -161,8 +161,8 @@ This release includes a number of bug fixes to improve a broad range of areas. C * silverstripe/admin (1.7.3 -> 1.8.0-beta1) * 2021-02-25 [036bc9e](https://github.com/silverstripe/silverstripe-admin/commit/036bc9ea97e40d50207d06680366c572f6fb85dc) Fix merge conflict from merge-up (Steve Boyd) - * 2021-02-14 [9a4bf89](https://github.com/silverstripe/silverstripe-admin/commit/9a4bf8971864378b67dae6ad727f5218d31c1a25) Allow external link anchor fiel to work even if the user provides a hash mark (Maxime Rainville) - * 2021-01-26 [095b773](https://github.com/silverstripe/silverstripe-admin/commit/095b7737a8cfa3ff9fc250264282dad514fd7475) Clean up old life cycle methods and fix serach filter compenent state (Maxime Rainville) + * 2021-02-14 [9a4bf89](https://github.com/silverstripe/silverstripe-admin/commit/9a4bf8971864378b67dae6ad727f5218d31c1a25) Allow external link anchor field to work even if the user provides a hash mark (Maxime Rainville) + * 2021-01-26 [095b773](https://github.com/silverstripe/silverstripe-admin/commit/095b7737a8cfa3ff9fc250264282dad514fd7475) Clean up old life cycle methods and fix search filter component state (Maxime Rainville) * 2020-12-02 [bc9457b](https://github.com/silverstripe/silverstripe-admin/commit/bc9457bdedef3a566e3252403176e7cb414973ed) Fix inforrect modelConfig (Aaron Carlino) * 2020-08-28 [7594ef2](https://github.com/silverstripe/silverstripe-admin/commit/7594ef2a5cb842a0ac260a1c85f2826e3ef60030) Do not override grid state with search parameters (Maxime Rainville) diff --git a/docs/en/04_Changelogs/beta/4.9.0-beta1.md b/docs/en/04_Changelogs/beta/4.9.0-beta1.md index 9ce8229a13e..4b8b58f000c 100644 --- a/docs/en/04_Changelogs/beta/4.9.0-beta1.md +++ b/docs/en/04_Changelogs/beta/4.9.0-beta1.md @@ -205,7 +205,7 @@ The Silverstripe CMS 4.8.0 release added support for the experimental `silverstr - Upgrade to the Silverstripe CMS 4.9.0 release. - Confirm your project `composer.json` file has a `"minimum-stability": "dev"` key. -- Explicitely require `silverstripe/graphql` v4 by running `composer require silverstripe/graphql:^4` +- Explicitly require `silverstripe/graphql` v4 by running `composer require silverstripe/graphql:^4` You don't need to inline any recipes anymore. @@ -583,7 +583,7 @@ This release includes a number of bug fixes to improve a broad range of areas. C * 2021-08-18 [c59ef273e](https://github.com/silverstripe/silverstripe-framework/commit/c59ef273e2b2a514eea79004a1328020f335aa05) incorrect php version reference (brynwhyman) * 2021-08-17 [2838625a0](https://github.com/silverstripe/silverstripe-framework/commit/2838625a090987aa2a4877a63c204084f3cbb8c6) Add extra detail to the Image Lazy Loading doc (#10049) (Maxime Rainville) * 2021-08-15 [e78a93588](https://github.com/silverstripe/silverstripe-framework/commit/e78a93588b8e3a04f0bc3b56a4d7d8f3f9ea3c21) Add session-manager to changelog (Steve Boyd) - * 2021-08-10 [0128bbd80](https://github.com/silverstripe/silverstripe-framework/commit/0128bbd80471c8ea91aabb04c021173853a4d25b) core committer onboarding proccess (brynwhyman) + * 2021-08-10 [0128bbd80](https://github.com/silverstripe/silverstripe-framework/commit/0128bbd80471c8ea91aabb04c021173853a4d25b) core committer onboarding process (brynwhyman) * 2021-08-04 [0c998fc5c](https://github.com/silverstripe/silverstripe-framework/commit/0c998fc5ceedc0db0bf7f7f420609faae165f708) Add Michal Kleiner as core committer (Aaron Carlino) * 2021-07-17 [c8c7ee4a0](https://github.com/silverstripe/silverstripe-framework/commit/c8c7ee4a0858a1fd4be4900f184d3180a3075dd8) better docblock for TinyMCEConfig::removeButtons (Nicolaas) * 2021-06-30 [fdbd89976](https://github.com/silverstripe/silverstripe-framework/commit/fdbd89976628a150de403b8a55166c9aaa8298b2) Update SilverStripe to Silverstripe CMS (Michael Pritchard) diff --git a/docs/en/04_Changelogs/rc/4.0.0-rc1.md b/docs/en/04_Changelogs/rc/4.0.0-rc1.md index 901438f60d6..0b942b00586 100644 --- a/docs/en/04_Changelogs/rc/4.0.0-rc1.md +++ b/docs/en/04_Changelogs/rc/4.0.0-rc1.md @@ -718,7 +718,7 @@ * 2017-04-12 [8999f70ac](https://github.com/silverstripe/silverstripe-framework/commit/8999f70acc0fa9853c94786da8c3b5c713f8a359) ing broken search in SecurityAdmin Groups field (Sean Harvey) * 2017-04-11 [03a2a907](https://github.com/silverstripe/silverstripe-cms/commit/03a2a907cea7d857a210c1b974df8d4fe61c2153) whitespace in templates causing double arrows (Damian Mooyman) * 2017-04-11 [9cad8ba0](https://github.com/silverstripe/silverstripe-cms/commit/9cad8ba01b4e8ebfca229ad53a4e2853f2eb5598) ed linting (Ingo Schommer) - * 2017-04-11 [1ca51eb57](https://github.com/silverstripe/silverstripe-framework/commit/1ca51eb57a933964e9640c02697a78c068a8c462) Ensure that mysite test boostrap configuration is loaded after core and before the database connection (Robbie Averill) + * 2017-04-11 [1ca51eb57](https://github.com/silverstripe/silverstripe-framework/commit/1ca51eb57a933964e9640c02697a78c068a8c462) Ensure that mysite test bootstrap configuration is loaded after core and before the database connection (Robbie Averill) * 2017-04-05 [f9f61cb](https://github.com/silverstripe/silverstripe-installer/commit/f9f61cbce286b8685ccd6f81a7d2a3c4a4478b2d) Fix cow release config (Damian Mooyman) * 2017-04-05 [8cbdfa456](https://github.com/silverstripe/silverstripe-framework/commit/8cbdfa4561036a63e8b93fa7ddbd485188b40c3c) invalid json file (Damian Mooyman) * 2017-04-05 [e12a2709](https://github.com/silverstripe/silverstripe-cms/commit/e12a2709d0dc92f684f5056d20f9bc0981736cb4) syntax error in selector (Christopher Joe) @@ -931,7 +931,7 @@ * 2016-09-01 [c9d964ff0](https://github.com/silverstripe/silverstripe-framework/commit/c9d964ff0d6e10e2c962df6eda60766fd8093d85) HTMLEditorField image reference (Ingo Schommer) * 2016-09-01 [ecaed8c08](https://github.com/silverstripe/silverstripe-framework/commit/ecaed8c08d38ff23452024055aeae8b2be031748) ed icon regression in <Breadcrumb> (Ingo Schommer) * 2016-08-30 [fa5e6bbd6](https://github.com/silverstripe/silverstripe-framework/commit/fa5e6bbd692ef22b406d69054e515c3b79d8fe37) ed breadcrumb icon spacing (Ingo Schommer) - * 2016-08-29 [a6f1fa3](https://github.com/silverstripe/silverstripe-installer/commit/a6f1fa3b9193fb97f100f9226407dcef5736be4b) use 1.0.x-dev for asset-admin composer contraint (Robbie Averill) + * 2016-08-29 [a6f1fa3](https://github.com/silverstripe/silverstripe-installer/commit/a6f1fa3b9193fb97f100f9226407dcef5736be4b) use 1.0.x-dev for asset-admin composer constraint (Robbie Averill) * 2016-08-28 [b509f9199](https://github.com/silverstripe/silverstripe-framework/commit/b509f9199df32c01d4dd681cdc0df61ada7d0fc2) Modal response positioning (Christopher Joe) * 2016-08-26 [1b527fca3](https://github.com/silverstripe/silverstripe-framework/commit/1b527fca3f59e2aa577162eb8f4547fd57971fb3) Webpack handles images & fonts. (Sam Minnee) * 2016-08-23 [b77d21c25](https://github.com/silverstripe/silverstripe-framework/commit/b77d21c25a7d70eeabfed03a40cd36818d075328) pages add to campaign, improved FormActions error handling, Popover focus highlight and refactored AddToCampaignModal to FormBuilderModal (Christopher Joe) @@ -990,7 +990,7 @@ * 2016-05-23 [ad213b35](https://github.com/silverstripe/silverstripe-cms/commit/ad213b3576e7eccb38311011b2ae2e683f0faeac) Fix rollback page crash (Damian Mooyman) * 2016-05-23 [0f646ba3](https://github.com/silverstripe/silverstripe-cms/commit/0f646ba375150bd334d05668517ccfdb06d687da) undefined index error (Damian Mooyman) * 2016-05-20 [90397c94](https://github.com/silverstripe/silverstripe-cms/commit/90397c945d2eec1ea07ecfee7a4adab15279dac9) fix missing install image (Damian Mooyman) - * 2016-05-12 [a61d0a2f0](https://github.com/silverstripe/silverstripe-framework/commit/a61d0a2f0babedd4cc8bc639e5c4890eaf0d3351) Persistant Loading... indicator when no campaigns yet in admin (Hamish Friedlander) + * 2016-05-12 [a61d0a2f0](https://github.com/silverstripe/silverstripe-framework/commit/a61d0a2f0babedd4cc8bc639e5c4890eaf0d3351) Persistent Loading... indicator when no campaigns yet in admin (Hamish Friedlander) * 2016-05-12 [73939958](https://github.com/silverstripe/silverstripe-cms/commit/7393995836de89509aa7643d64b322c289ff6b7a) preview in Asset Admin (Hamish Friedlander) * 2016-05-09 [1263bf8a](https://github.com/silverstripe/silverstripe-cms/commit/1263bf8a04d4873037b9fee5fecf7d1a5b8c2f70) Not being able to save when viewing page settings (Hamish Friedlander) * 2016-05-09 [2af63a84](https://github.com/silverstripe/silverstripe-cms/commit/2af63a84efd1b0a91985ea877fc65447c198ea02) add_i18n_javascript calls not being updated after JS move (Hamish Friedlander) @@ -1064,7 +1064,7 @@ * 2016-02-26 [40723aaa5](https://github.com/silverstripe/silverstripe-framework/commit/40723aaa58fcee4496b25ac82ebc55eaefa3fb4d) undeclared variable in UploadField.js (David Craig) * 2016-02-24 [beba0f25](https://github.com/silverstripe/silverstripe-cms/commit/beba0f2551f368a04edc8a9dd4d7446e77778c20) Fix behat tests for asset abstraction (Damian Mooyman) * 2016-02-23 [0ee156489](https://github.com/silverstripe/silverstripe-framework/commit/0ee1564896be9a1da97d61f5141d6cffe416a7e5) Fix deprecated API usage in DataFormatter API and DataObjectTest (Damian Mooyman) - * 2016-02-19 [7580d35be](https://github.com/silverstripe/silverstripe-framework/commit/7580d35be816ad73ca6d9434f7992301c000d0fa) ability to edit files immeditately after upload (scott1702) + * 2016-02-19 [7580d35be](https://github.com/silverstripe/silverstripe-framework/commit/7580d35be816ad73ca6d9434f7992301c000d0fa) ability to edit files immediately after upload (scott1702) * 2016-01-25 [d031f53e](https://github.com/silverstripe/silverstripe-reports/commit/d031f53e7314498c900c84923f94f66e4aa3303a) incorrect version dependency (Damian Mooyman) * 2016-01-21 [8872ed51](https://github.com/silverstripe/silverstripe-siteconfig/commit/8872ed51931efcab859c9d6f148c8dc61aa4509f) Fix broken travis yml (Damian Mooyman) * 2016-01-21 [6cebffd89](https://github.com/silverstripe/silverstripe-framework/commit/6cebffd89bce5e4ed15d4fbd2ceb7680ec74894a) Fix SSViewerTest not restoring old requirements (Damian Mooyman) @@ -1080,7 +1080,7 @@ * 2015-10-18 [c8a0347b7](https://github.com/silverstripe/silverstripe-framework/commit/c8a0347b78af0e643b1fd3032d100f8e7ed55ee2) Monolog constant use (Ingo Schommer) * 2015-10-15 [27a8afe78](https://github.com/silverstripe/silverstripe-framework/commit/27a8afe78bae34a4e0cbd6fb225840312dc8fa5f) Fix regressions in fulltextsearch (Damian Mooyman) * 2015-10-14 [d884c859d](https://github.com/silverstripe/silverstripe-framework/commit/d884c859d189a0803974636fa6f699cbc474233a) Fix file link tracking for new asset abstraction (Damian Mooyman) - * 2015-10-06 [c13dfc2fa](https://github.com/silverstripe/silverstripe-framework/commit/c13dfc2fa0d84fab40d01f38441295d40d2d1df5) ing phpdoc blocks to refering to Objects to built-in types of PHP (Peter Thaleikis) + * 2015-10-06 [c13dfc2fa](https://github.com/silverstripe/silverstripe-framework/commit/c13dfc2fa0d84fab40d01f38441295d40d2d1df5) ing phpdoc blocks to referring to Objects to built-in types of PHP (Peter Thaleikis) * 2015-09-28 [1f632a10c](https://github.com/silverstripe/silverstripe-framework/commit/1f632a10c9661d7f7eb27bd1fcf7e03081e8010e) Replace direct reference to $_REQUEST['url'] with request object getter (Damian Mooyman) * 2015-09-28 [8e3f549b](https://github.com/silverstripe/silverstripe-cms/commit/8e3f549b19bd4930f2fa80a7fa6a528cdc5e4011) Fix regressions in CMS from db field changes (Damian Mooyman) * 2015-09-09 [60e75cbd](https://github.com/silverstripe/silverstripe-cms/commit/60e75cbd990669dade21633a475ff845e089a1d6) travis php version back to 5.4 (Damian Mooyman) diff --git a/docs/en/04_Changelogs/rc/4.0.1-rc1.md b/docs/en/04_Changelogs/rc/4.0.1-rc1.md index 88a726556f2..20f61c5cc48 100644 --- a/docs/en/04_Changelogs/rc/4.0.1-rc1.md +++ b/docs/en/04_Changelogs/rc/4.0.1-rc1.md @@ -20,7 +20,7 @@ * 2017-12-04 [8ee35f4](https://github.com/silverstripe/silverstripe-asset-admin/commit/8ee35f46cbc9ae96e7927af46ea7ca8f067e55e1) added loadComponent fix for asset-admin entwine components (Christopher Joe) * 2017-12-01 [259ae3f78]() Add ViewableData::getViewerTemplates() (Loz Calver) * 2017-11-27 [b418616](https://github.com/silverstripe/silverstripe-admin/commit/b4186162769cee0c4fe7ab2df50781241b4e17ad) Use recipes for test configuration (Damian Mooyman) - * 2017-11-27 [33a39666b]() Promote portugese (portugal) as primary locale (Damian Mooyman) + * 2017-11-27 [33a39666b]() Promote portuguese (portugal) as primary locale (Damian Mooyman) * 2017-11-20 [3d5f4b3](https://github.com/silverstripe/silverstripe-assets/commit/3d5f4b38952d3b4d9fbf3a53767a942065490a0d) Hide Image_Backend construction behind image manipulations to improve performance (Damian Mooyman) * 2017-11-20 [dea77c7](https://github.com/silverstripe/silverstripe-assets/commit/dea77c7792f9ee92f6c2ac600978c16cf7bf222c) Disable force_resample by default (Damian Mooyman) * 2017-11-20 [0a37ff3](https://github.com/silverstripe/silverstripe-asset-admin/commit/0a37ff30c0d747e89dbcbd1a2a42411392aeb118) Don't request unused width / height from graphql (Damian Mooyman) diff --git a/docs/en/04_Changelogs/rc/4.3.0-rc1.md b/docs/en/04_Changelogs/rc/4.3.0-rc1.md index fe242d44aef..545f55db42d 100644 --- a/docs/en/04_Changelogs/rc/4.3.0-rc1.md +++ b/docs/en/04_Changelogs/rc/4.3.0-rc1.md @@ -223,7 +223,7 @@ * 2018-08-20 [dbab69669](https://github.com/silverstripe/silverstripe-framework/commit/dbab6966908f0a293ee6d469cec6b4650dc5a0f1) Message when changing password with invalid token now contains correct links to login (Robbie Averill) * 2018-08-20 [9da7f99](https://github.com/silverstripe/silverstripe-versioned/commit/9da7f991f33ac16070b2e47b764b216a87f96622) Draft content requiring login message now correctly renders HTML link (Robbie Averill) * 2018-08-17 [160d595e2](https://github.com/silverstripe/silverstripe-framework/commit/160d595e226edcbaa64a47a0be74193a8b8058cc) fix trailing whitespace (maks) - * 2018-08-17 [16217f365](https://github.com/silverstripe/silverstripe-framework/commit/16217f3655c28ddcf6a721bca82d45d65b91e3ed) fix accidentaly deleted comma (maks) + * 2018-08-17 [16217f365](https://github.com/silverstripe/silverstripe-framework/commit/16217f3655c28ddcf6a721bca82d45d65b91e3ed) fix accidentally deleted comma (maks) * 2018-08-17 [c361b09](https://github.com/silverstripe/silverstripe-admin/commit/c361b091b1640c25f1d23914489212fce1e29377) overflow of chosen dropdowns when inactive (Scott Hutchinson) * 2018-08-16 [81e9c0c](https://github.com/silverstripe/silverstripe-versioned-admin/commit/81e9c0ce3bfad85a9e78d18b4c0d3fc4a245eab2) When exiting compare mode, the version shown is the last selected version to compare from (Robbie Averill) * 2018-08-16 [61c046c](https://github.com/silverstripe/silverstripe-versioned/commit/61c046c9cd6ce97456b6123a05438c7cd05d07cc) If archive's possible switch GridField delete button with archive (Luke Edwards) diff --git a/docs/en/04_Changelogs/rc/4.4.0-rc1.md b/docs/en/04_Changelogs/rc/4.4.0-rc1.md index 515685c96ba..51f646db912 100644 --- a/docs/en/04_Changelogs/rc/4.4.0-rc1.md +++ b/docs/en/04_Changelogs/rc/4.4.0-rc1.md @@ -274,7 +274,7 @@ for this file and redirect to it. * 2019-02-22 [12512e84](https://github.com/silverstripe/silverstripe-cms/commit/12512e84b1765f144247d66e8d96b7d8f44e6015) BrokenLinksReport now uses injector for fields, uses short array syntax and single quotes (Robbie Averill) * 2019-02-03 [8267623](https://github.com/silverstripe/silverstripe-admin/commit/8267623bc5044e47026d7716e859d2208b0e651e) Add getter for ModelAdmin::$modelClass (jcarter) * 2019-02-01 [bbace74](https://github.com/silverstripe/silverstripe-campaign-admin/commit/bbace7455dc0ea4c21ee5128b0cf185580c05b58) Add to Campaign button in SiteTree now lives in campaign-admin (Robbie Averill) - * 2019-01-29 [c4bf06f60](https://github.com/silverstripe/silverstripe-framework/commit/c4bf06f6008e4619fb88075e6dc779d7acf595fd) Add new execmetric debug URL parameter to print out exection time and peak memory usage (Maxime Rainville) + * 2019-01-29 [c4bf06f60](https://github.com/silverstripe/silverstripe-framework/commit/c4bf06f6008e4619fb88075e6dc779d7acf595fd) Add new execmetric debug URL parameter to print out execution time and peak memory usage (Maxime Rainville) * 2019-01-23 [13b8475](https://github.com/silverstripe/silverstripe-asset-admin/commit/13b847501f117a6286cf079550f7c0031c4edf14) add a memory limit to the ImageThumbnailHelper (Maxime Rainville) * 2019-01-16 [6689db1b](https://github.com/silverstripe/silverstripe-cms/commit/6689db1ba983a91f7fb1b50644b84513f0381bef) Convert drag handle and dropdown caret to use font-icons in site tree (Sacha Judd) * 2019-01-16 [e665820](https://github.com/silverstripe/silverstripe-admin/commit/e66582031e9b8c962beb8b1760324dd7b5588567) Convert drag handle and dropdown caret to use font-icons in site tree (Sacha Judd) @@ -365,7 +365,7 @@ for this file and redirect to it. * 2019-04-05 [594af7713](https://github.com/silverstripe/silverstripe-framework/commit/594af7713487da0fc200d6df8d9c706c26e3c767) prevent unnecessary field alterations for enums with empty defaults (Loz Calver) * 2019-04-05 [1cfc4c7](https://github.com/silverstripe/silverstripe-assets/commit/1cfc4c73686a14c36c619a236cf63db44beb3c8d) Still fixing unit tests (Maxime Rainville) * 2019-04-05 [f0b61bd](https://github.com/silverstripe/silverstripe-assets/commit/f0b61bd29a7c1c22d2ce30f480b7478e3e4fe61e) Hard fail when trying to build a Hash file ID without prvoding a hash (Maxime Rainville) - * 2019-04-05 [4cdaae9](https://github.com/silverstripe/silverstripe-assets/commit/4cdaae93b2f5852764d9ec0da67736f0f59c43c8) Explicitely set hash when returning variant parsed ID (Maxime Rainville) + * 2019-04-05 [4cdaae9](https://github.com/silverstripe/silverstripe-assets/commit/4cdaae93b2f5852764d9ec0da67736f0f59c43c8) Explicitly set hash when returning variant parsed ID (Maxime Rainville) * 2019-04-04 [759968bbe](https://github.com/silverstripe/silverstripe-framework/commit/759968bbe2f8e3a4087b2f08622abc4cc70f2867) Fix Undefined variable: result when catch Exception (Ian Patel) * 2019-04-04 [a3c61e5](https://github.com/silverstripe/silverstripe-admin/commit/a3c61e546f77e78fdefd3e678b0dbe0ca52e933b) Long site names now display correctly in CMS menu with equal margins and alignment (Robbie Averill) * 2019-04-04 [b542585](https://github.com/silverstripe/silverstripe-assets/commit/b5425850b3c048bdeda66821ad9c889ad7c0d767) Convert more of FlyAssetStore to use new format (Maxime Rainville) @@ -374,7 +374,7 @@ for this file and redirect to it. * 2019-04-04 [a17e1de](https://github.com/silverstripe/silverstripe-admin/commit/a17e1deee08a4fc73470dfc1ac9083b7d019fbc8) Show RightTitle on CheckboxField (Sam Minnee) * 2019-04-04 [8a098d637](https://github.com/silverstripe/silverstripe-framework/commit/8a098d637fd67ba20e98ec76d51195f74e8eb131) Show RightTitle on CheckboxField (Sam Minnee) * 2019-04-03 [c767d81](https://github.com/silverstripe/silverstripe-assets/commit/c767d813af591e0f2bf99df0ff6d5d312edb1ab9) Adjust test to work with new asset structure (Maxime Rainville) - * 2019-04-03 [fbf385a](https://github.com/silverstripe/silverstripe-assets/commit/fbf385afcbb95f1d3c6fa2399d7d6e76c7daaa52) Adjust writting logic to work with file resolution strategies (Maxime Rainville) + * 2019-04-03 [fbf385a](https://github.com/silverstripe/silverstripe-assets/commit/fbf385afcbb95f1d3c6fa2399d7d6e76c7daaa52) Adjust writing logic to work with file resolution strategies (Maxime Rainville) * 2019-04-03 [ad828a4](https://github.com/silverstripe/silverstripe-assets/commit/ad828a458430f982ae8057b7e967d66073400169) Validate hash when looking for variant (Maxime Rainville) * 2019-03-29 [c84ad4278](https://github.com/silverstripe/silverstripe-framework/commit/c84ad4278f924679ba8c0d258c806ddd610c6bc5) Update installer to create the assets folder if its missing (Maxime Rainville) * 2019-03-28 [2b386e6](https://github.com/silverstripe/silverstripe-assets/commit/2b386e6e34aaeccd714b8f0f3f2c7de1b7f71b27) Fix the exist and delete logic when working (Maxime Rainville) diff --git a/docs/en/04_Changelogs/rc/4.5.0-rc1.md b/docs/en/04_Changelogs/rc/4.5.0-rc1.md index 6c7fc8b07e9..e4832cbf866 100644 --- a/docs/en/04_Changelogs/rc/4.5.0-rc1.md +++ b/docs/en/04_Changelogs/rc/4.5.0-rc1.md @@ -93,7 +93,7 @@ * 2019-10-02 [7db524bd9](https://github.com/silverstripe/silverstripe-framework/commit/7db524bd9065dc1918fd812bf20e207740b57dd0) DebugViewFrendlyErrorFormatter handle of admin_email (Serge Latyntcev) * 2019-09-30 [be44178](https://github.com/silverstripe/silverstripe-admin/commit/be441785aeb79ea77bd56a5e74a668d809e92530) fixed creating multiple duplicate data object by locking out save button on submit (Makreig) * 2019-09-30 [daf995da6](https://github.com/silverstripe/silverstripe-framework/commit/daf995da6398a9eb7bcb2fbbe802d58477bd89b9) Fix syntax error in DataList docs (Loz Calver) - * 2019-09-29 [2799265](https://github.com/silverstripe/silverstripe-asset-admin/commit/2799265675ac251c4590c80258f717a08d199273) Honour AssetAdminFile insert dimentions when inserting a new image (#1015) (Maxime Rainville) + * 2019-09-29 [2799265](https://github.com/silverstripe/silverstripe-asset-admin/commit/2799265675ac251c4590c80258f717a08d199273) Honour AssetAdminFile insert dimensions when inserting a new image (#1015) (Maxime Rainville) * 2019-09-29 [f475826](https://github.com/silverstripe/silverstripe-assets/commit/f4758265ad245e3b05f8e5fcf9c87fb490de5853) Fix inlinting issue (Maxime Rainville) * 2019-09-29 [30d816e](https://github.com/silverstripe/silverstripe-assets/commit/30d816ef386f13a774b4d037620d2435d65af42f) Flush cache before every test in Sha1FileHashingServiceTest (Maxime Rainville) * 2019-09-29 [52b2b3a](https://github.com/silverstripe/silverstripe-asset-admin/commit/52b2b3afca0533e01d4fd9430484726dedec2780) Fix minor typos in the comments (Maxime Rainville) @@ -138,7 +138,7 @@ * 2019-06-17 [093c3cf](https://github.com/silverstripe/silverstripe-admin/commit/093c3cf78231435da09dfce82db6ff04550fd47e) Hide iframe while loading in preview component (Guy Marriott) * 2019-06-14 [1ee03da65](https://github.com/silverstripe/silverstripe-framework/commit/1ee03da657575436f307df5e7ffc169a415c91d5) Fix PHPUnit operation on PHP 7.4 (Sam Minnee) * 2019-06-14 [ea04c8c](https://github.com/silverstripe/silverstripe-admin/commit/ea04c8cc326e2fda5ee237ef2ff84a37c2396b60) Remove unused gzip tinemce third party lib (Maxime Rainville) - * 2019-06-14 [abce98886](https://github.com/silverstripe/silverstripe-framework/commit/abce98886cf950f75e8f1f6cd7fd5b9a41d254b6) Temporarilly allow PHP 7.4 build to fail without failing the entire build (Maxime Rainville) + * 2019-06-14 [abce98886](https://github.com/silverstripe/silverstripe-framework/commit/abce98886cf950f75e8f1f6cd7fd5b9a41d254b6) Temporarily allow PHP 7.4 build to fail without failing the entire build (Maxime Rainville) * 2019-06-13 [b3093b7a1](https://github.com/silverstripe/silverstripe-framework/commit/b3093b7a1a77dcddf88ad01fe6620fb1798e1c21) Allow state to be shared across nested GridFields (Aaron Carlino) * 2019-06-10 [654156d46](https://github.com/silverstripe/silverstripe-framework/commit/654156d46d109e1cca0198c069aa6b657b574aad) Fix bug when confirmed password is changed but not the password. (#9012) (Sam Minnée) * 2019-06-05 [acfb84e](https://github.com/silverstripe/silverstripe-admin/commit/acfb84eda3a09139728697a8e96e34991165c44e) Update modal designs to match design pattern library (Guy Marriott) @@ -157,7 +157,7 @@ * 2019-05-06 [4d21f34](https://github.com/silverstripe/silverstripe-errorpage/commit/4d21f3495e54d9fa916839003873c9e1b928e69c) Fix composer.json merge (Aaron Carlino) * 2019-04-29 [cfba4cb](https://github.com/silverstripe/silverstripe-installer/commit/cfba4cbe3602c666bd3481b9786b5b9bd5932336) Fixed core dependency to 4.x-dev (Ingo Schommer) * 2019-04-29 [f02c756](https://github.com/silverstripe/silverstripe-admin/commit/f02c75675053d8fe51cfcaef9e3eca45ef3c438f) Remove unused variable (Guy Marriott) - * 2019-04-15 [f63973f](https://github.com/silverstripe/recipe-core/commit/f63973f062757f7faa90358d411e9070cb74f277) Disable uneeded File ID Helper on new project (Maxime Rainville) + * 2019-04-15 [f63973f](https://github.com/silverstripe/recipe-core/commit/f63973f062757f7faa90358d411e9070cb74f277) Disable unneeded File ID Helper on new project (Maxime Rainville) * 2019-04-09 [91f168955](https://github.com/silverstripe/silverstripe-framework/commit/91f168955dc6f314615f25f22220032f3679a9aa) Fix reference to webconfig.php, an invalid file (Matt Peel) * 2019-02-01 [031740e](https://github.com/silverstripe/silverstripe-admin/commit/031740edcb412ff66b9436f0df6bb62cfb55b4e6) Scrolling out of auto-selected edit mode not switches back to split mode (Robbie Averill) diff --git a/docs/en/04_Changelogs/rc/4.6.0-rc1.md b/docs/en/04_Changelogs/rc/4.6.0-rc1.md index 3aea8a52b61..ea38fa3775f 100644 --- a/docs/en/04_Changelogs/rc/4.6.0-rc1.md +++ b/docs/en/04_Changelogs/rc/4.6.0-rc1.md @@ -161,7 +161,7 @@ Read [Allowed file types](Developer_Guides/Files/Allowed_file_types) in the Silv * 2020-04-08 [e51bd421](https://github.com/silverstripe/silverstripe-cms/commit/e51bd421a6996e0a2794799c9475ef115bcf7673) InnoDB FULLTEXT compat in tests (Ingo Schommer) * 2020-04-08 [dd839ca2](https://github.com/silverstripe/silverstripe-cms/commit/dd839ca2d9b8cc56501e466da9421b11d76fa967) Remove searchEngine() test that's using API wrong (Ingo Schommer) * 2020-04-08 [052c5cbc3](https://github.com/silverstripe/silverstripe-framework/commit/052c5cbc38210476ffce7d98dc052fa09b4e5e5f) Infinite loops in TempDatabase (fixes #8902) (Ingo Schommer) - * 2020-04-05 [d6fc7fe80](https://github.com/silverstripe/silverstripe-framework/commit/d6fc7fe8040a9701a380bfa9c25497a9dc63fbe9) Fix issue with the GridField documenation - many_many_extraFields code example (tdenev) + * 2020-04-05 [d6fc7fe80](https://github.com/silverstripe/silverstripe-framework/commit/d6fc7fe8040a9701a380bfa9c25497a9dc63fbe9) Fix issue with the GridField documentation - many_many_extraFields code example (tdenev) * 2020-04-02 [9e0ed0a50](https://github.com/silverstripe/silverstripe-framework/commit/9e0ed0a50a383bd83f405d3cb8fb091708bd251d) Fix spaces around concatenation operator (Dan Hensby) * 2020-03-23 [5002f514b](https://github.com/silverstripe/silverstripe-framework/commit/5002f514b3fde8e4ef75a72c964d649f46ab31f0) Capitalisation fixes in welcome back message (#9439) (Robbie Averill) * 2020-03-23 [e5aa94c](https://github.com/silverstripe/silverstripe-admin/commit/e5aa94cfdd4fadcc87db3eee127f2f4f751ef6a7) "My profile" title in CMS is now vertical centered as other LeftAndMain screens are (Robbie Averill) diff --git a/docs/en/04_Changelogs/rc/4.7.0-rc1.md b/docs/en/04_Changelogs/rc/4.7.0-rc1.md index 850efa40584..5b78a20c5e7 100644 --- a/docs/en/04_Changelogs/rc/4.7.0-rc1.md +++ b/docs/en/04_Changelogs/rc/4.7.0-rc1.md @@ -240,7 +240,7 @@ support for hydration. * 2020-05-27 [27231bf](https://github.com/silverstripe/silverstripe-installer/commit/27231bf315ca5f592ac79e59ca84325d21923a76) Treat login-forms as a core module (Maxime Rainville) * silverstripe/recipe-core (4.6.1 -> 4.7.0-rc1) - * 2020-06-29 [d609c02](https://github.com/silverstripe/recipe-core/commit/d609c02d78309dbc376e4edcfc0580eae8a6ae3f) Revert &quot;Disable uneeded File ID Helper on new project&quot; (#59) (Maxime Rainville) + * 2020-06-29 [d609c02](https://github.com/silverstripe/recipe-core/commit/d609c02d78309dbc376e4edcfc0580eae8a6ae3f) Revert &quot;Disable unneeded File ID Helper on new project&quot; (#59) (Maxime Rainville) * silverstripe/assets (1.6.1 -> 1.7.0-rc1) * 2020-10-07 [635d7a7](https://github.com/silverstripe/silverstripe-assets/commit/635d7a7f1e482392d0e561d6c96dde0b8c19dbbf) Refactor Prophecy tests to PHPUnit Mock Objects (Garion Herman) @@ -259,10 +259,10 @@ support for hydration. * 2020-10-06 [198b25c90](https://github.com/silverstripe/silverstripe-framework/commit/198b25c9002160596a47357fd79fff2c55fdd888) Hardcode PasswordValidator config in VersionedMemberAuthenticatorTest (Garion Herman) * 2020-09-30 [8ad4c4e02](https://github.com/silverstripe/silverstripe-framework/commit/8ad4c4e02484b532724d39a75c83f36372cc74b8) Fix namespace parsing under PHP 8, tweak readability of parser (Garion Herman) * 2020-09-18 [8b3ef8f85](https://github.com/silverstripe/silverstripe-framework/commit/8b3ef8f85ae7a738fa2e8cfe217aca6274477117) recipe-testing is only needed for behat. (Sam Minnee) - * 2020-09-15 [acce4c4ce](https://github.com/silverstripe/silverstripe-framework/commit/acce4c4ce7cf4b42cfa4d33a115825e713d4cd78) Remove old boostrap 3 CSS class (Maxime Rainville) + * 2020-09-15 [acce4c4ce](https://github.com/silverstripe/silverstripe-framework/commit/acce4c4ce7cf4b42cfa4d33a115825e713d4cd78) Remove old bootstrap 3 CSS class (Maxime Rainville) * 2020-09-11 [2143660c3](https://github.com/silverstripe/silverstripe-framework/commit/2143660c3f371883e2e870f8e953d0ccae0c568e) Add class_exists() guards to SapphireTest (Sam Minnee) * 2020-09-10 [ac6f34846](https://github.com/silverstripe/silverstripe-framework/commit/ac6f34846e013c3067721894583399024f222376) Resolve issue where TreeMultiSelectField would error loading its value (#9604) (Damian Mooyman) - * 2020-09-10 [8bcfa5734](https://github.com/silverstripe/silverstripe-framework/commit/8bcfa57342ecd716273e55de75b50e0ad656196e) Make PasswordEncryptor::check more resistent to timing attacks (Maxime Rainville) + * 2020-09-10 [8bcfa5734](https://github.com/silverstripe/silverstripe-framework/commit/8bcfa57342ecd716273e55de75b50e0ad656196e) Make PasswordEncryptor::check more resistant to timing attacks (Maxime Rainville) * 2020-09-10 [acdebcdba](https://github.com/silverstripe/silverstripe-framework/commit/acdebcdba7a7176f10aad345770fd88e028c4b1b) Fix unit test (Maxime Rainville) * 2020-09-10 [02827a667](https://github.com/silverstripe/silverstripe-framework/commit/02827a66700f3a1d05ffb4065d1e664da94ee49e) Problem with direct compare in SELECT statement causing incompatibility with SQL Server database (Steve Boyd) * 2020-09-09 [27c1c7291](https://github.com/silverstripe/silverstripe-framework/commit/27c1c72912b04b8c64cd8418c6bfcb0c3e65c990) ModuleManifest::getModuleByPath fix to ensure right module is returned (#9569) (Nicolaas) @@ -286,7 +286,7 @@ support for hydration. * 2020-08-06 [0ed40e9b0](https://github.com/silverstripe/silverstripe-framework/commit/0ed40e9b0effc54fc56075683f7b8c128ca48d78) only use HTTPS link on the default controller template (Maxime Rainville) * 2020-07-14 [f13c928b1](https://github.com/silverstripe/silverstripe-framework/commit/f13c928b14f0ded74db91f3d421095a696e7333e) Fix _images pathing (Aaron Carlino) * 2020-07-14 [0d2a9da0d](https://github.com/silverstripe/silverstripe-framework/commit/0d2a9da0dd0b444025df9af4b51270d64310de11) Fix file icon URL (Aaron Carlino) - * 2020-07-03 [3bf89b2d1](https://github.com/silverstripe/silverstripe-framework/commit/3bf89b2d13bf882803f5f5409284c76b41166c6c) Try Catch for embeded media (#9424) (rdigitalg) + * 2020-07-03 [3bf89b2d1](https://github.com/silverstripe/silverstripe-framework/commit/3bf89b2d13bf882803f5f5409284c76b41166c6c) Try Catch for embedded media (#9424) (rdigitalg) * 2020-06-12 [2e0e04f70](https://github.com/silverstripe/silverstripe-framework/commit/2e0e04f70105ccabc174b58cf022ca6ac22fd0a3) fix deprecation notices (Andrew Aitken-Fincham) * 2019-08-26 [01d3b4fd9](https://github.com/silverstripe/silverstripe-framework/commit/01d3b4fd96cb9e6e5b2fa52a7de6067d90326dc4) Set many-many-through joinRecord on newly added records. (Sam Minnee) * 2019-04-26 [3575070b9](https://github.com/silverstripe/silverstripe-framework/commit/3575070b9d44472555606a4fbabfb5d011b69c29) Removing selected column detail only if having is empty (MySQL &quot;feature&quot;) (Guy Marriott) @@ -340,7 +340,7 @@ support for hydration. * 2020-10-15 [aaf4fb4d](https://github.com/silverstripe/silverstripe-cms/commit/aaf4fb4d7aeaee0760bd3d713d12b3fbea3a0d69) Remove broken RESOURCES_DIR test (Maxime Rainville) * 2020-10-12 [73460f9e](https://github.com/silverstripe/silverstripe-cms/commit/73460f9ee0014acf0817e737197de7df899ecf3c) remove old syntax from meta tag label (brynwhyman) * 2020-10-05 [0fcda80f](https://github.com/silverstripe/silverstripe-cms/commit/0fcda80f028c036f0c8be2b2e6954b3857727b32) URL segment filter correction for CMS page search. (Mojmir Fendek) - * 2020-09-15 [edbe5ad0](https://github.com/silverstripe/silverstripe-cms/commit/edbe5ad069663ce10189fb7baca2a27d82920711) Remove old boostrap 3 CSS class (Maxime Rainville) + * 2020-09-15 [edbe5ad0](https://github.com/silverstripe/silverstripe-cms/commit/edbe5ad069663ce10189fb7baca2a27d82920711) Remove old bootstrap 3 CSS class (Maxime Rainville) * 2020-08-31 [39b8d146](https://github.com/silverstripe/silverstripe-cms/commit/39b8d14634d18ce545c34324251d70884d0855b9) Unpublish permission decoupled from publish permission. (Mojmir Fendek) * 2020-08-25 [c5a96a2a](https://github.com/silverstripe/silverstripe-cms/commit/c5a96a2a876689d51a662677885b72c249fc2086) Flush embed shortcode provider cache on SiteTree write (Steve Boyd) * 2020-08-06 [31fa2624](https://github.com/silverstripe/silverstripe-cms/commit/31fa262475fcfbfedcdbea0bbe292b0fe319c0ec) Honour URL suffix on URL Segment field (Maxime Rainville) @@ -481,7 +481,7 @@ support for hydration. * silverstripe/mimevalidator (2.0.0 -> 2.1.0-rc1) * 2020-06-29 [4782e8e](https://github.com/silverstripe/silverstripe-mimevalidator/commit/4782e8e0728a32ea7fa63f1400051c511987b72e) Detail that mimevalidator is now a part of core (#40) (Serge Latyntsev) - * 2020-05-11 [04a45a7](https://github.com/silverstripe/silverstripe-mimevalidator/commit/04a45a771a6bc23a4cfa1b5b27d0cfcd2cc11e37) Move configration info to core documentation (Maxime Rainville) + * 2020-05-11 [04a45a7](https://github.com/silverstripe/silverstripe-mimevalidator/commit/04a45a771a6bc23a4cfa1b5b27d0cfcd2cc11e37) Move configuration info to core documentation (Maxime Rainville) * silverstripe/login-forms (4.1.2 -> 4.3.0-rc1) * 2020-05-27 [273f70d](https://github.com/silverstripe/silverstripe-login-forms/commit/273f70df8526ab9b4fd9075e7df80d54caddfb96) Clean up login-forms README (Maxime Rainville) @@ -604,7 +604,7 @@ support for hydration. * 2020-07-13 [8bb8f5e](https://github.com/silverstripe/silverstripe-login-forms/commit/8bb8f5e8f76fcc86b2e70f8cf906df2ffe1ebb49) Minor template fixes (3Dgoo) * 2020-06-16 [ee9af65](https://github.com/silverstripe/silverstripe-login-forms/commit/ee9af65f1269b3788299fb2e1eefe766a400ee77) Update translations (Maxime Rainville) * 2020-06-15 [8477674](https://github.com/silverstripe/silverstripe-login-forms/commit/84776747517a98db0962f745c654f69198dd27e2) Update for 4.2 (#59) (Steve Boyd) - * 2019-11-26 [46b7451](https://github.com/silverstripe/silverstripe-login-forms/commit/46b74513fc0b33f53036b332253d5a6689089b8c) Removed redundent CSS (James Cocker) + * 2019-11-26 [46b7451](https://github.com/silverstripe/silverstripe-login-forms/commit/46b74513fc0b33f53036b332253d5a6689089b8c) Removed redundant CSS (James Cocker) * 2019-11-22 [dd3ed10](https://github.com/silverstripe/silverstripe-login-forms/commit/dd3ed107730bf1caae899e3d32c2dc473919b99d) Resolve SVG IE11 logo scaling issue (James Cocker) * 2019-11-22 [42c37b0](https://github.com/silverstripe/silverstripe-login-forms/commit/42c37b013987bbb08f6f6726889c588e31068d9f) Brand logo CSS improvements (James Cocker) diff --git a/docs/en/04_Changelogs/rc/4.8.0-rc1.md b/docs/en/04_Changelogs/rc/4.8.0-rc1.md index da8abf1ccca..6de71287723 100644 --- a/docs/en/04_Changelogs/rc/4.8.0-rc1.md +++ b/docs/en/04_Changelogs/rc/4.8.0-rc1.md @@ -168,8 +168,8 @@ This release includes a number of bug fixes to improve a broad range of areas. C * silverstripe/admin (1.7.3 -> 1.8.0-rc1) * 2021-05-11 [4793b9f](https://github.com/silverstripe/silverstripe-admin/commit/4793b9fc054521dfe386a391ce540e3d611cb323) Fix TreeDropDownField no longer displaying dropdown options (#1196) (Andre Kiste) * 2021-02-25 [036bc9e](https://github.com/silverstripe/silverstripe-admin/commit/036bc9ea97e40d50207d06680366c572f6fb85dc) Fix merge conflict from merge-up (Steve Boyd) - * 2021-02-14 [9a4bf89](https://github.com/silverstripe/silverstripe-admin/commit/9a4bf8971864378b67dae6ad727f5218d31c1a25) Allow external link anchor fiel to work even if the user provides a hash mark (Maxime Rainville) - * 2021-01-26 [095b773](https://github.com/silverstripe/silverstripe-admin/commit/095b7737a8cfa3ff9fc250264282dad514fd7475) Clean up old life cycle methods and fix serach filter compenent state (Maxime Rainville) + * 2021-02-14 [9a4bf89](https://github.com/silverstripe/silverstripe-admin/commit/9a4bf8971864378b67dae6ad727f5218d31c1a25) Allow external link anchor field to work even if the user provides a hash mark (Maxime Rainville) + * 2021-01-26 [095b773](https://github.com/silverstripe/silverstripe-admin/commit/095b7737a8cfa3ff9fc250264282dad514fd7475) Clean up old life cycle methods and fix search filter component state (Maxime Rainville) * 2020-12-02 [bc9457b](https://github.com/silverstripe/silverstripe-admin/commit/bc9457bdedef3a566e3252403176e7cb414973ed) Fix inforrect modelConfig (Aaron Carlino) * 2020-10-22 [397fa06](https://github.com/silverstripe/silverstripe-admin/commit/397fa06894d685ac72757e7d83c17793c1ddf876) TreeDropdownField wouldn&#039;t render children when using TreeBaseID (fixes #954) (Loz Calver) * 2020-08-28 [7594ef2](https://github.com/silverstripe/silverstripe-admin/commit/7594ef2a5cb842a0ac260a1c85f2826e3ef60030) Do not override grid state with search parameters (Maxime Rainville) diff --git a/docs/en/04_Changelogs/rc/4.9.0-rc1.md b/docs/en/04_Changelogs/rc/4.9.0-rc1.md index 6d5f3f84d7b..e7391396b4c 100644 --- a/docs/en/04_Changelogs/rc/4.9.0-rc1.md +++ b/docs/en/04_Changelogs/rc/4.9.0-rc1.md @@ -195,7 +195,7 @@ The Silverstripe CMS 4.8.0 release added support for the experimental `silverstr - Upgrade to the Silverstripe CMS 4.9.0 release. - Confirm your project `composer.json` file has a `"minimum-stability": "dev"` key. -- Explicitely require `silverstripe/graphql` v4 by running `composer require silverstripe/graphql:^4` +- Explicitly require `silverstripe/graphql` v4 by running `composer require silverstripe/graphql:^4` You don't need to inline any recipes anymore. @@ -589,7 +589,7 @@ This release includes a number of bug fixes to improve a broad range of areas. C * 2021-08-18 [c59ef273e](https://github.com/silverstripe/silverstripe-framework/commit/c59ef273e2b2a514eea79004a1328020f335aa05) incorrect php version reference (brynwhyman) * 2021-08-17 [2838625a0](https://github.com/silverstripe/silverstripe-framework/commit/2838625a090987aa2a4877a63c204084f3cbb8c6) Add extra detail to the Image Lazy Loading doc (#10049) (Maxime Rainville) * 2021-08-15 [e78a93588](https://github.com/silverstripe/silverstripe-framework/commit/e78a93588b8e3a04f0bc3b56a4d7d8f3f9ea3c21) Add session-manager to changelog (Steve Boyd) - * 2021-08-10 [0128bbd80](https://github.com/silverstripe/silverstripe-framework/commit/0128bbd80471c8ea91aabb04c021173853a4d25b) core committer onboarding proccess (brynwhyman) + * 2021-08-10 [0128bbd80](https://github.com/silverstripe/silverstripe-framework/commit/0128bbd80471c8ea91aabb04c021173853a4d25b) core committer onboarding process (brynwhyman) * 2021-08-04 [0c998fc5c](https://github.com/silverstripe/silverstripe-framework/commit/0c998fc5ceedc0db0bf7f7f420609faae165f708) Add Michal Kleiner as core committer (Aaron Carlino) * 2021-07-17 [c8c7ee4a0](https://github.com/silverstripe/silverstripe-framework/commit/c8c7ee4a0858a1fd4be4900f184d3180a3075dd8) better docblock for TinyMCEConfig::removeButtons (Nicolaas) * 2021-06-30 [fdbd89976](https://github.com/silverstripe/silverstripe-framework/commit/fdbd89976628a150de403b8a55166c9aaa8298b2) Update SilverStripe to Silverstripe CMS (Michael Pritchard) diff --git a/docs/en/05_Contributing/05_Making_A_SilverStripe_Core_Release.md b/docs/en/05_Contributing/05_Making_A_SilverStripe_Core_Release.md index 4a819d9c54a..bee213d99a1 100644 --- a/docs/en/05_Contributing/05_Making_A_SilverStripe_Core_Release.md +++ b/docs/en/05_Contributing/05_Making_A_SilverStripe_Core_Release.md @@ -69,7 +69,7 @@ As a core contributor it is necessary to have installed the following set of too Example `.env`: ``` -# Environent +# Environment SS_TRUSTED_PROXY_IPS="*" SS_ENVIRONMENT_TYPE="dev" @@ -338,7 +338,7 @@ and needs to be manually advanced): * `release:test` Will run all unit tests on this release. Make sure that you setup your `.env` correctly (as above) so that this will work. * `release:changelog` Will compare the current branch head with `--from` parameter - version in order to generate a changelog file. This wil be placed into the + version in order to generate a changelog file. This will be placed into the `./framework/docs/en/04_Changelogs/` folder. If an existing file named after this version is already in that location, then the changes will be automatically regenerated beneath the automatically added line: diff --git a/docs/en/05_Contributing/07_Translations.md b/docs/en/05_Contributing/07_Translations.md index a88399f3a4e..b5ca745d83e 100644 --- a/docs/en/05_Contributing/07_Translations.md +++ b/docs/en/05_Contributing/07_Translations.md @@ -8,7 +8,7 @@ icon: globe We are always looking for new translators. Even if a specific language already is translated and has an official maintainer, we can use helping hands in reviewing and updating translations. Important: It is perfectly fine if you -only have time for a partial translation or quick review work - our system accomodates many people collaborating on the +only have time for a partial translation or quick review work - our system accommodates many people collaborating on the same language. The content for UI elements (button labels, field titles) and instruction texts shown in the CMS and elsewhere is diff --git a/src/Control/Cookie_Backend.php b/src/Control/Cookie_Backend.php index 4a77c38ecc0..4c0e4a73422 100644 --- a/src/Control/Cookie_Backend.php +++ b/src/Control/Cookie_Backend.php @@ -12,7 +12,7 @@ interface Cookie_Backend /** * When creating the backend we want to store the existing cookies in our - * "existing" array. This allows us to distinguish between cookies we recieved + * "existing" array. This allows us to distinguish between cookies we received * or we set ourselves (and didn't get from the browser) * * @param array $cookies The existing cookies to load into the cookie jar diff --git a/src/Control/Director.php b/src/Control/Director.php index 2afa4518e82..d94abc26092 100644 --- a/src/Control/Director.php +++ b/src/Control/Director.php @@ -692,7 +692,7 @@ public static function baseFolder() } /** - * Check if using a seperate public dir, and if so return this directory + * Check if using a separate public dir, and if so return this directory * name. * * This will be removed in 5.0 and fixed to 'public' diff --git a/src/Control/HTTPRequest.php b/src/Control/HTTPRequest.php index 666f3dda0da..d6ac4e026da 100644 --- a/src/Control/HTTPRequest.php +++ b/src/Control/HTTPRequest.php @@ -65,14 +65,14 @@ class HTTPRequest implements ArrayAccess protected $ip; /** - * Contains alls HTTP GET parameters passed into this request. + * Contains all HTTP GET parameters passed into this request. * * @var array */ protected $getVars = []; /** - * Contains alls HTTP POST parameters passed into this request. + * Contains all HTTP POST parameters passed into this request. * * @var array */ @@ -165,7 +165,7 @@ public function __construct($httpMethod, $url, $getVars = [], $postVars = [], $b * Allow the setting of a URL * * This is here so that RootURLController can change the URL of the request - * without us loosing all the other info attached (like headers) + * without us losing all the other info attached (like headers) * * @param string $url The new URL * @return HTTPRequest The updated request diff --git a/src/Control/HTTPStreamResponse.php b/src/Control/HTTPStreamResponse.php index c547c8ce8b2..2a06320e465 100644 --- a/src/Control/HTTPStreamResponse.php +++ b/src/Control/HTTPStreamResponse.php @@ -144,7 +144,7 @@ protected function consumeStream($callback) */ protected function outputBody() { - // If the output has been overwritten, or the stream is irreversable and has + // If the output has been overwritten, or the stream is irreversible and has // already been consumed, return the cached body. $body = $this->getSavedBody(); if ($body) { diff --git a/src/Control/Middleware/HTTPCacheControlMiddleware.php b/src/Control/Middleware/HTTPCacheControlMiddleware.php index 3ea5f1546f0..701b4abaee1 100644 --- a/src/Control/Middleware/HTTPCacheControlMiddleware.php +++ b/src/Control/Middleware/HTTPCacheControlMiddleware.php @@ -589,7 +589,7 @@ public function enableCache($force = false, $maxAge = null) /** * Simple way to set cache control header to a non-cacheable state. * Use this method over `privateCache()` if you are unsure about caching details. - * Takes precendence over unforced `enableCache()`, `privateCache()` or `publicCache()` calls. + * Takes precedence over unforced `enableCache()`, `privateCache()` or `publicCache()` calls. * * The resulting cache-control headers will be chosen from the 'disabled' set of directives. * @@ -600,7 +600,7 @@ public function enableCache($force = false, $maxAge = null) * See https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching#public_vs_private * * @see https://docs.silverstripe.org/en/developer_guides/performance/http_cache_headers/ - * @param bool $force Force the cache to diabled even if it's forced private or public + * @param bool $force Force the cache to disabled even if it's forced private or public * @return $this */ public function disableCache($force = false) diff --git a/src/Control/PjaxResponseNegotiator.php b/src/Control/PjaxResponseNegotiator.php index 1ed184b5312..60bb769aa34 100644 --- a/src/Control/PjaxResponseNegotiator.php +++ b/src/Control/PjaxResponseNegotiator.php @@ -33,7 +33,7 @@ class PjaxResponseNegotiator protected $response = null; /** - * Overriden fragments (if any). Otherwise uses fragments from the request. + * Overridden fragments (if any). Otherwise uses fragments from the request. */ protected $fragmentOverride = null; diff --git a/src/Control/RSS/RSSFeed.php b/src/Control/RSS/RSSFeed.php index 4372b7bb21d..fd35b617ed5 100644 --- a/src/Control/RSS/RSSFeed.php +++ b/src/Control/RSS/RSSFeed.php @@ -263,7 +263,7 @@ public function getTemplate() /** * Returns the ordered list of preferred templates for rendering this object. - * Will prioritise any custom template first, and then templates based on class hiearchy next. + * Will prioritise any custom template first, and then templates based on class hierarchy next. * * @return array */ diff --git a/src/Control/RequestHandler.php b/src/Control/RequestHandler.php index a10d88047ca..e0f8316d5a1 100644 --- a/src/Control/RequestHandler.php +++ b/src/Control/RequestHandler.php @@ -84,7 +84,7 @@ class RequestHandler extends ViewableData * available. * * The values of the array are the method to be called if the rule matches. If this value starts with a '$', then - * the named parameter of the parsed URL wil be used to determine the method name. + * the named parameter of the parsed URL will be used to determine the method name. * @config */ private static $url_handlers = [ @@ -143,7 +143,7 @@ public function __construct() * action will return an array of data with which to * customise the controller. * - * @param HTTPRequest $request The object that is reponsible for distributing URL parsing + * @param HTTPRequest $request The object that is responsible for distributing URL parsing * @return HTTPResponse|RequestHandler|string|array */ public function handleRequest(HTTPRequest $request) diff --git a/src/Control/SimpleResourceURLGenerator.php b/src/Control/SimpleResourceURLGenerator.php index eda8060ca7e..ce026c6a102 100644 --- a/src/Control/SimpleResourceURLGenerator.php +++ b/src/Control/SimpleResourceURLGenerator.php @@ -221,7 +221,7 @@ protected function resolvePublicResource($relativePath) // Search public folder first, and unless `public/` is prefixed, also private base path $publicPath = Path::join(Director::publicFolder(), $relativePath); if (file_exists($publicPath)) { - // String is a literal url comitted directly to public folder + // String is a literal url committed directly to public folder return [true, $publicPath, $relativePath]; } diff --git a/src/Core/Cache/DefaultCacheFactory.php b/src/Core/Cache/DefaultCacheFactory.php index 5ded9075a4f..b60ecfeb888 100644 --- a/src/Core/Cache/DefaultCacheFactory.php +++ b/src/Core/Cache/DefaultCacheFactory.php @@ -69,7 +69,7 @@ public function create($service, array $args = []) return $this->createCache(PhpFilesCache::class, [$namespace, $defaultLifetime, $directory]); } - // Create filessytem cache + // Create filesystem cache $fs = $this->createCache(FilesystemCache::class, [$namespace, $defaultLifetime, $directory]); if (!$apcuSupported) { return $fs; diff --git a/src/Core/Convert.php b/src/Core/Convert.php index 872c3fe5e42..db8f14bc438 100644 --- a/src/Core/Convert.php +++ b/src/Core/Convert.php @@ -627,7 +627,7 @@ public static function bytes2memstring($bytes, $decimal = 0) } /** - * Convert slashes in relative or asolute filesystem path. Defaults to DIRECTORY_SEPARATOR + * Convert slashes in relative or absolute filesystem path. Defaults to DIRECTORY_SEPARATOR * * @param string $path * @param string $separator diff --git a/src/Core/CoreKernel.php b/src/Core/CoreKernel.php index d28a9869298..89bbac01472 100644 --- a/src/Core/CoreKernel.php +++ b/src/Core/CoreKernel.php @@ -48,7 +48,7 @@ class CoreKernel implements Kernel /** * @var string */ - protected $enviroment = null; + protected $environment = null; /** * @var ClassLoader @@ -86,7 +86,7 @@ class CoreKernel implements Kernel /** * Indicates whether the Kernel has been flushed on boot - * Unitialized before boot + * Uninitialized before boot * * @var bool */ @@ -151,8 +151,8 @@ public function __construct($basePath) public function getEnvironment() { // Check set - if ($this->enviroment) { - return $this->enviroment; + if ($this->environment) { + return $this->environment; } // Check saved session @@ -179,7 +179,7 @@ public function getEnvironment() protected function sessionEnvironment() { if (!$this->booted) { - // session is not initialyzed yet, neither is manifest + // session is not initialized yet, neither is manifest return null; } @@ -666,7 +666,7 @@ public function setEnvironment($environment) "Director::set_environment_type passed '$environment'. It should be passed dev, test, or live" ); } - $this->enviroment = $environment; + $this->environment = $environment; return $this; } diff --git a/src/Core/Injector/Injector.php b/src/Core/Injector/Injector.php index 74984cb7ba9..7dcfea32434 100644 --- a/src/Core/Injector/Injector.php +++ b/src/Core/Injector/Injector.php @@ -201,7 +201,7 @@ class Injector implements ContainerInterface const SINGLETON = 'singleton'; /** - * Specif ya service type prototype + * Specify a service type prototype */ const PROTOTYPE = 'prototype'; diff --git a/src/Core/Startup/ErrorControlChainMiddleware.php b/src/Core/Startup/ErrorControlChainMiddleware.php index e3aca5ef371..9deee43b8e9 100644 --- a/src/Core/Startup/ErrorControlChainMiddleware.php +++ b/src/Core/Startup/ErrorControlChainMiddleware.php @@ -77,7 +77,7 @@ public function process(HTTPRequest $request, callable $next) if ($confirmationTokenChain->suppressionRequired()) { $confirmationTokenChain->suppressTokens(); } else { - // If no redirection is necessary then we can disable error supression + // If no redirection is necessary then we can disable error suppression $errorControlChain->setSuppression(false); } diff --git a/src/Core/Startup/ParameterConfirmationToken.php b/src/Core/Startup/ParameterConfirmationToken.php index 70b89b939b7..02ddcc0bd6b 100644 --- a/src/Core/Startup/ParameterConfirmationToken.php +++ b/src/Core/Startup/ParameterConfirmationToken.php @@ -107,7 +107,7 @@ public function parameterProvided() } /** - * Is the parmeter requested in a BackURL param? + * Is the parameter requested in a BackURL param? * * @return bool */ diff --git a/src/Dev/CSVParser.php b/src/Dev/CSVParser.php index 25bdc4a2418..1b23a866194 100644 --- a/src/Dev/CSVParser.php +++ b/src/Dev/CSVParser.php @@ -110,7 +110,7 @@ class CSVParser implements Iterator * You can use the object returned in a foreach loop to extract the data. * * @param string $filename The name of the file. If relative, it will be relative to the site's base dir - * @param string $delimiter The character for seperating columns + * @param string $delimiter The character for separating columns * @param string $enclosure The character for quoting or enclosing columns */ public function __construct($filename, $delimiter = ",", $enclosure = '"') diff --git a/src/Dev/CliDebugView.php b/src/Dev/CliDebugView.php index ff7f3862326..14478160b69 100644 --- a/src/Dev/CliDebugView.php +++ b/src/Dev/CliDebugView.php @@ -7,7 +7,7 @@ use SilverStripe\Core\Convert; /** - * A basic HTML wrapper for stylish rendering of a developement info view. + * A basic HTML wrapper for stylish rendering of a development info view. * Used to output error messages, and test results. * * @todo Perhaps DebugView should be an interface / ABC, implemented by HTMLDebugView and CliDebugView? diff --git a/src/Dev/Constraint/SSListContains.php b/src/Dev/Constraint/SSListContains.php index 4929888e702..c5d2a9ebdbf 100644 --- a/src/Dev/Constraint/SSListContains.php +++ b/src/Dev/Constraint/SSListContains.php @@ -158,7 +158,7 @@ protected function getStubForToString(): string /* ------------------------------------------------- * * This version of FunctionalTest is for phpunit 5 - * The phpunit 9 verison is at the top of this file + * The phpunit 9 version is at the top of this file * * ------------------------------------------------- */ diff --git a/src/Dev/Constraint/SSListContainsOnlyMatchingItems.php b/src/Dev/Constraint/SSListContainsOnlyMatchingItems.php index ebacb7658a9..b370cb09481 100644 --- a/src/Dev/Constraint/SSListContainsOnlyMatchingItems.php +++ b/src/Dev/Constraint/SSListContainsOnlyMatchingItems.php @@ -109,7 +109,7 @@ public function toString(): string /* ------------------------------------------------- * * This version of SSListContainsOnlyMatchingItems is for phpunit 5 - * The phpunit 9 verison is at the top of this file + * The phpunit 9 version is at the top of this file * * ------------------------------------------------- */ diff --git a/src/Dev/Constraint/ViewableDataContains.php b/src/Dev/Constraint/ViewableDataContains.php index 015a3deb8ca..88776f4c7f9 100644 --- a/src/Dev/Constraint/ViewableDataContains.php +++ b/src/Dev/Constraint/ViewableDataContains.php @@ -112,7 +112,7 @@ public function toString(): string /* ------------------------------------------------- * * This version of ViewableDataContains is for phpunit 5 - * The phpunit 9 verison is at the top of this file + * The phpunit 9 version is at the top of this file * * ------------------------------------------------- */ diff --git a/src/Dev/DebugView.php b/src/Dev/DebugView.php index c4233654d75..fd0f7792273 100644 --- a/src/Dev/DebugView.php +++ b/src/Dev/DebugView.php @@ -13,7 +13,7 @@ use SilverStripe\Core\Manifest\ModuleResourceLoader; /** - * A basic HTML wrapper for stylish rendering of a developement info view. + * A basic HTML wrapper for stylish rendering of a development info view. * Used to output error messages, and test results. */ class DebugView @@ -270,8 +270,8 @@ public function renderFooter() * @param string $httpRequest the kind of request * @param int $errno Codenumber of the error * @param string $errstr The error message - * @param string $errfile The name of the soruce code file where the error occurred - * @param int $errline The line number on which the error occured + * @param string $errfile The name of the source code file where the error occurred + * @param int $errline The line number on which the error occurred * @return string */ public function renderError($httpRequest, $errno, $errstr, $errfile, $errline) diff --git a/src/Dev/FixtureFactory.php b/src/Dev/FixtureFactory.php index a29c0b2b836..09812c04ada 100644 --- a/src/Dev/FixtureFactory.php +++ b/src/Dev/FixtureFactory.php @@ -29,7 +29,7 @@ * array('MyRelationName' => '=>MyRelatedClass.relation1') * ); * - * Relation loading is order dependant. + * Relation loading is order dependent. */ class FixtureFactory { diff --git a/src/Dev/FunctionalTest.php b/src/Dev/FunctionalTest.php index fb9ae78aba0..0dbe683c8b3 100644 --- a/src/Dev/FunctionalTest.php +++ b/src/Dev/FunctionalTest.php @@ -85,7 +85,7 @@ class FunctionalTest extends SapphireTest implements TestOnly /** * If this is true, then 30x Location headers will be automatically followed. - * If not, then you will have to manaully call $this->mainSession->followRedirection() to follow them. + * If not, then you will have to manually call $this->mainSession->followRedirection() to follow them. * However, this will let you inspect the intermediary headers * * @var bool @@ -527,7 +527,7 @@ class FunctionalTest extends SapphireTest implements TestOnly /** * If this is true, then 30x Location headers will be automatically followed. - * If not, then you will have to manaully call $this->mainSession->followRedirection() to follow them. + * If not, then you will have to manually call $this->mainSession->followRedirection() to follow them. * However, this will let you inspect the intermediary headers * * @var bool diff --git a/src/Dev/SapphireTest.php b/src/Dev/SapphireTest.php index ffcf459a075..c9d09058217 100644 --- a/src/Dev/SapphireTest.php +++ b/src/Dev/SapphireTest.php @@ -57,7 +57,7 @@ * * Why there are two versions of SapphireTest: * - PHPUnit 5 is not compatible with PHP 8 - * - a mimimum versin of PHP 7.3 is required for PHPUnit 9 + * - a minimum version of PHP 7.3 is required for PHPUnit 9 * * The PHPUnit-5 compatibility layer will be preserved until support for PHP7 is dropped in early 2023. * @@ -1364,7 +1364,7 @@ public function getAnnotations(): array /* ------------------------------------------------- * * This version of SapphireTest is for phpunit 5 - * The phpunit 9 verison is at the top of this file + * The phpunit 9 version is at the top of this file * * PHPUnit_Extensions_GroupTestSuite is a class that only exists in phpunit 5 * diff --git a/src/Forms/DropdownField.php b/src/Forms/DropdownField.php index c6258cbf981..765b8a9df31 100644 --- a/src/Forms/DropdownField.php +++ b/src/Forms/DropdownField.php @@ -28,7 +28,7 @@ * * Populate with Array * - * Example model defintion: + * Example model definition: * * class MyObject extends DataObject { * static $db = array( diff --git a/src/Forms/FieldList.php b/src/Forms/FieldList.php index 1044b64b30e..7df1b80ada8 100644 --- a/src/Forms/FieldList.php +++ b/src/Forms/FieldList.php @@ -562,7 +562,7 @@ public function dataFieldByName($name) /** * Inserts a field before a particular field in a FieldList. - * Will traverse CompositeFields depth-first to find the maching $name, and insert before the first match + * Will traverse CompositeFields depth-first to find the matching $name, and insert before the first match * * @param string $name Name of the field to insert before * @param FormField $item The form field to insert @@ -604,7 +604,7 @@ public function insertBefore($name, $item, $appendIfMissing = true) /** * Inserts a field after a particular field in a FieldList. - * Will traverse CompositeFields depth-first to find the maching $name, and insert after the first match + * Will traverse CompositeFields depth-first to find the matching $name, and insert after the first match * * @param string $name Name of the field to insert after * @param FormField $item The form field to insert @@ -758,7 +758,7 @@ public function VisibleFields() } /** - * Transform this FieldList with a given tranform method, + * Transform this FieldList with a given transform method, * e.g. $this->transform(new ReadonlyTransformation()) * * @param FormTransformation $trans diff --git a/src/Forms/FileUploadReceiver.php b/src/Forms/FileUploadReceiver.php index d3c73a9538c..cf6a741811a 100644 --- a/src/Forms/FileUploadReceiver.php +++ b/src/Forms/FileUploadReceiver.php @@ -272,7 +272,7 @@ public function saveInto(DataObjectInterface $record) $id = $idList ? reset($idList) : 0; $record->{"{$fieldname}ID"} = $id; - // Polymorphic asignment + // Polymorphic assignment if ($class === DataObject::class) { $file = $id ? File::get()->byID($id) : null; $fileClass = $file ? get_class($file) : File::class; diff --git a/src/Forms/Form.php b/src/Forms/Form.php index 16724e50dc0..4f4816f7156 100644 --- a/src/Forms/Form.php +++ b/src/Forms/Form.php @@ -356,7 +356,7 @@ public function restoreFormState() } /** - * Flush persistant form state details + * Flush persistent form state details * * @return $this */ @@ -923,7 +923,7 @@ public function getTemplate() } /** - * Returs the ordered list of preferred templates for rendering this form + * Returns the ordered list of preferred templates for rendering this form * If the template isn't set, then default to the * form class name e.g "Form". * diff --git a/src/Forms/GridField/GridFieldSortableHeader.php b/src/Forms/GridField/GridFieldSortableHeader.php index c9e9e03e55b..fa97d8239ba 100644 --- a/src/Forms/GridField/GridFieldSortableHeader.php +++ b/src/Forms/GridField/GridFieldSortableHeader.php @@ -83,7 +83,7 @@ protected function checkDataType($dataList) } /** - * Specify sortings with fieldname as the key, and actual fieldname to sort as value. + * Specify sorting with fieldname as the key, and actual fieldname to sort as value. * Example: array("MyCustomTitle"=>"Title", "MyCustomBooleanField" => "ActualBooleanField") * * @param array $sorting diff --git a/src/Forms/GridField/GridField_StateProvider.php b/src/Forms/GridField/GridField_StateProvider.php index 74cf03bf15d..9fae071c647 100644 --- a/src/Forms/GridField/GridField_StateProvider.php +++ b/src/Forms/GridField/GridField_StateProvider.php @@ -15,7 +15,7 @@ interface GridField_StateProvider extends GridFieldComponent * * We recommend that you call $data->initDefaults() to do this. * - * @param $data The top-level sate object + * @param $data The top-level state object */ public function initDefaultState(GridState_Data $data): void; } diff --git a/src/Forms/HTMLEditor/HTMLEditorConfig.php b/src/Forms/HTMLEditor/HTMLEditorConfig.php index be7186ddd58..824d11f73c7 100644 --- a/src/Forms/HTMLEditor/HTMLEditorConfig.php +++ b/src/Forms/HTMLEditor/HTMLEditorConfig.php @@ -11,7 +11,7 @@ * * There can be multiple HTMLEditorConfig's, which should always be created / accessed using HTMLEditorConfig::get. * You can then set the currently active config using set_active. - * The order of precendence for which config is used is (lowest to highest): + * The order of precedence for which config is used is (lowest to highest): * * - default_config config setting * - Active config assigned diff --git a/src/Forms/HTMLReadonlyField.php b/src/Forms/HTMLReadonlyField.php index d007bbe41e4..36c83bd956e 100644 --- a/src/Forms/HTMLReadonlyField.php +++ b/src/Forms/HTMLReadonlyField.php @@ -5,7 +5,7 @@ /** * Readonly field equivalent for literal HTML * - * Unlike HTMLEditorField_Readonly, does not processs shortcodes + * Unlike HTMLEditorField_Readonly, does not process shortcodes */ class HTMLReadonlyField extends ReadonlyField { diff --git a/src/Forms/RequiredFields.php b/src/Forms/RequiredFields.php index fcfa84775a9..3b693a3c230 100644 --- a/src/Forms/RequiredFields.php +++ b/src/Forms/RequiredFields.php @@ -23,7 +23,7 @@ class RequiredFields extends Validator protected $required; /** - * Pass each field to be validated as a seperate argument to the constructor + * Pass each field to be validated as a separate argument to the constructor * of this object. (an array of elements are ok). */ public function __construct() diff --git a/src/Forms/SingleLookupField.php b/src/Forms/SingleLookupField.php index 47bde733e20..b17cc8ed0e5 100644 --- a/src/Forms/SingleLookupField.php +++ b/src/Forms/SingleLookupField.php @@ -83,7 +83,7 @@ public function Type() } /** - * Note: we need to transform value in here becaue React fields do not use Field() to display value + * Note: we need to transform value in here because React fields do not use Field() to display value * * @return mixed */ diff --git a/src/Forms/TreeMultiselectField.php b/src/Forms/TreeMultiselectField.php index de523dd392a..516acf6bee7 100644 --- a/src/Forms/TreeMultiselectField.php +++ b/src/Forms/TreeMultiselectField.php @@ -244,7 +244,7 @@ public function Field($properties = []) /** * Save the results into the form - * Calls function $record->onChange($items) before saving to the assummed + * Calls function $record->onChange($items) before saving to the assumed * Component set. * * @param DataObjectInterface $record diff --git a/src/ORM/Connect/DBSchemaManager.php b/src/ORM/Connect/DBSchemaManager.php index ae8ea478f73..3332f46904b 100644 --- a/src/ORM/Connect/DBSchemaManager.php +++ b/src/ORM/Connect/DBSchemaManager.php @@ -100,7 +100,7 @@ public function setDatabase(Database $database) protected $schemaUpdateTransaction; /** - * Enable supression of database messages. + * Enable suppression of database messages. * * @param bool $quiet */ diff --git a/src/ORM/Connect/Database.php b/src/ORM/Connect/Database.php index 0eba456329f..c7ef09be1ff 100644 --- a/src/ORM/Connect/Database.php +++ b/src/ORM/Connect/Database.php @@ -190,7 +190,7 @@ function ($sql) use ($connector, $parameters, $errorLevel) { /** * Determines if the query should be previewed, and thus interrupted silently. - * If so, this function also displays the query via the debuging system. + * If so, this function also displays the query via the debugging system. * Subclasess should respect the results of this call for each query, and not * execute any queries that generate a true response. * @@ -438,7 +438,7 @@ public function manipulate($manipulation) } /** - * Enable supression of database messages. + * Enable suppression of database messages. */ public function quiet() { @@ -508,7 +508,7 @@ abstract public function comparisonClause( * function to return an SQL datetime expression that can be used with the adapter in use * used for querying a datetime in a certain format * - * @param string $date to be formated, can be either 'now', literal datetime like '1973-10-14 10:30:00' or + * @param string $date to be formatted, can be either 'now', literal datetime like '1973-10-14 10:30:00' or * field name, e.g. '"SiteTree"."Created"' * @param string $format to be used, supported specifiers: * %Y = Year (four digits) @@ -545,14 +545,14 @@ abstract public function datetimeIntervalClause($date, $interval); /** * function to return an SQL datetime expression that can be used with the adapter in use - * used for querying a datetime substraction + * used for querying a datetime subtraction * * @param string $date1 can be either 'now', literal datetime like '1973-10-14 10:30:00' or field name * e.g. '"SiteTree"."Created"' - * @param string $date2 to be substracted of $date1, can be either 'now', literal datetime + * @param string $date2 to be subtracted of $date1, can be either 'now', literal datetime * like '1973-10-14 10:30:00' or field name, e.g. '"SiteTree"."Created"' * @return string SQL datetime expression to query for the interval between $date1 and $date2 in seconds which - * is the result of the substraction + * is the result of the subtraction */ abstract public function datetimeDifferenceClause($date1, $date2); @@ -903,7 +903,7 @@ public function selectDatabase($name, $create = false, $errorLevel = E_USER_ERRO return $this->connector->selectDatabase($name); } - // Check DB creation permisson + // Check DB creation permission if (!$create) { if ($errorLevel !== false) { user_error("Attempted to connect to non-existing database \"$name\"", $errorLevel); diff --git a/src/ORM/Connect/Query.php b/src/ORM/Connect/Query.php index 76ab8d2b4d8..122de024b95 100644 --- a/src/ORM/Connect/Query.php +++ b/src/ORM/Connect/Query.php @@ -31,14 +31,14 @@ abstract class Query implements Iterator { /** - * The current record in the interator. + * The current record in the iterator. * * @var array */ protected $currentRecord = null; /** - * The number of the current row in the interator. + * The number of the current row in the iterator. * * @var int */ diff --git a/src/ORM/DB.php b/src/ORM/DB.php index 0dbc7f32f18..1b45c1c81c8 100644 --- a/src/ORM/DB.php +++ b/src/ORM/DB.php @@ -78,7 +78,7 @@ class DB * Pass an object that's a subclass of SS_Database. This object will be used when {@link DB::query()} * is called. * - * @param Database $connection The connecton object to set as the connection. + * @param Database $connection The connection object to set as the connection. * @param string $name The name to give to this connection. If you omit this argument, the connection * will be the default one used by the ORM. However, you can store other named connections to * be accessed through DB::get_conn($name). This is useful when you have an application that @@ -677,7 +677,7 @@ public static function field_list($table) } /** - * Enable supression of database messages. + * Enable suppression of database messages. * * @param bool $quiet */ diff --git a/src/ORM/DataList.php b/src/ORM/DataList.php index d382feb69ac..dff1db476a0 100644 --- a/src/ORM/DataList.php +++ b/src/ORM/DataList.php @@ -1030,7 +1030,7 @@ public function column($colName = "ID") } /** - * Returns a unque array of a single field value for all items in the list. + * Returns a unique array of a single field value for all items in the list. * * @param string $colName * @return array @@ -1208,7 +1208,7 @@ public function newObject($initialFields = null) * * @param DataObject $item * @todo Allow for amendment of this behaviour - for example, we can remove an item from - * an "ActiveItems" DataList by chaning the status to inactive. + * an "ActiveItems" DataList by changing the status to inactive. */ public function remove($item) { diff --git a/src/ORM/DataObject.php b/src/ORM/DataObject.php index fb1986fa257..618b592e554 100644 --- a/src/ORM/DataObject.php +++ b/src/ORM/DataObject.php @@ -450,7 +450,7 @@ private function hydrate(array $record, bool $mustHaveID) "Hydrated records must be passed a record array including an ID." ); } elseif (empty($record['ID'])) { - // CREATE_MEMORY_HYDRATED implicitely set the record ID to 0 if not provided + // CREATE_MEMORY_HYDRATED implicitly set the record ID to 0 if not provided $record['ID'] = 0; } @@ -491,7 +491,7 @@ private function hydrate(array $record, bool $mustHaveID) } /** - * Destroy all of this objects dependant objects and local caches. + * Destroy all of this objects dependent objects and local caches. * You'll need to call this to get the memory of an object that has components or extensions freed. */ public function destroy() @@ -1145,7 +1145,7 @@ public function merge($rightObj, $priority = 'right', $includeRelations = true, $leftObj = $this; if ($leftObj->ClassName != $rightObj->ClassName) { - // we can't merge similiar subclasses because they might have additional relations + // we can't merge similar subclasses because they might have additional relations user_error("DataObject->merge(): Invalid object class '{$rightObj->ClassName}' (expected '{$leftObj->ClassName}').", E_USER_WARNING); return false; @@ -1215,7 +1215,7 @@ public function merge($rightObj, $priority = 'right', $includeRelations = true, /** * Forces the record to think that all its data has changed. - * Doesn't write to the database. Force-change preseved until + * Doesn't write to the database. Force-change preserved until * next write. Existing CHANGE_VALUE or CHANGE_STRICT values * are preserved. * @@ -1599,7 +1599,7 @@ protected function writeManipulation($baseTable, $now, $isNewRecord) * - It will insert a record whenever ID isn't set, otherwise update. * - All relevant tables will be updated. * - $this->onBeforeWrite() gets called beforehand. - * - Extensions such as Versioned will ammend the database-write to ensure that a version is saved. + * - Extensions such as Versioned will amend the database-write to ensure that a version is saved. * * @uses DataExtension::augmentWrite() * @@ -3657,7 +3657,7 @@ public function requireTable() } } - // Let any extentions make their own database fields + // Let any extensions make their own database fields $this->extend('augmentDatabase', $dummy); } @@ -3685,7 +3685,7 @@ public function requireDefaultRecords() } } - // Let any extentions make their own database default data + // Let any extensions make their own database default data $this->extend('requireDefaultRecords', $dummy); } @@ -3746,34 +3746,34 @@ public function searchableFields() // rewrite array, if it is using shorthand syntax $rewrite = []; foreach ($fields as $name => $specOrName) { - $identifer = (is_int($name)) ? $specOrName : $name; + $identifier = (is_int($name)) ? $specOrName : $name; if (is_int($name)) { // Format: array('MyFieldName') - $rewrite[$identifer] = []; - } elseif (is_array($specOrName) && ($relObject = $this->relObject($identifer))) { + $rewrite[$identifier] = []; + } elseif (is_array($specOrName) && ($relObject = $this->relObject($identifier))) { // Format: array('MyFieldName' => array( // 'filter => 'ExactMatchFilter', // 'field' => 'NumericField', // optional // 'title' => 'My Title', // optional // )) - $rewrite[$identifer] = array_merge( + $rewrite[$identifier] = array_merge( ['filter' => $relObject->config()->get('default_search_filter_class')], (array)$specOrName ); } else { // Format: array('MyFieldName' => 'ExactMatchFilter') - $rewrite[$identifer] = [ + $rewrite[$identifier] = [ 'filter' => $specOrName, ]; } - if (!isset($rewrite[$identifer]['title'])) { - $rewrite[$identifer]['title'] = (isset($labels[$identifer])) - ? $labels[$identifer] : FormField::name_to_label($identifer); + if (!isset($rewrite[$identifier]['title'])) { + $rewrite[$identifier]['title'] = (isset($labels[$identifier])) + ? $labels[$identifier] : FormField::name_to_label($identifier); } - if (!isset($rewrite[$identifer]['filter'])) { + if (!isset($rewrite[$identifier]['filter'])) { /** @skipUpgrade */ - $rewrite[$identifer]['filter'] = 'PartialMatchFilter'; + $rewrite[$identifier]['filter'] = 'PartialMatchFilter'; } } @@ -4074,7 +4074,7 @@ public static function enable_subclass_access() private static $default_records = null; /** - * One-to-zero relationship defintion. This is a map of component name to data type. In order to turn this into a + * One-to-zero relationship definition. This is a map of component name to data type. In order to turn this into a * true one-to-one relationship you can add a {@link DataObject::$belongs_to} relationship on the child class. * * Note that you cannot have a has_one and belongs_to relationship with the same name. diff --git a/src/ORM/DataObjectInterface.php b/src/ORM/DataObjectInterface.php index f67e7ec3c50..b4f43d5dfb9 100644 --- a/src/ORM/DataObjectInterface.php +++ b/src/ORM/DataObjectInterface.php @@ -18,7 +18,7 @@ public function __construct(); /** * Write the current object back to the database. It should know whether this is a new object, in which case this - * would be an insert command, or if this is an existing object queried from the database, in which case thes would + * would be an insert command, or if this is an existing object queried from the database, in which case these would * be */ public function write(); diff --git a/src/ORM/DataObjectSchema.php b/src/ORM/DataObjectSchema.php index 04397b2c71c..9e85e0dfbed 100644 --- a/src/ORM/DataObjectSchema.php +++ b/src/ORM/DataObjectSchema.php @@ -344,7 +344,7 @@ protected function buildTableName($class) * @param string $class Class name to query from * @param bool $aggregated Include fields in entire hierarchy, rather than just on this table * - * @return array Map of fieldname to specification, similiar to {@link DataObject::$db}. + * @return array Map of fieldname to specification, similar to {@link DataObject::$db}. */ public function databaseFields($class, $aggregated = true) { diff --git a/src/ORM/DataQuery.php b/src/ORM/DataQuery.php index 7599ffac7b4..5574b948841 100644 --- a/src/ORM/DataQuery.php +++ b/src/ORM/DataQuery.php @@ -170,7 +170,7 @@ protected function initialiseQuery() throw new InvalidArgumentException("DataQuery::create() Can't find data classes for '{$this->dataClass}'"); } - // Build our intial query + // Build our initial query $this->query = new SQLSelect([]); $this->query->setDistinct(true); diff --git a/src/ORM/DatabaseAdmin.php b/src/ORM/DatabaseAdmin.php index 70253f956b1..7085f4bfe38 100644 --- a/src/ORM/DatabaseAdmin.php +++ b/src/ORM/DatabaseAdmin.php @@ -63,7 +63,7 @@ protected function init() parent::init(); // We allow access to this controller regardless of live-status or ADMIN permission only - // if on CLI or with the database not ready. The latter makes it less errorprone to do an + // if on CLI or with the database not ready. The latter makes it less error-prone to do an // initial schema build without requiring a default-admin login. // Access to this controller is always allowed in "dev-mode", or of the user is ADMIN. $allowAllCLI = DevelopmentAdmin::config()->get('allow_all_cli'); diff --git a/src/ORM/FieldType/DBComposite.php b/src/ORM/FieldType/DBComposite.php index 21d29576b0a..3b2c62e810e 100644 --- a/src/ORM/FieldType/DBComposite.php +++ b/src/ORM/FieldType/DBComposite.php @@ -11,7 +11,7 @@ * Apply this interface to any {@link DBField} that doesn't have a 1-1 mapping with a database field. * This includes multi-value fields and transformed fields * - * @todo Unittests for loading and saving composite values (see GIS module for existing similiar unittests) + * @todo Unittests for loading and saving composite values (see GIS module for existing similar unittests) * * Example with a combined street name and number: * @@ -26,7 +26,7 @@ abstract class DBComposite extends DBField { /** - * Similiar to {@link DataObject::$db}, + * Similar to {@link DataObject::$db}, * holds an array of composite field names. * Don't include the fields "main name", * it will be prefixed in {@link requireField()}. diff --git a/src/ORM/FieldType/DBPolymorphicForeignKey.php b/src/ORM/FieldType/DBPolymorphicForeignKey.php index 48c02997c36..a2c680c5c78 100644 --- a/src/ORM/FieldType/DBPolymorphicForeignKey.php +++ b/src/ORM/FieldType/DBPolymorphicForeignKey.php @@ -19,7 +19,7 @@ class DBPolymorphicForeignKey extends DBComposite public function scaffoldFormField($title = null, $params = null) { // Opt-out of form field generation - Scaffolding should be performed on - // the has_many end, or set programatically. + // the has_many end, or set programmatically. // @todo - Investigate suitable FormField return null; } diff --git a/src/ORM/FieldType/DBVarchar.php b/src/ORM/FieldType/DBVarchar.php index 8a5c1f0eac5..0e100b5c2d7 100644 --- a/src/ORM/FieldType/DBVarchar.php +++ b/src/ORM/FieldType/DBVarchar.php @@ -45,7 +45,7 @@ public function __construct($name = null, $size = 255, $options = []) } /** - * Allow the ability to access the size of the field programatically. This + * Allow the ability to access the size of the field programmatically. This * can be useful if you want to have text fields with a length limit that * is dictated by the DB field. * diff --git a/src/ORM/HasManyList.php b/src/ORM/HasManyList.php index 4f24dd6f4ad..b3fd6f79820 100644 --- a/src/ORM/HasManyList.php +++ b/src/ORM/HasManyList.php @@ -85,7 +85,7 @@ public function add($item) return; } if (is_array($foreignID)) { - user_error("HasManyList::add() can't be called on a list linked to mulitple foreign IDs", E_USER_WARNING); + user_error("HasManyList::add() can't be called on a list linked to multiple foreign IDs", E_USER_WARNING); return; } diff --git a/src/ORM/Hierarchy/MarkedSet.php b/src/ORM/Hierarchy/MarkedSet.php index e2da5ab24cf..da726a50584 100644 --- a/src/ORM/Hierarchy/MarkedSet.php +++ b/src/ORM/Hierarchy/MarkedSet.php @@ -90,7 +90,7 @@ class MarkedSet * Create an empty set with the given class * * @param DataObject $rootNode Root node for this set. To collect the entire tree, - * pass in a singelton object. + * pass in a singleton object. * @param string $childrenMethod Override children method * @param string $numChildrenMethod Override children counting method * @param int $nodeCountThreshold Minimum threshold for number nodes to mark diff --git a/src/ORM/PaginatedList.php b/src/ORM/PaginatedList.php index 92c02519497..2c8ae03b530 100644 --- a/src/ORM/PaginatedList.php +++ b/src/ORM/PaginatedList.php @@ -47,7 +47,7 @@ public function __construct(SS_List $list, $request = []) * Returns the GET var that is used to set the page start. This defaults * to "start". * - * If there is more than one paginated list on a page, it is neccesary to + * If there is more than one paginated list on a page, it is necessary to * set a different get var for each using {@link setPaginationGetVar()}. * * @return string diff --git a/src/ORM/PolymorphicHasManyList.php b/src/ORM/PolymorphicHasManyList.php index 3086869874f..14d1dc34dc9 100644 --- a/src/ORM/PolymorphicHasManyList.php +++ b/src/ORM/PolymorphicHasManyList.php @@ -84,7 +84,7 @@ public function add($item) } if (is_array($foreignID)) { user_error( - "PolymorphicHasManyList::add() can't be called on a list linked to mulitple foreign IDs", + "PolymorphicHasManyList::add() can't be called on a list linked to multiple foreign IDs", E_USER_WARNING ); return; diff --git a/src/ORM/Queries/SQLAssignmentRow.php b/src/ORM/Queries/SQLAssignmentRow.php index 3c338264ca8..3c180db0a05 100644 --- a/src/ORM/Queries/SQLAssignmentRow.php +++ b/src/ORM/Queries/SQLAssignmentRow.php @@ -21,8 +21,8 @@ class SQLAssignmentRow * * $assignments['ID'] = ['?' => [1]]; * - * This allows for complex, parameterised updates, or explict field values set - * without any prameters + * This allows for complex, parameterised updates, or explicit field values set + * without any parameters * * @var array */ @@ -40,7 +40,7 @@ function __construct(array $values = []) /** - * Given a key / value pair, extract the predicate and any potential paramaters + * Given a key / value pair, extract the predicate and any potential parameters * in a format suitable for storing internally as a list of paramaterised conditions. * * @param mixed $value Either a literal field value, or an array with @@ -124,7 +124,7 @@ protected function normaliseAssignments(array $assignments) * ]); * * // Assignment of literal SQL for a field. The empty array is - * // important to denote the zero-number paramater list + * // important to denote the zero-number parameter list * $query->addAssignments([ * '"Object"."Score"' => ['NOW()' => []] * ]); diff --git a/src/ORM/Queries/SQLConditionalExpression.php b/src/ORM/Queries/SQLConditionalExpression.php index 5c83ccd4ab7..b4f4bb2c0df 100644 --- a/src/ORM/Queries/SQLConditionalExpression.php +++ b/src/ORM/Queries/SQLConditionalExpression.php @@ -578,7 +578,7 @@ public function getWhereParameterised(&$parameters) } /** - * Given a key / value pair, extract the predicate and any potential paramaters + * Given a key / value pair, extract the predicate and any potential parameters * in a format suitable for storing internally as a list of parameterized conditions. * * @param string|integer $key The left hand (key index) of this condition. @@ -620,7 +620,7 @@ protected function parsePredicate($key, $value) if (count($value) !== 1) { throw new \InvalidArgumentException( 'Nested predicates should be given as a single item array in ' - . 'array($predicate => array($prameters)) format)' + . 'array($predicate => array($parameters)) format)' ); } foreach ($value as $key => $pairValue) { diff --git a/src/ORM/Queries/SQLWriteExpression.php b/src/ORM/Queries/SQLWriteExpression.php index 1e14466448e..022368661d2 100644 --- a/src/ORM/Queries/SQLWriteExpression.php +++ b/src/ORM/Queries/SQLWriteExpression.php @@ -37,7 +37,7 @@ interface SQLWriteExpression * ]); * * // Assignment of literal SQL for a field. The empty array is - * // important to denote the zero-number paramater list + * // important to denote the zero-number parameter list * $query->addAssignments([ * '"Object"."Score"' => ['NOW()' => []] * ]); diff --git a/src/ORM/Search/FulltextSearchable.php b/src/ORM/Search/FulltextSearchable.php index 34fbdd702b0..e7df88efbf5 100644 --- a/src/ORM/Search/FulltextSearchable.php +++ b/src/ORM/Search/FulltextSearchable.php @@ -27,7 +27,7 @@ class FulltextSearchable extends DataExtension /** * Comma-separated list of database column names - * that can be searched on. Used for generation of the database index defintions. + * that can be searched on. Used for generation of the database index definitions. * * @var string */ @@ -84,7 +84,7 @@ public static function enable($searchableClasses = [SiteTree::class, File::class /** * @param array|string $searchFields Comma-separated list (or array) of database column names - * that can be searched on. Used for generation of the database index defintions. + * that can be searched on. Used for generation of the database index definitions. */ public function __construct($searchFields = []) { diff --git a/src/Security/Group.php b/src/Security/Group.php index 958467b4d88..71e237d0991 100755 --- a/src/Security/Group.php +++ b/src/Security/Group.php @@ -235,7 +235,7 @@ class_exists(SecurityAdmin::class) '%s', SecurityAdmin::singleton()->Link('show/root#Root_Roles'), // TODO This should include #Root_Roles to switch directly to the tab, - // but tabstrip.js doesn't display tabs when directly adressed through a URL pragma + // but tabstrip.js doesn't display tabs when directly addressed through a URL pragma _t('SilverStripe\\Security\\Group.RolesAddEditLink', 'Manage roles') ) . "

" diff --git a/src/Security/MemberAuthenticator/CookieAuthenticationHandler.php b/src/Security/MemberAuthenticator/CookieAuthenticationHandler.php index 2594d4b1f6d..0b6f1884876 100644 --- a/src/Security/MemberAuthenticator/CookieAuthenticationHandler.php +++ b/src/Security/MemberAuthenticator/CookieAuthenticationHandler.php @@ -12,7 +12,7 @@ use SilverStripe\Security\Security; /** - * Authenticate a member pased on a session cookie + * Authenticate a member passed on a session cookie */ class CookieAuthenticationHandler implements AuthenticationHandler { diff --git a/src/Security/MemberAuthenticator/LostPasswordHandler.php b/src/Security/MemberAuthenticator/LostPasswordHandler.php index dfd8aeebc15..96bf278244e 100644 --- a/src/Security/MemberAuthenticator/LostPasswordHandler.php +++ b/src/Security/MemberAuthenticator/LostPasswordHandler.php @@ -246,7 +246,7 @@ protected function sendEmail($member, $token) } /** - * Avoid information disclosure by displaying the same status, regardless wether the email address actually exists + * Avoid information disclosure by displaying the same status, regardless whether the email address actually exists * * @param array $data * @return HTTPResponse diff --git a/src/Security/MemberAuthenticator/MemberLoginForm.php b/src/Security/MemberAuthenticator/MemberLoginForm.php index 027d6299543..b605d73fa52 100644 --- a/src/Security/MemberAuthenticator/MemberLoginForm.php +++ b/src/Security/MemberAuthenticator/MemberLoginForm.php @@ -134,7 +134,7 @@ protected function getFormFields() $label = Member::singleton()->fieldLabel(Member::config()->get('unique_identifier_field')); $fields = FieldList::create( HiddenField::create("AuthenticationMethod", null, $this->getAuthenticatorClass(), $this), - // Regardless of what the unique identifer field is (usually 'Email'), it will be held in the + // Regardless of what the unique identifier field is (usually 'Email'), it will be held in the // 'Email' value, below: // @todo Rename the field to a more generic covering name $emailField = TextField::create("Email", $label, null, null, $this), diff --git a/src/Security/MemberAuthenticator/SessionAuthenticationHandler.php b/src/Security/MemberAuthenticator/SessionAuthenticationHandler.php index 1ce1eaca6b5..3bcd5b3dfff 100644 --- a/src/Security/MemberAuthenticator/SessionAuthenticationHandler.php +++ b/src/Security/MemberAuthenticator/SessionAuthenticationHandler.php @@ -10,7 +10,7 @@ use SilverStripe\Security\Member; /** - * Authenticate a member pased on a session cookie + * Authenticate a member passed on a session cookie */ class SessionAuthenticationHandler implements AuthenticationHandler { @@ -99,7 +99,7 @@ protected static function regenerateSessionId() $line = ''; // TODO: deprecate and use Session::regenerateSessionId - // @ is to supress win32 warnings/notices when session wasn't cleaned up properly + // @ is to suppress win32 warnings/notices when session wasn't cleaned up properly // There's nothing we can do about this, because it's an operating system function! if (!headers_sent($file, $line)) { @session_regenerate_id(true); diff --git a/src/Security/PasswordEncryptor_LegacyPHPHash.php b/src/Security/PasswordEncryptor_LegacyPHPHash.php index 1d6a5981691..c7a823963b6 100644 --- a/src/Security/PasswordEncryptor_LegacyPHPHash.php +++ b/src/Security/PasswordEncryptor_LegacyPHPHash.php @@ -25,7 +25,7 @@ public function encrypt($password, $salt = null, $member = null) public function check($hash, $password, $salt = null, $member = null) { - // Due to flawed base_convert() floating poing precision, + // Due to flawed base_convert() floating point precision, // only the first 10 characters are consistently useful for comparisons. return (substr($hash, 0, 10) === substr($this->encrypt($password, $salt, $member), 0, 10)); } diff --git a/src/Security/Permission.php b/src/Security/Permission.php index b7d2ce63f05..f398cdf5d5c 100644 --- a/src/Security/Permission.php +++ b/src/Security/Permission.php @@ -224,7 +224,7 @@ public static function checkMember($member, $code, $arg = "any", $strict = true) $adminClause = $adminImpliesAll ? ", ?" : ''; // The following code should only be used if you're not using the "any" arg. This is kind - // of obselete functionality and could possibly be deprecated. + // of obsolete functionality and could possibly be deprecated. $groupParams = self::groupList($memberID); if (empty($groupParams)) { return false; @@ -359,7 +359,7 @@ public static function groupList($memberID = null) if ($member) { // Build a list of the IDs of the groups. Most of the heavy lifting // is done by Member::Groups - // NOTE: This isn't effecient; but it's called once per session so + // NOTE: This isn't efficient; but it's called once per session so // it's a low priority to fix. $groups = $member->Groups(); $groupList = []; @@ -519,7 +519,7 @@ public static function get_groups_by_permission($codes) * * @param bool $grouped Group results into an array of permission groups. * @return array Returns an array of all available permission codes. The - * array indicies are the permission codes as used in + * array indices are the permission codes as used in * {@link Permission::check()}. The value is a description * suitable for using in an interface. */ diff --git a/src/Security/Permission_Group.php b/src/Security/Permission_Group.php index 3db8a8b52b6..e89acc61139 100644 --- a/src/Security/Permission_Group.php +++ b/src/Security/Permission_Group.php @@ -19,7 +19,7 @@ class Permission_Group /** * Associative array of permissions in this permission group. The array - * indicies are the permission codes as used in + * indices are the permission codes as used in * {@link Permission::check()}. The value is suitable for using in an * interface. * @var string @@ -33,7 +33,7 @@ class Permission_Group * @param string $name Text that could be used as label used in an * interface * @param array $permissions Associative array of permissions in this - * permission group. The array indicies are the + * permission group. The array indices are the * permission codes as used in * {@link Permission::check()}. The value is * suitable for using in an interface. @@ -59,7 +59,7 @@ public function getName() * Get permissions * * @return array Associative array of permissions in this permission - * group. The array indicies are the permission codes as + * group. The array indices are the permission codes as * used in {@link Permission::check()}. The value is * suitable for using in an interface. */ diff --git a/src/Security/Security.php b/src/Security/Security.php index 805469c9c28..1e2d330af1c 100644 --- a/src/Security/Security.php +++ b/src/Security/Security.php @@ -280,7 +280,7 @@ public function getApplicableAuthenticators($service = Authenticator::LOGIN) /** * Check if a given authenticator is registered * - * @param string $authenticator The configured identifier of the authenicator + * @param string $authenticator The configured identifier of the authenticator * @return bool Returns TRUE if the authenticator is registered, FALSE * otherwise. */ diff --git a/src/View/GenericTemplateGlobalProvider.php b/src/View/GenericTemplateGlobalProvider.php index c2e981a234b..0d126ade948 100644 --- a/src/View/GenericTemplateGlobalProvider.php +++ b/src/View/GenericTemplateGlobalProvider.php @@ -23,7 +23,7 @@ public static function get_template_global_variables() */ public static function ModulePath($name) { - // BC for a couple fo the key modules in the old syntax. Reduces merge brittleness but can + // BC for a couple of the key modules in the old syntax. Reduces merge brittleness but can // be removed before 4.0 stable $legacyMapping = [ 'framework' => 'silverstripe/framework', diff --git a/src/View/Parsers/HTMLValue.php b/src/View/Parsers/HTMLValue.php index eb254dd6cc5..8809bad5da5 100644 --- a/src/View/Parsers/HTMLValue.php +++ b/src/View/Parsers/HTMLValue.php @@ -12,7 +12,7 @@ * This class handles the converting of HTML fragments between a string and a DOMDocument based * representation. * - * It's designed to allow dependancy injection to replace the standard HTML4 version with one that + * It's designed to allow dependency injection to replace the standard HTML4 version with one that * handles XHTML or HTML5 instead * * @mixin DOMDocument diff --git a/src/View/SSTemplateParser.peg b/src/View/SSTemplateParser.peg index 92e8266c33c..0fd61dafa18 100644 --- a/src/View/SSTemplateParser.peg +++ b/src/View/SSTemplateParser.peg @@ -55,7 +55,7 @@ if (defined('THIRDPARTY_PATH')) { * * Terms used: * - * Marked: A string or lookup in the template that has been explictly marked as such - lookups by prepending with + * Marked: A string or lookup in the template that has been explicitly marked as such - lookups by prepending with * "$" (like $Foo.Bar), strings by wrapping with single or double quotes ('Foo' or "Foo") * * Bare: The opposite of marked. An argument that has to has it's type inferred by usage and 2.4 defaults. @@ -230,7 +230,7 @@ class SSTemplateParser extends Parser implements TemplateParser Number: / [0-9]+ / Value: / [A-Za-z0-9_]+ / - # CallArguments is a list of one or more comma seperated "arguments" (lookups or strings, either bare or marked) + # CallArguments is a list of one or more comma separated "arguments" (lookups or strings, either bare or marked) # as passed to a Call within brackets CallArguments: :Argument ( < "," < :Argument )* @@ -257,7 +257,7 @@ class SSTemplateParser extends Parser implements TemplateParser Call: Method:Word ( "(" < :CallArguments? > ")" )? - # A lookup is a lookup of a value on the current scope object. It's a sequence of calls seperated by "." + # A lookup is a lookup of a value on the current scope object. It's a sequence of calls separated by "." # characters. This final call in the sequence needs handling specially, as different structures need different # sorts of values, which require a different final method to be called to get the right return value @@ -409,7 +409,7 @@ class SSTemplateParser extends Parser implements TemplateParser /*!* - # Inside a block's arguments you can explictly mark a string by surrounding it with quotes (single or double, + # Inside a block's arguments you can explicitly mark a string by surrounding it with quotes (single or double, # but they must be matching). If you do, inside the quote you can escape any character, but the only character # that _needs_ escaping is the matching closing quote @@ -423,7 +423,7 @@ class SSTemplateParser extends Parser implements TemplateParser FreeString: /[^,)%!=><|&]+/ - # An argument - either a marked value, or a bare value, prefering lookup matching on the bare value over + # An argument - either a marked value, or a bare value, preferring lookup matching on the bare value over # freestring matching as long as that would give a successful parse Argument: @@ -530,7 +530,7 @@ class SSTemplateParser extends Parser implements TemplateParser /*!* - # if and else_if arguments are a series of presence checks and comparisons, optionally seperated by boolean + # if and else_if arguments are a series of presence checks and comparisons, optionally separated by boolean # operators IfArgumentPortion: Comparison | PresenceCheck @@ -542,7 +542,7 @@ class SSTemplateParser extends Parser implements TemplateParser /*!* - # if and else_if arguments can be combined via these two boolean operators. No precendence overriding is + # if and else_if arguments can be combined via these two boolean operators. No precedence overriding is # supported BooleanOperator: "||" | "&&" @@ -563,7 +563,7 @@ class SSTemplateParser extends Parser implements TemplateParser /*!* - # ifs are handled seperately from other closed block tags, because (A) their structure is different - they + # ifs are handled separately from other closed block tags, because (A) their structure is different - they # can have else_if and else tags in between the if tag and the end_if tag, and (B) they have a different # argument structure to every other block @@ -599,7 +599,7 @@ class SSTemplateParser extends Parser implements TemplateParser /*!* - # The require block is handled seperately to the other open blocks as the argument syntax is different + # The require block is handled separately to the other open blocks as the argument syntax is different # - must have one call style argument, must pass arguments to that call style argument Require: '<%' < 'require' [ Call:(Method:Word "(" < :CallArguments > ")") > '%>' @@ -657,7 +657,7 @@ class SSTemplateParser extends Parser implements TemplateParser } /*!* - # CacheBlockTemplate is the same as Template, but doesn't include cache blocks (because they're handled seperately) + # CacheBlockTemplate is the same as Template, but doesn't include cache blocks (because they're handled separately) CacheBlockTemplate extends Template (TemplateMatcher = CacheRestrictedTemplate); CacheBlock | UncachedBlock | => '' */ @@ -1117,7 +1117,7 @@ class SSTemplateParser extends Parser implements TemplateParser /*!* - # This is used to detect when we have a mismatched closing tag (i.e., one with no equivilent opening tag) + # This is used to detect when we have a mismatched closing tag (i.e., one with no equivalent opening tag) # Because of parser limitations, this can only be used at the top nesting level of a template. Other mismatched # closing tags are detected as an invalid open tag @@ -1264,7 +1264,7 @@ EOC; $this->includeDebuggingComments = $includeDebuggingComments; - // Ignore UTF8 BOM at begining of string. TODO: Confirm this is needed, make sure SSViewer handles UTF + // Ignore UTF8 BOM at beginning of string. TODO: Confirm this is needed, make sure SSViewer handles UTF // (and other encodings) properly if (substr($string, 0, 3) == pack("CCC", 0xef, 0xbb, 0xbf)) { $this->pos = 3; diff --git a/src/View/SSTemplateParser.php b/src/View/SSTemplateParser.php index 1bad49255f5..33c303eb7a6 100644 --- a/src/View/SSTemplateParser.php +++ b/src/View/SSTemplateParser.php @@ -34,7 +34,7 @@ * * Terms used: * - * Marked: A string or lookup in the template that has been explictly marked as such - lookups by prepending with + * Marked: A string or lookup in the template that has been explicitly marked as such - lookups by prepending with * "$" (like $Foo.Bar), strings by wrapping with single or double quotes ('Foo' or "Foo") * * Bare: The opposite of marked. An argument that has to has it's type inferred by usage and 2.4 defaults. @@ -5041,7 +5041,7 @@ public function compileString($string, $templateName = "", $includeDebuggingComm $this->includeDebuggingComments = $includeDebuggingComments; - // Ignore UTF8 BOM at begining of string. TODO: Confirm this is needed, make sure SSViewer handles UTF + // Ignore UTF8 BOM at beginning of string. TODO: Confirm this is needed, make sure SSViewer handles UTF // (and other encodings) properly if (substr($string, 0, 3) == pack("CCC", 0xef, 0xbb, 0xbf)) { $this->pos = 3; diff --git a/src/View/SSViewer_DataPresenter.php b/src/View/SSViewer_DataPresenter.php index 1d37875eeb1..afba242a097 100644 --- a/src/View/SSViewer_DataPresenter.php +++ b/src/View/SSViewer_DataPresenter.php @@ -175,7 +175,7 @@ public function getInjectedValue($property, array $params, $cast = true) $res['value'] = $source['value']; } else { throw new InvalidArgumentException( - "Injected property $property does't have a value or callable value source provided" + "Injected property $property doesn't have a value or callable value source provided" ); } diff --git a/src/View/TemplateIteratorProvider.php b/src/View/TemplateIteratorProvider.php index 5d4b93317d9..f2930bc62fd 100644 --- a/src/View/TemplateIteratorProvider.php +++ b/src/View/TemplateIteratorProvider.php @@ -4,7 +4,7 @@ /** * Interface that is implemented by any classes that want to expose a method that can be called in any - * scope in a template that returns values dependant on the state of the iterator of the current scope. + * scope in a template that returns values dependent on the state of the iterator of the current scope. * * SSViewer_BasicIteratorSupport is an example of this. See also @TemplateGlobalProvider */ diff --git a/src/View/ThemeResourceLoader.php b/src/View/ThemeResourceLoader.php index 7d16fe1685e..3a9fed36a91 100644 --- a/src/View/ThemeResourceLoader.php +++ b/src/View/ThemeResourceLoader.php @@ -173,7 +173,7 @@ public function getPath($identifier) * * @param string|array $template Template name, or template spec in array format with the keys * 'type' (type string) and 'templates' (template hierarchy in order of precedence). - * If 'templates' is ommitted then any other item in the array will be treated as the template + * If 'templates' is omitted then any other item in the array will be treated as the template * list, or list of templates each in the array spec given. * Templates with an .ss extension will be treated as file paths, and will bypass * theme-coupled resolution. @@ -340,7 +340,7 @@ public function findThemedResource($resource, $themes = null) * Resolve all themes to the list of root folders relative to site root * * @param array $themes List of themes to resolve. Supports named theme sets. Defaults to {@see SSViewer::get_themes()}. - * @return array List of root-relative folders in order of precendence. + * @return array List of root-relative folders in order of precedence. */ public function getThemePaths($themes = null) { diff --git a/src/View/ViewableData.php b/src/View/ViewableData.php index 8ca2fccaf51..4d38663dee7 100644 --- a/src/View/ViewableData.php +++ b/src/View/ViewableData.php @@ -273,7 +273,7 @@ public function customise($data) /** * Return true if this object "exists" i.e. has a sensible value * - * This method should be overriden in subclasses to provide more context about the classes state. For example, a + * This method should be overridden in subclasses to provide more context about the classes state. For example, a * {@link DataObject} class could return false when it is deleted from the database * * @return bool diff --git a/src/i18n/TextCollection/i18nTextCollector.php b/src/i18n/TextCollection/i18nTextCollector.php index 934285250f8..2208e22a014 100644 --- a/src/i18n/TextCollection/i18nTextCollector.php +++ b/src/i18n/TextCollection/i18nTextCollector.php @@ -20,7 +20,7 @@ /** * SilverStripe-variant of the "gettext" tool: * Parses the string content of all PHP-files and SilverStripe templates - * for ocurrences of the _t() translation method. Also uses the {@link i18nEntityProvider} + * for occurrences of the _t() translation method. Also uses the {@link i18nEntityProvider} * interface to get dynamically defined entities by executing the * {@link provideI18nEntities()} method on all implementors of this interface. * @@ -423,7 +423,7 @@ protected function getEntitiesByModule() } unset($spec['module']); - // If only element is defalt, simplify + // If only element is default, simplify if (count($spec) === 1 && !empty($spec['default'])) { $spec = $spec['default']; } @@ -807,7 +807,7 @@ public function collectFromTemplate($content, $fileName, Module $module, &$parse * Allows classes which implement i18nEntityProvider to provide * additional translation strings. * - * Not all classes can be instanciated without mandatory arguments, + * Not all classes can be instantiated without mandatory arguments, * so entity collection doesn't work for all SilverStripe classes currently * * @uses i18nEntityProvider @@ -861,7 +861,7 @@ public function collectFromEntityProviders($filePath, Module $module = null) } /** - * Normalizes enitities with namespaces. + * Normalizes entities with namespaces. * * @param string $fullName * @param string $_namespace diff --git a/src/i18n/i18nEntityProvider.php b/src/i18n/i18nEntityProvider.php index 7fa6042ff75..791b78cfc9a 100644 --- a/src/i18n/i18nEntityProvider.php +++ b/src/i18n/i18nEntityProvider.php @@ -5,7 +5,7 @@ use SilverStripe\i18n\TextCollection\i18nTextCollector; /** - * Dynamically provide translatable entites for the {@link i18n} logic. + * Dynamically provide translatable entities for the {@link i18n} logic. * This is particularly handy for natural language strings in static variables * of a class definition, as the _t() method can only be used in a runtime/instance * context. The provideI18nEntities() method enables you to define your own entities diff --git a/src/includes/constants.php b/src/includes/constants.php index 58275ce7f5a..cbba29d00cd 100644 --- a/src/includes/constants.php +++ b/src/includes/constants.php @@ -63,7 +63,7 @@ $candidateBasePath = rtrim(dirname(__DIR__, 5), DIRECTORY_SEPARATOR); // We can't have an empty BASE_PATH. Making it / means that double-slashes occur in places but that's benign. - // This likely only happens on chrooted environemnts + // This likely only happens on chrooted environments return $candidateBasePath ?: DIRECTORY_SEPARATOR; })); } @@ -216,7 +216,7 @@ define('TEMP_FOLDER', TEMP_PATH); } -// Define the Ressource Dir constant that will be use to exposed vendor assets +// Define the resource dir constant that will be use to exposed vendor assets if (!defined('RESOURCES_DIR')) { $project = new SilverStripe\Core\Manifest\Module(BASE_PATH, BASE_PATH); $resourcesDir = $project->getResourcesDir() ?: 'resources'; diff --git a/tests/behat/src/CmsUiContext.php b/tests/behat/src/CmsUiContext.php index b3adb6922fe..8b84e05d98a 100644 --- a/tests/behat/src/CmsUiContext.php +++ b/tests/behat/src/CmsUiContext.php @@ -352,7 +352,7 @@ protected function getCmsTabElement($text) */ public function iExpandTheCmsPanel() { - //Tries to find the first visiable toggle in the page + //Tries to find the first visible toggle in the page $page = $this->getSession()->getPage(); $toggle_elements = $page->findAll('css', '.toggle-expand'); Assert::assertNotNull($toggle_elements, 'Panel toggle not found'); @@ -419,7 +419,7 @@ public function iPressTheKeyInTheField($key, $field) */ public function iExpandInTheTree($action, $nodeText) { - //Tries to find the first visiable matched Node in the page + //Tries to find the first visible matched Node in the page $treeEl = $this->getCmsTreeElement(); $treeNode = $treeEl->findLink($nodeText); Assert::assertNotNull($treeNode, sprintf('%s link not found', $nodeText)); diff --git a/tests/behat/src/ConfigContext.php b/tests/behat/src/ConfigContext.php index 0e10db85034..7af0053b825 100644 --- a/tests/behat/src/ConfigContext.php +++ b/tests/behat/src/ConfigContext.php @@ -122,7 +122,7 @@ public function stepIHaveConfigFile($filename) $mysite = ModuleLoader::getModule($project); Assert::assertNotNull($mysite, 'Project exists'); $destPath = $mysite->getResource("_config/{$filename}")->getPath(); - Assert::assertFileDoesNotExist($destPath, "Config file {$filename} hasn't aleady been loaded"); + Assert::assertFileDoesNotExist($destPath, "Config file {$filename} hasn't already been loaded"); // Load $this->activatedConfigFiles[] = $destPath; diff --git a/tests/php/Control/CookieJarTest.php b/tests/php/Control/CookieJarTest.php index c4056f0a16e..e3298de2b36 100644 --- a/tests/php/Control/CookieJarTest.php +++ b/tests/php/Control/CookieJarTest.php @@ -29,7 +29,7 @@ public function testConstruct() $cookieJar = new CookieJar($defaultCookies); - //make sure all the "recieved" cookies are as expected + //make sure all the "received" cookies are as expected $this->assertEquals($defaultCookies, $cookieJar->getAll(false)); //make sure there are no "phantom" cookies diff --git a/tests/php/Control/CookieTest.php b/tests/php/Control/CookieTest.php index 8f2a8eaaa2b..75750de1c3b 100644 --- a/tests/php/Control/CookieTest.php +++ b/tests/php/Control/CookieTest.php @@ -50,7 +50,7 @@ public function testCheckNewInstTakesSuperglobal() /** * Check we don't mess with super globals when manipulating cookies * - * State should be managed sperately to the super global + * State should be managed separately to the super global */ public function testCheckSuperglobalsArentTouched() { @@ -190,7 +190,7 @@ public function testForceExpiry() //check we can add a new cookie and remove it and it doesn't leave any phantom values Cookie::set('newCookie', 'i am new'); - //check it's set by not recieved + //check it's set by not received $this->assertEquals('i am new', Cookie::get('newCookie')); $this->assertEmpty(Cookie::get('newCookie', false)); diff --git a/tests/php/Control/DirectorTest.php b/tests/php/Control/DirectorTest.php index e6fdc26c872..0a9d16847b7 100644 --- a/tests/php/Control/DirectorTest.php +++ b/tests/php/Control/DirectorTest.php @@ -131,7 +131,7 @@ public function testAbsoluteURL() $this->assertEquals("http://www.mysite.com:9090/mysite/test", Director::absoluteURL("test", Director::BASE)); $this->assertEquals("http://www.mysite.com:9090/mysite/test/url", Director::absoluteURL("test/url", Director::BASE)); - // Test evaluting relative urls relative to root + // Test evaluating relative urls relative to root $this->assertEquals("http://www.mysite.com:9090/test", Director::absoluteURL("test", Director::ROOT)); $this->assertEquals("http://www.mysite.com:9090/test/url", Director::absoluteURL("test/url", Director::ROOT)); diff --git a/tests/php/Control/HTTPRequestTest.php b/tests/php/Control/HTTPRequestTest.php index d9778f8a4d3..cf0acc0ca32 100644 --- a/tests/php/Control/HTTPRequestTest.php +++ b/tests/php/Control/HTTPRequestTest.php @@ -19,7 +19,7 @@ public function testMatch() /* When a rule matches, but has no variables, array("_matched" => true) is returned. */ $this->assertEquals(["_matched" => true], $request->match('admin/crm', true)); - /* Becasue we shifted admin/crm off the stack, just "add" should be remaining */ + /* Because we shifted admin/crm off the stack, just "add" should be remaining */ $this->assertEquals("add", $request->remaining()); $this->assertEquals(["_matched" => true], $request->match('add', true)); diff --git a/tests/php/Control/HTTPTest.php b/tests/php/Control/HTTPTest.php index 03c37aca41f..4d43f16b92a 100644 --- a/tests/php/Control/HTTPTest.php +++ b/tests/php/Control/HTTPTest.php @@ -213,7 +213,7 @@ public function testGetLinksIn() $result = HTTP::getLinksIn($content); - // Results don't neccesarily come out in the order they are in the $content param. + // Results don't necessarily come out in the order they are in the $content param. sort($result); sort($expected); @@ -258,7 +258,7 @@ public function testSetGetVar() $this->assertEquals( 'http://test.com/?foo=new&buz=baz', HTTP::setGetVar('foo', 'new', 'http://test.com/?foo=old&buz=baz'), - 'Absolute URL without path and multipe existing query params, overwriting an existing parameter' + 'Absolute URL without path and multiple existing query params, overwriting an existing parameter' ); $this->assertStringContainsString( diff --git a/tests/php/Control/RequestHandlingTest.php b/tests/php/Control/RequestHandlingTest.php index 2f417fd9d69..b72fac4f553 100644 --- a/tests/php/Control/RequestHandlingTest.php +++ b/tests/php/Control/RequestHandlingTest.php @@ -96,8 +96,8 @@ public function testMethodCallingOnController() $response = Director::test("testGoodBase1/method/1/2"); $this->assertEquals("This is a method on the controller: 1, 2", $response->getBody()); - /* In addition, these values are availalbe in $controller->urlParams. This is mainly for backward - * compatability. */ + /* In addition, these values are available in $controller->urlParams. This is mainly for backward + * compatibility. */ $response = Director::test("testGoodBase1/legacymethod/3/4"); $this->assertEquals( "\$this->urlParams can be used, for backward compatibility: 3, 4", diff --git a/tests/php/Core/EnvironmentTest.php b/tests/php/Core/EnvironmentTest.php index ccd31e83eb1..cf92c8787d1 100644 --- a/tests/php/Core/EnvironmentTest.php +++ b/tests/php/Core/EnvironmentTest.php @@ -44,7 +44,7 @@ public function testRestoreEnv() $vars = Environment::getVariables(); $this->assertEquals('initial', Environment::getEnv('_ENVTEST_RESTORED')); - // Modify enironment + // Modify environment Environment::putEnv('_ENVTEST_RESTORED=new'); $this->assertEquals('initial', $vars['env']['_ENVTEST_RESTORED']); $this->assertEquals('new', Environment::getEnv('_ENVTEST_RESTORED')); diff --git a/tests/php/Forms/CheckboxSetFieldTest.php b/tests/php/Forms/CheckboxSetFieldTest.php index 9a723bcbaa6..28bc13af06e 100644 --- a/tests/php/Forms/CheckboxSetFieldTest.php +++ b/tests/php/Forms/CheckboxSetFieldTest.php @@ -153,7 +153,7 @@ public function testSaveWithArrayValueSet() WHERE \"CheckboxSetFieldTest_Article_Tags\".\"CheckboxSetFieldTest_ArticleID\" = ?", [$article->ID] )->column(), - 'Data shold be saved into CheckboxSetField manymany relation table on the "right end"' + 'Data should be saved into CheckboxSetField manymany relation table on the "right end"' ); $this->assertEquals( [$articleWithTags->ID,$article->ID], @@ -163,7 +163,7 @@ public function testSaveWithArrayValueSet() WHERE \"CheckboxSetFieldTest_Article_Tags\".\"CheckboxSetFieldTest_TagID\" = $tag1->ID " )->column(), - 'Data shold be saved into CheckboxSetField manymany relation table on the "left end"' + 'Data should be saved into CheckboxSetField manymany relation table on the "left end"' ); } diff --git a/tests/php/Forms/FileFieldTest.php b/tests/php/Forms/FileFieldTest.php index 19779d986ec..aaed0848562 100644 --- a/tests/php/Forms/FileFieldTest.php +++ b/tests/php/Forms/FileFieldTest.php @@ -120,7 +120,7 @@ public function testGetAcceptFileTypes() } /** - * Test different scenarii for a failed upload : an error occured, no files where provided + * Test different scenarii for a failed upload : an error occurred, no files where provided * @skipUpgrade */ public function testUploadMissingRequiredFile() @@ -134,7 +134,7 @@ public function testUploadMissingRequiredFile() new FieldList(), new RequiredFields('cv') ); - // All fields are filled but for some reason an error occured when uploading the file => fails + // All fields are filled but for some reason an error occurred when uploading the file => fails $fileFieldValue = [ 'name' => 'aCV.txt', 'type' => 'application/octet-stream', @@ -146,7 +146,7 @@ public function testUploadMissingRequiredFile() $this->assertFalse( $form->validationResult()->isValid(), - 'An error occured when uploading a file, but the validator returned true' + 'An error occurred when uploading a file, but the validator returned true' ); // We pass an empty set of parameters for the uploaded file => fails diff --git a/tests/php/Forms/FormScaffolderTest.php b/tests/php/Forms/FormScaffolderTest.php index 193ebc9cb0d..8e0716ee21c 100644 --- a/tests/php/Forms/FormScaffolderTest.php +++ b/tests/php/Forms/FormScaffolderTest.php @@ -124,7 +124,7 @@ public function testRestrictCMSFields() $this->assertNotNull( $fields->dataFieldByName('Title'), - 'scaffoldCMSFields() includes explitly defined "restrictFields"' + 'scaffoldCMSFields() includes explicitly defined "restrictFields"' ); $this->assertNull( $fields->dataFieldByName('Content'), diff --git a/tests/php/Forms/FormTest.php b/tests/php/Forms/FormTest.php index 6e2ba55eeae..e0d2a9a2676 100644 --- a/tests/php/Forms/FormTest.php +++ b/tests/php/Forms/FormTest.php @@ -658,7 +658,7 @@ public function testDisableSecurityTokenAcceptsSubmissionWithoutToken() 'SecurityID' => $token ] ); - $this->assertEquals(200, $response->getStatusCode(), 'Submission suceeds with security token'); + $this->assertEquals(200, $response->getStatusCode(), 'Submission succeeds with security token'); } public function testStrictFormMethodChecking() diff --git a/tests/php/Forms/GridField/GridFieldDetailFormTest.php b/tests/php/Forms/GridField/GridFieldDetailFormTest.php index d8b55199946..3a297ac01e0 100644 --- a/tests/php/Forms/GridField/GridFieldDetailFormTest.php +++ b/tests/php/Forms/GridField/GridFieldDetailFormTest.php @@ -411,7 +411,7 @@ public function testRedirectMissingRecords() $origAutoFollow = $this->autoFollowRedirection; $this->autoFollowRedirection = false; - // GridField is filtered people in "My Group", which does't include "jack" + // GridField is filtered people in "My Group", which doesn't include "jack" $included = $this->objFromFixture(Person::class, 'joe'); $excluded = $this->objFromFixture(Person::class, 'jack'); diff --git a/tests/php/Forms/GridField/GridFieldSortableHeaderTest.php b/tests/php/Forms/GridField/GridFieldSortableHeaderTest.php index 5973f1589a3..b3c5cb8aa8b 100644 --- a/tests/php/Forms/GridField/GridFieldSortableHeaderTest.php +++ b/tests/php/Forms/GridField/GridFieldSortableHeaderTest.php @@ -43,8 +43,8 @@ public function testRenderHeaders() $form = new Form(null, 'Form', new FieldList(), new FieldList()); $gridField = new GridField('testfield', 'testfield', $list, $config); $gridField->setForm($form); - $compontent = $gridField->getConfig()->getComponentByType(GridFieldSortableHeader::class); - $htmlFragment = $compontent->getHTMLFragments($gridField); + $component = $gridField->getConfig()->getComponentByType(GridFieldSortableHeader::class); + $htmlFragment = $component->getHTMLFragments($gridField); // Check that the output shows name and hat as sortable fields, but not city $this->assertStringContainsString('City', $htmlFragment['header']); @@ -77,11 +77,11 @@ public function testGetManipulatedData() $state->SortColumn = 'City'; $state->SortDirection = 'asc'; - $compontent = $gridField->getConfig()->getComponentByType(GridFieldSortableHeader::class); - $listA = $compontent->getManipulatedData($gridField, $list); + $component = $gridField->getConfig()->getComponentByType(GridFieldSortableHeader::class); + $listA = $component->getManipulatedData($gridField, $list); $state->SortDirection = 'desc'; - $listB = $compontent->getManipulatedData($gridField, $list); + $listB = $component->getManipulatedData($gridField, $list); $this->assertEquals( ['Auckland', 'Cologne', 'Melbourne', 'Wellington'], @@ -95,10 +95,10 @@ public function testGetManipulatedData() // Test one relation 'deep' $state->SortColumn = 'Cheerleader.Name'; $state->SortDirection = 'asc'; - $relationListA = $compontent->getManipulatedData($gridField, $list); + $relationListA = $component->getManipulatedData($gridField, $list); $state->SortDirection = 'desc'; - $relationListB = $compontent->getManipulatedData($gridField, $list); + $relationListB = $component->getManipulatedData($gridField, $list); $this->assertEquals( ['Wellington', 'Melbourne', 'Cologne', 'Auckland'], @@ -112,10 +112,10 @@ public function testGetManipulatedData() // Test two relations 'deep' $state->SortColumn = 'Cheerleader.Hat.Colour'; $state->SortDirection = 'asc'; - $relationListC = $compontent->getManipulatedData($gridField, $list); + $relationListC = $component->getManipulatedData($gridField, $list); $state->SortDirection = 'desc'; - $relationListD = $compontent->getManipulatedData($gridField, $list); + $relationListD = $component->getManipulatedData($gridField, $list); $this->assertEquals( ['Cologne', 'Auckland', 'Wellington', 'Melbourne'], diff --git a/tests/php/Forms/GridField/GridFieldTest.php b/tests/php/Forms/GridField/GridFieldTest.php index 8fadeb8f002..cccfda72a15 100644 --- a/tests/php/Forms/GridField/GridFieldTest.php +++ b/tests/php/Forms/GridField/GridFieldTest.php @@ -187,7 +187,7 @@ public function testGetStateData() // for each reference from left to right along an isset() invocation. // See https://bugs.php.net/bug.php?id=62059 - // Check value persistance + // Check value persistence $this->assertEquals(15, $obj->State->NoValue(15)); $this->assertEquals(15, $obj->State->NoValue(-1)); $obj->State->NoValue = 10; @@ -407,8 +407,8 @@ public function testHandleAction() public function testGetCastedValue() { $obj = new GridField('testfield', 'testfield'); - $value = $obj->getCastedValue('This is a sentance. This ia another.', ['Text->FirstSentence']); - $this->assertEquals('This is a sentance.', $value); + $value = $obj->getCastedValue('This is a sentence. This ia another.', ['Text->FirstSentence']); + $this->assertEquals('This is a sentence.', $value); } /** diff --git a/tests/php/Forms/RequiredFieldsTest.php b/tests/php/Forms/RequiredFieldsTest.php index c8aa29fce6b..59b9bddc09c 100644 --- a/tests/php/Forms/RequiredFieldsTest.php +++ b/tests/php/Forms/RequiredFieldsTest.php @@ -108,7 +108,7 @@ public function testRemoveRequiredField() 'AnotherField' ], $requiredFields->getRequired(), - "Removing a non-existant field from required list altered the list of required fields" + "Removing a non-existent field from required list altered the list of required fields" ); } @@ -284,10 +284,10 @@ public function testFieldIsRequired() $requiredFields->fieldIsRequired('ExtraField1'), "Failed to find 'ExtraField1' field in required list after adding it to the list" ); - //check a non-existant field returns false + //check a non-existent field returns false $this->assertFalse( $requiredFields->fieldIsRequired('DoesntExist'), - "Unexpectedly returned true for a non-existant field" + "Unexpectedly returned true for a non-existent field" ); } } diff --git a/tests/php/Forms/TimeFieldTest.php b/tests/php/Forms/TimeFieldTest.php index 95b86787047..15359914405 100644 --- a/tests/php/Forms/TimeFieldTest.php +++ b/tests/php/Forms/TimeFieldTest.php @@ -59,7 +59,7 @@ public function testSetLocale() $f = new TimeField('Time', 'Time'); $f->setHTML5(false); $f->setLocale('fr_FR'); - // TODO Find a hour format thats actually different + // TODO Find an hour format that's actually different $f->setValue('23:59'); $this->assertEquals($f->dataValue(), '23:59:00'); } diff --git a/tests/php/ORM/DBHTMLTextTest.php b/tests/php/ORM/DBHTMLTextTest.php index 4390fb40019..8ab5b8bcdb6 100644 --- a/tests/php/ORM/DBHTMLTextTest.php +++ b/tests/php/ORM/DBHTMLTextTest.php @@ -360,7 +360,7 @@ public function providerContextSummary() /** * @dataProvider providerContextSummary * @param string $originalValue Input - * @param int $limit Numer of characters + * @param int $limit Number of characters * @param string $keywords Keywords to highlight * @param string $expectedValue Expected output (XML encoded safely) */ diff --git a/tests/php/ORM/DataListTest.php b/tests/php/ORM/DataListTest.php index b5d11751025..4b9aa604f31 100755 --- a/tests/php/ORM/DataListTest.php +++ b/tests/php/ORM/DataListTest.php @@ -1955,7 +1955,7 @@ public function testInvalidChunkSize() } /** - * Loop over a chunck list and make sure it matches our expected results + * Loop over a chunk list and make sure it matches our expected results * @param int[] $expectedIDs * @param iterable $chunkList */ diff --git a/tests/php/ORM/DataObjectSchemaTest.php b/tests/php/ORM/DataObjectSchemaTest.php index e8fa1cb3d54..8c18660eb23 100644 --- a/tests/php/ORM/DataObjectSchemaTest.php +++ b/tests/php/ORM/DataObjectSchemaTest.php @@ -66,7 +66,7 @@ public function testTableName() } /** - * Test that the class name is convertable from the table + * Test that the class name is convertible from the table */ public function testClassNameForTable() { @@ -140,7 +140,7 @@ public function testTableForObjectField() $schema->classForField(WithCustomTable::class, 'NotAField') ); - // Non-existant fields shouldn't match any table + // Non-existent fields shouldn't match any table $this->assertNull( $schema->tableForField(BaseClass::class, 'Nonexist') ); diff --git a/tests/php/ORM/DataObjectTest.php b/tests/php/ORM/DataObjectTest.php index 8948a910471..3e509c92cf6 100644 --- a/tests/php/ORM/DataObjectTest.php +++ b/tests/php/ORM/DataObjectTest.php @@ -109,7 +109,7 @@ public function testSingleton($inst, $defaultValue, $altDefaultValue) public function provideSingletons() { - // because PHPUnit evalutes test providers *before* setUp methods + // because PHPUnit evaluates test providers *before* setUp methods // any extensions added in the setUp methods won't be available // we must return closures to generate the arguments at run time return [ @@ -2617,7 +2617,7 @@ public function testDataObjectCreationTypes() ); // Test singleton (DataObject::CREATE_SINGLETON) - // Values are ingored + // Values are ignored $staff = new DataObjectTest\Staff([ 'Salary' => 50, ], DataObject::CREATE_SINGLETON); diff --git a/tests/php/ORM/DataObjectTest/MockDynamicAssignmentDBField.php b/tests/php/ORM/DataObjectTest/MockDynamicAssignmentDBField.php index 25828f9dd5e..c2a297fb0c3 100644 --- a/tests/php/ORM/DataObjectTest/MockDynamicAssignmentDBField.php +++ b/tests/php/ORM/DataObjectTest/MockDynamicAssignmentDBField.php @@ -8,8 +8,8 @@ /** * This is a fake DB field specifically design to test dynamic value assignment. You can set `scalarValueOnly` in - * the constructor. You can control whetever the field will try to do a dynamic assignment by specifing - * `$dynamicAssignment` in nthe consturctor. + * the constructor. You can control whatever the field will try to do a dynamic assignment by specifying + * `$dynamicAssignment` in nthe constructor. * * If the field is set to false, it will try to do a plain assignment. This is so you can save the initial value no * matter what. If the field is set to true, it will try to do a dynamic assignment. diff --git a/tests/php/ORM/DataObjectTest/MockDynamicAssignmentDataObject.php b/tests/php/ORM/DataObjectTest/MockDynamicAssignmentDataObject.php index 1617734cf6e..fc863f512cc 100644 --- a/tests/php/ORM/DataObjectTest/MockDynamicAssignmentDataObject.php +++ b/tests/php/ORM/DataObjectTest/MockDynamicAssignmentDataObject.php @@ -25,7 +25,7 @@ class MockDynamicAssignmentDataObject extends DataObject implements TestOnly // This field tries to emit dynamic assignment but will fail because of scalar only 'DynamicScalarOnlyField' => MockDynamicAssignmentDBField::class . '(1,1)', - // This field does dynamic assignement and will pass + // This field does dynamic assignment and will pass 'DynamicField' => MockDynamicAssignmentDBField::class . '(0,1)', ]; @@ -45,7 +45,7 @@ class MockDynamicAssignmentDataObject extends DataObject implements TestOnly // This field tries to emit dynamic assignment but will fail because of scalar only 'ManyManyDynamicScalarOnlyField' => MockDynamicAssignmentDBField::class . '(1,1)', - // This field does dynamic assignement and will pass + // This field does dynamic assignment and will pass 'ManyManyDynamicField' => MockDynamicAssignmentDBField::class . '(0,1)', ] ]; diff --git a/tests/php/ORM/DatabaseTest.php b/tests/php/ORM/DatabaseTest.php index b0502062187..25fa3deed8e 100644 --- a/tests/php/ORM/DatabaseTest.php +++ b/tests/php/ORM/DatabaseTest.php @@ -143,17 +143,17 @@ public function testGetAndReleaseLock() $this->assertTrue( $db->getLock('DatabaseTest'), - 'Can aquire lock' + 'Can acquire lock' ); - // $this->assertFalse($db->getLock('DatabaseTest'), 'Can\'t repeatedly aquire the same lock'); + // $this->assertFalse($db->getLock('DatabaseTest'), 'Can\'t repeatedly acquire the same lock'); $this->assertTrue( $db->getLock('DatabaseTest'), - 'The same lock can be aquired multiple times in the same connection' + 'The same lock can be acquired multiple times in the same connection' ); $this->assertTrue( $db->getLock('DatabaseTestOtherLock'), - 'Can aquire different lock' + 'Can acquire different lock' ); $db->releaseLock('DatabaseTestOtherLock'); @@ -163,7 +163,7 @@ public function testGetAndReleaseLock() $this->assertTrue( $db->getLock('DatabaseTest'), - 'Can aquire lock after releasing it' + 'Can acquire lock after releasing it' ); $db->releaseLock('DatabaseTest'); } @@ -180,9 +180,9 @@ public function testCanLock() return $this->markTestSkipped('MSSQLDatabase doesn\'t support inspecting locks'); } - $this->assertTrue($db->canLock('DatabaseTest'), 'Can lock before first aquiring one'); + $this->assertTrue($db->canLock('DatabaseTest'), 'Can lock before first acquiring one'); $db->getLock('DatabaseTest'); - $this->assertFalse($db->canLock('DatabaseTest'), 'Can\'t lock after aquiring one'); + $this->assertFalse($db->canLock('DatabaseTest'), 'Can\'t lock after acquiring one'); $db->releaseLock('DatabaseTest'); $this->assertTrue($db->canLock('DatabaseTest'), 'Can lock again after releasing it'); } diff --git a/tests/php/ORM/Filters/SearchFilterApplyRelationTest/HasOneChild.php b/tests/php/ORM/Filters/SearchFilterApplyRelationTest/HasOneChild.php index 49747a1e127..e09d259eff8 100644 --- a/tests/php/ORM/Filters/SearchFilterApplyRelationTest/HasOneChild.php +++ b/tests/php/ORM/Filters/SearchFilterApplyRelationTest/HasOneChild.php @@ -8,7 +8,7 @@ class HasOneChild extends HasOneParent implements TestOnly { private static $table_name = 'SearchFilterApplyRelationTest_HasOneChild'; - // This is to create an seperate Table only. + // This is to create a separate Table only. private static $db = [ "ChildField" => "Varchar" ]; diff --git a/tests/php/ORM/Filters/SearchFilterApplyRelationTest/HasOneGrandChild.php b/tests/php/ORM/Filters/SearchFilterApplyRelationTest/HasOneGrandChild.php index 4692ddf71de..5cf9291aea3 100644 --- a/tests/php/ORM/Filters/SearchFilterApplyRelationTest/HasOneGrandChild.php +++ b/tests/php/ORM/Filters/SearchFilterApplyRelationTest/HasOneGrandChild.php @@ -8,7 +8,7 @@ class HasOneGrandChild extends HasOneChild implements TestOnly { private static $table_name = 'SearchFilterApplyRelationTest_HasOneGrantChild'; - // This is to create an seperate Table only. + // This is to create a separate Table only. private static $db = [ "GrantChildField" => "Varchar", ]; diff --git a/tests/php/ORM/Filters/SearchFilterApplyRelationTest/ManyManyChild.php b/tests/php/ORM/Filters/SearchFilterApplyRelationTest/ManyManyChild.php index 041cce39e31..3b3488b9c5a 100644 --- a/tests/php/ORM/Filters/SearchFilterApplyRelationTest/ManyManyChild.php +++ b/tests/php/ORM/Filters/SearchFilterApplyRelationTest/ManyManyChild.php @@ -8,7 +8,7 @@ class ManyManyChild extends ManyManyParent implements TestOnly { private static $table_name = 'SearchFilterApplyRelationTest_ManyManyChild'; - // This is to create an seperate Table only. + // This is to create a separate Table only. private static $db = [ "ChildField" => "Varchar" ]; diff --git a/tests/php/ORM/Filters/SearchFilterApplyRelationTest/ManyManyGrandChild.php b/tests/php/ORM/Filters/SearchFilterApplyRelationTest/ManyManyGrandChild.php index a3491203abe..c1146330dea 100644 --- a/tests/php/ORM/Filters/SearchFilterApplyRelationTest/ManyManyGrandChild.php +++ b/tests/php/ORM/Filters/SearchFilterApplyRelationTest/ManyManyGrandChild.php @@ -8,7 +8,7 @@ class ManyManyGrandChild extends ManyManyChild implements TestOnly { private static $table_name = 'SearchFilterApplyRelationTest_ManyManyGrandChild'; - // This is to create an seperate Table only. + // This is to create an separate Table only. private static $db = [ "GrantChildField" => "Varchar", ]; diff --git a/tests/php/ORM/TransactionTest.php b/tests/php/ORM/TransactionTest.php index 7c1a02a0c99..8c524e78c6d 100644 --- a/tests/php/ORM/TransactionTest.php +++ b/tests/php/ORM/TransactionTest.php @@ -48,7 +48,7 @@ public function testTransactions() return; } - // Test that successful transactions are comitted + // Test that successful transactions are committed $obj = new TestObject(); $failed = false; $conn->withTransaction( diff --git a/tests/php/Security/MemberTest.php b/tests/php/Security/MemberTest.php index 420bb810212..1b066c0721a 100644 --- a/tests/php/Security/MemberTest.php +++ b/tests/php/Security/MemberTest.php @@ -260,7 +260,7 @@ public function testForgotPasswordEmaling() urldecode($response->getHeader('Location')) ); - // Check existance of reset link + // Check existence of reset link $this->assertEmailSent( "testuser@example.com", null, @@ -327,7 +327,7 @@ public function testValidatePassword() $result = $member->changePassword('withSym###Ls7'); $this->assertTrue($result->isValid()); - // CAN'T USE PASSWORDS 2-7, but I can use pasword 1 + // CAN'T USE PASSWORDS 2-7, but I can use password 1 $result = $member->changePassword('withSym###Ls2'); $this->assertFalse($result->isValid()); @@ -710,7 +710,7 @@ public function testOnChangeGroups() /** @var Member $adminMember */ $adminMember = $this->objFromFixture(Member::class, 'admin'); - // Construct admin and non-admin gruops + // Construct admin and non-admin groups $newAdminGroup = new Group(['Title' => 'newadmin']); $newAdminGroup->write(); Permission::grant($newAdminGroup->ID, 'ADMIN'); diff --git a/tests/php/View/Parsers/HTML4ValueTest.php b/tests/php/View/Parsers/HTML4ValueTest.php index faf19fb4dcf..833b1004776 100644 --- a/tests/php/View/Parsers/HTML4ValueTest.php +++ b/tests/php/View/Parsers/HTML4ValueTest.php @@ -53,7 +53,7 @@ public function testInvalidHTMLTagNames() $this->assertEquals( 'test-link', $value->getElementsByTagName('a')->item(0)->getAttribute('href'), - 'Link data can be extraced from malformed HTML' + 'Link data can be extracted from malformed HTML' ); } } diff --git a/tests/php/View/SSViewerTest.php b/tests/php/View/SSViewerTest.php index 1664ae1c6c1..bf822b0dd0b 100644 --- a/tests/php/View/SSViewerTest.php +++ b/tests/php/View/SSViewerTest.php @@ -945,7 +945,7 @@ public function testIfBlocks() public function testBaseTagGeneration() { - // XHTML wil have a closed base tag + // XHTML will have a closed base tag $tmpl1 = '