Fred Condo
ab976a9df5
BUGFIX, API CHANGE: Enable setting the DB timezone from the environment.
...
- It was possible to set the database time zone from $databaseConfig, but not if you were using ConfigureFromEnv.
- Introduces a new constant, SS_DATABASE_TIMEZONE
2012-03-11 12:53:01 -07:00
Sam Minnee
d94048c1a6
BUGFIX: Fixed back redirectBack() call in GroupImportForm::doImport ( #6969 )
2012-03-10 14:56:49 +13:00
Sam Minnee
7de5bf55e0
API CHANGE: Updated throwExceptionOnBadDataType setter to be standard setThrowExceptionOnBadDataType(), added getThrowExceptionOnBadDataType().
2012-03-10 14:44:12 +13:00
Sam Minnee
f670576cad
MINOR: Fix test to rely less on known test data keys (breaks SQLite)
2012-03-10 14:42:25 +13:00
Sam Minnée
694e770298
Merge pull request #237 from oddnoc/datetime-test-fix
...
Datetime test fix
2012-03-09 17:19:37 -08:00
Fred Condo
df050eda5d
BUGFIX: Correct testSetNullAndZeroValues() of DatetimeTest
...
- Code was assuming NZ time zone
- Set the default timezone to UTC for the test
- Correct the expected times for the epoch from noon to 00:00:00 UTC
2012-03-09 15:41:11 -08:00
Fred Condo
6e6890f689
Clarify failure messages to distinguish string and numeric zero tests
2012-03-09 15:41:11 -08:00
Sam Minnée
aa83c114a6
Merge pull request #220 from oddnoc/6817-findOrMakeTab
...
BUGFIX #6817 : FieldList.php: findOrMakeTab () fails for nested TabSets
2012-03-09 15:24:28 -08:00
Sam Minnée
603a984ad4
Merge pull request #236 from silverstripe-big-o/pull/SSF-25
...
SSF-25: ModelAdmin
2012-03-09 15:23:20 -08:00
Ingo Schommer
9e6d70be64
MINOR Moved LeftAndMain->doAdd() and AddForm() to subclasses where they're actually used (no possible through a combination of architectural and UI changes)
2012-03-10 00:04:51 +01:00
Ingo Schommer
e6be56e3b4
API CHANGE Removed FormResponse class, use custom HTTP status codes to communicate state on text/html responses, or use text/json for more structured data responses
2012-03-09 23:27:39 +01:00
Ingo Schommer
fa6142cba5
API CHANGE Removed deprecated TableListField->ajax_refresh()
2012-03-09 23:17:05 +01:00
Ingo Schommer
1ba5e79e3b
MINOR Re-fetching relationship in ListboxField->saveInto() when dealing with new records, to avoid errors on RelationList without foreign keys ( fixes #6925 )
2012-03-09 22:32:12 +01:00
Ingo Schommer
bf6317d534
MINOR Removed unrelated styles from .cms-panel-padded class (which should just do what it says)
2012-03-09 22:26:00 +01:00
Ingo Schommer
67a032ce17
MINOR Fixed button loading indicator ( fixes #6876 )
2012-03-09 22:05:06 +01:00
Ingo Schommer
549ebec53b
MINOR Fixed preview link ($CurrentPage stopped working at some point..) ( fixes #6940 )
2012-03-09 21:48:28 +01:00
Ingo Schommer
3a068a0d18
MINOR Removed references to outdated versions from docs
2012-03-09 21:34:05 +01:00
Ingo Schommer
01b24daace
API CHANGE Removed Member::isAdmin(), use Permission::check('ADMIN') instead
...
API CHANGE Removed Member->setByCheckboxes()/setByCheckboxSetField(), Use setByIdList() and/or a CheckboxSetField instead
API CHANGE Removed Member->addManyByGroupID(), Use DataList->addMany() instead.
API CHANGE Removed Member->removeManyByGroupID(). Use DataList->removeMany() instead.
API CHANGE Removed Member->getGroupsFromIDs(). Use DataObject::get("Group")->byIds() instead.
API CHANGE Removed Member->addManyByCodename()/removeManyByCodename(). Don\'t rely on codename
2012-03-09 21:33:52 +01:00
Ingo Schommer
4216a09177
API CHANGE Removed BasicAuth::enable()/disable(), use protect_entire_site()
2012-03-09 21:20:20 +01:00
Ingo Schommer
27fd3e5633
API CHANGE Removed Session::load_config() (no longer supported)
2012-03-09 21:17:18 +01:00
Fred Condo
594448499b
BUGFIX: Don't try to set the title if it hasn't been set for us.
...
This enables the new code to pass the existing tests.
2012-03-09 11:14:06 -08:00
Fred Condo
595a6dc333
BUGFIX #6817 : FieldList.php: findOrMakeTab () fails for nested TabSets
...
- Implements recommended solution from bug report.
- Calculates last index only once instead of at each loop iteration.
- There was no existing test for this method, so if someone can implement a test, that would be great.
2012-03-09 10:44:47 -08:00
Ingo Schommer
10dffd34a5
Revert "BUG FIX: Make Inputs in Input-Selects take up the whole select box ( #6934 )".
...
It hardcodes a width too globally, and uses magic numbers rather than the $grid-x system.
Also, it breaks styling, e.g. in the 'insert image' dialog.
This reverts commit 050afddc8e
.
2012-03-09 17:42:23 +01:00
Ingo Schommer
4e1c8bdb32
Merge branch 'fieldlist-fortemplate' of https://github.com/sminnee/sapphire
...
Conflicts:
forms/FieldList.php
2012-03-09 17:03:02 +01:00
Ingo Schommer
4b8895c8b6
BUGFIX Don't scaffold has_one relations into a DropdownField in ForeignKey->scaffoldFormField() if more than 100 records would be created, to avoid exceeding PHP memory ( fixes #6776 )
2012-03-09 15:58:46 +01:00
Ingo Schommer
dd517c49ba
ENHANCEMENT Allowing to override importer instances in ModelAdmin ( fixes #2982 )
2012-03-09 15:33:24 +01:00
Ingo Schommer
1f01e1135d
API CHANGE Removing ScaffoldingComplexTableField, using GridField instead to edit relationships through FormScaffolder and DataObject->scaffoldFormFields()
2012-03-09 15:16:01 +01:00
Ingo Schommer
115ea86b0c
MINOR Added support for preselected tabs in $('.ss-ui-tabs-nav')
2012-03-09 15:16:00 +01:00
Ingo Schommer
e12a3a4ab7
API CHANGE ModelAdmin uses GridField, DataList and new layout. Removed ModelAdmin_CollectionController, ModelAdmin_RecordController and related functionality.
...
API CHANGE Removed ModelAdmin->ResultColumns()/ColumnSelectionField, selection of own fields no longer possible through the UI, to be replaced by a more generic GridField component
2012-03-09 15:15:58 +01:00
Ingo Schommer
64db811d65
BUGFIX Convert pages from DataList to ArrayList in CMSBatchActionHandler to avoid problems on merge()
2012-03-09 09:28:20 +01:00
Sam Minnee
d04fe07fa6
BUGFIX: Renamed UploadField::$config to UploadField::$ufConfig to avoid conflicts with the config API.
2012-03-09 19:37:43 +13:00
Sam Minnee
317756d92a
Merge branch 'feature/config' of https://github.com/silverstripe-scienceninjas/sapphire into config
2012-03-09 19:22:34 +13:00
Sam Minnee
d896c7dc03
MINOR: Removed PHP 5.3-only code from SSViewerTest.
2012-03-09 18:32:10 +13:00
Sam Minnee
1535ce6d36
BUGFIX: Removed used of lcfirst, as it's PHP 5.3 only
2012-03-09 18:21:01 +13:00
Hamish Friedlander
05cf5a833b
MINOR: Dump deprecation notices introduced by the config system to 3.1.0 as it breaks heaps of code
2012-03-09 18:16:45 +13:00
Hamish Friedlander
d89544f3f6
MINOR: Disable tests in ObjectStaticTest that break
2012-03-09 18:16:45 +13:00
Hamish Friedlander
dff6c638ee
ENHANCEMENT: Enable config manifest loading in core
2012-03-09 18:16:45 +13:00
Hamish Friedlander
5ff095e561
BUGFIX: RequestHandler needs some tricks to make sure it knows when allowed_actions hasnt been provided on a class when it has been provided on an extension, now that statics from extensions isnt a feature specific hack
2012-03-09 18:16:45 +13:00
Hamish Friedlander
bc3f5ac329
BUGFIX: DataObjectTest needs its extensions to use the new static-on-object method to keep the ordering as it expects
2012-03-09 18:16:45 +13:00
Hamish Friedlander
7c94caa0cc
BUGFIX: Fix TokenisedRegularExpression when matching expressions first element is an array
2012-03-09 18:16:44 +13:00
Hamish Friedlander
4315e51358
BUGFIX: Fix deprecated and removed static accessor calls
2012-03-09 18:16:44 +13:00
Hamish Friedlander
9c2ebc3e5f
BUGFIX: Replace deprecated extraStatics with new methods on Versioned and Hierarchy
2012-03-09 18:16:44 +13:00
Hamish Friedlander
876f4c5299
API CHANGE: Modify extensions system to support new config system. Statics are now declared directly on extensions, and there is an add_to_class method extensions can hook into to modify class configuration
2012-03-09 18:16:44 +13:00
Hamish Friedlander
0ab171d7c0
API CHANGE: Add config property on Object as shortcut to objects own properties
2012-03-09 18:13:57 +13: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
Hamish Friedlander
1b05a337b8
API CHANGE: Strip out old static accessors from Object
2012-03-09 18:13:56 +13:00
Hamish Friedlander
d355cd5baf
ENHANCEMENT: Add config layer - the Config access class itself, and the ConfigManfiest builder which parses in the yaml config files
2012-03-09 18:13:56 +13:00
Hamish Friedlander
7125cd4f27
ENHANCEMENT: Piston in symfony yaml library
2012-03-09 18:13:56 +13:00
Sam Minnee
a34f7ccba4
BUGFIX: Fixed SearchContext::getQuery() to avoid use of deprecated limit() call signature.
2012-03-09 18:12:14 +13:00
Sam Minnee
37684837b8
MINOR: Fixed tests to suit GridField and DataList API changes
2012-03-09 18:11:50 +13:00