Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/acs-admin/www/apm/package-deinstall.adp'. Fisheye: No comparison available. Pass `N' to diff? Index: openacs-4/packages/acs-admin/www/apm/package-deinstall.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/package-deinstall.tcl,v diff -u -r1.2 -r1.2.20.1 --- openacs-4/packages/acs-admin/www/apm/package-deinstall.tcl 11 Dec 2003 21:39:45 -0000 1.2 +++ openacs-4/packages/acs-admin/www/apm/package-deinstall.tcl 27 Sep 2013 18:47:52 -0000 1.2.20.1 @@ -9,12 +9,13 @@ version_id:naturalnum } - apm_version_info $version_id -doc_body_append "[apm_header [list "version-view?version_id=$version_id" "$pretty_name $version_name"] "Deinstall"]" +set title "Deinstall" +set context [list [list "/acs-admin/apm/" "Package Manager"] \ + [list "version-view?version_id=$version_id" "$pretty_name $version_name"] \ + $title] - db_transaction { doc_body_append " +

You should restart the server now to make sure the memory footprint + and cache of the package is cleared out. Click here + to restart the server now.

+ } + } } -apm_version_info $version_id -doc_body_append [apm_header "Delete"] -if { [catch {apm_package_delete -sql_drop_scripts $sql_drop_scripts -remove_files=0 -callback apm_doc_body_callback $package_key} errmsg] } { - doc_body_append "We encountered the following error when deleting package \"$package_key\": -
[ad_quotehtml $errmsg]
" -} - -doc_body_append " - -

-

You should restart the server now to make sure the memory footprint and cache of the package is cleared out. Click here to restart the server now.

-[ad_footer] -" Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/acs-admin/www/apm/package-delete.adp'. Fisheye: No comparison available. Pass `N' to diff? Index: openacs-4/packages/acs-admin/www/apm/package-delete.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/package-delete.tcl,v diff -u -r1.9.8.4 -r1.9.8.5 --- openacs-4/packages/acs-admin/www/apm/package-delete.tcl 9 Sep 2013 16:44:16 -0000 1.9.8.4 +++ openacs-4/packages/acs-admin/www/apm/package-delete.tcl 27 Sep 2013 18:47:52 -0000 1.9.8.5 @@ -92,22 +92,24 @@ " } -set body "[apm_header -form "action=\"package-delete-2\" method=\"post\"" [list "version-view?version_id=$version_id" "$pretty_name $version_name"] "Delete"] -$warning_text +set title "Delete" +set context [list [list "/acs-admin/apm/" "Package Manager"] \ + [list "version-view?version_id=$version_id" "$pretty_name $version_name"] \ + $title] -

Deleting a package removes all record of it from the APM's database.

+set body [subst { +
+ $warning_text +

Deleting a package removes all record of it from the APM's database.

-

+ [export_vars -form {version_id}] + $file_list + +

+ +

+}] -[export_vars -form {version_id}] -$file_list -

- - -[ad_footer]" -doc_return 200 text/html $body - - Fisheye: Tag 1.1.4.1 refers to a dead (removed) revision in file `openacs-4/packages/acs-admin/www/apm/packages-install-2.adp'. Fisheye: No comparison available. Pass `N' to diff? Index: openacs-4/packages/acs-admin/www/apm/packages-install-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/packages-install-2.tcl,v diff -u -r1.12.4.4 -r1.12.4.5 --- openacs-4/packages/acs-admin/www/apm/packages-install-2.tcl 9 Sep 2013 16:44:16 -0000 1.12.4.4 +++ openacs-4/packages/acs-admin/www/apm/packages-install-2.tcl 27 Sep 2013 18:47:52 -0000 1.12.4.5 @@ -44,87 +44,93 @@ } } +set title "Package Installation" +set context [list [list "/acs-admin/apm/" "Package Manager"] $title] + if {![info exists install_spec_files]} { - doc_body_append "[apm_header "Package Installation"]

-No packages selected.

[ad_footer]" - return -} + set body { +

+ No packages selected.

