Sean Harvey
f2bfbc652e
MINOR function php doc comments, and code formatting
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56141 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-12 08:54:03 +00:00
Sean Harvey
3f8591a807
BUGFIX call to $field->Name should be $field->Name() - see Form->Fields() for the correct way
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@55161 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-05-26 23:53:24 +00:00
Ingo Schommer
d18509a3f5
Merged revisions 54455 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r54455 | gmunn | 2008-05-13 16:55:27 +1200 (Tue, 13 May 2008) | 1 line
Password change fix, plus layout issues
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@55072 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-05-24 01:22:27 +00:00
Romain Louis
52e1c2cd66
XML parse error fixing
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@54242 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-05-09 02:38:09 +00:00
Sam Minnee
14da70e64e
Merged revisions 53204 via svnmerge from
...
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2
........
r53204 | sharvey | 2008-04-22 15:55:34 +1200 (Tue, 22 Apr 2008) | 1 line
MINOR: PHP notice fix - undefined variable
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53529 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:54:47 +00:00
Sam Minnee
d8b65304d4
Merged revisions 53188 via svnmerge from
...
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2
........
r53188 | aoneil | 2008-04-22 14:17:32 +1200 (Tue, 22 Apr 2008) | 2 lines
MINOR: Fixed some php notices
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53528 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:54:38 +00:00
Sam Minnee
76e6ea3dc9
Merged revisions 53106 via svnmerge from
...
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2
........
r53106 | rlouis | 2008-04-21 15:47:15 +1200 (Mon, 21 Apr 2008) | 1 line
_t call for EXPORTCSV problem fixed
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53525 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:54:00 +00:00
Sam Minnee
5c5c93c412
Merged revisions 52878 via svnmerge from
...
http://svn.silverstripe.com/open/modules/sapphire/branches/govtsecurity
........
r52878 | sminnee | 2008-04-16 20:13:41 +1200 (Wed, 16 Apr 2008) | 1 line
Show bad error messages in a red style
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53492 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:36:12 +00:00
Sam Minnee
7590ae194b
Merged revisions 52876 via svnmerge from
...
http://svn.silverstripe.com/open/modules/sapphire/branches/govtsecurity
........
r52876 | sminnee | 2008-04-16 20:13:04 +1200 (Wed, 16 Apr 2008) | 1 line
Removed validation from ConfirmedPasswordField - use Member validation instead
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53490 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:35:50 +00:00
Romain Louis
0a124ec302
isset check replaced by non empty
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53146 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-21 23:21:48 +00:00
Romain Louis
eb018ad36a
getParentIdNameRelation bug fixing and cleaning : This function is usefull only for the has_one and has_many relation but useless for many_many
...
Morerover, it manages well now the child heritage and parent heritage
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53114 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-21 05:29:59 +00:00
Romain Louis
c5c3cf19b6
Save method bugs fixing
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53113 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-21 05:19:55 +00:00
Mark Rickerby
ef75418f7b
BUGFIX: fixed typo in variable name that was causing payment form validation to break
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52991 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-18 04:28:37 +00:00
Romain Louis
0d29142f89
Bug fixing on the parse function
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52990 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-18 03:50:29 +00:00
Romain Louis
9e0e9d3238
Join source bug fixing when there is no that table with the exact sourceName
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52983 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-18 03:00:39 +00:00
Ingo Schommer
1e93305699
BUGFIX php notice
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52930 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-17 10:11:40 +00:00
Ingo Schommer
12c3ab559f
Merged revisions 32182 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.0-nzct
........
r32182 | ischommer | 2007-03-14 23:34:50 +1300 (Wed, 14 Mar 2007) | 1 line
More versatile character-replacing for css-classes
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52775 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-15 09:21:45 +00:00
Ingo Schommer
ce8bf58b0d
Merged revisions 32179 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.0-nzct
........
r32179 | ischommer | 2007-03-14 23:34:06 +1300 (Wed, 14 Mar 2007) | 1 line
Return title when calling Name(), so we can do removeByName() on "anonymous" fields
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52774 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-15 09:21:25 +00:00
Ingo Schommer
f7aa3ac61a
Merged revisions 51249 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r51249 | ischommer | 2008-03-18 11:58:39 +1300 (Tue, 18 Mar 2008) | 1 line
added $titleConfirmField as fallback to localized default
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52413 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-09 11:29:29 +00:00
Ingo Schommer
4f46aff087
Merged revisions 49161 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r49161 | ischommer | 2008-02-07 14:25:07 +1300 (Thu, 07 Feb 2008) | 1 line
avoid double escaping through attr*() and raw2att in createTag()
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52407 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-09 11:21:22 +00:00
Ingo Schommer
e27513f11e
Merged revisions 47721 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r47721 | ischommer | 2008-01-08 15:58:39 +1300 (Tue, 08 Jan 2008) | 1 line
formatting, syncing logic with FileField
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52402 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-09 11:15:02 +00:00
Ingo Schommer
ee179fe668
Merged revisions 47622 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r47622 | ischommer | 2008-01-04 21:44:39 +1300 (Fri, 04 Jan 2008) | 1 line
fixed relation-setting to respect subclasses of File in has_one
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52399 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-09 11:11:03 +00:00
Ingo Schommer
b465a46bcc
API CHANGErefactored upload functionality from File into newly created Upload class
...
API CHANGE deprecated some File functions and attributes
API CHANGE moved management function from File to Filesystem and added permission checks: sync(), loadContent(), fixfiles(), moverootfilesto()
API CHANGE deprecated use of File->loadUploaded()
ENHANCEMENT added filesize and extension validation to AssetAdmin and FileField
FEATURE added tests for Upload class
Merged revisions 47617 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/cms/branches/2.2.0-mesq
........
r47617 | ischommer | 2008-01-04 19:20:29 +1300 (Fri, 04 Jan 2008) | 5 lines
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52205 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 08:20:13 +00:00
Ingo Schommer
9e98f127f2
Merged revisions 47613 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r47613 | ischommer | 2008-01-04 19:14:58 +1300 (Fri, 04 Jan 2008) | 1 line
adding tabIndex capabilities, switching HTML-rendering to createTag()
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52199 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 04:08:45 +00:00
Ingo Schommer
cb860c2f75
Merged revisions 47612 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r47612 | ischommer | 2008-01-04 19:11:57 +1300 (Fri, 04 Jan 2008) | 1 line
formatting, removed saveInto() (same functionality as parent-class)
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52198 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 04:08:03 +00:00
Ingo Schommer
f4998d0b8d
BUGFIX improved error checking in saveInto()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52197 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 04:07:05 +00:00
Ingo Schommer
1b1af23c66
formatting
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52196 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 04:05:41 +00:00
Ingo Schommer
48193739d3
Merged revisions 47611 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r47611 | ischommer | 2008-01-04 19:11:42 +1300 (Fri, 04 Jan 2008) | 1 line
formatting, removed saveInto() (same functionality as parent-class)
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52195 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 04:05:23 +00:00
Ingo Schommer
caa59b2fce
Merged revisions 47609 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r47609 | ischommer | 2008-01-04 19:10:25 +1300 (Fri, 04 Jan 2008) | 1 line
fixed validate() (wrong parameters)
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52193 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 04:03:33 +00:00
Ingo Schommer
275e08bee1
Merged revisions 47608 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r47608 | ischommer | 2008-01-04 19:09:50 +1300 (Fri, 04 Jan 2008) | 1 line
additional value-checking in createTag()
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52192 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 04:03:15 +00:00
Ingo Schommer
b08dba9173
Merged revisions 47505 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r47505 | ischommer | 2007-12-22 17:31:58 +1300 (Sat, 22 Dec 2007) | 1 line
fixed maxlength mixups
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52190 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 04:02:39 +00:00
Ingo Schommer
230e77e712
Merged revisions 47501 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r47501 | ischommer | 2007-12-22 17:26:09 +1300 (Sat, 22 Dec 2007) | 1 line
fixed getTabIndex() typo
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52189 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 04:02:21 +00:00
Ingo Schommer
f737d52138
Merged revisions 47500 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r47500 | ischommer | 2007-12-22 17:25:34 +1300 (Sat, 22 Dec 2007) | 1 line
changed field-rendering to use createTag()
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52188 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 04:02:05 +00:00
Ingo Schommer
aa13b78838
Merged revisions 47499 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r47499 | ischommer | 2007-12-22 17:23:26 +1300 (Sat, 22 Dec 2007) | 1 line
added tabIndex
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52187 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 04:01:28 +00:00
Ingo Schommer
e0f6e50c82
Merged revisions 47414 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r47414 | ischommer | 2007-12-20 18:17:40 +1300 (Thu, 20 Dec 2007) | 1 line
added option to loadDataFrom() for loading values from nested arrays that PHP generated from URL-strings
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52184 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 03:52:14 +00:00
Ingo Schommer
b3f8bdc8ef
Merged revisions 47413 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r47413 | ischommer | 2007-12-20 18:16:26 +1300 (Thu, 20 Dec 2007) | 1 line
syntax
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52182 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 03:36:07 +00:00
Ingo Schommer
220b78454c
API CHANGE added Form->getForm()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52181 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 03:33:55 +00:00
Ingo Schommer
770f55e9a5
Merged revisions 47401 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r47401 | ischommer | 2007-12-20 16:21:21 +1300 (Thu, 20 Dec 2007) | 1 line
using formfield title (instead of id) for required validation message (on serverside)
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52180 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-06 03:33:15 +00:00
Ingo Schommer
c9aceb01e1
Merged revisions 47264 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r47264 | ischommer | 2007-12-18 16:57:08 +1300 (Tue, 18 Dec 2007) | 1 line
setting $title for first sub-field instead of dismissing it
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52157 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-04 23:15:42 +00:00
Andrew O'Neil
7fa0a96c71
Merged revisions 51938 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2
........
r51938 | aoneil | 2008-04-01 14:34:26 +1300 (Tue, 01 Apr 2008) | 2 lines
fix php notice
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@51932 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-01 01:50:34 +00:00
Ingo Schommer
0d49845a73
ENHANCEMENT HiddenFields() now returns FieldSet rather than concatenated HTML string
...
BUGFIX renamed genExtraFields() to getExtraFields(), now returns a FieldSet rather than adding to $this->fields automatically (allows for external control and inspection)
BUGFIX adding fields from getExtraFields() in Fields()
ENHANCEMENT changed visibility of getExtraFields to public
BUGFIX removed $action->unsetthis() in unsetActionByName
ENHANCEMENT remove $securityTokenAdded flag (unnecessary state, can be determined by inspecting fieldset)
ENHANCEMENT documentation, coding conventions, removed debug code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@51131 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-16 22:15:04 +00:00
Mark Rickerby
b6dbeec30d
initial tweaks to Form to better support use in template control blocks
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50988 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-13 01:39:57 +00:00
Ingo Schommer
c35ae17168
#2310 MemberTableField Popup breaks after saving
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50947 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-12 09:24:59 +00:00
Ingo Schommer
02064ce611
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/trunk@50945 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-12 09:23:53 +00:00
Ingo Schommer
c5d538c366
Merged revisions 50947 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2
........
r50947 | ischommer | 2008-03-12 21:53:28 +1300 (Wed, 12 Mar 2008) | 1 line
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/trunk@50941 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-12 08:54:24 +00:00
Sam Minnee
9c1c5f5c2f
Merged revisions 50903 via svnmerge from
...
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2
........
r50903 | sminnee | 2008-03-11 17:29:06 +1300 (Tue, 11 Mar 2008) | 1 line
#2302 - Fixed double-escaping of CTF popup page-navigation links
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50898 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 04:30:14 +00:00
Sam Minnee
b8262b6d48
Merged revisions 50783 via svnmerge from
...
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2
........
r50783 | sminnee | 2008-03-10 16:02:12 +1300 (Mon, 10 Mar 2008) | 1 line
Added 'anchor' option to link inserter
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50883 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 03:29:30 +00:00
Sam Minnee
05dc1eee2c
Merged revisions 50683 via svnmerge from
...
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2
........
r50683 | aoneil | 2008-03-07 11:05:27 +1300 (Fri, 07 Mar 2008) | 2 lines
#2295 - DataObjectSets cannot be iterated over multiple times concurrently
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50871 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 01:31:43 +00:00
Sam Minnee
a0be727cc3
Merged revisions 50488 via svnmerge from
...
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2
........
r50488 | sminnee | 2008-03-03 21:59:09 +1300 (Mon, 03 Mar 2008) | 1 line
#2280 - Fixed XML parsing errors in CTF
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50870 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 01:31:38 +00:00
Sam Minnee
6c5ee3ceb9
Merged revisions 50214 via svnmerge from
...
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2
........
r50214 | sminnee | 2008-02-26 16:12:22 +1300 (Tue, 26 Feb 2008) | 2 lines
A bit of a hack to fix double-escaped URLs in the CMS.
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50865 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 01:30:36 +00:00
Ingo Schommer
5c76b90fb7
fixed PHP notices
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50833 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 00:40:25 +00:00
Mark Rickerby
0a543a9ae1
made $messageType parameter of Validator::validationError optional, and added API docs to explain what (apparently) is going on
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50638 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-06 02:06:47 +00:00
Mark Rickerby
79835098b0
fixing typo in parameter name $validate --> $validator
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50634 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-06 01:21:47 +00:00
Matt Peel
7d13ba7fb8
Reverted geoffm's accidental commit to /open
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50107 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-25 02:10:37 +00:00
Geoff Munn
bf3c09bec6
First post
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50105 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-25 01:06:39 +00:00
Sam Minnee
53ef54c4b1
Removed use of deprecated setExtraClass
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49885 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-20 09:39:17 +00:00
Ingo Schommer
3f6afa2904
Merged revisions 49834 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r49834 | ischommer | 2008-02-20 11:45:56 +1300 (Wed, 20 Feb 2008) | 1 line
fixed sql-injection
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49828 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 22:46:30 +00:00
Andrew O'Neil
89f2c50e51
fix caching in complex table field
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49440 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-12 20:51:59 +00:00
Ingo Schommer
0121fb8fe2
Merged revisions 49386 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r49386 | ischommer | 2008-02-12 09:24:29 +1300 (Tue, 12 Feb 2008) | 2 lines
added setFields()/setActions()
formatting
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49380 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-11 20:25:22 +00:00
Sam Minnee
8f4ed9d16b
Removed clone behaviour from Form::Fields()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49173 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-07 02:58:23 +00:00
Ingo Schommer
1bf544c264
documentation
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49026 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-04 01:31:55 +00:00
Ingo Schommer
fc3a2cc298
documentation
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49025 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-04 01:31:37 +00:00
Andrew O'Neil
664e6899f8
fix sql error on comments section
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48963 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-01 02:33:42 +00:00
Ingo Schommer
d28faae514
updating form in ctf-popup after saving (including validation-errors and fields that have may changed on the serverside, e.g. ImageField)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48867 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-30 22:57:23 +00:00
Ingo Schommer
21180f52bd
compressed ImageField layout to fit in CTF-popup (removed "click here to remove" label)
...
removed iframe-borders for IE
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48848 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-30 20:12:19 +00:00
Andrew O'Neil
97f3d722b4
Add ability to choose which file to upload to in a FileField
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48778 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-29 20:18:06 +00:00
Sam Minnee
e0614530c6
Merged revisions 48451 via svnmerge from
...
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.1asfonz
........
r48451 | jshipman | 2008-01-23 14:42:20 +1300 (Wed, 23 Jan 2008) | 1 line
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48541 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-24 00:13:24 +00:00
Sam Minnee
68f7be24ed
Merged revisions 48178 via svnmerge from
...
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.1asfonz
........
r48178 | aoneil | 2008-01-18 09:04:53 +1300 (Fri, 18 Jan 2008) | 2 lines
Fix incorrect text boxes being set on an ajax request
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48540 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-24 00:13:05 +00:00
Sam Minnee
d34672a260
Merged revisions 48082 via svnmerge from
...
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.1asfonz
........
r48082 | aoneil | 2008-01-16 16:44:45 +1300 (Wed, 16 Jan 2008) | 2 lines
Allow many-many complex table fields to be used on the reverse side of the join (belongs many many)
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48539 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-24 00:12:42 +00:00
Normann Lou
18991b1f1e
fix the bug that initialises with preloaded selected items with right hide/show
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48412 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-22 03:51:24 +00:00
Sean Harvey
e28361a313
Fixed formatting of code, and added some documentation on what the source for this field should be
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48319 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-20 08:58:04 +00:00
Andrew O'Neil
3a0fd261ad
Fix sorting in complextablefield
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48250 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-18 05:01:35 +00:00
Ingo Schommer
a1451739a4
Merged revisions 48168 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r48168 | ischommer | 2008-01-17 17:20:45 +1300 (Thu, 17 Jan 2008) | 1 line
renamed escapeFlagForField() to escapeTypeForField(), updated documentation
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48163 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-17 04:23:31 +00:00
Ingo Schommer
0b5ab1fc7b
Merged revisions 48164 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r48164 | ischommer | 2008-01-17 17:05:49 +1300 (Thu, 17 Jan 2008) | 2 lines
Deprecated use of DBField 'Text' for saving HTML-Content (added check in HTMLEditorField->saveInto())
Added ViewableData->escapeFlagForField() to determine if the record-field needs escaping (currently only 'xml' supported)
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48162 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-17 04:22:13 +00:00
Ingo Schommer
1d7eeb378c
formatting
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48105 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-16 21:50:18 +00:00
Ingo Schommer
48d19626dc
removed dropDatalessFields() - needs serious refactoring before going into core again
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48103 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-16 21:35:59 +00:00
Ingo Schommer
a86a35f76a
removed dropDatalessFields() - needs serious refactoring before going into core again
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48102 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-16 21:32:37 +00:00
Ingo Schommer
3e9c02e183
renamed $wantDefaultAddRow to $showAddRow
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48098 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-16 20:34:40 +00:00
Normann Lou
1896bff08c
fix bug: when no source items found, the table should still show and it should works as adding new records
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48078 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-16 03:54:33 +00:00
Andrew O'Neil
6afd4655de
Fix spelling mistake
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47940 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-13 22:06:51 +00:00
Ingo Schommer
9a36047021
converted TODO into @todo for better PHPDocumentor support
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47884 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-11 01:49:50 +00:00
Sam Minnee
bdfb482046
rbarreiros: #1907 - Patch for more i18n strings
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47849 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 22:27:38 +00:00
Sam Minnee
fea4042c3c
rbarreiros: #1918 Translate newsletter and other strings
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47832 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 03:28:13 +00:00
Sam Minnee
fcd0760159
#1212 - Show the saved value of EditableEmailField.SendCopy
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47825 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 02:54:03 +00:00
Sam Minnee
9510bad3e0
Allow insertion of <img> tags that refer to external domains
...
Add alt= to any images that don't have alt tags
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47820 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 02:42:23 +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
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
Ingo Schommer
126349da29
set $template and $itemClass to public (according to parent implementation)
...
fixed formatting
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47741 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 21:57:59 +00:00
Ingo Schommer
071b310c64
fixed getParentIdName() call in DetailForm() - paramter-order was wrong
...
better checking in saveComplexTableField() to avoid PHP-notice
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47740 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 21:57:15 +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
Andrew O'Neil
95180448d0
Merged revisions 47155 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.1asfonz
........
r47155 | sminnee | 2007-12-17 11:20:21 +1300 (Mon, 17 Dec 2007) | 1 line
Added paste plain text and paste from word buttons to the HtmlEditorField in the CMS
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47694 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 00:53:54 +00:00
Andrew O'Neil
ff467f2393
Merged revisions 47479 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.1
........
r47479 | nlou | 2007-12-21 15:27:16 +1300 (Fri, 21 Dec 2007) | 1 line
add function fieldByName
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47630 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-06 21:55:27 +00:00
Ingo Schommer
0535f628ff
added $popupClass to avoid duplication, getting basedataclass for existing children in DetailForm() (in case we're dealing with different subclasses)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47585 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-03 08:43:26 +00:00
Ingo Schommer
5bda77262f
Merged revisions 47334 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r47334 | ischommer | 2007-12-19 14:51:52 +1300 (Wed, 19 Dec 2007) | 1 line
fixed typo
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47328 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-19 01:52:11 +00:00
Ingo Schommer
ce5becdcfd
Merged revisions 47323 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq
........
r47323 | ischommer | 2007-12-19 14:33:29 +1300 (Wed, 19 Dec 2007) | 1 line
documentation, added show-on-click functionality, fixed validation for canBeEmpty
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47322 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-19 01:45:22 +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
4f244fe221
Fix php notice
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47192 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-17 21:39:59 +00:00
Andrew O'Neil
f630e571af
Merged revisions 46348 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.1
........
r46348 | jshipman | 2007-12-05 12:32:08 +1300 (Wed, 05 Dec 2007) | 1 line
fixed notices
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46815 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-13 22:33:51 +00:00
Andrew O'Neil
6b66c9beff
Merged revisions 46074 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.1
........
r46074 | aoneil | 2007-11-30 17:12:47 +1300 (Fri, 30 Nov 2007) | 2 lines
Don't give SecurityID fields a title, as some forms will show it
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46813 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-13 22:33:07 +00:00
Andrew O'Neil
a42c2f9bdb
Merged revisions 46519 via svnmerge from
...
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-privacy
........
r46519 | aoneil | 2007-12-10 14:30:40 +1300 (Mon, 10 Dec 2007) | 2 lines
Fixed PHP notice
........
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46776 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-13 21:47:39 +00:00