[dreamwidth/dw-free] cbf30b: (Bug 177) finished basic /admin/sendmail page
Branch: refs/heads/release-1.21
Home: https://github.com/dreamwidth/dw-free
Commit: cbf30b07d18214b0521deb4389453f0864254256
https://github.com/dreamwidth/dw-free/commit/cbf30b07d18214b0521deb4389453f0864254256
Author: Kareila <kareila@dreamwidth.org>
Date: 2014-07-13 (Sun, 13 Jul 2014)
Changed paths:
M bin/upgrading/update-db-general.pl
A cgi-bin/DW/Controller/Admin/SendMail.pm
M cgi-bin/LJ/DB.pm
M doc/config-local.pl.txt
A views/admin/sendmail/index.tt
A views/admin/sendmail/index.tt.text
Log Message:
-----------
(Bug 177) finished basic /admin/sendmail page
The requested scope of this bug is in three parts: send message, lookup sent
messages, and manage form messages. This is only the first of those three
parts.
This is a convenience form for sending emails to users from registered site
addresses such as support@dreamwidth.org. Each "from" address is tied to a
particular privilege using a new hash in config-local.pl named
%LJ::SENDMAIL_ACCOUNTS. The keys of the hash are the email account names
and the values of the hash are the priv:arg pairs needed to send a message
with that account.
The original bug spec said to use userlog to record when an email is sent.
I did that, but because userlog transactions are necessarily keyed to the
user who took the action and limited in how much additional information they
can contain, I also added a new global table, siteadmin_email_history, for
recording the details of each message sent. Due to the pressure of time,
the interface for looking up sent emails hasn't been added yet, but the
information is being added to the database for later querying.
Commit: fda6f1e248a2ddcfd6bd1642f427dbc77ab2f2b4
https://github.com/dreamwidth/dw-free/commit/fda6f1e248a2ddcfd6bd1642f427dbc77ab2f2b4
Author: Kareila <kareila@dreamwidth.org>
Date: 2014-07-13 (Sun, 13 Jul 2014)
Changed paths:
M cgi-bin/DW/Controller/Admin/SendMail.pm
M cgi-bin/DW/Hooks/PrivList.pm
Log Message:
-----------
(Bug 177) only give access to users who have siteadmin:sendmail priv
Commit: 8850f8c8f254507a3146b01800845dadfa6e68ef
https://github.com/dreamwidth/dw-free/commit/8850f8c8f254507a3146b01800845dadfa6e68ef
Author: Afuna <afuna@users.noreply.github.com>
Date: 2014-07-14 (Mon, 14 Jul 2014)
Changed paths:
M bin/upgrading/update-db-general.pl
A cgi-bin/DW/Controller/Admin/SendMail.pm
M cgi-bin/DW/Hooks/PrivList.pm
M cgi-bin/LJ/DB.pm
M doc/config-local.pl.txt
A views/admin/sendmail/index.tt
A views/admin/sendmail/index.tt.text
Log Message:
-----------
Merge pull request #803 from kareila/release-bug0177-sendmail
(Bug 177) finished basic /admin/sendmail page
Compare: https://github.com/dreamwidth/dw-free/compare/367c501af238...8850f8c8f254
Home: https://github.com/dreamwidth/dw-free
Commit: cbf30b07d18214b0521deb4389453f0864254256
https://github.com/dreamwidth/dw-free/commit/cbf30b07d18214b0521deb4389453f0864254256
Author: Kareila <kareila@dreamwidth.org>
Date: 2014-07-13 (Sun, 13 Jul 2014)
Changed paths:
M bin/upgrading/update-db-general.pl
A cgi-bin/DW/Controller/Admin/SendMail.pm
M cgi-bin/LJ/DB.pm
M doc/config-local.pl.txt
A views/admin/sendmail/index.tt
A views/admin/sendmail/index.tt.text
Log Message:
-----------
(Bug 177) finished basic /admin/sendmail page
The requested scope of this bug is in three parts: send message, lookup sent
messages, and manage form messages. This is only the first of those three
parts.
This is a convenience form for sending emails to users from registered site
addresses such as support@dreamwidth.org. Each "from" address is tied to a
particular privilege using a new hash in config-local.pl named
%LJ::SENDMAIL_ACCOUNTS. The keys of the hash are the email account names
and the values of the hash are the priv:arg pairs needed to send a message
with that account.
The original bug spec said to use userlog to record when an email is sent.
I did that, but because userlog transactions are necessarily keyed to the
user who took the action and limited in how much additional information they
can contain, I also added a new global table, siteadmin_email_history, for
recording the details of each message sent. Due to the pressure of time,
the interface for looking up sent emails hasn't been added yet, but the
information is being added to the database for later querying.
Commit: fda6f1e248a2ddcfd6bd1642f427dbc77ab2f2b4
https://github.com/dreamwidth/dw-free/commit/fda6f1e248a2ddcfd6bd1642f427dbc77ab2f2b4
Author: Kareila <kareila@dreamwidth.org>
Date: 2014-07-13 (Sun, 13 Jul 2014)
Changed paths:
M cgi-bin/DW/Controller/Admin/SendMail.pm
M cgi-bin/DW/Hooks/PrivList.pm
Log Message:
-----------
(Bug 177) only give access to users who have siteadmin:sendmail priv
Commit: 8850f8c8f254507a3146b01800845dadfa6e68ef
https://github.com/dreamwidth/dw-free/commit/8850f8c8f254507a3146b01800845dadfa6e68ef
Author: Afuna <afuna@users.noreply.github.com>
Date: 2014-07-14 (Mon, 14 Jul 2014)
Changed paths:
M bin/upgrading/update-db-general.pl
A cgi-bin/DW/Controller/Admin/SendMail.pm
M cgi-bin/DW/Hooks/PrivList.pm
M cgi-bin/LJ/DB.pm
M doc/config-local.pl.txt
A views/admin/sendmail/index.tt
A views/admin/sendmail/index.tt.text
Log Message:
-----------
Merge pull request #803 from kareila/release-bug0177-sendmail
(Bug 177) finished basic /admin/sendmail page
Compare: https://github.com/dreamwidth/dw-free/compare/367c501af238...8850f8c8f254
