Commit Graph

206 Commits

Author SHA1 Message Date
Jörg Lehrke
362afdb312 Fix GroupDAV private event issue 2010-05-14 08:35:16 +00:00
Jörg Lehrke
91cfd18e16 Fix all-day event recurrence issue 2010-05-06 19:16:43 +00:00
Nathan Gray
a2eab86ef8 Use pre-existing function to handle deleted flag 2010-05-04 21:35:06 +00:00
Nathan Gray
5bea81f18f Handle if event deleted flag gets turned into a string (Postgres) 2010-05-04 15:47:53 +00:00
Jörg Lehrke
ec48d32681 Calendar recurrence horizont configurable; fix recur_enddate issue 2010-05-03 16:43:42 +00:00
Jörg Lehrke
d22a9aa537 Fix all-day recurring event timezone issue 2010-05-01 16:25:10 +00:00
Jörg Lehrke
22bb23b8ff Fix new all-day event handling 2010-04-23 13:52:45 +00:00
Jörg Lehrke
ee18b0acac New all-day event implementation 2010-04-23 06:15:18 +00:00
Ralf Becker
9e8a74b92e "fixed not working caching to avoid multiple reads of same event from database
(condition !$date stoped caching for all non-repeating events)"
2010-04-14 08:49:49 +00:00
Christian Binder
8211aef3ff fixed wrong series event end times for whole day events when events occur or span over a daylight saving date, fixed typos 2010-02-25 17:05:24 +00:00
Jörg Lehrke
08dbf52b66 Fix typos and code cleanup 2010-02-22 10:02:33 +00:00
Jörg Lehrke
ce7324f12f Fix daywise search 2010-02-19 17:10:15 +00:00
Jörg Lehrke
21ccdd5f28 Fix various synchronization issues (SyncML & CalDAV) 2010-02-17 13:29:28 +00:00
Klaus Leithoff
ed7f3a764e Free/Busy handling for groups and recources; Groups: if a group allows only free/busy to its users, then participation does not mean a lot. Resources: if grant is free/busy only explicit recources rights are not to be regarded 2010-02-10 12:31:34 +00:00
Hans-Jürgen Tappe
b712cc0480 $ts += DAY_s in a 'for' loop does not work for daylight savings in week view
because the day is longer than DAY_s: Fullday events will be added twice.
2010-02-07 14:37:27 +00:00
Jörg Lehrke
75746226a4 Use egw_time for InfoLog, tracking backend and Tracker 2010-02-04 12:08:03 +00:00
Ralf Becker
25c29211f5 adapting for changed categories class 2010-01-30 23:54:08 +00:00
Jörg Lehrke
32639bd47e Major SyncML Calendar update
- SIFE support improved
  - various vCalendar 1.0 issues fixed
  - device specific timezone support for recurring events
  - pseudo exception handling improvements
2010-01-29 21:42:54 +00:00
Ralf Becker
890125cab5 A few more change for the new integration interface, probably not the
last ...
2010-01-21 23:36:05 +00:00
Christian Binder
5c29be0ed1 read event start and end times if not given from the caller to avoid broken recurrences 2010-01-15 08:44:21 +00:00
Nathan Gray
ac14a5a1fd Implement options so link_query() can be limited 2009-12-08 22:36:43 +00:00
Ralf Becker
8a9392c681 fixed problem with blanks in account_id of owner parameter 2009-12-04 10:22:33 +00:00
Ralf Becker
5066c5c3b7 docu update 2009-12-03 18:20:07 +00:00
Jörg Lehrke
dd92e60180 Use UID for find_content(); code cleanups 2009-12-01 10:24:55 +00:00
Ralf Becker
0e60f6ac29 NOT clear timezone for private events (causes exception in calendar list
view)
2009-11-26 10:27:46 +00:00
Ralf Becker
d53b681f21 - reworked referer handling to allow calling from other apps and not
changing back to calendar
- allow to specify custom template for event edit
2009-11-25 20:16:41 +00:00
Christian Binder
a7c2b81b85 moved declaration of categories var to bo class 2009-11-25 12:55:59 +00:00
Ralf Becker
55fc673dc5 - new configurable invitation ACL: Require an ACL grant to invite other
users and groups:
  * No: Every user can invite other users and groups (default and old
    behavior)
  * Groups: other users can allways be invited, only groups require an invite_grant
  * Users + groups: inviting both allways requires an invite grant
  One need to keep in mind, that setting an invitation ACL via a group,
  gives each groupmember the right to invite the group / create a group
  event. So the last option propable only works, if users manage
  invitations grants on their own, or admin only sets it in small working
  groups, where every member is allowed to invite the whole group.
  --> calendar backend code removes participants a user is not allowed
      to invite
- new "only groupevents" filter, showing only real groupenvents not
  events of groupmembers (added tooltips to explain filters)
2009-11-19 18:56:04 +00:00
Ralf Becker
b307d2a5cf "using new rrule iterator to calculate recurrences
--> still need to implement new monthly last day/week rules in iCal class"
2009-11-12 10:11:23 +00:00
Christian Binder
1fac8112a9 fixed a very small typo :-) 2009-11-04 21:16:08 +00:00
Ralf Becker
4e9120ecf0 New tz_id column in egw_cal storing id into egw_cal_timezones
Please note: timestamps in egw_cal* tables are in server-time,
tz_id / timezone is only used to (re-)calculate recurrences and to
export in iCals (NOT yet implemented)
2009-11-04 15:00:08 +00:00
Christian Binder
e3074ac9dc re-implemented implicit EGW_ACL_PRIVATE grant for group invitations - removed unneeded error logging 2009-10-23 07:51:07 +00:00
Ralf Becker
20e655c466 Default and forced preferences for nearly all apps 2009-10-19 17:04:11 +00:00
Ralf Becker
1fa1b92a56 docu update 2009-10-18 12:59:12 +00:00
Ralf Becker
d6cf835680 missing translation of role 2009-10-13 08:58:06 +00:00
Ralf Becker
0548cf5770 - added roles to UI
- enabling again resource booking without direct booking permission
  (status is then unknown, not accepted)
