Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mail-tracking
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
mail-tracking
Commits
f4d80950
Commit
f4d80950
authored
Feb 10, 2012
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- V4.0.3.0.0:
Updated to OpenACS 5.7
parent
c87b6bdb
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
messages.xql
lib/messages.xql
+1
-1
mail-tracking.info
mail-tracking.info
+0
-1
mail-tracking-create.sql
sql/postgresql/mail-tracking-create.sql
+1
-0
mail-tracking-callback-procs.tcl
tcl/mail-tracking-callback-procs.tcl
+2
-2
one-message.tcl
www/one-message.tcl
+2
-2
No files found.
lib/messages.xql
View file @
f4d80950
...
...
@@ -25,7 +25,7 @@
<fullquery
name=
"messages_pagination"
>
<querytext>
select distinct ml.log_id, sent_date
select distinct ml.log_id, ml.sent_date, ml.sender_id, ml.package_id, ml.subject
from acs_mail_log ml left outer join acs_mail_log_recipient_map mlrm on (ml.log_id=mlrm.log_id)
where ml.log_id is not null
$recipient_where_clause
...
...
mail-tracking.info
View file @
f4d80950
...
...
@@ -2,7 +2,6 @@
<!-- Generated by the OpenACS Package Manager -->
<package
key=
"mail-tracking"
url=
"http://openacs.org/repository/apm/packages/mail-tracking"
type=
"apm_service"
>
<license>
GPL V2.0 or any later version
</license>
<package-name>
Mail Tracking
</package-name>
<pretty-plural>
Mail Tracking
</pretty-plural>
<initial-install-p>
f
</initial-install-p>
...
...
sql/postgresql/mail-tracking-create.sql
View file @
f4d80950
...
...
@@ -42,6 +42,7 @@ create table acs_mail_log (
create
index
acs_mail_log_object_idx
on
acs_mail_log
(
object_id
);
create
index
acs_mail_log_sender_idx
on
acs_mail_log
(
sender_id
);
create
index
acs_mail_log_object_message_idx
on
acs_mail_log
(
object_id
,
message_id
);
create
table
acs_mail_log_recipient_map
(
recipient_id
integer
constraint
...
...
tcl/mail-tracking-callback-procs.tcl
View file @
f4d80950
...
...
@@ -12,7 +12,7 @@ ad_library {
ad_proc -public -callback acs_mail_lite::complex_send -impl mail_tracking
{
{
-package_id:required
}
{
-from_party_id:required
0
}
{
-from_party_id:required
}
{
-from_addr
""
}
{
-to_party_ids
""
}
{
-cc_party_ids
""
}
...
...
@@ -58,7 +58,7 @@ ad_proc -public -callback acs_mail_lite::complex_send -impl mail_tracking {
ad_proc -public -callback acs_mail_lite::send -impl mail_tracking
{
{
-package_id:required
}
{
-from_party_id:required
0
}
{
-from_party_id:required
}
{
-to_party_id:required
}
{
-body:required
}
{
-message_id:required
}
...
...
www/one-message.tcl
View file @
f4d80950
...
...
@@ -17,7 +17,6 @@ ad_page_contract {
}
# We need to figure out a way to detect which contacts package a party_id belongs to
set
contacts_package_id
[
apm_package_id_from_key contacts
]
set
page_title
"
[
_ mail-tracking.One_message
]
"
set
context
[
list
]
...
...
@@ -36,6 +35,7 @@ if {![exists_and_not_null cc]} {
}
if
{[
exists_and_not_null sender_id
]}
{
set contacts_package_id
[
contact::package_id -party_id
$sender
_id
]
if
{
$contacts
_package_id
}
{
set sender
"<a href=
\"
[
contact::url -party_id
$sender
_id -package_id
$contacts
_package_id
]
\"
>
[
party::name -party_id
$sender
_id
]
</a>"
}
else
{
...
...
@@ -99,4 +99,4 @@ set download_files [join $download_files ", "]
if
{
!
[
ad_looks_like_html_p
$body
]}
{
set body
"<pre>
$body
</pre>"
}
\ No newline at end of file
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment