Ingo Schommer
3b02d22989
Merge remote-tracking branch 'origin/3.0' into 3.1
...
Conflicts:
dev/CsvBulkLoader.php
2013-05-09 10:34:20 +02:00
Sam Minnée
9672a22166
Merge pull request #1851 from chillu/pulls/form-strict-method-check
...
Form strict method check
2013-05-08 22:31:40 -07:00
Fred Condo
677dc9822e
Edit forms documentation
...
Correct spelling and word choices.
2013-05-08 17:00:43 -07:00
Will Morgan
a5b04ba334
Updating docs for Security template changes
...
See https://github.com/silverstripe/sapphire/pull/1807
2013-05-08 11:52:36 +01:00
Ingo Schommer
14c59be85e
API Form::setStrictFormMethodCheck() and strict argument to setFormMethod()
...
Thanks to @sminnee for getting this started
2013-05-08 10:25:13 +02:00
Ingo Schommer
72f81447f0
Merge pull request #1791 from tdf/pullrequests-for-3.1
...
fix nginx documentation to one that actually works :-)
2013-05-08 00:51:38 -07:00
tomzen
19071761b7
Add link to Config. Reference from the Config. Overview section to aid navigation a little
2013-05-07 11:13:27 +02:00
Sam Minnee
b5a83878dd
Added docs for i81n.moduole_priority.
2013-05-06 12:51:46 +12:00
Simon Welsh
a5d69f2bf5
Update page-type-templates.md
2013-05-03 15:04:30 +12:00
Will Rossiter
a5dd2434c0
Merge pull request #1776 from chillu/pulls/composer-require-docs
...
Added --no-update hint to composer docs
2013-04-30 22:09:44 -07:00
Ingo Schommer
6c2e791a48
Merge remote-tracking branch 'origin/3.1'
2013-04-29 08:59:06 +02:00
Ingo Schommer
5f91c3724d
Consistently used dollar notation in template docs (see #1794 )
2013-04-26 11:48:59 +02:00
Will Rossiter
c8d98861c0
Update template documentation to include DataList methods
...
https://github.com/silverstripe/sapphire/pull/1799 .
2013-04-25 11:54:10 +12:00
Christian Lohmaier
26ed69508a
fix nginx documentation to one that actually works :-)
...
example configuration wuldn't allow to install silverstripe, as
install.php does exist as a regular file (and that was ignored in the
old version of the documentation)
Similarily, the last rule in the htaccess snippet that should allow the
access to the tinymce php files were never applied, as a previously
listed regex did match and denied access. Even if it would have taken
effect: as those files do exist on disk, they would have been handed out
as-is and not been interpreted by php.
Also the statement regarding accidental/exploitable execution of
arbitrary php was misleading (and to some degree even wrong) in the old
context.
squashed commit as per pr#1791
2013-04-23 12:37:25 +02:00
Trevor
50d2c26230
Issue #1775 Add reference to $Me in loop and update occurence of Children with $ prefix.
2013-04-23 10:01:00 +02:00
Ingo Schommer
faa3e58468
Allow SS_DATABASE_NAME in _ss_environment.php configuration
...
Makes setups which are completely driven by that file a bit easier
to automate, particularly if the same codebase is deployed
multiple times (e.g. to a staging and live instance)
2013-04-22 14:11:37 +02:00
Sean Harvey
8278181b92
Merge branch '3.0' into 3.1
2013-04-22 17:14:45 +12:00
Sam Minnee
eb583c5f14
NEW: Added DataObject::getQueriedDatabaseFields() as faster alternative to toMap()
...
API: CompositeDBField::setValue() may be passed an object as its second argument, in addition to array.
These changes provide a 15% - 20% performance improvement, and as such justify an small API change in the 3.0 branch. It will likely affect anyone who has created their own composite fields, which is fortunately not all that common.
2013-04-21 13:39:11 +12:00
Ingo Schommer
6e3a150424
3.1.0-beta3 changelog
2013-04-18 19:28:13 +02:00
Ingo Schommer
d877c1063d
Updated changelog, moved "statics in Page.php" to top
...
Its going to be a fatal error on every upgrade unless tended to,
so we need to ensure people don't overlook it in the guide.
2013-04-18 18:28:09 +02:00
Ingo Schommer
f86ca423ca
Added --no-update hint to composer docs
2013-04-18 16:08:08 +02:00
SticksTucker
8033955d35
Include AllPages() form method to $allowed_actions
2013-04-18 13:22:42 +10:00
Ingo Schommer
67ce9e08cc
Extended docs for shortcode handling and doctypes ( fixes #1700 )
2013-04-16 14:01:04 +02:00
Jeremy Shipman
4db5f75298
Info about running regular tasks with cron
...
What commands to use, and good approach to testing
2013-04-15 10:47:59 +12:00
Ingo Schommer
f8ee3e1b73
Merge pull request #1742 from svandragt/patch-1
...
Clarified the context of the step-by-step process
2013-04-14 13:27:16 -07:00
Ingo Schommer
9eab893e7c
Merge remote-tracking branch 'origin/3.1'
...
Conflicts:
model/Image.php
2013-04-12 01:14:55 +02:00
Ingo Schommer
59dc0085d8
Merge remote-tracking branch 'origin/3.0' into 3.1
...
Conflicts:
docs/en/reference/urlvariabletools.md
tests/forms/CheckboxFieldTest.php
2013-04-12 01:13:32 +02:00
Ingo Schommer
f514067f2f
Updated commit message usage to reflect github best practices
2013-04-11 17:35:55 +03:00
Ingo Schommer
0343a77d30
Merge remote-tracking branch 'origin/3.1'
2013-04-11 11:42:04 +02:00
Ingo Schommer
ae09301c8c
Revert deprecation of Object::add_extension() usage
...
This reverts commit 14b997eea3
.
Its just not practical to use the Config API as it stands,
the add_extension() wrapper does more than just a Config->update().
Most use cases can be covered via YML, but any conditional
additions (e.g. in unit tests) can still benefit from the
add_extensions() shorthand.
2013-04-11 11:40:53 +02:00
Ingo Schommer
a68fb1f096
Fixed /admin/pages/publishall link in docs
2013-04-09 23:00:27 +02:00
Ryan Wachtl
46831f56fb
Update configuration.md
...
Link to ssbits.com config cheatsheet no longer relevant.
2013-04-09 10:09:25 -05:00
Sander van Dragt
7b49425e16
Clarified the context of the step-by-step process
...
Also limited the dependency on branching of 'master' to make the example more versatile and consistent with the best practice in this document.
2013-04-09 16:51:20 +02:00
Ingo Schommer
14b997eea3
API Deprecated Object::add_extension() usage (as of 3.2)
2013-04-09 15:00:34 +02:00
Ingo Schommer
9856fcef21
Merge remote-tracking branch 'origin/3.0' into 3.1
...
Conflicts:
javascript/DateField.js
model/DataQuery.php
model/Versioned.php
tests/forms/RequirementsTest.php
tests/model/DataObjectLazyLoadingTest.php
view/Requirements.php
2013-04-09 14:45:35 +02:00
Ingo Schommer
baca12bf37
3.1 changelog summaries
2013-04-09 13:36:39 +02:00
Stephen Shkardoon
1a95be7e60
Update form-validation.md
...
Minor typo, missing a '
2013-04-09 18:44:47 +12:00
Ingo Schommer
01f46d039f
NEW Enforce max node counts to avoid excessive resource usage
...
Rendering potentially 1000s of nodes can exceed the CPU and memory constraints
of a normal PHP process, as well as the rendering capabilities of browsers.
Set a hard maximum for the renderable nodes, deferring to a "show as list" action
in the main CMS tree. For TreeDropdownField, we don't have the list fallback option,
so ask the user to search for the node title instead.
Also makes both the "node_threshold_total" and "node_threshold_leaf" values configurable
2013-04-09 10:24:18 +12:00
s-m
6a95db0eff
API: Support inequalities in templates
...
This adds support for <, <=, >, >= in templates
2013-04-08 17:07:39 +02:00
Ingo Schommer
f296439a24
NEW Hints for scaffolded date/time fields
2013-04-08 19:38:50 +12:00
Ingo Schommer
828ac7fe4f
API Replaced SSViewer.custom_theme with SSViewer.theme_enabled
...
Since we can't influence the setting of configuration values,
we also can't set/unset the 'custom_theme' value based on which
theme is set. This means the 'custom_theme' value goes stale,
and we can't rely on it e.g. in FilesystemPublisher.
The 'theme_enabled' toggle is a cleaner solution to the same problem,
since the 'custom_theme' was really just a way to remember the original
theme, while still disabling it. The toggle makes this more explicit,
but also requires users of the 'theme' setting to check for it.
2013-04-07 23:59:10 +02:00
Will Rossiter
b25eda83c4
Remove reference to /images/flush.
...
Now a BuildTask. See /dev/tasks
2013-04-06 18:13:18 +13:00
Ingo Schommer
1dda9ae45f
Fixed extra_requirements docs
2013-04-05 15:35:30 +02:00
Matt Lewandowsky
d613ba0593
Provide guidance for cross-repo issue referencing
2013-04-05 04:57:09 -07:00
Will Rossiter
05d4dd863d
Update controller.md
2013-04-05 22:17:11 +13:00
Ingo Schommer
a0f0e9bce3
Update translation.md
2013-04-04 17:44:40 +03:00
Andrew Short
120d90fd21
Merge pull request #1357 from jedateach/patch-2
...
Update environment-management.md
2013-04-02 20:19:59 -07:00
Jeremy Shipman
a57e4e8abe
Update environment-management.md
...
Fixed "Available Constants" table at the bottom
2013-04-03 15:29:27 +13:00
Jeremy Shipman
f88fcec2a4
Update composer.md
...
Fixed small typos
2013-04-03 15:16:35 +13:00
Ingo Schommer
0b54b284bc
Updated i18n docs
2013-04-02 11:43:36 +02:00
Ingo Schommer
ef3d974821
Merge remote-tracking branch 'origin/3.1'
...
Conflicts:
docs/en/misc/contributing/issues.md
2013-04-02 02:05:58 +02:00
Ingo Schommer
c08ab18c03
Merge remote-tracking branch 'origin/3.0' into 3.1
...
Conflicts:
.travis.yml
admin/javascript/LeftAndMain.AddForm.js
docs/en/reference/requirements.md
2013-04-02 02:00:50 +02:00
Ingo Schommer
f5754c11aa
Contribution guidelines, new bugtracker links
2013-04-02 01:51:40 +02:00
Dan
9b056456a1
Minor: Update "Editing Online"
...
Adding emphasis to the "Edit this page" feature, and ensuring it comes before the more difficult option of locating the .md file manually.
2013-03-30 03:03:50 -03:00
Ingo Schommer
afb8465d05
Merge remote-tracking branch 'origin/3.1'
...
Conflicts:
.travis.yml
2013-03-29 17:37:19 +01:00
Ingo Schommer
e97c034922
API i18n::$common_languages and i18n::$common_locales converted to Config API
...
They are now accessed via the Config API, and contain associative rather than indexed arrays.
Before: `array('de_DE' => array('German', 'Deutsch'))`, after: `array('de_DE' => array('name' => 'German', 'native' => 'Deutsch'))`.
Also fixed a i18n.js_i18n config accessor
2013-03-27 20:42:46 +01:00
Ingo Schommer
538bf01860
Merge remote-tracking branch 'origin/3.1'
2013-03-27 12:12:16 +01:00
Ingo Schommer
ccb0155b8f
Config docs improvement: @config and LSB mentions
...
Also moved some less important "notes" further down the page.
The doc is still written too much like a technical spec, we need
something that's more accessible to beginners.
2013-03-27 12:08:12 +01:00
Ingo Schommer
315c03872a
Fixed _config.php references and usage in docs
2013-03-27 12:06:57 +01:00
Ingo Schommer
8b4fb6ef0f
Clarified 3.1 upgrading docs
2013-03-26 19:01:36 +01:00
Ingo Schommer
b0d3f7f3a2
Merge remote-tracking branch 'origin/3.1'
...
Conflicts:
api/RSSFeed.php
dev/SapphireTest.php
tests/control/RequestHandlingTest.php
2013-03-26 10:46:41 +01:00
Ingo Schommer
4ea98ae440
Removed Object::*_extension() non-LSB deprecation
...
Its just a simplication, and unnecessarily complicates
module compatibilities.
2013-03-26 00:31:25 +01:00
Ingo Schommer
7470f5e0b6
More upgrading notes about 3.1 and statics
2013-03-25 22:09:21 +01:00
Ingo Schommer
c8f26e673a
3.1 changelog improvements
2013-03-25 09:52:55 +01:00
Ingo Schommer
42a422775e
Fixed path in docs
2013-03-24 22:47:01 +01:00
Ingo Schommer
3334eafcb1
API Marked statics private, use Config API instead ( #8317 )
...
See "Static configuration properties are now immutable, you must use Config API." in the 3.1 change log for details.
2013-03-24 17:20:53 +01:00
Ingo Schommer
00fb8cf679
Formatting and docs changes to configuration.md
2013-03-24 17:20:36 +01:00
Ingo Schommer
74df4a5627
Merge pull request #1312 from chillu/pulls/deprecation-docs
...
Deprecation docs
2013-03-21 16:35:48 -07:00
Ingo Schommer
ea0cedb3da
Removed internal/outdated/speculative docs from requirements.md
2013-03-21 12:44:34 +01:00
Ingo Schommer
81a51331d6
IX Load _config.php's after static config manifest
...
This allows more sophisticated handling of config alterations
in _config.php. One example is additions to DataObject::$db
based on configuration which requires some processing.
See https://github.com/unclecheese/TranslatableDataObject/blob/master/TranslatableDataObject.php
2013-03-21 00:16:36 +01:00
Ingo Schommer
63c8441410
Merge remote-tracking branch 'origin/3.0' into 3.1
...
Conflicts:
admin/javascript/LeftAndMain.js
2013-03-21 00:11:17 +01:00
Ingo Schommer
c3854e9e4c
Merge pull request #1274 from simonwelsh/update-conventions
...
Update conventions
2013-03-20 03:56:45 -07:00
Ingo Schommer
72d5f3cf17
Composer contribution fork/upstream docs ( fixes #8332 )
2013-03-20 11:37:41 +01:00
Ingo Schommer
5b83de4049
Added note about deprecations to 3.1 upgrading guide
2013-03-20 10:28:39 +01:00
Ingo Schommer
05689a9421
Deprecation docs
2013-03-20 10:20:27 +01:00
Ingo Schommer
53c84ee1fe
Merge remote-tracking branch 'origin/3.0' into 3.1
2013-03-19 14:04:29 +01:00
Ingo Schommer
99ca0471f7
Merge remote-tracking branch 'origin/2.4' into 3.0
...
Conflicts:
control/RequestHandler.php
core/control/ContentController.php
dev/CsvBulkLoader.php
docs/en/changelogs/index.md
docs/en/reference/execution-pipeline.md
docs/en/topics/commandline.md
docs/en/topics/controller.md
docs/en/topics/form-validation.md
docs/en/topics/forms.md
docs/en/topics/security.md
model/MySQLDatabase.php
security/Security.php
tests/control/ControllerTest.php
tests/control/RequestHandlingTest.php
2013-03-19 13:56:04 +01:00
Andrew Short
94f209eb74
Merge branch '3.1'
2013-03-19 22:36:47 +11:00
Andrew Short
b8a51c3792
Merge branch '3.0' into 3.1
2013-03-19 22:27:09 +11:00
Ingo Schommer
250834d9d2
Updated browser requirements, dropping IE7 support
...
See https://groups.google.com/forum/?fromgroups=#!topic/silverstripe-dev/GahZfDLvb-I
2013-03-18 14:33:43 +01:00
Ingo Schommer
c7d2d51c6a
Docs - Howto: Customize the Pages List in the CMS
2013-03-18 13:55:15 +01:00
Stephen Shkardoon
5f08ea3e6a
Fix minor formatting issues
...
Extra spaces in front of Action.
Removed the out of place text on GridField (is that meant to be a link or what?)
Missing a period on the end of some entries.
2013-03-18 14:37:26 +13:00
Ingo Schommer
f4d16d01f8
Adjusted docs to "simple" theme (thanks Nadeeth Lansakara)
2013-03-17 20:58:06 +01:00
Stephen Shkardoon
2ead2ba60f
Removed invalid characters
...
No idea what those characters were meant to be, so I removed them.
2013-03-16 23:17:02 +13:00
Stephen Shkardoon
ad5a090847
Typo "nee" -> "need"
...
Looks like Silverstripe needs the d.
2013-03-16 17:15:50 +13:00
Simon Welsh
97df009a41
Correct spelling
2013-03-16 00:06:10 +13:00
Simon Welsh
0cc2aeb827
Update examples to match conventions
2013-03-16 00:06:10 +13:00
Simon Welsh
a772eb1528
Update coding conventions to match SilverStripe practices
2013-03-16 00:06:04 +13:00
Andrew Short
bc941c18b6
Merge branch '3.1'
2013-03-15 21:58:37 +11:00
Andrew Short
6ae931df24
Merge branch '3.0' into 3.1
2013-03-15 21:47:23 +11:00
Hamish Friedlander
a2845735b0
Update 3.1.0 upgrading notes for casting changes
2013-03-14 12:49:34 +13:00
Stephen Shkardoon
38df64b69d
Fixing formatting errors
...
The usage of spaces instead of tabs causes the highlighting to display incorrectly on the docs.silverstripe.org site. I replaced them with tabs as they should be
2013-03-14 11:23:00 +13:00
Sam Minnée
09377f0ba4
Added upgrade note for config static immutability
...
Config statics are now immutable for performance, this requires an upgrade change.
2013-03-13 11:22:41 +13:00
Ingo Schommer
53e988bb09
Merge remote-tracking branch 'origin/3.1.0-beta2' into 3.1
2013-03-12 10:45:44 +01:00
Ingo Schommer
30c0f82221
Merge pull request #1265 from danrye/patch-2
...
Fixed link and added branch direction
2013-03-09 02:40:31 -08:00
Dan
7d35d899fb
Fixed link and added branch direction
...
Broken link to edit docs, perhaps should link to repo instead of directory to avoid having a branch in the URL. Also added blurb to clarify what branch doc edits should occur in.
2013-03-08 10:24:49 -05:00
Dan
4a12d6db3c
Minor: Two modules are listed as three.
...
...for example "framework" and "cms". These three modules... Should be two modules, or perhaps there is a third missing from the list.
2013-03-08 10:10:04 -05:00
Ryan Wachtl
957f4e75e8
Update execution-pipeline.md
...
Corrected naming of SS_HTTPResponse variable. Improved readability of PHP code samples.
2013-03-05 22:06:52 -06:00
Ingo Schommer
64888c07b7
Partially revert docs commit 7710cf59
...
i18n.js doesn't support named parameters (yet)
2013-03-04 08:48:16 +01:00
Ryan Wachtl
3d602998b1
Update rich-text-editing.md
...
`HtmlEditorField::add_extension('MyToolbarExtension');` was not working for me. I had to use `HtmlEditorField_Toolbar`.
2013-03-02 14:37:09 -06:00