Commit Graph

388 Commits

Author SHA1 Message Date
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
Ingo Schommer
f46b875dba member profile: sorting by title
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46480 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-08 00:16:08 +00:00
Ingo Schommer
e4a7141f00 additional requirements isset() check
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46309 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-04 04:09:07 +00:00
Sam Minnee
395da98591 Improved support for DataObjectInterface implementors in forms
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46307 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-04 04:07:04 +00:00
Ingo Schommer
de30b37795 #1534 (patch by severin.schols) Added support for sprintf(_t()) usage in template for translation
see http://code.google.com/p/google-highly-open-participation-silverstripe/issues/detail?id=29

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46155 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-03 01:21:52 +00:00
Andrew O'Neil
8f712a3392 #1892 - Image attach from file store broken (merged from branches/2.2.0@45907, r45762)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46113 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-02 21:35:17 +00:00
Andrew O'Neil
cdf221bdde Wrong case on db field for virtual pages (merged from branches/2.2.0@45907, r45687)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46112 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-02 21:35:05 +00:00
Andrew O'Neil
1df5d2b641 cache folder in webroot should just be called silverstripe-cache (merged from branches/2.2.0@45907, r45618)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46111 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-02 21:34:18 +00:00
Andrew O'Neil
6921b5e1c1 Fixed bug with 404 header (merged from branches/2.2.0@45907, r45616)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46109 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-02 21:33:59 +00:00
Andrew O'Neil
27c70de07e added indices (merged from branches/2.2.0@45907, r45542)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46108 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-02 21:33:48 +00:00
Andrew O'Neil
b2ef5af8c1 passing through all parameters to DataObject::get()/get_one() (merged from branches/2.2.0@45907, r45538)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46106 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-02 21:33:24 +00:00
Andrew O'Neil
e19ec7d93f #1432, #1557 - Added Director::set_status_code() and Director::get_status_code(), and used this to fix 404 errors. (merged from branches/2.2.0@45907, r45443)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46099 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-02 21:29:31 +00:00
Andrew O'Neil
4e5bdfc3fe Removed notice level error (merged from branches/2.2.0@45907, r45442)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46098 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-02 21:28:53 +00:00
Andrew O'Neil
cde02ea1fa Fix incorrect docs (merged from branches/2.2.0@45907, r45187)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46096 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-02 21:28:02 +00:00
Andrew O'Neil
6672339ddc Make ErrorPage return the correct response (merged from branches/2.2.0@45907, r45032)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46092 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-02 21:24:12 +00:00
Andrew O'Neil
ca4c0a5ede Show CRSF on live site (merged from branches/2.2.0@45907, r45003)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46089 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-02 21:23:19 +00:00
Andrew O'Neil
fbc70b4377 Add ExtraMeta field (merged from branches/2.2.0@45907, r44941)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46086 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-02 21:19:26 +00:00
Sam Minnee
6b4623973d Added DataObjectInterface, which other classes can implement to hook into DataObject::get
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46057 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-30 02:58:56 +00:00
Normann Lou
2ccd4c06ee Ticket #49: Factfinder: "Finish" doesn't redirect to "thank you"
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46044 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-30 01:24:02 +00:00
Normann Lou
609a8528b8 convert r45256
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45653 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-26 04:05:53 +00:00
Ingo Schommer
d7eefa9a67 removed double commit caused by merging branches/2.0-inform
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45622 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-26 02:23:41 +00:00
Ingo Schommer
df0bed523c removed doubled merge() method (caused by merging in branches/2.0-inform)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45543 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-24 05:31:38 +00:00
Normann Lou
83eb3c3110 inform-merges
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45483 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-23 02:00:24 +00:00
Normann Lou
26b8f7dffe switch externals to trunk.
Inform-merge: from the changeset:
r32477: Merge 2.0-inform from trunk previously
r32478: Merge 2.0-inform from trunk previously
r32481: merge 2.0infom with lastes chunk 
r32483: merge 2.0infom with lastes chunk 
r33526: Final styling of all forms and combined communication form add/alter javascript for height adjustment of First / Second block 
r33580: styling for combined form communication in myinfom pages 
r33706: styling of combined form (communication) in Email 
r33881: made compatible to $extraClass 
r33885: added defaultVal
r33887: fixed typo 
r34728: modified SmallFieldHolder?()
r34729: added "validationError"-class 
r34914: WIP3866: Factfinder: Hide "self emplyed" block 
r34964: Change current plan upto TraumaInsurance? 
r35038: disabled friggin field focus 
r35230: #1032 Fixed hash-link insertion 
r35887: conditionally setting parameters in sourceID() - to avoid empty overrides
r35892: Saving value in SQL-compatible format (YYYY-MM-DD instead of DD/MM/YYYY), with fallback for non-sql values (just passed through without conversion) 
r35928: Removed "create a" from PageType?-dropdown, sorting alphabetically, falling back to $singular_name
r35990: branched off for membertablefield
r35994: fix for membertablefield
r36024: added array-condition needed for DMYDateField 
r36083: fix bug for compositeField -> dropDatalessField
r36394: removed debug code 
r36826: change wrong indent format 
r36828: WIP 4262: Logging out of My Inform goes to blank page
r36858: Fixed error caused in r12472 while merging to Session-class
r37132: Merged partial changesets from branches/2.0-nzct, only adding childID to detailform when not in add-mode 
r40815: add an unsubscribe record when a member subscribe a newslettertype 
r41113: fix the bug described in http://support.silverstripe.com/info/ticket/31: CRM not showing search results
r43226: fixed search (partial merge from trunk) 
r43268: merged createNewPassword() from trunk, was referencing a non-existinent global function randomString()


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45473 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-23 01:10:19 +00:00
Normann Lou
378fc8a4ab merge changest 35230
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45249 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-20 23:54:13 +00:00
Normann Lou
1ebefd7eff merge changest 35230
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45248 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-20 23:53:53 +00:00
Sam Minnee
0c04f14f37 Fixed Versioned::get_latest_version when called on live site (parents upgrade issue)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45104 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-19 04:50:09 +00:00
Sam Minnee
ef5aabf666 Versioned::get_version() didn't work if you were on the live site
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45079 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-19 03:15:11 +00:00
Sam Minnee
d80432972d Session class updates with the changes, rather than completely overwriting. This makes it easier for legacy apps to access directly.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45077 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-19 03:12:29 +00:00
Sam Minnee
202b7fd9b6 parents-merge 41017 - Added Text::LimitSentences
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45060 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-19 02:03:30 +00:00
Sam Minnee
a26099f6f5 parents-merge 34566 - Moved Level() from ContentController to SiteTree so that it can be accessed from anywhere
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45047 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-19 01:25:21 +00:00
Sam Minnee
8547c5c333 parents-merge 33148 - Fixed decimal saving
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45040 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-19 01:15:05 +00:00
Sam Minnee
f246e4fbe2 parents-merge 33138 - Added IsEmail boolean to email templates
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45039 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-19 01:14:10 +00:00
Sam Minnee
5d6a4df183 parents-merge 33066 - Improved support for decimal/currency saving
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45038 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-19 01:12:35 +00:00
Andrew O'Neil
3c484557b0 Fixed typo (merged from branches/2.2.0, r44892)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44918 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-15 22:41:44 +00:00
Andrew O'Neil
329567c3fb #1589 - Database Classes contains debug flags (merged from branches/2.2.0, r44883)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44916 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-15 22:40:48 +00:00
Andrew O'Neil
87a4a1fcce Error check on homepage redirector (merged from branches/2.2.0, r44869)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44905 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-15 22:35:02 +00:00
Andrew O'Neil
ff0cefe74a Disable CRSF attack error message, as spambots causing this result in too many emails (merged from branches/2.2.0, r44857)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44904 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-15 22:34:34 +00:00
Andrew O'Neil
7acd5738be the silverstripe-cache folder is now named according to the location of the silverstripe install, meaning that there are no clashes of permissions on shared servers (merged from branches/2.2.0, r44847)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44902 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-15 22:33:35 +00:00
Andrew O'Neil
c7415ad3d4 #1754 - Database upgrades problematic (merged from branches/2.2.0, r44770)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44895 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-15 22:29:10 +00:00
Andrew O'Neil
dd71d6adad Fixed open_basedir error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44665 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-12 22:26:34 +00:00
Andrew O'Neil
8360e8f8b8 #1707 - sitemap.xml needs to hide unpublished pages
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44619 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-12 02:03:17 +00:00
Andrew O'Neil
8f058227b0 #1621 - Cannot login via OpenID
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44617 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-12 01:47:48 +00:00
Ingo Schommer
cf1dbb8014 formatting for CLI
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44598 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-11 22:44:40 +00:00
Ingo Schommer
a3793afb22 formatting for CLI
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44597 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-11 22:43:30 +00:00
Andrew O'Neil
c36eac4671 #1684 - PHP notice errors showing during install need to be fixed.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44584 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-11 21:03:33 +00:00
Ingo Schommer
dd71c53a4d allowing textcollector for non-admins in CLI-mode (needed for auto-updating)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44574 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-11 02:54:36 +00:00
Ingo Schommer
a95efe833f added is_cli()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44573 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-11 02:54:19 +00:00
Ingo Schommer
c43712bd82 Refactored non-standard extension of cmsfields (should use updateCMSFields instead). originally committed in r40265 and r36951
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44568 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-10 05:19:24 +00:00
Ingo Schommer
97a44ce0be code formatting, changed $mode_additions to $callbacks
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44567 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-10 05:17:30 +00:00
Sam Minnee
15eff6e217 #1662 - Secured draft/archived content
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44555 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-09 03:42:04 +00:00
Sam Minnee
2c8e304294 Trivial fix to coding style
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44554 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-09 03:40:05 +00:00
Andrew O'Neil
0b2ba8aed5 Fixed database selection in db/build (merged from GSOC branch, r43033)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44545 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-09 02:50:35 +00:00
Hayden Smith
c32493a550 Default priority is now based on a page's depth in the site tree, but can be overwritten.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44513 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-08 04:23:33 +00:00
Hayden Smith
8001bbfe6b Changed page priority in the advanced meta-data options to a dropdown (ticket #1629)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44493 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-08 02:00:14 +00:00
Andrew O'Neil
f7127c90bc #1586 - Object.php contains request parameter 'debugmethods'
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44487 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-07 23:46:00 +00:00
Normann Lou
bfbf80c843 new lang files updated from translateserver. Date ago() translated
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44456 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-07 06:05:52 +00:00
Andrew O'Neil
403257de36 Site language and CMS locale are different, so we can't use one to set the other
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44325 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-06 02:38:06 +00:00
Ingo Schommer
5b7139c874 added $name to constructor (can't derive a valid ID from the title, as it might not contain alphanumeric characters - had problems with chinese translation)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44256 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-05 03:18:18 +00:00
Andrew O'Neil
ba4645f8aa Fix Session not saving on some servers (merged from 2.1.1 branch, r43627)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44200 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-04 21:33:50 +00:00
Andrew O'Neil
a462cd2c20 Use the hostname, not the ip address, in dev/test mode tests (merged from 2.1.1 branch, r43542)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44194 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-04 21:15:41 +00:00
Andrew O'Neil
13a66fec1f #1488 - Access to 'logged in' users for home page fails (attempts to redirect to Security/login forever) (merged from 2.1.1 branch, r43532)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44193 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-04 21:13:44 +00:00
Sam Minnee
9dad7b5f1a Bypassed security on the login page
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44140 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-02 01:11:13 +00:00