• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Removed some html clutter

Links to days outside of the current month did not work.

ul.action-links

Added some paragraphs. Want them to be backed up.

Removed a lot of crap (this time by me)

Rmoved - it is either obvious nor not true anymore.

Fixed the queries for Oracle

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

  1. … 6 more files in changeset.
Removed unnecessary comment

Removed a broken query

Lumped all the different view-pages' query into one thus drastically slashing the amount of code that looks subtly different but effectively always retrieves calendar items for a particular interval.

    • -34
    • +0
    ./view-month-display-postgresql.xql
    • -79
    • +0
    ./view-one-day-display-postgresql.xql
    • -0
    • +49
    ./views-postgresql.xql
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. … 1 more file in changeset.
Moved cal-item-2-procs stuff into cal-item-procs. i

Moved all procs into calendar::item namespace.

Removed unused queries.

  1. … 8 more files 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. … 4 more files in changeset.
Removing unused files. The calendar admin interface was completely broken and replaced during the Hamburg bug bash (kudos to Lars). Most of the code in the removed files basically duplicated OpenACS code from somewhere else. Now that calendar is making proper use of OpenACS this stuff is a) not necessary anymore and b) has never worked anyway.

    • -40
    • +0
    ./admin/cal-item-permissions-oracle.xql
    • -50
    • +0
    ./admin/cal-item-permissions-postgresql.xql
    • -142
    • +0
    ./admin/cal-item-permissions.adp
    • -146
    • +0
    ./admin/cal-item-permissions.tcl
    • -28
    • +0
    ./admin/calendar-permissions-oracle.xql
    • -28
    • +0
    ./admin/calendar-permissions-postgresql.xql
    • -125
    • +0
    ./admin/calendar-permissions.tcl
    • -46
    • +0
    ./admin/calendar-preferences-oracle.xql
    • -28
    • +0
    ./admin/calendar-preferences-postgresql.xql
    • -103
    • +0
    ./admin/calendar-preferences.adp
  1. … 3 more files in changeset.
Spiffed up month display

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

  1. … 584 more files in changeset.
file permissions.tcl was initially added on branch oacs-5-0.

    • -0
    • +0
    ./admin/permissions.tcl
file permissions.adp was initially added on branch oacs-5-0.

    • -0
    • +0
    ./admin/permissions.adp
file permissions-user-add.tcl was initially added on branch oacs-5-0.

    • -0
    • +0
    ./admin/permissions-user-add.tcl
file permissions-user-add.adp was initially added on branch oacs-5-0.

    • -0
    • +0
    ./admin/permissions-user-add.adp
file calendar-delete.tcl was initially added on branch oacs-5-0.

    • -0
    • +0
    ./admin/calendar-delete.tcl
- 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

    • -40
    • +0
    ./admin/cal-item-permissions-oracle.xql
    • -50
    • +0
    ./admin/cal-item-permissions-postgresql.xql
    • -142
    • +0
    ./admin/cal-item-permissions.adp
    • -146
    • +0
    ./admin/cal-item-permissions.tcl
  1. … 37 more files in changeset.
Removed obsolete files

- 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. … 7 more files in changeset.
Noquote bug

providing a default for interval_type so that if you don't check anything you don't get a complaint when submitting the recurrance form

Fixed #1156 - show events properly if start_display_hour is set to anything but 0

Check that end_date is > start_date

Fixing #1071: Added a noquote tag to the description parameter, so that HTML is allowed in the verbose description of a calendar item