Index: openacs.org-dev/packages/acs-admin/acs-admin.info =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/acs-admin/acs-admin.info,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/acs-admin/acs-admin.info 9 Jul 2002 17:34:56 -0000 1.1.1.1 +++ openacs.org-dev/packages/acs-admin/acs-admin.info 5 Aug 2002 21:38:13 -0000 1.1.1.2 @@ -7,18 +7,18 @@ t t - + oracle postgresql Don Baccus Provides an interface for administering the OpenACS Community System Installation. - 2001-04-27 + 2002-05-15 OpenACS A UI for administering the OpenACS system. - + Index: openacs.org-dev/packages/acs-api-browser/acs-api-browser.info =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/acs-api-browser/acs-api-browser.info,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/acs-api-browser/acs-api-browser.info 9 Jul 2002 17:34:56 -0000 1.1.1.1 +++ openacs.org-dev/packages/acs-api-browser/acs-api-browser.info 5 Aug 2002 21:38:14 -0000 1.1.1.2 @@ -7,14 +7,14 @@ t t - + oracle postgresql Dennis Gregorovic A browser for Tcl and SQL APIs. - 2001-03-06 + 2002-05-15 ArsDigita Corporation @@ -32,8 +32,12 @@ + + + + Index: openacs.org-dev/packages/acs-bootstrap-installer/acs-bootstrap-installer.info =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/acs-bootstrap-installer/acs-bootstrap-installer.info,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/acs-bootstrap-installer/acs-bootstrap-installer.info 9 Jul 2002 17:34:56 -0000 1.1.1.1 +++ openacs.org-dev/packages/acs-bootstrap-installer/acs-bootstrap-installer.info 5 Aug 2002 21:38:14 -0000 1.1.1.2 @@ -1,24 +1,25 @@ - + OpenACS Bootstrap Installer OpenACS Bootstrap Installers t t - + oracle postgresql Don Baccus Bootstrap OpenACS and install the core packages. + 2002-05-15 OpenACS This package bootstraps OpenACS. If the core packages have not yet been installed, it calls the installer which leads the user through the steps necessary to do so. - + Index: openacs.org-dev/packages/acs-content/acs-content.info =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/acs-content/acs-content.info,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/acs-content/acs-content.info 9 Jul 2002 17:34:56 -0000 1.1.1.1 +++ openacs.org-dev/packages/acs-content/acs-content.info 5 Aug 2002 21:38:14 -0000 1.1.1.2 @@ -1,24 +1,24 @@ - + ACS Content acs-contents t t - + oracle postgresql Khy Huang Alpha Release - 2001-03-06 - ArsDigita Corporation + 2002-05-15 + OpenACS ACS content is a service for implementing side wide search. - + Index: openacs.org-dev/packages/acs-content-repository/acs-content-repository.info =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/acs-content-repository/acs-content-repository.info,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/acs-content-repository/acs-content-repository.info 9 Jul 2002 17:34:56 -0000 1.1.1.1 +++ openacs.org-dev/packages/acs-content-repository/acs-content-repository.info 5 Aug 2002 21:38:15 -0000 1.1.1.2 @@ -7,17 +7,18 @@ t t - + oracle postgresql - Karl Goldstein + Dan Wickstrom + Karl Goldstein A canonical repository for all OpenACS content. - 2001-03-07 + 2002-05-15 OpenACS - + @@ -79,11 +80,11 @@ - + Index: openacs.org-dev/packages/acs-core-docs/acs-core-docs.info =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/acs-core-docs/acs-core-docs.info,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/acs-core-docs/acs-core-docs.info 9 Jul 2002 17:34:57 -0000 1.1.1.1 +++ openacs.org-dev/packages/acs-core-docs/acs-core-docs.info 5 Aug 2002 21:38:16 -0000 1.1.1.2 @@ -1,50 +1,125 @@ - + ACS Core Documents ACS Core Documents - t t + t - + oracle postgresql - Richard Li + Richard Li + Vinod Kurup Documentation for the ACS Core. - 2001-03-06 - ArsDigita Corporation + 2002-05-15 + OpenACS - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -55,7 +130,6 @@ - @@ -66,28 +140,33 @@ - - + + + + + + - + + + - - - - + + + @@ -107,6 +186,7 @@ + Index: openacs.org-dev/packages/acs-kernel/acs-kernel.info =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/acs-kernel/acs-kernel.info,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/acs-kernel/acs-kernel.info 9 Jul 2002 17:34:58 -0000 1.1.1.1 +++ openacs.org-dev/packages/acs-kernel/acs-kernel.info 5 Aug 2002 21:38:19 -0000 1.1.1.2 @@ -7,13 +7,14 @@ t t - + oracle postgresql + Don Baccus Routines and data models providing the foundation for OpenACS-based Web services. - 2001-03-06 + 2002-05-15 OpenACS @@ -145,43 +146,43 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Index: openacs.org-dev/packages/acs-mail/acs-mail.info =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/acs-mail/acs-mail.info,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/acs-mail/acs-mail.info 9 Jul 2002 17:34:58 -0000 1.1.1.1 +++ openacs.org-dev/packages/acs-mail/acs-mail.info 5 Aug 2002 21:38:20 -0000 1.1.1.2 @@ -7,19 +7,19 @@ t t - + oracle postgresql - Vinod Kurup John Prevost + Vinod Kurup General messaging system, mark II - 2001-03-06 + 2002-05-15 OpenACS Provides generic message services, with email sending. - + Index: openacs.org-dev/packages/acs-messaging/acs-messaging.info =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/acs-messaging/acs-messaging.info,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/acs-messaging/acs-messaging.info 9 Jul 2002 17:34:58 -0000 1.1.1.1 +++ openacs.org-dev/packages/acs-messaging/acs-messaging.info 5 Aug 2002 21:38:21 -0000 1.1.1.2 @@ -1,25 +1,26 @@ - + ACS Messaging ACS Messaging Services t t - + oracle postgresql - John Prevost - Anukul Kapoor + Anukul Kapoor + John Prevost + Vinod Kurup General messaging for bboard, general comments, etc. - 2001-02-13 - ArsDigita Corporation + 2002-05-15 + OpenACS Provides generic message services, with email sending. - + Index: openacs.org-dev/packages/acs-service-contract/acs-service-contract.info =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/acs-service-contract/acs-service-contract.info,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/acs-service-contract/acs-service-contract.info 9 Jul 2002 17:34:58 -0000 1.1.1.1 +++ openacs.org-dev/packages/acs-service-contract/acs-service-contract.info 5 Aug 2002 21:38:22 -0000 1.1.1.2 @@ -7,15 +7,17 @@ t t - + oracle postgresql - Neophytos Demetriou Kapil Thangavelu + Neophytos Demetriou + 2002-05-15 + OpenACS - + Index: openacs.org-dev/packages/acs-subsite/acs-subsite.info =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/acs-subsite/acs-subsite.info,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/acs-subsite/acs-subsite.info 9 Jul 2002 17:34:58 -0000 1.1.1.1 +++ openacs.org-dev/packages/acs-subsite/acs-subsite.info 5 Aug 2002 21:38:22 -0000 1.1.1.2 @@ -7,21 +7,21 @@ t f - + oracle postgresql - Michael Yoon - Rafael Schloming - Oumi Mehrotra - Michael Bryzek - Provides the ability to create subsite within the ArsDigita Community System. - 2001-03-06 - ArsDigita Corporation + Michael Bryzek + Oumi Mehrotra + Rafael Schloming + Michael Yoon + Provides the ability to create subsite within the OpenACS Community System. + 2002-05-15 + OpenACS Aware of parties, groups, users, portraits, ... - + @@ -61,6 +61,7 @@ + @@ -440,6 +441,7 @@ + @@ -618,31 +620,31 @@ - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + Index: openacs.org-dev/packages/acs-subsite/www/admin/site-map/index-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/acs-subsite/www/admin/site-map/index-oracle.xql,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/acs-subsite/www/admin/site-map/index-oracle.xql 9 Jul 2002 17:34:59 -0000 1.1.1.1 +++ openacs.org-dev/packages/acs-subsite/www/admin/site-map/index-oracle.xql 5 Aug 2002 21:38:24 -0000 1.1.1.2 @@ -55,6 +55,7 @@ start with node_id = nvl(:root_id, site_node.node_id('/')) connect by prior node_id = parent_id and parent_id in ([join $expand ", "])) site_map where site_map.object_id = p.package_id (+) + order by url @@ -83,6 +84,7 @@ acs_permission.permission_p(package_id, :user_id, 'read') = 't' or acs_permission.permission_p(package_id, acs.magic_object_id('the_public'), 'read') = 't' ) + order by instance_name Index: openacs.org-dev/packages/acs-tcl/tcl/defs-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/acs-tcl/tcl/defs-procs.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/acs-tcl/tcl/defs-procs.tcl 9 Jul 2002 17:34:59 -0000 1.1.1.1 +++ openacs.org-dev/packages/acs-tcl/tcl/defs-procs.tcl 5 Aug 2002 21:38:25 -0000 1.1.1.2 @@ -489,16 +489,13 @@ if {[info exists set]} { set ns_param [parameter::set_value -package_id $package_id -parameter $name -value $set] } else { - set ns_param [ad_parameter_from_file $name $package_key] - if {[empty_string_p $ns_param]} { - set ns_param [parameter::get -package_id $package_id -parameter $name -default $default] - } + set ns_param [parameter::get -package_id $package_id -parameter $name -default $default] } return $ns_param } -ad_proc -deprecated ad_parameter_from_file { +ad_proc -public ad_parameter_from_file { name {package_key ""} } { Index: openacs.org-dev/packages/acs-tcl/tcl/parameter-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/acs-tcl/tcl/parameter-procs.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/acs-tcl/tcl/parameter-procs.tcl 9 Jul 2002 17:34:59 -0000 1.1.1.1 +++ openacs.org-dev/packages/acs-tcl/tcl/parameter-procs.tcl 5 Aug 2002 21:38:25 -0000 1.1.1.2 @@ -27,6 +27,7 @@ } db_exec_plsql set_parameter_value {} + return [ad_parameter_cache -set $value $package_id $parameter] } @@ -46,9 +47,17 @@ ::set package_id [ad_requested_object_id] } - ::set value [ad_parameter_cache $package_id $parameter] + # 1. check to see if this parameter is being set in the server's + # configuration file; this value has highest precedence + ::set value [ad_parameter_from_file $parameter $package_id] + # 2. check the parameter cache if {[empty_string_p $value]} { + ::set value [ad_parameter_cache $package_id $parameter] + } + + # 3. use the default value + if {[empty_string_p $value]} { ::set value $default } @@ -60,9 +69,10 @@ {-parameter:required} {-value:required} } { - set_value -package_id [apm_package_id_from_key $package_key] \ - -parameter $parameter \ - -value $value + set_value \ + -package_id [apm_package_id_from_key $package_key] \ + -parameter $parameter \ + -value $value } ad_proc -public get_from_package_key { @@ -83,7 +93,7 @@ ::set value [get \ -package_id [apm_package_id_from_key $package_key] \ -parameter $parameter \ - -default $default + -default $default \ ] } { ::set value $default Index: openacs.org-dev/packages/acs-templating/acs-templating.info =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/acs-templating/acs-templating.info,v diff -u -r1.1.1.2 -r1.1.1.3 --- openacs.org-dev/packages/acs-templating/acs-templating.info 25 Jul 2002 18:46:52 -0000 1.1.1.2 +++ openacs.org-dev/packages/acs-templating/acs-templating.info 5 Aug 2002 21:38:25 -0000 1.1.1.3 @@ -1,27 +1,27 @@ - + ACS Templating ACS Templating Services t t - + oracle postgresql - Christian Brechb - Karl Goldstein + Christian Brechb + Karl Goldstein Separate page layout and implementation. - 2001-02-21 + 2002-05-15 ArsDigita Corporation The template system provides mechanisms that allow developers and graphic designers to work independently. Templates specify the layout of the page seperately from the contents of the page. Graphic designers work primarily on the layout part of the template (the template), while programmers work primarily a script that generates the the content part of the template (the code). In addition, the template system provides a way to use a single layout specification for many physical pages, so the overall layout of a site can be more easily administered. - + Index: openacs.org-dev/packages/acs-util/acs-util.info =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/acs-util/acs-util.info,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/acs-util/acs-util.info 9 Jul 2002 17:35:00 -0000 1.1.1.1 +++ openacs.org-dev/packages/acs-util/acs-util.info 5 Aug 2002 21:38:28 -0000 1.1.1.2 @@ -7,17 +7,17 @@ t t - + oracle postgresql ACS Team A set of utility functions that supplement the ACS Kernel. - 2000-11-09 - ArsDigita Corporation + 2002-05-15 + OpenACS - + Index: openacs.org-dev/packages/acs-workflow/acs-workflow.info =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/acs-workflow/acs-workflow.info,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/acs-workflow/acs-workflow.info 9 Jul 2002 17:35:00 -0000 1.1.1.1 +++ openacs.org-dev/packages/acs-workflow/acs-workflow.info 5 Aug 2002 21:38:28 -0000 1.1.1.2 @@ -7,7 +7,7 @@ t t - + oracle postgresql @@ -16,10 +16,10 @@ Neophytos Demetriou Daniel Wickstrom Provides generic workflow management features to all ACS objects. - 2001-03-06 - ArsDigita Corporation + 2002-05-15 + OpenACS - + Index: openacs.org-dev/packages/attachments/www/download/index.xql =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/attachments/www/download/index.xql,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/attachments/www/download/index.xql 9 Jul 2002 17:35:01 -0000 1.1.1.1 +++ openacs.org-dev/packages/attachments/www/download/index.xql 5 Aug 2002 21:38:32 -0000 1.1.1.2 @@ -1,14 +1,14 @@ - - - -select live_revision -from cr_items, attachments -where cr_items.item_id = attachments.item_id -and attachments.object_id = :object_id - - - - + + + + select live_revision + from cr_items, attachments + where cr_items.item_id = attachments.item_id + and attachments.object_id = :object_id + and attachments.item_id = :attachment_id + + + Index: openacs.org-dev/packages/bug-tracker/tcl/bug-tracker-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/bug-tracker/tcl/bug-tracker-procs.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/bug-tracker/tcl/bug-tracker-procs.tcl 9 Jul 2002 17:35:01 -0000 1.1.1.1 +++ openacs.org-dev/packages/bug-tracker/tcl/bug-tracker-procs.tcl 5 Aug 2002 21:38:34 -0000 1.1.1.2 @@ -620,7 +620,10 @@ foreach email [array names recipient] { if { $recipient($email) && ![empty_string_p $email] } { - ns_sendmail $email $sender_email $subject $body + if {[catch {ns_sendmail $email $sender_email $subject $body} errmsg]} { + # In case we can't send the email + ns_log Notice "\[bug-tracker\] Error sending email: $errmsg" + } } } } Index: openacs.org-dev/packages/calendar/tcl/calendar-2-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/calendar/tcl/calendar-2-procs.tcl,v diff -u -r1.1.1.2 -r1.1.1.3 --- openacs.org-dev/packages/calendar/tcl/calendar-2-procs.tcl 25 Jul 2002 18:47:00 -0000 1.1.1.2 +++ openacs.org-dev/packages/calendar/tcl/calendar-2-procs.tcl 5 Aug 2002 21:38:35 -0000 1.1.1.3 @@ -190,4 +190,13 @@ ] } + ad_proc -public rename { + {-calendar_id:required} + {-name:required} + } { + rename a calendar + } { + db_dml rename_calendar {} + } + } Index: openacs.org-dev/packages/calendar/tcl/calendar-2-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/calendar/tcl/calendar-2-procs.xql,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/calendar/tcl/calendar-2-procs.xql 9 Jul 2002 17:35:02 -0000 1.1.1.1 +++ openacs.org-dev/packages/calendar/tcl/calendar-2-procs.xql 5 Aug 2002 21:38:35 -0000 1.1.1.2 @@ -42,4 +42,12 @@ + + + update calendars + set calendar_name = :name + where calendar_id = :calendar_id + + + Index: openacs.org-dev/packages/ecommerce/www/address-2.adp =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/ecommerce/www/address-2.adp,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/ecommerce/www/address-2.adp 9 Jul 2002 17:35:05 -0000 1.1.1.1 +++ openacs.org-dev/packages/ecommerce/www/address-2.adp 5 Aug 2002 21:38:45 -0000 1.1.1.2 @@ -7,7 +7,7 @@ Enter Your Billing Address Has Been Store - + checkout {Select Billing Address}

