Commit Graph

7419 Commits

Author SHA1 Message Date
simonwelsh
3a006b77ae MINOR Use json_decode() instead of the Services_JSON class if the function exists. 2011-12-10 08:57:45 +13:00
Ingo Schommer
e20304276f MINOR Remove php-peg third party PHPUnit tests to avoid them being executed in default phpunit binary test runs (which auto-discover tests ignoring _manifest_exclude). 2011-12-04 13:37:05 +01:00
Ingo Schommer
1b544a46a3 MINOR Backported bootstrap.php changes from CI setup (creates a FakeController to avoid empty controller stacks, fake empty session global) 2011-12-04 13:35:06 +01:00
Ingo Schommer
755663a00a BUGFIX Set default mbstring encoding in Core.php instead of main.php and cli-script.php so phpunit binary test runs behave consistently (same as running through TestRunner+cli-script.php). Fixes URLSegmentFilterTest 2011-12-04 13:32:03 +01:00
Ingo Schommer
34686ca1dc BUGFIX Restoring system error handlers in bootstrap.php so running tests through the phpunit binary behaves the same way as TestRunner (specifically to fix DeprecationTest on our CI infrastructure) 2011-12-04 13:10:28 +01:00
Ingo Schommer
f71781d95a MINOR Using require_once in SSTemplateParser instead of require to avoid class declaration errors when running tests through phpunit binary 2011-12-04 13:09:49 +01:00
Ingo Schommer
719bb18db8 MINOR Added documentation about the new File.ShowInSearch property 2011-12-03 12:01:23 +01:00
Ingo Schommer
880a9acec4 MINOR Fixed site-search docs 2011-12-03 12:01:23 +01:00
Ingo Schommer
a8f57be2f2 Merge pull request #118 from silverstripe/multibyte-urlsegment
URLSegmentFilter API (sapphire/master)
2011-12-02 02:20:59 -08:00
Ingo Schommer
1553c3e69c BUGFIX Fixed ModelAdmin.js dropdown panel selection 2011-12-02 10:53:59 +01:00
Anselm Christophersen
5e9db043fa MINOR ModelAdmin search and create panel fixes (see #6782) 2011-12-02 10:27:06 +01:00
Ingo Schommer
9b27a4c1be ENHANCEMENT More flexible URL filtering through new URLSegmentFilter API. Support for multibyte URL segments through URLPathFilter::$default_allow_multibyte. Abstraction from Convert::raw2url() (and SiteTree->generateURLSegment()) 2011-11-29 11:04:08 +01:00
Ingo Schommer
3a7ac9759a BUGFIX Consistently using multibyte-safe htmlentities() 2011-11-29 10:43:06 +01:00
Ingo Schommer
1fec67e5af MINOR Doc whitespace 2011-11-22 11:09:43 +01:00
Ingo Schommer
bd59602eff MINOR Updated "Extend the CMS" howto 2011-11-22 11:06:46 +01:00
Ingo Schommer
8df562f5c2 MINOR Updated translation master strings 2011-11-18 14:41:46 +01:00
Ingo Schommer
dec86b7e6c MINOR Using assertType() for PHPUnit 3.4 compat in DataListTest 2011-11-15 16:52:15 +01:00
Ingo Schommer
322d98306b MINOR Whitespace 2011-11-15 16:51:17 +01:00
Ingo Schommer
ea7310c36a MINOR Specifically turning off Transliterator in FileNameFilterTest, was assumed to be on regardless of setting (surfaced by d1ebe1ce9) 2011-11-14 16:30:53 +01:00
Ingo Schommer
4a2fe9877d MINOR Disabled styling for form fields in CMS 2011-11-14 12:23:59 +01:00
joaosantos81
77f5ea733b Fix for bug when destroying a session with a domain cookie. See http://www.silverstripe.org/general-questions/show/18539 for more details 2011-11-14 09:44:46 +00:00
Ingo Schommer
d1ebe1ce9a BUGFIX Fixed double negation of transliterator checks in FileNameFilter, which meant it wasn't used by default when filtering SiteTree->URLSegment 2011-11-14 10:26:38 +01:00
Ingo Schommer
d30b4b1d00 BUGFIX Respecting api_access on has_one relations in RestfulServer
BUGFIX Limiting fields according to api_access on relation object (rather than the "root" object) in RestfulServer
BUGFIX Limit listing of has_one relations in RestfulServer to actual relation (was listing all objects before)
BUGFIX Creating correct object instances in RestfulServer->getHandler() for relation queries
2011-11-13 14:09:44 +01:00
Ingo Schommer
ec47cc1286 MINOR Whitespace 2011-11-13 13:52:07 +01:00
Sam Minnee
f1480c20bf MINOR: Amended PHPUnit execution to work with PHPUnit 3.6 2011-11-08 11:26:40 +13:00
Sam Minnée
cd6ad64b53 Merge pull request #98 from oddnoc/deleteFormattedImages-fixes
Delete formatted images fixes (Image)
2011-10-31 12:55:06 -07:00
Fred Condo
dbfd54ba50 BUGFIX: Get all method names to find cached images
Because some extensions add functions that generate cached images, deleteFormattedImages()
needs to find all the method names by passing true to allMethodNames().
2011-10-31 11:36:01 -07:00
Fred Condo
5f1faec3e2 BUGFIX: regex-escape strings to prevent regex syntax errors
Apply preg_quote to each generator name and to $this->Name so that their use in a
regular expression will not cause run-time errors.

Provided fixture and test.
2011-10-31 11:34:33 -07:00
Sam Minnee
39da4bef74 MINOR: Updated upgrade guide. 2011-10-31 15:59:07 +13:00
Sam Minnée
dd6a0bed4b Merge pull request #97 from chillu/3.0.0-alpha1-changelog
MINOR Updated changelog
2011-10-30 19:31:09 -07:00
Hamish Friedlander
bc7217d1ea BUGFIX: Deprecation notices should fire in test mode too, just not in live mode 2011-10-31 13:51:31 +13:00
Sam Minnee
7978dd5d40 MINOR: Removed WebserverRoutingTest as it does more harm than good (checked with Stig and Ingo) 2011-10-31 11:45:54 +13:00
Sam Minnée
4c8d0b7f9c Merge pull request #96 from silverstripe-scienceninjas/pull/versioned-extraStatics
BUGFIX Versioned returns error on singleton($className)->summaryFields()
2011-10-30 15:42:53 -07:00
Ingo Schommer
f3aa449e6a MINOR Updated changelog 2011-10-30 23:40:47 +01:00
Stig Lindqvist
260a9e230c BUGFIX Versioned returns error on singleton($className)->summaryFields()
This solves a bugfix when calling singleton($className)->summaryFields() and Versioned kicks back. It is needed to by the GridField functionality to get default columns to show.

This is due to DataExtension calls ClassName::extraStatics() when calling ::load_extra_statics() statically, we need to pass in class and extension.
2011-10-31 11:17:37 +13:00
Ingo Schommer
f815425b4d MINOR Fixed collapsed cms menu and preview by setting correct panel width (broken by 6b88006456) 2011-10-30 14:34:35 +01:00
Will Rossiter
ade1481077 Merge pull request #94 from stojg/pull/fix-deprecation
BUGFIX Deprecation class throws notice on PHP 5.2. MINOR Fix whitespace and add docblocks.
2011-10-29 16:54:55 -07:00
Will Rossiter
b8ebc5852f Merge pull request #95 from stojg/pull/fix-deprecated-methods
BUGFIX update calls to deprecated Name() to getName() for GridField.
2011-10-29 16:51:46 -07:00
Sean Harvey
016c70a6e9 MINOR Fixed broken SS_MapTest in PostgreSQL. Need to sort the IDs before asserting the DataList contents. 2011-10-30 12:50:52 +13:00
Ingo Schommer
e5b88c6c48 MINOR Documentation 2011-10-29 21:59:21 +02:00
Ingo Schommer
3aafb63821 MINOR Allowing usage of custom *_EditForm templates in base class with LeftAndMain->getEditForm() (was already implemented in subclasses) 2011-10-29 21:56:33 +02:00
Ingo Schommer
7e01c40770 MINOR Avoid nesting metadata properties in TreeDropdownField, setting classname in metadata even if no record is pre-selected 2011-10-29 21:56:00 +02:00
Ingo Schommer
7924ce9f74 MINOR Fixed some JS warnings 2011-10-29 20:58:48 +02:00
Ingo Schommer
c6aa0697d3 MINOR Moved <ins> and <del> styles to more specific selectors in cms module 2011-10-29 20:47:44 +02:00
Ingo Schommer
6683b380b4 MINOR Protection against infinite initialization/callback loops caused by loading a full page template via ajax (in LeftAndMain.js) 2011-10-29 20:47:11 +02:00
Ingo Schommer
ec2b0a437d MINOR Apply loading styling to edit forms as well as content areas 2011-10-29 20:46:41 +02:00
Ingo Schommer
7be28d5714 BUGFIX Making LeftAndMain->PreviewLink() an "opt-in", returning false by default to avoid adverse effects from loading unpreviewable items like users or filesystem folders - see CMSMain for sample implementation 2011-10-29 19:12:33 +02:00
Ingo Schommer
96d18efa58 MINOR Replaced calls to deprecated FormField->Name() with getName() 2011-10-29 13:27:11 +02:00
Ingo Schommer
6e2eaed4fc MINOR Fixed batch action drop down width in CMS (somehow chosen.js interprets it as only 60px wide) 2011-10-29 13:27:11 +02:00
Ingo Schommer
ac94809068 MINOR Fixed content loading overlay in CMS 2011-10-29 13:27:11 +02:00