Commit Graph

7485 Commits

Author SHA1 Message Date
Sean Harvey
285e6aa8f9 this was checking if labels was an object, which failed when findParentLabel(el.parentNode) was called, it just returned 'this' instead on validation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41639 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-13 03:17:35 +00:00
Normann Lou
4a3d1308cb a new field used to confirm password in sign up form
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41552 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-11 00:26:55 +00:00
Jeremy Shipman
a672aa7474 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/trunk@41510 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-10 00:21:54 +00: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
Sam Minnee
8ecb8f0d6a Added '<% if HasPerm(PERM_CODE() %>' to ViewableData for template
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41094 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-31 00:27:34 +00:00
Sam Minnee
c0660c147b Added Director::redirected_to / Controller::redirectedTo() for redirection-detection
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41093 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-31 00:26:41 +00:00
Andrew O'Neil
83020ccc03 Removed require_once - it's not needed, and for some reason it makes PHP die on some servers
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41079 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-30 22:55:37 +00:00
Matt Peel
949f78ee75 Moved RestfulService from mashups module into sapphire core for 2.1.0
release


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41024 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-30 00:12:23 +00:00
Sam Minnee
8b582236dd Fix lloadDescendantIDListInto - it needs the & value given on the caller, for some reason.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41019 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-29 06:05:17 +00:00
Sam Minnee
454949a4fc Use the homepage as a model for the security base-page, so that things like the current subsite are factored in
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41018 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-29 06:04:46 +00:00
Sam Minnee
b7ec0fd4df Fix ErrorPage publication
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40998 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-28 22:27:13 +00:00
Sam Minnee
c8f38617cb #write:31 - Fixed redirection from /home/ to /./ in IE6
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40980 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-28 02:49:31 +00:00
Sam Minnee
84e01faf1e Refactored newsletter system to put recipient selection and form-fieldset generation into the NewsletterType class, to allow for subclassing NewsletterType to create special system newsletters. [see oriwave2 for an example]
Removed a number of notice-level errors.
Allowed for BOUNCE_EMAIL to not exist and bounce-handling to be disabled.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40963 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-28 01:55:45 +00:00
Sam Minnee
72a069a323 Allow passing of an array of permission codes to Permission::get_members_by_permission()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40961 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-28 01:53:36 +00:00
Andrew O'Neil
35665321b9 Rename Pad PaddedImage, to be consistant with CroppedImage
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40948 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-28 01:26:52 +00:00
Jeremy Shipman
2d0ec721d0 Modified bbcode list to make it easier for modifying the bullets.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40914 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-27 05:30:58 +00:00
Sam Minnee
f199dc6cd4 Added docblock headers and removed notice-level errors
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40912 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-27 05:13:43 +00:00
Sam Minnee
79460dadfc Added HTTPResponse::getHeader(), to aid test verification
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40911 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-27 05:09:54 +00:00
Sam Minnee
8bcff1f1d6 Added DataObjectSet::find(), for using a DOS a bit like a PHP map
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40910 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-27 05:09:13 +00:00
Sam Minnee
0606da72cd Updated license notice after emailing the author of this profiler, and received an email allowing us to release the code under a BSD license
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40906 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-27 05:06:14 +00:00
Sam Minnee
d01bd2ab3b Removed legacy testing frameworks
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40905 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-27 05:04:54 +00:00
Andrew O'Neil
e6da10b30b Implement extraction of tarball archives
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40842 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-24 05:30:28 +00:00
Andrew O'Neil
5984be1856 FIxed db/build producing bad SQL when altering indexes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40829 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-24 04:45:21 +00:00
Andrew O'Neil
6600c92be0 Added Pad method to Image
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40818 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-24 03:53:37 +00:00
Jeremy Shipman
e386cbae57 created alteration_message method to replace all the code used to echo changes when dbbuild runs, with appropriate colouring.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40809 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-24 03:31:14 +00:00
Jeremy Shipman
46c9efaecc Changed colouring of db/build to be more appropriate for the actual meaning of the messages.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40803 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-24 02:47:37 +00:00
Jeremy Shipman
5b865997e0 Changed colouring of db/build to be more appropriate for the actual meaning of the messages.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40801 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-24 02:29:32 +00:00
Andrew O'Neil
7b350e99a9 Don't use short tags
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40783 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-24 00:48:33 +00:00