Your Billing Address Has Been Stored

Index: openacs.org-dev/packages/ecommerce/www/address-international-2.adp =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/ecommerce/www/address-international-2.adp,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/ecommerce/www/address-international-2.adp 9 Jul 2002 17:35:05 -0000 1.1.1.1 +++ openacs.org-dev/packages/ecommerce/www/address-international-2.adp 5 Aug 2002 21:38:45 -0000 1.1.1.2 @@ -7,7 +7,7 @@
Enter Your Billing Address Has Been Store - + checkout {Select Billing Address}

Your Billing Address Has Been Stored

Index: openacs.org-dev/packages/ecommerce/www/address-international.adp =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/ecommerce/www/address-international.adp,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/ecommerce/www/address-international.adp 9 Jul 2002 17:35:05 -0000 1.1.1.1 +++ openacs.org-dev/packages/ecommerce/www/address-international.adp 5 Aug 2002 21:38:45 -0000 1.1.1.2 @@ -6,7 +6,7 @@

Enter Your Shipping Address

- + checkout {Select Billing Address}

Enter Your Billing Address

Index: openacs.org-dev/packages/ecommerce/www/address-international.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/ecommerce/www/address-international.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/ecommerce/www/address-international.tcl 9 Jul 2002 17:35:05 -0000 1.1.1.1 +++ openacs.org-dev/packages/ecommerce/www/address-international.tcl 5 Aug 2002 21:38:45 -0000 1.1.1.2 @@ -50,6 +50,8 @@ set header_set [ns_conn headers] set action [ns_set get [ns_conn headers] Referer] +# This will set "action" to be "foo" out of "http://bar.com/baz/foo" +set action [string range $action [expr [string last "/" $action] +1] end] # Get the form vars that were passed on delete-address so that they # can be passed back to the calling url. gift-certificate-billing has Index: openacs.org-dev/packages/ecommerce/www/address.adp =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/ecommerce/www/address.adp,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/ecommerce/www/address.adp 9 Jul 2002 17:35:05 -0000 1.1.1.1 +++ openacs.org-dev/packages/ecommerce/www/address.adp 5 Aug 2002 21:38:45 -0000 1.1.1.2 @@ -7,7 +7,7 @@
Enter Your Billing Address - + checkout {Select Billing Address}