2009-10-12 19:16:42 +00:00
Ralf Becker
ab9c9d21b6 New egw_time class used to implement correct timezone handling for
calendar, plus a first calendar implemenation.

This implementation just replaces following calendar_bo methods:
- date2ts($date,$user2server=False)
- date2array($date,$server2user=False)
- date2string($date,$server2user=False,$format='Ymd')
- format_date($date,$format='')
which static methods from egw_time.

If your server is in same timezone as the user, you should experience no
difference. As a small test, you can switch to an other timezone (eg.
UTC) to recognice on a weekly repeating event (which still repeats on
equal server time!) that it moves by one hour when daylight saving
changes. This switching to a TZ with different daylight saving rules,
was not working before.

Happy testing :-)
2009-10-07 13:29:06 +00:00
Ralf Becker
04d48a677a Implemented display of custom fields in list-view
ToDo: implement search, sort and filtering by them
2009-10-03 07:32:05 +00:00
Ralf Becker
c38acb88d5 New filter for calendar based on participant status:
- Not rejected
- Accepted
- Invitations
- Tentative
- Rejected
- Owner too: display also events you own, not only ones you participate
- All incl. rejected
- Hide private infos: as usual
--> filter is stored in the user prefs (survives logouts)
--> old "show events you rejected" preference got removed
Also added a hook allowing applications supplying resources to modify
calendar search with SQL.
2009-09-29 19:58:51 +00:00
Christian Binder
77de24e563 manually insert or truncate the recurrences when changing enddate. recurrences rebuild (and stati reset) is now minimized to the following cases: move startdate/enddate, change recur_type, change recur_interval 2009-08-10 09:24:39 +00:00
Ralf Becker
bb5511cc9f - methods to combine and split status, quantity and role
- $ignore_acl parameter for calendar_boupdate::delete()
- removed setting owner always as participant: owner is allowed to
  remove himself as participant from an event
  (owner only get's set, if there are no other participants in BO)
2009-08-06 11:29:05 +00:00
Ralf Becker
c29ab01e8d - added ability to store participant roles to calendar backend,
currently not settable via GUI, but GUI leaves them untouched
- showing quantity for resources in brackets behind resource name
- docu and formatting updates all over the place
2009-08-04 17:14:16 +00:00
Ralf Becker
560f18bacd - added new colums cal_creator, cal_created for easier deleting of
doublicates from failed sync
- added cal_recurrences timestamp for exceptions (ts of original
  recurrence), for existing exceptions update script uses
  the closest recur_exception date/time for it
- using uid of original series for new recurrence exceptions,
  update script does NOT update the uid's of existing exceptions
- displaying (maybe temporary) these data in the recurrence tab
2009-07-23 16:14:22 +00:00
Ralf Becker
cb0fc5db82 - merged SyncML-1.2 branch with trunk:
svn merge -r 26935:HEAD ^/branches/SyncML-1.2/calendar .
- with the exception of class.calendar_uiforms.inc.php,
  as it was not updated with the latest changes from trunk
  and I'm not sure about the changes
--> needs further discussion, sorry :-(
svn revert inc/class.calendar_uiforms.inc.php
2009-07-15 20:35:56 +00:00
Ralf Becker
8f4960f9b4 "fixed messed up indention" 2009-07-08 10:29:06 +00:00
Ralf Becker
1e58b525d1 "fixed messed up indention" 2009-07-08 10:22:11 +00:00
Stefan Becker
78ce775f17 freebussy ACL added into calender. Now if you only give that right, you will see, that the time is blocked without a read right of user or group. But will see everything as private 2009-06-09 12:16:15 +00:00
Ralf Becker
272817b1c7 "added cols and append parameter from calendar_so::search to calendar_bo::search too" 2009-05-04 22:52:48 +00:00
Ralf Becker
2845873bae - docu update
- 2 new (optional) parameters for calendar_so::search()
2009-05-04 22:39:27 +00:00
Ralf Becker
f5015cf6e8 "fixed wrong class-name for $this->so" 2009-03-20 07:55:22 +00:00
Klaus Leithoff
632003f9fe buffer and provide debug on missing participants to an event 2008-12-11 13:44:47 +00:00
Ralf Becker
6ae2813e65 patch #1624 from Regis Leroy: check resource availablity on search and config to deny resource reservation on private events, plus German translation 2008-10-10 10:24:31 +00:00
Ralf Becker
9fd543d8c6 file_access hook for attachments 2008-10-07 09:03:01 +00:00
Ralf Becker
57293bca75 "fixed wrong display of email-type participants (caused by class rename)" 2008-07-29 05:13:45 +00:00
Ralf Becker
56c4f47c30 wrong weekdays after autoloading of so class (happens after using the constants) 2008-06-12 07:03:06 +00:00
Ralf Becker
ef700b0061 new class naming schema 2008-06-07 17:45:33 +00:00