Commit Graph

1551 Commits

Author SHA1 Message Date
Fred Condo
bd5f5232fa DOCS: Correct & expand routing docs
- Correct syntax error in TeamController sample code
- Explain mandatory use case of $url_handlers
- Provide sample code for mandatory use case of $url_handlers
2015-03-07 13:25:44 -08:00
Daniel Hensby
d2a3da2203 Making docs gender agnostic 2015-03-07 12:32:04 +00:00
Corey Sewell
2742f46b79 Added "Composer managed modules, Git and .gitignore" section to Getting Started/02 Composer 2015-03-06 10:28:07 +13:00
Corey Sewell
f924354e12 Remove incorrect L flag for Basic Auth RewriteRule
As per the installer [.htaccess](https://github.com/silverstripe/silverstripe-installer/blob/3.1/.htaccess#L37) the RewriteRule to enable Basic Auth when using CGI/FastCGI with Apache does not have the L flag.
2015-03-06 07:36:43 +13:00
Daniel Hensby
96b1583aae DOCS SS_ERROR_LOG reuqires relative location to BASE_PATH 2015-03-05 12:07:56 +00:00
Damian Mooyman
9367fd2456 API enable PaginatedList to be disabled by setting page length to 0 2015-03-05 12:07:14 +13:00
Daniel Hensby
028a80b153 DOCS Adding GitHub labels 2015-03-03 17:24:02 +00:00
Fred Condo
82ed86f6cd DOCS: correct broken links
- Correct internal links between documentation pages
- Delete defunct links to documentation removed during documentation reorganization
- Restore testing glossary
- Verify by crawling site locally
2015-02-27 16:09:15 -08:00
Michael Strong
4c5a07ecec FIX Updated docs
The docs as they were would break websites and no warning was given regarding the security around doing this.
2015-02-27 17:00:46 +13:00
Damian Mooyman
773624a40b Merge pull request #3947 from camfindlay/docs/uploadfield
DOCS Reinstate a missing upload field doc and give a review.
2015-02-26 17:51:01 +13:00
Cam Findlay
8146943a00 DOCS Reinstate a missing upload field doc and give a review. 2015-02-26 15:17:05 +13:00
Jeremy Shipman
39fac21fb9 Explain the module specific themes separation capability of Silverstripe
Relates to #3944
2015-02-26 12:56:33 +13:00
johndalangin
5eb5cc7cca YML Config Not Compatible with Requirements Class
After hours of trying to debug why `write_js_to_bottom` wasn't working, I realized that the Requirements class variables were set to `protected` and not `private static` which I believe is necessary for the Config YML variables to be passed correctly to the class.

The documentation was edited to reflect the working, albeit traditional non-YML method of setting class variables.

Best regards,

John
2015-02-24 00:58:31 +08:00
Damian Mooyman
dff65867cc Merge remote-tracking branch 'origin/3.1' into 3
Conflicts:
	control/HTTP.php
	control/HTTPResponse.php
	docs/en/05_Contributing/01_Code.md
	forms/CompositeField.php
	forms/FormAction.php
	forms/FormField.php
	forms/InlineFormAction.php
	forms/NumericField.php
	forms/TreeDropdownField.php
	forms/TreeMultiselectField.php
	templates/forms/TreeDropdownField.ss
	tests/core/CoreTest.php
	tests/forms/NumericFieldTest.php
	tests/model/DataDifferencerTest.php
2015-02-20 10:17:19 +13:00
unclecheese
2af48738c9 MINOR: Remove children from Tutorials landing page. Deprecated. 2015-02-19 17:20:45 +13:00
Nic
5cda017424 Update index.md to link to how-to's for 3 tutorials/recipies 2015-02-18 20:47:57 -06:00
Ingo Schommer
3b66b75f2f Merge pull request #3889 from unclecheese/tutorial-deprecation
Several changes that deprecate the old written tutorials in favour of Lessons section
2015-02-19 14:49:30 +13:00
Damian Mooyman
1e5519cf1a Reformat changelog 2015-02-19 13:16:40 +13:00
Damian Mooyman
f95c181c97 Merge remote-tracking branch 'origin/3.1.10' into 3.1 2015-02-19 12:57:12 +13:00
Damian Mooyman
c302edc4e7 Added 3.1.10 changelog 2015-02-19 12:37:16 +13:00
Daniel Hensby
8a405b50b0 Merge branch 'patch-3' of https://github.com/AntonyThorpe/silverstripe-framework into AntonyThorpe-patch-3
DOCS Error handling examples of different files closes #3701

Conflicts:
	docs/en/topics/error-handling.md
2015-02-18 00:10:49 +00:00
Cam Findlay
666075d56c DOCS Mention the mod_dir changes to Windows WAMP users
WAMP Server likely comes with Apache 2.4 so is very relevant to have this instruction available as a troubleshoot.
2015-02-18 11:34:03 +13:00
Daniel Hensby
3d9b57ca9e Merge pull request #3905 from muskie9/patch-3
DOCS Update Common Problems with mod_rewrite issue
2015-02-17 22:32:39 +00:00
muskie9
4ccb0bc858 Update Common Problems with mod_rewrite issue 2015-02-17 16:28:02 -06:00
Cam Findlay
0fd6b8eaca DOCS Mention the option of Environment files for WAMP users
Once you get a few sites under your belt most devs would likely turn to using environment files to names DB credentials. This introduces this a bit earlier to get them used to the simple idea of an environment file.

Eventually I'd like to rewrite the installer to generate this over storing in the _config.php.
2015-02-18 11:13:02 +13:00
Damian Mooyman
fab44dce75 Added 3.1.10-rc2 changelog 2015-02-17 18:05:16 +13:00
Daniel Hensby
3573075de0 DOCS Removing redundant PHP syntax declaration 2015-02-16 13:59:49 +00:00
Daniel Hensby
5d35650cbb DOCS Removing redundant PHP syntax declaration 2015-02-16 13:58:57 +00:00
Damian Mooyman
9a97cbc255 Added 3.1.10-rc1 changelog 2015-02-16 16:39:01 +13:00
Cam Findlay
aa5c9ca246 DOCS Reference to ensure contributors read over the Code of conduct 2015-02-16 10:28:52 +13:00
Sean Harvey
cebc0d08c5 Merge pull request #3894 from tractorcow/pulls/3.1/encoding-fixes
BUG Lots of encoding fixes
2015-02-16 09:18:41 +13:00
Damian Mooyman
1db08bac88 BUG Fix FormAction title encoding
BUG Fix TreeMultiSelectField using the wrong label
BUG Fix encoding of selected title on TreeDropdownField
BUG Fix DataDifferencer trying to compare non-comparable fields (non-dbfield objects)
BUG: Fix issue with TreeMultiSelectField not saving
BUG: Fix issue with GridFieldPrintButton
ENHANCEMENT Instead of using multiple api calls to encode dbfield values, delegate this operation to the individual fields via forTemplate
Instead of using a new API to communicate html encoding to treeselect, just ensure all content is HTML encoded, and enable html_titles in jstree.
2015-02-13 15:50:45 +13:00
LiamW
36dbd4f8a1 Update 11_Scaffolding.md
Noticed the call to the tab is wrong.
2015-02-12 14:16:05 -05:00
Uncle Cheese
c88ddef477 add new lessons 9, 10
remove tutorials from home page
2015-02-13 00:48:05 +13:00
Uncle Cheese
9218919437 Several changes to deprecate old tutorials 2015-02-12 17:15:53 +13:00
gavin bruce
e96d40d391 Update 00_Partial_Caching.md
Spelling mistake fix.
2015-02-10 14:30:29 +10:00
Christopher Pitt
0a19d882d3 Update index.md
404 fix
2015-02-10 09:16:18 +13:00
Nick
a7be8003e0 Fix some broken links for flushable and errors in the caching code examples 2015-02-09 22:55:59 +13:00
Daniel Hensby
e906f48d8d DOCS Updating contributing version 2015-02-07 14:36:21 +00:00
Daniel Hensby
74ec7e413f DOCS Updating contributing version 2015-02-07 14:33:12 +00:00
Cam Findlay
9720b4939d DOCS Fixed link on issues and bugs 2015-02-06 20:37:50 +13:00
unclecheese
647f921c08 MINOR: Add lesson 8 2015-02-05 16:25:07 +13:00
Mateusz U
60f4720415 Merge pull request #3852 from camfindlay/patch-19
DOCS Permanent link to speakup.io added in Code of Conduct
2015-02-05 09:46:58 +13:00
Cam Findlay
09da54a4bd DOCS Permanent link to speakup.io added in Code of Conduct
As this is hosted on github pages and the custom domain setup was depricated (We may reinstate the original link later).
2015-02-05 09:43:42 +13:00
Sean Harvey
a4be52613a Small fixes to code of conduct document. 2015-02-05 09:43:15 +13:00
Mateusz U
88eb303cd5 Merge pull request #3775 from camfindlay/codeofconduct
DOCS Code of conduct
2015-02-05 09:29:32 +13:00
Cam Findlay
972e20b0de DOCS Code of conduct added 2015-02-05 09:24:10 +13:00
Daniel Hensby
1de32f93d8 Merge pull request #3848 from nfauchelle/patch-2
Update 04_Preview.md
2015-02-04 17:15:22 +00:00
Loz Calver
add010e383 Merge pull request #3776 from camfindlay/osxcomposerdocs
Add installation steps for Composer
2015-02-04 09:17:15 +00:00
Nick
9303912b7f Update 04_Preview.md
Fix the yaml example
2015-02-04 22:15:49 +13:00
kkirsche
7bd00916fd DOCS Add installation steps for Composer
Added installation steps for Composer using the global installation of PHP and the MAMP installation of PHP.

Note that the use of HTML instead of standard Markdown was due to Markdown incorrectly handling nested ordered lists. This wasn't my preference, but I felt having consistent and clear styling of sub menus overrode ease of use as plain-text.
2015-02-04 09:35:34 +13:00
Christopher Bischoff
6c24d7dcef Fix syntax error in code example 2015-02-03 11:11:51 +01:00
Christopher Bischoff
6bb6c8cde5 DOCS Fix formatting 2015-02-03 10:55:59 +01:00
Will Rossiter
5219cb0f6b Merge pull request #3844 from marsvogel/patch-2
DOCS Fix formatting in Link-Section
2015-02-03 09:17:02 +13:00
Christopher Bischoff
104f6693d7 DOCS Fix formatting in Link-Section 2015-02-02 17:31:15 +01:00
Christopher Bischoff
56620ba0e3 DOCS Fix formatting 2015-02-02 17:20:05 +01:00
Marijn Kampf
eeef72e653 Fixed example to work when copied and pasted.
Original example gives: Fatal error: Using $this when not in object context in E:\localhost\abscreensavers.com\mysite\code\Page.php on line 19
2015-01-30 10:07:27 +00:00
Cam Findlay
21bb16f220 DOCS Fix composer reference 2015-01-29 13:06:23 +13:00
BeQ
92c6aa93fd Update 10_Versioning.md 2015-01-24 18:24:02 -05:00
Cam Findlay
f346e0ae8c DOCS Update introduction doc
Some broken links corrected
2015-01-24 22:49:34 +13:00
Nic
43d0ae6263 Update 11_Scaffolding.md to use dataFieldByName 2015-01-23 10:04:19 -06:00
Cam Findlay
0f617e1f5f DOCS bulleted API calls show up as a broken code block
This simplifies the formatting to ensure it's actually readable on docs.
2015-01-23 19:58:54 +13:00
Anjana Wijesundara
376ce73390 mysite/code/Page.php to mysite/code/Product.php
"mysite/code/Page.php" line in Displaying Results Section should be "mysite/code/Product.php"
2015-01-22 22:28:13 +05:30
Will Rossiter
f733ca2759 Delete README.md 2015-01-22 15:39:26 +13:00
Will Rossiter
a1ffaac9e3 Merge pull request #3809 from camfindlay/docchangelogfix
DOCS Fix missing changelogs
2015-01-22 15:32:37 +13:00
unclecheese
686e072301 Add two new video tutorials 2015-01-22 09:42:02 +13:00
Cam Findlay
037c3a1847 DOCS Fix missing changelogs 2015-01-22 08:40:33 +13:00
Will Rossiter
315d6b6e2c Merge pull request #3806 from MichaelCSLWeb/patch-3
Update 01_Image.md
2015-01-21 16:52:22 +13:00
Cam Findlay
3de82ce8dc DOCS Fixed link to yaml config docs. 2015-01-21 15:27:22 +13:00
Michael
e571b52a27 Update 01_Image.md
Ive added this to show you can change the color of the padding area
2015-01-20 14:23:53 +00:00
Hamish Friedlander
9e4c0c6663 Merge pull request #3790 from ProzacJellybeans/patch-1
Extending site - RSS correction
2015-01-16 12:53:53 +13:00
ProzacJellybeans
8b1aa5f1d7 Extending site - RSS correction
Rewrote the reason as to why the website needs to be flushed more frequently
2015-01-16 11:45:44 +13:00
Damian Mooyman
33b18ce998 Fix merge error 2015-01-15 18:56:09 +13:00
Damian Mooyman
88fdc75456 Merge remote-tracking branch 'composer/3.1' into 3
Conflicts:
	.editorconfig
	docs/en/00_Getting_Started/00_Server_Requirements.md
	docs/en/00_Getting_Started/01_Installation/04_Other_installation_Options/Windows_IIS7.md
	docs/en/00_Getting_Started/01_Installation/04_Other_installation_Options/Windows_Platform_Installer.md
	docs/en/00_Getting_Started/04_Directory_Structure.md
	docs/en/00_Getting_Started/index.md
	docs/en/01_Tutorials/01_Building_A_Basic_Site.md
	docs/en/01_Tutorials/02_Extending_A_Basic_Site.md
	docs/en/01_Tutorials/03_Forms.md
	docs/en/01_Tutorials/04_Site_Search.md
	docs/en/01_Tutorials/05_Dataobject_Relationship_Management.md
	docs/en/01_Tutorials/index.md
	docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md
	docs/en/02_Developer_Guides/00_Model/11_Scaffolding.md
	docs/en/02_Developer_Guides/01_Templates/06_Themes.md
	docs/en/02_Developer_Guides/03_Forms/How_Tos/Simple_Contact_Form.md
	docs/en/02_Developer_Guides/05_Extending/05_Injector.md
	docs/en/02_Developer_Guides/09_Security/04_Secure_Coding.md
	docs/en/02_Developer_Guides/10_Email/index.md
	docs/en/02_Developer_Guides/11_Integration/01_RestfulService.md
	docs/en/02_Developer_Guides/12_Search/01_Searchcontext.md
	docs/en/02_Developer_Guides/14_Files/index.md
	docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/03_CMS_Layout.md
	docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/06_Javascript_Development.md
	docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/How_Tos/Customise_CMS_Tree.md
	docs/en/02_Developer_Guides/15_Customising_the_Admin_Interface/How_Tos/Customise_Site_Reports.md
	docs/en/02_Developer_Guides/18_Cookies_And_Sessions/01_Cookies.md
	docs/en/04_Changelogs/3.1.9.md
	docs/en/05_Contributing/00_Issues_and_Bugs.md
	docs/en/05_Contributing/02_Release_Process.md
	docs/en/05_Contributing/03_Documentation.md
	filesystem/File.php
	filesystem/GD.php
	model/DataDifferencer.php
	model/Versioned.php
	security/BasicAuth.php
	security/Member.php
	tests/filesystem/FileTest.php
	tests/forms/uploadfield/UploadFieldTest.php
	tests/model/VersionedTest.php
	tests/security/BasicAuthTest.php
2015-01-15 18:52:46 +13:00
Damian Mooyman
50d80e5854 Merge remote-tracking branch 'origin/3.1.9' into 3.1 2015-01-15 13:24:34 +13:00
Damian Mooyman
87d6250ea7 Reword upgrading notes 2015-01-15 11:56:46 +13:00
Damian Mooyman
7b20f775f2 Updated changelog 2015-01-15 11:45:41 +13:00
Loz Calver
c18bf6222b Merge pull request #3788 from camfindlay/zippylinkfix
DOCS - fix reported broken links
2015-01-14 09:33:26 +00:00
scott1702
bca4024ee8 DOCS Minor spelling error
Fixed a minor spelling error in tutorial 2.
2015-01-14 16:57:54 +13:00
ProzacJellybeans
d28edd09ce Extending site - RSS correction
Instructions needed to be given on flushing more frequently, not just on template editing
2015-01-14 15:34:20 +13:00
Cam Findlay
3239cfd495 DOCS - fix reported broken links by zippy in IRC 2015-01-14 08:59:55 +13:00
Damian Mooyman
db314b2a76 Added 3.1.9-rc1 changelog 2015-01-13 09:04:39 +13:00
Michael Strong
a02adf6854 FIX Uneccessary class replacement
Overly complex code example.
2015-01-08 20:53:45 +13:00
scott1702
971334b408 DOCS Fixed dead link to image in tutorial 1
Found a dead link to the Silverstripe Logo, have changed this to an updated working link of the same image.
2015-01-08 16:31:28 +13:00
Cam Findlay
e114301c7d DOCS Updating links in getting started index
This index had some older links which have been updated.
2015-01-05 15:28:29 +13:00
Cam Findlay
bfd05d7343 DOCS Core committers should have 2 t's 2015-01-05 10:57:15 +13:00
OliBridgman
95be3593ea Update 01_Data_Model_and_ORM.md
Couple of grammatical errors.
2015-01-04 23:32:19 +13:00
Zomxilla
8e9f1d48c6 Remove trailing "###"
Incorrect markdown
2014-12-22 13:00:51 +13:00
Damian Mooyman
5a48501def Merge pull request #3740 from camfindlay/fiximagelinks
DOCS Make links relative so they work nicely on github and docs site.
2014-12-18 12:12:48 +13:00
Cam Findlay
606d5667cf DOCS Make links relative so they work nicely on github and docs site. 2014-12-18 12:11:57 +13:00
Cam Findlay
66d0fcc11c Migrate 3.2 docs into new docs structure 2014-12-17 15:50:06 +13:00
Ingo Schommer
e48e4cac06 Semver documented in release process
See https://groups.google.com/forum/#!topic/silverstripe-dev/J4U4Nl2qTSg.
2014-12-17 15:50:06 +13:00
Cam Findlay
c358ac6496 FIX How to folder on forms 2014-12-17 15:50:06 +13:00
Cam Findlay
10ce9b9db4 Typo fixes for committers 2014-12-17 15:50:06 +13:00
Cam Findlay
9f12a08f47 Rebased on 3.1 - moved new change logs into place. 2014-12-17 15:50:06 +13:00
Cam Findlay
bdb3b7f085 FIX: Feedback to name the fields section to "field types" to make it clearer what the section is about. 2014-12-17 15:50:06 +13:00
Cam Findlay
aba966729a FIX: use GFMD code blocks to fix code formatting consistency. 2014-12-17 15:50:06 +13:00
Stevie Mayhew
6d0cd49d6d MINOR: spelling mistake 2014-12-17 15:50:06 +13:00
Cam Findlay
afc8db7e33 Rebased on 3.1 and added missing site reports doc 2014-12-17 15:50:06 +13:00
Cam Findlay
fc110e34fb Added documentation writing style guide points 2014-12-17 15:50:05 +13:00
Ingo Schommer
11c1563778 Docs for exec pipeline and manifests
- Added manifest logic docs
- More obvious pointers to flushing
- Removed Director page since it duplicated a lot of information already presenting in routing,
which in itself is already duplicated between routing.md and controllers.md.
- Merged Director execution rundown into main exec pipeline docs
- Moved YAML security note from main installation docs to "secure coding", making it less obvious
2014-12-17 15:50:05 +13:00
Will Rossiter
e743fedc65 Importing cookie content 2014-12-17 15:50:05 +13:00
Cam Findlay
4d0448c254 Tutorials review and update image path 2014-12-17 15:50:05 +13:00
Will Rossiter
e729131a63 Move CMS Howtos 2014-12-17 15:50:05 +13:00
Uncle Cheese
fe62a2fa79 developer guides, templates review 2014-12-17 15:50:05 +13:00
Will Rossiter
ff91f99522 Add brief highlevel docs on cookie / session 2014-12-17 15:50:05 +13:00
Will Rossiter
fe96fc581d Clean up search documentation 2014-12-17 15:50:01 +13:00
Uncle Cheese
f83c8f0821 developer guides / models 2014-12-17 15:49:27 +13:00
Will Rossiter
e448fb9434 Model guide documentation 2014-12-17 15:49:24 +13:00
Will Rossiter
e65b3ad3fb Review and clean up of extending section 2014-12-17 15:49:08 +13:00
Cam Findlay
1df3d7cee1 Rebased additional documentation since May 2014.
New pages filed and metadata added.
2014-12-17 15:48:58 +13:00
Will Rossiter
48f53b98a1 Rewrite, tidy and format of Forms documentation 2014-12-17 15:48:58 +13:00
Will Rossiter
b4d8dfc9ee Controller documentation 2014-12-17 15:48:58 +13:00
Will Rossiter
bbfc03ad51 Review and tidy up of configuration guide 2014-12-17 15:48:58 +13:00
Will Rossiter
627cc520d9 Rewrite and tidy up of performance section 2014-12-17 15:48:58 +13:00
Will Rossiter
576f34a539 Review and rewrites for Testing Developer Guide 2014-12-17 15:48:58 +13:00
Will Rossiter
4fcbc9a402 Clean up debugging documentation 2014-12-17 15:48:57 +13:00
Will Rossiter
7fc6110a6f Tidy up templates guide 2014-12-17 15:48:57 +13:00
Will Rossiter
c54dee5452 Review email documentation 2014-12-17 15:48:57 +13:00
Will Rossiter
3d8c9232e0 Review, cleanup and refresh of integration section 2014-12-17 15:48:57 +13:00
Will Rossiter
0c73768e8c Review, clean up of CLI documentation 2014-12-17 15:48:57 +13:00
Will Rossiter
f633236e78 Review and tidy up contributing documentation. 2014-12-17 15:48:57 +13:00
Will Rossiter
084286af4c Add introduction files to each of the sections 2014-12-17 15:48:54 +13:00
Will Rossiter
7e83d70e69 Move todo list to trello. 2014-12-17 15:48:41 +13:00
Will Rossiter
1ceb10be4a Update documentation introduction 2014-12-17 15:48:41 +13:00
Will Rossiter
015afe83e8 Add readme to include status of docs rewrite and high level todos
Conflicts:
	docs/en/03_Upgrading.md
	docs/en/03_Upgrading/00_Upgrading.md
	docs/en/03_Upgrading/index.md
2014-12-17 15:48:41 +13:00
Will Rossiter
6c5ddaf054 Restructure of the docs markdown source files into more logical taxonomy 2014-12-17 15:48:35 +13:00
Cam Findlay
deff519789 DOCS Added links to the video lessons on silverstripe.org 2014-12-17 09:41:38 +13:00
Ingo Schommer
f2237aff8d Semver documented in release process
See https://groups.google.com/forum/#!topic/silverstripe-dev/J4U4Nl2qTSg.
2014-12-15 17:56:32 +13:00
Cam Findlay
658216237e FIX How to folder on forms 2014-12-15 14:49:46 +13:00
Cam Findlay
f387ffebe6 Typo fixes for committers 2014-12-15 09:12:49 +13:00
Cam Findlay
9e7fc7618c Rebased on 3.1 - moved new change logs into place. 2014-12-15 09:12:49 +13:00
Cam Findlay
3ac705f4b3 FIX: Feedback to name the fields section to "field types" to make it clearer what the section is about. 2014-12-15 09:12:48 +13:00
Cam Findlay
e9fd03bf8a FIX: use GFMD code blocks to fix code formatting consistency. 2014-12-15 09:12:48 +13:00
Stevie Mayhew
34c812131d MINOR: spelling mistake 2014-12-15 09:12:48 +13:00
Cam Findlay
987fde2bed Rebased on 3.1 and added missing site reports doc 2014-12-15 09:12:48 +13:00
Cam Findlay
36f62b6d4f Added documentation writing style guide points 2014-12-15 09:12:48 +13:00
Ingo Schommer
7e0276b8ad Docs for exec pipeline and manifests
- Added manifest logic docs
- More obvious pointers to flushing
- Removed Director page since it duplicated a lot of information already presenting in routing,
which in itself is already duplicated between routing.md and controllers.md.
- Merged Director execution rundown into main exec pipeline docs
- Moved YAML security note from main installation docs to "secure coding", making it sless obvious
2014-12-15 09:12:48 +13:00
Will Rossiter
304f89bd12 Importing cookie content 2014-12-15 09:12:48 +13:00
Cam Findlay
cdae3fadea Tutorials review and update image path 2014-12-15 09:12:48 +13:00
Will Rossiter
d01c8d7990 Move CMS Howtos 2014-12-15 09:12:47 +13:00
Uncle Cheese
b7daa8d1ee developer guides, templates review 2014-12-15 09:12:47 +13:00
Will Rossiter
ae4d61eefb Add brief highlevel docs on cookie / session 2014-12-15 09:12:47 +13:00
Will Rossiter
a7971d0540 Clean up search documentation 2014-12-15 09:12:47 +13:00
Uncle Cheese
c1c0ad3dac developer guides / models 2014-12-15 09:12:47 +13:00
Will Rossiter
699b999f1e Model guide documentation 2014-12-15 09:12:47 +13:00
Will Rossiter
918baf1ca3 Review and clean up of extending section 2014-12-15 09:12:47 +13:00
Cam Findlay
b7272e09c6 Rebased additional documentation since May 2014.
New pages filed and metadata added.
2014-12-15 09:12:47 +13:00
Will Rossiter
86812c0937 Rewrite, tidy and format of Forms documentation 2014-12-15 09:12:47 +13:00
Will Rossiter
30cf733948 Controller documentation 2014-12-15 09:12:46 +13:00
Will Rossiter
1d31611e7e Review and tidy up of configuration guide 2014-12-15 09:12:46 +13:00
Will Rossiter
f4dad25af0 Rewrite and tidy up of performance section 2014-12-15 09:12:46 +13:00
Will Rossiter
549531798f Review and rewrites for Testing Developer Guide 2014-12-15 09:12:46 +13:00
Will Rossiter
ebf28bc66b Clean up debugging documentation 2014-12-15 09:12:46 +13:00
Will Rossiter
fc952ef1e8 Tidy up templates guide 2014-12-15 09:12:46 +13:00
Will Rossiter
720ff48d28 Review email documentation 2014-12-15 09:12:45 +13:00
Will Rossiter
7458b10b6d Review, cleanup and refresh of integration section 2014-12-15 09:12:45 +13:00
Will Rossiter
65309fa5d4 Review, clean up of CLI documentation 2014-12-15 09:12:45 +13:00
Will Rossiter
80d4127f43 Review and tidy up contributing documentation. 2014-12-15 09:12:45 +13:00
Will Rossiter
d52b475cfb Add introduction files to each of the sections 2014-12-15 09:12:45 +13:00
Will Rossiter
1b8f2478e6 Move todo list to trello. 2014-12-15 09:12:45 +13:00
Will Rossiter
85f3beee2c Update documentation introduction 2014-12-15 09:12:45 +13:00
Will Rossiter
79e9254f05 Add readme to include status of docs rewrite and high level todos
Conflicts:
	docs/en/03_Upgrading.md
	docs/en/03_Upgrading/00_Upgrading.md
	docs/en/03_Upgrading/index.md
2014-12-15 09:12:45 +13:00
Will Rossiter
e9d88dd8ee Restructure of the docs markdown source files into more logical taxonomy.
Rebased on 3.1
2014-12-15 09:12:44 +13:00
Will Morgan
80092e5daa Merge pull request #3662 from camfindlay/corecommiters
DOCS Repositioned house rules and added core commiter list.
2014-12-09 00:21:13 +00:00
Corey Sewell
fbebf96d66 Add detection for PHP running in CGI mode and add HTTP_AUTHORIZATION rewrite rule
Detect and parse HTTP_AUTHORIZATION for basic authentication running PHP in CGI mode
Add comments about using CGI mode with Apache and Basic Auth in /docs/en/topics/environment-management.md
Added notes  to docs/en/changelogs/3.1.9.md
2014-12-05 11:35:52 +13:00
Cam Findlay
22ecab555c DOCS Repositioned house rules and added core commiter list. 2014-12-04 15:39:19 +13:00
Damian Mooyman
19549d620f Moved deprecation of SQLQuery to 4.0 2014-12-04 09:30:50 +13:00
Antony Thorpe
6c6d217273 Update error-handling.md
Add how to log notices (deprecation notifications can help with discovering problems caused by old code).
2014-12-03 16:56:53 +13:00
Daniel Hensby
ca7030d70d Merge pull request #3683 from bendubuisson/patch-2
Update 5-dataobject-relationship-management.md
2014-11-26 20:42:17 +00:00
Ben Dubuisson
e30a354076 Update access-control.md
small typo
2014-11-27 09:25:43 +13:00
Antony Thorpe
9a7686c8b9 Update docs/en/reference/index.md
GridField line included twice
2014-11-27 08:06:00 +13:00
Ben Dubuisson
514098c01a Update member.md
small typo
2014-11-26 16:32:57 +13:00
Ben Dubuisson
efd978074c Update 5-dataobject-relationship-management.md
Some more typos, sorry didn't pick them all up at the same time!
2014-11-26 14:37:33 +13:00
Ben Dubuisson
a622fce073 Update 5-dataobject-relationship-management.md
typos
2014-11-26 11:43:49 +13:00
Gabriele Brosulo
90a7761394 Update datamodel.md
Syntax error
2014-11-24 10:50:38 +01:00
Phill Price
ff65f5e00f Update csv-import.md
Translated the German to English to match up other areas in document
2014-11-19 21:29:54 +00:00
Damian Mooyman
fe0d330c59 Merge pull request #3656 from halkyon/nginx_buffers
Adding appropriate nginx fastcgi buffer config required for admin
2014-11-19 15:50:55 +13:00
Damian Mooyman
6baf63e18c Merge remote-tracking branch 'origin/3.1'
Conflicts:
	dev/install/install.php5
	docs/en/changelogs/index.md
	security/Security.php
2014-11-19 11:16:46 +13:00
Josh Kosmala
2e416b60f3 Update javascript.md fixes #3652
I needed to know how to do this to do some jQuery manipulation in the CMS.
2014-11-18 21:56:51 +00:00
Daniel Hensby
e5bed94d07 Merge pull request #3626 from 3Dgoo/feature/site-reports-doc-fix
Updating Site Reports documentation
2014-11-18 20:59:57 +00:00
Sean Harvey
8d2727eab6 Adding appropriate nginx fastcgi buffer config required for admin 2014-11-19 09:56:40 +13:00
Damian Mooyman
72484cd0bf Update index.md 2014-11-18 18:41:23 +13:00
Damian Mooyman
c279ff7f0c Merge remote-tracking branch 'origin/3.1.8' into 3.1 2014-11-18 18:40:15 +13:00
Damian Mooyman
8b3695bd41 Added 3.1.8 changelog 2014-11-18 18:30:19 +13:00
Damian Mooyman
0b1f297873 Merge remote-tracking branch 'origin/3.1'
Conflicts:
	.travis.yml
	README.md
	admin/code/LeftAndMain.php
	admin/css/screen.css
	admin/scss/screen.scss
	api/RestfulService.php
	conf/ConfigureFromEnv.php
	control/injector/ServiceConfigurationLocator.php
	control/injector/SilverStripeServiceConfigurationLocator.php
	core/ClassInfo.php
	core/Object.php
	css/AssetUploadField.css
	css/ComplexTableField_popup.css
	dev/CSSContentParser.php
	dev/DevelopmentAdmin.php
	docs/en/changelogs/index.md
	docs/en/misc/contributing/code.md
	docs/en/reference/execution-pipeline.md
	filesystem/GD.php
	filesystem/ImagickBackend.php
	filesystem/Upload.php
	forms/Form.php
	forms/FormField.php
	forms/HtmlEditorConfig.php
	forms/gridfield/GridFieldDetailForm.php
	forms/gridfield/GridFieldSortableHeader.php
	lang/en.yml
	model/Aggregate.php
	model/DataList.php
	model/DataObject.php
	model/DataQuery.php
	model/Image.php
	model/MySQLDatabase.php
	model/SQLQuery.php
	model/fieldtypes/HTMLText.php
	model/fieldtypes/Text.php
	scss/AssetUploadField.scss
	search/filters/SearchFilter.php
	security/Authenticator.php
	security/LoginForm.php
	security/Member.php
	security/MemberAuthenticator.php
	security/MemberLoginForm.php
	security/Security.php
	tests/behat/features/bootstrap/SilverStripe/Framework/Test/Behaviour/CmsFormsContext.php
	tests/control/HTTPTest.php
	tests/control/RequestHandlingTest.php
	tests/filesystem/UploadTest.php
	tests/forms/FormTest.php
	tests/forms/NumericFieldTest.php
	tests/model/DataListTest.php
	tests/model/DataObjectTest.php
	tests/model/TextTest.php
	tests/security/MemberAuthenticatorTest.php
	tests/security/SecurityDefaultAdminTest.php
	tests/view/SSViewerCacheBlockTest.php
	tests/view/SSViewerTest.php
2014-11-18 12:45:54 +13:00
Stevie Mayhew
41ea83b337 FEATURE: add validation to form field subclasses 2014-11-17 08:17:38 +13:00
Damian Mooyman
7b89c17349 Merge remote-tracking branch 'origin/3.1.7' into 3.1 2014-11-14 16:30:14 +13:00
Damian Mooyman
4ece737220 Update changelogs 2014-11-14 15:38:19 +13:00
Sam Minnée
421152f722 Merge pull request #3627 from nhorstmeier/patch-1
Should use <% with %> rather than <% loop %>
2014-11-12 13:38:10 +13:00
muskie9
a526c45d64 Should use <% with %> rather than <% loop %> 2014-11-11 08:44:37 -06:00
3Dgoo
89ff059334 Site Reports documentation fix
Fixing typo in Site Reports documentation. Adding more detail to Custom Report example.
2014-11-11 15:52:45 +10:30
bob (Plastyk)
45924f1402 Updating Site Reports documentation to show the Silverstripe 3.1 method of adding custom reports. 2014-11-11 15:45:34 +10:30
Antony Thorpe
98937f2467 Update forms.md
Should be "set" not "get" in FormField->setSmallFieldHolderTemplate().
2014-11-11 18:04:40 +13:00
Phill Price
a184d228e3 Filter heading being processed as part of code
Whitespace issue causing the filter header to become part of the sorting example above - fixed whitespace.
2014-11-10 11:08:12 +00:00
Damian Mooyman
0a5c380c92 Added 3.1.7-rc1 changelog 2014-11-08 18:50:54 +13:00
Damian Mooyman
8468546876 Add changelogs for 3.1.7-rc1 2014-11-08 18:36:03 +13:00
Gabriele Brosulo
f2a059b148 Update versioning.md 2014-11-06 11:31:55 +01:00
Gabriele Brosulo
b64cfaf649 Update versioning.md
Added information about $SilverStripeNavigator
2014-11-06 10:55:32 +01:00
Sean Harvey
ce797773da Improvements to nginx and HHVM installation docs
* Fix a few missing packages in `apt-get install` command
 * Add command to start HHVM automatically on boot
 * Remove unnecessary `sendfile on` (already in /etc/nginx/nginx.conf)
2014-10-27 14:26:42 +13:00
Gabriele Brosulo
6683f3d283 Update cache-control.md
Added useful information after half an hour trying to have cache working :)
2014-10-23 14:00:32 +01:00
Sean Harvey
95963b19b8 Merge pull request #3559 from g4b0/patch-2
Update versioning.md
2014-10-16 11:54:46 +13:00
Gabriele Brosulo
1770161550 Update fixtures.md
syntax error
2014-10-15 15:31:32 +02:00
Gabriele Brosulo
8a7a25edf5 Update versioning.md
Removed parent::onAfterPublish(); because Page parents does not implement it. The old code generate this error:

