Ingo Schommer
0a312b4eaf
Merge pull request #1141 from drzax/patch-1
...
MINOR Formatting fix
2013-01-29 00:07:26 -08:00
drzax
048ba5b306
MINOR Formatting fix
2013-01-29 14:35:51 +10:00
Hamish Friedlander
bec5ae1886
Include code to block yaml files in installer generated .htaccess
2013-01-29 14:20:12 +13:00
Hamish Friedlander
acfc0be471
Document that yaml files shouldnt be served directly
2013-01-29 14:11:52 +13:00
Damian Mooyman
657c14fd82
Added test cases for exception error logging
2013-01-24 09:36:42 +01:00
Damian Mooyman
f5749795a1
BUG Exception handling and email notification mechanism now correctly considers the stacktrace as provided by the exceptionHandler function, instead of attempting to perform a debug_backtrace further down the reporting chain (which ends up generating an unnecessarily nested stacktrace). Debug was cleaned up so that errorHandler and exceptionHandler both act consistently. As a result, the LogErrorEmailFormatter class could be simplified.
...
This was required to fix a bug in which exceptions would not have a visible stacktrace when handled by the email logger.
2013-01-24 09:36:42 +01:00
Nicolaas
9ac3cde00b
Fix typo in templates/Controller.ss
2013-01-23 23:55:34 +01:00
Ingo Schommer
c69381c33e
API Remove Content-Length setting from HTTPResponse ( fixes #8010 )
...
This reverts commit 356a367eb5
.
We can't use headers_sent() to determine an accurate
content length, since PHP defaults to buffering a couple of bytes
even without ob_start() (see "output_buffering" setting).
This makes the patch harmful, since it breaks any responses relying
on more structure data, like removing closing brackets from JSON.
Which in turn breaks the CMS in horrible ways (see #8010 ).
See #7574 for context.
2013-01-23 15:05:33 +01:00
Ingo Schommer
b70a980c88
Merge pull request #1117 from silverstripe-rebelalliance/fix/phpunit/3.0
...
FIX PHPUnit latest not working with composer installed builds
2013-01-22 23:45:18 -08:00
Hamish Friedlander
45eb0f99f7
FIX PHPUnit latest not working with composer installed builds
...
When using composer, we must rely on the composer autoloader to
load in PHPUnit and not try do to so ourselves, as the old
PHPUnit\Autoload.php file doesnt understand how to find things
in vendor
2013-01-23 14:30:08 +13:00
Ingo Schommer
4892c11aaa
Clarified docs on isDev usage in dev/build
2013-01-22 14:29:58 +01:00
Ingo Schommer
f833226da0
Updated issue reporting guidelines
2013-01-22 12:05:07 +01:00
Ingo Schommer
6c7e3afab3
Updated translations
2013-01-21 12:57:15 +01:00
Ingo Schommer
f7c8778466
Breadcrumb/back nav in ModelAdmin now retains search params
2013-01-21 12:04:20 +01:00
Ingo Schommer
8717deca82
HTMLEditorField undefined $dimensionsField ( fixes #7494 )
...
Also use fluent API for form field definition to keep field invocations
in one place and thereby reduce these kind of bugs.
2013-01-21 11:11:21 +01:00
Ingo Schommer
5d37d55f35
BUG Form session message clearing regression
...
Regression originally from 729bcc95
, but made visible by 014f541a8
2013-01-21 11:11:21 +01:00
Will Rossiter
3d921e7459
Update docs/en/reference/form-field-types.md
2013-01-20 19:51:18 +13:00
Ingo Schommer
fa35f3eb67
Merge pull request #1110 from sunnysideup/patch-9
...
Update admin/code/ModelAdmin.php
2013-01-19 01:39:53 -08:00
Nicolaas
7523fe4ef7
Update admin/code/ModelAdmin.php
...
Changed "Clear Database before import" - which is incorrect (not the whole database gets wiped, only the data in the model at hand) with the simpler: "replace data".
2013-01-19 22:38:55 +13:00
Sam Minnee
0c9b216894
FIX: Escape the -f argument passed to mail()
2013-01-18 11:24:23 +13:00
Ingo Schommer
e74ec57756
BUG Permission checkbox display on members ( fixes #8193 )
2013-01-17 19:36:53 +01:00
Ingo Schommer
432ff753c2
Wider side panel to fit "add" and "edit" button
...
Moved "edit tree" button into same DOM structure so
we can layout them more easily through inline-block.
Conflicts:
admin/css/screen.css
admin/scss/_style.scss
2013-01-16 00:38:24 +01:00
Ingo Schommer
dc43a6b0f6
Wider sidebar to accommodate "add" and "edit" buttons
...
Conflicts:
admin/css/screen.css
2013-01-16 00:38:24 +01:00
Sean Harvey
5bd0f0accd
Merge pull request #1102 from jthomerson/fix_paginatedlist_settotalitems
...
BUG PaginatedList deprecated method was calling non-existent method
2013-01-15 12:02:00 -08:00
Jeremy Thomerson
a70df3e472
BUG PaginatedList deprecated method was calling non-existent method
2013-01-15 13:25:16 -06:00
Ingo Schommer
014f541a89
BUG Regression in Form->clearMessage() ( fixes #8186 )
...
See 729bcc9
2013-01-15 14:25:07 +01:00
Ingo Schommer
64d3a3dafc
BUG Don't double unescape URLs in history.js ( fixes #8170 )
...
Merged in pull request https://github.com/balupton/history.js/pull/108 .
This has been a serious problem with the library for more than a year,
see https://github.com/balupton/history.js/issues/228 .
2013-01-15 13:27:11 +01:00
Ingo Schommer
dadd9e1b98
Merge pull request #1098 from patbolo/fix/model-admin-spec
...
FIX #8188 Properly show link for showing and hiding class spec in model admin
2013-01-15 04:00:35 -08:00
Ingo Schommer
dc4b2a4479
Merge pull request #1099 from uniun/patch-4
...
Impossible to unselect TreeDropdownField
2013-01-15 03:06:02 -08:00
uniun
e9ba54dec7
Impossible to unselect TreeDropdownField
...
It was impossible to unselect TreeDropdownField.
'!' operator should not be used at all and identical comparison (===) was too "strict" (self.getValue() returns string but $(node).data('id') returns number).
2013-01-15 11:29:35 +02:00
Ingo Schommer
2e6e0de44d
Clarified DataList->limit() docs
2013-01-15 10:14:55 +01:00
jean
420c639e7b
FIX Properly show link for showing and hiding class spec in model admin
2013-01-15 18:52:05 +13: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
78d21b511c
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 16:06:11 +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
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