• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
typo was breaking list_applets when passed a comm id, so clone broke

    • -1
    • +1
    ./packages/dotlrn/tcl/community-procs.xql
We use $n_past-days instead of :n_past_days becasuse he pgdriver

bind variable emulation puts single-quotes around the n_past_days

integer. Postgresql tries to turn '-1' into a date datatype

so now()-'-1' fails but now()- -1 works fine.

By Dave Bauer in the process of migrating the openacs.org site.

Added an options parameter (posting_date) to forum::message:new so posting date can be preserved (by Ola Hansen).

    • -2
    • +3
    ./packages/forums/tcl/messages-procs.tcl
added "maxlength 100" constraint to the dept name form

    • -2
    • +2
    ./packages/dotlrn/www/admin/department-new.tcl
ad_script_abort instead of return

    • -3
    • +3
    ./packages/acs-subsite/www/pvt/home.tcl
fixed calendar weekly display for PG

fixed things into a single calendar query rather than multiple (not quite finished)

fixed the weekly widget

changed db_dml call to db_exec_plsql to get pg version working

    • -2
    • +2
    ./packages/dotlrn/tcl/community-procs.tcl
postgres stuff

    • -0
    • +32
    ./packages/fs-portlet/www/fs-contents-portlet-postgresql.xql
    • -0
    • +57
    ./packages/fs-portlet/www/fs-portlet-postgresql.xql
    • -2
    • +2
    ./packages/fs-portlet/www/fs-portlet.tcl
Applying lars' patch

Added focus on first field of comment-add form

    • -1
    • +2
    ./packages/general-comments/www/comment-ae.adp
    • -0
    • +1
    ./packages/general-comments/www/master.adp
adding back code wrongly removed from get_portal_id_from_type, that

was breaking class creation on both oracle and pg

    • -0
    • +3
    ./packages/dotlrn/tcl/dotlrn-procs.tcl
temporarily removed dorlrn-research from the dotlrn-core alias until

it's ready on oracle and pg

fix control panel link when not under a dotlrn comm by prepending the dotlrn_url to it

    • -2
    • +2
    ./packages/dotlrn/tcl/navigation-procs.tcl
removed rdbms specification in default xql file

pg fixes

    • -32
    • +33
    ./packages/dotlrn/www/members-chunk-table-postgresql.xql
postgres stuff

    • -2
    • +2
    ./packages/dotlrn/www/folder-chunk.tcl
fixed error when no value in db for param

    • -1
    • +0
    ./packages/dotlrn/tcl/dotlrn-procs.tcl
fixed small pG bug

fixed calendar for PG

    • -0
    • +26
    ./packages/calendar/tcl/cal-item-2-procs.tcl
    • -0
    • +27
    ./packages/calendar/tcl/cal-item-2-procs.xql
ported another query to postgres..

    • -0
    • +18
    ./packages/dotlrn/www/admin/class-oracle.xql
    • -0
    • +18
    ./packages/dotlrn/www/admin/class-postgresql.xql
    • -10
    • +2
    ./packages/dotlrn/www/admin/class.tcl
The RequireQuestionForPasswordResetP parameter didn't have a default

postgres port stuff

port to postgres

    • -0
    • +45
    ./packages/dotlrn-forums/www/user-postgresql.xql
ported static portal to postgres

    • -0
    • +19
    ./packages/static-portlet/tcl/static-portal-content-procs-oracle.xql
    • -0
    • +18
    ./packages/static-portlet/tcl/static-portal-content-procs-postgresql.xql
Added stuff to form processing including the new form builder type

"file" which is a bit cleaner than the widget-only kludge which existed

before.

    • -3
    • +11
    ./packages/acs-tcl/tcl/navigation-procs.tcl
    • -0
    • +86
    ./packages/acs-templating/resources/forms/plainest.adp
    • -1
    • +2
    ./packages/acs-templating/tcl/0-procs.tcl
    • -0
    • +42
    ./packages/acs-templating/tcl/file-procs.tcl
    • -5
    • +1
    ./packages/file-storage/www/file-move-2.tcl
Removed 1pixel.tcl.orig and 1pixel.tcl.rej as these are files created by patch and shouldn't be in the repository

dotlrn-default-master -> dotlrn-master

added return statements to functions