Andrew O'Neil
1f9e063180
Hack to fix Fatal error: Call to undefined method stdClass::allMethodNames()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@42503 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:17 +13:00
Andrew O'Neil
40dc960751
Optional reporting of versions to SilverStripe
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@42420 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:17 +13:00
Romain Louis
2dd44b433a
File Attribute Adding for the gallery module
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@42337 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:16 +13:00
Jeremy Shipman
6cc7f948a0
modified bbcode newline/paragraph support
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@42274 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:16 +13:00
Jeremy Shipman
534be77a3b
Changed bbcode line break support to support paragraphs too
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@42272 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:16 +13:00
Jeremy Shipman
e85f057e11
Added support for line breaks in bbcode. (Swaps \n for <br>)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@42266 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:16 +13:00
Andrew O'Neil
269b6c7720
#1444 - DataObjectDecorator Merge Fields HUGE PROBLEM
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@42208 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:16 +13:00
Andrew O'Neil
92ab5f3812
Replace blank strings with null - see http://www.silverstripe.com/general-discussion/flat/5050?start=8
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@42171 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:16 +13:00
Andrew O'Neil
9150818ec5
Remove css requirements from core, in case user does not want to include these.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@42166 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:16 +13:00
Romain Louis
f7bed2aa99
3 notices solved
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@41737 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:16 +13:00
Jeremy Shipman
ad6557eb6c
Changed examples for bbcode
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@41731 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:16 +13:00
Andrew O'Neil
ec32c06000
Link to the documentation on default pages
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@41728 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:16 +13:00
Jeremy Shipman
b978d6ca94
Pear bbcode parser no longer requires work.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@41722 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:15 +13:00
Jeremy Shipman
eabe326466
Pear bbcode parser no longer requires work.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@41699 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:15 +13:00
Andrew O'Neil
ab1633fb67
Fix error when creating new redirector page
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@41673 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:15 +13:00
Jeremy Shipman
d7f2aba95a
Intermediate step to get bbcode working again
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@41617 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:15 +13:00
Jeremy Shipman
0631d4e78d
Intermediate step to get bbcode working again
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@41616 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:15 +13:00
Jeremy Shipman
48765213f7
Intermediate step to get bbcode working again
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@41615 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:15 +13:00
Jeremy Shipman
9bce6a0e02
Getting rid of pear folder. Modifying and moving bbcode parsing to parsers.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@41608 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:15 +13:00
Jeremy Shipman
cdafcbcf77
Getting rid of pear folder. Modifying and moving bbcode parsing to parsers.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@41607 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:15 +13:00
Andrew O'Neil
2ff0a30980
If there's a silverstripe-cache directory in the silverstripe folder, always use that instead of /tmp
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@41576 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:15 +13:00
Andrew O'Neil
557296b52a
allow the dev servers and test servers to be set via Director
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@41573 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:15 +13:00
Andrew O'Neil
18decb4461
Fixed php notice
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@41550 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:15 +13:00
Andrew O'Neil
6d88f5f77a
Allow logging in via BasicAuth, so the publish site script can login before doing a db/build
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@41533 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:15 +13:00
Andrew O'Neil
1b0cac2e0a
Correct spelling
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@41532 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:15 +13:00
Andrew O'Neil
6c6c528f43
Use permission code
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@41531 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:15 +13:00
Jeremy Shipman
2661107409
removed call by reference because it was causing a warning that it is depricated use. Refer to 41021
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@41517 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:55:15 +13:00
Matt Peel
3a69b030fb
Facebook doesn't like lots of nested tags, we need to close the <li> tags that we open for each database table.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41478 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-09 05:49:21 +00:00
Matt Peel
59147d10d9
Reverted previous change - null is a valid value for an argument, but not for an if statement.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41475 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-09 04:02:54 +00:00
Matt Peel
d0a256e647
$size is always 50 or something else if you set a default value for a function argument.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41473 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-09 03:30:53 +00:00
Matt Peel
aaabe7ee94
Removed junk from CVS, unnecessary newlines etc
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41462 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-08 03:18:26 +00:00
Jeremy Shipman
0bf12a22d1
BBCodeParser code tags should be converted to pre tags
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41415 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-06 23:44:14 +00:00
Sam Minnee
51c1e7ffec
Refactored CMS page-URL accessing to use ->AbsoluteLink(), which can be overridden by defining alternateAbsoluteLink()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41283 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-05 06:42:26 +00:00
Jeremy Shipman
896e7bfd95
Added new bbcodeparser that uses pear
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41274 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-05 04:15:27 +00:00
Jeremy Shipman
e808b3a53d
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41273 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-05 04:15:04 +00:00
Jeremy Shipman
2cafe279a9
Included sapphire/pear in the directories to exclude from manifest builder
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41272 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-05 04:14:09 +00:00
Jeremy Shipman
8d2bfe1282
Modified so that the includes path also refers to sapphire/pear
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41271 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-05 04:13:37 +00:00
Jeremy Shipman
8055b4b291
Created pear directory which includes the PEAR HTML_BBCodeParser-1.2.2 and PEAR.php
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41270 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-05 04:12:40 +00:00
Matt Peel
85b45924a2
When mysql_connect() fails to establish a connection, it means that it couldn't connect, not that it could. :P
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41234 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-04 09:24:55 +00:00
Sam Minnee
211f7b7ae6
Added Permission::get_groups_by_permission
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41211 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-04 03:55:02 +00:00
Romain Louis
49375c45c4
Relation HasOne, HasMany and ManyMany ComplexTableField Adding
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41200 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-04 03:30:59 +00:00
Romain Louis
269d42bf73
ComplexTableField DetailForm Adding Method Problem Solving
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41195 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-04 02:27:55 +00:00
Romain Louis
63974e49f6
Renaming Template Relation complex table
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41179 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-03 05:59:30 +00:00
Romain Louis
57387d21b7
Relation Table Template Adding Without Sorting Option
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41173 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-03 05:30:32 +00:00
Romain Louis
b4eb11402b
ExtradData call delete
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41172 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-03 05:28:46 +00:00
Romain Louis
a4e5dcc3bc
ExtraData function call adding
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41166 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-03 05:09:20 +00:00
Romain Louis
b5c83d3513
setByIDList function update( notices and ajax problem solving )
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41165 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-03 05:08:33 +00:00
Sam Minnee
cb40b7e28a
Added EDIT_PERMISSIONS permission code for SecurityAdmin
...
Added LeftAndMain::alternateAccessCheck() / alternateMenuDisplayCheck() so that subsite could hook a new security model into the admin
Added support for Group::alternateTreeTitle() to allow subsites to put *s before global groups
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41098 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-31 00:31:49 +00:00
Sam Minnee
87c8cb6661
Sorted permission codes in Permission::get_codes
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41096 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-31 00:28:30 +00:00
Sam Minnee
6b4b9e978a
Fixed notice-level error
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41095 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-31 00:27:59 +00:00