Error at framework/core/Object.php line 761: Uncaught Exception: Object->__call(): the method 'onafterpublish' does not exist on 'MyPage' (http://ssdev-master.zk/admin/pages/edit/EditForm)
2014-10-15 15:25:13 +02:00
Sam Minnée
73c52a6eeb Merge pull request #3539 from halkyon/hhvm_nginx_docs2
Adding documentation for installing HHVM with nginx on Linux
2014-10-15 18:14:00 +13:00
Michael Strong
a401db2d34 Duplicated content
For some reason the quick fire dos and donts were duplicated.
2014-10-15 12:47:55 +13:00
Damian Mooyman
53c40a94fa API Enable re-authentication within the CMS if a user session is lost
BUG Resolve issue with error redirection being ignored within CMS
BUG Fix issue with invalid securityID being re-emitted on failure
2014-10-14 15:19:48 +13:00
spekulatius
450ccb9781 Update permission.md
Throws warning without call of parent::init()
2014-10-13 15:00:50 +13:00
Sean Harvey
6cda801ec3 Adding documentation for installing HHVM with nginx on Linux 2014-10-10 15:00:21 +13:00
Damian Mooyman
1e612607aa Suggested improvements / test case fixes 2014-10-10 09:28:11 +13:00
muskie9
5f0dba5398 Update remove extra ); 2014-10-08 15:32:05 -05:00
Daniel Hensby
3b9056fc01 NEW Cookie_Backend for managing cookie state
I've decoupled `Cookie` from the actual act of setting and getting
cookies. Currently there are a few limitations to how Cookie works that
this change mitigates:

