Commit Graph

549 Commits

Author SHA1 Message Date
Ingo Schommer
6ebf31ba64 MINOR initializing $dataclasses properly in ClassInfo
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@58123 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-07-16 03:29:20 +00:00
Mark Rickerby
9bf204d8f1 update to resolve #2653 - ensure getParent casts to correct subclass (always worked) and ensure setParent resolves valid ID of passed in object before updating its ParentID.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@57950 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-07-14 11:09:44 +00:00
Sam Minnee
05c1370e27 API CHANGE: #2468 - Allow pagination on getManyManyComponent
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@57779 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-07-11 00:13:17 +00:00
Andrew O'Neil
4d616597ad Merged revisions 56253 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2

........
  r56253 | sminnee | 2008-06-16 12:05:35 +1200 (Mon, 16 Jun 2008) | 1 line
  
  Reference javascripts with absolute URLs so that IE6 doesn't break on base tags in certain situations
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56912 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-25 04:02:07 +00:00
Andrew O'Neil
172bf71ead Merged revisions 54472 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2

........
  r54472 | aoneil | 2008-05-13 21:11:42 +1200 (Tue, 13 May 2008) | 2 lines
  
  BUGFIX #2504 - Fixed translation interface not working in CMS
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56906 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-25 03:58:21 +00:00
Ingo Schommer
4693ca4ba7 MINOR Moving Mailer.php into /email
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56225 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-15 14:07:14 +00:00
Ingo Schommer
43d6ac89e9 MINOR Moving Email.php into /email
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56224 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-15 14:06:47 +00:00
Ingo Schommer
d0d6711f22 MINOR Moving SapphireInfo into /dev folder
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56223 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-15 14:06:06 +00:00
Ingo Schommer
60860cc1b9 MINOR Unified @package PHPdoc (added where missing, removed duplicates)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56212 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-15 13:33:53 +00:00
Sean Harvey
b96608e0a3 API CHANGE Email_Template class deprecated, Email should be used from now on.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56144 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-12 09:29:05 +00:00
Mark Rickerby
327b4610d5 moving Debug.php to dev folder
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@55813 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-06 04:59:49 +00:00
Sam Minnee
5dff780a5d API CHANGE Added FunctionalTest::
API CHANGE Added ->session()
API CHANGE Added FunctionalTest::
API CHANGE Improved FunctionalTest's match by selector commands to produce less brittle output (rationalises whitespace)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@55134 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-05-26 06:21:30 +00:00
Sam Minnee
98bee3e50f BUGFIX: Make ModelAsController 404 result more testable
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@54635 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-05-15 08:44:37 +00:00
Mark Rickerby
8e31456185 FEATURE added a Year field to work with MYSQL's built in year type.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@54551 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-05-14 05:54:11 +00:00
Sam Minnee
b0c384d6c1 Merged revisions 53150,53681,53700,53820,54200,54459 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/roa

........
  r53150 | ischommer | 2008-04-22 11:12:43 +1200 (Tue, 22 Apr 2008) | 1 line
  
  FEATURE Added a "test mode" for /db/build which allows mock-DataObject-subclasses which are just built in a test run
........
  r53681 | mrickerby | 2008-04-29 15:26:52 +1200 (Tue, 29 Apr 2008) | 1 line
  
  adding default wrapping header and footer methods, and configurable reporting to the TestRunner
........
  r53700 | mrickerby | 2008-04-29 16:41:57 +1200 (Tue, 29 Apr 2008) | 1 line
  
  FEATURE: adding support for /dev/tests --> DevelopmentAdmin-->tests() --> TestRunner, /dev/tasks --> DevelopmentAdmin-->tasks() --> TaskRunner
........
  r53820 | mrickerby | 2008-04-30 19:27:52 +1200 (Wed, 30 Apr 2008) | 1 line
  
  BUGFIX fixing up BuildTask interface and task runner action
........
  r54200 | sminnee | 2008-05-09 00:28:44 +1200 (Fri, 09 May 2008) | 1 line
  
  Added TestSession object to help with the testing of forms