Enter Your Billing Address

Index: openacs.org-dev/packages/ecommerce/www/address.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/ecommerce/www/address.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/ecommerce/www/address.tcl 9 Jul 2002 17:35:05 -0000 1.1.1.1 +++ openacs.org-dev/packages/ecommerce/www/address.tcl 5 Aug 2002 21:38:45 -0000 1.1.1.2 @@ -68,6 +68,8 @@ set header_set [ns_conn headers] set action [ns_set get [ns_conn headers] Referer] +# This will set "action" to be "foo" out of "http://bar.com/baz/foo" +set action [string range $action [expr [string last "/" $action] + 1] end] # Get the form vars that were passed on delete-address so that they # can be passed back to the calling url. gift-certificate-billing has Index: openacs.org-dev/packages/ecommerce/www/checkout.adp =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/ecommerce/www/checkout.adp,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/ecommerce/www/checkout.adp 9 Jul 2002 17:35:05 -0000 1.1.1.1 +++ openacs.org-dev/packages/ecommerce/www/checkout.adp 5 Aug 2002 21:38:45 -0000 1.1.1.2 @@ -6,7 +6,6 @@
-

Please choose your shipping address.

@@ -77,15 +76,5 @@ - - -

Your order does not need a shipping address

-
- @hidden_form_vars@ -
- -
-
-
Index: openacs.org-dev/packages/ecommerce/www/checkout.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/ecommerce/www/checkout.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/ecommerce/www/checkout.tcl 9 Jul 2002 17:35:05 -0000 1.1.1.1 +++ openacs.org-dev/packages/ecommerce/www/checkout.tcl 5 Aug 2002 21:38:45 -0000 1.1.1.2 @@ -59,11 +59,14 @@ # Present all saved addresses - template::query get_user_addresses addresses multirow " - select address_id, attn, line1, line2, city, usps_abbrev, zip_code, phone, country_code, full_state_name, phone_time, address_type - from ec_addresses - where user_id=:user_id - and address_type = 'shipping'" -eval { + db_multirow get_user_addresses addresses { + select address_id, attn, line1, line2, city, usps_abbrev, + zip_code, phone, country_code, full_state_name, phone_time, + address_type + from ec_addresses + where user_id=:user_id + and address_type = 'shipping' + } { set row(formatted) [ec_display_as_html [ec_pretty_mailing_address_from_args $row(line1) $row(line2) $row(city) $row(usps_abbrev) $row(zip_code) $row(country_code) \ $row(full_state_name) $row(attn) $row(phone) $row(phone_time)]] @@ -73,10 +76,14 @@ set row(use) "[export_form_vars address_id]" } set hidden_form_vars [export_form_vars address_type] + } else { - set address_id "" - set hidden_form_vars [export_form_vars address_id address_type] set shipping_required false } +if { $shipping_required == "false" } { + set address_id "" + ad_returnredirect "checkout-2?[export_url_vars address_id address_type]" +} + db_release_unused_handles Index: openacs.org-dev/packages/ecommerce/www/delete-address.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/ecommerce/www/delete-address.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/ecommerce/www/delete-address.tcl 9 Jul 2002 17:35:05 -0000 1.1.1.1 +++ openacs.org-dev/packages/ecommerce/www/delete-address.tcl 5 Aug 2002 21:38:45 -0000 1.1.1.2 @@ -33,6 +33,8 @@ set header_set [ns_conn headers] set action [ns_set get [ns_conn headers] Referer] +# This will set "action" to be "foo" out of "http://bar.com/baz/foo" +set action [string range $action [expr [string last "/" $action] + 1] end] # Get the form vars that were passed on delete-address so that they # can be passed back to the calling url. gift-certificate-billing has Index: openacs.org-dev/packages/ecommerce/www/select-shipping.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/ecommerce/www/select-shipping.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/ecommerce/www/select-shipping.tcl 9 Jul 2002 17:35:05 -0000 1.1.1.1 +++ openacs.org-dev/packages/ecommerce/www/select-shipping.tcl 5 Aug 2002 21:38:45 -0000 1.1.1.2 @@ -251,8 +251,7 @@ } } } else { - set shipping_options " -

