Ingo Schommer
d308bb022c
DOCS GraphQL blacklisted fields ( #9768 )
2021-01-14 10:19:24 +13:00
Ingo Schommer
f029680209
Merge pull request #9782 from open-sausages/pulls/4/docs-caching-filesystem
...
DOCS Filesystem capacity issue potential on caches
2021-01-14 09:15:51 +13:00
Ingo Schommer
87cff9c492
Merge pull request #9792 from lerni/patch-1
...
fix indentation in yml example for Resampled image quality
2021-01-14 09:15:26 +13:00
Ingo Schommer
ebce0cc825
Merge pull request #9793 from open-sausages/pulls/4/docs-graphql-getbylink
...
DOCS GraphQL filter plugin
2021-01-14 09:14:51 +13:00
Patrick Nelson
157d426d39
FIX: URL to Symfony cache adapters
...
Fix URL to Symfony cache adapters and also addressing some weird double-bullet formatting.
2020-12-27 19:41:09 -08:00
Martin D
869aaa79ab
DOC Fix FlysystemAssetStore
reference ( #9807 )
...
Fixed `FlysystemAssetStore` namespace in YML configuration
2020-12-22 15:55:45 +13:00
Ingo Schommer
835284fdfe
DOCS GraphQL filter plugin
...
See https://github.com/silverstripe/silverstripe-cms/pull/2620
[skip ci]
2020-12-08 13:50:01 +13:00
Ingo Schommer
a9f9de167a
Merge pull request #9777 from unclecheese/pulls/4/plugin-away
...
DOCS: Document new stateless plugins
2020-12-08 10:17:47 +13:00
Lukas
61afab2ed8
fix indentation
2020-12-07 12:08:31 +01:00
Aaron Carlino
fe972d62d5
DOCS: Document new schema config, change to resolver discovery pattern ( #9781 )
2020-12-01 21:27:52 +13:00
Ingo Schommer
40d19d04ec
DOCS Filesystem capacity issue potential on caches
...
Context: https://github.com/silverstripe/silverstripe-framework/issues/6678
2020-11-25 17:05:33 +13:00
Christopher Darling
154fb70468
DOCS replace broken Director link to Routing
2020-11-19 17:53:31 +00:00
Aaron Carlino
e69cfd152e
DOCS: Document new stateless plugins
2020-11-19 13:27:08 +13:00
Scott Hutchinson
bdb2deb3f5
DOCS Update HistoryViewerField to require javascript more consistently ( #9773 )
2020-11-16 13:56:50 -08:00
wernerkrauss
f673996aa0
DOCS Fix classname reference in SearchContext docs ( #9771 )
...
`static::class` is also used by `DataObject::getDefaultSearchContext()`.
2020-11-16 10:34:15 +13:00
Steve Boyd
f21515e0b1
Merge branch '4.7' into 4
2020-11-12 15:13:46 +13:00
James Cocker
37a5c9af15
01_Error_Handling: % wrapped in quotes
...
Ensures % wrapped in quotes for Silverstripe 4.7 support
2020-11-06 16:08:53 +00:00
Steve Boyd
4d0dc9176b
DOC Document nullable DataObject in used on table extension guide ( #9755 )
2020-11-04 12:15:26 +13:00
Steve Boyd
3cde64a7aa
DOC Document the file usage table
...
Co-authored-by: Bryn Whyman <bryn.whyman@silverstripe.com>
2020-11-03 14:24:42 +13:00
Aaron Carlino
51b4a76bd8
Graphql doc fix
2020-11-01 13:10:10 +13:00
Aaron Carlino
c1cda2b113
WIP: Add new graphql 4 docs ( #9652 )
...
* DOCS: Add new graphql 4 docs
* Reorganise docs
* Docs done
* Basic graphql index page
* TOC for getting started
* show folders on graphql index page
* Add middleware note
* Docs update
* Update docs to reflect flushless schema
* Docs updates
* Docs for getByLink
* Query caching docs
* Docs on nested operations
* update docs for new graphql dev admin
* Docs for configurable operations
* Replace readSiteTrees with readPages
* Schema defaults docs
* Docs for inherited plugins
* Docs for customising *
* Docs for field whitelisting
* Change whitelist word
* New docs on modelConfig
* Document dev/build extension
* Document default/global plugins
* Document new input type fields config
* Apply suggestions from code review
Co-authored-by: Andre Kiste <bergice@users.noreply.github.com>
* Note about when procedural schema gets built
* Fix link
* Apply suggestions from code review
Co-authored-by: Andre Kiste <bergice@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Andre Kiste <bergice@users.noreply.github.com>
* DOCS Note about plugins in custom queries
* DOCS Note about filter and custom resolvers
* DOCS Note about canview paging
* DOCS Updated guidance on _extend
See https://github.com/silverstripe/silverstripe-graphql/issues/296
* Apply suggestions from code review
Co-authored-by: Andre Kiste <bergice@users.noreply.github.com>
* DOCS Pre-release warning
Co-authored-by: Ingo Schommer <ingo@silverstripe.com>
Co-authored-by: Andre Kiste <bergice@users.noreply.github.com>
Co-authored-by: Ingo Schommer <me@chillu.com>
2020-10-20 10:56:17 +13:00
Ingo Schommer
fee31c2c6c
DOCS Recommend moving .protected out of webroot
...
Note that it's currently unclear whether Silverstripe Cloud or CWP support this,
but it shouldn't block us from recommend this in the open source project.
It's documented in the "server requirements", which should make it pretty
clear that this requires you to have control over server configuration (or check with those that have).
See https://github.com/silverstripe/silverstripe-framework/issues/7710
2020-10-15 17:08:37 +13:00
Serge Latyntcev
c2d8d2790f
DOC Document partial template caching aggregates recommendation
2020-10-05 11:29:19 +13:00
Guy Marriott
478d487f0e
Merge pull request #9707 from robbieaverill/pulls/4.7/exceptions
2020-10-01 17:16:43 -07:00
Dylan Grech
effe5c2e6f
#9706 : Updated doc for case-sensitive filter ( #9710 )
...
* #9706 : Updated doc for case-sensitive filter
* #9706 : Updated doc for case-sensitive filter
Co-authored-by: Dylan Grech <dylangrech@innovativecodes.com>
2020-09-26 10:02:21 +12:00
Robbie Averill
27bd5d12e3
ENH Replace E_USER_ERROR errors with exceptions
2020-09-24 23:51:21 -07:00
RuthAdele
4e22277c69
Add namespacing to YAML example
2020-09-25 13:58:12 +09:30
Michael Pritchard
86702f0ad4
Updated 00_Unit_Testing.md ( #9699 )
2020-09-18 14:13:08 +01:00
Garion Herman
a712000404
Merge pull request #9682 from silverstripe-terraformers/feature/partial-cache-docs
...
DOCS: Example of partial cache expiry setting.
2020-09-16 15:49:50 +12:00
RuthAdele
bd2f017557
Update 02_Pagination.md
...
Adding commonly used $FirstItem and $LastItem to the Template Variables list.
2020-09-14 21:26:33 +09:30
cloph
13725d2f92
DOC HistoryViewer: explain "magic names" ( #9670 )
...
DOC HistoryViewer: explain "magic names"
GraphQL scaffolding uses names consisting of the first part of the namespace and the classname, but to inject it to the HistoryViewer field you need to use the database table name.
Co-authored-by: Steve Boyd <emteknetnz@gmail.com>
2020-09-12 12:56:23 +12:00
Mojmir Fendek
2c1cb79156
DOCS: Example of partial cache expiry setting.
2020-09-11 08:58:44 +12:00
Serge Latyntcev
d9c0b079d1
DOC Fix Partial Template Cache documentation header
2020-09-10 12:58:16 +12:00
Jackson Darlow
2753f823ee
DOC Added a tip to docs describing how to set a cookie for less than a day ( #9552 )
...
DOC Added a tip to docs describing how to set a cookie for less than a day
Co-authored-by: Garion Herman <garion@silverstripe.com>
2020-09-10 12:34:33 +12:00
Steve Boyd
589631df00
Merge pull request #9280 from open-sausages/pulls/4/doc-breadcrumb
...
DOC Update breadcrumb template in theme rather than app.
2020-09-10 09:48:23 +12:00
Serge Latyntcev
e632ee3e52
DOC Update Partial Template Cache documentation
...
- create a new documentation section explaining the "cached" block
- clean up the Performance documentation section,
moving explanations about "cached" block away,
adding new warnings and recommendations
2020-09-07 13:45:08 +12:00
Maxime Rainville
4ee7102761
DOC Update breadcrumb template in theme rather than app.
2020-09-02 13:23:24 +12:00
Jackson Darlow
699913406b
NEW Added a dev view to output the current config from dev/config ( #9542 )
...
* #3236 Added dev/config view
* Refactored use of echo to
* Added config/audit for matching missing property definitions in the current config
* Minor enhancements to dev/config implementation
2020-08-28 07:19:03 +12:00
Ingo Schommer
bffb7e2577
Revert "DOCS MFA authentication"
...
Underlying feature isn't merged yet,
see https://github.com/silverstripe/silverstripe-installer/issues/280
Revert "Update docs/en/02_Developer_Guides/09_Security/03_Authentication.md"
This reverts commit 72a02a3d0e
.
Revert "Update docs/en/02_Developer_Guides/09_Security/03_Authentication.md"
This reverts commit c54f8e4864
.
Revert "DOCS MFA authentication"
This reverts commit 5fe5833fb2
.
2020-08-20 18:40:59 +12:00
Ingo Schommer
f8b4570cb1
DOCS MFA authentication ( #9536 )
...
See https://github.com/silverstripe/silverstripe-installer/issues/280
2020-08-20 18:33:36 +12:00
Ingo Schommer
72a02a3d0e
Update docs/en/02_Developer_Guides/09_Security/03_Authentication.md
...
Co-authored-by: Serge Latyntsev <dnsl48@gmail.com>
2020-08-20 18:32:57 +12:00
Ingo Schommer
c54f8e4864
Update docs/en/02_Developer_Guides/09_Security/03_Authentication.md
...
Co-authored-by: Serge Latyntsev <dnsl48@gmail.com>
2020-08-20 18:32:39 +12:00
Maxime Rainville
9f94c739c1
DOC Correct the example for getters/setters
2020-08-06 10:15:14 +12:00
Robbie Averill
821ef9559a
Merge pull request #9618 from open-sausages/pulls/4/docs-hostname
...
DOCS HTTP header in server requirements
2020-07-29 10:44:29 -07:00
Ingo Schommer
b6169a87c2
DOCS HTTP header in server requirements
2020-07-29 14:28:20 +12:00
Robbie Averill
84b4057a9a
Merge pull request #9406 from chrispenny/feature/standardise-get-cms-validator
...
v4 improvement: Standardise getCMSValidator for DataObjects/Forms
2020-07-16 15:58:33 -07:00
Aaron Carlino
f13c928b14
Fix _images pathing
2020-07-15 11:32:38 +12:00
Damen Hansen
d5893bf23c
Update 01_File_Management.md
...
Changed very small typo in setAllowedExtensions. Changed Extensiones to Extensions.
2020-07-13 14:20:27 +12:00
Garion Herman
d408a4e714
Merge branch '4.6' into 4
2020-07-13 12:28:14 +12:00
Garion Herman
fbe0f5a981
Merge branch '4.5' into 4.6
2020-07-13 12:27:02 +12:00
Maxime Rainville
0eb476916d
DOC Explain how to implement a custom QueryPermissionChecker
2020-07-10 17:59:49 +12:00
scttw
34f5004b26
Update 04_Rendering_Templates.md
...
The method of including a Layout template into a full template file isn't documented, and isn't intuitive especially if you have come from the SS3 way of doing it via $this->customise($data)->renderWith(['MyCustomTemplate', 'Page']); Adding this as an example will help people add layout templates to Controller actions, and form responses where a custom layout needs to inherit it's parent template.
2020-07-08 16:15:32 +10:00
Maxime Rainville
87c041b92d
DOC Add extra information on how to customise a file HTTP response
...
* DOC Add extra information on how to customise an file HTTP response
* Apply suggestions from code review
Co-authored-by: Robbie Averill <robbie@averill.co.nz>
2020-06-30 15:54:42 +12:00
James Cocker
b4a3cc700a
Fixes getCMSFields TabSet example
...
Current example results in: "[Emergency] Uncaught InvalidArgumentException: TabSet can only contain instances of other Tab or Tabsets"
2020-06-29 16:37:26 +01:00
Loz Calver
64688dbc10
Merge pull request #9563 from shoosah/patch-1
...
Update 02_HTTP_Cache_Headers.md
2020-06-29 09:46:28 +01:00
Sherry Shahbazi
04872742eb
Update 02_HTTP_Cache_Headers.md
2020-06-29 15:54:17 +12:00
mr-macedawg
d7885adf34
Update 09_Casting.md
...
Changed SS_DateTime to DBDatetime as SS_DateTime was changed to DBDateTime in version 4.0
2020-06-29 12:15:01 +10:00
Sam Minnée
714c4cba9c
Merge pull request #9546 from andrewandante/feature/disambiguate_first_methods_on_lists
...
deprecate First and Last in order to disambiguate for array lists
2020-06-23 14:46:29 +12:00
Guy Marriott
4df45f4fe0
Merge pull request #9550 from jakxnz/pulls/4/docs-regarding-cached-get-ones
...
Added documentation regarding some cached ORM scenarios
2020-06-17 09:04:07 -07:00
Jackson Darlow
6813c0f7e8
Added documentation regarding some cached ORM scenarios
2020-06-17 17:17:04 +12:00
Andrew Aitken-Fincham
7c95237e8d
update template docs, move deprecation to 5.0, capitalise Is
2020-06-15 12:25:13 +01:00
Jackson Darlow
ae1a883b32
Added mention of Session.timeout to secure_coding docs
2020-06-12 14:43:37 +12:00
Ingo Schommer
5fe5833fb2
DOCS MFA authentication
...
See https://github.com/silverstripe/silverstripe-installer/issues/280
2020-06-04 08:46:34 +12:00
cpenny
d4165db690
Update getter name to getCMSCompositeValidator
2020-05-28 12:23:35 +12:00
cpenny
bca4be77ed
Update name to CompositeValidator. Add docblocks
2020-05-28 11:18:46 +12:00
cpenny
11e2005b9b
Add deprecation notice for 4.6 and update docs
2020-05-28 11:18:46 +12:00
Indy Griffiths
63fd20093e
DOCS fix incorrect Injector YAML examples
2020-05-26 22:30:01 +12:00
Maxime Rainville
a24a923d0c
DOC Create dedicated article about limiting allowed file types ( #9505 )
2020-05-20 20:36:51 +12:00
Michal Kleiner
21129b1624
Use short array syntax across the framework's codebase
2020-05-16 10:34:45 +01:00
Maxime Rainville
10efe79b93
DOC Explain how to configure a low level application middleware ( #9504 )
2020-05-07 11:22:32 +12:00
Mojmir Fendek
7dc6b36c16
Unique key for DataObject ( #9400 )
...
NEW Unique key for DataObject
2020-05-04 09:10:51 +12:00
Dustin Quam
e344b66dbe
Fixed broken link to the module creation docs
2020-05-01 12:19:32 -05:00
Robbie Averill
8bd9f48669
Merge pull request #9501 from mattclegg/1588075087
...
DOCS: Fix typos & grammer
2020-04-28 09:42:03 -07:00
mattclegg
76bc7524a7
DOCS: Fix typos & grammer
2020-04-28 17:50:39 +05:45
Serge Latyntcev
cb36aab80c
Merge branch '4.5' into 4
2020-04-15 14:49:19 +12:00
Serge Latyntcev
a9c05f3287
Merge branch '4.4' into 4.5
2020-04-15 14:48:59 +12:00
Serge Latyntcev
cf898a2672
Merge branch '4.3' into 4.4
2020-04-15 14:47:59 +12:00
Maxime Rainville
7da77be5ce
Merge branch '4.5' into 4
2020-04-15 08:22:27 +12:00
Maxime Rainville
de8fd82c55
Merge branch '4.4' into 4.5
2020-04-14 14:18:18 +12:00
Serge Latyntcev
eaa69530be
DOC CMS 3.x file migration section about versioned files
2020-04-14 10:53:21 +12:00
mattclegg
6a640f1498
DOCS: Example should show how to disable VersionedGridfieldDetailForm as it's enabled by default
2020-04-13 17:34:55 +05:45
Maxime Rainville
4b0345bee7
DOC Explain how to use the new file migation sub tasks in the 4.4.6/4.5.2 changelogs
2020-04-13 17:16:29 +12:00
Loz Calver
f1c74c3570
Merge pull request #9415 from botzkobg/4
...
Form validation should throw ValidationException
2020-04-08 09:33:20 +01:00
tdenev
1d85981537
Refactoring the form validation in the action to be more readable and in the SS standards based on the code review
2020-04-07 22:46:32 +01:00
tdenev
d6fc7fe804
Fix issue with the GridField documenation - many_many_extraFields code example
2020-04-05 18:53:21 +01:00
Dan Hensby
5bf2ac83ee
Merge branch '4.5' into 4
2020-04-01 19:23:47 +01:00
Loz Calver
5952a7ce71
Merge pull request #9444 from mattclegg/docs-13_i18n
...
[DOCS] Example should be valid YAML
2020-03-27 16:34:40 +00:00
mattclegg
ba3deb9b72
[DOCS] Example should be valid YAML
2020-03-27 20:31:25 +05:45
Daniel Hensby
1fb574a5bd
NEW: Variadic URL parameter matches for url_handlers ( #9438 )
...
* Add wildcard URL parameter matches for url_handlers
* Extra tests for wildcard parameters
* Add a PHP warning if more params appear after wildcard param
2020-03-25 09:16:13 +13:00
Robbie Averill
5002f514b3
FIX Capitalisation fixes in welcome back message ( #9439 )
2020-03-23 15:54:30 +13:00
Garion Herman
8be411541d
Merge pull request #9430 from mattclegg/patch-3
...
[DOCS] Update link to reactjs_redux_and_graphql
2020-03-16 17:15:52 +13:00
Matt Clegg
101c189c16
[DOCS] Missing line termination in example
2020-03-14 15:19:17 +05:45
Matt Clegg
ecb4cd889e
[DOCS] Update link to reactjs_redux_and_graphql
2020-03-13 14:28:23 +05:45
Serge Latyntcev
335cc1245e
DOC TagsToShortcodeTask name typo fixed in the File migration guide
2020-03-03 13:55:05 +13:00
botzko
a1f0f2f45d
Form validation should throw ValidationException instead of calling unexisting method "addErrorMessage()"
2020-02-21 23:55:38 +00:00
Zubair
9733060d1c
Fix Related section at bottom of document
2020-02-21 09:53:57 -05:00
Tyler Trout
b7391fd34f
Update 02_FixtureFactories.md
...
- Removed duplicate `use SilverStripe\Core\Injector\Injector;`
- Changed $myPageObj to $MyObjectObj
2020-02-17 16:49:52 -05:00
Maxime Rainville
affd43052a
Merge branch '4.5' into 4
2020-02-17 18:11:23 +13:00
Maxime Rainville
acd7d94167
Merge branch '4.4' into 4.5
2020-02-17 13:07:26 +13:00
Serge Latyntcev
ad1b00ec7d
[CVE-2019-19325] XSS through non-scalar FormField attributes
...
Silverstripe Forms allow malicious HTML or JavaScript to be inserted
through non-scalar FormField attributes, which allows performing XSS (Cross-Site Scripting)
on some forms built with user input (Request data). This can lead to phishing attempts
to obtain a user's credentials or other sensitive user input.
There is no known attack vector for extracting user-session information or credentials automatically,
it required a user to fall for the phishing attempt.
XSS can also be used to modify the presentation of content in malicious ways.
2020-02-17 09:58:29 +13:00
Guy Marriott
c31de772ab
Merge pull request #8838 from creative-commoners/pulls/4/slash-means-root
...
Use '/' as an alternative designation for root in routing
2020-02-14 11:29:32 -08:00
Garion Herman
29943f9049
API TestSession request methods now use the correct HTTP method ( #8987 )
...
* API TestSession request methods now use the correct HTTP method
* DOCS Update requests section in Functional Testing to reflect API change
2020-02-14 16:01:06 +13:00
Garion Herman
be71f34cac
DOCS Add documentation covering Root URL Handler behaviour
2020-02-14 14:41:10 +13:00
Benjamin Blake
7c32a848aa
Updated the "Template Syntax" Documentation
...
Added a notice to the "Variables" section of the "Template Syntax" documentation to warn developers about common template variable gotchas
2020-01-27 15:18:40 -07:00
Valentino Pesce
24c28e4457
Docs: Fix link to Middleware not found
...
Fix link to Middleware not found in page Rate Limiting
2020-01-25 19:21:15 +01:00
Robbie Averill
a98a2d9c7f
Merge pull request #9379 from tiller1010/patch-1
...
Update to link
2020-01-24 12:41:44 -08:00
Loz Calver
87ad14dad3
Merge pull request #9371 from Greg808/patch-1
...
added addExtraClass
2020-01-24 09:20:16 +00:00
Tyler Trout
4a1c91f91d
Update to link
...
Clicking "ReactJS in SilverStripe" on https://docs.silverstripe.org/en/4/developer_guides/customising_the_admin_interface/cms_layout/ directs to 404.
2020-01-20 09:47:43 -05:00
Valentino Pesce
0c5fda2003
Docs: Fix route that doesn't exist
2020-01-19 19:03:35 +01:00
Aaron Carlino
681ed4f78a
DOC: Fix unterminated injector callout block
2020-01-17 10:47:16 +13:00
Greg808
67725fe271
added addExtraClass
...
I am not quiet sure if this is needed but if you want to only add the custom action to the GridField action menu than you need to add the extra classes otherwise it would add it to the action menu and to the gridfield.
2020-01-13 13:05:39 +01:00
Benjamin Blake
7ca70d353b
Updated "Extensions and DataExtensions" Docs
...
Updated the new notice to make it use more imperative language (credit @NightJar)
2020-01-12 15:22:00 -07:00
Benjamin Blake
61af8b00ab
Updated "Extensions and DataExtensions" docs
...
Corrected a typo and add more information to hopefully clarify the text.
2020-01-12 14:56:55 -07:00
Benjamin Blake
74f7606080
Updated "Extensions and DataExtensions" Docs
...
Added a notice to the "Owner" section that will remind developers of the limitations of the owner system when it comes to private and protected properties and methods
2020-01-12 14:47:28 -07:00
Garion Herman
6229d014e0
Merge pull request #9363 from conny-nyman/docs/search_filters
...
DOC Updated search filter modifiers documentation
2020-01-13 08:49:12 +13:00
Conny Nyman
2bd5f8cbcf
DOC Updated search filter modifiers documentation to mention that they only work on data lists
2020-01-11 11:09:24 +02:00
Ingo Schommer
c61881a4c0
DOCS Clearer create module instructions ( #9365 )
...
* DOCS Clearer create module instructions
Incl. link to skeleton
* Update docs/en/02_Developer_Guides/05_Extending/00_Modules.md
Co-Authored-By: Garion Herman <garion@silverstripe.com>
Co-authored-by: Garion Herman <garion@silverstripe.com>
2020-01-08 10:41:28 +13:00
Valentino Pesce
c8c1c86d70
FIX: module link "recaptcha" not found
2019-12-23 15:38:27 +01:00
Andrew Aitken-Fincham
910f5efbf2
fix markdown tables for url variables documentation
2019-12-19 10:54:45 +00:00
Tristan
aad33e36d7
Change from "Team" to Team::class
...
To be consistent with the rest of the doc
2019-11-28 11:34:41 +13:00
Nicolaas
d1fc27d03a
MINOR: clearer distinction between class names and actual names
2019-11-26 15:57:45 +13:00
Stevie Mayhew
8e27a4f978
Merge pull request #9334 from open-sausages/pulls/4/doc-gridfield-protected-method
...
DOC Explain how to use the new protected getGridField and getGridFieldConfig methods on ModelAdmin
2019-11-26 07:45:55 +13:00
Loz Calver
f4713d95f6
Merge pull request #9333 from creative-commoners/pulls/4/canonicalurlmiddleware-docs
...
DOCS Add note about applying forceSSL to non-live environments
2019-11-25 11:37:30 +00:00
Maxime Rainville
b21c69d814
DOC Explain how to use the new protected getGridField and getGridFieldConfig methods on ModelAdmin
2019-11-25 12:41:24 +13:00
Garion Herman
bf38997b6e
DOCS Add note about applying forceSSL to non-live environments
2019-11-25 12:14:26 +13:00
Aaron Carlino
e520a2b990
Fix broken callout tags
2019-11-19 13:53:43 +13:00
Ingo Schommer
cca6d8e1be
DOCS Remove archive download references ( #9250 )
...
See https://github.com/silverstripe/silverstripe-framework/issues/9232 .
Also simplifies composer instructions a bit:
- Removes composer update --no-dev references, that's a bit of an edge case that people can just discover on getcomposer.org if they need it
- Changed example from the unused and oudated silverstripe/forum to silverstripe/blog
- Updated example versions to 4.x
- Remove "updating composer" section, it now tells you if its out of date
- Remove ss-auto-git-ignore module reference. The module hasn't been updated in ages, and it's much less necessary now that all relevant modules are on composer
- Add .env example config to getting started docs, I didn't realise it was stripped from the default --prefer-dist composer install
2019-11-18 20:02:00 +13:00
Aaron Carlino
6888901468
NEW: Update docs to be compliant with Gatsby site ( #9314 )
...
* First cut
* Temporarily disable composer.json for netlify build
* POC
* New recursive directory query, various refinements
* Fix flexbox
* new styled components plugin
* Apply frontmatter delimiters
* Mobile styles, animation
* Search
* Redesign, clean up
* Nuke the cache, try again
* fix file casing
* Remove production env file
* ID headers
* Move app to new repo
* Add frontmatter universally
* Hide children changelogs
* Add how to title
* New callout tags
* Revert inline code block change
* Replace note callouts
* Fix icons
* Repalce images
* Fix icon
* Fix image links
* Use proper SQL icon
2019-11-18 17:58:33 +13:00
DorsetDigital
999d277311
Change example domains
...
The current examples use an actual, real-world domain. Have changed to the 'example.com' domain, reserved by IANA for this kind of purpose.
2019-11-14 08:35:08 +00:00
DorsetDigital
7e361b6127
Doc: Remove old reference to theme
...
Update siteconfig doc to remove reference to setting the current theme.
2019-11-09 10:28:05 +00:00
Mojmir Fendek
e2bea6b41f
API Add withConfig
method ( #9011 )
...
* With config functionality added.
* Update docs/en/02_Developer_Guides/04_Configuration/00_Configuration.md
2019-10-31 16:12:04 +13:00
Serge Latyntsev
bd2ccf70fa
Merge pull request #9282 from open-sausages/pulls/4/docs/clarify-basic-auth
...
DOCS Clarify BasicAuth limitations
2019-10-22 14:01:51 +13:00
Maxime Rainville
e59625fe5a
NEW Add ability to define image size preset for the TinyMCE editor. ( #9276 )
...
* NEW Add ability to define image size preset for the TinyMCE editor.
* DOC Explain how to define image size pre-sets
2019-10-22 11:50:28 +13:00
jeremy
7900d2aeb1
Update docs/en/02_Developer_Guides/06_Testing/00_Unit_Testing.md
...
Better worded
Co-Authored-By: Robbie Averill <robbie@averill.co.nz>
2019-10-18 11:23:44 +11:00
jeremy
1197b94415
Update Test documentation about database behaviours
...
This update is based on what I have experienced and this conversation on Slack https://silverstripe-users.slack.com/archives/C6PLF83H9/p1571281365001600
2019-10-18 10:38:23 +11:00
Ingo Schommer
8dcda91538
DOCS Clarify BasicAuth limitations
2019-10-10 10:41:39 +13:00
Serge Latyntcev
7dfc35d204
DOC Fix the required NodeJS version for CMS custamisation
2019-10-01 14:27:23 +13:00
Loz Calver
daf995da63
Fix syntax error in DataList docs
2019-09-30 09:36:12 +01:00
Maxime Rainville
d7f5ed3e65
DOC Substituce old apache syntax for Require
2019-09-25 16:59:48 +12:00
Garion Herman
637a891b8c
DOC Include link to semver.org in modern JS / GQL warning
2019-09-25 11:22:04 +12:00
Garion Herman
3db0fa46b5
DOC Add warning about Semver status of modern JS / GraphQL tooling
2019-09-25 10:26:06 +12:00
Christopher Darling
c8f274de80
DOCS fix DataList::exclude() code example
2019-09-15 20:34:18 +01:00
Robbie Averill
b8e81983b9
DOCS Update PSR-12 compliance in GridField_ActionProvider docs code examples
...
[ci skip]
2019-09-13 18:09:10 -07:00
Robbie Averill
ed47f43133
Merge pull request #9169 from jakxnz/patch-1
...
Update 04_Create_a_GridField_ActionProvider.md
2019-09-13 18:05:51 -07:00
Ingo Schommer
229df95fe9
DOCS Warning about protected file serving in 4.x
2019-09-13 18:01:44 -07:00
Andre Kiste
75cd9dc944
Merge pull request #9202 from open-sausages/pulls/4/document-ss32-variant-migration
...
DOC Explain how to mgirate SS3.2 variants
2019-09-11 11:47:28 +12:00
Matt Peel
7083f016c1
Update secure coding standards
...
As of SS4.0.0 and the introduction of TrustedProxyMiddleware, the default now if no trusted proxies are defined is that nothing is a trusted proxy, whereas in SS3 a missing declaration was treated as everything being allowed.
2019-09-10 12:55:24 +12:00
Andre Kiste
23719af2a1
Apply suggestions from code review
...
Typos
2019-09-09 13:36:53 +12:00
Maxime Rainville
c165561580
Fix typos
...
Co-Authored-By: Robbie Averill <robbie@averill.co.nz>
2019-09-09 09:06:40 +12:00
Ingo Schommer
ca5b1cbf61
DOCS Rewrite server requirements
...
* Remove overly specific PHP RNG instructions (that's just built into PHP7 through random_bytes now, which will throw if no suitable RNG is available)
* Remove PHP 5 RNG requirements, since we don't support that PHP release any mre
* Remove verbose explanation of PHP 5.6 support
* Remove conflicting instructions for PHP memory limits
* Remove version numbers from supporetd databases other than MySQL, it's up to the community modules to define that
* Remove Oracle support (code is nine years old!)
* Make "community supported" status clearer on databases, people can draw their own conclusions as open source users on Github
* Remove IIS version number, I think we should just stick to "needs web.config" and not give the impression that this is actively tested
* Remove mention of OSes for web servers, that's kind of irrelevant in today's hosting world (containers, PaaS, etc)
* Shorten install instructions in favour of a "quickstart" and point to lessons instead
* Remove mention of archive download option, we really shouldn't promote this - composer is the de-facto standard
* Add generic descriptions of the hosting environment considerations without going too much into specifics
* Remove Apache version number, we don't test on different versions, and really mostly rely on mod_rewrite working properly. Laravel does the same (doesn't claim specific Apache version support)
2019-09-03 18:38:15 +12:00
Serge Latyntsev
296dc6a489
DOC Fix versioned snapshot image markdown ( #9209 )
2019-09-02 13:29:08 +12:00
Maxime Rainville
534e59faad
DOC Explain how to mgirate SS3.2 variants
2019-08-28 15:08:55 +12:00
Ryan Potter
fa325d2360
Update pagination code snippet
...
Update pagination snippet to use summarised pagination.
2019-08-13 15:17:38 +12:00
Maxime Rainville
4380d7d155
API Add option to disable user-agent header session validation
2019-08-06 22:00:01 +12:00
Jackson Darlow
753b02d915
Update 04_Create_a_GridField_ActionProvider.md
...
Added missing parameters to boilerplate method
2019-08-06 13:36:45 +12:00
Jackson Darlow
9f7aad3b8f
Update 04_Create_a_GridField_ActionProvider.md
2019-08-06 13:32:44 +12:00
Robbie Averill
3224c9971b
Merge branch '4.4' into 4
2019-08-02 11:24:54 +12:00
Robbie Averill
3b96c51688
Merge branch '4.3' into 4.4
2019-08-02 11:24:45 +12:00
Robbie Averill
2d2b0b82f0
DOCS Fix incorrect rendering of note on list item
...
[ci skip]
2019-07-25 12:03:12 +02:00
Robbie Averill
f1d8a04928
DOCS Fix broken markdown links for docs.silverstripe.org
...
[ci skip]
2019-07-22 13:02:57 +02:00
Ingo Schommer
4d93e48b10
DOCS Add silverstripe/login-forms ( #9112 )
...
See https://github.com/silverstripe/recipe-cms/issues/26 .
Dependant on https://github.com/silverstripe/silverstripe-installer/pull/257 .
2019-07-16 10:11:37 +12:00
UndefinedOffset
571a4d9ace
NEW: Added support for config condition if PHP extension is loaded
2019-07-02 14:55:36 -03:00
Ingo Schommer
0a6096a1bb
DOCS File migration background notes ( #9058 )
2019-06-21 08:47:40 +12:00
Robbie Averill
dcf4c64704
Merge pull request #9077 from lerni/ss-log-example-config-docs-fix
...
fix #9075 log example yml-config in docs
2019-06-19 20:17:43 +12:00
lerni
0c7458cd21
add single quotes
2019-06-19 08:21:31 +02:00
lerni
e652b3e421
fix #9075 log example yml-config in docs
2019-06-18 09:17:25 +02:00
Ingo Schommer
732dfe5aaa
DOCS Clarify cascade publish/delete perm checks
...
We decided during implementation not to check permissions explicitly on cascading objects due to performance concerns.
For example, when publishing a page with embedded images, publish permissions on the image are implied - even if Image->canPublish() would return false for this author.
See https://github.com/silverstripe-security/security-issues/issues/57
2019-06-18 16:27:29 +12:00
Guy Marriott
bb5b610636
Merge branch '4.4' into 4
2019-06-17 08:58:50 +12:00
Serge Latyntsev
2e33456e46
Mention versioned snapshots in the versions documentation ( #9057 )
...
* Mention versioned snapshots in the versions documentation
* Add screenshot
2019-06-16 23:52:30 +12:00
Rob Ingram
663e23fae3
Update 03_Track_member_logins.md
...
The extension point for members has changed from `memberLoggedIn` to `afterMemberLoggedIn`.
2019-06-12 10:13:20 +12:00
Juan Molina
ef5f2a526f
Minor revision, broken link
...
Minor typos and broken link corrected, added some typographic consistency.
2019-06-10 18:46:14 +02:00
Aaron Carlino
d04e54c1be
Merge branch '4.4' into 4
2019-06-10 17:33:30 +12:00
Aaron Carlino
c747b1f8d3
Merge branch '4.3' into 4.4
2019-06-10 17:32:07 +12:00
Aaron Carlino
f766555d61
Merge branch '4.2' into 4.3
2019-06-10 17:27:05 +12:00
Serge Latyntcev
ca56e8d78e
[CVE-2019-12246] Denial of Service on flush and development URL tools
2019-06-10 17:23:56 +12:00
Maxime Rainville
addf98a5e0
DOC Improve File migration do
2019-06-07 17:09:52 +12:00
blueskies79
cad84974d2
Update Config example namespace
...
I think it's handy to add this namespace to the docs ;-)
2019-06-06 11:43:28 +02:00
Ingo Schommer
30496144b9
DOCS More detail on queuedjobs file migrations
2019-06-05 15:10:09 +12:00
Loz Calver
487beb40ce
Merge pull request #9004 from blueskies79/patch-2
...
Update 04_Data_Types_and_Casting
2019-05-30 09:23:06 +01:00
Maxime Rainville
5b6d0946f4
API Add extension points to MigrateFileTask ( #8994 )
...
* API Add extension points to MigrateFileTask
* Apply suggestions from code review
Co-Authored-By: Guy Marriott <guy@scopey.co.nz>
2019-05-28 09:24:01 +12:00
Maxime Rainville
9bfce8c1a4
API Add extension points to MigrateFileTask ( #8994 )
...
* API Add extension points to MigrateFileTask
* Apply suggestions from code review
Co-Authored-By: Guy Marriott <guy@scopey.co.nz>
2019-05-28 09:19:05 +12:00
blueskies79
c7eede1d66
Reverted DBField & list both [Field] and [DBField]
...
I changed the list of types to the suggested format for clarity and changed Field back to DBField as suggested.
2019-05-26 15:40:25 +02:00
blueskies79
f08915ccf2
Update 04_Data_Types_and_Casting
...
This is a suggestion to update the docs to use the actual type names used in code. All the examples use the non-DB type names (ie: 'Wheels' => 'Int') but the bulleted list suggests it should be 'Wheels' => 'DBInt'. This is a bit confusing for new SS developers. Could we change this?
2019-05-23 12:09:59 +02:00
Ingo Schommer
75f87ac409
DOCS Grammar fixes
2019-05-23 10:38:56 +12:00
Ingo Schommer
1cb22b665d
DOCS Clarify different file access types
...
[ci-skip]
2019-05-23 09:25:46 +12:00
Ingo Schommer
74c869f362
DOCS Note about custom File->canView()
...
See https://github.com/silverstripe/silverstripe-framework/issues/8493
[ci-skip]
2019-05-23 09:14:36 +12:00
Ingo Schommer
c82c1520fc
DOCS Clarified file permission control
...
[ci-skip]
2019-05-23 09:08:08 +12:00
Guy Marriott
b9a8f64ef0
Update wording in example in syntax docs
2019-05-20 16:38:55 +12:00
Federico Jaramillo Martínez
368c88d59a
Fix link to related lesson
2019-05-14 12:06:17 -05:00
Sebastian Kalicki
e83edf7e94
Update 00_Configuration.md
2019-05-09 11:28:11 +02:00
Vinnie
168a4fe489
Update docs for GridField_ActionMenuItem required parameters
...
I found these errors while going through this tutorial,
missing ```use use SilverStripe\Forms\GridField\GridField;```
interface GridField_ActionMenuItem required parameters on getTitle() and getGroup()
incorrect if statement on getExtraData() - $field is not defined
2019-05-09 09:01:54 +12:00
Ingo Schommer
1f78e8ae80
NEW Clean up secureassets module artefacts ( #8948 )
...
See https://github.com/silverstripe/silverstripe-assets/issues/231
2019-05-02 21:05:19 +12:00
Andre Kiste
48db515fbd
NEW Fix folder permissions ( #8950 )
...
* Add `FixFilePermissionsHelper` subtask
* Changed name to folder permissions, added more loggin
2019-05-02 16:28:57 +12:00
Ingo Schommer
0696045e59
NEW Legacy thumbnail migration task ( #8924 )
...
* NEW Legacy thumbnail migration task
See https://github.com/silverstripe/silverstripe-assets/issues/235
Makes a start at https://github.com/silverstripe/silverstripe-assets/issues/219 as well
* API Removed migrate_legacy_file support
For the vast majority of sites, you really don't want to run your file migration as part of dev build.
The step is involved enough to warrant it's own task.
I don't think this is an API change, since the setting won't have affect
for anyone who has already enabled it - they would've already done the one-off migration.
See https://github.com/silverstripeltd/open-sourcerers/issues/91
and https://github.com/silverstripe/silverstripe-assets/issues/235
2019-05-02 09:33:53 +12:00
Adrian Humphreys
e648fd31f9
Docs: Update Dynamic_Default_Fields.md ( #8941 )
2019-04-30 09:00:09 +12:00
Garion Herman
5c4367f46b
Use environment variables in example SMTP config
...
Currently the email documentation provides an example of how to use the SMTP adapter in SwiftMailer, but this example hardcodes the password in the config file which is a security issue. It is possible to reference environment variables instead, so we should document and encourage this.
2019-04-30 08:59:54 +12:00
Adrian Humphreys
212a99c904
Add info around namespacing with controllers
2019-04-30 08:59:29 +12:00
Ingo Schommer
da91f44c00
DOCS File migration changes for 4.4.0 ( #8910 )
...
* DOCS File migration changes for 4.4.0
See https://github.com/silverstripe/silverstripe-versioned/issues/177
* Update docs/en/02_Developer_Guides/14_Files/03_File_Security.md
Co-Authored-By: chillu <ingo@silverstripe.com>
* Corrected statements on archived/versioned files
* Corrected statement on filesystem paths of protected vs. public
* Update docs/en/02_Developer_Guides/14_Files/03_File_Security.md
Co-Authored-By: chillu <ingo@silverstripe.com>
* Clarify redirect behaviour
2019-04-30 08:59:25 +12:00
Erlend Mongstad
80b097eb68
Added missing Permission class to example
...
Following the example will give the following error;
```[Emergency] Uncaught Error: Class {my namespace}\Permission not found```
Added the missing class
2019-04-17 02:36:13 +02:00
Robbie Averill
6b07b2c47c
Update docs/en/02_Developer_Guides/01_Templates/How_Tos/03_Disable_Anchor_Links.md
...
Fix code styling
Co-Authored-By: DorsetDigital <DorsetDigital@users.noreply.github.com>
2019-04-16 22:32:55 +01:00