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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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