0. `Cookie` currently changes the super global `$_COOKIE` when setting
to make the state of an application a bit more managable, but this is
bad because we shouldn't be modifying super globals
0. One can't actually change the `$cookie_class` once the
`Cookie::$inst` has been instantiated
0. One can't test cookies as there is no class that holds the state of
the cookies (it's just held in the super global which is reset as part
of `Director::test()`
0. One can't tell the origin of a cookie (eg: did the application set it
and it needs to be sent, or did we receive it from the browser?)
0. `time()` was used, so testing was made difficult
0. There was no way to get all the cookies at once (without accessing
the super global)

Todos are on the phpdoc and I'd like to write some tests for the backend
as well as update the docs (if there are any) around cookies.
DOCS Adding `Cookie` docs

Explains basic usage of `Cookie` as well as how the `Cookie_Backend`
controls the setting and getting of cookies and manages state of sent vs
received cookies
Fixing `Cookie` usage

`Cookie` is being used inconsistently with the API throughout framework.
Either by not using `force_expiry` to expire cookies or setting them to
null and then expiring them (which is redundant).
NEW `Director::test()` takes `Cookie_Backend` rather than `array` for `$cookies` param
2014-10-06 17:44:51 +13:00
Michal Kleiner
1c09d31719 fixed anonymous function declaration
uses changed to use
2014-10-02 11:51:23 +13:00
Damian Mooyman
db0cad4616 BUG ErrorControlChain now supports exception handling 2014-09-26 16:54:34 +12:00
Sean Harvey
c55e4fe7e2 Merge pull request #3475 from AntonyThorpe/PHPUnitDocs
Update testing/index.md for clearer PHPUnit installation instructions
2014-09-26 11:11:19 +12:00
Nicolaas
ea62bf9eed Adding link to UserVoice 2014-09-26 11:07:38 +12:00
Will Rossiter
61ec808604 Set $lock_out_after_incorrect_logins out of the box 2014-09-26 10:49:53 +12:00
Sean Harvey
99f8fb29b5 Merge pull request #3507 from tractorcow/pulls/fix-mailer
API / FIX / Cleanup - Mailer and Convert::html2raw
2014-09-26 10:15:18 +12:00
Damian Mooyman
bf4e9eb044 API Singleton method allowing type inference
This pattern improves over the current usage of singleton by allowing type inference.
This also better supports refactor, code usage detection, and auto-completion of classes.
2014-09-26 09:10:25 +12:00
Damian Mooyman
e47800917a API Mailer can be configured to use different encoding mechanisms, and added support for unicode quoted-string encoding
API Mailer bounce email can now be configured
API Mailer no longer calls Convert::xml2raw on all email subjects
API Deprecate dead Mailer code and refactored duplicate or mis-documented code.
2014-09-25 16:04:56 +12:00
Damian Mooyman
29e3347562 API Convert::html2raw no longer wraps text automatically
BUG Convert::html2raw now correctly decodes single quotes
2014-09-25 16:04:48 +12:00
Christopher Darling
39e9513c32 removed reference to deprecated :Negation filter 2014-09-24 12:49:12 +01:00
Sean Harvey
563155391f API Cookies set via Cookie::set() are now HTTP only by default 2014-09-24 17:48:13 +12:00
Ed Linklater
c2d02a6daf MINOR: Docs: Invalid link to WAMP page 2014-09-21 13:54:34 +12:00
AntonyThorpe
11187c56c0 Updated for PHPUnit version clarification
Updated Composer command to reference latest stable version as advised
Removed testing installation via Browser step
Added a note about the PHPUnit 3.7 requirement for running tests via the Browser
2014-09-17 16:49:52 +12:00
Damian Mooyman
062ad8e685 API Allow parameterised joins / subselects 2014-09-16 17:54:30 +12:00
muskie9
f7deaa8042 Update searchcontext.md with &hellip; showing ??? 2014-09-15 14:44:03 -05:00
AntonyThorpe
da8cebaa62 Describe adding PHPUnit as a simple one line command
- Removed the composer.json example
- Removed comment about PHPUnit versions