........
  r54459 | sminnee | 2008-05-13 17:28:25 +1200 (Tue, 13 May 2008) | 1 line
  
  Added a basic menu of options to /dev
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@54456 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-05-13 05:57:09 +00:00
Ingo Schommer
c60be4238c MINOR changed Tag() to getTag() to allow for field casting and unified getting (e.g. in TableListField)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@54292 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-05-10 02:21:26 +00:00
Ingo Schommer
d2f13f90e9 API CHANGE Removed import() and generateProductGroups() from DatabaseAdmin - custom code for ecommerce module
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@54162 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-05-08 00:27:09 +00:00
Geoff Munn
2ea476d90b test for db/build error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53575 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-28 02:24:40 +00:00
Sam Minnee
dbe5bba3d3 Merged revisions 53373 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r53373 | wrossiter | 2008-04-24 09:57:16 +1200 (Thu, 24 Apr 2008) | 1 line
  
  Don't mark a test site as being in dev mode if set_test_servers matches
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53530 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:55:11 +00:00
Sam Minnee
f427047b9d Merged revisions 53075 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r53075 | sminnee | 2008-04-21 10:56:46 +1200 (Mon, 21 Apr 2008) | 1 line
  
  Made has_one, has_many, and many_many methods more reliable
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53522 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:53:23 +00:00
Sam Minnee
1bc00f4b2d Merged revisions 53066 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r53066 | sminnee | 2008-04-21 10:14:48 +1200 (Mon, 21 Apr 2008) | 2 lines
  
  Make double-redirects a warning rather than an error, since they are usually benign.
  Don't redirect from /home to / if you've already called a redirection.
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53521 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:53:13 +00:00
Sam Minnee
8a5b360abd Merged revisions 52719 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r52719 | sminnee | 2008-04-15 11:56:10 +1200 (Tue, 15 Apr 2008) | 1 line
  
  Fixed ContentController where ->dataRecord is empty
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53520 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:52:59 +00:00
Sam Minnee
45804905ed Merged revisions 52452 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r52452 | sminnee | 2008-04-10 13:59:09 +1200 (Thu, 10 Apr 2008) | 1 line
  
  Don't strtolower ->action, as it had too many side-effects.
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53519 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:52:49 +00:00
Sam Minnee
8b508319ab Merged revisions 52448 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r52448 | sminnee | 2008-04-10 13:50:28 +1200 (Thu, 10 Apr 2008) | 1 line
  
  #2387 - Fields specified in DataObjectDecor not saved in some cases
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53518 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:52:36 +00:00
Sam Minnee
b9b4a1e2b2 Merged revisions 52398 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r52398 | sminnee | 2008-04-09 18:19:30 +1200 (Wed, 09 Apr 2008) | 1 line
  
  Fix to ManifestBuilder when running site on windows in a directory containing \r or \t or \n
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53514 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:51:18 +00:00
Sam Minnee
eae79ab0de Merged revisions 52391 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r52391 | sminnee | 2008-04-09 17:58:21 +1200 (Wed, 09 Apr 2008) | 1 line
  
  Show security id errors on test sites as well as dev
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53512 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:49:14 +00:00
Sam Minnee
d9998f2684 Merged revisions 52350 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r52350 | sminnee | 2008-04-09 12:35:52 +1200 (Wed, 09 Apr 2008) | 1 line
  
  Improved behaviour of contentcontrollerInit when extensions are applied to subclasses of SiteTree
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53511 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:49:01 +00:00
Sam Minnee
88d79d1b62 Merged revisions 52224 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r52224 | sminnee | 2008-04-07 11:45:23 +1200 (Mon, 07 Apr 2008) | 1 line
  
  #2314 - Fixed SQLMap implementation so that Group::map() returns appropriate data, and the group dropdown on the access tab works.
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53508 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:44:06 +00:00
Sam Minnee
b836bc7825 Merged revisions 52933 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/govtsecurity

........
  r52933 | sminnee | 2008-04-17 18:37:21 +1200 (Thu, 17 Apr 2008) | 1 line
  
  ImageUploader fields are accessible by CMS_ACCESS_CMSMain, rather than ADMIN
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53493 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:36:23 +00:00
Sam Minnee
f82b03c74d Merged revisions 52616 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/govtsecurity

........
  r52616 | sminnee | 2008-04-13 16:56:58 +1200 (Sun, 13 Apr 2008) | 1 line
  
  Added email testing support to SapphireTest
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53468 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:32:31 +00:00
Sam Minnee
eb60b67732 Merged revisions 52121 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/govtsecurity

........
  r52121 | sminnee | 2008-04-03 22:04:33 +1300 (Thu, 03 Apr 2008) | 4 lines
  
  Added DataObject::validate() for specifying DataObject-level validators.
  Added DataObject::onAfterWrite(), a complement of DataObject::onBeforeWrite()
  Added password strength testing to security system
  Added password expiry to security system
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53465 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:31:52 +00:00
Sam Minnee
031ab93e97 Merged revisions 52120 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/govtsecurity

