Commit cd0f4f92 authored by Frank Bergmann's avatar Frank Bergmann

- OpenACS 5.9

parent 434ac311
...@@ -2,27 +2,27 @@ ...@@ -2,27 +2,27 @@
<!-- Generated by the OpenACS Package Manager --> <!-- Generated by the OpenACS Package Manager -->
<package key="acs-messaging" url="http://openacs.org/repository/apm/packages/acs-messaging/" type="apm_service"> <package key="acs-messaging" url="http://openacs.org/repository/apm/packages/acs-messaging/" type="apm_service">
<package-name>Messaging</package-name> <package-name>ACS Messaging</package-name>
<pretty-plural>Messaging Services</pretty-plural> <pretty-plural>ACS Messaging Services</pretty-plural>
<initial-install-p>t</initial-install-p> <initial-install-p>t</initial-install-p>
<singleton-p>t</singleton-p> <singleton-p>t</singleton-p>
<version name="5.10.0d1" url="http://openacs.org/repository/download/apm/acs-messaging-5.10.0d1.apm"> <version name="5.9.0" url="http://openacs.org/repository/download/apm/acs-messaging-5.9.0.apm">
<owner url="mailto:akk+@cs.cmu.edu">Anukul Kapoor</owner> <owner url="mailto:akk+@cs.cmu.edu">Anukul Kapoor</owner>
<owner url="mailto:prevost@maya.com">John Prevost</owner> <owner url="mailto:prevost@maya.com">John Prevost</owner>
<owner url="mailto:vinod@kurup.com">Vinod Kurup</owner> <owner url="mailto:vinod@kurup.com">Vinod Kurup</owner>
<summary>General messaging for bboard and general comments.</summary> <summary>General messaging for bboard and general comments.</summary>
<release-date>2013-09-08</release-date> <release-date>2015-10-04</release-date>
<maturity>3</maturity> <maturity>3</maturity>
<vendor url="http://openacs.org">OpenACS</vendor> <vendor url="http://openacs.org">OpenACS</vendor>
<license url="http://www.gnu.org/copyleft/gpl.html">GPL</license> <license url="http://www.gnu.org/copyleft/gpl.html">GPL</license>
<description format="text/html">Provides generic message services, with email sending. acs-mail-lite and notifications are the <description format="text/html">Provides generic message services, with email sending. acs-mail-lite and notifications are the
prefered packages for delivering this functionality and it is anticipated that this package will ultimately be deprecated.</description> prefered packages for delivering this functionality and it is anticipated that this package will ultimately be deprecated.</description>
<provides url="acs-messaging" version="5.10.0d1"/> <provides url="acs-messaging" version="5.9.0"/>
<requires url="acs-content-repository" version="5.10.0d1"/> <requires url="acs-content-repository" version="5.9.0"/>
<requires url="acs-kernel" version="5.10.0d1"/> <requires url="acs-kernel" version="5.9.0"/>
<requires url="acs-mail-lite" version="5.10.0d1"/> <requires url="acs-mail-lite" version="5.9.0"/>
<callbacks> <callbacks>
</callbacks> </callbacks>
......
...@@ -11,3 +11,9 @@ ad_library { ...@@ -11,3 +11,9 @@ ad_library {
# Schedule every 15 minutes # Schedule every 15 minutes
ad_schedule_proc -thread t 907 acs_messaging_process_queue ad_schedule_proc -thread t 907 acs_messaging_process_queue
# Local variables:
# mode: tcl
# tcl-indent-level: 4
# indent-tabs-mode: nil
# End:
...@@ -44,7 +44,7 @@ ad_proc -public acs_messaging_format_as_html { ...@@ -44,7 +44,7 @@ ad_proc -public acs_messaging_format_as_html {
@param content Text to view @param content Text to view
} { } {
if {$mime_type eq "text/plain"} { if {$mime_type eq "text/plain"} {
set result "<pre>[ad_quotehtml $content]</pre>" set result "<pre>[ns_quotehtml $content]</pre>"
} elseif {$mime_type eq "text/plain; format=flowed"} { } elseif {$mime_type eq "text/plain; format=flowed"} {
set result [ad_text_to_html -- $content] set result [ad_text_to_html -- $content]
} elseif {$mime_type eq "text/html"} { } elseif {$mime_type eq "text/html"} {
...@@ -155,3 +155,9 @@ ad_proc -private acs_messaging_process_queue { ...@@ -155,3 +155,9 @@ ad_proc -private acs_messaging_process_queue {
} }
} }
} }
# Local variables:
# mode: tcl
# tcl-indent-level: 4
# indent-tabs-mode: nil
# End:
...@@ -34,3 +34,9 @@ aa_register_case acs_messaging_message_p { ...@@ -34,3 +34,9 @@ aa_register_case acs_messaging_message_p {
} }
} }
# Local variables:
# mode: tcl
# tcl-indent-level: 4
# indent-tabs-mode: nil
# End:
...@@ -2,9 +2,8 @@ ...@@ -2,9 +2,8 @@
<property name="context">{/doc/acs-messaging {Messaging}} {ACS Messaging Design}</property> <property name="context">{/doc/acs-messaging {Messaging}} {ACS Messaging Design}</property>
<property name="doc(title)">ACS Messaging Design</property> <property name="doc(title)">ACS Messaging Design</property>
<master> <master>
<body>
<h2>ACS Messaging Design</h2> <h2>ACS Messaging Design</h2>
ACS Messaging was born out of the design of the new bboard. One ACS Messaging was born out of the design of the new bboard. One
thing we discovered when researching requirements for bboard and thing we discovered when researching requirements for bboard and
discussion software in general was that there are a variety of ways discussion software in general was that there are a variety of ways
...@@ -49,14 +48,17 @@ implemented as content repository items that are children of the ...@@ -49,14 +48,17 @@ implemented as content repository items that are children of the
message), extensible headers (just like the webmail datamodel), and message), extensible headers (just like the webmail datamodel), and
versioning as provided by the content repository. versioning as provided by the content repository.
<h2>API</h2> <h2>API</h2>
ACS Messaging provides the <code>acs_messages_all</code> view as
ACS Messaging provides the <code>acs_messages_all</code>
view as
the primary mechanism for message queries. the primary mechanism for message queries.
<blockquote><pre><code>create or replace view acs_messages_all as <blockquote><pre><code>create or replace view acs_messages_all as
select m.message_id, m.reply_to, o.context_id, r.title, r.publish_date, select m.message_id, m.reply_to, o.context_id, r.title, r.publish_date,
r.mime_type, r.content, o.creation_user r.mime_type, r.content, o.creation_user
... ...
</code></pre></blockquote> </code></pre></blockquote>
ACS Messaging provides the PL/SQL function acs_message.post to add ACS Messaging provides the PL/SQL function acs_message.post to add
new messages. new messages.
<hr><address>akk@arsdigita.com</address> <hr>
</body> <address>akk\@arsdigita.com</address>
<property name="context">{/doc/acs-messaging {Messaging}} {ACS Messaging Docs}</property> <property name="context">{/doc/acs-messaging {Messaging}} {ACS Messaging Documentation}</property>
<property name="doc(title)">ACS Messaging Docs</property> <property name="doc(title)">ACS Messaging Documentation</property>
<master> <master>
<h1>ACS Messaging Documentation</h1>
<body> <h2>Engineering Documentation</h2>
<h1>ACS Messaging Docs</h1><ul> <ul>
<li><a href="requirements">requirements</a></li><li><a href="design">design</a></li> <li><a href="requirements">Requirements</a></li><li><a href="design">Design</a></li>
</ul><hr><address><a href="mailto:akk@arsdigita.com">Anukul </ul>
Kapoor</a></address><!-- Created: Sat Sep 30 16:42:40 EDT 2000 --><!-- hhmts start --> <h2>Release Notes</h2>
Last modified: Sat Sep 30 17:45:40 EDT 2000 <!-- hhmts end --> <p>Please file bugs in the <a href="http://openacs.org/bugtracker/openacs/">Bug Tracker</a>.</p>
</body> <hr>
<address><a href="mailto:akk\@arsdigita.com">Anukul
Kapoor</a></address>
<!-- Created: Sat Sep 30 16:42:40 EDT 2000 --><!-- hhmts start -->Last modified: Fri Aug 21 11:50:15 CEST 2015
<!-- hhmts end -->
\ No newline at end of file
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <html>
<head> <head>
<title>ACS Messaging Docs</title> <title>ACS Messaging Documentation</title>
</head> </head>
<body> <body>
<h1>ACS Messaging Docs</h1> <h1>ACS Messaging Documentation</h1>
<h2>Engineering Documentation</h2>
<ul> <ul>
<li><a href="requirements">requirements</a> <li><a href="requirements">Requirements</a>
<li><a href="design">design</a> <li><a href="design">Design</a>
</ul> </ul>
<h2>Release Notes</h2>
<p>Please file bugs in the <a href="http://openacs.org/bugtracker/openacs/">Bug Tracker</a>.</p>
<hr> <hr>
<address><a href="mailto:akk@arsdigita.com">Anukul Kapoor</a></address> <address><a href="mailto:akk@arsdigita.com">Anukul Kapoor</a></address>
<!-- Created: Sat Sep 30 16:42:40 EDT 2000 --> <!-- Created: Sat Sep 30 16:42:40 EDT 2000 -->
<!-- hhmts start --> <!-- hhmts start -->Last modified: Fri Aug 21 11:50:15 CEST 2015 <!-- hhmts end -->
Last modified: Sat Sep 30 17:45:40 EDT 2000
<!-- hhmts end -->
</body> </body>
</html> </html>
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment