• last updated 21 hours ago
Constraints: committers
Constraints: files
Constraints: dates
Replace permission::require_write_permission with permission::require_permission across the calendar package

Rationale: permission::require_write_permission assumes the object creator to have write permission on the object. Instead, we should rely on permissions to be set correctly on the calendar. permission::require_write_permission also performs an additional query to retrieve the object creator.

It is unclear whether permission::require_write_permission makes sense at all as an api, but we leave this to a future post-release reform.

  1. … 2 more files in changeset.
Keep populating the event duration radio button according to the time settings

Deprecate calendar::adjust_date, implementing a trivial default logic

  1. … 2 more files in changeset.
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...

  1. … 1 more file in changeset.
Shorten idiom

Modernize and tighten page contract

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

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

Use the new 'url' input type widget. Bump version number for dependency

  1. … 1 more file in changeset.
bugfix: propagate event on radio button via "-preventdefault=false", otherwise switching between all-day and hour event does not work

improve input checking on dates (cal-item-new) and improve error messages

  1. … 2 more files in changeset.
calendar reform (part 2):

- make "forgotten" fields "related_link_url", "related_link_text",

"redirect_to_rel_link_p" of acs-events usable from the calendar.

- add web interface for "location" field as well

- bump version to 2.10.0d4

  1. … 14 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Fix event name

- remove onclick inline script

- use template::add_event_listener

- update dependencies

- bump version number to 2.6.1d4

  1. … 5 more files in changeset.
- remove javascript: urls

- replace onclick/onkeypress handler with listeners

  1. … 3 more files in changeset.
- prefer "localurl" over "return_url" as name of page_filter

  1. … 27 more files in changeset.
- add editor hints to keep spaces/tabs in the future more consistent

  1. … 313 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- improve page contracts

  1. … 16 more files in changeset.
- use consistently "naturalnum" instead of "integer" when accepting just positive values

  1. … 103 more files in changeset.
- flatten nested "lindex" structures

  1. … 1 more file in changeset.
- use tcl 8.5 commands

- brace expressions to allow for tcl compilation

- no need to use "expr" inside an "if" or "for" condition

- no need to use "expr" inside "expr"

- bump version number

  1. … 17 more files in changeset.