........
  r52120 | sminnee | 2008-04-03 21:40:18 +1300 (Thu, 03 Apr 2008) | 1 line
  
  Fix operation of Cookie::forceExpiry() during testing.
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53464 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:31:36 +00:00
Sam Minnee
7759de7433 Merged revisions 52119 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/govtsecurity

........
  r52119 | sminnee | 2008-04-03 21:38:21 +1300 (Thu, 03 Apr 2008) | 1 line
  
  Improved operation of Director::test() when accessing ,,, directly.
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53463 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:31:24 +00:00
Sean Harvey
a12cf06cc8 BUGFIX: Ticket #2327 - Merged patch fixing regex problem in Director::protocolAndHost()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53194 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-22 03:30:16 +00:00
Sean Harvey
130ead34cd FEATURE: Ticket #2198 - Merged patch making can() decoratorable by defining augmentCan()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53183 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-22 02:28:07 +00:00
Sean Harvey
6c342f7db5 FEATURE: Ticket #2408 - Merged patch to Convert::array2json() which makes uses of the PHP function json_encode when available
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53182 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-22 02:21:03 +00:00
Sean Harvey
081905485f FEATURE: Ticket #2418 - Merged in patch allow setting of currency symbol
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53180 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-22 02:12:26 +00:00
Sean Harvey
4a5443c5da ENHANCEMENT: Ticket #2382 - Merged patch changing 302 for /home to 301
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53177 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-22 01:45:55 +00:00
Ingo Schommer
aaac90c531 API CHANGE Making all parameters to Email::__construct() optional (they all have public setters/getters, don't necessarily need to be set at instanciation time, as used in e.g. NewsletterAdmin)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52938 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-17 10:27:27 +00:00
Mark Rickerby
e12f87ad38 When ClassInfo::dataClassesFor is passed an instance of the class, the method now automatically coerces the instance to a string of its name
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52675 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-14 04:49:08 +00:00
Ingo Schommer
b039104acc Merged revisions 52649 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/roa

........
  r52649 | ischommer | 2008-04-14 10:03:15 +1200 (Mon, 14 Apr 2008) | 1 line
  
  MINOR fixed php notice
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52643 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-13 22:05:03 +00:00
Ingo Schommer
f337b048e5 Merged revisions 50164 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.1-nzct

........
  r50164 | hsmith | 2008-02-26 10:39:54 +1300 (Tue, 26 Feb 2008) | 1 line
  
  API CHANGE: Added DataObject::writeComponents. DataObject::write now has a flag to disable writing of components
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52438 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-10 01:43:31 +00:00
Ingo Schommer
109a9da3af Merged revisions 50265 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r50265 | ischommer | 2008-02-27 15:18:45 +1300 (Wed, 27 Feb 2008) | 1 line
  
  documentation
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52412 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-09 11:28:32 +00:00
Ingo Schommer
067d2a5804 Merged revisions 49406 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r49406 | ischommer | 2008-02-12 12:10:06 +1300 (Tue, 12 Feb 2008) | 1 line
  
  checking for valid css media type
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52409 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-09 11:25:47 +00:00
Ingo Schommer
57ef489ffb Merged revisions 49405 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r49405 | ischommer | 2008-02-12 12:09:50 +1300 (Tue, 12 Feb 2008) | 2 lines
  
  moved Email_Template functionality into Email class
  reordered methods in Email
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52408 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-09 11:25:06 +00:00
Ingo Schommer
15b3fb02b4 Merged revisions 48902 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r48902 | ischommer | 2008-01-31 16:29:42 +1300 (Thu, 31 Jan 2008) | 1 line
  
  added documentation, using $data as array
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52406 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-09 11:20:34 +00:00
Ingo Schommer
7ae4a30885 Merged revisions 48361-48363 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r48361 | ischommer | 2008-01-21 21:05:53 +1300 (Mon, 21 Jan 2008) | 1 line
  
  documentation
........
  r48362 | ischommer | 2008-01-21 21:07:13 +1300 (Mon, 21 Jan 2008) | 1 line
  
  documentation
........
  r48363 | ischommer | 2008-01-21 21:07:43 +1300 (Mon, 21 Jan 2008) | 1 line
  
  documentation
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52405 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-09 11:17:39 +00:00
Ingo Schommer
823916f7a2 Merged revisions 47488 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r47488 | ischommer | 2007-12-21 16:03:04 +1300 (Fri, 21 Dec 2007) | 1 line
  
  in fileExists(): replace any appended query-strings, e.g. /path/to/foo.php?bar=1 to /path/to/foo.php
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52396 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-09 10:59:30 +00:00
Sam Minnee
5e8597bf0a Added TokenisedRegularExpression for accurate parsing of class files for the manifest. To make it efficient, the parse results of each file are now cached.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52320 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-08 06:17:58 +00:00
Ingo Schommer
a4d9521c3f Merged revisions 51944 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r51944 | ischommer | 2008-04-01 15:43:14 +1300 (Tue, 01 Apr 2008) | 1 line
  
  ENHANCEMENT Using separate <script> tags for each customScript() requirements (necessary e.g. for google analytics inclusion)
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52264 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-07 21:39:11 +00:00
Sam Minnee
b035abc6d3 #2380 - ManifestBuilder shouldn't recognise class definitions in comments and strings as real
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52239 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-07 04:42:35 +00:00
Ingo Schommer
6e85a576b5 ENHANCEMENT secured URL actions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52201 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 04:09:59 +00:00
Ingo Schommer
72f6f06f44 Merged revisions 47614 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r47614 | ischommer | 2008-01-04 19:15:18 +1300 (Fri, 04 Jan 2008) | 1 line
  
  stricter checking in loadUploaded()
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52200 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 04:09:02 +00:00
Ingo Schommer
4a7a4dde9e Merged revisions 47520 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r47520 | ischommer | 2007-12-23 21:27:48 +1300 (Sun, 23 Dec 2007) | 1 line
  
  added RAWURLATT()
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52191 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 04:02:55 +00:00
Ingo Schommer
2f51144a85 Merged revisions 47488 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r47488 | ischommer | 2007-12-21 16:03:04 +1300 (Fri, 21 Dec 2007) | 1 line
  
  in fileExists(): replace any appended query-strings, e.g. /path/to/foo.php?bar=1 to /path/to/foo.php
........

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52186 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 04:00:43 +00:00
Ingo Schommer
15b388640d Merged revisions 47487 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r47487 | ischommer | 2007-12-21 16:02:50 +1300 (Fri, 21 Dec 2007) | 1 line
  
  added URLATT()
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52185 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 03:52:57 +00:00
Ingo Schommer
74cef69ae1 BUGFIX fixed php notice
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52178 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 03:31:11 +00:00
Ingo Schommer
d713777d73 API CHANGE LeftAndMain.php: Removed $extra_menu_items, $replaced_menu_items, $removed_menu_items (all handled in $menu_items now)
API CHANGE Deprecated menu manipulation through Object::addStaticVars(), changed internal representation of menu_item array to always use associative arrays
ENHANCEMENT Added LeftAndMain::add_menu_item(), LeftAndMain::replace_menu_item(), LeftAndMain::remove_menu_item()
ENHANCEMENT Moved default menu items from LeftAndMain->MainMenu() to cms/_config.php
ENHANCEMENT Added ReportAdmin::has_reports()
ENHANCEMENT Object::addStaticVars() can replace the whole array optionally
ENHANCEMENT Object::stat() optionally returns uncached results
ENHANCEMENT Moved Object::useCustomClass('SSDateTime') from Object.php to sapphire/_config.php
ENHANCEMENT Misc documentation and formatting in LeftAndMain and Object classes

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52171 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-05 03:43:58 +00:00
Ingo Schommer
a42b76bc73 API CHANGE Moved "statistics" functionality into separate module, which is not distributed with a default silverstripe installation. see r52168
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52163 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-05 01:40:36 +00:00
Ingo Schommer
bcbadd3670 BUGFIX removed notices
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52162 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-05 01:39:13 +00:00
Ingo Schommer
647d295fe3 Merged revisions 46622 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r46622 | ischommer | 2007-12-12 10:54:32 +1300 (Wed, 12 Dec 2007) | 1 line
  
  added Double dbfield for extended precision (e.g. when saving map-coordinates)
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52154 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-04 23:00:37 +00:00
Ingo Schommer
ddd3ef3c34 Merged revisions 46596 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r46596 | ischommer | 2007-12-11 15:28:11 +1300 (Tue, 11 Dec 2007) | 1 line
  
  reverted precision extension (non-standard SQL for MySQL)
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52153 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-04 22:58:58 +00:00
Ingo Schommer
96a245cb1c Merged revisions 46566 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r46566 | ischommer | 2007-12-11 10:16:22 +1300 (Tue, 11 Dec 2007) | 1 line
  
  Allowing precision in Float, e.g. "Float(10,5)"
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52152 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-04 22:55:38 +00:00
Ingo Schommer
e62be1ef80 Merged revisions 52011 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/roa

........
  r52011 | ischommer | 2008-04-02 14:52:40 +1300 (Wed, 02 Apr 2008) | 1 line
  
  API CHANGE removed $defs and $fieldObjects, no longer used (see r22012 and r22001)
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52012 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-02 02:07:32 +00:00
Sam Minnee
e747282dfa Added first cut of RestfulServer - simple get support
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@51861 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-30 23:18:04 +00:00
Sam Minnee
df474f0467 Refactored ManifestBuilder for better testability
Added initial ManifestBuilderTest

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@51682 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-26 09:23:51 +00:00
Sam Minnee
3d83f43eff Fixed i18n bug on safe mode
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@51503 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-20 03:00:49 +00:00
Ingo Schommer
8d4f0d006f Merged revisions 51477 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r51477 | ischommer | 2008-03-20 09:51:02 +1300 (Thu, 20 Mar 2008) | 1 line
  
  BUGFIX Can't properly deprecate URL() over getURL(), as it takes priority in ViewableData::__get() (which in turn is used by template accessors like $MyImage.Thumbnail.URL) - returning getURL() instead now
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@51471 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-19 20:51:49 +00:00
Sam Minnee
3014401e11 Merged revisions 51462 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2

........
  r51462 | sminnee | 2008-03-19 18:01:55 +1300 (Wed, 19 Mar 2008) | 1 line
  
  Make Object::hasMethod() and Object::__call() case-insensitive, and added tests for it
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@51468 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-19 20:39:07 +00:00
Sam Minnee
f88a481026 Merged revisions 51436 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2

........
  r51436 | sminnee | 2008-03-19 15:58:05 +1300 (Wed, 19 Mar 2008) | 2 lines
  
  Fixed HomepageForDomain behaviour when entering multiple domains
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@51464 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-19 20:38:41 +00:00
Ingo Schommer
e7a683c0c4 Merged revisions 51257 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r51257 | ischommer | 2008-03-18 12:50:03 +1300 (Tue, 18 Mar 2008) | 2 lines
  
  ENHANCEMENT Deprecated Image->URL(), changed to Image->getURL() to be consistent with File class
  FEATURE File->getAbsoluteURL()
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@51251 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-17 23:50:18 +00:00
Sam Minnee
bd473aa749 Fixed currency's support for scientific notatio
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@51164 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-17 03:03:43 +00:00
Sam Minnee
397bb5fcc2 #2323: Fix casting of negative currency values; add CurrencyTest unit testing
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@51145 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-17 02:10:23 +00:00
Mark Rickerby
43ab200ee9 added more readable output for error messages and exceptions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@51130 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-16 22:13:31 +00:00
Ingo Schommer
d21d2a07f9 #2283 Permissions are a bit broken - what happened to all the CMS permissions?
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50950 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-12 09:34:27 +00:00
Ingo Schommer
8e884437fe FEATURE added hasDatabaseField()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50942 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-12 09:21:49 +00:00
Geoff Munn
9ff0dde675 $isPlain flag added to the parseVariables function
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50932 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-12 04:19:39 +00:00
Sam Minnee
4bbead3aa6 Merged revisions 50814 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r50814 | ischommer | 2008-03-11 10:37:31 +1300 (Tue, 11 Mar 2008) | 1 line
  
  documentation
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50885 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 03:29:49 +00:00
Sam Minnee
b8262b6d48 Merged revisions 50783 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r50783 | sminnee | 2008-03-10 16:02:12 +1300 (Mon, 10 Mar 2008) | 1 line
  
  Added 'anchor' option to link inserter
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50883 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 03:29:30 +00:00
Sam Minnee
557abf6e60 Merged revisions 50723 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r50723 | ischommer | 2008-03-08 14:57:05 +1300 (Sat, 08 Mar 2008) | 1 line
  
  added database indexes for AuthorID and PublisherID
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50882 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 03:29:22 +00:00
Sam Minnee
05dc1eee2c Merged revisions 50683 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r50683 | aoneil | 2008-03-07 11:05:27 +1300 (Fri, 07 Mar 2008) | 2 lines
  
  #2295 - DataObjectSets cannot be iterated over multiple times concurrently
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50871 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 01:31:43 +00:00
Sam Minnee
ab7fbbb350 Merged revisions 50352 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r50352 | sminnee | 2008-02-28 13:47:38 +1300 (Thu, 28 Feb 2008) | 1 line
  
  #2277 - Fixed notice-level error on controllers that are direct subclasses of controller
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50868 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 01:31:24 +00:00
Sam Minnee
6d87a6f188 Merged revisions 50245 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r50245 | sminnee | 2008-02-27 11:38:55 +1300 (Wed, 27 Feb 2008) | 1 line
  
  Small fix for session bugs on Lightspeed server
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50866 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 01:30:42 +00:00
Sam Minnee
1dd8c7f07c Merged revisions 50180 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r50180 | sminnee | 2008-02-26 12:03:24 +1300 (Tue, 26 Feb 2008) | 1 line
  
  Allow use of  on controller extensions
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50863 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 01:30:19 +00:00
Sam Minnee
ecec061408 Merged revisions 50179 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r50179 | sminnee | 2008-02-26 12:03:10 +1300 (Tue, 26 Feb 2008) | 2 lines
  
  Fixed 4.1-sort-by-group-aggregate query rewriter for sort functions containing columns, eg, ORDER BY if(A,B,C), X  
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50862 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 01:29:14 +00:00
Sam Minnee
9392c0fdb2 Removed notice-level error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50844 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 01:01:54 +00:00
Ingo Schommer
ed520fe9df fixed PHP notices
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50831 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 00:39:44 +00:00
Mark Rickerby
f55ba36a65 fixing bug with in-memory child objects not having their parent ID field updated via the ->add() method
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50808 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-10 21:48:13 +00:00
Ingo Schommer
5a313be83e Merged revisions 50805 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2

........
  r50805 | ischommer | 2008-03-11 10:23:53 +1300 (Tue, 11 Mar 2008) | 2 lines
  
  added $searchable_fields in preparation for a more generic search implementation, currently limited to Member.php and MemberTableField.php (mainly to fix bugs caused by r49774 and r47856)
  fixed weird indentation formatting in Member.php
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50802 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-10 21:28:35 +00:00
Ingo Schommer
cce30493a6 removed random debug methods
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50741 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-09 22:52:02 +00:00
Sam Minnee
848631558e Updated widget system to support forms
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50479 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-03 08:48:52 +00:00
Sam Minnee
59d8a1ce8e Improving API documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50453 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-02 23:24:10 +00:00
Sam Minnee
a0fb07d8ba Added /SapphireInfo URL with some basic version information
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50452 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-02 23:21:58 +00:00
Matt Peel
db1932b57c Fixed typo in Email.php
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50240 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-26 22:47:01 +00:00
Ingo Schommer
e3994942d3 Merged revisions 50182 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.1-dnc

........
  r50182 | ischommer | 2008-02-26 13:36:52 +1300 (Tue, 26 Feb 2008) | 1 line
  
  documentation
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50187 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-26 01:23:19 +00:00
Ingo Schommer
acef8b8859 Merged revisions 50189 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.1-dnc

........
  r50189 | ischommer | 2008-02-26 14:14:33 +1300 (Tue, 26 Feb 2008) | 2 lines
  
  BUGFIX using namespaced sessions in choose_site_lang() (different modes for 'site' and 'cms') to avoid unwanted changes to the application state (e.g. saving of an english cms-form to spanish record because frontend was switched to spanish in the meantime)
  BUGFIX changed choose_site_lang() to use combined if-blocks for $langsAvailable (longer statements, but less redundancy)
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50186 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-26 01:22:52 +00:00
Ingo Schommer
490fc2b2f1 Merged revisions 50188 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.1-dnc

........
  r50188 | ischommer | 2008-02-26 14:07:33 +1300 (Tue, 26 Feb 2008) | 1 line
  
  setting Director::set_site_mode() (similiar to ContentController) - required for Translatable::choose_site_lang() to work properly
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50185 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-26 01:22:29 +00:00
Matt Peel
7d13ba7fb8 Reverted geoffm's accidental commit to /open
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50107 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-25 02:10:37 +00:00
Geoff Munn
bf3c09bec6 First post
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50105 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-25 01:06:39 +00:00
Sam Minnee
7779e1c2b0 Fixed MySQL 4.1 support for situations where we are sorting by a group aggregation function
Fixed notice level error 


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49992 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-22 00:45:50 +00:00