jean
70cc688fab
NEW 7838 Support for document as a category in File class
2012-09-04 11:08:38 +12:00
Ingo Schommer
0a6a3fa936
i18n for file type descriptors (see #7798 )
2012-08-27 00:02:52 +02:00
Nik Rolls
5c5a506878
BUG removed use of deprecated method
2012-08-10 18:32:55 +12:00
Ingo Schommer
712f28bc78
Scoped deprecation messages ( fixes #7645 )
2012-07-13 11:37:35 +02:00
mightycoco
e2d7352c81
ENHANCEMENT File::get_app_category()
...
Adding File::get_app_category to be in line with
File::get_file_extension
2012-06-25 17:13:18 +02:00
Will Rossiter
a4bce3fc44
ENHANCEMENT: remove dependencies between framework tests and cms module.
2012-06-20 16:17:29 +02:00
Ingo Schommer
a96659ba8b
Merge pull request #532 from halkyon/filesystem_sync_fix
...
BUGFIX "Sync files" button doesn't work when syncing the root of the assets
2012-06-15 10:27:55 -07:00
Simon Welsh
9bd7765272
API CHANGE Renames Transliterator to SS_Transliterator
...
The intl extension in PHP 5.4 provides a Transliterator class, which
conflicts with the SilverStripe one. This leads to some really weird
ReflectionExceptions about Transliterator's constructor being
private.
2012-06-15 15:54:47 +12:00
Sean Harvey
72fd0128c4
BUGFIX "Sync files" button doesn't work when syncing the root of the assets folder
2012-06-15 11:28:29 +12:00
Sean Harvey
5462cdaab2
MINOR Removing "." from the end of validation messages
2012-06-01 13:13:06 +12:00
Ingo Schommer
18fa9cd03d
MINOR Fixed _t() message in AssetAdmin ( fixes #7363 )
2012-05-20 10:49:12 +02:00
Ingo Schommer
42bc5ffb47
BUGFIX Returning File->getTreeTitle() with user input XML escaped, mirroring functionality in SiteTree->getTreeTitle()
2012-05-03 17:41:02 +02:00
Ingo Schommer
7b18d9d0da
MINOR Switching _t() calls from sprintf() to using injection parameters ( #7170 )
2012-05-01 22:17:00 +02:00
Normann Lou
92f3d62d70
ENHANCEMENT: add extra <span> DOM with 'jstree-foldericon' class for tree view of folders
2012-04-26 11:17:16 +02:00
Ingo Schommer
473d3a66b8
MINOR Fixed controller contexts in LeftAndMain->SiteTreeAsUL() - needs different context for edit links and determining "current page" (not applicable for CMSPagesController)
2012-04-17 22:33:30 +02:00
Ingo Schommer
d44f6b3e1f
MINOR Removed deprecated usage of $priority argument in _t() calls
2012-04-15 17:17:17 +02:00
Simon Welsh
f07258f3cf
MINOR Update @package values to match renaming sapphire
2012-04-15 10:50:19 +12:00
Simon Welsh
3a6341a251
API-CHANGE sapphire folder can now be renamed.
2012-04-15 10:50:19 +12:00
Simon Welsh
f8082e4814
MINOR Add newline to end of files without one
2012-04-15 10:50:19 +12:00
Ingo Schommer
8ba9c3ca6b
API CHANGE Removed $params argument to DataObject->getCMSFields(), please use FormScaffolder directly ( fixes #7135 )
2012-04-13 15:46:47 +02:00
Sam Minnée
d766100335
Merge pull request #304 from halkyon/e_strict_fixes
...
Enable E_STRICT by default for development, fix all E_STRICT errors affected by tests.
2012-04-11 17:54:18 -07:00
Sean Harvey
a9f95051bc
BUGFIX File::ini2bytes() is now declared as static, as it was never an
...
instance method
2012-04-12 12:03:33 +12:00
Sam Minnée
b435d0a3d2
Merge pull request #288 from jmwohl/patch-1
...
For png images with transparency, the imagesaveaplpha() needs to be set ...
2012-04-11 16:33:02 -07:00
Sam Minnee
adf658c91f
BUGFIX: Removed obsolete field File.Sort
2012-04-11 18:13:13 +12:00
jmwohl
797d526c60
For png images with transparency, the imagesaveaplpha() needs to be set to true on the source image in order for the alpha to be preserved when using the modifier methods.
2012-04-06 11:19:30 -03:00
Ingo Schommer
40d73127ae
MINOR Using late static binding instead of Object::create() calls
2012-04-04 17:10:31 +02:00
Ingo Schommer
7c1b40d4a7
MINOR Added 'updateCMSFields' hook to File ( fixes #7091 )
2012-03-30 16:55:44 +02:00
Sean Harvey
e097f6e1a8
MINOR Fixes to method arguments in core classes for E_STRICT support.
...
API CHANGE Remove abstract static function and just use static functions
in Authenticator (PHP 5.3+ doesn't support abstract static functions)
2012-03-28 22:41:42 +13:00
Simon Elvery
c9aa0e74b9
ENHANCEMENT: Before preforming an image resize, make sure it's actually required.
...
This is better from an efficiency point of view and it also eliminates unessesary re-sampling (i.e. reduction in quailty).
2012-03-26 14:21:14 +10:00
Sean Harvey
7f60ced66b
ENHANCEMENT Allow disabling of File::updateFilesystem() which is useful
...
for manually managing the filesystem paths instead. Defaults to on, but
useful to turn off when loading File records in a YAML fixture for test
data.
2012-03-14 15:53:04 +13:00
Andrew O'Neil
5eef837ce8
FEATURE: Add count of backlinks to file details
2012-03-12 23:01:07 +01:00
Hamish Friedlander
686b0207d5
BUGFIX: Cant use combined_static in FileFinder any more - it falls through to Config system, which doesnt yet exist
2012-03-09 18:13:57 +13:00
Sean Harvey
4a52e29620
API CHANGE Removed deprecated File::getLinkedURL() - please use custom code instead.
2012-03-09 14:37:06 +13:00
Ingo Schommer
e4a6dd5850
Merge branch 'integration'
...
Conflicts:
forms/gridfield/GridField.php
2012-03-08 20:25:21 +01:00
Julian Seidenberg
550cb7df9c
ENHANCEMENT: SSF-30 adding the ability to set the parent folder of a file.
2012-03-07 16:43:12 +13:00
Sam Minnee
adfdd068e2
Merge branch 'ereg-to-preg' of https://github.com/AngryPHPNerd/sapphire
...
Conflicts:
model/fieldtypes/Date.php
2012-03-05 13:54:20 +13:00
Sean Harvey
b3d977f0e7
Merge remote-tracking branch 'upstream/master' into file_shortcodes
2012-03-03 10:24:06 +13:00
Ingo Schommer
98e1fed746
ENHANCEMENT File::$app_categories to replace switch statement in File->appCategory(), and expose data to other use cases (such as filter drop downs in AssetAdmin)
2012-03-02 20:46:22 +01:00
Ingo Schommer
ef77b709c2
MINOR Fixed field label in Folder->getCMSFields()
2012-03-02 20:46:22 +01:00
Ingo Schommer
fda7a6aafe
API CHANGE Remove custom File::instance_get(), use a custom DataQuery in case you want to exclude large File.Content fields from the query results
2012-03-02 15:22:11 +01:00
Ingo Schommer
fb3c18d6d2
API CHANGE Remove File->uploadMetadataFields(), use new UploadField instead
2012-03-02 15:21:32 +01:00
Sean Harvey
898c8f5497
ENHANCEMENT [file_link id=n] shortcode support for file links in HtmlEditorField
2012-03-01 22:20:58 +13:00
Ingo Schommer
da879da940
MINOR Styling and structural fixes for File/Image->getCMSFields() and relates usage in UploadField/HTMLEditorField.
2012-02-29 21:06:43 +01:00
AngryPHPNerd
2457c4f0bc
BUGFIX: Eescape / in RegExp.
2012-02-28 00:44:27 +01:00
Ingo Schommer
bcc73de85e
Merge branch '106-add-edit-records-rc'
...
Conflicts:
admin/code/LeftAndMain.php
admin/css/screen.css
admin/scss/_style.scss
admin/templates/Includes/LeftAndMain_EditForm.ss
css/GridField.css
filesystem/Folder.php
forms/gridfield/GridField.php
forms/gridfield/GridFieldDefaultColumns.php
forms/gridfield/GridFieldPopupForms.php
2012-02-27 23:58:10 +01:00
Ingo Schommer
3b53ed1937
MINOR Moved some CMS-specific template config into GridFieldPopupForms, to make the external API easier to use, and make specific configs less dependent on the instanciation context, and more tuned to the actual execution controller context
2012-02-27 23:52:48 +01:00
Ingo Schommer
ba0d1c60cb
MINOR Don't require controller on instanciation of GridFieldPopupForms, as it can't be reliably determined e.g. during a getCMSFields() call. Should use existing FormField/Form API to retrieve controller when its required.
...
MINOR Renamed GridFieldPopupForms->popupFormName to $name to make it clearer that its the component name (which is optional now).
2012-02-27 23:52:48 +01:00
Julian Seidenberg
550f75408e
ENHANCEMENT: File and Image CMSFields styling
2012-02-27 23:52:40 +01:00
AngryPHPNerd
0e2cbb0b88
Replace ereg with preg_*
2012-02-27 22:14:02 +01:00
Ingo Schommer
27cdc40c7a
API CHANGE Moved AssetAdmin-specific fields from Folder->getCMSFields() to AssetAdmin->getEditForm(). For modifying those fields via DataExtension, please use AssetAdmin->updateEditForm() instead
2012-02-23 23:29:57 +01:00