2.9

MySQL/Postgres Archive Table Changes!

The table schema for the archive table in Dada Mail has changed!

Consult:

 dada/extras/SQL/dada_archives.sql

for the new schema and update your tables accordingly.

If you're using the Default DB_File backend for archving, you don't have to do anything special;

dada_send.pl has been removed from the distribution

There is NO version of dada_send.pl for Dada Mail 2.9. For an alternative, try the dada_bridge.pl plugin, which provides almost complete overlap of features.

Program Usage Log - set by default!

The Program Usage Log, set under, $PROGRAM_USAGE_LOG, has been set to:

 $PROGRAM_USAGE_LOG ||= $LOGS . '/dada_usage.txt';

by default.

setup_list subroutine removed!

If you have outside programs that use this subroutine, you will need to change your program from using this subroutine (example)

 use DADA::App::Guts
 setup_list({list => $list, 
             foo  => 'bar', 
             });

to:

 use DADA::MailingList::Settings; 
 my $ls = DADA::MailingList::Settings->new(-list => $list); 
 $ls->save({foo => 'bar'});

to the following method - this is an example from

DADA::App::Guts::open_database subroutine removed!

Here's the old style:

 my %list_info =  open_database(-List => $list);

Here's the new way of doing things:

 use DADA::MailingList::Settings
 my $ls = DADA::MailingList::Settings->new(-List => $list); 
 my $li = $ls->get; 
 my %list_info = %$li;

check_list_security subroutine changed!

Old Way:

 my $root_login = check_list_security(-Admin_List      => $admin_list, 
                                      -Admin_Password  => $admin_password, 
                                      -IP_Address      => $ENV{REMOTE_ADDR},
                                      -Function        => 'send_email');

New Way:

 my ($admin_list, $root_login) = check_list_security(-cgi_obj  => $q,  
                                                     -Function => 'send_email');

%STYLE Config.pm button styles deprecated!

Consult the default_css.css file in dada/DADA/Template/templates for ALL style information.

As a guide, here's how the old inline styles relate to the new style classes:

$STYLE{default_submit} -> input.plain

$STYLE{green_submit} -> input.processing

$STYLE{red_submit} -> input.cautionary

$STYLE{yellow_submit} -> input.alertive

List Templates default to... Default List Template

There is a new option in the ``Manage Appearance - Edit Template'' admin screen. The option allows you to `` Use the default list template.'' This may be set as your default for lists that are already created. If you have a list that seems to have suddenly lost its customized template, make sure this option is changed to something like, `` Use This Information For The Template: ''.

Redirect Links - Path Info'd

Like many of the links that are exposed to email messages, redirect links are now in a path info form, instead of in a query string. Redirect links seemed to be partly broken - most likely because of server upgrade/changes, and 2.9 should help in fixing. this.

MIME-Tools - bundled with Dada Mail!

MIME-Tools, the collection of Perl Modules needed by dada_bounce_handler.pl and dada_bridge.pl are now included with Dada Mail and DO NOT need to be installed separately.

MIME::Base64 MIME::QuotedPrint - not in distro - may need to install manually

Removed: Plaintext version is created from HTML

Removed the ``HTML_and_text'' - Plaintext version is created from HTML in the ``Send a List Message'' basic screen. This is done automatically for you.

Removed: Resend Archived Message

Removed: Edit Archived Message

If you need to do any editing, do so *before* upgrading to this beta. Edit is going to be hard to implement, because a MIME editor is non trivial - like, how exactly do you edit a MIME message created by the ``Send a Webpage'' screen? Answer: You don't. :)

Removed ``attached images are part of the HTML message''

Did this ever work correctly?

Many default email templates changed!

If you're upgrading Dada Mail from an older version, and If you haven't made many changes to the default email templates - the text that you can edit in Manage Copy - Email Messages, it's best to reload the email templates.

This is done by navigating to: Manage Copy - Email Messages, select all the text from each of the textboxes and deleting the content. When you're finished, you can click, ``Save all changes''. The messages should respawn themselves.

If you've made many changes to these email messages, consult the Config.pm file to view the default email templates and apply the changes that you like manually.

Here's one issue that you'll want to MAKE SURE to change:

In the email subscription/unsubscription messages, you'll use a tag like this:

 [list_subscription_link]

and

 [list_unsubscription_link]

In this context:

 To confirm this subscription, please follow the below URL:
 
 <[list_unsubscribe_link]>
 
 (Click the URL above or, copy and paste the URL into your browser)

And:

 To confirm this unsubscription, please follow the below URL:
 
 <[list_unsubscribe_link]> 
 
 (Click the URL above or, copy and paste the URL into your browser)

You will NEED to change these links to:

 [list_confirm_subscribe_link]

And:

 [list_confirm_unsubscribe_link]

Respectively, or your subscription process will not work.

As stated above, if you're comfortable to start with the default email messages, the easiest thing to do is to delete all the content in the Manage Copy -> Email Messages screen and click, ``Save all changes''.

Magicbook Changes

Plugins/Extensions that come with Dada Mail have been updated to work with Dada Mail, 2.9, with the exception of the dada_digest.pl script, which currently doesn't work with 2.9. It will return once it has been properly updated.

Note also the text, while still relevant, hasn't been updated specifically for 2.9 either.


* 2.8.10

The program name has (obviously) changed. See the separate, ``Upgrading Dada Mail from Mojo Mail 2.8.9 and below'' doc.

The Dada Usage Log format has changed!

All logged lines will have the Remote IP Address of the client provoking the script (if there is one). The format is:

time[tab]remote ip address[tab]list[tab]action[tab]details

The $DEFAULT_LIST variable has been removed from Dada Mail. If you want to send a default template, use the $USER_TEMPLATE variable.


* 2.8.9

The Config variable, $PLAIN_TEXT_ENCODING has been removed. The same functionality is now done on a list-per-list basis. You can use the %LIST_SETUP_DEFAULTS key, plaintext_encoding to do the same thing, as well as use html_encoding for HTML messages. These can be tweaked in the Sending Options - Advanced control panel screen.


* 2.8.2

mojo_send.pl has been put back into the distro, for better or worse.

I've included CGI.pm, version 2.91 into the distro, since different versions of CGI.pm seem to all have their own unique ways of breaking things, and I'd like to know exactly which funky errors to expect.


* 2.8

The mojo_send.pl script has been taken out of the distribution because of manjor bugs and security problems. as such, group lists will not be supported in this version.

It's still uncertain whether group mailing lists will be supported in the future.


* 2.7.1

CipherSaber encryption has been put onto both POP3 passwords stored in Dada Mail's List settings files and for cookie information. You may recieve an error about dividing by zero in the Cipher key. If this happens, go to:

http://changetoyoursite.com/cgi-bin/mojo/mojo.cgi?reset_cipher_keys

and follow the directions. You also will have to reset your pop3 password manually.

The Mojofied FormMail has slightly different instructions, best to read the documentation!


* 2.7

The MySQL and PostgreSQL implementations have been changed! Please take note as previous SQL tables will NOT work until you alter them.


* 2.6.4

The outside config file scheme has been changed!

Please refer to the Config.pm docs to see how to use the outside configuration file