Maxime Rainville
f34f1ec7ee
Update docs/en/02_Developer_Guides/14_Files/01_File_Management.md
...
Co-Authored-By: jinjie <jinjie@swiftdev.sg>
2019-01-10 14:10:07 +08:00
Maxime Rainville
7d23928fde
Update docs/en/02_Developer_Guides/14_Files/01_File_Management.md
...
Co-Authored-By: jinjie <jinjie@swiftdev.sg>
2019-01-10 14:10:02 +08:00
Kong Jin Jie
a3f7aca851
Add documentation for additional file types
2019-01-10 13:16:18 +08:00
Maxime Rainville
728c982de2
DOCS Retroactively apply proposed change to vendor-expose doc
2019-01-09 16:28:40 +13:00
Maxime Rainville
1e01deea39
NEW Make resources dir configurable ( #8519 )
...
* NEW Make resources dir configurable.
* Removing reference to old `resources` and updating doc #8519
* Rrtarget to 4.4 release.
* DOC Reference SS_RESOURCES_DIR in Environment doc.
* API Add a Resources method to SilverStripe\Core\Manifest\Module to read the resources-dir from composer.json
* Clean up reference to SS_RESOURCES_DIR env var
* Set default resources-dir
* Update test to use RESOURCES_DIR const in expected resource url method
* Correcting typos
Co-Authored-By: maxime-rainville <maxime@rainville.me>
* MINOR Correctubg minor typos
* DOCS Document the intricacies of exposing static assets.
2019-01-09 15:35:45 +13:00
Ingo Schommer
783b104039
DOC Clarify testing cache behaviour changes in 4.3
2018-12-18 16:19:36 +13:00
Robbie Averill
79887cbea7
Merge pull request #8585 from zzdjk6/patch-1
...
DOC: Update documentation on `How to extend the CMS interface`
2018-12-12 19:53:18 +00:00
Robbie Averill
466e7cf142
DOCS Fix FCQN in CsvBulkLoader example code
...
[ci skip]
2018-12-06 12:21:08 +00:00
Robbie Averill
5d7c5ffb07
Merge branch '4.3' into 4
2018-12-06 09:40:40 +00:00
Hans Philip Eide
f9cd6d9a15
Update 02_Images.md
...
If the default is that resampling is off, shouldn't the example be that force_resample is set to true to enable resample?
2018-12-01 13:36:52 +01:00
Ed Linklater
cc7aa7b68b
FIX incorrect composer module type
...
Was silverstripe/vendormodule, should be silverstripe-vendormodule
2018-12-01 07:53:21 +13:00
Guy Marriott
32d096d9e5
DOCS Moving interface subscription to the abstract and adding a changelog entry
2018-11-30 15:40:45 +13:00
Guy Marriott
aace1da1f0
DOCS Adding notes on configuring the storage method for GridField_FormActions
2018-11-30 15:40:45 +13:00
Aled Brown
5d15d20f0f
ModelAdmin Menu Icon Class Documentation Added + Namespace Permissions ( #8646 )
2018-11-28 18:23:37 +01:00
Robbie Averill
fa26ead0f6
DOCS Add namespaces to PHP i18n examples, and reference __CLASS__ and self::class as options
2018-11-26 17:15:17 +01:00
Robbie Averill
1f1c344272
Merge branch '4.3' into 4
...
# Conflicts:
# tests/php/Forms/ConfirmedPasswordFieldTest.php
2018-11-26 12:15:17 +01:00
Robbie Averill
41dc9229bf
FIX Reverting ExtensionTestState and Extensible extra methods modifications to prevent PHP 5.6 segfault ( #8581 )
...
* API Revert addition of Extensible::flush_extra_methods_cache() and change to ExtensionTestState
This reverts the changes from #8465 and #8505 that relate to ExtensionTestState and the
tracking of extra methods between unit tests. The existing test from #8465 testing
overloaded Extensions after extra_methods are populated has been updated to show that you
must re-add the extension to flush the extra_methods cache if you need this behaviour.
* Revert change to InjectorTest::testExtendedExtensions
* Revert "Add failing test to show that overloaded extensions are broken in Extensible"
This reverts commit 55e79ffdfd
.
* DOCS Add docs for extending extensions, and upgrade guide note to 4.3 to avoid using PHP config to do so
2018-11-26 12:00:02 +13:00
Aled Brown
ff1a0dd6fc
renderWith Namespace for Template Loading
...
Just calling MyCustomTemplate does not work in SS 4.2.X. Adding the full Namespace as a path is now required.
2018-11-21 15:28:12 +00:00
Guy Marriott
d19c7f2a2d
DOCS Updating HistoryViewer documentation to specify the rollback mutation instead of copyToStage
2018-11-19 14:08:02 +13:00
Andre Kiste
cc712892a9
NEW Port betterbuttons to framework ( #8569 )
...
* MINOR: Add `Previous`, `Next` and `Create New` actions in edit form
If the form is opened via a grid field, the filters will be retained so the previous/next record opened will be correct
* MINOR: Add ability to customise the visibility of the `Previous`, `Next` and `Add` buttons at a `GridField` level
* Fix invalid action when pressing the `New` button in an edit form unless `betterbuttons` module was installed
* - Merge `showPrevious` and `showNext` to `showPagination` for grid fields
- Update documentation
- Improve performance for next/previous buttons by not fetching all list records
- Refactoring
* Refactor to fail gracefully on GridFieldPaginator
2018-11-19 11:06:47 +13:00
Christopher Darling
c186c8ea68
DOCS fix link to XHProf article
2018-11-14 21:56:57 +00:00
Robbie Averill
71eeaa090e
DOCS Add documentation for configuring a HistoryViewerField for custom DataObjects
...
[ci skip]
2018-11-14 14:08:06 +02:00
Robbie Averill
cbea5006b3
DOCS Fix incorrect injector class reference in "replacing the logger"
2018-11-13 11:08:28 +02:00
Robbie Averill
731c865684
DOCS Clarify that the file path in stream logging is relative to index.php folder
2018-11-13 11:08:28 +02:00
Robbie Averill
18293f7afe
FIX Rename pushHandler to pushLogger
2018-11-13 11:08:28 +02:00
Robbie Averill
1faf59fc54
DOCS Update documentation for separated logging interfaces
2018-11-13 11:08:28 +02:00
Robbie Averill
af8d268cc7
DOCS Update documentation for password validation rule configuration
2018-11-13 10:55:26 +02:00
Thor Chen
bda7653ae3
DOC: Fix outdated information and make enhancements for
2018-11-12 18:24:37 +13:00
Sam Minnee
0cc39af382
DOC: Added documentation for strict type changes
2018-11-09 11:08:36 +13:00
Robbie Averill
64c2938c96
Merge branch '4.3' into 4
2018-11-06 11:05:22 +01:00
Michael Strong
55f95b7bc8
BUGFIX many many through not sorting by join table ( #8534 )
...
* BUGFIX many many through not sorting by join table
* #8534 added docs to support many many sorting fix
* #8534 added test cases for many_many default sorting
2018-11-01 14:17:15 +13:00
Michael Strong
7086f2ea3a
BUGFIX many many through not sorting by join table ( #8534 )
...
* BUGFIX many many through not sorting by join table
* #8534 added docs to support many many sorting fix
* #8534 added test cases for many_many default sorting
2018-11-01 13:42:27 +13:00
Andre Kiste
bed1906f73
Fix typo
2018-10-25 15:59:02 +13:00
Daniel Hensby
b47d9abd7c
Merge pull request #8488 from open-sausages/pulls/4/update-pattern-lib-doc
...
MINOR Update doc to explain how to use and build the pattern lib
2018-10-24 17:33:46 +01:00
Aaron Carlino
a3a4f48cb7
MINOR Update doc to explain how to use and build the pattern lib
2018-10-24 16:48:29 +13:00
Maxime Rainville
40e542de2d
DOC Remove buggy example form the _Show Help Text on CMS Form Fields_ article
2018-10-23 16:04:54 +13:00
Robbie Averill
9ceef59e1b
Merge branch '4.3' into 4
2018-10-20 18:31:04 +02:00
Aaron Carlino
3fcbeaddef
Reverse argument signature of pathed query properties
2018-10-18 11:22:51 +13:00
Aaron Carlino
1f6a84bd8b
Add docs for new args/fields API
2018-10-18 11:22:51 +13:00
DorsetDigital
97091db863
Update admin example code
...
Added an additional config block to the example code to set the AdminRootController.url_base config option as well and updated the description.
2018-10-16 11:45:02 +01:00
DorsetDigital
b4201fcf74
Fix example code
...
Add namespace to sample code for updating the CMS url.
Remove code highlighting from links to API
2018-10-16 08:45:24 +01:00
Federico Jaramillo Martínez
8e5ca9be38
Change rule names in array example
2018-10-11 10:12:38 -05:00
Federico Jaramillo Martínez
b9222cf421
Example to override a value that is an array.
...
Add an example for how to override a configuration value that has is array.
2018-10-11 10:09:40 -05:00
John Milmine
1fb4c6f39f
Correcting docs around summary field relabelling
...
Although this is weird that it doesn't use the same logic and searchable fields.
2018-10-11 12:49:32 +01:00
Loz Calver
554c34eff7
DOCS: Add YAML example for including extra JS in the CMS
2018-10-11 12:33:53 +01:00
Maxime Rainville
d68f02ad25
Merge pull request #8393 from sachajudd/pulls/4/document-help-menu
...
DOCS Add docs for CMS help menu links
2018-10-05 14:02:14 +13:00
Sacha Judd
f5b6ce01cf
DOCS Add docs for CMS help menu links
...
[ci skip]
2018-10-04 10:50:57 +13:00
Sebastian Kalicki
9051fb923d
removed http...
2018-10-02 05:19:27 +02:00
Sebastian Kalicki
c6c9ce8fbf
added an http / https switch
2018-10-02 00:10:55 +02:00
DorsetDigital
da38505446
Doc update - add FQCN to example code
...
Add fully qualified classname to aggregate caching example
2018-09-27 10:21:01 +01:00
Carlo1139
748409e61a
Typo in code snippet
...
Changed $ction to $action
2018-09-25 10:35:19 +02:00
Ingo Schommer
a2bb70c46d
FIX Don't flush manifests in tests by default
...
It's massively slowing down test execution,
particularly for rapid execution through test-driven-development (TDD)
2018-09-24 18:12:35 +12:00
Robbie Averill
3b7802bb51
Merge pull request #8388 from sminnee/showqueries-backtrace
...
NEW: Add ?showqueries=backtrace
2018-09-19 11:21:36 +02:00
Sam Minnee
40dde226fd
NEW: Add ?showqueries=backtrace
...
This variant of showqueries will include a backtrace after each query.
This is extremely verbose but can be helpful when diagnosing where
queries have come from.
This is something that I have frequently added as a local hack on my
environment, I figured that exposing it as a formal feature would be
useful.
2018-09-19 14:28:40 +12:00
Luke Edwards
d9d22a2895
Update docs to reflect prop-types change
2018-09-19 10:05:49 +12:00
Luke Edwards
a33866ff4c
Merge pull request #8353 from open-sausages/pulls/4.2/2227-show-link-tracking
...
API: Add Link Tracking section to Relations developer guide
2018-09-13 14:23:34 +12:00
bergice
01db5c9e98
API: Add Link Tracking section to Relations developer guide and describe show_sitetree_link_tracking
, show_file_link_tracking
.
...
Refactor form scaffolder.
2018-09-13 11:02:09 +12:00
Robbie Averill
54ebcc7ae4
DOCS Update references to extending Object in extensions doc
2018-09-12 16:39:59 +02:00
Robbie Averill
093b6b1646
Merge pull request #8369 from jmfederico/patch-2
...
Update 01_Extensions.md - Fix small typo
2018-09-12 16:35:17 +02:00
Federico Jaramillo Martínez
8244fe3a48
Update 01_Syntax.md - Fix How To's links
2018-09-09 15:59:58 -05:00
Federico Jaramillo Martínez
81dc13d2e7
Update 01_Extensions.md - Fix small typo
2018-09-09 15:47:03 -05:00
Federico Jaramillo Martínez
6e2b4c2558
Update 05_Template_Inheritance.md
...
Documentation mentions themes when talking about modules.
2018-09-09 10:07:49 -05:00
Martin D
b1563b73bf
DOCS How to specify textual name with Email::admin_email ( #8337 )
...
* Allow use of display names with SwiftMailer
The syntax to allow display names with SwiftMailer is as follow:
`->setFrom(['john@doe.com' => 'John Doe'])`
Just like you set the `Email.admin_email`, you can set the default sender display name through the `Email.admin_email_displayname` configuration setting.
Refs:
- https://swiftmailer.symfony.com/docs/introduction.html#basic-usage
- https://docs.silverstripe.org/en/4/developer_guides/email/#administrator-emails
* Update Email.php
Simpler code using `Email.admin_email` as an associative array
* Update index.md
Added documentation showing how to add an email display name.
2018-08-29 11:42:12 +12:00
maks
b9922a7314
$has_one docs
...
The ` $has_one` can be used both for `1-to-1` and `many-to-1` relations, depending on how is configured the inverse mapping on the related class. The documentation seems to suggest that `$has_one` implies a `1-to-1` relation, but then it gives an example of a `many-to-1` relationship. Since we are focusing on `$has_one` I would also put the `Player` class before the `Team` class.
2018-08-18 15:06:08 +02:00
Andrew Aitken-Fincham
a97e22c8f1
Update 07_Permissions.md
...
Added `$context` to `canCreate()` to reflect actual method signature.
2018-08-17 13:46:29 +12:00
Robbie Averill
b22f33ae84
Merge branch '4.2' into 4
2018-08-15 13:23:27 +12:00
Robbie Averill
48c6dec47d
Merge branch '4.1' into 4.2
2018-08-15 13:23:07 +12:00
Robbie Averill
1ad2d6535e
Merge branch '4.0' into 4.1
2018-08-15 13:22:46 +12:00
Bernard Hamlin
25c84709f1
Add detail to negation docs
...
I felt the negation docs didn't cover checking if a value was *not* another value and didn't point out that `not` can't be combined with other operators.
[ci skip]
2018-08-15 13:19:35 +12:00
Scott Hutchinson
3bd2cbf199
DOCS indentation on pagination guide [ci skip]
...
For all those copy + paste fiends
2018-08-14 15:36:52 +12:00
Ingo Schommer
2d6964c243
Merge pull request #8261 from open-sausages/pulls/4/secure-remember-me-cookie
...
NEW Option for secure "remember me" cookie
2018-07-31 09:19:15 +12:00
Ingo Schommer
114b0a5ea7
NEW Option for secure "remember me" cookie
...
Fixes #8234
2018-07-30 16:41:49 +01:00
Daniel Hensby
d0598c02c5
Merge branch '4.2' into 4
2018-07-30 11:07:15 +01:00
Loz Calver
ef335a8a30
Update many-many-through docs ( closes #8290 )
2018-07-27 09:30:13 +01:00
Daniel Hensby
ae00147de1
Merge pull request #8280 from open-sausages/pulls/4/simpler-vary-header
...
FIX: Remove X-Requested-With from default Vary header
2018-07-24 01:45:07 +01:00
Ingo Schommer
9300e802f7
Updated caching docs (out of sync with implementation)
...
See https://github.com/silverstripe/silverstripe-framework/issues/8272
2018-07-23 19:09:10 +01:00
Sam Minnee
bde3121a33
FIX: Remove X-Requested-With from default Vary header
...
3.x forward port of https://github.com/silverstripe/silverstripe-framework/pull/8242
2018-07-23 14:18:05 +01:00
Daniel Hensby
ef97164c0a
DOCS Update docs to reflect true config merge priorities
2018-07-23 14:15:25 +01:00
lhasselb
06349f409b
Update 02_Sessions.md
2018-07-21 12:27:12 +02:00
DorsetDigital
4b90bb264a
Add use statement to example
...
Add the relevant 'use' statement to the sample code to remind people that it's needed!
2018-07-16 14:06:28 +01:00
Daniel Hensby
ac5c3416a4
Merge branch '4.2' into 4
2018-07-13 17:06:51 +01:00
Daniel Hensby
bd2abc7a12
Merge branch '4.1' into 4.2
2018-07-13 16:44:23 +01:00
Daniel Hensby
ec9281ee02
Merge branch '4.0' into 4.1
2018-07-13 16:42:00 +01:00
Daniel Hensby
d80ef3d9e6
DOCS Update docs to reflect true config merge priorities
2018-07-13 15:43:56 +01:00
Ingo Schommer
dd9b8c94a5
DOCS Minor versioned edits
...
[ci skip]
2018-07-02 15:55:09 +12:00
Maxime Rainville
6108fbf2b4
Correct typo
2018-07-02 15:41:48 +12:00
Maxime Rainville
e0762d5a95
Complete version doc rewrite.
2018-07-02 15:41:48 +12:00
Maxime Rainville
d0a16bacd2
Documenting how to rollback and restore versioned DataObjects.
2018-07-02 15:41:47 +12:00
Maxime Rainville
81d27fcf9c
Redrafting versioning doc WIP.
2018-07-02 15:41:47 +12:00
Maxime Rainville
bc7ada58b3
Restructure iversioning doc.
2018-07-02 15:41:47 +12:00
Juan Molina
5cd3180e85
Replace broken link to tutorial
2018-06-29 16:03:32 +02:00
Ingo Schommer
259aa06010
DOCS More resilient example domain
...
myapp.com is owned, example.com is specifically reserved for documentation use cases:
https://en.wikipedia.org/wiki/Example.com
[ci skip]
2018-06-26 10:13:36 +12:00
Ingo Schommer
2e1e8e07b9
DOCS Consistent app/ folder and composer use
...
- Stronger wording around "use composer"
- Consistent domain and email address naming
- Removed example for publishing non-composer modules (those shouldn't be encouraged)
- Removed instructions for installing modules from archives
[ci skip]
2018-06-25 10:40:19 +12:00
Ingo Schommer
3b96a2c9ac
DOCS Vendor paths for test docs
...
[ci-skip]
2018-06-25 08:53:57 +12:00
Ingo Schommer
3625b2553d
List deprecated APIs in changelog
2018-06-14 14:13:28 +12:00
Ingo Schommer
4c30c9ac2f
Clarified cases in which forms prevent caching
2018-06-14 14:12:35 +12:00
Ingo Schommer
015b897d82
Link to caching docs from "form security" docs
2018-06-14 10:30:13 +12:00
Ingo Schommer
6008457f3e
Clearer deprecation of HTTP in docs
2018-06-14 10:30:01 +12:00
Daniel Hensby
0b308c871d
DOCS Update doc errors
2018-06-13 15:29:03 +01:00
Damian Mooyman
3ea98cdb13
Migrate documentation from 3.x
2018-06-13 14:50:02 +12:00