Your order does not need shipping.

" + ad_returnredirect "[ec_securelink [ec_url]billing]" } Index: openacs.org-dev/packages/ecommerce/www/shopping-cart.adp =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/ecommerce/www/shopping-cart.adp,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/ecommerce/www/shopping-cart.adp 9 Jul 2002 17:35:05 -0000 1.1.1.1 +++ openacs.org-dev/packages/ecommerce/www/shopping-cart.adp 5 Aug 2002 21:38:46 -0000 1.1.1.2 @@ -2,11 +2,101 @@ Your Shopping Cart Your Shopping Cart -

Your Shopping Cart

+

Shopping Cart

+ + for @first_names@ @last_name@ (if you're not @first_names@ @last_name@, + click here). +
-

@cart_contents@

+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Shopping Cart ItemsOptionsQuantityPrice/ItemAction
+ @in_cart.product_name@ + + + Color: @in_cart.color_choice@ + + +
Size: @in_cart.size_choice@ +
+ +
Style: @in_cart.style_choice@ +
+
+ + + @price_line@ + + delete +
Total:@product_counter@@pretty_total_price@
+ Residents of @tax_entries.state@, please add @tax_entries.pretty_tax@ tax. +
+
+
+ +
+
+
+
+
+
+ +
Your Shopping Cart is empty.
+
+
Index: openacs.org-dev/packages/ecommerce/www/shopping-cart.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/ecommerce/www/shopping-cart.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/ecommerce/www/shopping-cart.tcl 9 Jul 2002 17:35:05 -0000 1.1.1.1 +++ openacs.org-dev/packages/ecommerce/www/shopping-cart.tcl 5 Aug 2002 21:38:46 -0000 1.1.1.2 @@ -19,18 +19,24 @@ # Create the link now before the product_id gets overwritten when # looping through the products in the cart. +set previous_product_id_p 0 +set previous_product_id 0 + if {[info exists product_id]} { - set bottom_links "
  • Continue Shopping
  • " -} else { - set bottom_links "
  • Continue Shopping
  • " -} + set previous_product_id_p 1 + set previous_product_id $product_id +} -set cart_contents "" - # We don't need them to be logged in, but if they are they might get a # lower price +set first_names "" +set last_name "" +set email "" set user_id [ad_verify_and_get_user_id] +if { $user_id != 0 } { + ad_get_user_info +} # user sessions: # 1. get user_session_id from cookie @@ -41,15 +47,18 @@ set user_session_id [ec_get_user_session_id] ec_create_new_session_if_necessary -set n_items_in_cart [db_string get_n_items " - select count(*) - from ec_orders o, ec_items i - where o.order_id=i.order_id - and o.user_session_id=:user_session_id and o.order_state='in_basket'"] +# This is not being used anywhere +#set n_items_in_cart [db_string get_n_items " +# select count(*) +# from ec_orders o, ec_items i +# where o.order_id=i.order_id +# and o.user_session_id=:user_session_id and o.order_state='in_basket'"] + set product_counter 0 set total_price 0 -db_foreach get_products_in_cart " + +db_multirow in_cart get_products_in_cart " select p.product_name, p.one_line_description, p.product_id, count(*) as quantity, u.offer_code, i.color_choice, i.size_choice, i.style_choice from ec_orders o, ec_items i, ec_products p, (select product_id, offer_code from ec_user_session_offer_codes usoc where usoc.user_session_id=:user_session_id) u @@ -59,54 +68,14 @@ and o.user_session_id=:user_session_id and o.order_state='in_basket' group by p.product_name, p.one_line_description, p.product_id, u.offer_code, i.color_choice, i.size_choice, i.style_choice" { - # No products listed yet, print header. - - if { $product_counter == 0 } { - append cart_contents " -
    -
    - - - - - - - - " - } - - # Prepare color, size and style option list - - set option_list [list] - if { ![empty_string_p $color_choice] } { - lappend option_list "Color: $color_choice" - } - if { ![empty_string_p $size_choice] } { - lappend option_list "Size: $size_choice" - } - if { ![empty_string_p $style_choice] } { - lappend option_list "Style: $style_choice" - } - set options [join $option_list "
    "] - - # Print the product with name, selected options and quantity - - append cart_contents " - - - - " - # Deletions are done by product_id, color_choice, size_choice, # style_choice, not by item_id because we want to delete the # entire quantity of that product. Also print the price for a # product of the selected options and the aforementioned delete # option. - append cart_contents " - - - " + set price_line [ec_price_line $product_id $user_id $offer_code] + set delete_export_vars [export_url_vars product_id color_choice size_choice style_choice] # Too bad I have to do another call to get the price. That is # because ec_price_line returns canned html instead of the price. @@ -121,50 +90,18 @@ } # Add adjust quantities line if there are products in the cart. +set pretty_total_price [ec_pretty_price $total_price [ad_parameter -package_id [ec_id] Currency]] -if { $product_counter != 0 } { - append cart_contents " - - - - - - " +# List the states that get charged tax. Although not 100% accurate +# as shipping might be taxed too this is better than nothing. - # List the states that get charged tax. Although not 100% accurate - # as shipping might be taxed too this better than nothing. - - db_foreach tax_states " - select tax_rate, initcap(state_name) as state +db_multirow -extend { pretty_tax } tax_entries tax_states " + select tax_rate, initcap(state_name) as state from ec_sales_tax_by_state tax, us_states state where state.abbrev = tax.usps_abbrev" { - append cart_contents " - - - " - } + set pretty_tax "[format %0.2f [expr $tax_rate * 100]]%" } -# Close product listing and add proceed to checkout button. - -if { $product_counter != 0 } { - append cart_contents " -
    Shopping Cart ItemsOptionsQuantityPrice/ItemAction
    $product_name$options[ec_price_line $product_id $user_id $offer_code]delete
    Total:$product_counter[ec_pretty_price $total_price [ad_parameter -package_id [ec_id] Currency]]
    Residents of $state, please add [format %0.2f [expr $tax_rate * 100]]% tax.
    -
    -
    -
    -
    -
    -
    -
    " -} else { - - # There are no products in the cart. - - append cart_contents " -
    Your Shopping Cart is empty.
    " -} - # bottom links: # 1) continue shopping (always and already created) # 2) log in (if they're not logged in) @@ -174,32 +111,20 @@ if { $user_id == 0 } { # Case 2) the user is not logged in. + set return_url=[ns_urlencode "[ec_url]"] - append bottom_links " -
  • Log In
  • " } else { - if { ![empty_string_p [db_string check_for_saved_carts " + # Case 3) Retrieve saved carts + set saved_carts_p [db_string check_for_saved_carts " select 1 from dual where exists ( select 1 from ec_orders where user_id=:user_id and order_state='in_basket' - and saved_p='t')" -default ""]] } { - - # Case 3) Retrieve saved carts - - append bottom_links "
  • Retrieve a Saved Cart
  • " - } + and saved_p='t')" -default ""] } -if { $product_counter != 0 } { - - # Case 4) Save non empty cart - - append bottom_links "
  • Save Your Cart for Later
  • " -} - db_release_unused_handles ad_return_template Index: openacs.org-dev/packages/file-storage/sql/postgresql/file-storage-package-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/file-storage/sql/postgresql/file-storage-package-create.sql,v diff -u -r1.1.1.3 -r1.1.1.4 --- openacs.org-dev/packages/file-storage/sql/postgresql/file-storage-package-create.sql 31 Jul 2002 16:31:15 -0000 1.1.1.3 +++ openacs.org-dev/packages/file-storage/sql/postgresql/file-storage-package-create.sql 5 Aug 2002 21:38:50 -0000 1.1.1.4 @@ -43,18 +43,19 @@ declare get_package_id__item_id alias for $1; v_package_id fs_root_folders.package_id%TYPE; + v_tree_sortkey cr_items.tree_sortkey%TYPE; begin + select tree_ancestor_key(tree_sortkey, 2) + into v_tree_sortkey + from cr_items + where item_id = get_package_id__item_id; + select fs_root_folders.package_id into v_package_id from fs_root_folders, - (select c1.item_id - from cr_items c1, - cr_items c2 - where c2.item_id = get_package_id__item_id - and c1.tree_sortkey between c2.tree_sortkey and tree_right(c2.tree_sortkey) - and c1.item_id <> get_package_id__item_id - order by c1.tree_sortkey desc) this - where fs_root_folders.folder_id = this.item_id; + cr_items + where fs_root_folders.folder_id = cr_items.item_id + and cr_items.tree_sortkey = v_tree_sortkey; if NOT FOUND then return null; Index: openacs.org-dev/packages/forums/sql/postgresql/forums-forums-package-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/forums/sql/postgresql/forums-forums-package-create.sql,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/forums/sql/postgresql/forums-forums-package-create.sql 9 Jul 2002 17:35:09 -0000 1.1.1.1 +++ openacs.org-dev/packages/forums/sql/postgresql/forums-forums-package-create.sql 5 Aug 2002 21:38:51 -0000 1.1.1.2 @@ -35,15 +35,15 @@ p_creation_date, p_creation_user, p_creation_ip, - p_context_id + coalesce(p_context_id, p_package_id) ); insert into forums_forums (forum_id, name, charter, presentation_type, posting_policy, package_id) values (v_forum_id, p_name, p_charter, p_presentation_type, p_posting_policy, p_package_id); - perform acs_object__update_last_modified(p_context_id); + perform acs_object__update_last_modified(coalesce(p_context_id, p_package_id)); return v_forum_id; end; Index: openacs.org-dev/packages/forums/sql/postgresql/forums-messages-package-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/forums/sql/postgresql/forums-messages-package-create.sql,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/forums/sql/postgresql/forums-messages-package-create.sql 9 Jul 2002 17:35:09 -0000 1.1.1.1 +++ openacs.org-dev/packages/forums/sql/postgresql/forums-messages-package-create.sql 5 Aug 2002 21:38:51 -0000 1.1.1.2 @@ -41,7 +41,7 @@ p_creation_date, p_creation_user, p_creation_ip, - p_context_id + coalesce(p_context_id, p_forum_id) ); if p_state is null then Index: openacs.org-dev/packages/forums/www/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/forums/www/index.adp,v diff -u -r1.1.1.2 -r1.1.1.3 --- openacs.org-dev/packages/forums/www/index.adp 31 Jul 2002 16:31:16 -0000 1.1.1.2 +++ openacs.org-dev/packages/forums/www/index.adp 5 Aug 2002 21:38:51 -0000 1.1.1.3 @@ -7,7 +7,7 @@ - [ New Forum ] + [ New Forum | Administration ]   Index: openacs.org-dev/packages/forums/www/master.adp =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/forums/www/master.adp,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/forums/www/master.adp 9 Jul 2002 17:35:09 -0000 1.1.1.1 +++ openacs.org-dev/packages/forums/www/master.adp 5 Aug 2002 21:38:51 -0000 1.1.1.2 @@ -1,5 +1,6 @@ @title@ +@focus@

    @title@

    Index: openacs.org-dev/packages/forums/www/message-post-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/forums/www/message-post-oracle.xql,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/forums/www/message-post-oracle.xql 31 Jul 2002 16:31:16 -0000 1.1.1.1 +++ openacs.org-dev/packages/forums/www/message-post-oracle.xql 5 Aug 2002 21:38:51 -0000 1.1.1.2 @@ -2,7 +2,7 @@ oracle8.1.6 - + select to_char(sysdate, 'Mon DD YYYY HH24:MI:SS') from dual Index: openacs.org-dev/packages/forums/www/message-post.adp =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/forums/www/message-post.adp,v diff -u -r1.1.1.2 -r1.1.1.3 --- openacs.org-dev/packages/forums/www/message-post.adp 31 Jul 2002 16:31:16 -0000 1.1.1.2 +++ openacs.org-dev/packages/forums/www/message-post.adp 5 Aug 2002 21:38:51 -0000 1.1.1.3 @@ -1,6 +1,7 @@ Post to Forum: @forum.name@ @context_bar@ +message.subject Index: openacs.org-dev/packages/forums/www/admin/forum-edit.adp =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/forums/www/admin/forum-edit.adp,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/forums/www/admin/forum-edit.adp 9 Jul 2002 17:35:09 -0000 1.1.1.1 +++ openacs.org-dev/packages/forums/www/admin/forum-edit.adp 5 Aug 2002 21:38:52 -0000 1.1.1.2 @@ -1,6 +1,7 @@ Edit Forum: @forum.name@ - +@context_bar@ +forum.name This forum is enabled. You may disable it. Index: openacs.org-dev/packages/forums/www/admin/forum-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/forums/www/admin/forum-edit.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/forums/www/admin/forum-edit.tcl 9 Jul 2002 17:35:09 -0000 1.1.1.1 +++ openacs.org-dev/packages/forums/www/admin/forum-edit.tcl 5 Aug 2002 21:38:52 -0000 1.1.1.2 @@ -19,7 +19,7 @@ -label "Name" -datatype text -widget text -html {size 60} element create forum charter \ - -label "Charter" -datatype text -widget textarea -html {cols 60 rows 10 wrap soft} + -label "Charter" -datatype text -widget textarea -html {cols 60 rows 10 wrap soft} -optional element create forum presentation_type \ -label "Presentation" -datatype text -widget select -options {{Flat flat} {Threaded threaded}} @@ -61,11 +61,15 @@ ad_script_abort } -element set_properties forum forum_id -value $forum_id -element set_properties forum name -value $forum(name) -element set_properties forum charter -value $forum(charter) -element set_properties forum presentation_type -value $forum(presentation_type) -element set_properties forum posting_policy -value $forum(posting_policy) -element set_properties forum new_threads_p -value [forum::new_questions_allowed_p -forum_id $forum_id] +set context_bar [list "Edit forum"] + +if { [form is_request forum] } { + element set_properties forum forum_id -value $forum_id + element set_properties forum name -value $forum(name) + element set_properties forum charter -value $forum(charter) + element set_properties forum presentation_type -value $forum(presentation_type) + element set_properties forum posting_policy -value $forum(posting_policy) + element set_properties forum new_threads_p -value [forum::new_questions_allowed_p -forum_id $forum_id] +} ad_return_template Index: openacs.org-dev/packages/forums/www/admin/forum-new.adp =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/forums/www/admin/forum-new.adp,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/forums/www/admin/forum-new.adp 9 Jul 2002 17:35:09 -0000 1.1.1.1 +++ openacs.org-dev/packages/forums/www/admin/forum-new.adp 5 Aug 2002 21:38:52 -0000 1.1.1.2 @@ -1,5 +1,6 @@ Create New Forum - +@context_bar@ +forum.name Index: openacs.org-dev/packages/forums/www/admin/forum-new.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/forums/www/admin/forum-new.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/forums/www/admin/forum-new.tcl 9 Jul 2002 17:35:09 -0000 1.1.1.1 +++ openacs.org-dev/packages/forums/www/admin/forum-new.tcl 5 Aug 2002 21:38:52 -0000 1.1.1.2 @@ -73,11 +73,15 @@ ad_script_abort } -# Pre-fetch the forum_id -set forum_id [db_nextval acs_object_id_seq] -element set_properties forum forum_id -value $forum_id -element set_properties forum name -value $name -element set_properties forum presentation_type -value threaded -element set_properties forum new_threads_p -value 1 +set context_bar [list "Create New Forum"] +if { [form is_request forum] } { + # Pre-fetch the forum_id + set forum_id [db_nextval acs_object_id_seq] + element set_properties forum forum_id -value $forum_id + element set_properties forum name -value $name + element set_properties forum presentation_type -value threaded + element set_properties forum new_threads_p -value 1 +} + ad_return_template Index: openacs.org-dev/packages/notifications/tcl/notification-display-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/notifications/tcl/notification-display-procs.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/notifications/tcl/notification-display-procs.tcl 9 Jul 2002 17:35:10 -0000 1.1.1.1 +++ openacs.org-dev/packages/notifications/tcl/notification-display-procs.tcl 5 Aug 2002 21:38:55 -0000 1.1.1.2 @@ -33,7 +33,7 @@ set sub_url [unsubscribe_url -request_id $request_id -url $url] set sub_chunk "You have requested notification for $pretty_name. You may unsubscribe." } else { - set sub_url [subscribe_url -type $type -object_id $object_id -url $url -user_id $user_id] + set sub_url [subscribe_url -type $type -object_id $object_id -url $url -user_id $user_id -pretty_name $pretty_name] set sub_chunk "You may request notification for $pretty_name." } @@ -45,11 +45,12 @@ {-object_id:required} {-url:required} {-user_id:required} + {-pretty_name} } { set type_id [notification::type::get_type_id -short_name $type] set root_path [apm_package_url_from_key [notification::package_key]] - set subscribe_url "${root_path}request-new?type_id=$type_id&user_id=$user_id&object_id=$object_id&return_url=[ns_urlencode $url]" + set subscribe_url "${root_path}request-new?[export_vars { type_id user_id object_id pretty_name {return_url $url} }]" return $subscribe_url } Index: openacs.org-dev/packages/notifications/tcl/notification-procs-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/notifications/tcl/notification-procs-oracle.xql,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/notifications/tcl/notification-procs-oracle.xql 9 Jul 2002 17:35:10 -0000 1.1.1.1 +++ openacs.org-dev/packages/notifications/tcl/notification-procs-oracle.xql 5 Aug 2002 21:38:55 -0000 1.1.1.2 @@ -11,4 +11,15 @@ + + + insert + into notification_user_map + (notification_id, user_id, sent_date) + values + (:notification_id, :user_id, sysdate) + + + + Index: openacs.org-dev/packages/notifications/tcl/notification-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/notifications/tcl/notification-procs-postgresql.xql,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/notifications/tcl/notification-procs-postgresql.xql 9 Jul 2002 17:35:10 -0000 1.1.1.1 +++ openacs.org-dev/packages/notifications/tcl/notification-procs-postgresql.xql 5 Aug 2002 21:38:55 -0000 1.1.1.2 @@ -9,4 +9,14 @@ + + + insert + into notification_user_map + (notification_id, user_id, sent_date) + values + (:notification_id, :user_id, now()) + + + Index: openacs.org-dev/packages/notifications/tcl/notification-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/notifications/tcl/notification-procs.xql,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/notifications/tcl/notification-procs.xql 9 Jul 2002 17:35:10 -0000 1.1.1.1 +++ openacs.org-dev/packages/notifications/tcl/notification-procs.xql 5 Aug 2002 21:38:55 -0000 1.1.1.2 @@ -60,14 +60,4 @@ - - - insert - into notification_user_map - (notification_id, user_id, sent_date) - values - (:notification_id, :user_id, sysdate) - - - Index: openacs.org-dev/packages/notifications/tcl/sweep-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/notifications/tcl/sweep-procs-postgresql.xql,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/notifications/tcl/sweep-procs-postgresql.xql 9 Jul 2002 17:35:10 -0000 1.1.1.1 +++ openacs.org-dev/packages/notifications/tcl/sweep-procs-postgresql.xql 5 Aug 2002 21:38:55 -0000 1.1.1.2 @@ -27,6 +27,9 @@ notifications.notif_text, notifications.notif_html, notification_requests.user_id, + notification_requests.type_id, + notification_requests.delivery_method_id, + notifications.response_id, acs_object__name(notifications.object_id) as object_name from notifications inner join notification_requests Index: openacs.org-dev/packages/notifications/www/request-new.adp =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/notifications/www/request-new.adp,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/notifications/www/request-new.adp 9 Jul 2002 17:35:10 -0000 1.1.1.1 +++ openacs.org-dev/packages/notifications/www/request-new.adp 5 Aug 2002 21:38:55 -0000 1.1.1.2 @@ -1,5 +1,8 @@ -New Notification Request for @pretty_name@ - +@page_title@ - +

    @page_title@

    +@context_bar@ +
    + + Index: openacs.org-dev/packages/notifications/www/request-new.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/notifications/www/request-new.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/notifications/www/request-new.tcl 9 Jul 2002 17:35:10 -0000 1.1.1.1 +++ openacs.org-dev/packages/notifications/www/request-new.tcl 5 Aug 2002 21:38:55 -0000 1.1.1.2 @@ -18,27 +18,32 @@ # Check that the object can be subcribed to notification::security::require_notify_object -object_id $object_id -form create request +set page_title "Request Notification for $pretty_name" -element create request type_id \ +set context_bar [ad_context_bar $page_title] + + +form create subscribe + +element create subscribe type_id \ -label "Type ID" -datatype integer -widget hidden -element create request object_id \ +element create subscribe object_id \ -label "Object ID" -datatype integer -widget hidden -element create request return_url \ +element create subscribe return_url \ -label "Return URL" -datatype text -widget hidden -element create request interval_id \ +element create subscribe interval_id \ -label "Notification Interval" -datatype integer -widget select -options [notification::get_intervals -type_id $type_id] -element create request delivery_method_id \ +element create subscribe delivery_method_id \ -label "Delivery Method" -datatype integer -widget select -options [notification::get_delivery_methods -type_id $type_id] -if {[form is_valid request]} { - template::form get_values request type_id object_id return_url interval_id delivery_method_id +if {[form is_valid subscribe]} { + template::form get_values subscribe type_id object_id return_url interval_id delivery_method_id - # Add the request + # Add the subscribe notification::request::new \ -type_id $type_id \ -user_id $user_id \ @@ -50,6 +55,6 @@ ad_script_abort } -element set_properties request type_id -value $type_id -element set_properties request object_id -value $object_id -element set_properties request return_url -value $return_url +element set_properties subscribe type_id -value $type_id +element set_properties subscribe object_id -value $object_id +element set_properties subscribe return_url -value $return_url Index: openacs.org-dev/packages/page/page.info =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/page/page.info,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/page/page.info 9 Jul 2002 17:35:10 -0000 1.1.1.1 +++ openacs.org-dev/packages/page/page.info 5 Aug 2002 21:38:55 -0000 1.1.1.2 @@ -7,14 +7,15 @@ t f - + oracle postgresql - Rafael Schloming + Rafael Schloming Creates a page. - ArsDigita Corporation + 2002-05-15 + OpenACS Index: openacs.org-dev/packages/search/search.info =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/search/search.info,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/search/search.info 9 Jul 2002 17:35:12 -0000 1.1.1.1 +++ openacs.org-dev/packages/search/search.info 5 Aug 2002 21:39:17 -0000 1.1.1.2 @@ -7,14 +7,16 @@ t f - + oracle postgresql Neophytos Demetriou + 2002-05-15 + OpenACS - + @@ -41,6 +43,7 @@ + @@ -51,11 +54,11 @@ - - - - + + + + Index: openacs.org-dev/packages/search/tcl/search-procs-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/search/tcl/search-procs-oracle.xql,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/search/tcl/search-procs-oracle.xql 9 Jul 2002 17:35:12 -0000 1.1.1.1 +++ openacs.org-dev/packages/search/tcl/search-procs-oracle.xql 5 Aug 2002 21:39:17 -0000 1.1.1.2 @@ -1,7 +1,7 @@ - postgresql>7.1 + oracle8.1.6 Index: openacs.org-dev/packages/search/tcl/search-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/search/tcl/search-procs-postgresql.xql,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/search/tcl/search-procs-postgresql.xql 9 Jul 2002 17:35:12 -0000 1.1.1.1 +++ openacs.org-dev/packages/search/tcl/search-procs-postgresql.xql 5 Aug 2002 21:39:17 -0000 1.1.1.2 @@ -1,13 +1,13 @@ - postgresql>7.1 + postgresql7.1 select search_observer__dequeue( :object_id, - :date, + :event_date, :event ); Index: openacs.org-dev/packages/skin/skin.info =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/skin/skin.info,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/skin/skin.info 9 Jul 2002 17:35:13 -0000 1.1.1.1 +++ openacs.org-dev/packages/skin/skin.info 5 Aug 2002 21:39:30 -0000 1.1.1.2 @@ -1,21 +1,21 @@ - + Skin Skins t t - + oracle postgresql - Christian Brechbuhler + Christian Brechbuhler Demonstration of skins or cobranding. - 2001-02-23 - ArsDigita Corporation + 2002-05-15 + OpenACS Show how the template system lets you give different looks to pages depending on the subsite under which they are mounted.