• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Removed .LRN dependencies from calendar (essentially the view include

scripts only worked from within .LRN or calendar itself). Did a bunch of

clean-up of stuff being computed by portlets that are totally ignored by the

calendar include scripts. If the semantics are wanted, they should be put

into the calendar package itself. Switched a bunch of stuff to properly use

export_vars, and to generate links inline rather than subst an awkward

template. Got rid of the use of site_node_object_map in calendar, because

calendars have a perfectly usable package_id in the data model (should really

be rewritten to use package_id in the underlying acs_objects row), and the

URLs generated by site_node_object_map are just as easily generated from this

package id. Bonus: site nodes are cached, the site_node_object_map is not.

  1. … 48 more files in changeset.
Add options for editing recurring events

Merged the 5.4 branch to HEAD, to pick up emmanuelle's fixes before I go

off fixing a bunch of other stuff.

  1. … 27 more files in changeset.
High contrast stylesheet for calendar

  1. … 6 more files in changeset.
Replace header_stuff property with calls to template::head

  1. … 11 more files in changeset.
Merged oacs-5-3 branch to HEAD

  1. … 187 more files in changeset.
Fix javascript to disable/enable start and end time depending on the type of event (all day or not) -was failing when entering wrong times and going back using the browser for instance-

  1. … 1 more file in changeset.