Signed-off-by: AntonyThorpe <antony.thorpe@budget12.com>
2014-09-12 17:02:04 +12:00
Darío
8d328944fa Update 5-dataobject-relationship-management.md
Fixed two small mistakes:

"select one the the mentors" -> "select one of the mentors"
WYSIWIG -> WYSIWYG
2014-09-11 13:15:38 +02:00
AntonyThorpe
f5ccdda22f Updated en/topics/testing/index.md for clearer PHPUnit installation instructions
Step by step Composer installation instructions, including a composer.json example.

In addition:
- Removed self-page reference to an introduction
- Removed reference to PEAR installation instructions due to end of life
- Removed reference to Ruby as doesn't add value
- Shortened testing via Web Browser section (as covered in Composer installation instructions)
2014-09-10 17:20:29 +12:00
Sean Harvey
6267d2e51e Fixing broken docs on setting allowed extensions on a FileField
Refers to an invalid variable, and is overriding the entire Upload,
which isn't necessary.
2014-09-09 11:14:38 +12:00
spekulatius
400bea1ee1 Update templates.md
Remove link to page which wasn't continued since 2.4.
2014-09-04 10:51:02 +12:00
Sean Harvey
70dfc55d34 Minor correction to documentation 2014-08-26 14:55:45 +12:00
Sean Harvey
07eef2ece2 Removing deprecated class/functions marked for deprecation in 3.0/3.1 2014-08-25 12:06:05 +12:00
Damian Mooyman
9ec4669a59 Merge remote-tracking branch 'origin/3.1.6' into 3.1 2014-08-25 11:38:13 +12:00
Damian Mooyman
9da3357e3a add 3.1.6 docs 2014-08-25 11:25:01 +12:00
Ingo Schommer
5c9e88b9a0 Updated contrib docs, mention "DO NOT MERGE" pull requests
These should be avoided because they undermine the process of
peer review and merging in github, we should strive to have
zero open pull requests, as opposed to treating it as a stage
for work in progress. Intermediary code review can happen in github forks instead.

