• last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Clarify idiom, improve markup

Harden page contract, use modern date widget to avoid custom date parsing

    • -31
    • +11
    ./cal-item-create-recurrence.tcl
Fix spec syntax

Cleanup variables never used and form never rendered

Harden and modernize page contract, remove reference to non-existing database columns from ancient downstream installations

Reinstate lost comment

Use modern date and time form input types so that the time values validated by the contract are the same used by the UI and no different values can be supplied to the form via the pseudo-fields for e.g. year, day and so on...

Shorten idiom

Modernize and tighten page contract

Validate start_date the same way as date

register javascript click event for adding a calender entry only once for each day

before javascript event was registered multiple times: for each day and for each calender event

javascript click event for adding a calender entry was also fired when a calender event was viewed

use adp:icon and fix broken layout

- prefer adp:icon over old-style .gif images

- fix line-breaks in table headers of week-calender, which causes

diffent heights of some of the table headers (1 line vs. 2lines)

This was a problem at least with bootstrap5

  1. … 2 more files in changeset.
prefer adp:icon over old-style .gif images

  1. … 1 more file in changeset.
Allow only one format for the 'date' query parameter, bringing the page contract in line with the "Go to date"-form on this page from which this value is supplied.

Add include contract, bring export page parameter in the page contract, fix javascript handlers

Add include contract

  1. … 1 more file in changeset.
Accept previously valid formats

Streamline idiom

Add include contract

Notice that this page is stored under www, but is de-facto an include.

passing properties consistently with @....;literal@

  1. … 11 more files in changeset.
Set edit_what to a valid default

Gradually improve usability and security of the calendar item new/edit form by adding additonal input validations. Prefer built-in input validation over custom validation. Also make sure all needed Javascript is in place.

Make sure the value we validate is a list

Return a 422 complaint, introduce a generic error message when an item is invalid

  1. … 3 more files in changeset.
Cleanup inconsistent doc and redundant statements

Log the error message

Return a 404 and trap the error when one supplies an invalid ID

Fix validated input format

Apply a date-aware validation

Cleanup redundant validation