mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MNT Fix various typos with codespell (#10177)
This commit is contained in:
parent
27d7c2fe85
commit
552cf5944d
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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:
|
||||
|
@ -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]
|
||||
|
||||
|
||||
|
@ -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
|
||||
<?php
|
||||
|
||||
$record = MyRecord::get()->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*
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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();
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 |
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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());
|
||||
```
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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/)
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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.
|
||||
|
||||
|
@ -190,7 +190,7 @@ Results.PaginationSummary(4) defines how many pages the search will show in the
|
||||
<% if $Results %>
|
||||
<ul>
|
||||
<% loop $Results %>
|
||||
<li>$Title, $Autor</li>
|
||||
<li>$Title, $Author</li>
|
||||
<% end_loop %>
|
||||
</ul>
|
||||
<% else %>
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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]
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
```
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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).
|
||||
|
||||
|
@ -376,7 +376,7 @@ second enum generated will use `<TypeName><FieldName>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
|
||||
|
||||
|
@ -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.
|
||||
|
@ -43,7 +43,7 @@ MyProject\Pages\Blog:
|
||||
title: true
|
||||
author: true
|
||||
categories: true
|
||||
SilverStripe\Securty\Member:
|
||||
SilverStripe\Security\Member:
|
||||
fields
|
||||
firstName: true
|
||||
surname: true
|
||||
|
@ -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:
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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]
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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/
|
||||
```
|
||||
|
||||
|
@ -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
|
||||
|
@ -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. `<h1>$Title</h1>`) 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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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` === `/`
|
||||
<!--- Changes below this line will be automatically regenerated -->
|
||||
|
||||
## Change Log
|
||||
|
@ -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.
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -692,7 +692,7 @@ class Director implements TemplateGlobalProvider
|
||||
}
|
||||
|
||||
/**
|
||||
* 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'
|
||||
|
@ -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 @@ class HTTPRequest implements ArrayAccess
|
||||
* 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
|
||||
|
@ -144,7 +144,7 @@ class HTTPStreamResponse extends HTTPResponse
|
||||
*/
|
||||
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) {
|
||||
|
@ -589,7 +589,7 @@ class HTTPCacheControlMiddleware implements HTTPMiddleware, Resettable
|
||||
/**
|
||||
* 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 @@ class HTTPCacheControlMiddleware implements HTTPMiddleware, Resettable
|
||||
* 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)
|
||||
|
@ -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;
|
||||
|
||||
|
@ -263,7 +263,7 @@ class RSSFeed extends ViewableData
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
@ -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 @@ class RequestHandler extends ViewableData
|
||||
* 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)
|
||||
|
@ -221,7 +221,7 @@ class SimpleResourceURLGenerator implements ResourceURLGenerator
|
||||
// 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];
|
||||
}
|
||||
|
||||
|
@ -69,7 +69,7 @@ class DefaultCacheFactory implements CacheFactory
|
||||
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;
|
||||
|
@ -627,7 +627,7 @@ class Convert
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
@ -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 @@ class CoreKernel implements Kernel
|
||||
public function getEnvironment()
|
||||
{
|
||||
// Check set
|
||||
if ($this->enviroment) {
|
||||
return $this->enviroment;
|
||||
if ($this->environment) {
|
||||
return $this->environment;
|
||||
}
|
||||
|
||||
// Check saved session
|
||||
@ -179,7 +179,7 @@ class CoreKernel implements Kernel
|
||||
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 @@ class CoreKernel implements Kernel
|
||||
"Director::set_environment_type passed '$environment'. It should be passed dev, test, or live"
|
||||
);
|
||||
}
|
||||
$this->enviroment = $environment;
|
||||
$this->environment = $environment;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
@ -77,7 +77,7 @@ class ErrorControlChainMiddleware implements HTTPMiddleware
|
||||
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);
|
||||
}
|
||||
|
||||
|
@ -107,7 +107,7 @@ class ParameterConfirmationToken extends AbstractConfirmationToken
|
||||
}
|
||||
|
||||
/**
|
||||
* Is the parmeter requested in a BackURL param?
|
||||
* Is the parameter requested in a BackURL param?
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
|
@ -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 = '"')
|
||||
|
@ -7,7 +7,7 @@ use SilverStripe\Core\ClassInfo;
|
||||
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?
|
||||
|
@ -158,7 +158,7 @@ if (class_exists(Constraint::class)) {
|
||||
/* -------------------------------------------------
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* -------------------------------------------------
|
||||
*/
|
||||
|
@ -109,7 +109,7 @@ if (!class_exists(PHPUnit_Framework_Constraint::class)) {
|
||||
/* -------------------------------------------------
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* -------------------------------------------------
|
||||
*/
|
||||
|
@ -112,7 +112,7 @@ if (class_exists(Constraint::class)) {
|
||||
/* -------------------------------------------------
|
||||
*
|
||||
* 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
|
||||
*
|
||||
* -------------------------------------------------
|
||||
*/
|
||||
|
@ -13,7 +13,7 @@ use SilverStripe\Core\Manifest\ModuleLoader;
|
||||
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 @@ class DebugView
|
||||
* @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)
|
||||
|
@ -29,7 +29,7 @@ use InvalidArgumentException;
|
||||
* array('MyRelationName' => '=>MyRelatedClass.relation1')
|
||||
* );
|
||||
* </code>
|
||||
* Relation loading is order dependant.
|
||||
* Relation loading is order dependent.
|
||||
*/
|
||||
class FixtureFactory
|
||||
{
|
||||
|
@ -85,7 +85,7 @@ if (class_exists(IsEqualCanonicalizing::class)) {
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
@ -57,7 +57,7 @@ use SilverStripe\View\SSViewer;
|
||||
*
|
||||
* 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 @@ if (class_exists(IsEqualCanonicalizing::class)) {
|
||||
/* -------------------------------------------------
|
||||
*
|
||||
* 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
|
||||
*
|
||||
|
@ -28,7 +28,7 @@ use SilverStripe\View\ArrayData;
|
||||
*
|
||||
* <b>Populate with Array</b>
|
||||
*
|
||||
* Example model defintion:
|
||||
* Example model definition:
|
||||
* <code>
|
||||
* class MyObject extends DataObject {
|
||||
* static $db = array(
|
||||
|
@ -562,7 +562,7 @@ class FieldList extends ArrayList
|
||||
|
||||
/**
|
||||
* 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 @@ class FieldList extends ArrayList
|
||||
|
||||
/**
|
||||
* 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 @@ class FieldList extends ArrayList
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
@ -272,7 +272,7 @@ trait FileUploadReceiver
|
||||
$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;
|
||||
|
@ -356,7 +356,7 @@ class Form extends ViewableData implements HasRequestHandler
|
||||
}
|
||||
|
||||
/**
|
||||
* Flush persistant form state details
|
||||
* Flush persistent form state details
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
@ -923,7 +923,7 @@ class Form extends ViewableData implements HasRequestHandler
|
||||
}
|
||||
|
||||
/**
|
||||
* 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".
|
||||
*
|
||||
|
@ -83,7 +83,7 @@ class GridFieldSortableHeader implements GridField_HTMLProvider, GridField_DataM
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -11,7 +11,7 @@ use SilverStripe\Core\Injector\Injectable;
|
||||
*
|
||||
* 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
|
||||
|
@ -5,7 +5,7 @@ namespace SilverStripe\Forms;
|
||||
/**
|
||||
* Readonly field equivalent for literal HTML
|
||||
*
|
||||
* Unlike HTMLEditorField_Readonly, does not processs shortcodes
|
||||
* Unlike HTMLEditorField_Readonly, does not process shortcodes
|
||||
*/
|
||||
class HTMLReadonlyField extends ReadonlyField
|
||||
{
|
||||
|
@ -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()
|
||||
|
@ -83,7 +83,7 @@ class SingleLookupField extends SingleSelectField
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
@ -244,7 +244,7 @@ class TreeMultiselectField extends TreeDropdownField
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
@ -100,7 +100,7 @@ abstract class DBSchemaManager
|
||||
protected $schemaUpdateTransaction;
|
||||
|
||||
/**
|
||||
* Enable supression of database messages.
|
||||
* Enable suppression of database messages.
|
||||
*
|
||||
* @param bool $quiet
|
||||
*/
|
||||
|
@ -190,7 +190,7 @@ abstract class Database
|
||||
|
||||
/**
|
||||
* 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 @@ abstract class Database
|
||||
}
|
||||
|
||||
/**
|
||||
* Enable supression of database messages.
|
||||
* Enable suppression of database messages.
|
||||
*/
|
||||
public function quiet()
|
||||
{
|
||||
@ -508,7 +508,7 @@ abstract class Database
|
||||
* 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 class Database
|
||||
|
||||
/**
|
||||
* 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 @@ abstract class Database
|
||||
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);
|
||||
|
@ -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
|
||||
*/
|
||||
|
@ -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 @@ class DB
|
||||
}
|
||||
|
||||
/**
|
||||
* Enable supression of database messages.
|
||||
* Enable suppression of database messages.
|
||||
*
|
||||
* @param bool $quiet
|
||||
*/
|
||||
|
@ -1030,7 +1030,7 @@ class DataList extends ViewableData implements SS_List, Filterable, Sortable, Li
|
||||
}
|
||||
|
||||
/**
|
||||
* 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 @@ class DataList extends ViewableData implements SS_List, Filterable, Sortable, Li
|
||||
*
|
||||
* @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)
|
||||
{
|
||||
|
@ -450,7 +450,7 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||
"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 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||
}
|
||||
|
||||
/**
|
||||
* 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 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||
$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 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||
|
||||
/**
|
||||
* 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 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||
* - 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 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||
}
|
||||
}
|
||||
|
||||
// Let any extentions make their own database fields
|
||||
// Let any extensions make their own database fields
|
||||
$this->extend('augmentDatabase', $dummy);
|
||||
}
|
||||
|
||||
@ -3685,7 +3685,7 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||
}
|
||||
}
|
||||
|
||||
// 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 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||
// 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 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||
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.
|
||||
|
@ -18,7 +18,7 @@ interface DataObjectInterface
|
||||
|
||||
/**
|
||||
* 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();
|
||||
|
@ -344,7 +344,7 @@ class DataObjectSchema
|
||||
* @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)
|
||||
{
|
||||
|
@ -170,7 +170,7 @@ class DataQuery
|
||||
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);
|
||||
|
||||
|
@ -63,7 +63,7 @@ class DatabaseAdmin extends Controller
|
||||
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');
|
||||
|
@ -11,7 +11,7 @@ use SilverStripe\ORM\Queries\SQLSelect;
|
||||
* 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:
|
||||
* <code>
|
||||
@ -26,7 +26,7 @@ use SilverStripe\ORM\Queries\SQLSelect;
|
||||
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()}.
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ class DBVarchar extends DBString
|
||||
}
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
|
@ -85,7 +85,7 @@ class HasManyList extends RelationList
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
@ -47,7 +47,7 @@ class PaginatedList extends ListDecorator
|
||||
* 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
|
||||
|
@ -84,7 +84,7 @@ class PolymorphicHasManyList extends HasManyList
|
||||
}
|
||||
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;
|
||||
|
@ -21,8 +21,8 @@ class SQLAssignmentRow
|
||||
*
|
||||
* <code>$assignments['ID'] = ['?' => [1]];</code>
|
||||
*
|
||||
* 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 @@ class SQLAssignmentRow
|
||||
|
||||
|
||||
/**
|
||||
* 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 @@ class SQLAssignmentRow
|
||||
* ]);
|
||||
*
|
||||
* // 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()' => []]
|
||||
* ]);
|
||||
|
@ -578,7 +578,7 @@ abstract class SQLConditionalExpression extends SQLExpression
|
||||
}
|
||||
|
||||
/**
|
||||
* 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 @@ abstract class SQLConditionalExpression extends SQLExpression
|
||||
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) {
|
||||
|
@ -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()' => []]
|
||||
* ]);
|
||||
|
@ -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 @@ class FulltextSearchable extends DataExtension
|
||||
|
||||
/**
|
||||
* @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 = [])
|
||||
{
|
||||
|
@ -235,7 +235,7 @@ class Group extends DataObject
|
||||
'<a href="%s" class="add-role">%s</a>',
|
||||
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')
|
||||
) .
|
||||
"</p>"
|
||||
|
@ -12,7 +12,7 @@ use SilverStripe\Security\RememberLoginHash;
|
||||
use SilverStripe\Security\Security;
|
||||
|
||||
/**
|
||||
* Authenticate a member pased on a session cookie
|
||||
* Authenticate a member passed on a session cookie
|
||||
*/
|
||||
class CookieAuthenticationHandler implements AuthenticationHandler
|
||||
{
|
||||
|
@ -246,7 +246,7 @@ class LostPasswordHandler extends RequestHandler
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
@ -134,7 +134,7 @@ class MemberLoginForm extends BaseLoginForm
|
||||
$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),
|
||||
|
@ -10,7 +10,7 @@ use SilverStripe\Security\AuthenticationHandler;
|
||||
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 @@ class SessionAuthenticationHandler implements AuthenticationHandler
|
||||
$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);
|
||||
|
@ -25,7 +25,7 @@ class PasswordEncryptor_LegacyPHPHash extends PasswordEncryptor_PHPHash
|
||||
|
||||
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));
|
||||
}
|
||||
|
@ -224,7 +224,7 @@ class Permission extends DataObject implements TemplateGlobalProvider, Resettabl
|
||||
$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 @@ class Permission extends DataObject implements TemplateGlobalProvider, Resettabl
|
||||
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 @@ class Permission extends DataObject implements TemplateGlobalProvider, Resettabl
|
||||
*
|
||||
* @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.
|
||||
*/
|
||||
|
@ -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 @@ class Permission_Group
|
||||
* 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.
|
||||
*/
|
||||
|
@ -280,7 +280,7 @@ class Security extends Controller implements TemplateGlobalProvider
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
|
@ -23,7 +23,7 @@ class GenericTemplateGlobalProvider implements TemplateGlobalProvider
|
||||
*/
|
||||
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',
|
||||
|
@ -12,7 +12,7 @@ use DOMDocument;
|
||||
* 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
|
||||
|
@ -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;
|
||||
|
@ -34,7 +34,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.
|
||||
@ -5041,7 +5041,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;
|
||||
|
@ -175,7 +175,7 @@ class SSViewer_DataPresenter extends SSViewer_Scope
|
||||
$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"
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@ namespace SilverStripe\View;
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
@ -173,7 +173,7 @@ class ThemeResourceLoader implements Flushable
|
||||
*
|
||||
* @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 @@ class ThemeResourceLoader implements Flushable
|
||||
* 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)
|
||||
{
|
||||
|
@ -273,7 +273,7 @@ class ViewableData implements IteratorAggregate
|
||||
/**
|
||||
* 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
|
||||
|
@ -20,7 +20,7 @@ use SilverStripe\i18n\Messages\Writer;
|
||||
/**
|
||||
* 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 @@ class i18nTextCollector
|
||||
}
|
||||
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 @@ class i18nTextCollector
|
||||
* 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 @@ class i18nTextCollector
|
||||
}
|
||||
|
||||
/**
|
||||
* Normalizes enitities with namespaces.
|
||||
* Normalizes entities with namespaces.
|
||||
*
|
||||
* @param string $fullName
|
||||
* @param string $_namespace
|
||||
|
@ -5,7 +5,7 @@ namespace SilverStripe\i18n;
|
||||
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
|
||||
|
@ -63,7 +63,7 @@ if (!defined('BASE_PATH')) {
|
||||
$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 @@ if (!defined('TEMP_FOLDER')) {
|
||||
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';
|
||||
|
@ -352,7 +352,7 @@ class CmsUiContext implements Context
|
||||
*/
|
||||
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 @@ SCRIPT
|
||||
*/
|
||||
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));
|
||||
|
@ -122,7 +122,7 @@ class ConfigContext implements Context
|
||||
$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;
|
||||
|
@ -29,7 +29,7 @@ class CookieJarTest extends SapphireTest
|
||||
|
||||
$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
|
||||
|
@ -50,7 +50,7 @@ class CookieTest extends SapphireTest
|
||||
/**
|
||||
* 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 @@ class CookieTest extends SapphireTest
|
||||
//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));
|
||||
|
||||
|
@ -131,7 +131,7 @@ class DirectorTest extends SapphireTest
|
||||
$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));
|
||||
|
||||
|
@ -19,7 +19,7 @@ class HTTPRequestTest extends SapphireTest
|
||||
/* 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));
|
||||
|
@ -213,7 +213,7 @@ class HTTPTest extends FunctionalTest
|
||||
|
||||
$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 @@ class HTTPTest extends FunctionalTest
|
||||
$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(
|
||||
|
@ -96,8 +96,8 @@ class RequestHandlingTest extends FunctionalTest
|
||||
$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",
|
||||
|
@ -44,7 +44,7 @@ class EnvironmentTest extends SapphireTest
|
||||
$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'));
|
||||
|
@ -153,7 +153,7 @@ class CheckboxSetFieldTest extends SapphireTest
|
||||
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 @@ class CheckboxSetFieldTest extends SapphireTest
|
||||
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"'
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -120,7 +120,7 @@ class FileFieldTest extends FunctionalTest
|
||||
}
|
||||
|
||||
/**
|
||||
* 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 @@ class FileFieldTest extends FunctionalTest
|
||||
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 @@ class FileFieldTest extends FunctionalTest
|
||||
|
||||
$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
|
||||
|
@ -124,7 +124,7 @@ class FormScaffolderTest extends SapphireTest
|
||||
|
||||
$this->assertNotNull(
|
||||
$fields->dataFieldByName('Title'),
|
||||
'scaffoldCMSFields() includes explitly defined "restrictFields"'
|
||||
'scaffoldCMSFields() includes explicitly defined "restrictFields"'
|
||||
);
|
||||
$this->assertNull(
|
||||
$fields->dataFieldByName('Content'),
|
||||
|
@ -658,7 +658,7 @@ class FormTest extends FunctionalTest
|
||||
'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()
|
||||
|
@ -411,7 +411,7 @@ class GridFieldDetailFormTest extends FunctionalTest
|
||||
$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');
|
||||
|
||||
|
@ -43,8 +43,8 @@ class GridFieldSortableHeaderTest extends SapphireTest
|
||||
$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('<span class="non-sortable">City</span>', $htmlFragment['header']);
|
||||
@ -77,11 +77,11 @@ class GridFieldSortableHeaderTest extends SapphireTest
|
||||
$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 @@ class GridFieldSortableHeaderTest extends SapphireTest
|
||||
// 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 @@ class GridFieldSortableHeaderTest extends SapphireTest
|
||||
// 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'],
|
||||
|
@ -187,7 +187,7 @@ class GridFieldTest extends SapphireTest
|
||||
// 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 @@ class GridFieldTest extends SapphireTest
|
||||
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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -108,7 +108,7 @@ class RequiredFieldsTest extends SapphireTest
|
||||
'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 @@ class RequiredFieldsTest extends SapphireTest
|
||||
$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"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ class TimeFieldTest extends SapphireTest
|
||||
$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');
|
||||
}
|
||||
|
@ -360,7 +360,7 @@ class DBHTMLTextTest extends SapphireTest
|
||||
/**
|
||||
* @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)
|
||||
*/
|
||||
|
@ -1955,7 +1955,7 @@ class DataListTest extends SapphireTest
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
@ -66,7 +66,7 @@ class DataObjectSchemaTest extends SapphireTest
|
||||
}
|
||||
|
||||
/**
|
||||
* 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 @@ class DataObjectSchemaTest extends SapphireTest
|
||||
$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')
|
||||
);
|
||||
|
@ -109,7 +109,7 @@ class DataObjectTest extends SapphireTest
|
||||
|
||||
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 @@ class DataObjectTest extends SapphireTest
|
||||
);
|
||||
|
||||
// Test singleton (DataObject::CREATE_SINGLETON)
|
||||
// Values are ingored
|
||||
// Values are ignored
|
||||
$staff = new DataObjectTest\Staff([
|
||||
'Salary' => 50,
|
||||
], DataObject::CREATE_SINGLETON);
|
||||
|
@ -8,8 +8,8 @@ use SilverStripe\ORM\FieldType\DBField;
|
||||
|
||||
/**
|
||||
* 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.
|
||||
|
@ -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)',
|
||||
]
|
||||
];
|
||||
|
@ -143,17 +143,17 @@ class DatabaseTest extends SapphireTest
|
||||
|
||||
$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 @@ class DatabaseTest extends SapphireTest
|
||||
|
||||
$this->assertTrue(
|
||||
$db->getLock('DatabaseTest'),
|
||||
'Can aquire lock after releasing it'
|
||||
'Can acquire lock after releasing it'
|
||||
);
|
||||
$db->releaseLock('DatabaseTest');
|
||||
}
|
||||
@ -180,9 +180,9 @@ class DatabaseTest extends SapphireTest
|
||||
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');
|
||||
}
|
||||
|
@ -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"
|
||||
];
|
||||
|
@ -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",
|
||||
];
|
||||
|
@ -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"
|
||||
];
|
||||
|
@ -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",
|
||||
];
|
||||
|
@ -48,7 +48,7 @@ class TransactionTest extends SapphireTest
|
||||
return;
|
||||
}
|
||||
|
||||
// Test that successful transactions are comitted
|
||||
// Test that successful transactions are committed
|
||||
$obj = new TestObject();
|
||||
$failed = false;
|
||||
$conn->withTransaction(
|
||||
|
@ -260,7 +260,7 @@ class MemberTest extends FunctionalTest
|
||||
urldecode($response->getHeader('Location'))
|
||||
);
|
||||
|
||||
// Check existance of reset link
|
||||
// Check existence of reset link
|
||||
$this->assertEmailSent(
|
||||
"testuser@example.com",
|
||||
null,
|
||||
@ -327,7 +327,7 @@ class MemberTest extends FunctionalTest
|
||||
$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 @@ class MemberTest extends FunctionalTest
|
||||
/** @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');
|
||||
|
@ -53,7 +53,7 @@ class HTML4ValueTest extends SapphireTest
|
||||
$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'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -945,7 +945,7 @@ after'
|
||||
|
||||
public function testBaseTagGeneration()
|
||||
{
|
||||
// XHTML wil have a closed base tag
|
||||
// XHTML will have a closed base tag
|
||||
$tmpl1 = '<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'
|
||||
. ' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
Loading…
Reference in New Issue
Block a user