In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Advanced Details Jump to Notes ] Wiki ]  Related Changesets ] View Simple ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000704 [In-Portal CMS] Admin Interfaces bug report always 2010-04-21 11:38 2010-07-22 15:06
Reporter Dmitry View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Platform
Status closed   OS
  OS Version
ETA none Fixed in Version 5.1.0-B1 Product Version
  Target Version 5.1.0 Product Build
Time EstimateNo estimate
Summary 0000704: Improvements to "E-mail Template" editing
Description Below is a list of things to be addressed:


1. Introduce 2 tabs when Editing an Email Event:

a. General - will list all basic fields/information that we have NOW in 5.0.x branch.
b. Event Settings - will list all other fields (more advanced). The idea is that we can always hide Event Settings tab if needed.

NOTES:

a. For now don't worry about order of fields on Event Settings tab. This will be done by me (Dmitry) and coordinated with Interfaces team.



2. Refactor From/ToUser field (on Settings tab):

- Allow Changing Sender [X] - field is ON by default and VISIBLE in DBG only

====== Always Visible, but Editable if DBG + "Allow Changing Sender" ======
- Send Email From: (X) Default Website address ( ) Custom Sender
- Send From Address: [drop-down with Email, User, Group options] [_ Auto-complete based on drop-down_] - REQUIRED
- Send From Name: [__text__]
============

- Allow Changing To Recipient [X] - field is ON by default and VISIBLE in DBG only

====== Always Visible, but Editable if DBG + "Allow Changing To Recipient" ======
- Send Email To: (X) Default Website address ( ) Custom Recipients
- Recipient Type: (*) To ( ) Cc ( ) Bcc - To visible when "Custom Recipients" radio is selected
- Recipient Address: [drop-down with Email, User, Group options] [_ Auto-complete based on drop-down_] - REQUIRED
- Recipient Name: [__text__]

- Recipients: [ ....... ] - multi input control (like on custom field editing)
============

NOTES:

a. Both "Allow Changing Sender" and "Allow Changing To Recipient" should be ON by default for all In-Portal Events. All OnNew Events can have it OFF since both Add and Delete Event button will be available in DBG only.

b. For Information purposes I think we should keep "Send Email From", "Send From Address" and "Send From Name" visible, but READ-ONLY when Allow Changing Sender.

IMPORTANT to note that when DBG is ON Developers will NEVER see READ-ONLY for any fields/screen. In other words, it's in affect ONLY when Root or Administrator is logged-in and mentioned above check-box is OFF. Also, don't need to fancy JS - simpler is better.

c. Always give to edit CC and BCC records for Recipient except that TO is ONLY editable with "Allow Changing To Recipient" check-box ON.

d. We'll work with Interfaces team to get the above look right.



3. Add a way to edit ReplacementTags field

- Tag: [____________________]
- Replacement: [____________________]
- Replacement Tags: [ ....... ] - multi input control (like on custom field editing)



4. Remove "E-mail Settings" section under module Configuration.

After new changes are in affect it will only duplicate "E-mail Templates" section.



5. Adjust Email Message textarea for Developers Mode (DBG)

In developer mode (DBG On) display email message text using simple textarea with "Open In HTML Editor" button (as in Regional section for now), but in administrator mode we will display inline HTML editor as for now in "Email Templates".

6. Check all SQL and upgrades with Events table

Since the structure of Events table will change we need to make sure we properly update all places correctly (Upgrade SQLs/PHP, Installation data SQL)
Steps To Reproduce
Additional Information As part of task "Translation system refactoring" 0000285 we have done major rework for translation system and still needed to fully cover functionality for Email Events. This will be done in this task.
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-dev/browse_thread/thread/a63fbd759c791264
Change Log Message Reworked E-mail Template editing
Estimate Points 0
Attached Files patch file icon email_event_recipient_core.patch [^] (141,421 bytes) 2010-05-18 08:07 [Show Content]
patch file icon email_event_recipient_modules.patch [^] (69,313 bytes) 2010-05-18 08:07 [Show Content]
patch file icon email_event_recipient_core_v2.patch [^] (141,688 bytes) 2010-05-22 03:46 [Show Content]
jpg file icon Fatal_Improvements_E-mail_Template_editing.jpg [^] (152,090 bytes) 2010-05-23 19:01


patch file icon email_event_recipient_core_v3.patch [^] (142,345 bytes) 2010-05-25 04:16 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to 0000285closed (5.1.0)alex In-Portal CMS Translation system refactoring 
related to 0000437closed (Icebox)alex In-Portal CMS Interfaces for Adding Email Events and Editing their Translations 
related to 0000733closed (5.1.0)alex In-Portal CMS Improvements to ajax auto-complete control 
related to 0000734closed (5.1.0)alex In-Portal CMS Improvements to multi-input control 
related to 0000735closed (5.1.0)alex In-Portal CMS Addressing (in code) users "root" and "Guest" using named constants 
related to 0000736closed (5.1.0)alex In-Portal CMS New "debug" event permission 
related to 0000457closed (5.1.0)!COMMUNITY In-Portal CMS Automatic CSS / JS Compression 
related to 0000747closed (5.1.0)alex In-Portal CMS Fatal error on user approve/decline 
related to 0000756closed (5.1.0)alex In-Portal CMS Fatal error on Link Approve/Decline 
related to 0000910closed (5.1.1)alex In-Link Fatal error when Modifying Pending Link on Front-end 

