• last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
add_attachment_url now takes an optional folder_id argument to use as the root

folder.

initial version

  1. … 4 more files in changeset.
Initial revision

  1. … 4 more files in changeset.
added rel_type and segment_id columns to dotlrn_user_types table and

dotlrn_users view.

    • -8
    • +9
    ./packages/dotlrn/sql/oracle/admins-init.sql
    • -8
    • +9
    ./packages/dotlrn/sql/oracle/students-init.sql
    • -2
    • +12
    ./packages/dotlrn/sql/oracle/users-create.sql
Moved double-click check up before we create the user, so we don't get the annoying error message in the error log. Also, got rid of the from the error we spit out if something does go wrong, since this variable is not defined, so we'd get a database error, then an internal server error.

    • -11
    • +10
    ./packages/acs-admin/www/users/user-add-2.tcl
    • -0
    • +6
    ./packages/acs-admin/www/users/user-add-2.xql
Added focus on email address.

    • -1
    • +2
    ./packages/acs-admin/www/users/user-add.adp
added outlook PG support

    • -0
    • +15
    ./packages/calendar/tcl/calendar-outlook-procs-oracle.xql
    • -0
    • +15
    ./packages/calendar/tcl/calendar-outlook-procs-postgresql.xql
Added "-export" to simplify the exporting of local tcl variables in the

form.

fix cloning bug

Use new term stuff and added maxlength attributes to several html text input widgets

    • -2
    • +2
    ./packages/dotlrn/www/admin/class-new.tcl
    • -2
    • +2
    ./packages/dotlrn/www/admin/club-new.tcl
    • -4
    • +4
    ./packages/dotlrn/www/admin/term-edit.tcl
    • -8
    • +7
    ./packages/dotlrn/www/admin/term-new.tcl
Use new dotlrn_term::get_future_terms_as_options proc instead of nasty oracle only query

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