Commit Graph

313 Commits

Author SHA1 Message Date
Nathan Gray
3d6e1573bb Calendar et2 conversion work in progress.
- Update after edit
2015-06-30 23:34:38 +00:00
Nathan Gray
925c29ce9d Calendar et2 conversion work in progress.
- Some context menu actions
- Reduce code duplication in views
- Fix views still using iframe
2015-06-30 22:26:59 +00:00
Ralf Becker
b8192fec8c * Calendar: fixed handling of alarms when creating exceptions to have them on exception and next regular recurrence 2015-06-25 20:35:24 +00:00
Nathan Gray
920616e37a Calendar et2 conversion work in progress.
Context menu is enabled, but not all actions are fully implemented yet.
2015-06-10 21:51:28 +00:00
Ralf Becker
01143f4b76 * Calendar: added deleted timestamp to history, to be able to see who deleted an event and when 2015-05-26 18:34:03 +00:00
Hadi Nategh
926376b4f1 Fixes for calendar and mail integration
- Set start time based on mail date
- Set duration to user default interval preference
- Fix some IDE warnings
2015-05-04 12:19:33 +00:00
Hadi Nategh
d399bb72f2 Consider AB accounts as pariticipants when do mail integration to calendar 2015-04-23 13:47:12 +00:00
Hadi Nategh
aa7edce3b4 Some fixes on mail integration:
- Fix save as raw eml file and send it as attachment
- Fix mail_import in infolog,tracker and calendar does not include raw mail eml attachment as link
- Some IDE clean up for mail and tracker
2015-04-17 09:39:22 +00:00
Hadi Nategh
c0097b3860 More WIP mail message integration:
- Make integrate function a static function
- Implement infolog, tracker and calendar save as buttons in mail compose with open popup
- Fix Date and Max_line_Chars in mail_integration
2015-04-15 15:55:18 +00:00
Hadi Nategh
b7c6be226d WIP of mail integration
-Centralize mail functionality of mail message integration in mail module
-Some clean up of mail_import in infolog and tracker apps
-Use hook registery in order of an app uses mail integration services
-Implement mail import into calendar
2015-04-15 11:23:59 +00:00
Ralf Becker
dd5ce3e58d missing calendar part from r52268 2015-03-25 18:35:31 +00:00
Ralf Becker
ffceb37973 WIP attachment handling via mime-registry 2015-03-24 09:43:38 +00:00
Nathan Gray
255494fc20 Fix resource participant search conflict checking 2015-03-12 16:24:55 +00:00
Nathan Gray
5f3f3b3e55 Respect "Default type of resources selection" preference 2015-03-12 15:23:15 +00:00
Ralf Becker
790a2d320f * Calendar: fixed deleting exceptions while editing a series 2015-02-06 09:47:50 +00:00
Ralf Becker
e8b3a3635c * Calendar/CalDAV/eSync: fixed not synced events constructed from exceptions
removed cal_recurrence filter in read, as cal_reference and cal_recurence is always used together for exceptions, but cal_recurrence was not allways reset to 0
2015-01-20 13:49:18 +00:00
Nathan Gray
bd6af0b94b Allow setting alarms on recurring events beginning in the past 2014-12-09 22:35:36 +00:00
Hadi Nategh
a1c4c78bae Refresh calendar event in top window after changing its status 2014-11-28 09:48:57 +00:00
Ralf Becker
0df2e9c23f fix typo in docu 2014-11-25 10:42:27 +00:00
Ralf Becker
285f2382ea fix not being able to accept/reject group-invitation, if not further rights 2014-11-25 10:41:06 +00:00
Ralf Becker
499601cd17 fix not being able to accept/reject invitation, if only a participants 2014-11-18 15:04:13 +00:00
Ralf Becker
19035cc6e4 only add readonly entries if required, saves some time/transfer volumn for hughe participant lists 2014-11-17 13:30:12 +00:00
Ralf Becker
ae8754638e * Calendar: user without edit access to event could not delete own alarm 2014-10-01 14:08:31 +00:00
Ralf Becker
165abb1280 remove not working email from selectbox in search for adding participants 2014-10-01 12:54:12 +00:00
Hadi Nategh
9b917407e0 * Calendar: Fix not being able to add calenadr alarm for user with limited access
-Fix javascript error while switching to custom alarm date
2014-09-23 13:49:22 +00:00
Nathan Gray
d75cbbdaba Use link search value to get email addresses as participants working again. 2014-09-22 16:53:53 +00:00
Nathan Gray
76a76beb69 Fix a few more redirects resulting in unwanted iframes. 2014-09-22 15:25:23 +00:00
Ralf Becker
35f63b35d5 * Calendar: fixed freetime search to correctly read and set times from edit window
- fixed et2_date.set_value() to understand nummeric timestamps in usertime used on server-side (needed timezone offset)
- added new parameter-type for et2_date.set_value() string starting with + or - to add or subtract given number of seconds from current time (to not have to code that in applications)
2014-09-04 13:03:48 +00:00
Ralf Becker
38849094a9 * Calendar: if contact is added as participant and event has not yet a title add contact as title 2014-09-03 16:22:05 +00:00
Hadi Nategh
17b0c758f8 Fix calendar Category ACL does not apply changes 2014-07-15 15:18:06 +00:00
Hadi Nategh
6d9421e034 There is no alarm tab in calendar edit dialog anymore, no need to make it readonly 2014-07-09 09:37:26 +00:00
Hadi Nategh
e47011657c Fix custom fields tab not showing up in calendar edit dialog 2014-07-09 09:35:22 +00:00
Hadi Nategh
0be030f6cb Fallback to admin index after save/cancel from calendar ACl,timesheet edit status 2014-07-08 15:10:24 +00:00
Hadi Nategh
af38b85e5b Fix calendar acl not showing stored category, selectAccount_ro widget expects value should be array or type of string 2014-07-03 09:10:11 +00:00
Hadi Nategh
cc594119b9 Fix refresh calendar list after deleting recurrent events 2014-06-17 07:48:59 +00:00
Ralf Becker
b308b0027d changed default alarms pref to single "date-duration" pref (in minutes), fixed date-duration to have for prefs reasonable default of data_format=m,display_format=mhd,hours_per_day=24,empty_not_0=1 2014-06-06 11:59:20 +00:00
Hadi Nategh
0b109288f4 Set user prefered default alarm for regular and wholeday events 2014-06-05 16:07:59 +00:00
Ralf Becker
d3fed2c9b7 * Calendar/Notifications: show notification errors, eg. mail could not be sent 2014-06-05 11:03:12 +00:00
Hadi Nategh
5238bc3303 Change 5 min to 10 min from commitr47158 2014-06-04 09:53:37 +00:00
Hadi Nategh
2789a8d3a7 Set calendar alarm time to 5 min, if there is no user preferences 2014-06-04 07:42:54 +00:00
Hadi Nategh
426687e888 Add custom option to Calendar default alarm regular and wholeday preferences. In order to be able to set custom number of days,hours or minutes 2014-05-30 13:38:59 +00:00
Hadi Nategh
b063901fde Set alarm's default value according to user preferences for both regular and wholeday events 2014-05-28 15:04:06 +00:00
Ralf Becker
f0e391220f * Calendar: adding default alarm for regular or whole-day events, preference is shared with CalDAV clients 2014-05-28 10:03:57 +00:00
Hadi Nategh
706c69ed90 * Calendar/Alarm: Move calendar Alarm from Alarm tab to Details tab and make it more user friendly to add alarm 2014-05-27 15:02:56 +00:00
Ralf Becker
ae3e4cedfd let refesh know which entry was saved 2014-05-23 08:16:22 +00:00
Klaus Leithoff
58ea850bf3 * Calendar: fix mail to all participants; uninvited additional email in preset email addresses 2014-04-22 13:51:32 +00:00
Nathan Gray
2b9ef3e4da Remove unneeded check / resubmit, handled in dialog now.
Fixes recurring events not split if changed.
2014-04-14 16:10:57 +00:00
Nathan Gray
c97452e940 Stop calling no longer existing function 2014-04-08 14:42:56 +00:00
Klaus Leithoff
00881d1c94 silence some warnings on mail-to-all-participants 2014-03-20 16:10:52 +00:00
Ralf Becker
c48e63df8a * Calendar/EMail: wrong timezone conversation when accepting meeting requests (happening if server- and user-timezone are different!) 2014-03-13 14:09:41 +00:00
Ralf Becker
8d3a2d0007 * CalDAV/Calendar: store and therefore keep external organizer if he has no common name (just email) and also store its common name 2014-03-13 10:20:17 +00:00
Ralf Becker
26e0f079a1 fixed not working move/resize of events in IE (did not understand redirect to empty url) 2014-02-19 17:48:25 +00:00
Hadi Nategh
874b4b594f Fix warning "Argument #1 is not an array" in calendar conflict 2014-02-12 11:59:32 +00:00
Hadi Nategh
e9a3d69e46 Fix calendar ignore conflict when the conflict is not from resources 2014-02-12 10:26:34 +00:00
Nathan Gray
7809e30718 Update participant readonlys to match namespace 2014-02-10 22:01:01 +00:00
Ralf Becker
cbe3b85dc3 need one more header line for new template 2014-02-06 18:16:40 +00:00
Ralf Becker
6e79741c8f using capital REQUEST in method parameter 2014-02-05 15:15:00 +00:00
Ralf Becker
8e35567e6a some more layout fixes for calendar-edit 2014-02-05 11:14:44 +00:00
Ralf Becker
6b4bc0547c fixed wrong warning "event was edited by other user" after storing an event more then once, was caused always splitting series, but not checking that condition 2014-01-30 10:12:08 +00:00
Hadi Nategh
56e3607b70 Fix "Mail all participants" in calendar edit popup->Actions 2014-01-29 08:32:01 +00:00
Hadi Nategh
70c3ab98af Set the "Allow ignore conflicts" default option to "Yes, only users with direct booking permission", therefore this would be the selected as first time installation, unless it set to another choice from Resources site configuration 2014-01-29 08:28:53 +00:00
Hadi Nategh
8147adcb95 Add "Allow ignore conflicts" feature for resources 2014-01-28 16:26:18 +00:00
Hadi Nategh
fccd3f8d89 Fix not being able to move a series event. Additionally, brings a confirmation message for moving series event 2014-01-23 17:15:49 +00:00
Hadi Nategh
3ccfe3fb93 Add app prefix name to calendar css classes 2013-11-11 14:02:08 +00:00
Ralf Becker
086da0881f fixed not working refresh 2013-11-08 13:53:15 +00:00
Hadi Nategh
c1bd68281c Fix not refreshing the calendar list when we save, apply or delete an entry 2013-11-04 09:34:33 +00:00
Hadi Nategh
7783ec44e0 Calendar app runs by et2 2013-10-31 14:51:19 +00:00
Ralf Becker
fe2438cc53 * Calendar: automatic cancel alarms from removed or rejected participants 2013-08-15 14:56:34 +00:00
Ralf Becker
012e2e4763 * Calendar: when moving a series exceptions where lost (regular recurrences shown again) and exceptions where moved too 2013-08-15 12:23:38 +00:00
Ralf Becker
e1c0177c50 fixed 2 warnings 2013-08-15 10:38:45 +00:00
Klaus Leithoff
55d9f86b22 silence php warning on copy event, when no alarm ios set 2013-06-21 09:58:55 +00:00
Klaus Leithoff
8ff56b1d5f allow/support the call of function meeting by ExecMethod AND passing the ical in question via session 2013-06-03 09:57:00 +00:00
Ralf Becker
163702b752 * Calendar: create InfoLog from event
added a general infolog_set hook like existing timesheet_set hook, to allow implementing apps to push further data to infolog, modified existing tracker code to use the hook too
2013-05-10 10:54:36 +00:00
Ralf Becker
65946d09f9 * Calendar: moving an event series is not preserving participants (gave error there are not participants) 2013-02-21 16:29:13 +00:00
Ralf Becker
811ea4bd1a * Calendar: copying of events now preservs quantity of resources 2013-02-21 15:21:19 +00:00
Nathan Gray
f61d4b64f5 Adapt calendar participants to et2 link 2013-02-08 14:07:39 +00:00
Nathan Gray
f2cdcefda1 Fix some undefined / not found js errors in et2 2013-02-05 08:34:26 +00:00
Ralf Becker
e47fca7d10 missing templates and a fix for new reply handling 2013-02-01 16:54:51 +00:00
Ralf Becker
ceb66bf332 * Calendar/FMail: allow to apply replys to meeting requests 2013-02-01 12:22:56 +00:00
Nathan Gray
5e85a8d3bf Add 9 hour duration 2012-12-03 18:05:04 +00:00
Nathan Gray
a0a6e14154 Revert changes to delete view - exceptions no longer shown 2012-11-14 16:25:21 +00:00
Ralf Becker
d6ce940eb0 * Calendar: sort participants by there name 2012-11-13 11:23:29 +00:00
Nathan Gray
5057d1735e Allow viewing / editing deleted exceptions by editing the series 2012-11-09 17:14:02 +00:00
Nathan Gray
8e1260d5c9 Copy alarms when copying an event 2012-10-23 18:35:48 +00:00
Ralf Becker
3ff97fb7e6 fixed PHP Warning: Illegal string offset 2012-10-23 15:09:41 +00:00
Nathan Gray
505c87b946 - Hide exception button if start is after end (error)
- If actual date is missing (event creation), use start date for exception button
2012-10-22 17:03:02 +00:00
Nathan Gray
685bcd6632 Copy links when copying event 2012-10-22 16:15:06 +00:00
Ralf Becker
7d5c44ac61 * Calendar: deny creating of recurring events, if duration of a single recurrence is longer then the recurrence interval 2012-10-22 15:47:06 +00:00
Ralf Becker
f8a007bad4 * Calendar/CalDAV/eSync: fixed exceptions get not deleted with series via CalDAV or eSync
moved code from our UI to BO, to either delete exceptions (default) or keep them with a new UID
2012-10-22 13:15:40 +00:00
Nathan Gray
fbd2f62012 Add copy action to list context menu 2012-10-15 22:37:24 +00:00
Ralf Becker
8e73cf1f91 * Calendar: add duration intervalls 10, 12, 14 and 16 hours 2012-09-04 13:30:17 +00:00
Ralf Becker
06ff3cf08b * Calendar/EMail: allow to accept, reject, tentative group invitations (gave error "You are not invited..." previously) 2012-06-12 16:18:17 +00:00
Klaus Leithoff
2eec3dd075 calendar/email: distinguish between meeting request and meeting reply, while displaying ics 2012-06-06 07:39:57 +00:00
Ralf Becker
ca6874b89b * Calendar: taking direct booking permission into account when copying events including resources (my.stylite bug #2839) 2012-05-15 11:20:07 +00:00
Ralf Becker
6c6259525a fix status="X" (no status set) returned by calendar_ical::ical2egw to "U" (unknown status), as participants with status "X" are not displayed 2012-04-24 15:09:17 +00:00
Ralf Becker
8c6341d551 * Calendar/EMail: when accepting email invitation from organizer who is an EGroupware user but created invitation outside: if no access to organizers calendar, make organizer a participant with role CHAIR
- show errors from calendar_boupdate::update()
2012-04-24 14:37:32 +00:00
Ralf Becker
5f284abfdc * Calendar: iCal import via mime-registry (clicking on iCal file in filemanager) displayed event in server- instead of user-time 2012-03-22 14:02:06 +00:00
Ralf Becker
645d8896cd * Calendar: mail all participants was attaching iCal with wrong time(zone) 2012-03-12 12:45:54 +00:00
Ralf Becker
1575434535 * EMail/Calendar: for meeting requests to recuring events check recurrance enddate, not event-date, to deny importing it with "event is in the past" 2012-03-12 08:52:40 +00:00
Ralf Becker
dd8a5cf29e * Filemanager/FMail/Calendar: allow to open .eml and .ics files from filemanager in fmail or calendar (infrastructure for apps to register which mime-types they can open) 2012-03-08 18:43:40 +00:00
Ralf Becker
26bebbedd9 * InfoLog/Calendar: renamed context menu "Calendar" to "Schedule appointment" and make preset participants configurable, allow to config prefix for sub-entries and allow times in due-date 2012-02-22 12:31:00 +00:00
Nathan Gray
c23be59179 Use due date, or completed date, or start + duration preference (in order) for end date 2011-12-21 15:36:02 +00:00
Nathan Gray
4efa3dd4ae - Copy infolog entry links into calendar entry
- Match categories by name
- Event owner is current user, not infolog owner
2011-12-19 20:45:05 +00:00
Klaus Leithoff
d09b7ad087 add action to choose between sending meeting requests or a mail with the ics file of an event attached. 2011-12-16 09:55:57 +00:00
Nathan Gray
5c8bf4ec27 - Fix infolog linked contact -> participant
- Add infolog main link to calendar entry
2011-12-14 15:45:54 +00:00
Nathan Gray
3c30791c5c When creating calendar from infolog, don't add the currently selected calendar users, just the ones from infolog 2011-12-13 17:38:09 +00:00
Nathan Gray
2f4d8848c5 - Remove previously added hook & base class, turns out there's an established way to do it...
- Use existing link_app type hook to create calendar from infolog
2011-12-12 21:51:12 +00:00
Ralf Becker
cf5f904abc fixed fatal error: Cannot pass parameter 6 (of calendar_boupdate::update) by reference 2011-11-11 12:54:03 +00:00
Ralf Becker
89ed7d49d1 fixed alarm on series got lost, if creating an exception 2011-11-11 12:46:34 +00:00
Ralf Becker
8f8268f91e * Calendar: fixed many issues when moving or modifiny (parts of a) recurring event (alarms, recurrance type, time) 2011-11-10 18:39:08 +00:00
Ralf Becker
b633044a46 * API/Calendar: allow to link to accounts and allow to select accounts as participants by searching them like contacts 2011-09-07 14:47:51 +00:00
Ralf Becker
378526a648 quietend PHP Warning: explode() expects parameter 2 to be string, array given on line 313 2011-08-11 07:41:18 +00:00
Ralf Becker
3819816248 * Calendar: fixed various issues with history in calendar: id display, unecessary stuff loged, ... 2011-08-04 14:00:15 +00:00
Ralf Becker
74ddade8a0 fixed PHP fatal error: can not pass parameter 6 by reference 2011-08-02 15:55:20 +00:00
Ralf Becker
26f08e7149 fixing r35871: status was not explicitly set to false (only to true) and therefore not editable 2011-08-01 16:36:54 +00:00
Ralf Becker
b11767f450 * Calendar: fixed in readonly events custom fields were still editable 2011-08-01 15:57:23 +00:00
Ralf Becker
0d310bcddd fix exception: calendar_bo::resource_info(NULL) parameter must be scalar, when deleting and afterwards adding a participant 2011-06-21 06:46:51 +00:00
Ralf Becker
af820949b4 transfering meeting requests via session, as get parameters are limited in size and also pass on charset, to handle non utf-8 meeting requests correct 2011-05-31 10:12:39 +00:00
Ralf Becker
145cf9ce68 New method to display meeting-requests for fmail and allow to (tentativ) accept or reject them 2011-05-27 20:32:46 +00:00
Ralf Becker
97d920bc57 open already existing events and not import them again 2011-05-26 18:40:35 +00:00
Ralf Becker
547ec37257 new parameter "ical" to calendar_uforms::edit, to create a new event based on an ical 2011-05-26 18:28:41 +00:00
Ralf Becker
653d4991d7 context menu for calendar list 2011-04-27 16:53:06 +00:00
Ralf Becker
0aac7e43a9 using new historylog custom field stuff 2011-04-20 06:22:29 +00:00
Ralf Becker
1d9f9e4ee3 removed not used code and only query user what to do with exceptions, if we have some 2011-04-08 14:21:23 +00:00
Ralf Becker
c443126893 make sure ca(rd|l)dav_name never get copied 2011-04-07 07:28:46 +00:00
Ralf Becker
4fcd8a40bb fixed fatal error: 6. param is no reference 2011-03-24 22:17:11 +00:00
Nathan Gray
de241b18f8 Add config setting to enable 'Do not notify' checkbox 2011-03-21 16:57:11 +00:00
Nathan Gray
f28fb14572 Add 'Do not notify of these changes' checkbox to edit dialog 2011-03-09 17:26:20 +00:00
Ralf Becker
3dfe00c4bc fixed not disabled alarm delete button, if user has no edit rights (already gave a permission denied message) 2011-03-07 10:18:20 +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
Ralf Becker
df5aae20f5 fixed corrupted non-ascii chars in deleted message 2011-01-06 04:48:41 +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
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
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
Jörg Lehrke
fbbef0c68c * Calendar: Use participant's preferences to handle status resets while moving events 2010-11-02 11:00:41 +00:00
Nathan Gray
e1505758b7 Add ability to set an alarm for after the appointment [starts] 2010-10-06 17:40:49 +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
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
Nathan Gray
3a4bd1e45a Allow admins to restore deleted events 2010-06-28 11:38:28 +00:00
Jörg Lehrke
9bca389162 Fix status change permission issue 2010-06-24 16:21:23 +00:00
Jörg Lehrke
16def751e3 Add 'reset stati options' to calendar 2010-06-23 14:47:34 +00:00
Jörg Lehrke
b53e7ccbcc Fix participant issue in event shifting 2010-06-16 10:41:45 +00:00
Jörg Lehrke
e513532840 Fix enddate and alarm issue for series event shifting 2010-06-11 07:32:10 +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
Jörg Lehrke
625603d59f Implement new 'change startdate of series events' approach 2010-06-09 18:00:11 +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