Ingo Schommer
e63c16fcff
elofgren: BUGFIX: If no selection is made in the left tree, and a draft is added, parentID won't be set, so don't rely on it being set in Javascript and instead add a hidden ParentID field that is returned by PHP and use that so it is alway set correctly. This solves a bug where Newsletter drafts will be added, but not show up in the left tree (because of a Javascript error), if no selection has been made.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42059 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:31:06 +00:00
Ingo Schommer
70ae154609
elofgren: BUGFIX: Fix trac ticket: #66 Error when "Restore" button is clicked after a page is "Removed from the draft site" http://support.silverstripe.com/gsoc/ticket/66
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42056 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:29:34 +00:00
Ingo Schommer
3501d6a57b
elofgren: BUGFIX: Add if((typeof tinyMCE != 'undefined')) statement around call to tinyMCE.init() to prevent "Error: 'tinyMCE' is undefined" error in IE7 on Newsletter Recipient import. .
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42054 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:28:40 +00:00
Ingo Schommer
4167ab9108
elofgren: BUGFIX: Don't save new Newsletter drafts as soon as they are created to prevent TinyMCE Javascript errors in IE. Always save Newsletter drafts before sending to prevent unsaved newsletter drafts from being sent out completely blank because change detection for new newsletter drafts does not work in IE.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42053 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:28:14 +00:00
Ingo Schommer
f72e6d9a56
elofgren: In order to fix: http://support.silverstripe.com/gsoc/ticket/58 "Add" button is broken after reloadRecipientsList() is called do the following:
...
After recipients are imported, show a link to "reload the Mailing List" which calls reloadRecipientsList() instead of doing it automatically.
Simply call getPageFromServer() and focus the Recipients tab, instead of only reloading the Recipients tab.
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42052 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:27:39 +00:00
Ingo Schommer
29cf057e97
mujma: ENHANCEMENT: Swaped alert() during crop to statusMessage().
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42050 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:25:07 +00:00
Ingo Schommer
4fd3e3510a
elofgren: Use onclick instead of onchange event so that blacklist add/removing is immediately called by IE when checkboxes are clicked on the 'Bounced' tab of the 'Mailing List' section of the 'Newsletters' section.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42049 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:24:38 +00:00
Ingo Schommer
2d04f8e14b
mujma: ENHANCEMENT: Added preserving ratio during resize.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42048 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:24:11 +00:00
Ingo Schommer
030b55d750
mujma: ENHANCEMENTS: Added new design for ImageEditor?.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42046 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:23:10 +00:00
Ingo Schommer
09ef2f0963
mujma: ENHANCEMENT: Added photo upload in TinyMCE editor.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42045 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:21:47 +00:00
Ingo Schommer
5575c175de
elofgren: Use simply 'group' instead of 'security group' for consistency in alert about no groups being selected when 'Delete the selected groups' is clicked.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42044 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:20:08 +00:00
Ingo Schommer
0438c5006d
elofgren: Added delete confirmation for items in Security left tree. As part of fix for gsoc trac ticekt: #51 Warning is needed before items are deleted from security & newsletter tree
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42043 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:19:43 +00:00
Ingo Schommer
08974ae348
elofgren: Fix wording on alert() shown when Delete button is clicked in NewsletterAdmin?.js left to refer to 'security group' instead of 'Page'
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42042 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:19:09 +00:00
Ingo Schommer
95c9255395
elofgren: Fix wording on alert() shown when Delete button is clicked in NewsletterAdmin?.js left to refer to 'Newsletter item' instead of 'Page'
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42041 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:18:43 +00:00
Ingo Schommer
6cb2df64dd
elofgren: Added delete confirmation for items in Newsletter left tree. As part of fix for gsoc trac ticekt: #51 Warning is needed before items are deleted from security & newsletter tree
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42040 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:18:18 +00:00
Ingo Schommer
706580c443
elofgren: NEW FEATURE: Make it possible to blacklist and remove bounced Newsletter recipients from the Bounced tab of the Mailing List. @TODO: Make this features work corectly in IE.
...
Make class BouncedList? just extend FormField? like it used to, extending TableListField? added unneeded complexity.
Remove the unused Save button from the 'Mailing List' section. Fixes gsoc track ticket: #26 Remove uneeded "Save" button in "Mailing List" section of Newsletters
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42039 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:17:51 +00:00
Ingo Schommer
e28baf03db
mujma: ENHANCEMENT: Added SWFUpload library as default method of uploading files.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42014 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 01:40:26 +00:00
Ingo Schommer
a42fd1d2d2
mujma: ENHANCEMENTS: Now image is placed in scrolled container so operation that results in image larger than screen are no longer problem.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42008 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 01:30:43 +00:00
Ingo Schommer
1daba65357
elofgren: Fix indentation of code in AddForm::form_submit()
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42007 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 01:30:05 +00:00
Ingo Schommer
ed0232eb71
elofgren: BUGFIX: Make adding newsletter types work again (was broken by r38923). Fix long-standing problem of whole page reloading when adding a Newsletter type. Now it is always added via AJAX.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42006 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 01:29:40 +00:00
Ingo Schommer
5303c3ba2f
elofgren: BUGFIX: Make 'Sent Status Report' tab be reloaded after a Newsletter is sent 'to only people not previously sent to'
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42004 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 01:04:35 +00:00
Ingo Schommer
170c5b1fba
elofgren: Make the status message shown after sending a newsletter always include the # of emails sent.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42003 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 01:04:10 +00:00
Ingo Schommer
2c012f3c4e
elofgren: BUGFIX: Fix gsoc trac ticket: #54 For newly created Newsletter drafts, Content of Newsletter Sent is not what is shown on screen (Save button has to be clicked)
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41999 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 01:01:06 +00:00
Ingo Schommer
4deaf09212
elofgren: Track whether mail() returns TRUE or FALSE when a Newsletter is sent and record the result in a new Newsletter_SentRecipient table.
...
Add a 'Sent Status Report' tab to Newsletters that shows the following 4 reports:
* Sending to the Following Recipients Failed
* Sending to the Following Recipients Bounced (@TODO: Make bounces actually show up here)
* The Newsletter has Never Been Sent to Following Subscribers
* Sending to the Following Recipients was Successful
More info: http://support.silverstripe.com/gsoc/wiki/GSoc07UsabilityElijah
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41995 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 00:57:31 +00:00
Ingo Schommer
0f7cf9628c
mujma: BUGFIX: No longer photo under FF/Linux can be dragged out of dragging area.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41992 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 00:52:11 +00:00
Ingo Schommer
cd124fe98a
mujma: BUGFIX: Any redo are now working after applying new operation.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41991 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 00:51:43 +00:00
Ingo Schommer
5150e6c6b6
mujma: BUGFIX: Fixed image flickering under IE6
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41990 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 00:51:15 +00:00
Ingo Schommer
8e08868354
mujma: BUGFIX: Fixed buttons(Ok/Cancel) visibility after "Crop area to small" message.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41989 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 00:50:48 +00:00
Ingo Schommer
5c3e3b1d6b
mujma: ADD-ON: Removed image toolbar under IE6
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41988 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 00:50:22 +00:00
Ingo Schommer
b3c45a89b9
mujma: BUGFIX: Big images on IE6 now works correctly.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41987 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 00:49:57 +00:00
Ingo Schommer
fd8ba77c27
mujma: BUGFIX: Removed image flickering after operation(crop,rotate,resize), problem still occurs under Safari.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41986 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 00:49:34 +00:00
Ingo Schommer
37cddf0845
elofgren: Make the error alert() that comes up after clicking on 'Mailing List' in NewsletterAdmin? state tell where it is being called from. It should probably be commented out as per r38490
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41985 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 00:49:10 +00:00
Ingo Schommer
8b46cab94c
elofgren: Remove leftover file drag and drop debug code accidentally committed in r37813
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41984 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 00:48:41 +00:00
Ingo Schommer
ed69e36116
mujma: BUGFIX: Fixed blocking during resize in IE6.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41971 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 22:02:35 +00:00
Ingo Schommer
bcbdd364e0
elofgren: BUGFIX: Fix bug 'Errors when Importing Recipients to Newsletter Mailing List'. Fixes gsoc trac ticket #38 . Tested and importing newsletter recipients works in FF2 and IE7. Reported here: http://www.silverstripe.com/bugs/flat/1470 This fix needs GenericEmail?.ss added in r38503
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41970 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 22:02:06 +00:00
Ingo Schommer
b7be0c523a
reverted "comment-out-bugfix" from r41968
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41967 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:59:34 +00:00
Ingo Schommer
670c9ca573
mrisen: Resolved "undefined" error message popup in Safari with AJAX iframe load
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41966 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:57:58 +00:00
Ingo Schommer
c3dc22e7b8
elofgren: When 'Duplicate this page' is clicked, first silently (without confirmation) save the page, then duplicate it so the new page is identical to the other page. Closes gsoc Ticket #41 : Apply xmedeko's "autoSave before page duplicate" fixes to gsoc branch. Adapted from code posted here: http://www.silverstripe.com/contributions/flat/2073 Thanks Ondra\!
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41963 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:56:40 +00:00
Ingo Schommer
4bd9352924
mujma: BUGFIX: Added blocking history during resize and rotate.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41962 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:55:15 +00:00
Ingo Schommer
5e4b0852c4
mujma: BUGFIX: No longer croping under IE6 selects all image.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41961 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:54:51 +00:00
Ingo Schommer
2c07f001f2
mujma: BUGFIX: From now croping should appear without image flickering.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41932 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 20:55:50 +00:00
Ingo Schommer
cad57b11ec
mujma: Added support for IE6.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41931 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 20:54:37 +00:00
Ingo Schommer
c3988b53f2
mujma: BUGIX: From now should work properly on servers with low bandwidth .
...
(merged from branches/gsocmujma: BUGIX: From now should work properly on servers with low bandwidth .
(merged from branches/gsoc))
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41930 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 20:53:26 +00:00
Ingo Schommer
3cae2fb249
elofgren: USABILITY: Fix usability issue #48 "Delete and Move Files buttons need repositioning"
...
Changes:
* Remove the 'Move Files' button and enable multi-file drag and drop file moving
* Position the 'Delete selected files' button under the checkboxes and make it turn red on hover
* Add 'Ctrl' and 'Shift' range selection to file checkboxes
* Add 'X' delete links to the right of each file
* Rename the 'Save' button to 'Save folder name' and don't show it when listing 'assets' folder since it can't be renamed
More info: http://www.silverstripe.com/google-summer-of-code-forum/flat/1607
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41927 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 20:47:35 +00:00
Ingo Schommer
271a5cc7fc
elofgren: Give location of error in the alert() that is inside a catch block in LeftAndMain?_right.js CMSForm.loadNewPage() to make debugging Safari 3 problem easier. See: http://www.silverstripe.com/google-summer-of-code-forum/flat/1982
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41920 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 20:22:10 +00:00
Ingo Schommer
67ac1edf87
mlanthaler: Bugfix: Fixed bug which caused problems in IE but was tolerated in Firefox.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41917 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 20:11:40 +00:00
Ingo Schommer
71cb143070
mujma: Added exclusive lock on image operation. Starting each operation block others i.e you cannot rotate image when you are cropping area from it.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41901 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 01:31:31 +00:00
Ingo Schommer
356f4cc4bc
mujma: ImageEditor?.php adjusted to standards, Image.js improved resizing of large images.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41898 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 01:28:50 +00:00
Ingo Schommer
88f0a3c0b1
mujma: BUGFIX: All image resolution should now work correctly.
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41895 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 01:27:01 +00:00
Ingo Schommer
f436292174
mujma: Added support for large images (larger than browser window).
...
(merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41894 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 01:26:36 +00:00