• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
merge of changes up to jcd-merge-for-dirk from oacs-5-1 to HEAD

  1. … 14 more files in changeset.
Fixed have_private_p to accept named parameter party_id

typo

  1. … 1 more file in changeset.
add datasource and url contracts for Fts, add callbacks for sc stuff, add calendar_package_id to calendar::item::get areturn array

    • -0
    • +38
    ./calendar-install-procs.tcl
    • -0
    • +80
    ./calendar-sc-procs.tcl
  1. … 1 more file in changeset.
pass name through so acs_object.title will be set.

Fixed a simple error in one of the compatibility procs

Fixed #1328 "Should not require login to view a calendar"

  1. … 8 more files in changeset.
Moved all remaining procs into the calendar namespace

Added compatibility procs

    • -0
    • +50
    ./calendar-compatibility-procs.tcl
Removed useless test cases.

Added get_url proc so that notifications work properly.

Added notifications to calendar. Currently works only for PostgreSQL, will do the port to Oracle in the next 4 weeks.

  1. … 9 more files in changeset.
The date format string is constant - it is always the ANSI date format. There is no need to create a variable in TCL and then pass it on as a bind variable to the database. Instead I have hard-wired the format string into the database which means less code and maybe even slightly more efficiency.

  1. … 12 more files in changeset.
Moved cal-item-2-procs stuff into cal-item-procs. i

Moved all procs into calendar::item namespace.

Removed unused queries.

    • -101
    • +0
    ./cal-item-2-procs-postgresql.xql
    • -17
    • +111
    ./cal-item-procs-postgresql.xql
  1. … 1 more file in changeset.
removed unused proc calendar_public_p

removed proc calendar_update which did exactly the same as rename - but wasn't that aptly named

moved calendar_get_name into calendar namespace

removed queries that were duplicated both in tcl and in xql files.

removed obviously unnecessary comments

  1. … 1 more file in changeset.
Removed unused queries calendar_create_private.get_user_name,calendar_public_p.check_calendar_permission

Moved to calendar-2-procs.tcl to calendar-procs.tcl and removed unused procs calendar_make_date, calendar_create_private, calendar_update

merge of changes on oacs-5-0 branch to oacs-5-0-0b4 tag

  1. … 590 more files in changeset.
Added automated test

  1. … 3 more files in changeset.
Fixed column naming

- Rewrote calendar admin pages

- Rewrote calendar permission checking

- Fixed bug #261: Day summary doesn't show events before 7 am

- Fixed bug #1139: Times added between 8 and 10 am not shown in day view

- Calendars inherits permissions from the package to which they belong

  1. … 44 more files in changeset.
- Sanatize handling of personal and non-personal calendars

- Fixed one-day display including overlapping events

- Edit recurring events (apply to one/all)

- Edit calendar for an item

- Display clendar for an item

  1. … 4 more files in changeset.
Removed a hard-coded string => some more I18N

added automated test scripts

    • -0
    • +81
    ./test/calendar-procs.tcl
make some Notices either warnings or debug and made them more descriptive by generally including the proc name as well bug #1032

  1. … 74 more files in changeset.
Formatting

Oracle9i porting changes

- Changed procedure names from delete to del

- Changed view declaration to use actual column names

- Changed "rel_constraints_violated_one" and "rel_constraints_violated_two"

(http://openacs.org/forums/message-view?message_id=81045)

  1. … 275 more files in changeset.
No more need for these procs as all their functionality has been moved into the view-* files

    • -153
    • +0
    ./calendar-display-procs-oracle.xql
    • -143
    • +0
    ./calendar-display-procs-postgresql.xql
Make calendar play nice with calendar-portlets. I am slowly approaching alpha status with this.

  1. … 18 more files in changeset.
Fixed time_p for calendar::item:get. Now uses the correct lc_time_fmt switch to retrieve the proper start_time