• last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Trap the case where invalid dates are supplied to the proc

  1. … 1 more file in changeset.
reduce verbosity, add covered calls in test cases

  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

improve comments

Introduce a new callback hook for calendar item edit

  1. … 1 more file in changeset.
Whitespace changes

Add a callback hook to put logic before calendar item deletion

  1. … 1 more file in changeset.
Fix typos

  1. … 6 more files in changeset.
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. … 14 more files in changeset.
Prefer '{}' to '[list]' when creating empty lists

  1. … 204 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. … 12 more files in changeset.
- 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)

merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 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.
- 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.
Allow for the creation of calendar items that aren't mapped to a calendar.

Useful for an application that wants to associate content with a calendar,

but doesn't want to have it actually show up in the calendar until the

content is approved. It's easiest to create and remember the cal item

when the content is created, then map the cal item to the calendar during

the approval stage.

Support for more editing options for recurring events. Allow editing one item, future instance, or all instancs of a recurring item

  1. … 2 more files in changeset.
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.
1. Always insert all-day event as starting and ending at 00:00 in the server timezone (using it as a flag). Don't convert to the user timezone when retrieving them for display.

2. Use condition start=end for all-day event as suggested by Gustaf (thanks gustaf for this)

3. Fixed the display of events created in another timezone

4. Fixed the display of all-day events

  1. … 9 more files in changeset.
Merge return_url and ui cleanup frm 5.2 (sorry! accidentally commited new code to 5.2 first)

  1. … 14 more files in changeset.
Adding return_urls so the behavior after adding/editing an item is more consistent

  1. … 13 more files in changeset.
First shot at merging oacs-5-2 apps used in .LRN to HEAD.

  1. … 2478 more files in changeset.
Fixing bug #2628 to keep calendar items private by default

solve bug: items personals publics by default, bug 2628

  1. … 1 more file in changeset.
there's a bug in calendar new proc where the calendar type isn't saved, fixed here

fixed inadvertent commit, the calendar merge related procs were not in my latest commits

  1. … 1 more file in changeset.