+ } +} else { -### Dependency Check -set dependency_results [apm_dependency_check -pkg_info_all $pkg_info_list $install_spec_files] + ### Dependency Check + set dependency_results [apm_dependency_check -pkg_info_all $pkg_info_list $install_spec_files] -if { [lindex $dependency_results 0] == 1 && [llength [lindex $dependency_results 2]] > 0 } { + if { [lindex $dependency_results 0] == 1 && [llength [lindex $dependency_results 2]] > 0 } { - set extra_package_keys [lindex $dependency_results 2] + set extra_package_keys [lindex $dependency_results 2] - # Check was good after adding a couple more packages + # Check was good after adding a couple more packages - doc_body_append "[apm_header "Package Installation"] -

Additional Packages Automatically Added

+ set body [subst { +

Additional Packages Automatically Added

- Some of the packages you were trying to install required other packages to be installed first. - We've added these additional packages needed, and ask you to review the list of packages below. + Some of the packages you were trying to install required other packages to be installed first. + We've added these additional packages needed, and ask you to review the list of packages below. -

- [export_vars -form {spec_files}]

- -

- - " + + [export_vars -form {spec_files}]

+ +

+
+ }] - set install [concat $install $extra_package_keys] - set enable [concat $enable $extra_package_keys] + set install [concat $install $extra_package_keys] + set enable [concat $enable $extra_package_keys] - doc_body_append [apm_package_selection_widget [lindex $dependency_results 1] $install $enable] + append body [apm_package_selection_widget [lindex $dependency_results 1] $install $enable] - doc_body_append " -
- -
- [ad_footer] - " + append body [subst { + + + + }] + + } elseif { ([lindex $dependency_results 0] == 1) || $force_p eq "t" } { -} elseif { ([lindex $dependency_results 0] == 1) || $force_p eq "t" } { - ### Check passed! Initiate install. + ### Check passed! Initiate install. - # We use client properties to pass along this information as it is fairly large. - ad_set_client_property -clob t apm pkg_install_list [lindex $dependency_results 1] - ad_set_client_property -clob t apm pkg_enable_list $enable + # We use client properties to pass along this information as it is fairly large. + ad_set_client_property -clob t apm pkg_install_list [lindex $dependency_results 1] + ad_set_client_property -clob t apm pkg_enable_list $enable - ad_returnredirect packages-install-3 - ad_script_abort -} else { - ### Check failed. Offer user an explanation and an ability to select unselect packages. - doc_body_append "[apm_header "Package Installation"] -

Select Packages to Install

- - Some of the packages you are trying to install have unsatisfied dependencies. The packages - with unsatisfied dependencies have been deselected. If you wish to install packages that do - not pass dependencies, please click the \"force\" option below. -

- - - - If you think you might want to use a package later (but not right away), - install it but don't enable it. - - [export_vars -form {spec_files}]

- -

- - " - - doc_body_append [apm_package_selection_widget [lindex $dependency_results 1] $install $enable] + ad_returnredirect packages-install-3 + ad_script_abort + } else { + + ### Check failed. Offer user an explanation and an ability to + ### select unselect packages. + + set body [subst { - doc_body_append " -
- Force the install

- -

- [ad_footer] - " + Some of the packages you are trying to install have unsatisfied dependencies. The packages + with unsatisfied dependencies have been deselected. If you wish to install packages that do + not pass dependencies, please click the "force" option below. +
+ + + + If you think you might want to use a package later (but not right away), + install it but don't enable it. + + [export_vars -form {spec_files}]

+ +

+ + }] + + append body \ + [apm_package_selection_widget [lindex $dependency_results 1] $install $enable] \ + [subst { +
+ Force the install

+ +

+ }] + } } Fisheye: Tag 1.1.4.1 refers to a dead (removed) revision in file `openacs-4/packages/acs-admin/www/apm/packages-install-3.adp'. Fisheye: No comparison available. Pass `N' to diff? Index: openacs-4/packages/acs-admin/www/apm/packages-install-3.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/packages-install-3.tcl,v diff -u -r1.14.8.1 -r1.14.8.2 --- openacs-4/packages/acs-admin/www/apm/packages-install-3.tcl 27 Aug 2013 11:44:43 -0000 1.14.8.1 +++ openacs-4/packages/acs-admin/www/apm/packages-install-3.tcl 27 Sep 2013 18:47:52 -0000 1.14.8.2 @@ -8,21 +8,18 @@ } { } +set title "Package Installation" +set context [list [list "/acs-admin/apm/" "Package Manager"] $title] +set body { +

Select Data Model Scripts to Run

+

+ Check all the files you want to be loaded into the database.

+

+} -set pkg_install_list [ad_get_client_property apm pkg_install_list] -set body "" - -append body "[apm_header "Package Installation"] -

Select Data Model Scripts to Run

-

- -Check all the files you want to be loaded into the database.

- -" - set sql_file_list [list] set file_count 0 -foreach pkg_info $pkg_install_list { +foreach pkg_info [ad_get_client_property apm pkg_install_list] { set package_key [pkg_info_key $pkg_info] set package_path [pkg_info_path $pkg_info] @@ -97,10 +94,7 @@ ad_script_abort } -append body " - -

-[ad_footer] -" - -doc_return 200 text/html $body +append body { + + +}