Sean Harvey
|
fc3101760f
|
ENHANCEMENT Always encode email subject as UTF-8 (thanks syntax!)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115151 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-17 00:15:01 +00:00 |
|
Sean Harvey
|
c7a98407b1
|
ENHANCEMENT #5055 Convert unpredictability and replacing inconsistent conversion. Use htmlspecialchars() and html_entity_decode() wherever possible which are faster than str_replace()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115140 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-16 22:55:17 +00:00 |
|
Ingo Schommer
|
ac2d6fa6d8
|
BUGFIX Checking for existence of draft and live records in SilverStripeNavigatorItem_ArchiveLink->getHTML()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115130 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-16 20:45:00 +00:00 |
|
Ingo Schommer
|
2fa786d392
|
MINOR Added it_IT javascript translation (fixes #6265, thanks giulio)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115126 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-16 08:14:25 +00:00 |
|
Ingo Schommer
|
05eca28c96
|
MINOR Using Convert::raw2xml() in LabelField->Field() (fixes #6267, thanks odraska)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115125 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-16 08:12:21 +00:00 |
|
Ingo Schommer
|
1c34d8f1b4
|
API CHANGE Deprecated TreeTitle(), use getTreeTitle() (in SiteTree, File, Group)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115119 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-16 05:16:06 +00:00 |
|
Ingo Schommer
|
f056abc818
|
ENHANCEMENT Added NullHTTPRequest as a placeholder for new RequestHandler/Controller instances that haven't handled a URL yet. This means RequestHandler->request can be safely called from singleton controllers
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115116 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-16 04:06:13 +00:00 |
|
Ingo Schommer
|
6e640d1dd6
|
BUGFIX Setting $_REQUEST['url'] in cli-script.php to emulate normal request processing
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115115 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-16 04:04:06 +00:00 |
|
Ingo Schommer
|
9681134e8e
|
ENHANCEMENT Added RequestHandler->setRequest() for easier testing of controllers (usually handled through handleRequest()). Moved $request definition from Controller into parent class (RequestHandler)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115108 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-16 02:36:31 +00:00 |
|
Ingo Schommer
|
e8c8c9472a
|
MINOR Don't add closing PHP tags in i18nTextCollector->writeMasterStringFile() (thanks Fred Condo)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115097 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-16 01:27:19 +00:00 |
|
Sean Harvey
|
6dc1448cc4
|
BUGFIX ViewableData::defineMethods() broken method cache because of parameter mismatch to create_function()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115063 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-15 05:30:42 +00:00 |
|
Sean Harvey
|
145d285d4b
|
BUGFIX RestfulService CURLOPT_FOLLOWLOCATION cannot be used when open_basedir option enabled in PHP (thanks jshipman!)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115062 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-15 05:23:55 +00:00 |
|
Sean Harvey
|
bffd187e1e
|
ENHANCEMENT BASE_URL calculation now uses realpath() to calculate any symlinks in environment variable SCRIPT_FILENAME
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115058 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-15 04:59:54 +00:00 |
|
Sean Harvey
|
bc62ca473a
|
MINOR Removed redundant code from RequestHandler::handleRequest() referencing since removed Image_Uploader
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115057 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-15 04:44:57 +00:00 |
|
Sean Harvey
|
a5f5617ab2
|
API CHANGE Removed deprecated method Object::extInstance(), please use Object::getExtensionInstance() instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115056 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-15 04:30:00 +00:00 |
|
Sean Harvey
|
744791219e
|
MINOR #6256 Removed PHP version < 5.1.3 functionality workaround from Object::create() and Object::strong_create()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115055 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-15 04:27:43 +00:00 |
|
Sean Harvey
|
127d682ba7
|
BUGFIX #6219 Director::direct() validation fails for doubly nested file fields (thanks ajshort!)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114921 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-14 00:15:30 +00:00 |
|
Sean Harvey
|
7395271f7e
|
MINOR Ensure php5-required.html template shows correct minimum and recommended PHP versions (thanks mattcleg!)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114915 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-13 23:39:04 +00:00 |
|
Sean Harvey
|
f48d685a82
|
ENHANCEMENT Allow setting secure session cookies when using SSL. Recent change r114567 made this impossible. (thanks simon_w!)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114900 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-13 22:30:49 +00:00 |
|
Will Rossiter
|
81bd4c102e
|
MINOR: restored SiteConfig functions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114822 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-11 05:45:04 +00:00 |
|
Will Rossiter
|
815e9efd94
|
APICHANGE: removed page comments from core. Please see the github.com account for page comments functionality
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114821 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-11 05:43:08 +00:00 |
|
Sean Harvey
|
073563a24e
|
MINOR Fixed unit test to use a better approach of array_keys()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114820 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-11 05:39:06 +00:00 |
|
Sean Harvey
|
ec2ce32245
|
ENHANCEMENT #5442 SapphireTest now creates a "tmpdb" database name with a prefix, changed by defining SS_DATABASE_PREFIX. Defaults to "SS_" to namespace SilverStripe temporary database names
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114819 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-11 05:27:34 +00:00 |
|
Sean Harvey
|
441bf4d910
|
MINOR Test for insertBefore functionality on FieldSet::addFieldsToTab()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114818 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-11 03:38:11 +00:00 |
|
Sean Harvey
|
ec661a9886
|
ENHANCEMENT #6228 FieldSet::addFieldsToTab() now allows inserting before a field name for consistency with addFieldToTab()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114817 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-11 02:31:49 +00:00 |
|
Will Rossiter
|
1ca5ea6fb4
|
FEATURE: added ability to define a default configuration set for date field. PATCH via gigtech. Fixes (#6131).
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114816 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-11 02:26:59 +00:00 |
|
Will Rossiter
|
21f84c9513
|
APICHANGE: changed BaseHref to AbsoluteBaseURL for consistency. FEATURE: added BaseURL for getting non absolute value. PATCH via muzdowski (#6158)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114815 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-11 02:01:13 +00:00 |
|
Will Rossiter
|
ac851e6f82
|
FEATURE: added get_theme_folder() to return the full path to the themes folder
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114814 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-11 01:34:47 +00:00 |
|
Will Rossiter
|
2f56a8bcad
|
ENHANCEMENT: added onBeforeVersionedPublish() hook. PATCH via muzdowski (#6016)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114813 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-11 01:28:46 +00:00 |
|
Will Rossiter
|
63d2971158
|
BUGFIX: check the search var exists before replacing the default value
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114811 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-11 00:57:11 +00:00 |
|
Will Rossiter
|
9f6e3c9162
|
ENHANCEMENT: added requireDefaultRecords. PATCH via fragarach (#6133)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114810 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-11 00:45:05 +00:00 |
|
Ingo Schommer
|
ae2311bcd6
|
BUGFIX Removed switch in MySQLDatabase->query() to directly echo queries with 'showqueries' parameter when request is called via ajax
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114782 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-09 23:26:22 +00:00 |
|
Ingo Schommer
|
43debfafe9
|
BUGFIX Disallow web access to sapphire/silverstripe_version to avoid information leakage
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114773 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-09 22:53:24 +00:00 |
|
Ingo Schommer
|
4b2c64c843
|
BUGFIX Avoid potential referer leaking in Security->changepassword() form by storing Member->AutoLoginHash in session instead of 'h' GET parameter
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114758 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-09 21:18:49 +00:00 |
|
Ingo Schommer
|
e4a786eb1a
|
MINOR Setting Content-Type to text/plain in various error responses for RestfulServer
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114750 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-09 08:40:28 +00:00 |
|
Ingo Schommer
|
f61a307486
|
MINOR Reverting Member "AutoLoginHash", "RememberLoginToken" and "Salt" to their original VARCHAR length to avoid problems with invalidated hashes due to shorter field length
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114748 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-09 08:17:35 +00:00 |
|
Ingo Schommer
|
674d8e0f4a
|
MINOR Reduced VARCHAR length from 1024 to 40 bytes, which fits the sha1 hashes created by RandomGenerator. 1024 bytes caused problems with index lengths on MySQL
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114743 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-09 05:48:33 +00:00 |
|
Ingo Schommer
|
1222b4d146
|
ENHANCEMENT 'bypassStaticCache' cookie set in Versioned is limited to httpOnly flag (no access by JS) to improve clientside security
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114568 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-06 00:29:20 +00:00 |
|
Ingo Schommer
|
562eeee790
|
ENHANCEMENT Session::start() forces PHPSESSID cookies to be httpOnly (no access by JS) to improve clientside security
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114567 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-06 00:28:27 +00:00 |
|
Ingo Schommer
|
ead9dce351
|
MINOR Documentation in SS_Cache
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114551 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-05 19:46:21 +00:00 |
|
Sam Minnee
|
df08da0f49
|
MINOR: Blocking unnecessary revisions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114550 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-05 08:46:15 +00:00 |
|
Sam Minnee
|
51ee52c7ab
|
BUGFIX Using RandomGenerator class in SecurityToken->generate() for more random tokens (from r114500)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114549 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-05 08:45:42 +00:00 |
|
Sam Minnee
|
6de3e90527
|
FIX: Revert last commit (from r114464)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114548 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-05 08:45:20 +00:00 |
|
Sam Minnee
|
aaf56e190f
|
FIX: Revert last commit (from r114463)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114547 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-05 08:44:37 +00:00 |
|
Sam Minnee
|
8638221adb
|
MINOR: Added exception handling if ClassName is null in search results (from r114454)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114546 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-05 08:44:20 +00:00 |
|
Sam Minnee
|
1fc8bef1ce
|
BUGFIX Including template /lang folders in i18n::include_by_locale() (implementation started in r113919) (from r114208)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114545 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-05 08:43:38 +00:00 |
|
Sam Minnee
|
b34286caab
|
MINOR Reverted r108515 (from r114079)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114544 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-05 08:43:10 +00:00 |
|
Sam Minnee
|
05d6df2193
|
MINOR Fixed php tag in SecurityTokenTest, should be "<?php" not "<?" (from r114016)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114543 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-05 08:41:38 +00:00 |
|
Sam Minnee
|
312c7aec07
|
BUGFIX #6201 Use of set_include_path() did not always include sapphire paths in some environments (from r113976)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114542 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-05 08:40:28 +00:00 |
|
Sam Minnee
|
e340ccb1ad
|
MINOR Fixed PHP strict standard where non-variables cannot be passed by reference (from r113968)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114541 467b73ca-7a2a-4603-9d3b-597d59a354a9
|
2010-12-05 08:39:31 +00:00 |
|