Ingo Schommer
3c02398e33
MINOR documentation
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62470 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-16 20:36:30 +00:00
Ingo Schommer
0739b0520e
ENHANCEMENT In Debug::showError(), if error is displayed through ajax with CliDebugView, use plaintext output
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62468 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-16 18:15:26 +00:00
Ingo Schommer
c57ce5f1a4
FEATURE Formatting MySQL error messages with newlines through new SQLFormatter class (used in MySQLDatabase)
...
ENHANCEMENT Using CliDebugView to report errors on ajax requests (with plaintext output)
ENHANCEMENT Removed "ERROR:" prefix hack for ajax error responses - clientside evaluation should inspect HTTP status codes instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62467 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-16 18:12:07 +00:00
Ingo Schommer
ddc3bab5dc
BUGFIX Pushing current controller into stack in RootURLController->handleRequest to Session-usage in Translatable if enabled. Session::get() is dependent on controllers, and is needed to determine the current language for any Translatable queries (like RootURLController::get_homepage_urlsegment())
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62463 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-16 15:53:05 +00:00
Ingo Schommer
a8e70ff1f5
MINOR documentation
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62462 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-16 14:36:31 +00:00
Ingo Schommer
e134ca8f2c
MINOR documentation
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62461 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-16 14:29:00 +00:00
Sam Minnee
4495f9c939
FEATURE: Allow Use of ?fields=ID,Name,OtherField,RelName get variable on RESTful server queries, to restrict the fields and relations returned int the data set
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62458 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-16 12:10:58 +00:00
Sean Harvey
1e12016ed6
MINOR FileField->Field() code formatting changes
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62424 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-16 02:14:25 +00:00
Ingo Schommer
57ef082a74
FEATURE Added BulkLoader_Result for better inspection of import results, replacing the simple numeric count result format.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62396 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-15 14:21:43 +00:00
Saophalkun Ponlu
b32cf74642
Added empty string as a default (first item)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62386 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-15 05:01:37 +00:00
Sean Harvey
b7a2e4c8f2
BUGFIX Type checking problem in LookupField->Field(), merged in from r62387
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62381 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-15 04:32:53 +00:00
Sam Minnee
e76c68eff4
FEATURE: TableListField's TRs can now have class=loading added to them to show a loading icon. (Used by ModelAdmin)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62333 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-13 04:42:59 +00:00
Sam Minnee
8b83c68f4c
Fixed ConfirmedPasswordField validation for min password length
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62331 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-12 05:40:55 +00:00
Sean Harvey
1ba9c9a90a
API CHANGE Moved DataReport and SQLReport into the ecommerce module, since this is the only place it is used, plus it's going to be deprecated soon anyway
...
BUGFIX Removed DataReport.js calls in LeftAndMain until we figure out a better way of doing
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62325 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-12 04:58:06 +00:00
Sam Minnee
d072e280e4
Merged branches/roa into trunk
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62321 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-12 04:49:15 +00:00
Sam Minnee
6e5b511c46
BUGFIX: Allow creation of a tab and a field of the same name; bug cause by the duplicate field merging code introduced recently.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62320 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-12 04:42:24 +00:00
Sam Minnee
8eca8c3d7f
Add another test for addFieldToTab when creating tabs
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62318 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-12 04:21:41 +00:00
Sean Harvey
07f40d2cc6
API CHANGE Deprecated LabelledLiteralField by adding a @deprecated note with alternate approaches, and added a PHP notice for people currently using it
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62316 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-12 03:48:13 +00:00
Sean Harvey
f01b881003
MINOR HTMLVarchar->scaffoldFormField() was referencing a class name of different case that didn't exist (change it to the correct one to be sure)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62313 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-12 03:32:04 +00:00
Sam Minnee
14dc406122
SearchContext generates SELECT DISTINCT query rather than SELECT, so that duplicate records aren't shown as a result of certain search filters
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62312 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-12 03:27:43 +00:00
Sean Harvey
0c7d39e792
API CHANGE Moved ProgressBar and support files to newsletter/trunk module, as this is the module where it's used
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62309 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-12 03:22:20 +00:00
Andrew O'Neil
3eaa025df4
Allow MetaTags to be extended by a decorator.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62295 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-12 02:07:46 +00:00
Sam Minnee
5cd5440473
FEATURE: Update error handler to show useful information in the 500's status text
...
FEATURE: Allow customisation of HTTPResponse status text, as well as status code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62286 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-12 01:47:39 +00:00
Sam Minnee
f2c619d10c
FEATURE: Files & Images tree now shows filename rather than meta-data title, to make it easier to find the file you're looking for
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62284 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-12 01:05:11 +00:00
Sam Minnee
5393392c48
Fixed bugs with #1403 changes made in r62218.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62268 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-11 06:24:40 +00:00
Sean Harvey
c9f5e1ef58
ENHANCEMENT Added prepValueForDB() which is called on DBField->writeToManipulation which ensures formatting of value before insertion to DB on a per-DBField type basis.
...
ENHANCEMENT Added DBFieldTest to test prepValueForDB()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62267 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-11 06:22:33 +00:00
Sam Minnee
f7806129f5
Made allowed_actions case insensitive
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62213 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-11 00:15:31 +00:00
Sam Minnee
62414fdfa6
FEATURE: #1403 - addFieldToTab(), push(), insertBefore(), etc will allow duplicates - the old field is replaced with the new.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62211 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-11 00:02:49 +00:00
Geoff Munn
635928afad
Null values fixed for PHP 5.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62188 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-10 22:16:35 +00:00
Geoff Munn
864875c2fa
Multiple 'protected' variable declaration fixed
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62184 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-10 22:01:09 +00:00
Normann Lou
66b6a32c8d
BUGFIX: not all decorators has a summary_fields defined, so the code need to deal with this.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61975 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-04 23:10:20 +00:00
Andrew O'Neil
770bdfa42b
FEATURE #2594 - Allow decoration of getCMSActions() (simon_w)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61824 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-01 04:45:38 +00:00
Sam Minnee
56a921cd2d
Removed Created from member summary fields
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61720 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-28 22:56:48 +00:00
Mark Rickerby
02865a1764
adding ?flush=all option which clears all cached templates from the LOLCACHE
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61714 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-28 10:58:52 +00:00
Sam Minnee
a29b53a31a
MINOR: Remove commented out code
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61702 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-28 05:09:21 +00:00
Sam Minnee
bbdcfa1b98
BUGFIX: Fixed bulk loader constructor
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61699 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-28 05:00:51 +00:00
Sam Minnee
18fe7ccdaf
Updated CSV bulk loader to import unix/windows files on a mac server
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61698 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-28 05:00:34 +00:00
Sam Minnee
6c159b07fb
TESTS: Added tests for Controller::join_links()
...
ENHANCEMENT: You can now use Controller::join_links() to add querystring arguments to a URL
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61685 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-28 04:25:13 +00:00
Sam Minnee
0075040f87
API CHANGE: TableListField::ajax_refresh is deprecated. Removed all calls to it from the core, instead getting HTML fragments by visiting the field's URL.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61683 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-28 04:14:22 +00:00
Sam Minnee
a52d99297b
API CHANGE: BasicAuth is now disabled by default on test sites
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61632 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-27 10:52:03 +00:00
Sam Minnee
8b345f0320
Disabled across-the-board use of windmill tests in continuous integration; instead a specific build is set up for it
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61630 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-27 09:23:56 +00:00
Sam Minnee
3ef542d3c9
Included windmill testing in the continous integration again
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61629 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-27 08:29:37 +00:00
Sam Minnee
e9615040e1
ENHANCEMENT: Added dev/tests/startsession and dev/tests/endsession to allow the use of fixtures with external test frameworks, such as Windmill
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61627 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-27 08:19:46 +00:00
Sam Minnee
872b24003b
ENHANCEMENT: wakeless - Added SQLQuery::filtersOnID()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61618 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-27 05:16:44 +00:00
Sam Minnee
556031ce34
Fixed bug in TableListField::ajax_refresh
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61613 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-27 04:58:08 +00:00
Normann Lou
417ab6400d
FEATURE: relate groups with column selections in SearchForm of CRM Admin
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61605 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-27 04:11:58 +00:00
Sam Minnee
9157113dca
Added EPMU's process control sake
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61525 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-26 04:10:37 +00:00
Normann Lou
1dc0615f64
add Created as summary_fields
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61523 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-26 03:55:03 +00:00
Normann Lou
6a897d7bfa
getSummaryFields() will also get those summary fields defined in Member's decorator applied to the results and export
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61509 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-26 01:45:52 +00:00
Sean Harvey
413b309d17
Reverted r61492
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61497 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-25 23:32:12 +00:00