Commit Graph

1996 Commits

Author SHA1 Message Date
Nathan Gray
76497460f5 Reset merge selectbox after choosing a file 2011-02-17 18:27:37 +00:00
Nathan Gray
27b9ae4ee3 Add 2934day/date2934 placeholder to first entry inside day of week and daily tables. Only available inside the selected date range(s). 2011-02-17 18:18:06 +00:00
Nathan Gray
d529f10479 Prevent duplicate events in some tables 2011-02-17 17:37:24 +00:00
Nathan Gray
65baaf764e Fix range date format 2011-02-17 16:50:46 +00:00
Nathan Gray
077122e03f Fix user filter for merge 2011-02-16 17:23:52 +00:00
Nathan Gray
4c4f2e5e32 Apply current filters to range selections when merging 2011-02-16 17:19:19 +00:00
Ralf Becker
1e296760d9 fixed not working ctag calculation in trunk, plus docu and logging 2011-02-16 14:21:59 +00:00
Nathan Gray
8b1440560e - Add merge print directory to sidebox so it's available from all views
- Add day_n, yesterday, today & tomorrow tables
2011-02-15 20:35:46 +00:00
Ralf Becker
2d26d18c74 if contact in $_GET[participants] parameter for edit is a user, use the user instead 2011-02-15 11:34:36 +00:00
Andreas Stöckel
45d3e8d82a Fixed problem with event stacks for non drag-droppable event objects 2011-02-14 11:58:43 +00:00
Andreas Stöckel
80cfc89293 Clicking on a stack of events now always openes the event lying on top of the stack 2011-02-14 11:03:12 +00:00
Jörg Lehrke
c59cb90742 * CalDAV: Apply other users' calendar color, too 2011-02-13 21:08:29 +00:00
Ralf Becker
a045b4cc5f * Calendar: alternative overlapping columns resulting in equally wide visible parts for unlimited number of columns
- for equally sized columns, the first one (used for whole day events or non-overlapping events) is fairly small (1/Nth of total width)
- still open again is problem of events in columns > 1 are not clickable (unless we set a z-index, which has other problems)
2011-02-11 16:50:24 +00:00
Ralf Becker
ec7cc493ef * Calendar: using equally sized, non-overlaping columns for multiple events at the same time
- old overlapping events failed for more then 6 columns
- clicking on events opened the frist/underlaying event not the visible one
2011-02-11 15:43:40 +00:00
Nathan Gray
21c1f08322 - Fix range filter, adds range selected in mini-calendar to date filter
- Use selected date range for merge, if no events are checked
2011-02-10 19:19:52 +00:00
Nathan Gray
974ef4b74a - Add calendar_ prefix to merge fields
- Fix bug in weekly table preventing more than one week
2011-02-10 19:17:26 +00:00
Christian Binder
96ab59b2fd Enable calendar items for projectmanager eRoles 2011-02-09 20:55:20 +00:00
Nathan Gray
7ca1ba08d5 Implement merge for calendar 2011-02-09 15:58:06 +00:00
Klaus Leithoff
4e07a37116 quieten warning when no participants in function remove_no_acl_invite 2011-02-01 14:28:56 +00:00
Nathan Gray
f8343aa0e3 - Add default iCal import & export
- Remove Export: & Import: from sidebox menu, use Import/Export app
2011-01-28 20:04:52 +00:00
Ralf Becker
3c469c8392 fixed status of all recurrences get set to "unknown", if status of a single recurrence get changed 2011-01-06 05:19:10 +00:00
Ralf Becker
df5aae20f5 fixed corrupted non-ascii chars in deleted message 2011-01-06 04:48:41 +00:00
Ralf Becker
5382856b60 modified week_number method a bit more, to allow to call it for arbitrary dates, not just the weekstart 2011-01-05 22:26:34 +00:00
Ralf Becker
a145fdb13f * Weeknumbers in calendar views, were wrong for week-start-day other then Monday
iso8601 defines them only for week starting Monday, so we use now the Monday to calculate the week-number, even if user prefers an other startday
2011-01-05 21:49:55 +00:00
Ralf Becker
20db16219d * Calendar: invite rights, should NOT implicate a freebusy rights (users with invite rights could see freebusy times of other users) 2011-01-04 19:27:17 +00:00
Andreas Stöckel
70030216f3 Added possibility to view birthdays and/or holidays as non-blocking event in calender with special icon prepending it 2010-12-22 15:17:56 +00:00
Ralf Becker
c65705aac4 - started implementing virtual exceptions for AS (currently commented out in line 176, as not yet tested)
- ChangeMessage now searched contacts for participants and always re-adds resources (everything but accounts, contacts and email)
- some more timezone specific fixes
>>> none of the above is tested, as my iPhone charges no more and battery is now flat :-(
2010-12-21 02:45:40 +00:00
Ralf Becker
59c33be565 Import of recurring events (got timezones working for southern hermisphere DST)
and other fixes
2010-12-20 03:29:37 +00:00
Ralf Becker
416410f338 deleting of events 2010-12-19 04:07:01 +00:00
Ralf Becker
a460dde341 Saving/modifying of calendar event on the server:
- no recurring events yet
- no categories
- no deleting on the client yet (like AB, what to return?)
2010-12-19 03:54:09 +00:00
Ralf Becker
0dd2109b62 - timezones get now converted correctly to what AS uses instead of timezones
- direction back is implemented (and tested) but not yet used, as storing events is not yet implemented
- timestamps are passed to zpush now in servertime, which it converts internal to UTC times
- recurring event information is now correctly supplied (thought we do NOT yet deal with virtual exceptions!)
--> next step would be storing events synced in from the client
2010-12-19 00:31:07 +00:00
Ralf Becker
dd5000f11b making monthly_byday_num and monthly_bymonthday public, to use it in calendar_activsync 2010-12-19 00:24:22 +00:00
Ralf Becker
904471d3d3 fixed typo 2010-12-18 23:58:11 +00:00
Ralf Becker
0ff32d804a - added recurrence information to calendar events (GetMessage)
- added timezone export (currently disabled)
--> both needs testing and will probably not just work
2010-12-17 03:44:43 +00:00
Ralf Becker
f9163f2747 typo 2010-12-17 03:40:55 +00:00
Nathan Gray
cf7dd57c66 Use edit link (if available) only on icons, text link is for view 2010-12-13 15:37:25 +00:00
Nathan Gray
0df9ee0c6d Implode arrays when not exporting human-friendly values so they don't say 'Array' 2010-12-10 22:54:27 +00:00
Nathan Gray
cc72785afe If edit link / settings are available, use an edit popup 2010-12-10 20:05:51 +00:00
Klaus Leithoff
0cd5658ca1 * calendar: make configurable the number of users, until day- or weekview are consolidated; 5 is set as default 2010-12-10 11:03:35 +00:00
Andreas Stöckel
a24826e7fe Fixed MyStylite bug #964 2010-12-09 21:04:34 +00:00
Klaus Leithoff
a1de30be38 * Calendar, MailToAllParticipants: force type to plain as thunderbird (with lightning attached) seems to try to be smart while parsing html messages with ics attachments, but fails with a parse error, resulting in a not displayed message in thunderbird 2010-12-09 11:57:14 +00:00
Klaus Leithoff
8a293796e1 fix for postgres 2010-12-07 11:34:18 +00:00
Ralf Becker
8f3d6954e5 search extra account repository for birthdays too 2010-12-06 18:40:08 +00:00
Ralf Becker
0e4217f37f * fixed birthday of contacts/accounts in LDAP could not be modified in addressbook 2010-12-06 18:25:35 +00:00
Ralf Becker
08ec384512 allways using account_fullname for calendars 2010-12-03 17:55:04 +00:00
Ralf Becker
a7ea17d896 fixed fatal error, after move of get_ctag to calendar_bo 2010-12-03 13:22:08 +00:00
Ralf Becker
9981730b29 moved ctag to calendar_bo, to use it in CalDAV and ActiveSync, thought it needs to be reworked, as it is to expensive performance-wise 2010-12-02 22:27:32 +00:00
Ralf Becker
96d44948f7 missing 5. parameter 2010-12-02 22:11:05 +00:00
Ralf Becker
83fd244b5c new parameter $clear_private_infos_users to read using EGW_ACL_FREEBUSY instead of EGW_ACL_READ (eg. private appointments) and clear private infos, if no read rights 2010-12-02 21:50:22 +00:00
Philip Herbert
25ac3231b9 corrected dateformat for calendar 2010-12-02 16:04:53 +00:00
Ralf Becker
f94a2a1851 propset svn:keywords Id 2010-12-02 09:03:56 +00:00
Ralf Becker
fafa84e5c7 changed debug_message to use error_log and not echo messages (stalls *DAV or ActiveSync) 2010-11-28 11:01:44 +00:00
Ralf Becker
aabee4a462 implemented calendar message list 2010-11-26 21:33:34 +00:00
Ralf Becker
07e09c71d8 move etag to calendar_bo 2010-11-26 21:32:10 +00:00
Ralf Becker
240e09440f working folderlist for calendar 2010-11-26 11:13:00 +00:00
Philip Herbert
e43136c6ff add basic calendar plugin for activesync 2010-11-26 09:45:38 +00:00
Nathan Gray
b69442d47f Respect convert to human friendly values option 2010-11-22 23:44:31 +00:00
Nathan Gray
65a1f21890 Fix logic to hide delete button 2010-11-22 16:46:18 +00:00
Nathan Gray
7358243aa1 *Users can now see and restore their 'deleted' but held events, if deletion prevention is turned on. There is now a config setting to allow users to purge their own 'deleted' events. 2010-11-22 16:19:28 +00:00
Jörg Lehrke
46345ee80d * Fix 'Shift Calendar Series' issue (Stylite #8273) 2010-11-21 13:23:01 +00:00
Ralf Becker
c9e5921ff1 fixed typo causing $$enddate$$ in notifcation message to show startdate 2010-11-16 13:39:19 +00:00
Ralf Becker
c115d73cfb * check quantity of resource to book against maximum, as conflict check only fails if other events are involved 2010-11-11 13:29:37 +00:00
Ralf Becker
b19c4b3030 * fixed conflict check of resource quantity and storage of changed quantity in existing events
(changed quantity was used for conflict check, but not stored!)
There is still a bug with multiple non-overlapping events overlapping the checked event: check is against quantity sum, not the maximum
2010-11-11 08:51:13 +00:00
Nathan Gray
9f13b381e0 Convert recurrence type and interval to human friendly values 2010-11-09 19:26:25 +00:00
Nathan Gray
7394f39167 Make sure owner gets included in fields to be converted to human-friendly formats 2010-11-09 19:05:40 +00:00
Ralf Becker
17df92a460 some PHP pdo_sqlite can for whatever reason NOT read the timezones database (reported eg. on Gentu)
not much we can do, but give an good error message, with a download link to the MySQL dump
2010-11-09 09:48:15 +00:00
Ralf Becker
0571fc21e0 * support multiget report on url with uid, as lightning uses multiget after a PUT on the PUT url, which is the uid 2010-11-08 09:25:58 +00:00
Nathan Gray
9ab9397af7 Format CSV export data from internal/numeric format into something a little more friendly for normal people 2010-11-04 17:27:08 +00:00
Ralf Becker
9dfe1a55f4 convert all timestamps from DB returned as string to integers, to avoid missinterpretation from egw_time as Ymd string 2010-11-04 13:30:11 +00:00
Philip Herbert
4d3be13eec enable X-RECURRENCE-ID for Nokia S60 Devices 2010-11-04 10:46:56 +00:00
Jörg Lehrke
fbbef0c68c * Calendar: Use participant's preferences to handle status resets while moving events 2010-11-02 11:00:41 +00:00
Jörg Lehrke
8b5ff32c53 Fix calendar preferences 2010-11-02 09:47:06 +00:00
Jörg Lehrke
b3e551e74b * Calendar: Fix notification timezone issues (#2746) 2010-11-01 19:17:57 +00:00
Ralf Becker
abb976d0cf fixed typo 2010-10-28 09:43:40 +00:00
Ralf Becker
0a35a4a7c2 an other PostgreSQL compatibility problem: cast to varchar necessary 2010-10-28 09:22:01 +00:00
Ralf Becker
f08decd739 /infolog/ does not imply setting the current user (for new entries it's done anyway) 2010-10-26 09:35:44 +00:00
Jörg Lehrke
298c4ebaf1 Fix time-range parser for CalDAV 2010-10-23 11:43:52 +00:00
Ralf Becker
ca4f237dc4 fixed http status "400 Something went wrong" on PUT request in CalDAV, if user has no explicit FREEBUSY rights for calendar of modified event 2010-10-21 15:30:20 +00:00
Ralf Becker
ddcc0e1f75 removed never implemented cats_no_subs common pref and always include sub-cats (no change as currently only one was selectable) 2010-10-14 16:16:02 +00:00
Nathan Gray
831c5e0f84 Add import / export support through importexport app 2010-10-13 17:25:40 +00:00
Nathan Gray
7c55020318 Use just set cal_id variable instead of potentially not set event['cal_id'] 2010-10-13 17:24:32 +00:00
Ralf Becker
8dee351338 avoid invinit recurrence on broken calendar entries (reference AND recur_type set) 2010-10-13 14:08:24 +00:00
Nathan Gray
cc2bee8dd0 Add exporting iCal and CSV via importexport 2010-10-12 22:45:02 +00:00
Ralf Becker
8aa40841e0 fix for mystylite bug #818: planner by user only with read rights (should work with freebusy rights too) 2010-10-12 14:33:19 +00:00
Ralf Becker
f3ea81f5c6 remove "Yes" from available views for homepage and missing translations 2010-10-12 11:24:25 +00:00
Klaus Leithoff
01f7688185 allow to set/choose the view in home-view 2010-10-12 09:49:17 +00:00
Jörg Lehrke
33bd0fed50 Announce all available addressbooks and calendars of the current user with GroupDAV 2010-10-09 22:49:10 +00:00
Nathan Gray
e1505758b7 Add ability to set an alarm for after the appointment [starts] 2010-10-06 17:40:49 +00:00
Nathan Gray
c30e35bdd8 Sort categories alphabetically in planner by category view 2010-10-06 16:25:27 +00:00
Nathan Gray
7ae20bcf12 Update modified time when deleting 2010-10-04 15:09:15 +00:00
Klaus Leithoff
a5342d2eb1 calendar: handle catchable fatal error while trying to build rule 2010-10-04 10:07:52 +00:00
Klaus Leithoff
b976930423 preventing invalid birthdays stored with the datastore such as 0000-00-00 or 0.0.00 to transform to a birthday 2010-09-30 09:32:34 +00:00
Jörg Lehrke
a85fdb55cd Allow to add events to group calendars via CalDAV 2010-09-29 16:54:16 +00:00
Klaus Leithoff
b052ffeb0a allow cats for planner to be an array 2010-09-28 08:25:23 +00:00
Nathan Gray
2b13b73b60 When deleting but keeping events, hold on to links as well so they can be restored if event is restored 2010-09-27 18:03:46 +00:00
Klaus Leithoff
5c8d3301d6 postgres compatibility gathering of birthdays for homearea (calendar merge of birtdays into holidays) order by column must be part of distinct selection list; adapting calendar home view to meet expected date format by using egw_time::to 2010-09-17 13:51:12 +00:00
Ralf Becker
1e79225a29 removed explicit var parameter from Horde_iCalendar $component parameter of _ical2egw_callback, as all object are passed by reference in PHP5+, but usage via call_user_func_array(), gives warning as no (explicit) var parameters are allowed 2010-09-15 13:10:29 +00:00
Jörg Lehrke
9ae3b93e63 Fix CalDAV ctag calculation 2010-09-14 05:07:33 +00:00
Jörg Lehrke
bb9190a669 New content_history approach for calendar synchronization; fix various Sync issues 2010-09-12 20:14:46 +00:00
Jörg Lehrke
6fde93d15b Improved ctag for CalDAV 2010-09-12 12:44:22 +00:00
Jörg Lehrke
13cf31924f Fix find_event() issue 2010-09-11 23:15:05 +00:00
Jörg Lehrke
07063ebf7a Update cal_modified for all required cases; adjust CalDAV ctag function 2010-09-11 18:08:48 +00:00
Ralf Becker
c5f77ca982 new param $sql_filter for search() 2010-09-10 19:12:59 +00:00
Ralf Becker
ce35264ed9 fix for postgreSQL bug reported by Anthony Messina (amessina-at-messinet.com): sync_contentid is varchar(60) and needs explicit cast, fixed by letting egw_db do the quoting, which is more save anyway 2010-09-10 07:01:41 +00:00
Ralf Becker
8241be4091 storing deleted timestamp instead of a deleted flag, to allow to use calendar table instead of egw_api_content_history later on 2010-09-09 09:11:57 +00:00
Klaus Leithoff
c3fe8e2ded fix for scrollbar for searchfield in calendar sidebox for safari; provided by Chr.Fueller 2010-09-07 14:48:13 +00:00
Nathan Gray
49471c5e2b Change link title so it can give the date for a particular recurrence, if the passed id is in the form CAL_ID-RECUR_DATE 2010-09-03 18:04:48 +00:00
Nathan Gray
db9bbc8460 Don't delete links until purge, same as addressbook 2010-09-02 20:55:37 +00:00
Jörg Lehrke
f91095f2ec Fix EXDATE issue for Apple devices 2010-08-26 20:28:54 +00:00
Nathan Gray
9b62e51e2d Add action to list view for admins to recover events from list view (egw.stylite.de bug #8140) 2010-08-24 16:59:13 +00:00
Ralf Becker
1d98728552 fixed not disabled custom field tab, if no cfs exist
(problem was added history tab, which changed name of tabs widget, now using "tabs=general|...")
2010-08-16 07:13:47 +00:00
Jörg Lehrke
44c3c7eb9a Improve iPhone iCal support 2010-08-15 06:42:05 +00:00
Jörg Lehrke
d4985709c5 Fix recurrence enddate issue 2010-08-15 06:34:16 +00:00
Jörg Lehrke
f90e1da24f Fix alarm handling for recurring events starting in the past 2010-08-10 21:21:18 +00:00
Jörg Lehrke
0f284a0bfb Disable Thunderbird special treatment 2010-08-08 21:52:44 +00:00
Ralf Becker
c7bc0fbd82 using created and modified timestamps from calendar, and not reading them separate from egw_content_history table 2010-08-05 17:57:59 +00:00
Ralf Becker
a3d06cb638 improved performance by not checking exceptions for referencing a master which mentions them as exceptions 2010-08-05 17:11:13 +00:00
Ralf Becker
be91330030 fixed not working notifications for types:
- responses: on participant responses too (everytime)
- modifications: on all modification, but responses
2010-08-02 14:15:05 +00:00
Hans-Jürgen Tappe
a66ae024a9 Tracker #2453. Introduce a year view, which uses a fixed month / day grid and
displays the events inline (like in day / week view).
2010-07-31 07:51:52 +00:00
Klaus Leithoff
d813c7adc7 save states of calendar view to session only when we are in calendar 2010-07-16 09:00:49 +00:00
Klaus Leithoff
e2dab5d56b fix for reset_stati on Drag and Drop; Work by Chr.Fueller, leithoff 2010-07-13 14:35:34 +00:00
Klaus Leithoff
26c7f601f3 making sure / checking that alarmData is an array as expected. 2010-07-13 11:48:06 +00:00
Klaus Leithoff
f2bc58898f rework of calendar purge function 2010-07-06 08:20:53 +00:00
Jörg Lehrke
c9e1b56d2d Fix vCalendar v1.0 EXDATE export 2010-07-05 19:05:54 +00:00
Ralf Becker
419516c011 removed columns from DELETE statement 2010-07-02 06:00:25 +00:00
Jörg Lehrke
75b25bb796 Fix FroupDAV report issue 2010-07-02 05:01:15 +00:00
Nathan Gray
f8431b00a7 - Fix purging of old events so it doesn't delete everything
- Trick config into calling the hook when purging is turned off so cron job is cancelled
2010-07-01 15:27:37 +00:00
Jörg Lehrke
09bc2c09cd Fix CTag issues for GroupDAV 2010-06-29 13:52:56 +00:00
Jörg Lehrke
affd4b1885 Fix CalDAV issues 2010-06-29 09:19:25 +00:00
Jörg Lehrke
5cb14e716e Fix CalDAV delete event issue 2010-06-28 17:34:57 +00:00
Nathan Gray
3a4bd1e45a Allow admins to restore deleted events 2010-06-28 11:38:28 +00:00
Nathan Gray
cb3590ebab Do not send notification when a deleted event is purged 2010-06-28 11:15:25 +00:00
Jörg Lehrke
2bfebbdb7f Improve group invitation handling 2010-06-28 05:08:22 +00:00
Jörg Lehrke
bce68a9e82 Fix CalDAV group attendee issue; various GroupDAV improvements 2010-06-27 22:16:22 +00:00
Jörg Lehrke
c6b0f825d9 Fix SyncML replace and recur_enddate issue 2010-06-26 15:58:33 +00:00
Jörg Lehrke
c5ae8dd8e2 Support Free/Busy information with credentials as part of the URL 2010-06-26 11:35:11 +00:00
Jörg Lehrke
9bca389162 Fix status change permission issue 2010-06-24 16:21:23 +00:00
Jörg Lehrke
48bc5c8119 Remove user as attendee, if he is the only participant and has accepted 2010-06-23 15:54:07 +00:00
Jörg Lehrke
7b850eabb6 Fix recurring event issues for vCal 1.0 imports; fix bug Stylite #646 2010-06-23 14:52:55 +00:00
Jörg Lehrke
16def751e3 Add 'reset stati options' to calendar 2010-06-23 14:47:34 +00:00
Ralf Becker
a4ae9df347 searching case insensitive for PostgreSQL too 2010-06-22 16:59:04 +00:00
Jörg Lehrke
b94e897717 Optimze alarm handling 2010-06-18 13:44:50 +00:00
Jörg Lehrke
ae1807c571 Fix recurring event alarm issue 2010-06-18 13:37:42 +00:00
Jörg Lehrke
b44f0c2f41 Fix SyncML device timezone issues 2010-06-17 07:38:27 +00:00
Jörg Lehrke
b53e7ccbcc Fix participant issue in event shifting 2010-06-16 10:41:45 +00:00
Jörg Lehrke
1800367a2d Fix iCalendar v1.0 TZ issue 2010-06-14 14:54:24 +00:00
Nathan Gray
61099d4a89 Move purging of old calendar events to use less API and do more with the DB directly. Hopefully will be a little easier on the DB. 2010-06-14 11:45:00 +00:00
Klaus Leithoff
01afc4aff5 fix invalid javascript variable names for draggable/droppable IDs when owner/calendar is a group 2010-06-14 08:11:22 +00:00
Jörg Lehrke
53ebb5dc19 Improve charset support for CalDAV 2010-06-14 07:51:28 +00:00
Jörg Lehrke
f54410da4f Fix recurrence enddate again 2010-06-11 22:13:27 +00:00
Jörg Lehrke
65e7054869 Fix recurrence enddate for vCalendar 1.0 2010-06-11 12:16:58 +00:00
Jörg Lehrke
e513532840 Fix enddate and alarm issue for series event shifting 2010-06-11 07:32:10 +00:00
Jörg Lehrke
0f00bb08a2 Set recurrence enddate to end time and use device TZ for vCalendar 1.0 2010-06-11 06:19:22 +00:00
Ralf Becker
30b509e9ce reverting setting of target app, as it is unneccessary 2010-06-10 17:54:03 +00:00
Ralf Becker
3289d93605 - missing target for new button in sidebox
- adding message to opener.location.search, instead using referer (which points to toplevel frame and reloads framework)
2010-06-10 17:24:22 +00:00
Ralf Becker
0d62b7efdc remove setting of not defined block "submit_column", causing holiday admin to fail 2010-06-10 09:09:31 +00:00
Jörg Lehrke
625603d59f Implement new 'change startdate of series events' approach 2010-06-09 18:00:11 +00:00
Ralf Becker
3f344fd852 store whole state in prefs, so calendar displays identical view after a new login (beside the date) 2010-06-09 16:14:19 +00:00
Jörg Lehrke
c7c0230233 Fix tab hidding issue in calendar.edit 2010-06-08 17:45:22 +00:00
Jörg Lehrke
f6eb00e6a1 Allow alarms for recurring events starting in the past 2010-06-08 16:36:55 +00:00
Klaus Leithoff
0c60f43c61 fix for wrong message on event-deletion (was: series deleted); corrected one german translation string 2010-06-08 09:52:48 +00:00
Jörg Lehrke
9303dca432 Disable the alarms-tab for newly created series event exceptions completely 2010-06-08 08:53:40 +00:00
Ralf Becker
9a32f0dc9e using relative width, works better then absolute one, giving just enough space for icon at minimal width of sidebox 2010-06-08 06:41:55 +00:00
Jörg Lehrke
015245d235 Improved alarm handling 2010-06-07 17:54:29 +00:00
Jörg Lehrke
82455c87a6 Newer Nokia E-Series SyncML supported fields default 2010-06-07 12:50:17 +00:00
Philip Herbert
f6e5b9de41 recognize Nokia e72-1 and e51-1 as s60 phone (supported fields) 2010-06-07 10:26:00 +00:00
Ralf Becker
48573b83a5 jdots adaption for calendar 2010-06-04 21:28:26 +00:00
Ralf Becker
ffc49a9ec6 fixed add link for jdots 2010-06-04 08:49:23 +00:00
Ralf Becker
b1682123c7 certain clean-ups, plus fixing wrong query passed to calendar integration (leftover from parameter change) 2010-06-01 09:28:37 +00:00
Ralf Becker
22406f6885 fixing call to calendar_so::search() to use new parameters, causing CalDAV to fail 2010-06-01 09:26:00 +00:00
Ralf Becker
13463578f5 using already read event to check acl (and not just the id causing a read) 2010-06-01 09:24:10 +00:00
Ralf Becker
a7fd927ae7 doing read (without acl check) first and then check acl on read event, to save reading it multiple times 2010-06-01 09:22:06 +00:00
Nathan Gray
586a58a4e7 Fix purging old events to get rid of events for all users, not just the admin that set it. 2010-06-01 07:36:14 +00:00
Nathan Gray
eeeebb5197 Delete alarms even if event is not really deleted 2010-05-28 07:24:34 +00:00
Jörg Lehrke
f1343bfde0 Fix EGW_ACL_FREEBUSY issue 2010-05-21 15:53:06 +00:00
Ralf Becker
de1a64cacd "missing break in deleted filter (showing only unknow status)" 2010-05-21 15:09:11 +00:00
Ralf Becker
3a19b96589 "fixed not not changed old $_cols parameter to $params['cols']" 2010-05-21 15:05:31 +00:00
Jörg Lehrke
e4d0b6737c Fix egw_ical iterator issues 2010-05-21 06:18:52 +00:00
Ralf Becker
2d53603ccd replaced several calendar_so::search() parameter with new array $params parameter and added new $params[users] with raw users as passed to calendar_bo::search() (without members and memberships added) for calendar integration 2010-05-20 15:22:37 +00:00
Ralf Becker
06854c6301 replaced several calendar_so::search() parameter with new array $params parameter and added new $params[users] with raw users as passed to calendar_bo::search() (without members and memberships added) for calendar integration 2010-05-20 15:12:59 +00:00
Jörg Lehrke
45172377ab Activate new 'Delete Series' handling 2010-05-20 14:43:50 +00:00
Ralf Becker
a91b9f2ebf added Jörgs delete_series popup to calendar.edit, thought calendar does NOT yet react on the user choice of deleting the exececptions or not (also moved styles again to app.css file) 2010-05-20 09:19:15 +00:00
Jörg Lehrke
54f6b31a37 Fix series exception delete issue 2010-05-19 17:41:46 +00:00
Jörg Lehrke
4c1e3a9e70 Fix CalDAV series event handling 2010-05-19 16:13:37 +00:00
Jörg Lehrke
03885572b6 Fix etag/ctag issues for CalDAV 2010-05-19 15:25:07 +00:00
Jörg Lehrke
8cb71dfc84 Allow upgrade of single events to series via SyncML/CalDAV 2010-05-19 09:20:15 +00:00
Jörg Lehrke
32678401e8 Fix calendar_bo::search() issue with events outside the search window (bug#8090) 2010-05-18 15:12:51 +00:00
Jörg Lehrke
2552476036 Special Lightning CalDAV treatment 2010-05-18 14:41:22 +00:00
Andreas Stöckel
7e9c97a770 Fixed unlocking of calendar entries when the edit window is closed 2010-05-18 10:31:08 +00:00
Jörg Lehrke
e8298f217f Fix iCal attendee CN issue 2010-05-18 10:04:29 +00:00
Jörg Lehrke
d2c03cd287 Fix CalDAV PUT failure 2010-05-18 10:03:21 +00:00
Jörg Lehrke
7ab47224c9 Fix calendar_bo::search() returning all-day events one day later (bug#2602) 2010-05-17 15:40:06 +00:00
Jörg Lehrke
27f1fef944 Fix CalDAV invitation issue (Stylite#513) 2010-05-17 14:20:34 +00:00
Ralf Becker
3629e919f5 "disabling not working iterator:
Replacement code for in r29270 removed filter  

	$cal_filters['query']['cal_reference'] = 0;

only works, if all recurrences and the master are returned in a single chunk, otherwise events get returned multiple times"
2010-05-14 17:51:55 +00:00
Jörg Lehrke
7ad18fac74 Improved calendar_boupdate::find_event() (#2582) 2010-05-14 13:32:08 +00:00
Jörg Lehrke
5623866894 Fix monthly recurrence issue (bug#2584) 2010-05-14 10:17:11 +00:00
Jörg Lehrke
dc8b3f2dec Fix 'non_blocking' issue (especially for Nokia) 2010-05-14 09:28:46 +00:00
Jörg Lehrke
362afdb312 Fix GroupDAV private event issue 2010-05-14 08:35:16 +00:00
Jörg Lehrke
015173f608 Fix email-only attendees issue 2010-05-14 08:06:08 +00:00
Jörg Lehrke
1985580304 New Delete Series Dialog 2010-05-12 11:15:45 +00:00
Ralf Becker
06b8c5ac75 "fix for bub #2579 - PHP Fatal error: Using $this when not in object context
--> get_path can NOT be static"
2010-05-09 20:23:53 +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
587439511d Fix all-day recurring event issue (3) 2010-05-03 12:18:57 +00:00
Jörg Lehrke
9013a52b81 Fix Edit recurring event issues again :-( 2010-05-03 07:52:10 +00:00
Jörg Lehrke
be18410907 Fix Edit all-day recurring event issues 2010-05-03 06:50:50 +00:00
Jörg Lehrke
d22a9aa537 Fix all-day recurring event timezone issue 2010-05-01 16:25:10 +00:00
Jörg Lehrke
df6e3195e4 User Calendar CalDAV directory contains only 'not rejected' entries 2010-05-01 16:24:05 +00:00
Nathan Gray
f081a1ba2b Reset status of participants when copying an event 2010-04-30 16:00:03 +00:00
Nathan Gray
c1b44e29d0 Pass recurrence date with recurring event's app_id so it can be used 2010-04-30 15:41:32 +00:00
Klaus Leithoff
165a5d6e0a unset and at the end of processing loop, as they are used as indicator, that the entry is an hooked-app-entry; some codeformatting 2010-04-30 09:29:21 +00:00
Nathan Gray
d57893988e Use preference to set size of description lines 2010-04-27 19:12:42 +00:00
Nathan Gray
e4bb6099eb - Disable filemanager link for integrated apps
- Change timesheet icon on each row to popup, like Infolog does
2010-04-27 18:36:18 +00:00
Nathan Gray
a2daa3f5cc Add trailing / to regex to silence warning 2010-04-27 18:35:14 +00:00
Jörg Lehrke
a2e2c5f797 Fix mounthly by day recurrence issues 2010-04-27 11:47:56 +00:00
Nathan Gray
09539d3ca2 Changes to calendar list view:
- Add button to add timesheet for one entry
- Disable delete button for other apps that got integrated
- Fix edit link for integrated apps
- Add scrollbar to long descriptions
- Create timesheet now works for integrated apps as well
2010-04-26 21:41:07 +00:00
Nathan Gray
58fe8a7cd8 Use edit link from other app when displaying entries from other apps in list view 2010-04-26 16:47:13 +00:00
Klaus Leithoff
5e8b903207 if filter showonlypublic is set, set status filter to hide rejected too 2010-04-26 12:28:30 +00:00
Jörg Lehrke
0d13079a46 Fix supportedFields settings for Nokia devices 2010-04-26 07:29:51 +00:00
Klaus Leithoff
09ea5fe114 feature to filter for only public events (no events tacked as private) 2010-04-26 07:08:23 +00:00
Nathan Gray
afafbec708 Use db->quote to get good cross db comparisons 2010-04-23 19:11:24 +00:00
Jörg Lehrke
2a2a9f5f11 Cleanup all-day handling 2010-04-23 15:15:22 +00:00
Jörg Lehrke
a707c183f3 Export all-day events as 'EVENT' to Nokia devices 2010-04-23 14:38:07 +00:00
Jörg Lehrke
22bb23b8ff Fix new all-day event handling 2010-04-23 13:52:45 +00:00
Jörg Lehrke
fe5d9f305b Fix iCal export of incomplete events again .-( 2010-04-23 11:03:32 +00:00
Jörg Lehrke
4cb30032ba Fix iCal export from calendar list view 2010-04-23 10:34:47 +00:00
Jörg Lehrke
c5c5330799 Add Nokia 5800 XpressMusic to supported devices 2010-04-23 07:06:42 +00:00
Ralf Becker
74ccf7501d helper function to construct union-query-columns for calendar_integration 2010-04-23 06:52:48 +00:00
Jörg Lehrke
ee18b0acac New all-day event implementation 2010-04-23 06:15:18 +00:00
Nathan Gray
7611cd1374 Link created timesheets back to event 2010-04-22 21:41:35 +00:00
Nathan Gray
c4a8515d99 Add feature to regularly remove old calendar events that are more than x years in the past. Set in Admin -> Calendar -> Site configuration 2010-04-22 20:27:14 +00:00
Nathan Gray
690e62317f Use the pretty popup to ask about editing series or exception 2010-04-22 16:40:18 +00:00
Nathan Gray
074b893e37 Change preserving deleted events. For speed improvements, use an extra column instead of joining to the sync tables 2010-04-22 16:09:36 +00:00
Nathan Gray
6b7dee0c5b Apply global categories when creating a timesheet from an event. 2010-04-21 19:02:55 +00:00
Klaus Leithoff
2767a801fe fix for draggable calendar event to other dates (typo/cut and paste error) provided by andreas stoeckel 2010-04-19 09:27:01 +00:00
Jörg Lehrke
211d2818cb Enable ../groupdav.php/calendar/ again 2010-04-16 21:53:34 +00:00
Jörg Lehrke
4dc9ed98f9 Fix hierarchical properties issue 2010-04-16 18:58:32 +00:00
Klaus Leithoff
9b441faaf1 fixing warning regarding template->show 2010-04-16 14:30:21 +00:00
Klaus Leithoff
c93b76987a enable create of recurreence for weekdays only for recur_type weekly (conditional enabling/disabling weekday selection area) provided by andreas stoeckel 2010-04-16 13:24:58 +00:00
Ralf Becker
c99426b492 fixed not working delete of participants specified as email address containing quotes 2010-04-16 10:19:29 +00:00
Klaus Leithoff
ebe6ec61fa fixing problem in listview, using the new UNION functionality 2010-04-16 07:55:43 +00:00
Jörg Lehrke
e339b3626c Support old SyncML preference settings 2010-04-16 07:04:53 +00:00
Ralf Becker
92a6245385 removed iCal examples and rfc2445, as they are not needed 2010-04-16 06:30:21 +00:00
Ralf Becker
83884ab2c2 better understandable dialog for editing recuring events (plus missing translations) 2010-04-15 18:23:02 +00:00
Ralf Becker
db6c6cd462 "show only groups with calendar rights, as we do in the calendar selection" 2010-04-15 14:10:01 +00:00
Klaus Leithoff
06fed70281 all user_types supported while building the UNION 2010-04-15 13:41:57 +00:00
Klaus Leithoff
d41940fc1f work in progress, forgot that ressources are user_types too 2010-04-15 13:23:16 +00:00
Klaus Leithoff
b1987c62fa use UNIONs instead of OR for calendar filter "owner too" 2010-04-15 12:52:35 +00:00
Jörg Lehrke
2b9198e8f7 Fix SyncML preferences 2010-04-14 16:40:54 +00:00
Jörg Lehrke
ae0bd0a0b7 Clarify iCal file export TZ option 2010-04-14 15:08:57 +00:00
Jörg Lehrke
d3ad7cae78 Fix undefined status issue 2010-04-14 14:44:21 +00:00
Ralf Becker
239793470b adding an iterator for iCal files to minimize memory footprint on import of huge iCal files (not yet used for iCal data supplied as string, eg. from SyncML, as calendar_ical::importVCal uses count() and array access to returned components/events, and not just looping over it via foreach) 2010-04-14 10:19:41 +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
Ralf Becker
e5c782ca8e "fix warning if no participants defined (eg. iCal import)" 2010-04-14 08:41:45 +00:00
Jörg Lehrke
30a3296c8e Optimze and clean up GroupDAV 2010-04-13 15:31:59 +00:00
Jörg Lehrke
15e379249f Fix group participant issue 2010-04-12 07:20:11 +00:00
Jörg Lehrke
b0532e4ac2 Fix group participant localization issue 2010-04-12 06:31:30 +00:00
Nathan Gray
09d2df0f9d New action: Create timesheets from entry in event list 2010-04-06 19:01:17 +00:00
Nathan Gray
55d3ea8556 Prompt to edit whole series or create an exception for recurring events when editing from list view 2010-04-06 16:58:47 +00:00
Nathan Gray
2a715ae302 Add actions and 'whole query' checkbox to list view 2010-04-05 18:28:41 +00:00
Ralf Becker
928a38d5cf "fixed not working edit of recuring events on home page
(caused by curly brackets in if condition, which got interpreted as placeholdes by old Template class, removed them as they are unnecessary anyway)"
2010-04-03 13:44:28 +00:00
Ralf Becker
0a33bec253 "implemented new status filter for planner by user (wasnt implemented when status filter were added)" 2010-04-03 13:16:39 +00:00
Nathan Gray
84d3643b22 Fix bug where a rejected event could still cause a schedule conflict 2010-03-25 20:23:22 +00:00
Jörg Lehrke
0dfb44228c Fix SyncML preferences 2010-03-24 11:37:22 +00:00
Jörg Lehrke
42a09eda30 Add configurable client character set for SyncML & various fixes 2010-03-22 18:03:23 +00:00
Ralf Becker
57adecd8ff fixed after r29540 broken install:
- calling egw_time::getTimezones() not possible during setup time -->
  stalling all installs
- using tz_id=1 for a default is not possible, as that's the first
  regular tz_id on new install --> using '0' now
- added translation for that new calendar setting
2010-03-22 14:20:19 +00:00
Jörg Lehrke
7f2e37b5eb Configurable timezone for file export of calendar data 2010-03-17 16:57:03 +00:00
Jörg Lehrke
fc07594746 Fix GroupDAV iterator issue 2010-03-16 20:44:55 +00:00
Jörg Lehrke
abfc3f522b Fix duplication by changed event title 2010-03-16 09:26:01 +00:00
Jörg Lehrke
8b5dfcb926 Fix CLASS:PRIVATE issue 2010-03-15 17:18:17 +00:00
Jörg Lehrke
28383ae67d Fix Funambol SIF enconding 2010-03-15 17:17:42 +00:00
Jörg Lehrke
7220d96847 Use iterator approach in GroupDAV; fix various issues 2010-03-15 09:55:16 +00:00
Jörg Lehrke
89f7d50cec Differentiate GroupDAV collections 2010-03-11 07:30:46 +00:00
Jörg Lehrke
871635002a Improve find_event() 2010-03-09 17:03:41 +00:00
Jörg Lehrke
191d0c7fd5 Fix 'search for series master' issue 2010-03-09 09:28:46 +00:00
Jörg Lehrke
0978663ada Fix Funambol STATUS issue 2010-03-08 13:54:13 +00:00
Jörg Lehrke
20aab1b6f2 Handle failures in event2rrule gracefully 2010-03-08 06:54:02 +00:00
Nathan Gray
3a09d2072f Fix for cast from Anthony Messina 2010-03-07 22:09:48 +00:00
Jörg Lehrke
a8804a44ef GroupDAV updates 2010-03-06 23:06:43 +00:00
Nathan Gray
79824c2e0c Use cast only for Postgres, as in projectmanager 2010-03-06 15:49:59 +00:00
Nathan Gray
11183a763d Cast sync_contentid to unsigned int 2010-03-06 02:40:57 +00:00
Nathan Gray
cb5054f2e4 Add an option to keep deleted events, only an admin can purge them 2010-03-05 20:01:44 +00:00
Klaus Leithoff
a410651f6f changing a bit regarding the logic of the new feature (be notified about own changes) 2010-03-03 12:14:10 +00:00
Klaus Leithoff
f093aeff24 feature to enable to be notified of events you created/modified/deleted yourself; That is most helpful if you get a notification eMail with the ics attached, and thus be able to import the event somewhere else (another EGroupware/Outlook/...) 2010-03-03 11:59:55 +00:00
Christian Binder
b39c0affba revert nonsense commit from jaytraxx 2010-03-02 18:21:50 +00:00
Christian Binder
fcd731a00b prevent iterating on empty array 2010-03-02 18:01:41 +00:00
Christian Binder
fcc50858ee set whole day flag on import if necessary - this is needed for better recognition in bo class 2010-03-01 15:37:59 +00:00
Jörg Lehrke
0412ebbb33 Set ORGANIZER for KDE 2010-02-26 15:39:46 +00:00
Jörg Lehrke
c816b4188e Fix (pseudo) exception handling in CalDAV 2010-02-26 12:37:07 +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
b2b8b35383 Fix various recurring event issues 2010-02-24 15:05:00 +00:00
Jörg Lehrke
85b6ba5ef0 Cleanup issues found during backport 2010-02-23 18:19:12 +00:00
Jörg Lehrke
08dbf52b66 Fix typos and code cleanup 2010-02-22 10:02:33 +00:00
Jörg Lehrke
e362a5b451 Use category names for history-log 2010-02-19 17:42:02 +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
Nathan Gray
de4a0e9239 Add history logging to calendar 2010-02-12 20:18:45 +00:00
Jörg Lehrke
41f587d584 Fix wrong classification in get_event_info() again 2010-02-11 21:04:10 +00:00
Jörg Lehrke
65c06844e5 Fix wrong classification in get_event_info() and UID handling for CalDAV 2010-02-11 20:50:35 +00:00
Jörg Lehrke
52ea4512ca Improve find_event() again 2010-02-11 07:33:32 +00:00
Jörg Lehrke
ad79f404e9 Fix recurring event issue 2010-02-10 19:47:39 +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
Jörg Lehrke
b6097fa156 SyncML Content Handling
* Improved find-methods
* Timezone support for InfoLog
* SyncML Preferences
    - addressbook and address list are now joined
    - Primary User Group for addressbook and calendar
* SlowSync uses old mapping information (can be disabled within the preferences)
2010-02-09 21:56:39 +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
Ralf Becker
936c636ffd display upload failed (because post_max_size of webserver exceeded) message from etemplate, could be nicer but way better then before 2010-02-05 03:34:17 +00:00
Jörg Lehrke
75746226a4 Use egw_time for InfoLog, tracking backend and Tracker 2010-02-04 12:08:03 +00:00
Jörg Lehrke
da35c68b97 Fix occurrence count for recurring events again :-( 2010-02-03 15:57:44 +00:00
Jörg Lehrke
b596935291 Fixes for get_event_info() and enhancements for find_event() 2010-02-03 12:24:42 +00:00
Jörg Lehrke
8f71452859 Fix occurrence count for recurring events 2010-02-03 10:41:44 +00:00
Klaus Leithoff
f9a3ab52dc only do the integration query, if currentapp is calendar, because of performance issues thereof (addressbook fetches the last calendar event(, which fetchs the infologs)) 2010-02-02 13:29:51 +00:00
Klaus Leithoff
37b190e82e fixed position of tooltip did not fix the problem intended, and had unwanted sideeffects 2010-02-02 11:35:13 +00:00
Klaus Leithoff
995940eeb5 small improvements regarding the tooltip behavior for calendar 2010-02-02 11:23:11 +00:00
Klaus Leithoff
6e258109d8 as you can now see other apps in calendar, you must make sure you read only true calendar events for recurring dates, participants and customfields 2010-02-01 10:35:05 +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
cc848debf2 disable integration for GroupDAV, SyncML, ... 2010-01-24 03:50:40 +00:00
Ralf Becker
2a4e0a3f3e make long tooltips scrollable and remove double call to html::tooltips 2010-01-24 03:19:59 +00:00
Christian Binder
7c7be4d31a Prevent the GUI from propagating a series exception to a series master. 2010-01-23 12:43:35 +00:00
Christian Binder
90dfe0a989 moved delete message to the right place (edit; not view). Prevent changing of fundamental values of an event series which would affect the recur_exception dates. 2010-01-23 10:40:44 +00:00
Christian Binder
42ceb277ac fixed typo 2010-01-23 09:53:58 +00:00
Christian Binder
98fe270524 fixed catching value from non-existing var 2010-01-23 09:53:38 +00:00
Christian Binder
3a0cf6bc29 delete exceptions too if a series of events get deleted by the GUI to avoid orphaned events. Same behaviour like we already have in future 1.6.003 2010-01-22 19:49:37 +00:00
Christian Binder
fb16385a8d method get_related should only return the ids 2010-01-22 19:47:32 +00:00
Christian Binder
a92a3b4a7b fixed typo 2010-01-22 19:45:25 +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
Ralf Becker
12e5f2b218 allow calendar integration to supply participants and icons 2010-01-21 03:00:53 +00:00
Ralf Becker
74383ecb15 fixed warning if tagWholeDayOnTop($dayEvents) is called with no array, eg. false because no events found 2010-01-20 23:21:00 +00:00
Ralf Becker
8c1e245925 hook to supply further union queries for calendar display 2010-01-19 22:20:44 +00:00
Ralf Becker
810539ba9d sitemgr module for (yearly) planner 2010-01-19 22:17:01 +00:00
Ralf Becker
a04bae4fd3 fixed class, for birthdays 2010-01-17 03:59:50 +00:00
Ralf Becker
816634a490 more work on yearly planner:
- month with less then 31 days: fixed scale, display filler
- marking special days like, weekends, today, holidays
- added navigation (next/previous month/year)
2010-01-17 02:03:11 +00:00
Christian Binder
c32beca725 fixed a typo 2010-01-15 08:49:36 +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
Ralf Becker
793aab00b0 small fix for events lasting more then 2 month, eg. holidays ;-) 2010-01-15 04:08:10 +00:00
Ralf Becker
fad791eabd first version of a yearly planner 2010-01-15 03:53:12 +00:00
Jörg Lehrke
14e7c0cd87 Add filter to calendar_so::get_recurrence_exceptions() method 2010-01-14 17:01:30 +00:00
Jörg Lehrke
023b5979dd Enable SIFE again 2010-01-13 20:48:39 +00:00
Jörg Lehrke
6bf3be83fc Fix empty EXDATE issue 2010-01-13 06:17:30 +00:00
Jörg Lehrke
bce9456486 Fix vCal 1.0 RRULE issues again :-O 2010-01-12 18:52:29 +00:00
Jörg Lehrke
b358505359 Fix vCal 1.0 RRULE issues again :-o 2010-01-12 18:31:53 +00:00
Jörg Lehrke
c8b5f589b6 Fix vCal 1.0 RRULE issue again ;-( 2010-01-12 15:08:15 +00:00
Jörg Lehrke
0f88cd4553 Fix vCal 1.0 RRULE issue 2010-01-12 13:54:30 +00:00
Jörg Lehrke
3bb60af5f1 Enforce SINGLE, if detected; cleanup logging again 2010-01-11 18:15:44 +00:00
Jörg Lehrke
548f5f8c98 Fix various issues introduced with Funambol adjustments; code cleanup 2010-01-10 19:02:16 +00:00
Jörg Lehrke
70aee0a67d Fix task priorities for Funambol WM Client 2010-01-09 22:28:41 +00:00
Jörg Lehrke
3242e169cc More Funambol adjustments and workarounds 2010-01-09 18:04:21 +00:00
Jörg Lehrke
49823ecd7e Fix encoding issues; improvements for Funambol clients 2010-01-08 13:09:36 +00:00
Christian Binder
fc63d67fb9 invalid the cache if saved_states get updated, otherwise changed states will not be saved correctly in some cases 2010-01-07 10:41:51 +00:00
Jörg Lehrke
d82ca7378b Fix recur_enddate during import/export 2010-01-05 18:06:07 +00:00
Jörg Lehrke
ac7424612e Calculate the EGw recur_enddate properly 2010-01-05 11:24:27 +00:00
Christian Binder
946ecb41b2 substract only one second from incoming whole day events because EGw stores whole day events with DTEND 23:59:59 2010-01-04 13:56:20 +00:00
Christian Binder
80f9969ee3 fixed wrong indents 2010-01-02 13:25:58 +00:00
Christian Binder
43190660a4 implemented different priority values for funambol/outlook clients since outlook does not support the RFC defined PRIORITY values, fixed some typos 2009-12-29 13:51:07 +00:00
Christian Binder
3546f1057d call groupdav::fix_series() really just for groupdav clients 2009-12-27 15:49:40 +00:00
Ralf Becker
dd0a5c1b13 Fixed CalDAV/GroupDAV to include all exceptions of a series in the
resource of the series master. Now the status of single recurrences of a
serie are send to the clients as (virtual) exceptions as Jaytrax&Joerg
implemented it already for SyncML.
The implementation is unfortunately a little different, as CalDAV
differs from SyncML and I dont know the SyncML part that well. Maybe we
can re-unify the code again together.
Tested so far with Tb3/Lightning1.0b and a little with iPhone.
Please let me know, if you run into problems with other clients.
2009-12-27 04:21:33 +00:00
Nathan Gray
e532ee0944 Implement new link hook view_list, to be able to be taken to a list of entries 2009-12-08 22:41:49 +00:00
Nathan Gray
ac14a5a1fd Implement options so link_query() can be limited 2009-12-08 22:36:43 +00:00
Ralf Becker
dd55355195 "fixed several small problems in new invitation and category acl" 2009-12-07 13:31:51 +00:00
Ralf Becker
60f72a9605 "fixed wrong default for referer (used if UA does not send one)" 2009-12-07 13:29:14 +00:00
Jörg Lehrke
d6da8d8980 Fix yearly recurrence issue for version 1.0 2009-12-06 18:04:08 +00:00
Jörg Lehrke
8f0bd9a5dc Fix recurrence UNTIL calculation 2009-12-04 15:38:23 +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
44b15c1775 Category based ACL to limit adding of a certain category or changing the
status of a participant (included moving the event), 
eg. to implement a restricted holiday calendar
*** not yet fully tested ***
2009-12-03 18:24:19 +00:00
Ralf Becker
5066c5c3b7 docu update 2009-12-03 18:20:07 +00:00
Jörg Lehrke
e7ec189ea4 Use ['egw_info']['server']['server_timezone'] to reset server timezone 2009-12-03 08:28:45 +00:00
Jörg Lehrke
dd92e60180 Use UID for find_content(); code cleanups 2009-12-01 10:24:55 +00:00
Stefan Becker
2a1d7079ad delete space, that translations work fine again 2009-11-30 13:53:21 +00:00
Jörg Lehrke
738726abf1 Adjust group attendee handling 2009-11-29 21:03:17 +00:00
Jörg Lehrke
3fa506f24a Change calendar filter 'all' to include 'owner'; typo in get_recurrences() 2009-11-29 21:02:15 +00:00
Jörg Lehrke
a0e1a238dd Optimized SyncML memory footprint; fixes various filter issues 2009-11-29 14:03:45 +00:00
Christian Binder
96c5fc3184 quietened logging 2009-11-27 08:33:10 +00:00
Christian Binder
98575180c5 give calendar owner the CHAIR role if we have ADD ACLs for the owners calendar 2009-11-27 08:04:29 +00:00
Jörg Lehrke
3d93128777 Enforce configured device timezone during import 2009-11-27 06:47:21 +00:00
Jörg Lehrke
43c5373b4d Fix event recur_interval mismatch issue 2009-11-27 06:46:32 +00:00
Jörg Lehrke
0f77f7e802 Fix role handling in get_recurrences() 2009-11-26 20:21:16 +00:00
Jörg Lehrke
6a7b07e3c6 New PARTICIPANT/ORGANIZER schema 2009-11-26 18:36:19 +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
Christian Binder
5ce294aa5c calendar GUI classes now use centralized method in categories class to check for category permissions 2009-11-26 08:28:06 +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
8e63887331 respect category permissions in calendar gui, unified var name of categories object 2009-11-25 12:58:09 +00:00
Christian Binder
a7c2b81b85 moved declaration of categories var to bo class 2009-11-25 12:55:59 +00:00
Ralf Becker
9726ed19fc - fixed typo calling not existing check_acl instead of check_acl_invite
- fixed check_acl_invite to work with no acl set too
2009-11-24 13:13:41 +00:00
Christian Binder
ddb0f86257 check if array is present before iterating it 2009-11-23 13:11:18 +00:00
Christian Binder
8ae3b5f833 fixed empty RECURRENCE-ID on ical export 2009-11-23 13:03:35 +00:00
Jörg Lehrke
ed5799b519 Fix SIFE issues 2009-11-22 17:48:51 +00:00
Ralf Becker
71ef04effc added multiple week view to icons 2009-11-22 14:01:48 +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
Christian Binder
e76d659cac applied category preserve on import also to SIF classes 2009-11-19 15:30:53 +00:00
Jörg Lehrke
cb9ea723c6 Set VTIMEZONE DTSTART entries properly 2009-11-19 13:30:30 +00:00
Jörg Lehrke
1b20783041 Fix Yearly RRULE Issue with Funambol Outlook Sync Client 2009-11-19 11:52:41 +00:00
Jörg Lehrke
4088b81c5c Impoved support for recurrences if device timezone differs from event timezone 2009-11-19 10:13:17 +00:00
Jörg Lehrke
9e6d97f106 Fix VTZIMEZONE DTSTART Issue 2009-11-19 07:52:42 +00:00
Christian Binder
16538f4f9d use check_perms() on ical export and merge categories on import 2009-11-18 14:46:25 +00:00
Ralf Becker
91e694e79d Calendar UI improvments:
- show status of participants in border style of event
  + solid:  all participants accepted
  + dotted: all participants answered, but not all accepted
  + dashed: not all participants answered
- mark invitations (of current user, not calendar selected)
  + white background color (not category based color)
  + show blue questionmark icon in event header
2009-11-18 13:58:01 +00:00
Jörg Lehrke
86d648a995 Set event['tzid'] for clients using UTC timestamps 2009-11-16 17:28:34 +00:00
Ralf Becker
003420713b "fixed typo" 2009-11-14 09:13:37 +00:00
Ralf Becker
5d1fd4aedb "timezone of events in iCal class depend on $date_format parameter (depending on device type)" 2009-11-13 07:52:06 +00:00
Ralf Becker
d1f233d141 "human readable string representation of rrule:
- added timezone (if different from user timezone)
- moved monthly rule to first argument in brackets"
2009-11-12 19:39:46 +00:00
Ralf Becker
b7c5dd63dc "recalculate recurences, if timezone of a recuring event changes
(it would be nice, if there's a simple method to find out if two different timezones switch at identical times, eg. Europe/Berlin and Europe/Paris do so, so we can avoid the recalculation)"
2009-11-12 19:11:27 +00:00
Jörg Lehrke
db25947a38 Use new rrule iterator class for RRULE generation 2009-11-12 19:08:23 +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
Ralf Becker
e7a6f37af8 "- changed $interval parameter to default to 1, if < 1
- fixed wrong name for recur_enddate"
2009-11-12 09:31:42 +00:00
Jörg Lehrke
014119f075 Add device specific timezone settings 2009-11-11 21:31:33 +00:00
Ralf Becker
a4176448f0 "New recurance rule iterator:
- Implemented two new monthly rrules: last day of month and last weekday (eg. workday) of month
- The constructor accepts times only as DateTime (or decendents like egw_date) to work timezone-correct.
- The timezone of the event is determined by timezone of the startime, other times get converted to that timezone.
- There's a static factory method calendar_rrule::event2rrule(array $event,$usertime=true), which converts an event read by calendar_bo::read() or calendar_bo::search() to a rrule iterator.
- The rrule iterator object can be casted to string, to get a human readable describtion of the rrule.
- There's an interactive test-form, if the class get's called directly: http://localhost/egroupware/calendar/inc/class.calendar_rrule.inc.php
--> next step will be to use the rrule iterator in calendar_bo::insert_all_repetions() to calculate the recurences"
2009-11-11 20:38:16 +00:00
Ralf Becker
5e24cc0c9b "UTC is treated specially: it's implicitly mapped to tz_id=-1 (to be able to store it for events), but calendar_ical creates NO VTIMEZONE component for it." 2009-11-10 20:38:00 +00:00
Ralf Becker
aa90d987c1 "fix: csv export is not always exporting custom fields" 2009-11-10 20:18:35 +00:00
Ralf Becker
9df8b0bdbf new static calendar_timezones::DateTimeZone($tzid) method returning a
DateTimeZone object resolving by PHP not supported Windows timezones
with their standard alias
2009-11-10 20:07:33 +00:00
Ralf Becker
4865854281 Added aliases for Windows timezone to standard TZID's 2009-11-10 19:37:27 +00:00
Ralf Becker
85bf743434 "Using VTIMEZONE component from new calendar_timezones class (imported sqlite DB from Lighting) for exports and importing TZID from iCals.
Horde Code already uses VTIMEZONE component to return times in servertime, no need to change anything there."
2009-11-10 15:08:35 +00:00
Ralf Becker
ddfcdfff06 allow EGroupware users to select only timezones, for which we have a VTIMEZONE component (I think the others are only unofficial aliases, not included in our database) 2009-11-09 09:00:53 +00:00
Ralf Becker
3de5e87288 "properly restoring user enviroment, after notifications send: spezially timezone" 2009-11-07 12:09:12 +00:00
Jörg Lehrke
7198ed861f make code more comprehensible 2009-11-06 15:44:04 +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
f3a21aec7b make alarm content array really empty if all alarms have been stripped out due to ACL issues - otherwise one empty row will be displayed in form 2009-11-04 09:41:19 +00:00
Ralf Becker
01ecab32bc "fixed typo, thanks to jaytraxx" 2009-11-04 08:06:45 +00:00
Ralf Becker
28518afcbf "quietening diagnostics in search" 2009-11-04 07:57:55 +00:00
Ralf Becker
e9e7ad77b6 "setting tzid from user prefs for new entries" 2009-11-04 07:56:00 +00:00
Jörg Lehrke
bacca46078 Fix Alarm Inport Issues 2009-11-03 16:31:07 +00:00
Ralf Becker
54f32ae08a "fixed sql error after switching on custom fields column" 2009-11-03 16:13:45 +00:00
Ralf Becker
867636861e Added calendar table for timezones:
- timezone data is imported from SQLite DB from Thunderbird Lighting 1.0pre
- contains iCal VTIMEZONE component
- also contains not yet used latitude and longitude for timezone
- methods to convert between TZID string, nummeric tz_id and VTIMEZONE
  iCal component
--> preparation to store timezone information for each events
    (using tz_id as foreing key into egw_cal_timezones table)
2009-10-31 14:47:16 +00:00
Jörg Lehrke
85a9a06a96 Only one VTIMEZONE per VCALENDAR; Export Alarms again 2009-10-30 21:39:19 +00:00
Jörg Lehrke
a87fc26aa7 Fix RRULE issue for vCal 1.0; Fix timestamps with TZ issue 2009-10-29 19:42:32 +00:00
Christian Binder
b2a3bf96a0 improved privacy on conflicting events - only check ACLs for invited participants and not all participant ACLs from conflicting event 2009-10-29 09:25:54 +00:00
Jörg Lehrke
6d3bf02d1c Pseudo recurrence exception handling hacks; vCal 1.0 extensions 2009-10-25 18:22:01 +00:00
Jörg Lehrke
60a7f69b57 Enable pseudo recurrence exception handling hacks 2009-10-25 18:20:58 +00:00
Jörg Lehrke
2eed0b9ddc Fix comment 2009-10-25 18:20:00 +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
9850e07dd2 "weekday starts pref contained only monday" 2009-10-22 16:55:09 +00:00
Ralf Becker
7d89d8866d "fixed calendar csv-export:
- was only exporting 15 events (num_rows not forwarded to bo)
- participants contained html for status icon"
2009-10-22 13:41:44 +00:00
Jörg Lehrke
d0028ffc31 Improve readability 2009-10-19 20:50:17 +00:00
Jörg Lehrke
a11565ec9c Fix VTIMEZONE RRULE issue and be more compliant with standard 2009-10-19 20:46:23 +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
5408924afb All EGroupware apps can now set default and forced preferences on
installation time --> nice user experience and cleaner look (by hiding
exotic prefs by focing them to a usual value):
- settings returned from settings hook can contain values for keys
  'default' or 'forced'
- if settings hook require part of api or application, which are not
  available during installation time: use a method hook (instead of
  an old $app/inc/hook_settings.inc.php file), and check if
  $hook_param['setup'] is true
- default prefs created so far in setup/admin_account.php got removed
- common prefs in preferences_hooks::settings() got reworked to set
  default and forced prefs
- calendar prefs in calendar_hooks::settings() got reworked to set
  default and forced prefs
--> I will rework prefs of all our (default) applications according to a
best practice list of Stylite consultants
2009-10-18 12:57:30 +00:00
Ralf Becker
fe6c8fd226 also add extended (textual) information, if ical is selected for notifications 2009-10-18 12:46:18 +00:00
Ralf Becker
4f69a5d1b0 using references to loop of items in profind and some cleanups 2009-10-16 08:36:28 +00:00
Ralf Becker
ff91aa6223 - fixed setting of roles
- automatically adding owner as chair
2009-10-13 09:00:01 +00:00
Ralf Becker
867f5d650d default params for calendar_so::combine_status(,=1,='REQ-PARTICIPANT') 2009-10-13 08:58:54 +00:00
Ralf Becker
d6cf835680 missing translation of role 2009-10-13 08:58:06 +00:00
Ralf Becker
9d50eb121d disabled debug-message and halfway fixed rules 2009-10-12 21:26:11 +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
a3c57c48b3 "fixed typo reported in bug #2302 - Error while imported iCal file (PHP Error)" 2009-10-12 15:44:52 +00:00
Ralf Becker
e3c468361d "stop calendar to update prefs on each request (do it only on change)" 2009-10-12 09:34:56 +00:00
Ralf Becker
4e21b766b9 - reworked old browser class to use have only static methods
--> recogniced it's so old and dusty, it does not make sense any more
--> moved content_header() method to html class
- fixed calls of browser->content_header to use html::content_header
  instead
2009-10-11 11:37:46 +00:00
Jörg Lehrke
6f780041fa Fix VTIMEZONE handling 2009-10-09 18:20:13 +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
Jörg Lehrke
6312a087e3 Fix participants() deleted attendee issue, again 2009-10-07 04:23:42 +00:00