Commit Graph

939 Commits

Author SHA1 Message Date
Sam Minnee
43bf269643 #2299 - Fatal error in specific version of PHP
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52393 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:43 +13:00
Ingo Schommer
ef7e8a1c40 BUGFIX re-initializing tabstrip javascript after ajax-reload in AssetTableField popup (#2309 AssetTableField popup fails after saving)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52392 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:43 +13:00
Sam Minnee
cbd6d34b36 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/branches/2.2.2@52391 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:42 +13:00
Ingo Schommer
13670979ac BUGFIX disable third party browscap by default (#2336)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52387 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:42 +13:00
Sam Minnee
38b489ce26 Show security id errors on test sites as well as dev
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52384 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:42 +13:00
Sam Minnee
f634ac7e58 Improved behaviour of contentcontrollerInit when extensions are applied to subclasses of SiteTree
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52343 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:41 +13:00
Andrew O'Neil
cbd65bd9ef fix links in RSS feeds
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52288 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:40 +13:00
Andrew O'Neil
808f77ec4f don't cache in overridden instance_get(), as the fields are different for subclasses
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52286 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:40 +13:00
Sam Minnee
72eb00f4b1 #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/branches/2.2.2@52217 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:39 +13:00
Sam Minnee
0fdf93469b #2362 - Fixed change password form
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52206 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:39 +13:00
Andrew O'Neil
1cacb2c22f fix php notice
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@51931 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:39 +13:00
Sam Minnee
e04de594af Make Object::hasMethod() and Object::__call() case-insensitive, and added tests for it
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@51455 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Sam Minnee
e2ec5eeda1 Test for hasMethod
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@51454 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Sam Minnee
5a05634c2d Fixes to TestRunner for latest PHPUnit/PHP
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@51452 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Sam Minnee
12475f1b31 Merged revisions 51150-51151 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk

........
  r51150 | sminnee | 2008-03-17 15:04:58 +1300 (Mon, 17 Mar 2008) | 1 line
  
  API CHANGE Allow for tests that don't use the database - don't define a static SapphireTest::
........
  r51151 | sminnee | 2008-03-17 15:09:32 +1300 (Mon, 17 Mar 2008) | 1 line
  
  Fixed typo in r51150
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@51438 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Sam Minnee
6dac7dfee2 Fixed HomepageForDomain behaviour when entering multiple domains
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@51429 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Sam Minnee
2ebed1431f API CHANGE Added RestfulService::httpHeader() for setting custom headers on REST requests
API CHANGE Added RestfulService::basicAuth() for setting authentication for REST requests
API CHANGE Added  param to RestfulService::connect(), to allow for requesting of multiple URLs from a single RestfulService object.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@51196 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Ingo Schommer
011c81818f Merged revisions 50824 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50824 | ischommer | 2008-03-11 12:55:57 +1300 (Tue, 11 Mar 2008) | 8 lines
  
  Added Translations for Danish (Denmark) - thanks to Jesper and Dennis
  Added Translations for Esperanto - thanks to Wojtek, Donald, Evan and Joop
  Added Translations for Finnish (Finland) - thanks to Elias, Vesa and Nina
  Added Translations for LOLCAT - thanks to Wojtek
  Added Translations for Sinhalese (Sri Lanka) - thanks to Nivanka, Himali and Lakshan
  Updated several translations in cms/auth_openid/sapphire
  Added package names for i18n files
  Reverted patch from r47694 which introduced conditional statements in lang-files
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50964 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Ingo Schommer
ab92e9ef01 Merged revisions 50957 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50957 | ischommer | 2008-03-12 22:34:27 +1300 (Wed, 12 Mar 2008) | 1 line
  
  #2283 Permissions are a bit broken - what happened to all the CMS permissions?
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50951 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Ingo Schommer
2eb5dad59d Merged revisions 50954 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50954 | ischommer | 2008-03-12 22:24:59 +1300 (Wed, 12 Mar 2008) | 1 line
  
  #2310 MemberTableField Popup breaks after saving
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50948 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Ingo Schommer
c739f278dc Merged revisions 50952 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50952 | ischommer | 2008-03-12 22:23:53 +1300 (Wed, 12 Mar 2008) | 1 line
  
  BUGFIX fixed csv export in MemberTableField by checking for valid database columns when building SELECT statement
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50946 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:37 +13:00
Ingo Schommer
3e4cb5eea4 Merged revisions 50949 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50949 | ischommer | 2008-03-12 22:21:49 +1300 (Wed, 12 Mar 2008) | 1 line
  
  FEATURE added hasDatabaseField()
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50943 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:37 +13:00
Ingo Schommer
5abd33e58a BUGFIX properly setting $childID in form for newly created items to avoid duplicates after subsequent saving (the form reloaded without the ID connection)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50940 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:37 +13:00
Sam Minnee
3fa6d91992 Make RSS feed work with objects that don't support AbsoluteLink, such as the forum
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50914 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:37 +13:00
Sam Minnee
9d902aa8cd Merged revisions 50641,50645,50815 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk

........
  r50641 | mrickerby | 2008-03-06 14:21:47 +1300 (Thu, 06 Mar 2008) | 1 line
  
  fixing typo in parameter name $validate --> $validator
........
  r50645 | mrickerby | 2008-03-06 15:06:47 +1300 (Thu, 06 Mar 2008) | 1 line
  
  made $messageType parameter of Validator::validationError optional, and added API docs to explain what (apparently) is going on
........
  r50815 | mrickerby | 2008-03-11 10:48:13 +1300 (Tue, 11 Mar 2008) | 1 line
  
  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/branches/2.2.2@50909 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:37 +13:00
Sam Minnee
e0a1e7cdbe #2302 - Fixed double-escaping of CTF popup page-navigation links
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50896 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:37 +13:00
Ingo Schommer
120606dd92 Merged revisions 50844 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50844 | ischommer | 2008-03-11 13:43:07 +1300 (Tue, 11 Mar 2008) | 1 line
  
  updated en_US master entities
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50838 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:37 +13:00
Ingo Schommer
d8e43ce8b6 Merged revisions 50840 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50840 | ischommer | 2008-03-11 13:40:25 +1300 (Tue, 11 Mar 2008) | 1 line
  
  fixed PHP notices
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50834 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:37 +13:00
Ingo Schommer
c1fc0bcaaa Merged revisions 50838 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50838 | ischommer | 2008-03-11 13:39:44 +1300 (Tue, 11 Mar 2008) | 1 line
  
  fixed PHP notices
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50832 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Ingo Schommer
f70dfdcbaa documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50807 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Sam Minnee
d765a8e3cf #2285 - Fixed widget editor
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50805 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Ingo Schommer
f369a2bb4d 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/branches/2.2.2@50798 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Sam Minnee
72a8fb3f03 Added 'anchor' option to link inserter
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50776 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Ingo Schommer
c5dd22d7d2 added database indexes for AuthorID and PublisherID
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50716 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Ingo Schommer
e7b90f580b Merged revisions 50697 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk

........
  r50697 | ischommer | 2008-03-07 14:17:14 +1300 (Fri, 07 Mar 2008) | 1 line
  
  #2265 Installer falsely claims modrewrite fails (mamp)
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50703 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Andrew O'Neil
a089e77a28 #2295 - DataObjectSets cannot be iterated over multiple times concurrently
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50676 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Sam Minnee
ea7889bdde #2280 - Fixed XML parsing errors in CTF
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50481 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Sam Minnee
b40613da9e #2287 - Removed notice-level error when geoip's not installed
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50480 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Sam Minnee
8cfb7bce21 #2277 - Fixed notice-level error on controllers that are direct subclasses of controller
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50345 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Sam Minnee
b09856545d Added support for password and old_password encryption mechanisms if you're using MySQL
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50283 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:35 +13:00
Sam Minnee
b1480d5a56 Small fix for session bugs on Lightspeed server
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50238 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:35 +13:00
Sam Minnee
ecb40ae642 A bit of a hack to fix double-escaped URLs in the CMS.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50207 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:35 +13:00
Sam Minnee
7429387aab Fixed password emailing for edited members
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50193 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:35 +13:00
Sam Minnee
d59b8154be Allow use of on controller extensions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50173 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:35 +13:00
Sam Minnee
5fd878e19f 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/branches/2.2.2@50172 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:35 +13:00
Sam Minnee
974238b296 Fixed bug with BasicAuth enabled on an old database, it was preventing you from visiting db/build
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50024 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-22 03:59:16 +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
Ingo Schommer
541c8a8904 Merged revisions 49946 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r49946 | ischommer | 2008-02-21 15:21:48 +1300 (Thu, 21 Feb 2008) | 1 line
  
  fixed caching in getManyManyComponents (see r43848)
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49940 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-21 02:23:39 +00:00
Mark Rickerby
24bd071767 removed redundant error strings
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49915 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-20 23:01:02 +00:00
Mark Rickerby
6966328cd5 Added a default exception handler. Any uncaught exceptions thrown from application code are now scooped up by the Debug::fatalHandler
Still some small problems with displaying stack traces of exceptions because the context array from trigger_error looks quite different from that of Exception::getTrace

Also fixed a couple of echo/print bugs in Debug::friendlyError. From the looks of the code there may be more bugs to cleanup here.

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