Commit Graph

2350 Commits

Author SHA1 Message Date
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
Ralf Becker
1f2e12d6a0 * Calendar: when trying to load new holidays overwrite existing ones to not accumulate old ones (slowing down calendar) 2015-04-30 09:39:36 +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
Nathan Gray
9b1b338bf8 Avoid fatal error if the recurrence end date cannot be determined. 2015-04-11 00:17:28 +00:00
Nathan Gray
c328d72f27 Format start and end date to avoid js timestamp fiddling 2015-04-09 15:55:55 +00:00
Ralf Becker
69dc97f8b2 * Calendar: added configuration "Use range-views to optimise calendar queries?", to go back to algorithm before 14.2.20150121 2015-03-31 14:28:35 +00:00
Ralf Becker
c91fc89b48 * Calendar: automatic load new holidays, if there are no irregular ones for a given year, plus new Germany holidays for 2016 2015-03-31 13:12:20 +00:00
Hadi Nategh
5f0c5f9c47 Open calendar ics file as popup 2015-03-26 13:57:58 +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
e6f1f8f837 - Fix $$Recurrence$$ notification placeholder to be empty (not missing) for non-recurring events
- Avoid warning in get_link_options by making unused parameter optional
2015-03-23 19:58:58 +00:00
Nathan Gray
b2254a4af3 Use current user for owner 0 in planner 2015-03-19 15:00:24 +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
Hadi Nategh
1f177aace4 Change category icon in all apps 2015-03-12 12:39:49 +00:00
Ralf Becker
965e56e02e * Calendar: fix not shown last recurrence of limited recurring event in day-view (requires database update for existing events) 2015-03-09 18:56:17 +00:00
Nathan Gray
5f3e81c472 Fix some calendar portlets changing user when you change calendar app's user. 2015-03-04 15:49:32 +00:00
Ralf Becker
7306abcf54 * Calendar: fixed week 13 was skiped (due to daylight saving change) when using week navigation, added propper header for multiple week view 2015-02-18 08:46:43 +00:00
Ralf Becker
3a06bcb285 disabling dates_range_view in favor of using dates-table direct, as it appears 1.5-3 times quicker in two big installations I tested with 2015-02-18 08:15:54 +00:00
Ralf Becker
790a2d320f * Calendar: fixed deleting exceptions while editing a series 2015-02-06 09:47:50 +00:00
Ralf Becker
e258df70a2 remove no longer working preferences link 2015-02-06 09:09:23 +00:00
Ralf Becker
fffdef027e fix PHP Fatal error: Using $this when not in object context 2015-02-04 11:18:53 +00:00
Ralf Becker
5ea76e2230 fix calendar_groupdav::isParticipant() called with NULL, caused by recurring event starts in future behind horizont 2015-02-04 10:37:52 +00:00
Ralf Becker
4602362527 * Calendar: fix not working tooltip (showing html tags) in year-view 2015-02-03 09:42:17 +00:00
Ralf Becker
b15029a0fc * Calendar/CalDAV: fixed synced events still contained deleted exceptions 2015-01-29 13:31:43 +00:00
Nathan Gray
f1d7cd3b9e If recur end date could not be parsed, handle it as missing. 2015-01-27 21:50:56 +00:00
Ralf Becker
24284eb1fd * Calendar/CalDAV: fixed not synced recurrences, because invitation was to a group only or first recurrence was an exception 2015-01-27 18:12:10 +00:00
Klaus Leithoff
668c48eaa8 fix typo preventing ics parsing 2015-01-27 13:07:59 +00:00
Ralf Becker
c3a28cc7db using recommended lowercase protocol "mailto:" in ATTENDEE or ORGANIZER iCal properties 2015-01-23 09:45:11 +00:00
Ralf Becker
4755f00f06 for group-invitations we need to check memberships of $user too 2015-01-20 14:57:40 +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
Ralf Becker
de4d246726 * Calendar: speed improvments for huge calendar databases
by using time-range views instead of whole calendar and dates table
Also got old, much simpler non-union code working again, but union is still slightly quicker for huge databases (not at all for small ones!)
2015-01-19 19:32:26 +00:00
Ralf Becker
4e27f324c9 improved method to query events with performance gains of a factor 10 on huge databases, currently only used in conflict check 2015-01-14 19:41:01 +00:00
Ralf Becker
83ca579700 fixing IDE warnings 2015-01-14 13:52:34 +00:00
Nathan Gray
d51c83402d Set default columns 2015-01-12 19:59:25 +00:00
Ralf Becker
7346a37998 cleaning up old addressbook stuff 2015-01-10 09:51:51 +00:00
Nathan Gray
782e3438ee Avoid warning about select_cols already being an array 2014-12-11 18:00:14 +00:00
Hadi Nategh
f7383f54d1 Set the bodydescription to empty if it is not visible 2014-12-11 16:38:45 +00:00
Nathan Gray
3b6257fed2 Make sure event spans multiple days before removing nights, fixes late/overnight events giving negative time. 2014-12-11 16:22:55 +00:00
Nathan Gray
bd6af0b94b Allow setting alarms on recurring events beginning in the past 2014-12-09 22:35:36 +00:00
Nathan Gray
ec750ac330 Fix missing event creation click handler on non-et2 home views 2014-12-09 17:55:00 +00:00
Nathan Gray
0fbdc3e595 Explicitly apply state filters to UI 2014-12-08 17:23:57 +00:00
Nathan Gray
d62e9a1b0d More Home progress:
- Hide navigation buttons in non-list calendar views to prevent reloads
 - Fix state / session interference between home views & main calendar view
