Ingo Schommer
2e6e0de44d
Clarified DataList->limit() docs
2013-01-15 10:14:55 +01:00
Fred Condo
4b182d3fad
Update documentation of nginx configuration
...
- Avoid using "if" to check for file existence (use try_files instead)
- Replicate the behavior of the .htaccess files
- TODO: get static error pages to work
2013-01-11 15:54:49 +01:00
Ingo Schommer
f3c0669fec
Merge remote-tracking branch 'origin/3.0' into 3.1
...
Conflicts:
_config/uploadfield.yml
css/UploadField.css
forms/UploadField.php
scss/UploadField.scss
templates/UploadField.ss
tests/forms/uploadfield/UploadFieldTest.php
2013-01-11 10:02:39 +01:00
Ingo Schommer
67c5db3320
NEW Global default config for UploadField
2013-01-11 09:07:42 +01:00
Ingo Schommer
43601d6010
NEW Global default config for UploadField
2013-01-10 00:15:35 +01:00
drzax
f6ab5a4020
Update docs/en/topics/i18n.md
...
Make the documentation more clear and 3.x specific. Especially around template translations.
2013-01-09 12:46:09 +10:00
Ingo Schommer
79997477b3
Merge remote-tracking branch 'origin/3.0' into 3.1
...
Conflicts:
model/DataList.php
2013-01-08 17:16:09 +01:00
James Cocker
001e58c110
Update docs/en/tutorials/1-building-a-basic-site.md
...
Fixed typo in code block. UL tag was opening instead of closing.
2013-01-08 15:52:46 +00:00
Will Rossiter
a8904e3de0
Removed incorrect line from contact form docs.
...
From disqus comments.
2013-01-08 18:17:38 +08:00
Nicolaas
9dcace9b32
upgrading 'Setting up an environment for contributing to SilverStripe' to heading 1
...
we do this to make it clearer that you can do the basic install OR a 'DEV' install - after that we list the advanced usage cases.
2013-01-05 11:26:21 +13:00
Ingo Schommer
5d9819be53
Clearer docs on using composer for contributions
2013-01-04 12:21:07 +01:00
Ingo Schommer
3fd1769142
Added docs about which branch to choose
2012-12-21 14:26:51 +01:00
Ingo Schommer
f72a024af5
Updated changelog notes
2012-12-18 10:40:05 +01:00
uniun
77212c0647
CMS Titles does not support UTF-8
...
Title in CMS is set using header X-Title. But UTF-8 characters can't be used in HTTP headers. So the title should be encoded just before sending X-Title header and decoded before setting HTML document title (fixes #7942 ).
2012-12-17 17:36:00 +01:00
Ingo Schommer
0d37cd3e69
Updated changelog
2012-12-17 16:40:33 +01:00
Ingo Schommer
407a19cdb6
Beta changelog links
2012-12-17 14:27:31 +01:00
Ingo Schommer
c5c2df2323
Merge remote-tracking branch 'origin/3.0' into 3.1
2012-12-17 11:54:40 +01:00
Ingo Schommer
75b0c3ec8f
Added 3.1.0-beta1 changelog
2012-12-17 00:47:36 +01:00
Ingo Schommer
3da41efa70
Permission docs
2012-12-17 00:47:30 +01:00
Ingo Schommer
1848d7e90a
API Check model permissions in GridField
2012-12-17 00:46:51 +01:00
Howard Grigg
fbeaa4770a
Corrected link in Form field types docs
2012-12-14 23:13:08 +13:00
Ingo Schommer
d13c53fda6
Merge remote-tracking branch 'origin/3.0' into 3.1
...
Conflicts:
tests/model/DataQueryTest.php
2012-12-14 10:57:28 +01:00
Stig Lindqvist
681a0241e7
DOC Removed link to missing 'extending-the-cms.md'
2012-12-14 16:15:22 +13:00
Ingo Schommer
1ca3883a76
NEW Tooltip and inline help text support for CMS form fields
2012-12-14 01:58:04 +01:00
Ingo Schommer
6f9d01f621
API FormField->setDescription() visible in default template
...
Renders into <span class="description"> instead of "title" attribute
2012-12-14 01:58:04 +01:00
Ingo Schommer
b65180a7f6
Changelog update for grouped CMS buttons
2012-12-14 01:56:24 +01:00
Hamish Friedlander
27113f82c3
API Make DataList and ArrayList immutable
...
In 3.0 there was some confusion about whether DataLists and ArrayLists
were mutable or not. If DataLists were immutable, they'd return the result, and your code
would look like
$list = $list->filter(....);
If DataLists were mutable, they'd operate on themselves, returning nothing, and your code
would look like
$list->filter(....);
This makes all DataLists and ArrayList immutable for all _searching_ operations.
Operations on DataList that modify the underlying SQL data store remain mutating.
- These functions no longer mutate the existing object, and if you do not capture the value
returned by them will have no effect:
ArrayList#reverse
ArrayList#sort
ArrayList#filter
ArrayList#exclude
DataList#dataQuery (use DataList#alterDataQuery to modify dataQuery in a safe manner)
DataList#where
DataList#limit
DataList#sort
DataList#addFilter
DataList#applyFilterContext
DataList#innerJoin
DataList#leftJoin
DataList#find
DataList#byIDs
DataList#reverse
- DataList#setDataQueryParam has been added as syntactic sugar around the most common
cause of accessing the dataQuery directly - setting query parameters
- RelationList#setForeignID has been removed. Always use RelationList#forForeignID
when querying, and overload RelationList#foreignIDList when subclassing.
- Relatedly,the protected variable RelationList->foreignID has been removed, as the ID is
now stored on a query parameter. Use RelationList#getForeignID to read it.
2012-12-14 13:30:35 +13:00
Ingo Schommer
644cc79ebb
API Removed methods previously deprecated in 3.0
2012-12-14 01:16:47 +01:00
Ingo Schommer
c6b1d4aa6b
API Storing alternative DB name in cookie rather than session
...
Session is not initialized by the time we need to use
the setting in DB::connect(). Cookie values get initialized
automatically for each request.
Tightened name format validation to ensure it can only
be used for temporary databases, rather than switching
the browser session to a different production database.
Encrypting token for secure cookie usage.
Added dev/generatesecuretoken to generate this token.
Not storing in YML config directly because of web access issues.
2012-12-13 23:21:48 +01:00
Mateusz Uzdowski
fe08236f21
API Add action tabsets as a interface idiom.
...
Introduces the concept of action tabsets - usage of TabSet and Tabs
in between the action buttons to allow richer set of capabilities that
can be offered to the user.
Goes along with c8d0cdec99c95dbed3b58ebcc098cc9d22c58206 that implements
a change to the CMS actions.
2012-12-13 17:43:24 +01:00
Ingo Schommer
5fed5b91c9
API Moved email bounce handling to new 'emailbouncehandler' module
2012-12-12 23:36:42 +01:00
Ingo Schommer
6571c17992
Merge remote-tracking branch 'origin/3.0'
2012-12-11 17:16:19 +01:00
Ingo Schommer
e8fbfc0bd1
NEW FixtureFactory separated out from YamlFixture
...
Enables more generic use of the fixture facilities
without dependency on the YAML format, for example
when creating fixtures from Behat step definitions.
Note: The YamlFixture class needs to be created via
Injector::inst()->create('YamlFixture') now,
direct instantiation is no longer supported.
2012-12-11 17:06:27 +01:00
Ingo Schommer
548ad503ed
API Removed keyed arrays for title/value setting in SelectionGroup
...
Use SelectionGroup_Item class instead. Necessary because
of removal of array key support from ArrayList (see d12b49702
).
2012-12-11 11:06:06 +01:00
Sean Harvey
0f8b229d6b
Modify Composer install path in docs
...
Composer examples at http://getcomposer.org/doc/00-intro.md use
/usr/local/bin for installing Composer globally, so let's use that
path as well instead of /usr/bin.
2012-12-11 15:43:30 +13:00
Mateusz Uzdowski
4fa2b0f3ff
API Support disabling/enabling of previews.
...
This fixes the problem of panels flipping back to the Pages section if
loading a non-previewable section, and also initialisation problems.
2012-12-10 17:52:01 +01:00
Mateusz Uzdowski
8f5acd70b3
API Move state to enwtine properties, provide API for preview.
...
Also the preview state is now kept between panel loads. We also use a
redraw function to update appearance based on the state.
2012-12-10 17:52:01 +01:00
Mateusz Uzdowski
d4f13fe532
API Refactor the CMS layouting to provide access to options.
...
It is now possible to change the threeColumnLayout width options for the
columns via entwine property LayoutOptions and accessor methods.
Thanks @robert-h-curry, @clarkepaul for contributing!
2012-12-10 17:52:01 +01:00
Ingo Schommer
fa84c2d705
Merge remote-tracking branch 'origin/3.0'
2012-12-10 17:50:43 +01:00
Ingo Schommer
fb076c0396
API Deprecated global email methods, moved to Mailer class
...
Code reorganization to reduce global scope pollution.
Removed non-functional `$inlineImages` option for sending emails.
2012-12-09 22:09:35 +01:00
Ingo Schommer
3c0bd405a1
Removed @stable workarounds from composer docs
...
No longer necessary since we only add the @stable markers
for release tags, and remove them for release branches again.
2012-12-07 00:41:03 +01:00
Simon Welsh
5ca000d0a5
Correct routing rule block indentation
2012-12-07 08:15:53 +13:00
Ingo Schommer
b8c656b565
Fixed cms extension docs to remove zzz_admin workaround
...
No longer required due to fixes to TemplateManifest
2012-12-04 10:47:37 +01:00
Ingo Schommer
a108f67476
Merge pull request #922 from simonwelsh/rellist-presave
...
NEW: Allows setting of has_many and many_many relations before writing
2012-12-04 01:25:15 -08:00
Ingo Schommer
0eab45392e
Merge pull request #962 from chillu/pulls/buildtools
...
Updated docs to fit new 'buildtools' workflow
2012-12-04 01:24:35 -08:00
Will Rossiter
100ad658db
Email doc formatting
...
Workaround markdown parser throwing a fit with code straight after list.
2012-12-04 20:00:09 +13:00
Will Rossiter
bf67679155
Fix typo in email docs.
2012-12-04 19:56:36 +13:00
Will Rossiter
4cb81dafdf
Fix typo with setTemplate() rss docs.
2012-12-04 19:54:26 +13:00
Simon Welsh
9106e41498
Fix related to ModelAdmin links
2012-12-01 11:57:07 +13:00
Ingo Schommer
fa2057bcd9
Merge remote-tracking branch 'origin/3.0'
...
Conflicts:
search/FulltextSearchable.php
2012-11-30 14:25:06 +01:00
ARNHOE
8590bec1a9
SummaryFields doesn't change Title of Field
...
$field_labels does for me.
2012-11-30 09:53:01 +01:00
Ingo Schommer
0dba1485a5
Merge remote-tracking branch 'origin/3.0'
2012-11-28 16:36:21 +01:00
Simon Welsh
bbc4443af7
NEW: Allows setting of has_many and many_many relations before writing
...
Adds a new wrapper list, UnsavedRelationList, that maintains the relations until
writing, where it is converted into the correct RelationList.
2012-11-28 09:37:08 +13:00
Ingo Schommer
87d538c7ee
Merge pull request #959 from silverstripe-droptables/alternating-button-rc
...
NEW Extend the ssui.button with alternate appearances.
2012-11-27 01:55:16 -08:00
Ingo Schommer
8108f7f936
NEW Relation search for GridFieldAddExistingAutocompleter
...
Now also searches 1:n relations if they where defined in searchableFields() with dot notation.
2012-11-27 10:51:10 +01:00
Ingo Schommer
c8136f5d4c
NEW Many-many relation data editing in GridFieldDetailForm
...
Also adds GridFieldDetailForm->setFields() for customizing
the displayed form fields (required for adding relational fields).
2012-11-27 10:45:43 +01:00
Adam Judd
2d8b7daaf9
Add limit() details to datamodel.md
2012-11-26 23:59:31 -08:00
Sean Harvey
6ce6f9a2c1
Merge branch '3.0'
2012-11-26 17:17:41 +13:00
Hamish Friedlander
40fd5abb57
DOC Update composer docs with changes from 3.0.3
2012-11-26 16:29:20 +13:00
Hamish Friedlander
e934030bc1
Merge changes for 3.0.3 release into 3.0
2012-11-26 11:34:28 +13:00
Hamish Friedlander
77f7778b4a
Add 3.0.3 changelog
2012-11-26 11:20:21 +13:00
Mateusz Uzdowski
dbbcd08d8f
NEW Extend the ssui.button with alternate appearances.
...
Reusable feature for making CMS buttons that respond to the current
contextual state with an appearance change.
Provides capability to specify initial state, alternate icon and
alternate text via data attributes or options (PHP or JS), and to hook
up into events triggered when the state is alternating.
This is used by the follow-up cms action buttons cleanup work.
2012-11-26 09:51:02 +13:00
Ingo Schommer
c55c7c33f8
Merge branch '3.0'
...
Conflicts:
admin/code/CMSProfileController.php
composer.json
tests/model/DataObjectTest.php
2012-11-22 23:51:28 +01:00
Ingo Schommer
96acd50681
Update composer contributing instructions
2012-11-22 15:10:10 +01:00
Sam Minnee
ecd921cc0a
Fixed glitches in the sample composer.json shown in the docs
2012-11-22 17:03:11 +13:00
Ingo Schommer
7c3ce86bbb
Updated docs to fit new 'buildtools' workflow
2012-11-21 16:15:48 +01:00
Ingo Schommer
df4fde3864
Pjax docs
2012-11-18 23:48:43 +01:00
Ingo Schommer
32f829d094
NEW Support for Behat tests, and initial set of tests
2012-11-16 15:31:55 +13:00
Hamish Friedlander
5edf86fe7a
Merge branch '3.0.3' into 3.0
2012-11-16 14:57:50 +13:00
Hamish Friedlander
fb7db6de6d
Add 3.0.3-rc2 changelog
2012-11-16 14:45:20 +13:00
Sean Harvey
4ea5bc5679
adding notes about deprecated things in the core
2012-11-16 11:57:53 +13:00
Ingo Schommer
8c2e3230c8
Added ModelAdmin customization docs
2012-11-15 22:14:15 +01:00
Ingo Schommer
4fcdfe8d64
Testing docs recommend "phpunit" over "sake"
...
- Moved some docs around to reflect this change
- Described how to symlink from vendor/bin/phpunit
- Added note about browser-runs not being recommended
- Added more examples on how to run through "sake",
to complement the existing descriptions for "phpunit"
2012-11-15 14:15:46 +01:00
Ingo Schommer
0a580deb3f
Documenting PHPUnit install through composer
2012-11-15 13:40:07 +01:00
Stig Lindqvist
84692bf499
Corrections to composer docs for update and install
2012-11-13 22:57:02 +13:00
Sam Minnee
875e01ff1c
Added composer docs for update and install
2012-11-12 11:58:41 +13:00
Sam Minnee
cc96b4d0ff
More clarification of composer docs
2012-11-12 11:48:49 +13:00
Stig Lindqvist
e43a4f22fb
Update docs/en/installation/composer.md
...
DOC Corrected a spelling error on the example of advanced usage.
2012-11-09 19:08:13 +13:00
Ingo Schommer
edb4ecd4d9
Note about backtick in entwine shortcuts
2012-11-07 13:05:48 +01:00
Sam Minnée
8e6ad8c856
Merge pull request #935 from chillu/pulls/tabs-docs
...
Tabs docs for CMS
2012-11-06 15:27:40 -08:00
Ingo Schommer
ada42103ed
Tabs docs for CMS
2012-11-06 23:59:35 +01:00
Sean Harvey
078a8e9c2b
Adding note about Object::add_extension() and has_extension() changes
2012-11-07 11:07:56 +13:00
Andrew O'Neil
fdea5321c7
APICHANGE: add_extension() is now called directly on the class, instead of on Object
2012-11-07 11:07:55 +13:00
Ingo Schommer
3214a0a756
Merge remote-tracking branch 'origin/3.0'
...
Conflicts:
admin/css/screen.css
2012-11-06 19:56:34 +01:00
Ingo Schommer
bcee252c2f
Fixed sapphiredocs references
2012-11-06 11:01:48 +01:00
Sam Minnee
c1ae13ffb0
Added docs about composer branch names and forks.
2012-11-06 16:48:03 +13:00
Sean Harvey
169366a011
Merge branch '3.0'
2012-11-06 13:04:21 +13:00
Sam Minnee
10f34f43d5
Tidy up formatting of composer docs.
2012-11-06 12:30:45 +13:00
Sam Minnee
4e72ae8667
Added composer documentation for using project forks.
2012-11-06 12:26:43 +13:00
Sam Minnee
3013fa013f
Removed 'from-source' documentation
2012-11-06 11:48:39 +13:00
Sean Harvey
34f9c8e866
adding 3.0.3-rc1 to changelog index
2012-11-06 10:58:55 +13:00
Sean Harvey
896ce60432
Adding changelog for 3.0.3-rc1
2012-11-06 10:41:24 +13:00
Sam Minnee
cf7f51a826
Removed unnecessary step in composer instructions.
2012-11-05 18:33:01 +13:00
Sean Harvey
0f55a11a5a
Merge pull request #872 from chillu/pulls/file-permission
...
API File->canEdit() returns TRUE by default (not checking CMS perms)
2012-11-04 19:33:18 -08:00
Sam Minnee
3f6740f185
Improved module installation docs for composer.
2012-11-05 16:30:35 +13:00
Sean Harvey
fbc6e3366b
Merge branch '3.0'
2012-11-05 15:11:48 +13:00
Sam Minnee
2d3c33d400
FIX: Fixed details about version in composer create-project
2012-11-04 21:50:56 +13:00
Sam Minnee
c1ae8f9e7a
Added docs for composer
2012-11-03 18:00:58 +13:00
Simon Welsh
8a0f234acf
Merge pull request #870 from chillu/pulls/datalist-filterany
...
NEW DataList->filterAny()
2012-11-02 16:17:48 -07:00
Ingo Schommer
80f40c6070
Merge pull request #907 from stojg/docs-forms-7727
...
MINOR: Fixes to the topics/forms.md
2012-10-31 15:19:29 -07:00