Commit Graph

3964 Commits

Author SHA1 Message Date
Ingo Schommer
f1fdd81bc3 Merged revisions 47808 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r47808 | ischommer | 2008-01-10 14:08:05 +1300 (Thu, 10 Jan 2008) | 1 line
  
  allowing object-parameters in DataObjectSet and ArrayData, added ArrayData::object_to_array()
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47811 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 02:15:46 +00:00
Ingo Schommer
baefbd1b96 Merged revisions 47807 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r47807 | ischommer | 2008-01-10 14:07:06 +1300 (Thu, 10 Jan 2008) | 1 line
  
  added is_associative()
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47810 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 02:15:06 +00:00
Ingo Schommer
f2d38ee016 added lc_XX locale for LOLCAT
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47806 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 01:34:56 +00:00
Sam Minnee
41a11b277e Improved API documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47799 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 00:34:18 +00:00
Sam Minnee
05050e3f2c Moved test control files into sapphire/testing, so that sapphire/tests can be ignored by the documentor.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47797 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 00:33:18 +00:00
Andrew O'Neil
8eae0dc7a3 Use lighter version of browscap.ini
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47795 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 00:08:55 +00:00
Andrew O'Neil
17d3452441 #1088 - attachments cannot be emailed from mac or windows systems
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47793 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-09 23:56:12 +00:00
Andrew O'Neil
3102146526 Fix php notice
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47785 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-09 22:38:49 +00:00
Sam Minnee
b1d2e3906b API Documentation updates
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47766 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-09 04:18:36 +00:00
Andrew O'Neil
69f4ad8ec9 Added tests for DataObject
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47760 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-09 03:39:05 +00:00
Andrew O'Neil
0b445d7b7f Take orderby clause into account when caching in DataObject::get_one()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47749 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-09 02:31:03 +00:00
Andrew O'Neil
4dd628c9d0 Fix caching in DataObject::get_one()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47748 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-09 02:26:12 +00:00
Andrew O'Neil
9ab3d5e646 Remove HAVING clause from methods where it doesn't make sense to have them
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47747 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-09 01:48:12 +00:00
Ingo Schommer
126349da29 set $template and $itemClass to public (according to parent implementation)
fixed formatting

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47741 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 21:57:59 +00:00
Ingo Schommer
071b310c64 fixed getParentIdName() call in DetailForm() - paramter-order was wrong
better checking in saveComplexTableField() to avoid PHP-notice

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47740 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 21:57:15 +00:00
Andrew O'Neil
2a04a0a57b Fix YAML many_many/has_many relationships
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47739 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 21:32:13 +00:00
Andrew O'Neil
144f0fc33e YAML comma seperated => lists should work on has_meny relationships as well
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47732 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 19:59:00 +00:00
Sam Minnee
d27937f448 Updated API documentation package tags
Fixed some whitespace

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47725 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 06:37:50 +00:00
Sam Minnee
5ffeb1a4be Removed unnecessary class Staged
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47718 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 03:18:45 +00:00
Andrew O'Neil
84a3cd29d0 Fix stack trace on objects that don't extend the Object class
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47716 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 03:00:38 +00:00
Andrew O'Neil
3ce88a07d9 Merged revisions 47698 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/events

........
  r47698 | sminnee | 2008-01-08 12:11:08 +1300 (Tue, 08 Jan 2008) | 1 line
  
  PDODatabase got the wrong end of the stick - Database::createDatabase() shouldn't need any arguments.  Fixed this in the core class and MySQLDatabase, but PDODatabse still needs fixing.
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47710 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 02:14:05 +00:00
Andrew O'Neil
5606e9278b Merged revisions 47699 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/events

........
  r47699 | sminnee | 2008-01-08 12:11:28 +1300 (Tue, 08 Jan 2008) | 1 line
  
  Fixed TestRunner
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47709 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 02:12:18 +00:00
Andrew O'Neil
7848fb9c9b Initialized merge tracking via "svnmerge" with revisions "0-46750" from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/events


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47708 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 02:11:23 +00:00
Andrew O'Neil
95180448d0 Merged revisions 47155 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.1asfonz

