• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Port of downstream feature: cleanup properly everything related with a calendar package instance before deleting (e.g. calendar item types)

This might be superseded by just plain referential integrity, taking care also of the oracle part, in a future moment

  1. … 1 more file in changeset.
Reform 'all_day_event' private interface:

now we consider all day events only those where the time component of both start and end date is set at midnight. This is more restrictive that the previous criteria, which would allow also events where start and end date were equals, or the date component was different, regardless of time, to be considered all day events.

In practice, the user interface would already make so that an event created as "all day event" would be set with midnight as the time for start and end date.

calendar::item::get would already return time_p in the array to indicate whether this was an event with time or not. No time would mean "all day event". For convenience, we now return also the straight all_day_event_p flag in the array.

Remove blind catch, this proc is actually robust to bogus values

added editor hints and white-space cleanup

    • -16
    • +17
    ./calendar-compatibility-procs.tcl
  1. … 23 more files in changeset.
improve comments

Introduce a new callback hook for calendar item edit

Whitespace changes

improve spelling

  1. … 9 more files in changeset.
Reduce divergency between oracle and postgres codebase

Replace ad_decode idiom and unnest expr

Fix typo in doc

Add a callback hook to put logic before calendar item deletion

    • -0
    • +15
    ./calendar-callback-hooks-procs.tcl
make tested API calls explicit

  1. … 5 more files in changeset.
prefer "aa_equals" over "aa_true"+"string equal"

  1. … 5 more files in changeset.
Fix typos

  1. … 6 more files in changeset.
Fix proc and contract doc elements, so they are properly parsed by apidoc::api_*_documentation.

- @cvs_id -> @cvs-id

- @version -> @cvs-id

- @creation_date -> @creation-date

- @date -> @creation-date

- Different variations of $Id$

- Remove wrong @param entry

- Fix typos

  1. … 368 more files in changeset.
Use @return in the proc documentation

  1. … 2 more files in changeset.
Provide a minimal documentation to public procs

Revert massive replacement of empty list creation sentences. The use of '[list]' instead of '{}' adds semantics that could be used for performance improvements in the future, such as using a different internal representation. There is already work in this direction, avoiding the generation of the string representation during comparison of empty strings (huge thanks to Stefan Sobernig for the pointer: https://core.tcl.tk/tcl/info/44527c632ed609c2).

  1. … 475 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. … 10 more files in changeset.
make spelliing more uniform

Prefer '{}' to '[list]' when creating empty lists

  1. … 204 more files in changeset.
Fix typo + Whitespace

Rework variable assignment (set -> lassign)

  1. … 12 more files in changeset.
whitespace cleanup

  1. … 2 more files in changeset.
calendar reform:

2.10.0d1: add table cal_uids and upsert operation for it

Add table cal_uids for CalDAV handling p o

New Function: cal_uid__upsert() p o

calendar::item::edit.cal_uid_upsert p o

calendar::item::new.insert_cal_uid p o

calendar.info

sql/oracle/cal-item-create.sql

sql/oracle/upgrade/upgrade-2.10.0d0-2.10.0d1.sql

sql/postgresql/cal-item-create.sql

sql/postgresql/upgrade/upgrade-2.10.0d0-2.10.0d1.sql

tcl/cal-item-procs-oracle.xql

tcl/cal-item-procs-postgresql.xql

2.10.0d2:

Add location as optional last parameter to cal_item__new (14/15)

Oracle: code was already out of sync with postgres, parameter

package_id was missing

Requires acs_event__new with location support acs-events 0.6.2d1

calendar.info

sql/oracle/cal-item-create.sql

sql/oracle/upgrade/upgrade-2.10.0d1-2.10.0d2.sql

sql/postgresql/cal-item-create.sql

sql/postgresql/upgrade/upgrade-2.10.0d1-2.10.0d2.sql

2.10.0d3:

Fix bug #3340: Delete acs_activity and recurrence,

when last cal_item referring to it is deleted.

calendar.info

sql/postgresql/cal-item-create.sql

sql/oracle/cal-item-create.sql

  1. … 9 more files in changeset.
calendar::get: return result also a dict, don't require array

add test case illustrating behavior on acs_activities and recurrences, when single cal_items are deleted

- fix for issue #2017: let calendar::item::add_recurrence return recurrence_id

- mark calendar_item_add_recurrence as deprecated (use

calendar::item::add_recurrence instead)

Reduce divergencies between oracle and postgres codebase