Commit Graph

350 Commits

Author SHA1 Message Date
Sam Minnee
2427c0c50c #2094: Make ContentNegotiator send XHTML to the W3C validator
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47875 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-11 00:10:27 +00:00
Andrew O'Neil
05051ef484 Fix DataObjectSet constructor breaking with associative arrays
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47873 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-11 00:05:57 +00:00
Sam Minnee
d0827cc3ef simon_w: #2118 - When removing a value from an enum, set affected rows back to the default
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47870 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 23:53:34 +00:00
Normann Lou
9750028e8d fix wrong warning info: Director -> Debug
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47851 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 22:42:36 +00:00
Sam Minnee
ebc50a85c7 rbarreiros: 019 - Lost Locale when translatable string not found
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47850 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 22:33:18 +00:00
Andrew O'Neil
e72c08d986 Don't fail in i18n::include_by_class if the module isn't translatable
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47847 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 21:48:03 +00:00
Andrew O'Neil
0626a0a15a Remove debug message
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47840 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 20:53:47 +00:00
Andrew O'Neil
a597942984 Added $SecurityID for templates
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47839 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 20:47:50 +00:00
Sam Minnee
af8d7a1802 #2003: Don't close img and br tags on HTMLText.Summary
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47836 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 03:58:14 +00:00
Sam Minnee
2619c6fac1 Error checking in i18n::include_by_class shouldn't complain if mysite/lang doesn't exist - only if a module doesn't have internationalisation options.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47834 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 03:34:46 +00:00
Andrew O'Neil
d3b146167c Reverted 47595, are it broke $defaults
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47833 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 03:34:30 +00:00
Sam Minnee
fea4042c3c rbarreiros: #1918 Translate newsletter and other strings
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47832 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 03:28:13 +00:00
Andrew O'Neil
5529aa2e5f Fix building manifest before database is created
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47831 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 03:23:09 +00:00
Ingo Schommer
c22bb87647 Merged revisions 47815 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r47815 | ischommer | 2008-01-10 14:54:27 +1300 (Thu, 10 Jan 2008) | 1 line
  
  documentation
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47812 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 02:18:20 +00:00
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
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
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
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
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
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
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
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
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
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
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
Ingo Schommer
8ece5302f7 Merged revisions 37547 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.0.1-uplay

........
  r37547 | ischommer | 2007-06-29 12:36:56 +1200 (Fri, 29 Jun 2007) | 1 line
  
  added blocking
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47197 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-17 21:49:49 +00:00
Andrew O'Neil
fa9a258bd2 Merged revisions 46139 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.1

........
  r46139 | aoneil | 2007-12-03 11:28:34 +1300 (Mon, 03 Dec 2007) | 2 lines
  
  #1942 - Object::uninherited() fix for PHP 5.1.2
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46814 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-13 22:33:25 +00:00
Andrew O'Neil
0aa4a1e71f Merged revisions 45962 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.1

........
  r45962 | jshipman | 2007-11-29 16:47:51 +1300 (Thu, 29 Nov 2007) | 1 line
  
  content controller notice, hyperlink underlining
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46811 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-13 22:31:58 +00:00
Andrew O'Neil
21c69b95c5 Merged revisions 46640 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-privacy

........
  r46640 | aoneil | 2007-12-12 13:36:48 +1300 (Wed, 12 Dec 2007) | 1 line
  
  Fix redirection in Director rules
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46781 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-13 21:50:40 +00:00
Andrew O'Neil
8fc8eec672 Merged revisions 46591 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-privacy

........
  r46591 | aoneil | 2007-12-11 14:29:01 +1300 (Tue, 11 Dec 2007) | 1 line
  
  Highlighting of search results
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46780 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-13 21:50:22 +00:00
Andrew O'Neil
bb5f6593e8 Merged revisions 46568 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-privacy

........
  r46568 | aoneil | 2007-12-11 10:20:00 +1300 (Tue, 11 Dec 2007) | 1 line
  
  Added a ContextSummary method, which returns a block of text surrounding a word
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46779 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-13 21:50:00 +00:00
Andrew O'Neil
ed2277aa8d Merged revisions 46560 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-privacy

........
  r46560 | aoneil | 2007-12-11 10:09:07 +1300 (Tue, 11 Dec 2007) | 2 lines
  
  Added FirstItem() and LastItem() functions, which return the number of the first and last items in the current page
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46777 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-13 21:49:18 +00:00
Sam Minnee
c77105e517 hpoley: #1871 - Escape RedirectorPage::Link()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46732 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-13 00:46:01 +00:00
Sam Minnee
0235aee5df wakeless: #1823 - Improve memory usage of ManifestBuilder
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46730 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-13 00:36:38 +00:00
Sam Minnee
5dac73b21e wakeless: #1689 - ViewableData::Me() function
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46724 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-12 22:59:30 +00:00
Sam Minnee
fcd42544ab wakeless: #1419 Removed e_notice level error on DataObject::write()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46722 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-12 22:46:13 +00:00
Sam Minnee
e8d39e055a #1056 - Fixed deletefromlive messages with quote in title
Fixed Convert::raw2js() for strings containing slashes

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46672 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-12 05:16:10 +00:00
Sam Minnee
762c1a7369 Fixed bug in Database::manipulate() that prevented pages from being saved with single quotes at the end of the title
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46671 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-12 05:15:17 +00:00
Ingo Schommer
0bf681d99c fixed spelling of language
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46481 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-08 00:58:09 +00:00