Index: openacs-4/packages/acs-admin/acs-admin.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/acs-admin.info,v diff -u -r1.48 -r1.49 --- openacs-4/packages/acs-admin/acs-admin.info 12 Jun 2015 21:14:16 -0000 1.48 +++ openacs-4/packages/acs-admin/acs-admin.info 19 Jun 2015 09:09:51 -0000 1.49 @@ -6,17 +6,19 @@ Site-Wide Administration Services t t + f + t Don Baccus An interface for Site-wide administration of an OpenACS Installation. 2013-09-08 OpenACS - GPL - 3 Provides a UI for administering site-wide services (including package installation, cache, authentication, and user accounts) for an OpenACS system. + GPL + 3 @@ -27,9 +29,6 @@ + - - - - Index: openacs-4/packages/acs-admin/www/apm/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/index.tcl,v diff -u -r1.27 -r1.28 --- openacs-4/packages/acs-admin/www/apm/index.tcl 13 Jun 2015 23:55:32 -0000 1.27 +++ openacs-4/packages/acs-admin/www/apm/index.tcl 19 Jun 2015 09:09:51 -0000 1.28 @@ -120,8 +120,8 @@ } # The reload links make the page slow, so make them optional -set page_url [export_vars -base [ad_conn url] -url {orderby owned_by supertype}] -set href [export_vars -base [ad_conn url] -url {orderby owned_by supertype reload_links_p}] +set page_url [export_vars -base [ad_conn url] {orderby owned_by supertype}] +set href [export_vars -base [ad_conn url] {orderby owned_by supertype reload_links_p}] if { $reload_links_p } { set reload_filter "Do not check for changed files" } else { Index: openacs-4/packages/acs-admin/www/apm/version-callbacks.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/version-callbacks.adp,v diff -u -r1.7 -r1.8 --- openacs-4/packages/acs-admin/www/apm/version-callbacks.adp 27 Oct 2014 16:38:53 -0000 1.7 +++ openacs-4/packages/acs-admin/www/apm/version-callbacks.adp 19 Jun 2015 09:09:51 -0000 1.8 @@ -3,7 +3,7 @@ @context;noquote@ -

+

Help

@@ -24,13 +24,13 @@ process depending on which version you're upgrading from and to.

- - +
+ - + @@ -39,7 +39,7 @@ - + @@ -48,7 +48,7 @@ - + @@ -58,7 +58,7 @@ - + @@ -68,7 +68,7 @@ - + @@ -77,7 +77,7 @@ - + @@ -86,7 +86,7 @@ - + @@ -95,7 +95,7 @@ - + @@ -105,7 +105,7 @@ - + Index: openacs-4/packages/acs-admin/www/apm/version-dependencies.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/version-dependencies.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/acs-admin/www/apm/version-dependencies.tcl 27 Oct 2014 16:38:53 -0000 1.8 +++ openacs-4/packages/acs-admin/www/apm/version-dependencies.tcl 19 Jun 2015 09:09:51 -0000 1.9 @@ -24,14 +24,17 @@ } else { set dependency_type_prep_2 ${dependency_type}ed } - append body "

Services [string totitle $dependency_type_prep_2]

\n" - ad_return_template apm Index: openacs-4/packages/acs-admin/www/apm/version-dependency-add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/version-dependency-add-2.tcl,v diff -u -r1.12 -r1.13 --- openacs-4/packages/acs-admin/www/apm/version-dependency-add-2.tcl 27 Oct 2014 16:38:53 -0000 1.12 +++ openacs-4/packages/acs-admin/www/apm/version-dependency-add-2.tcl 19 Jun 2015 09:09:51 -0000 1.13 @@ -50,4 +50,4 @@ } } -ad_returnredirect "version-dependencies?[export_vars -url {version_id}]" +ad_returnredirect "version-dependencies?[export_vars {version_id}]" Index: openacs-4/packages/acs-admin/www/apm/version-dependency-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/version-dependency-add.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/acs-admin/www/apm/version-dependency-add.tcl 27 Oct 2014 16:38:53 -0000 1.5 +++ openacs-4/packages/acs-admin/www/apm/version-dependency-add.tcl 19 Jun 2015 09:09:51 -0000 1.6 @@ -23,7 +23,7 @@ [export_vars -form {version_id dependency_type dependency_id {our_package_key $package_key}}] - $pretty_name ${dependency_type}s the following service: +

$pretty_name ${dependency_type}s the following service:


+ }] ad_return_template apm Index: openacs-4/packages/acs-admin/www/apm/version-dependency-remove.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/version-dependency-remove.tcl,v diff -u -r1.6 -r1.7 --- openacs-4/packages/acs-admin/www/apm/version-dependency-remove.tcl 27 Oct 2014 16:38:53 -0000 1.6 +++ openacs-4/packages/acs-admin/www/apm/version-dependency-remove.tcl 19 Jun 2015 09:09:51 -0000 1.7 @@ -32,5 +32,5 @@