Also remove some checklist items which were based on the Trac bugtracker,
e.g. its not longer possible to assign yourself to issues because
of github's limited permission abilities.
2014-08-25 08:29:25 +12:00
Sean Harvey
6e0d9df331 Merge pull request #3406 from ss23/patch-2
Update urlvariabletools.md
2014-08-22 17:24:36 +12:00
Damian Mooyman
aec8430395 Merge pull request #3393 from halkyon/flushable
NEW Provide a consistent way of triggering flush
2014-08-22 10:28:26 +12:00
Sean Harvey
2b316e79e5 NEW Provide a consistent way of triggering flush
Provides an interface for classes to implement their own flush()
functionality. This function gets called early in a request on
all implementations of Flushable when flush=1|all is requested in the
URL.

This fix came out of an issue where Requirements combined files were not
being cleaned up after dev/build?flush=1, due to the fact that flush
would only occur when you called it while on a page that used those
combined files, but not in any other contexts. This will now call flush
on any implementors of Flushable regardless of the context of where
flush was called.
2014-08-22 09:24:27 +12:00
Christopher Darling
d89ed7c4a7 DOCS: correct notes on TEMP_FOLDER
getTempParentFolder() in framewor/core/TempPath.php checks for silverstripe-cache directory in webroot first, failing that it falls back on the sys_get_temp_dir() folder.

