Sam Minnee
ae388c7d54
parents-merge: 32931
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45037 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-19 01:09:01 +00:00
Andrew O'Neil
ce30a13130
#1755 - Can't upload any files using the 'Upload' tab on a folder in Files and Images section (merged from branches/2.2.0, r44824)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44900 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-15 22:31:57 +00:00
Andrew O'Neil
29c16511fe
SWFUpload works on linux if you have beta flash plugin (merged from branches/2.2.0, r44813)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44898 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-15 22:31:22 +00:00
Andrew O'Neil
9802f16afc
Revert r44795 (merged from branches/2.2.0, r44812)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44897 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-15 22:30:25 +00:00
Andrew O'Neil
8acb9a0f48
Update SWFUpload to 7.0-beta-3 (merged from branches/2.2.0, r44795)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44896 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-15 22:30:08 +00:00
Andrew O'Neil
1f1414a04a
#1723 - Export to CSV has semi-colons instead of commas
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44670 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-12 23:07:45 +00:00
Romain Louis
e64e218bc7
IFrame height changes
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44664 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-12 22:20:54 +00:00
Ingo Schommer
c1ee64a69a
fixed export-feature in MemberTableField
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44625 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-12 03:27:13 +00:00
Andrew O'Neil
b636bf165a
#1705 - OpenID login details appearing in wrong place
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44621 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-12 02:58:27 +00:00
Andrew O'Neil
ed69b15fd6
#1484 - Cannot upload files
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44601 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-11 23:01:17 +00:00
Andrew O'Neil
34aa13ccbf
#1606 - Check add folder & upload-functionality in tinymce
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44594 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-11 22:30:01 +00:00
Andrew O'Neil
6d065d58f3
#1685 - Undefined index message when on readonly page in CMS (after deleting a page)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44585 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-11 21:10:59 +00:00
Andrew O'Neil
abb6d23cef
#1652 - CheckboxSetField doesnt work when all fields unchecked
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44550 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-09 03:04:27 +00:00
Andrew O'Neil
48a5a0e33c
#1637 - CSRF attack prevention on clicking next on asset table field
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44500 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-08 02:18:34 +00:00
Andrew O'Neil
87010bc87c
Clean up insert flash pane
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44496 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-08 02:08:50 +00:00
Will Rossiter
5d74baf7c8
more fixs to that menu
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44485 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-07 22:59:28 +00:00
Andrew O'Neil
90aa22e993
#1628 - Resizing images seems to break images, and doesn't display on front end
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44473 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-07 21:39:57 +00:00
Sean Harvey
893aa7a0d0
Fixes to flash popup - removed float which broke other sections
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44458 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-07 06:28:21 +00:00
Sean Harvey
d5d196c347
Removed cancel button for link form - this is closed using the x icon now
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44455 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-07 05:57:56 +00:00
Sean Harvey
babd4be599
Flash and image now consistent (e.g. dimensions fields)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44453 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-07 05:50:13 +00:00
Andrew O'Neil
201cc7b47e
Added close button on right panel
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44451 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-07 05:26:16 +00:00
Romain Louis
fc531da28b
Readonly work
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44437 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-07 04:17:58 +00:00
Romain Louis
8a244ce72a
cms_right style added to popup
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44436 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-07 04:16:05 +00:00
Will Rossiter
a53684bbee
fixed the treedropdown.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44422 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-07 03:19:11 +00:00
Romain Louis
60bedcfc1e
Readonly changes : uppperCase Yes or No
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44406 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-07 02:07:19 +00:00
Romain Louis
70d41d5dc9
Readonly work
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44405 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-07 02:03:48 +00:00
Andrew O'Neil
5b08367d5b
#1607 - Make image editor findable
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44401 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-07 01:33:24 +00:00
Romain Louis
378e0f9bea
Readonly class added to performReadOnly method
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44400 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-07 01:28:45 +00:00
Romain Louis
8b1ef652d7
Readonly HTML code modification to coordinate the style of the fields
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44377 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-06 21:01:37 +00:00
Romain Louis
8b6195ea6b
Readonly changes to coordinate the readonly appearance between the fields (see datefield)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44376 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-06 20:43:19 +00:00
Romain Louis
eda727dacc
Readonly class added in performreadonly function
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44374 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-06 20:33:13 +00:00
Andrew O'Neil
1af11b07d2
Move flash, image and link forms to right
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44365 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-06 05:39:14 +00:00
Andrew O'Neil
9e787604dc
#1568 - Numeric default value
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44307 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-06 01:07:54 +00:00
Andrew O'Neil
c08e535e1a
#1568 - Numeric default value
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44306 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-06 01:03:44 +00:00
Ingo Schommer
5b7139c874
added $name to constructor (can't derive a valid ID from the title, as it might not contain alphanumeric characters - had problems with chinese translation)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44256 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-05 03:18:18 +00:00
Andrew O'Neil
08c91feabc
Fix php notice
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44243 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-05 01:44:48 +00:00
Andrew O'Neil
68e9570c8d
Rename pagination() to Pagination()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44242 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-05 01:38:25 +00:00
Romain Louis
04fea245d8
PopupDateTimeField adding
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44226 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-04 23:01:55 +00:00
Andrew O'Neil
4b521083bc
Fix Fatal error: Argument 1 passed to TabSet::push() must be an instance of Tab (merged from 2.1.1 branch, r43629)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44203 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-04 21:35:51 +00:00
Romain Louis
402e59bca5
DropdownTimeField adding
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44172 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-02 03:21:07 +00:00
Romain Louis
dbf72b83cd
Static function to be use as well from PopupDateTimeField and put it in a <li> tag
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44171 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-02 03:20:05 +00:00
Romain Louis
42d7fdbb19
Title function modification to fix the title null case
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44170 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-02 03:15:24 +00:00
Romain Louis
0ea568672e
Bad time formatting returns now null
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44168 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-02 03:12:37 +00:00
Jeremy Shipman
4c76be62c9
Reverting typography changes
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44162 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-02 03:01:40 +00:00
Andrew O'Neil
3b0e6ba71f
#120 - ComplexTableField popup
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44161 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-02 02:53:53 +00:00
Jeremy Shipman
943c892548
added cms_typography.css to replace typography.css in the cms, as it confusues with front end typography.css
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44156 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-02 02:14:20 +00:00
Romain Louis
e78c785f0d
Title Error fixing
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44088 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-01 02:30:13 +00:00
Andrew O'Neil
a7a31335e2
#1515 - Notice: Undefined variable: mappedValue
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43932 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-29 02:01:30 +00:00
Andrew O'Neil
808d6875cb
#941 - Security flaw: SS prone to CSRF attack
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43901 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-28 21:44:38 +00:00
Sean Harvey
26be9e739d
->setRightTitle didn't show because $RightTitle was misnamed with a lowercase r
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43896 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-27 02:39:30 +00:00
Romain Louis
0eafb6d08e
Commits to solve a ManyManyComplexTable problem with heritage
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43892 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-26 05:45:39 +00:00
Andrew O'Neil
dc1775169d
#941 - Security flaw: SS prone to CSRF attack
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43876 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-26 02:23:55 +00:00
Ingo Schommer
393caf4287
FEATURE made sapphire i18n-capable
...
FEATURE a little bit of german translation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43842 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-25 02:47:45 +00:00
Ingo Schommer
d21a49afb8
BUGFIX array_flip() for $usedLangs was not necessary any more (delivered as indexed array)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43780 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-24 04:27:54 +00:00
Ingo Schommer
74f154fcda
changed PureName() to Name() (see r40757)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43669 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-22 19:56:26 +00:00
Ingo Schommer
35fb0cd0c5
#92 MoreLessField: Switch to ToggleField and remove
...
FEATURE Refactored MoreLessField->ToggleField
FEATURE Refactored TogglePanel->ToggleCompositeField
FEATURE Degrading gracefully (javascript), using behaviour+classes+prototype, partially i18ned, improved markup
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43660 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-21 23:05:46 +00:00
Ingo Schommer
0da5773278
reverted "BUGFIX: overloaded FieldHolder() to avoid DefaultFieldHolder.ss usage"
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43563 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-18 01:44:37 +00:00
Ingo Schommer
3bb267bd83
ENHANCEMENT: changed <p class="Actions"> to <div class="Actions">
...
ENHANCEMENT: Better linebreaks, markup formatting
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43560 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-18 01:07:35 +00:00
Ingo Schommer
eeb79fde9c
FEATURE: respect $extraClass
...
BUGFIX: overloaded FieldHolder() to avoid DefaultFieldHolder.ss usage
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43559 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-18 01:06:21 +00:00
Ingo Schommer
53f75e957d
ENHANCEMENT: allowing empty children
...
ENHANCEMENT: added Fields()
ENHANCEMENT: added linebreaks for html
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43558 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-18 01:05:52 +00:00
Romain Louis
0a85936f2f
FileIFrame Saving method problem fixing
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43542 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-17 23:10:04 +00:00
Romain Louis
c485a70354
Saving bug fixing with when value equals undefined
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43537 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-17 22:50:08 +00:00
Romain Louis
cf7adf02da
Saving bug fixing with when value equals undefined
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43536 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-17 22:48:17 +00:00
Ingo Schommer
3cd1a621b5
preparing CTF for usage outside of CMS
...
BUGFIX: provide fallback for ajax-errors if not in CMS context
BUGFIX: re-added middle-alignment to greybox if not in CMS context
BUGFIX: added basic requirements to be independent of cms-inclusion
FEATURE: better transformation of save-button (replaced indicator with "saving..." label)
ENHANCEMENT: moved String-lib to prototype_improvements.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43491 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-17 02:29:42 +00:00
Ingo Schommer
baba1b45f0
documentation
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43119 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-04 22:17:44 +00:00
Andrew O'Neil
f4dd20b979
Fixed CustomRequiredFields (merged from 2.1.0-textme branch, r42959)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43116 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-04 21:58:10 +00:00
Ingo Schommer
6ec4b77cd5
ENHANCEMENT: Coding conventions, wording
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42730 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-27 20:59:46 +00:00
Ingo Schommer
1e332e6dbe
!!BUGFIX: Refactored CSS and Requirements: Created more specific css-files to reduce side-effects and ease debugging, moved generic form-styling from cms/css/cms_*.css into sapphire/css/Form.css.
...
!!BUGFIX: Ordered Requirement-inclusions in CMSMain/LeftAndMain to be more coherent (avoiding duplicate Requirement-calls)
ENHANCEMENT: Removed some css-rules disabled by comments
ENHANCEMENT: coding-conventions (see r42726)
FEATURE: Added Profile-page with LeftAndMain->myprofile()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42728 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-27 20:56:55 +00:00
Ingo Schommer
0e968ca308
Fixed ticket #85 : Dropdown on /status/CMS should be sorted alphabetically. Now all language dropdowns are sorted by language name rather than language code (merged from branches/gsoc)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42576 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-25 21:57:54 +00:00
Ingo Schommer
e7bc735774
mlanthaler: The validators for the Member extensions didn't work until now, these changes fix that issue.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42144 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 16:55:47 +00:00
Ingo Schommer
970a453cb8
bfojcapell: Added function insertBeforeRecursive (see www.silverstripe.com/google-summer-of-code-forum/show/3005). This function is only called in Translatable.php at this moment, so if finally insertBefore gets a recursive behaviour then the call can be renamed and insertBeforeRecursive deleted.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42113 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 16:06:52 +00:00
Ingo Schommer
20f14f04af
bfojcapell: Added initializations to avoid notices
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42112 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 16:06:24 +00:00
Ingo Schommer
490d8a0b0a
bfojcapell: Added function insertBeforeRecursive (see www.silverstripe.com/google-summer-of-code-forum/show/3005). This function is only called in Translatable.php at this moment, so if finally insertBefore gets a recursive behaviour then the call can be changed and insertBeforeRecursive deleted.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42111 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 16:05:59 +00:00
Ingo Schommer
864c0ba021
bfojcapell: Added function SmallFieldHolder? to properly render fields when this function is called in a FieldGroup?.
...
Also added function insertBeforeRecursive (see www.silverstripe.com/google-summer-of-code-forum/show/3005). This function is only called in Translatable.php at this moment, so if finally insertBefore gets a recursive behaviour then the call can be changed and insertBeforeRecursive deleted.
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42110 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 16:05:05 +00:00
Ingo Schommer
a8433baee2
bfojcapell: Added new field type LanguageDropdownField?
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42109 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 16:03:32 +00:00
Ingo Schommer
9e7eeece04
bfojcapell: Added new field type MoreLessField?
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42108 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 16:02:26 +00:00
Ingo Schommer
c35c83bad7
elofgren: USABILITY: Make Page URL input field wider as part of fix for http://support.silverstripe.com/gsoc/ticket/35
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42034 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:00:59 +00:00
Ingo Schommer
265a853c2a
elofgren: BUGFIX: Fix trac ticket: #1411 'Layout problems with search box in IE' http://open.silverstripe.com/ticket/1411
...
by only creating a 'label' tag if a 'Title' is set in FormField?->FieldHolder?()
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42031 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 01:59:33 +00:00
Ingo Schommer
f5e24e3512
mlanthaler: Bugfix: Initialized variable to prevent E_NOTICE error.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42026 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 01:55:04 +00:00
Ingo Schommer
76797c02a6
mlanthaler: Bugfix: Added isset() to prevent E_NOTICE error.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42023 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 01:52:35 +00:00
Ingo Schommer
cf2ea6ea60
mlanthaler: Bugfix: Added check if variable is set.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42021 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 01:50:43 +00:00
Ingo Schommer
db42713e1c
mlanthaler: Bugfix: Class created invalid HTML (<td>...</t>).
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42020 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 01:50:07 +00:00
Ingo Schommer
44a74482e0
mlanthaler: Bugfix: Fixed E_NOTICE error "Trying to get property of non-object".
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41955 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:40:28 +00:00
Ingo Schommer
35c5b08b37
mlanthaler: Bugfix: Fixed E_NOTICE error due to uninitialized variable.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41954 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:39:23 +00:00
Ingo Schommer
59fbe53120
mlanthaler: In PasswordField::performReadonlyTransformation() was an E_NOTICE error. Instead of fixing it, I changed also the behavior.
...
There are displayed now always five stars, so it is impossible to use the information of the password length for brute-force attacks.
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41953 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:38:05 +00:00
Ingo Schommer
71f9ac0c10
mlanthaler: Bugfix: Added isset() to prevent E_NOTICE error.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41952 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:36:17 +00:00
Ingo Schommer
b0d65bba2e
elofgren: Add description to TogglePanel? class.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41936 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:03:27 +00:00
Ingo Schommer
fc26c64f63
elofgren: Add extraClass parameter to InlineFormAction? so that 'Delete Selected Files' button can have the 'delete' class assigned to it so it turns red on hover.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41833 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:18:21 +00:00
Ingo Schommer
4a0b7e1d6d
elofgren: BUGFIX: Edge case fix to prevent execution timeout if a page has 50 identical broken links by only highlighting them once.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41822 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:05:49 +00:00
Ingo Schommer
ef54473d1b
elofgren: Add 'extraClass' parameter to FormAction? and use it to assign the 'delete' CSS class to the 'Unpublish' and 'Cancel draft changes' buttons so that their background turns red on hover.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41820 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 23:43:02 +00:00
Ingo Schommer
e452de966c
elofgren: VAR FIX: Fix a large amount of undefined variable errors when creating and editing a 'newsletter subscription form' page by adding needed issets and initializations.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41817 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 23:31:08 +00:00
Ingo Schommer
461f9e2af0
elofgren: VAR FIX: Fix EditableRadioField? 'optionNumber' and 'optionData' undefined variable errors by initializing 'optionNumber' and using 'newOption' instead of 'optionData'. These errors were
...
encountered when adding a new 'newsletter subscription form' type page.
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41816 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 23:22:23 +00:00
Ingo Schommer
568489ede7
elofgren: USABILITY: Increase height of ImageField? iframe to make room for padding around fieldset. Also increase width of 'Replace Image' block to make the image drop-down fit. This change goes with r37020
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41792 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 19:20:43 +00:00
Ingo Schommer
6b2b21e735
elofgren: VAR FIX: Change first concatation to an assignment in CompositeField::debug() (merged from branches/gsoc)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41781 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 18:05:21 +00:00
Ingo Schommer
282b8292a4
elofgren: In TableField::sortData() initialize 'dataObjects' to an empty array to prevent undefined variable errors when editing the name of a Security group that has no members. (merged from branches/gsoc)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41780 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 18:03:15 +00:00
Ingo Schommer
ff2f8fa7f4
elofgren: Remove padding:0; margin:0; accidentally committed in r36714 (merged from branches/gsoc)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41774 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 17:38:38 +00:00
Ingo Schommer
1d07b6b254
elofgren: Change width of 'HtmlEditorField? textareas' from 100% to 97% to prevent horizontal scrollbars at 1024x768 using IE7. (merged from branches/gsoc)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41773 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 17:37:48 +00:00
Ingo Schommer
f3018529ac
elofgren: Add 2 needed isset() calls: in forms/Form.php and security/Member.php (merged from branches/gsoc)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41770 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 17:10:37 +00:00
Ingo Schommer
a377a67e54
mlanthaler: Switched to an authenticator and a form class to be able to add other authentication methods. (merged from branches/gsoc)
...
mlanthaler: The missing authenticator base class... (merged from branches/gsocmlanthaler: Switched to an authenticator and a form class to be able to add other authentication methods. (merged from branches/gsoc)
mlanthaler: The missing authenticator base class... (merged from branches/gsoc))
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41729 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 03:12:21 +00:00
Romain Louis
1ad4769c5f
3 Notices removal
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41720 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 02:04:30 +00:00
Ingo Schommer
4cb5bd719a
wscott: Added some additional fixes & such to sapphire
...
TooglePanel? can be created initially closed
PasswordField? honors a max size passed to it
SiteTree? / Pages can now have custom meta tags
Sitemap can deal with pinging google on updates, plus a couple other minor changes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41690 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 00:47:00 +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
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
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
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
Normann Lou
36dad03935
fix livesite bug for visibility handling difference between PHP5.2.0 and PHP5.1.6
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40782 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-24 00:48:04 +00:00
Normann Lou
3bc0eaafbb
implement validation to tablefield,
...
fixed bug on validation of datefield, emailfield, numericefield.
make CMS validation enabled.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40755 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-23 05:47:54 +00:00
Sam Minnee
3007fa55d5
Added return type hinting to comments
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40596 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-20 23:22:30 +00:00
Sam Minnee
734cf2ad4f
Added Director::test() for unit testing
...
Changed From::testSubmission to use Director::test(), so that it can check whether URLs are correctly set
Made Director::is_ajax() look at the controller data
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40590 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-20 22:39:44 +00:00
Sam Minnee
44b68061d4
Fixed svn:eol-style settings
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40456 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-18 02:33:28 +00:00
Sam Minnee
9b045b61db
Added Form::testSubmission() and Form::testAjaxSubmission() to aid unit testing
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40423 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-17 05:44:46 +00:00
Sam Minnee
8a0688aa5d
Added HTTPResponse object, to encapsulate Controller responses for aid testing and other 'quirky' uses of Controllers
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40390 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-17 03:09:46 +00:00
Matt Peel
8a36ab4ed5
Added performDisabledTransformation() and performReadonlyTransformation() methods that set a TextareaField to be disabled (unselectable, not sent by browser when form is submitted) and readonly (selectable, sent by browser when form is submitted).
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39927 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-13 11:54:44 +00:00
Andrew O'Neil
55f0ddd3ff
Fix php notices
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39881 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-12 22:47:31 +00:00
Andrew O'Neil
d93528100c
Fixed php notice
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39821 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-10 02:20:47 +00:00
Andrew O'Neil
9e8ec42e46
Began interface for comment administration
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39725 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-08 01:16:02 +00:00
Kirti Nanji
4160579f97
Romain fixed a bug regarding the fileuploading.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39231 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-25 00:26:00 +00:00
Hayden Smith
2f68028829
Added a check to make sure record exists before calling hasMethod on it.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39190 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-24 03:44:03 +00:00
Hayden Smith
4a5d9b03f8
Moved Sapphire module to open source path
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39001 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-19 10:40:28 +00:00