Commit Graph

1706 Commits

Author SHA1 Message Date
Ralf Becker
ef8ac254a4 many fixes in calendar:
- fixed fatal error if participant is no account
- if participant has no email use a pseudo one: noreply-$uid-uid@egroupware.org
- do not add account of calendar as participant (readd it in ChangeMessage)
- use calendar_boupdate::update() instead of ::save() to get notifications
- fixed fatal error call to member function ->format(), if event has an exception
2011-02-24 22:55:05 +00:00
Nathan Gray
d98b1c7437 Add some handling for importing participants from human-friendly form 2011-02-24 18:42:30 +00:00
Nathan Gray
92fcec4acb Change marker detection to be more flexible, allowing for IF, NELF, etc 2011-02-23 21:02:22 +00:00
Nathan Gray
9f3f96e502 Fix missing custom fields 2011-02-23 20:48:57 +00:00
Nathan Gray
ab93527a77 Get list of extensions from parent class 2011-02-22 19:58:04 +00:00
Nathan Gray
6554ca4c09 Add 2609day/name2609 for name of week, change 2609range/month2609 to name of month instead of number 2011-02-22 18:45:33 +00:00
Nathan Gray
c44e418d87 Change display of placeholder tags from 2432...2432 to {{...}} 2011-02-18 17:02:14 +00:00
Nathan Gray
e70f70f148 Better handling for multi-day events - properly show up for each day of the week 2011-02-18 16:09:42 +00:00
Nathan Gray
f41e44fee7 Prevent first event in the range from filling in empty dates when using 2432day/date2432 2011-02-18 15:30:21 +00:00
Nathan Gray
50543c0115 Don't show private events in search results, even if user has freebusy permission 2011-02-17 20:39:10 +00:00
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