also, getTempFolder() is no longer in framework/core/Core.php since #b075fa29c59f970bea31bbe8be1bd6560a8778b6, it is now located in framework/core/TempPath.php
2014-08-21 14:31:55 +01:00
☃ Stephen Shkardoon ☃
8c12af6acb Update urlvariabletools.md
Remove strange reference to flush values in showtemplate line.
2014-08-20 21:52:14 +12:00
Damian Mooyman
a838e9bae6 Merge remote-tracking branch 'origin/3.1.6' into 3.1 2014-08-19 09:38:17 +12:00
Damian Mooyman
f49416858c Added 3.1.6-rc3 changelog 2014-08-18 17:42:31 +12:00
Sean Harvey
404478b07f Removing @deprecated 3.1 functionality and classes.
Changelog has been updated to include what was removed in terms of
major functionality, and what to use as a replacement.
2014-08-18 16:00:13 +12:00
Sean Harvey
8cf99b9bec Fixing inconsistent use of RewriteRule in docs and install.php5
It currently doesn't match the .htaccess that comes with a checkout of
silverstripe-installer.
2014-08-18 10:55:47 +12:00
Mateusz Uzdowski
8bf3853887 Merge remote-tracking branch 'origin/3.1'
Conflicts:
	docs/en/misc/contributing/issues.md
	docs/en/reference/uploadfield.md
	forms/HtmlEditorField.php
	i18n/i18n.php
	javascript/HtmlEditorField.js
	model/DB.php
	model/Image.php
	model/SQLQuery.php
2014-08-14 09:08:26 +12:00
Damian Mooyman
0b6c68f903 Merge remote-tracking branch 'origin/3.1.6' into 3.1 2014-08-12 16:28:39 +12:00
Damian Mooyman
a8685d0aa6 Fix link 2014-08-12 15:12:44 +12:00
Damian Mooyman
2b25ab37f6 3.1.6-rc2 docs 2014-08-12 15:09:13 +12:00