Ingo Schommer
2e6e0de44d
Clarified DataList->limit() docs
2013-01-15 10:14:55 +01:00
Ingo Schommer
317495f8ef
Merge pull request #1035 from zoao/3.0
...
tinymce language portuguese is not working
2013-01-11 07:11:54 -08:00
Ingo Schommer
3a1df46743
Merge pull request #1055 from stojg/bug-relField
...
BUG Calling DataObject::relField() on a object with an empty relation list
2013-01-11 07:09:55 -08: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
uniun
e020c7be57
BUG doSave() and doDelete() should use translated singular name
2013-01-11 15:50:09 +01:00
Ingo Schommer
e66408b0a7
Merge pull request #1044 from uniun/3.0
...
BUG Hardcoded project name in include_by_locale()
2013-01-11 06:46:20 -08:00
Ingo Schommer
42a73715cf
Merge pull request #1051 from uniun/patch-3
...
BUG removeRequiredField() should use array_splice() instead of unset()
2013-01-11 06:45:35 -08:00
Ingo Schommer
1dcd9514f9
Merge pull request #1056 from kopymark/patch-2
...
BUG: Accordion widget doesn't actually accept 'true' for 'active'
2013-01-11 06:43:41 -08:00
Ingo Schommer
9b42dec932
Merge pull request #1072 from sunnysideup/patch-2
...
adding extension hook in GridFieldDetailForm.php
2013-01-11 06:37:27 -08:00
Ingo Schommer
7dda38742e
Merge pull request #1071 from sunnysideup/patch-1
...
Update forms/TextareaField.php: small edit to description of the field
2013-01-11 06:37:01 -08:00
Ingo Schommer
e7e6c45aee
Merge pull request #1082 from sminnee/form-improvements
...
Form improvements
2013-01-11 02:29:14 -08:00
Ingo Schommer
acc616b2ca
Merge pull request #1080 from sminnee/caching-improvements
...
Caching improvements
2013-01-11 02:00:51 -08:00
Ingo Schommer
4f39af1a85
Merge pull request #1090 from sminnee/fix-get-one-case
...
FIX: Fix DataObject::get_one() when the classname is passed with imprope...
2013-01-11 01:42:29 -08:00
Ingo Schommer
212c4f1e51
Fixed UploadField regression from 4da1af9c3
2013-01-11 09:30:21 +01:00
Sam Minnee
f8758bad6a
FIX: Fixed margins so that margin is displayed between preview images and their title.
...
Previously the margin was erroneously only shown for a drop zone. It's possible that this bug only affects single-image uploads.
2013-01-11 09:29:09 +01:00
Sam Minnee
5b450f7fea
NEW: Added replaceExistingFile setting for UploadField.
...
Sometimes has-one UploadFields can get confused about whether or not there is an existing file that needs deleting. This setting lets you make a more robust has-one UploadField, where any existing file will be replaced. It more closely mimics simple single-file upload fields.
2013-01-11 09:29:06 +01:00
Sam Minnee
cc7318fde4
NEW: Added canAttachExisting config option for UploadField.
...
This is the companion setting to canUpload, letting you control whether existing files from the asset store can be referenced. It's particularly useful when using UploadField on the front-end.
2013-01-11 09:29:02 +01:00
Sam Minnee
2fdd9a3b13
FIX: Allow images attached to UploadFields to be unlinked without File::canEdit() or File::canDelete() permission.
...
Although editing meta-data or deleting permanently would require File editing/deleting permissions, merely linking to a record does not. This change is important for allowing front-end use of UploadField; or, more importantly, use of UploadFile by people without CMS rights.
2013-01-11 09:07:42 +01:00
Ingo Schommer
4da1af9c3f
Show label-less input#file field in UploadField with canUpload=false
...
The field carries the configuration, and some non-upload functionality
like "attach files" still relies on the fileupload jQuery plugin
being initialized.
Conflicts:
templates/UploadField.ss
2013-01-11 09:07:42 +01:00
Ingo Schommer
67c5db3320
NEW Global default config for UploadField
2013-01-11 09:07:42 +01:00
Ingo Schommer
2dfd42795e
NEW Restrict upload abilities in UploadField
...
Conflicts:
css/UploadField.css
templates/UploadField.ss
2013-01-11 09:07:42 +01:00
Sam Minnee
f4efaeefa7
FIX: Fix DataObject::get_one() when the classname is passed with improper casing.
2013-01-11 12:20:57 +13:00
Ingo Schommer
f922321287
ManyManyList->getExtraFields()
...
Needed for introspection for many_many relationships
without knowing the name of the relationship,
meaning we can't use DataObject->many_many_extraFields().
2013-01-10 22:35:20 +01:00
Sam Minnée
1e56de22d2
Merge pull request #1085 from drzax/patch-1
...
Update docs/en/topics/i18n.md
2013-01-09 16:53:13 -08:00
Ingo Schommer
e8bfc241fd
Setting SapphireTest::is_running_test() in PHPUnit bootstrap
...
Otherwise conditional logic will only succeed
when run through "sake dev/tests", not when
run through phpunit directly (which is the recommended way now)
2013-01-09 23:31:10 +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
2ace1de328
Merge pull request #1084 from jcwacky/patch-1
...
Update docs/en/tutorials/1-building-a-basic-site.md
2013-01-08 08:08:59 -08: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
Hamish Friedlander
f41a7d8b65
FIX: Fix issue with not being able to log out on Chrome when caching enabled because of Chrome bug
2013-01-08 17:47:05 +13:00
Hamish Friedlander
2916f2043c
NEW: Improve HTTP caching logic to automatically disable caching for requests that use the session.
...
This improvement makes it easier to set a side-wide default cache time without needing to worry about CSRF-protected forms, etc.
2013-01-08 17:47:05 +13:00
Sam Minnee
b114aa2488
BUGFIX: Added X-Forwarded-Protocol and User-Agent to Vary header.
2013-01-08 17:47:05 +13:00
Sam Minnee
729bcc95db
BUGFIX: Don't clear form messages unless forTemplate() is actually called.
...
BUGFIX: Clear session-stored form data as well as form error message.
2013-01-08 17:45:17 +13:00
Sam Minnee
abbee41b78
NEW: Add ReadonlyField::setIncludeHiddenField()
...
The new config setter restores the 2.4 behaviour of including <input type="hidden"> with a field. Although as a default, this option has security flaws; it is useful in a few circumstances and, if nothing else, is handy to make upgrading sites easier.
2013-01-08 17:45:17 +13:00
Sean Harvey
b63e55a77a
Merge pull request #993 from halkyon/htaccess_fix
...
Fixing .htaccess to ignore rewriting PHP files directly
2013-01-06 17:24:49 -08:00
Sean Harvey
baaa270ceb
Merge pull request #1032 from halkyon/datalist_filter_docs
...
Improve class naming and docs for DataList::applyFilterContext()
2013-01-06 17:23:43 -08:00
Sean Harvey
2140a621fb
Merge pull request #1067 from halkyon/shorthand_ternary_op
...
Remove unncessary variable from TreeDropdownField
2013-01-06 17:20:54 -08:00
Sean Harvey
68eb367d27
Remove unncessary variable from TreeDropdownField
2013-01-07 14:14:54 +13:00
Ingo Schommer
a0a317886b
Merge pull request #1077 from sunnysideup/patch-5
...
upgrading 'Setting up an environment for contributing to SilverStripe'
2013-01-06 13:08:06 -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
d872202ae5
Support for X-Reload header
...
Backported from 3.1. Required to get subsite's
"copy page to subsite" form submission working.
2013-01-03 20:43:51 +01:00
Nicolaas
a32451f72e
adding extension hook in GridFieldDetailForm.php
...
This hook is useful so that you can add additional fields / actions in a gridfield form that are not available in other settings (e.g. additional actions: previous / next / save and publish / unpublish / etc
2012-12-27 19:22:54 +13:00
Justin Martin
f431b35b88
BUG: Confirmed Password Field now copies attributes to child fields.
2012-12-27 09:25:15 +13:00
Nicolaas
3fca288873
Update forms/TextareaField.php
...
small edit to description of the field (usage). Removed reference to cols and rows parameters.
2012-12-26 22:29:36 +13:00
Ingo Schommer
3fd1769142
Added docs about which branch to choose
2012-12-21 14:26:51 +01:00
Ingo Schommer
f0f83b26a8
BUG Graceful handling of sprintf with too few params in i18n::_t()
...
Originally discovered as a problem with the 'GridFieldDetailForm.Saved' in nl.yml
2012-12-21 11:46:39 +01:00
Ingo Schommer
661a4a2492
Removed direct sprintf() usage from _t() calls
...
Parameterized strings are easier to understand,
and more fail-proof, don't fatal out when not enough sprintf() args
2012-12-21 11:46:38 +01:00
Ingo Schommer
c054ab49a2
Merge pull request #1053 from unclecheese/patch-11
...
Fix edge case in which uninitialized buttons are being destroyed.
2012-12-20 11:08:47 -08:00
Ingo Schommer
6bcffd66ad
Merge pull request #1063 from drzax/log-file-formatter-fix
...
BUGFIX Ensure has length before using string index access.
2012-12-20 10:19:03 -08:00