gustafn
committed
on 11 Aug 16
- Cleanup cr_revisions belonging to the news package, for which there
are no news_id in cr_news. These entries were created since ever in… Show more
- Cleanup cr_revisions belonging to the news package, for which there

 are no news_id in cr_news. These entries were created since ever in

 the news package. The bug adding spurious revisions was fixed with

 the OpenACS 5.9.0 release, this upgrade scripts removes leftovers

 of the earlier bug.

Show less

openacs-4/packages/news/news.info (+2 -2)
1 1 <?xml version="1.0"?>
2 2 <!-- Generated by the OpenACS Package Manager -->
3 3
4 4 <package key="news" url="http://openacs.org/repository/apm/packages/news/" type="apm_application">
5 5     <package-name>News</package-name>
6 6     <pretty-plural>News</pretty-plural>
7 7     <initial-install-p>f</initial-install-p>
8 8     <singleton-p>f</singleton-p>
9 9    
10       <version name="5.9.0" url="http://openacs.org/repository/download/apm/news-5.9.0.apm">
  10     <version name="5.9.1d1" url="http://openacs.org/repository/download/apm/news-5.9.1d1.apm">
11 11         <owner url="http://opeancs.org">OpenACS</owner>
12 12         <summary>Used for announcements and news items.</summary>
13 13         <release-date>2015-10-04</release-date>
14 14         <vendor url="http://openacs.org">OpenACS</vendor>
15 15         <description format="text/plain">News publication tool.  Publication of plain text or html news items with support for scheduled publication and commentability.</description>
16 16         <maturity>2</maturity>
17 17         <package_instance_name>#news.News#</package_instance_name>
18 18
19           <provides url="news" version="5.9.0"/>
  19         <provides url="news" version="5.9.1d1"/>
20 20         <requires url="acs-content-repository" version="5.9.0"/>
21 21         <requires url="acs-datetime" version="5.9.0"/>
22 22         <requires url="acs-kernel" version="5.9.0"/>
23 23         <requires url="general-comments" version="5.9.0"/>
24 24         <requires url="notifications" version="5.9.0"/>
25 25         <requires url="rss-support" version="0.3"/>
26 26
27 27         <callbacks>
28 28             <callback type="after-install"  proc="news::install::after_install"/>
29 29             <callback type="after-instantiate"  proc="news::install::after_instantiate"/>
30 30             <callback type="after-upgrade"  proc="news::install::after_upgrade"/>
31 31             <callback type="before-uninstall"  proc="news::sc::unregister_news_fts_impl"/>
32 32             <callback type="before-uninstantiate"  proc="news::install::before_uninstantiate"/>
33 33         </callbacks>
34 34         <parameters>
35 35             <parameter datatype="number"  min_n_values="1"  max_n_values="1"  name="ActiveDays"  default="14" description="Default days between release date and archive date."/>
36 36             <parameter datatype="string"  min_n_values="1"  max_n_values="1"  name="ApprovalPolicy"  default="wait" description="Approval policy of submitted news items. It must be either of [open|wait|closed]. Submission by the administrator are ApprovalPolicy = 'open'.This approval policy applies only, if we let 'registered users' upload news items."/>
37 37             <parameter datatype="number"  min_n_values="1"  max_n_values="1"  name="DisplayMax"  default="10" description="Number of news item headlines displayed per page at most."/>
38 38             <parameter datatype="string"  min_n_values="1"  max_n_values="1"  name="ImageFormat"  default="jpg" description="Image format to use when converting images, e.g. png, gif, jpg"/>
39 39             <parameter datatype="string"  min_n_values="1"  max_n_values="1"  name="ImageGeometry"  default="120x150" description="Geometry specification for scaling images in news, e.g. 120x150 scales images to have a maximum width of 120 px and a maximum height of 150 px."/>