Commit Graph

983 Commits

Author SHA1 Message Date
Sean Harvey
9fe82d4537 BUGFIX Fixed i18n entity problem with TableListField_Item.ss
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@65219 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Sam Minnee
701ae9a4d9 BUGFIX: Don't allow calling of magically added methods via URL unless explicitly listed in allowed_actions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64988 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Normann Lou
0431518314 BUGFIX: Fixed HTTP/1.0 support
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64722 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Andrew O'Neil
8bd4ee733a Fix typo
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64643 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Andrew O'Neil
766ce65d0b MINOR: PHP notice fixes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64638 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Andrew O'Neil
8edd31a8ed MINOR: fix php notice
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64637 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Andrew O'Neil
a3d64e5304 Allow default value to be set on CountryDropdownField
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64636 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Andrew O'Neil
f6aba9147d Add ability to disable 'None' option and to choose the title field in TypeDropdown
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64635 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
Andrew O'Neil
4c73c41ca9 BUGFIX: Allow disabling of updateCMSFields() on SiteTree so subclasses that want decorators to have access to
their added fields can call it themselves. 


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64634 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
Andrew O'Neil
a7bc06c656 MINOR: Fix PHP notices
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64625 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
Josh Kosmala
226f7b230e Show '(Choose)' text on TreeDropdownField when a non-existent object is selected, as can happen when related data is removed
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64355 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
Josh Kosmala
26fde80558 When calling Folder::findOrMake(), set the Title as well as the Name of new folders
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64354 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
Andrew O'Neil
069c4464ad Add macron about native name of maori
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64130 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
Sam Minnee
09e787a6de Added ->itemWriteMethod parameter, to adjust the way that CTFs write (for instance, to save and publish instead of just save)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64128 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
Sam Minnee
5ca5dd15ee BUGFIX: Form::sessionMessage() didn't set type
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@63966 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
Sam Minnee
adee6b0e4a Fixed sorting in TableListField and subclasses
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@63524 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
Sam Minnee
b9052753be Removed hard-coded limits in ConfirmedPasswordField. This should be configured in a member password validator
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@63405 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
Sam Minnee
3bef23e00e ENHANCEMENT: Use get variable rather than session for Security::permissionFailure()'s BackURL, as it's more reliable
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@63030 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:33 +13:00
Sam Minnee
e85f61a2bc NOTFORMERGE: Implemented Form::setFormAction() to help with dogmog's overly complex DogMogAdmin. If we ever upgrade dogmog to 2.3, we should restructure the DogMogAdmin's forms to have unique URLs for each form.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@62933 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:33 +13:00
Andrew O'Neil
ea84cb5a61 BUGFIX Set ID of lostpassword page to -1 so we don't get top level pages
as its children


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@62107 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:33 +13:00
Sean Harvey
000749a9d7 BUGFIX Revert r61631 for Translatable but kept SiteTree changes instact from that revision since they are still useful
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@61815 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:33 +13:00
Michael Andrewartha
0f615b7bc6 API CHANGE: Decorators on SiteTree can now define updateCMSActions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@61625 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:33 +13:00
Michael Andrewartha
3989cb9eee API CHANGE: Decorators on SiteTree can now define updateCMSActions
BUGFIX: Don't show publish button when editing translatable page, as it is broken

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@61624 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:33 +13:00
Will Rossiter
d22852484f BUGFIX: search is now html valid!
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@60980 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:33 +13:00
Michael Andrewartha
8041948e65 merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@60651 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:33 +13:00
Andrew O'Neil
a367a700be BUGFIX: Fix typedropdown not working when there are no records of that
dataobject.


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@60240 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:33 +13:00
Josh Kosmala
a3274c9a31 Overwriting Date.php to output US Date format
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@59710 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:37:46 +13:00
Andrew O'Neil
9aaa4064ae BUGFIX #2504 - Fixed translation interface not working in CMS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@54465 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:46 +13:00
Sam Minnee
2b576d5d36 #2501 + #2500 - Fixed notice-level errors in editable forms
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@54395 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:46 +13:00
Sam Minnee
fb6bab202b #2447 - Bug in editing comment
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@54205 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:46 +13:00
Will Rossiter
c063363b23 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/branches/2.2.2@53366 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:45 +13:00
Sean Harvey
b9aaed37f5 MINOR: PHP notice fix - undefined variable
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53197 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:45 +13:00
Andrew O'Neil
6aaec39afa MINOR: Fixed some php notices
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53181 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:45 +13:00
Sean Harvey
ad12631c95 BUGFIX: Removed display: none for "nolabel" class - this is custom project code, and shouldn't be in sapphire!
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53168 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:45 +13:00
Sean Harvey
ac175873bd BUGFIX: Ticket #2455 - Check variable exists before accessing Password index
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53153 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:44 +13:00
Romain Louis
9bc560b6ec _t call for EXPORTCSV problem fixed
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53099 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:44 +13:00
Romain Louis
30b247e71a DataReport EXPORTCSV field missing
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53098 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:44 +13:00
Ingo Schommer
a6874aa61a Merged revisions 53101 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r53101 | ischommer | 2008-04-21 15:33:24 +1200 (Mon, 21 Apr 2008) | 1 line
  
  API CHANGE Removed deprecated/incomplete Synchronise class - please do not use for production purposes
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53095 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:44 +13:00
Sam Minnee
4005bc6fc5 Made has_one, has_many, and many_many methods more reliable
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53068 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:44 +13:00
Sam Minnee
1ccaefaf16 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/branches/2.2.2@53059 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:43 +13:00
Sam Minnee
6edc1b6f99 Fixed ContentController where ->dataRecord is empty
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52712 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:43 +13:00
Sam Minnee
b3128b280f Don't strtolower ->action, as it had too many side-effects.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52445 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:43 +13:00
Sam Minnee
4ea643b2e2 #2387 - Fields specified in DataObjectDecor not saved in some cases
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52441 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:43 +13:00
Sam Minnee
28ade5332e Fixed Authenticators to work with r52400
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52394 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:43 +13:00
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