• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixed critical bug #1569 so that week queries don't bomb out if

there are category items.

merge of all changes on oacs-5-0 branch between tag openacs-5-0-0-final and jcd-merge-pre503 (except those in lars-blogger).

  1. … 293 more files in changeset.
1325. Parameterize show calendar name

Added a paramter Show_Calendar_Name_p and fixed the view*adp's so that

they pay respect to this parameter.

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

  1. … 2 more files in changeset.
Added contributors.

Added link to test-cases.html

Added test-cases.html - basically the specs/requirements for automated tests

    • -0
    • +24
    ./doc/test-cases.html
Removed, because they are superseded by showing a list of radio-buttoned calendars on cal-item-new

Don't drop the period_days parameter as long as you are only surfing on a view-list page.

Added a parameter to set the default for period_days

A few more CSS modifications

Slimmed down the CSS file considerably

Removed markup from the view pages

Unified multirow names

Unified sql queries

Use partialqueries more consistently

(These changes should be backwards-compatible with .LRN 2.0 and .LRN

head. Testing needs to be done here, fixing will take place during the

feature freeze period)

Added

Typo fix

Cut out some clutter, more css'ification, fixed the bug that item-add drops the current view and date

Removed code clutter.

CSS'ified mini-calendar and view. (Worked with Paul Doerwald, Lars Pind)

fixing bug #1331 by defaulting to hourly calendar entry instead of whole day. With this default the javascript graying out the time entries works

Quick fix for a problem with entries starting at 0h. This should be cleaned up though.

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.