-  Notes
User avatar (0002229)
alex (manager)
2010-05-18 08:10

Note:
All related tasks, that are scheduled to 5.1.0 release should be tested & applied for given task patches to work.

Testing:
Please test all sorts of cases where we
* have/have no sender/recipients
* debug mode is on/off
* simple interface preset is on
* upgrade script proverly transfers data from FromUserId column to new columns

There are a lot of scenarios to test, but they aren't so hard to imagine, since all logic was described in task.
User avatar (0002230)
alex (manager)
2010-05-18 08:12
edited on: 2010-05-18 09:49

We also need to delete "config/config_email" and "config/config_email_edit" templates at the end.

Also this task is huge test case for all it's related tasks, that are scheduled to 5.1.0 release.

User avatar (0002278)
alex (manager)
2010-05-22 03:47

Reminder sent to: Dmitry

Patch "email_event_recipient_core_v2.patch" fixes problem reported in 0000734 task.
User avatar (0002279)
Dmitry (manager)
2010-05-22 11:38

Thanks for the big task and fixes - tested good, please commit
User avatar (0002299)
Dmitry (manager)
2010-05-23 19:00

I have ran another test on clean 5.1.0 install and came across the Fatal Error on the Front end while did User Registration. See attachment.
User avatar (0002318)
alex (manager)
2010-05-25 04:21

Patch "email_event_recipient_core_v3.patch" fixes problem found in 0000704:0002299.
User avatar (0002319)
alex (manager)
2010-05-25 04:27

Fix seems pretty simple & Dmitry allowed me to commit straight away.
User avatar (0002320)
alex (manager)
2010-05-25 04:31

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000704: Improvements to "E-mail Template" editing
User avatar (0002520)
alex (manager)
2010-07-22 15:06

Closing, since 5.1.0 release has been released.

