• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

Add input validation

Don't pass around variables that are not meant to be changed by the UI as hidden fields

Allow the maximum size permitted by the datamodel in the UI, but then validate it before saving

Streamline ns_set idiom

  1. … 3 more files in changeset.
regenerated documentation

  1. … 466 more files in changeset.
make template::adp_puts private again. removed some of the weirdness in calendar attachments

  1. … 2 more files in changeset.
Use the new 'url' input type widget. Bump version number for dependency

  1. … 1 more file in changeset.
Whitespace changes

    • -21
    • +12
    ./cal-item-create-recurrence.tcl
Use the new ad_form 'number' input field. Bump version number for dependency.

  1. … 1 more file in changeset.