........
  r47155 | sminnee | 2007-12-17 11:20:21 +1300 (Mon, 17 Dec 2007) | 1 line
  
  Added paste plain text and paste from word buttons to the HtmlEditorField in the CMS
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47694 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 00:53:54 +00:00
Andrew O'Neil
614f234bce Initialized merge tracking via "svnmerge" with revisions "0-47151" from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.1asfonz


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47693 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 00:53:27 +00:00
Andrew O'Neil
20544de022 wakeless: #1976 - DataObject queries the database for child elements when it hasn't been serialized
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47688 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-07 22:20:50 +00:00
Andrew O'Neil
7f4d2f1218 #1666 - Interface translations don't show in footer
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47687 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-07 21:58:22 +00:00
Andrew O'Neil
4b9ed4ec6f Fix title and description in RSS feeds
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47681 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-07 19:17:21 +00:00
Andrew O'Neil
ff467f2393 Merged revisions 47479 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.1

........
  r47479 | nlou | 2007-12-21 15:27:16 +1300 (Fri, 21 Dec 2007) | 1 line
  
  add function fieldByName
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47630 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-06 21:55:27 +00:00
Ingo Schommer
895370c038 made breadcrumbs-delimiter configurable
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47627 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-05 09:05:33 +00:00
Sean Harvey
54de788984 Reversed isset() change which was causing some side effects
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47595 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-04 03:00:33 +00:00
Sean Harvey
241969d97c Fixed PHP notice undefined index - $messageSet['alreadyLoggedIn']
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47593 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-04 02:42:28 +00:00
Sean Harvey
2ef6925cd1 Fixed ID undefined PHP notice error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47588 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-03 21:56:08 +00:00
Ingo Schommer
0535f628ff added $popupClass to avoid duplication, getting basedataclass for existing children in DetailForm() (in case we're dealing with different subclasses)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47585 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-03 08:43:26 +00:00
Ingo Schommer
1589785b18 more solid ID-detection in php()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47584 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-03 08:42:04 +00:00
Ingo Schommer
b5aaa9b1e2 additional checks before foreach() loop
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47582 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-03 00:49:28 +00:00
Ingo Schommer
3a47be1430 fixed PHP notice in implementorsOf
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47581 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-03 00:49:10 +00:00
Ingo Schommer
817f7604c6 #2069 Locale file /lang/en_US.php should exist (Windows)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47580 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-03 00:38:30 +00:00
Andrew O'Neil
c1e0533efc styling for HasManyFileField
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47371 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-19 23:07:42 +00:00
Andrew O'Neil
604ab689e2 Blocked revisions 47373 via svnmerge
................
  r47373 | ischommer | 2007-12-20 10:15:57 +1300 (Thu, 20 Dec 2007) | 9 lines
  
  Merged revisions 47372 via svnmerge from 
  http://svn.silverstripe.com/open/modules/sapphire/trunk
  
  ........
    r47372 | ischommer | 2007-12-20 10:15:18 +1300 (Thu, 20 Dec 2007) | 1 line
    
    added esperanto locale
  ........
................


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47370 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-19 22:59:20 +00:00
Ingo Schommer
0ef3c8441b added esperanto locale
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47365 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-19 21:15:18 +00:00
Ingo Schommer
5bda77262f Merged revisions 47334 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r47334 | ischommer | 2007-12-19 14:51:52 +1300 (Wed, 19 Dec 2007) | 1 line
  
  fixed typo
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47328 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-19 01:52:11 +00:00
Ingo Schommer
ce5becdcfd Merged revisions 47323 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r47323 | ischommer | 2007-12-19 14:33:29 +1300 (Wed, 19 Dec 2007) | 1 line
  
  documentation, added show-on-click functionality, fixed validation for canBeEmpty
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47322 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-19 01:45:22 +00:00
Ingo Schommer
19da8d0f85 changed svnmerge for mesq-branch
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47319 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-19 01:37:15 +00:00
Ingo Schommer
f8b6b35304 Initialized merge tracking via "svnmerge" with revisions "1-47324" from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47318 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-19 01:34:45 +00:00
Andrew O'Neil
50b2f7180f Throw a E_USER_NOTICE on use of deprecated functions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47306 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-18 22:50:23 +00:00
Andrew O'Neil
76d482b2cd Merged revisions 46920 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.1

........
  r46920 | ischommer | 2007-12-14 17:39:01 +1300 (Fri, 14 Dec 2007) | 1 line
  
  fixed $
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47287 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-18 21:31:05 +00:00
Andrew O'Neil
c0342ec70c Blocked revisions 46855,46923,46948,47140,47152,47180,47182,47228 via svnmerge
................
  r46855 | ischommer | 2007-12-14 14:10:01 +1300 (Fri, 14 Dec 2007) | 8 lines
  
  Blocked revisions 46854 via svnmerge
  
  ........
    r46854 | ischommer | 2007-12-14 14:08:57 +1300 (Fri, 14 Dec 2007) | 1 line
    
    added swedish (thanks to Andreas and William!)
  ........
................
  r46923 | ischommer | 2007-12-14 17:39:41 +1300 (Fri, 14 Dec 2007) | 8 lines
  
  Blocked revisions 46854 via svnmerge
  
  ........
    r46854 | ischommer | 2007-12-14 14:08:57 +1300 (Fri, 14 Dec 2007) | 1 line
    
    added swedish (thanks to Andreas and William!)
  ........
................
  r46948 | ischommer | 2007-12-16 17:19:06 +1300 (Sun, 16 Dec 2007) | 8 lines
  
  Blocked revisions 46854 via svnmerge
  
  ........
    r46854 | ischommer | 2007-12-14 14:08:57 +1300 (Fri, 14 Dec 2007) | 1 line
    
    added swedish (thanks to Andreas and William!)
  ........
................
  r47140 | sminnee | 2007-12-17 11:09:03 +1300 (Mon, 17 Dec 2007) | 3 lines
  
  Removed merge tracking for "svnmerge" for 
  svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk
................
  r47152 | sminnee | 2007-12-17 11:18:25 +1300 (Mon, 17 Dec 2007) | 3 lines
  
  Initialized merge tracking via "svnmerge" with revisions "1-45943" from 
  svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.0
................
  r47180 | ischommer | 2007-12-17 15:33:22 +1300 (Mon, 17 Dec 2007) | 1 line
  
  readded svnmerge tracking for trunk
................
  r47182 | ischommer | 2007-12-17 15:39:01 +1300 (Mon, 17 Dec 2007) | 9 lines
  
  Merged revisions 47179 via svnmerge from 
  http://svn.silverstripe.com/open/modules/sapphire/trunk
  
  ........
    r47179 | ischommer | 2007-12-17 15:18:28 +1300 (Mon, 17 Dec 2007) | 1 line
    
    Added chinese (taiwan) (thanks to jeff and normann!)
  ........
................
  r47228 | nlou | 2007-12-18 15:11:20 +1300 (Tue, 18 Dec 2007) | 1 line
  
  add deal and dealtag.
................


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47286 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-18 21:30:15 +00:00
Andrew O'Neil
33006a53fa Merged revisions 46853 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.1

........
  r46853 | ischommer | 2007-12-14 14:06:12 +1300 (Fri, 14 Dec 2007) | 1 line
  
  added swedish (thanks to Andreas and William!)
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47285 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-18 21:25:08 +00:00
Andrew O'Neil
32fa73d39f Merged revisions 46832 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.1

........
  r46832 | sminnee | 2007-12-14 11:59:07 +1300 (Fri, 14 Dec 2007) | 1 line
  
  Added augmentDefaultRecords() function, so that DataObjectDecorators can extend requireDefaultRecords.
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47284 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-18 21:24:23 +00:00