2014-12-03 00:20:57 +00:00
Hadi Nategh
a1c4c78bae Refresh calendar event in top window after changing its status 2014-11-28 09:48:57 +00:00
Nathan Gray
c53625a4e4 Clear app header 2014-11-27 21:34:46 +00:00
Nathan Gray
57f5569fc4 More Home progress:
- Add support for calendar favorites.  Note only the list view can be dragged, others are context menu only
2014-11-27 21:21:47 +00:00
Hadi Nategh
73d50223d8 Disable use_time_grid preference in calendar 2014-11-26 13:30:13 +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
c738952af8 do NOT allow / correctly quote html in title, description and location of events 2014-11-19 20:10:07 +00:00
Ralf Becker
c633e0033b * all aps: lower memory requirements of insert into document by skipping HTML processing, if there are no html (custom-)fields 2014-11-19 12:20:59 +00:00
Nathan Gray
ea8ff86854 Add a method to get an icon for a record, as specific to that record as possible 2014-11-18 23:40:49 +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
Nathan Gray
d60cb7c6d5 Fix calendar list filter by custom date interval 2014-11-17 15:47:36 +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
9d7d6accd7 * CalDAV: fixed users participating only in exceptions of a recurring event were also shown in whole series in Thunderbird and iCal 2014-11-10 20:04:37 +00:00
Ralf Becker
dd7daa8dad comment permanent error_log 2014-11-07 12:33:56 +00:00
Hadi Nategh
93aa6fb83a * Calendar: Add new feature to the calendar app, in order to be able to sort calendars in day and week views 2014-11-05 16:13:26 +00:00
Hadi Nategh
a9c6c2a90e Display account_fullname of event owner, creator, and participant in calendar customized link title 2014-10-30 12:26:42 +00:00
Ralf Becker
c891d46104 * Calendar: allow admin to set a "default calendar view" used for first display of calendar, afterwards last selected view is used 2014-10-30 08:33:46 +00:00
Ralf Becker
f0252c1b74 * Calendar/CalDAV/eSync: exceptions show up in calendars of participants only participating in exceptions not whole recuring event (requires a DB update for existing events!) 2014-10-28 16:01:55 +00:00
Hadi Nategh
c16080856b * Calendar: Add customizable link title in calendar preferences, in order to append extra fields to calendar's link title. 2014-10-28 09:54:52 +00:00
Hadi Nategh
ea5ec6b787 Set show calendar body description according to calendar interval 2014-10-27 15:02:21 +00:00
Hadi Nategh
60e203180c Add event description to calendar event body if the event is longer than 3 hours 2014-10-27 14:37:38 +00:00
Nathan Gray
16c902196d Switch to nextmatch and edit dialog for customfield list (missed files from #49147) 2014-10-22 20:11:31 +00:00
Ralf Becker
af048109ee adding singular and plural name of app entries to link registry under "entry"/"entries" plus translations for apps which need them different from app-name 2014-10-21 13:51:37 +00:00
Ralf Becker
d0208328bc * Calendar: fixed planner by category view was showing all categories under "None" 2014-10-20 09:14:24 +00:00
Ralf Becker
3759e498d9 * Calendar: make custom fields available in table plugins for document merge 2014-10-15 19:08:26 +00:00
Ralf Becker
a35590b8fe fix replacementes in update messages 2014-10-09 13:52:14 +00:00
Ralf Becker
3af8b4806b insert/update timezones without sqlite extension 2014-10-07 21:04:58 +00:00
Ralf Becker
b86a4b17dd fall back to own db_backup for installing timezones, if sqlite extension is not available or broken 2014-10-07 13:15:04 +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
Ralf Becker
08c409fdad disable homepage preferences, until we have a home-page again 2014-08-27 09:06:20 +00:00
Hadi Nategh
16cb288efc * Calendar/all views: Fix recurrent whole day events do not pop up edit series dialog. 2014-08-25 10:30:52 +00:00
Hadi Nategh
49fd7287ff Make sure only integrated infolog events get drag tags not other inegrated events from other apps 2014-08-21 14:26:27 +00:00
Hadi Nategh
6e9215e0ff * Calendar/infolog events: Implement drag,drop and resize for integrated infolog events in all calendar views. 2014-08-21 11:20:37 +00:00
Ralf Becker
7ed3f45649 skip current user only for users, not group(-preferences) 2014-07-23 13:16:01 +00:00
Ralf Becker
448241f596 need to check type, not account_id to detected "default" or "forced" prefs 2014-07-23 12:39:10 +00:00
Ralf Becker
349630ffa7 show calendars and ressource-calendars for user whos preferences are displayed, for "default" and "forced" we only display all and primary group calendars, but ressources of current user 2014-07-23 12:30:39 +00:00
Ralf Becker
9fa607c3bd fixed problems reported by LFRZ 2014-07-16 12:18:04 +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
Nathan Gray
210ebb5706 - Add $$user/primary_group$$ common placeholder
- Add calendar_owner/<contact> sub-placeholders, including primary_group
2014-07-08 19:05:09 +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
Ralf Becker
4c15c2f2de * Calendar/API: allow not serialized data in async jobs, only run automatic purge if we have a real number > 0 2014-07-02 12:42:12 +00:00
Ralf Becker
b592a5088e fixed navigation calendar not shown for account-selection pref "none" 2014-07-01 15:26:05 +00:00
Hadi Nategh
8c276bfe96 Remove "placeholder" link from help tooltip of preferences 2014-06-24 09:47:08 +00:00
Hadi Nategh
cc594119b9 Fix refresh calendar list after deleting recurrent events 2014-06-17 07:48:59 +00:00
Ralf Becker
d23d41ca50 * Calendar/iCal/CalDAV: normalize enddates not on a recurrence-date, to recurrence-date before (not next) 2014-06-16 13:25:00 +00:00
Ralf Becker
6ae1ca93fd fixed ACTION:NONE was not detected because of missing multiline switch, causing empty pref reset to 0 2014-06-11 09:15:43 +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
960b50b83a sync CalDAV default-alarm trigger/time to calendar preference 2014-05-28 10:57:02 +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
Hadi Nategh
ab3ffca7f8 Remove mime_filter to get all documents for "Insert in document" selectbox in calendar sidebox 2014-05-23 10:24:05 +00:00
Ralf Becker
ae3e4cedfd let refesh know which entry was saved 2014-05-23 08:16:22 +00:00
Nathan Gray
3eaf87f78f Fix some problems with calendar export causing a blank export popup
- missing template
- bad format on end date
2014-04-30 16:54:47 +00:00
Ralf Becker
df8f6b9460 change validation of configuration to return existing validation functions, not running arbitrary ones 2014-04-23 14:36:08 +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
3a004a2672 Add link to list of placeholders into app menu 2014-04-14 17:08:43 +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
Ralf Becker
4c79fb650a * CalDAV/calendar: if requesting user had only freebusy rights, no freebusy information was regurned 2014-04-08 13:12:41 +00:00
Klaus Leithoff
00881d1c94 silence some warnings on mail-to-all-participants 2014-03-20 16:10:52 +00:00
Nathan Gray
42ee153c30 Set row_modified setting so nextmatch can filter out unchanged rows, and not send them back to the client again 2014-03-18 22:55:48 +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
Hadi Nategh
ce1a248068 Wrap title in calendar navheader with span 2014-03-05 13:48:28 +00:00
Ralf Becker
346bbcd48b given all selectboxes below navigation calendar same width 2014-03-05 13:24:27 +00:00
Hadi Nategh
b1efac06c0 Remove legacy actions from calendar listview 2014-02-26 15:56:55 +00:00
Hadi Nategh
3f6f7ff539 Add calendar day view navigator for multiple selected users view 2014-02-26 14:54:06 +00:00
Nathan Gray
7018d081d2 Fix missing state information 2014-02-25 17:59:22 +00:00
Hadi Nategh
a1663631da Show fulldate as tooltip of each colDay link 2014-02-25 15:55:22 +00:00
Hadi Nategh
96a313e48d Add calendar navigation header classes 2014-02-25 14:50:35 +00:00
Hadi Nategh
ef7c211edc Fix wrong image for calendar week,month view navigators, and style them 2014-02-25 14:20:27 +00:00
Hadi Nategh
3139e4a9f5 Add Prev and Next navigator to calendar week,multiple week, and month view 2014-02-25 09:41:08 +00:00
Nathan Gray
96795b9de5 Add 'Add' action to list context menu
Consistent with other apps, and solves error with missing/unset placeholder row action
2014-02-24 23:34:31 +00:00
Hadi Nategh
68864a0683 Remove another inline-script in calendar dayView which was causing CSP violation 2014-02-24 09:48:22 +00:00
Ralf Becker
1d1dbd252c fixed missing sorting in inital sync-collection report with empty sync-token 2014-02-20 19:26:02 +00:00
Ralf Becker
a9b6c6e9b4 * CalDAV/CardDAV: fixed support for limited sync-collection report used eg. by Marten Gajdas Android apps 2014-02-20 17:46:15 +00:00
Ralf Becker
866d680e6a fixed iCal and iMip method and notification text for initial responses to organizer to be replys (not added=invitation) 2014-02-20 16:14:32 +00:00
Ralf Becker
94af139465 * CalDAV/CardDAV: entries with urls containing url-encoded chars, eg. from Google calendar, were not send to clients (missing urldecoding in multiget report) 2014-02-20 15:11:27 +00:00
Ralf Becker
90c89e0eb7 * CalDAV/Calendar: sending now iMip response to external organizer when initialy accepting invitation via CalDAV client (before only status changes where sent) 2014-02-20 15:04:47 +00:00
Ralf Becker
1297c32fb2 adding an extra icon for ical export in context menu, so templates can change it independent of mime icons 2014-02-20 11:07:12 +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
Ralf Becker
07db88276e fixed or working around javascript errors in IE11 2014-02-19 15:20:19 +00:00
Ralf Becker
f0d7751496 removed caret from group favorites, fixed prefered favorite was not show correct initialy nor updated 2014-02-12 21:51: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
Nathan Gray
cc628c378a Use egw_framework::message() instead of a label in template, which might stay longer than we want 2014-02-05 23:36:01 +00:00
Ralf Becker
6e79741c8f using capital REQUEST in method parameter 2014-02-05 15:15:00 +00:00