[ad_quotehtml $errmsg]
" } -ad_returnredirect "version-dependencies?[export_vars -url {version_id}]" +ad_returnredirect "version-dependencies?[export_vars {version_id}]" Index: openacs-4/packages/acs-admin/www/apm/version-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/version-edit.tcl,v diff -u -r1.11 -r1.12 --- openacs-4/packages/acs-admin/www/apm/version-edit.tcl 27 Oct 2014 16:38:53 -0000 1.11 +++ openacs-4/packages/acs-admin/www/apm/version-edit.tcl 19 Jun 2015 09:09:51 -0000 1.12 @@ -65,42 +65,42 @@
Callback Parameters
before-install
after-install
before-upgrade
after-upgrade
before-uninstall
after-instantiate
before-uninstantiate
after-mount
before-unmount
- + - + - + - + - + - + - + - - + + @@ -111,24 +111,24 @@ - + - + - - + + - - - + + - + }] @@ -189,41 +189,44 @@ append body [subst { - - + + - - + + }] } append body [subst { - - + + - - + + }] append body [subst { - +
Package Key:Package Key: $package_key
Package URL:Package URL: $package_uri
Package Name:Package Name: $pretty_name
OpenACS Core:OpenACS Core: [ad_decode $initial_install_p t Yes No]
Singleton:Singleton: [ad_decode $singleton_p t Yes No]
Implements Subsite:Implements Subsite: [ad_decode $implements_subsite_p t Yes No]
Inherit Templates:Inherit Templates: [ad_decode $inherit_templates_p t Yes No]
Auto-mount:Auto-mount:
Version:Version:
Version URL:Version URL:

Summary:

Summary:

Description:

+

Description:

This description is
[dict get $attribute pretty_name]:[dict get $attribute pretty_name]:
$prompt:$prompt:
$prompt URL:$prompt URL:
Vendor:Vendor:
Vendor URL:Vendor URL:
-
-Upgrade the local package $pretty_name to this version and supersede older versions. -
+ + + + + +
Upgrade the local package $pretty_name to this version and supersede older versions.

- -

+ +
Index: openacs-4/packages/acs-admin/www/apm/version-files.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/version-files.tcl,v diff -u -r1.17 -r1.18 --- openacs-4/packages/acs-admin/www/apm/version-files.tcl 27 Oct 2014 16:38:53 -0000 1.17 +++ openacs-4/packages/acs-admin/www/apm/version-files.tcl 19 Jun 2015 09:09:51 -0000 1.18 @@ -22,9 +22,9 @@
- - - + + + } @@ -75,9 +75,9 @@ } else { append body [subst { - - - + + + }] if { $installed_p == "t" } { @@ -90,8 +90,9 @@ if {![parameter::get -package_id [ad_acs_kernel_id] \ -parameter PerformanceModeP -default 1]} { # Provide a link to watch the procs file. + set href [export_vars -base file-watch {version_id {paths $path} return_url}] append body [subst { - }] } else { @@ -120,13 +121,14 @@ if { $installed_p == "t" } { append body [subst { @@ -209,23 +213,25 @@ }] if { $tarball_length ne "" && $tarball_length > 0 } { + set href [export_vars -base packages/[file tail $version_uri] {version_id}] append body [subst { - [format "%.1f" [expr { $tarball_length / 1024.0 }]]KB + [format "%.1f" [expr { $tarball_length / 1024.0 }]]KB }] if { $distribution_uri eq "" } { append body "(generated on this system" if { $distribution_date ne "" } { append body " on $distribution_date" } append body ")" - set params [export_vars { {m create-new} {p.description $summary} {title "[file tail $version_uri]"}}] + set href [export_vars -base "http://openacs.org/xowf/package-submissions/PackageSubmit.wf" \ + {{m create-new} {p.description $summary} {title "[file tail $version_uri]"}}] append body [subst {

In order to contribute this package back to the OpenACS community,

  1. download the .apm-file to your file system and
  2. submit the .apm-file - to + to the package repository of OpenACS.
}] @@ -239,8 +245,9 @@ } else { append body "None available" if { $installed_p == "t" } { + set href [export_vars -base version-generate-tarball {version_id}] append body [subst { - (generate one now from the filesystem) + (generate one now from the filesystem) }] } } @@ -250,15 +257,15 @@ if {$nr_instances > 0} { set instances [subst { Installed instances of this package: - $nr_instances + $nr_instances }] } else { set instances "No installed instance of this package\n" } if {$nr_instances == 0 || ($nr_instances > 0 && !$singleton_p)} { - set query [export_vars { package_key {return_url [ad_return_url]}}] + set href [export_vars -base package-instance-create { package_key {return_url [ad_return_url]}}] set instance_create [subst { -
  • Create +
  • Create (unmounted) instance of this package
  • }] } else { @@ -271,26 +278,30 @@

    Manage

    Reload

    XML .info package specification file

    PathFile typeDatabase supportPathFile typeDatabase support
     $file_pretty_name $db_pretty_name  $file_pretty_name $db_pretty_name  watch +  watch  
    Vendor:$vendorHTML
    Package URL:$package_uri