- Related Changesets
In-Portal CMS: 5.1.x r13635
Timestamp: 2010-05-25 04:31:29
Author: alex
Details ] Diff ]
Fixes 0000704: Improvements to "E-mail Template" editing
mod - /in-portal/branches/5.1.x/admin/system_presets/simple/email_events_emailevents.php Diff ] File ]
rm - /in-portal/branches/5.1.x/admin/system_presets/simple/email_messages_emailmessages.php
rm - /in-portal/branches/5.1.x/core/admin_templates/config/config_email.tpl
rm - /in-portal/branches/5.1.x/core/admin_templates/config/config_email_edit.tpl
mod - /in-portal/branches/5.1.x/core/admin_templates/incs/style_template.css Diff ] File ]
mod - /in-portal/branches/5.1.x/core/admin_templates/languages/email_message_edit.tpl Diff ] File ]
mod - /in-portal/branches/5.1.x/core/admin_templates/languages/email_message_list.tpl Diff ] File ]
add - /in-portal/branches/5.1.x/core/admin_templates/languages/email_message_settings.tpl File ]
mod - /in-portal/branches/5.1.x/core/install/english.lang Diff ] File ]
mod - /in-portal/branches/5.1.x/core/install/install_data.sql Diff ] File ]
mod - /in-portal/branches/5.1.x/core/install/install_schema.sql Diff ] File ]
mod - /in-portal/branches/5.1.x/core/install/upgrades.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/install/upgrades.sql Diff ] File ]
mod - /in-portal/branches/5.1.x/core/kernel/application.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/kernel/constants.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/units/categories/categories_config.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/units/email_events/email_event_tp.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/units/email_events/email_events_config.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/units/email_events/email_events_event_handler.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/units/users/users_config.php Diff ] File ]
Modules :: In-News: 5.1.x r13634
Timestamp: 2010-05-25 04:26:12
Author: alex
Details ] Diff ]
Bug 0000704: Improvements to "E-mail Template" editing
mod - /modules/in-news/branches/5.1.x/install/install_data.sql Diff ] File ]
mod - /modules/in-news/branches/5.1.x/install/upgrades.sql Diff ] File ]
mod - /modules/in-news/branches/5.1.x/units/articles/articles_config.php Diff ] File ]
Modules :: In-Link: 5.1.x r13633
Timestamp: 2010-05-25 04:25:14
Author: alex
Details ] Diff ]
Bug 0000704: Improvements to "E-mail Template" editing
mod - /modules/in-link/branches/5.1.x/install/install_data.sql Diff ] File ]
mod - /modules/in-link/branches/5.1.x/install/upgrades.sql Diff ] File ]
mod - /modules/in-link/branches/5.1.x/units/links/links_config.php Diff ] File ]
Modules :: In-Commerce: 5.1.x r13632
Timestamp: 2010-05-25 04:24:40
Author: alex
Details ] Diff ]
Bug 0000704: Improvements to "E-mail Template" editing
mod - /w/in-commerce/branches/5.1.x/install/english.lang Diff ] File ]
mod - /w/in-commerce/branches/5.1.x/install/install_data.sql Diff ] File ]
mod - /w/in-commerce/branches/5.1.x/install/upgrades.sql Diff ] File ]
mod - /w/in-commerce/branches/5.1.x/units/products/products_config.php Diff ] File ]
Modules :: In-Bulletin: 5.1.x r13631
Timestamp: 2010-05-25 04:23:46
Author: alex
Details ] Diff ]
Bug 0000704: Improvements to "E-mail Template" editing
mod - /modules/in-bulletin/branches/5.1.x/install/english.lang Diff ] File ]
mod - /modules/in-bulletin/branches/5.1.x/install/install_data.sql Diff ] File ]
mod - /modules/in-bulletin/branches/5.1.x/install/upgrades.sql Diff ] File ]
mod - /modules/in-bulletin/branches/5.1.x/units/topics/topics_config.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2010-10-31 08:20 alex Relationship added related to 0000910
2010-07-22 15:06 alex Note Added: 0002520
2010-07-22 15:06 alex Status resolved => closed
2010-05-31 01:50 alex Relationship added related to 0000756
2010-05-25 11:08 alex Relationship added related to 0000747
2010-05-25 04:31 alex Note Added: 0002320
2010-05-25 04:31 alex Status reviewed and tested => resolved
2010-05-25 04:31 alex Fixed in Version => 5.1.0-B1
2010-05-25 04:31 alex Resolution open => fixed
2010-05-25 04:31 alex Assigned To !COMMUNITY => alex
2010-05-25 04:31 alex Changeset attached 5.1.x r13635
2010-05-25 04:27 alex Note Added: 0002319
2010-05-25 04:27 alex Status needs testing => reviewed and tested
2010-05-25 04:26 alex Changeset attached 5.1.x r13634
2010-05-25 04:25 alex Changeset attached 5.1.x r13633
2010-05-25 04:24 alex Changeset attached 5.1.x r13632
2010-05-25 04:23 alex Changeset attached 5.1.x r13631
2010-05-25 04:23 alex Changeset attached 5.1.x r13630
2010-05-25 04:22 alex Assigned To alex => !COMMUNITY
2010-05-25 04:22 alex Status needs work => needs testing
2010-05-25 04:21 alex Note Added: 0002318
2010-05-25 04:16 alex File Added: email_event_recipient_core_v3.patch
2010-05-23 19:01 Dmitry File Added: Fatal_Improvements_E-mail_Template_editing.jpg
2010-05-23 19:00 Dmitry Note Added: 0002299
2010-05-23 19:00 Dmitry Status reviewed and tested => needs work
2010-05-23 18:14 Dmitry Assigned To !COMMUNITY => alex
2010-05-22 11:38 Dmitry Note Added: 0002279
2010-05-22 11:38 Dmitry Status needs testing => reviewed and tested
2010-05-22 03:47 alex Note Added: 0002278
2010-05-22 03:46 alex File Added: email_event_recipient_core_v2.patch
2010-05-18 09:49 alex Note Edited: 0002230 View Revisions
2010-05-18 08:12 alex Note Added: 0002230
2010-05-18 08:10 alex Note Added: 0002229
2010-05-18 08:10 alex Assigned To => !COMMUNITY
2010-05-18 08:10 alex Developer => alex
2010-05-18 08:10 alex Status active => needs testing
2010-05-18 08:07 alex File Added: email_event_recipient_modules.patch
2010-05-18 08:07 alex File Added: email_event_recipient_core.patch
2010-05-18 08:03 alex Relationship added related to 0000457
2010-05-18 07:42 alex Relationship added related to 0000736
2010-05-18 07:29 alex Relationship added related to 0000735
2010-05-18 06:29 alex Relationship added related to 0000734
2010-05-18 06:02 alex Relationship added related to 0000733
2010-05-16 01:20 alex Relationship added related to 0000437
2010-04-22 17:12 Dmitry Description Updated View Revisions
2010-04-21 14:21 Dmitry Description Updated View Revisions
2010-04-21 11:40 Dmitry Change Log Message => Reworked E-mail Template editing
2010-04-21 11:38 Dmitry Relationship added related to 0000285
2010-04-21 11:38 Dmitry New Issue
2010-04-21 11:38 Dmitry Reference => http://groups.google.com/group/in-portal-dev/browse_thread/thread/a63fbd759c791264



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker