• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
take out oracle only query in .tcl file. added smarter term_year generation

    • -0
    • +10
    ./packages/dotlrn/tcl/term-procs-oracle.xql
    • -1
    • +26
    ./packages/dotlrn/tcl/term-procs.tcl
fix typo in comment

    • -2
    • +2
    ./packages/dotlrn/tcl/community-procs.tcl
increase term_year col to 9

increase term_year lenght to 9

Using improved ad_text_to_html in preview page. Rest of forums needs to use it too

    • -1
    • +2
    ./packages/forums/www/message-post.tcl
$n_past-days in comment replaced with $ n_past-days

added code to ad_text_to_html to Convert _single_ CRLF's to <br>'s to preserve line breaks

    • -1
    • +4
    ./packages/acs-tcl/tcl/text-html-procs.tcl
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