Commit Graph

1674 Commits

Author SHA1 Message Date
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