Commit Graph

2664 Commits

Author SHA1 Message Date
Hadi Nategh
cb63e747eb Do the same for week_days count as commit bb9bf40edb 2017-01-11 10:37:05 +01:00
nathangray
1684c7a1d5 Move holidays.php out of inc subdirectory, add a failure check 2017-01-10 13:31:41 -07:00
nathangray
ce58542f3d Update notification popup to fit theme better 2017-01-10 11:44:16 -07:00
Hadi Nategh
7e270dea76 Make days count in calendar report independent of the amounts 2017-01-10 18:07:03 +01:00
Hadi Nategh
20cddc8445 Do not write the rows in calendar cat. report if all columns are zero 2017-01-10 09:30:21 +01:00
Hadi Nategh
2fe12757e0 * Calendar/Categrory report: Consider multidays events in over range calculation 2017-01-09 15:01:56 +01:00
Hadi Nategh
06bf277940 * Calendar/Categrory report: Add sort option for the report 2017-01-06 16:16:44 +01:00
Hadi Nategh
4d74df2b87 * Calendar/Categrory report: Fix miscalculation of multidays events because of wrong week number 2017-01-06 14:49:42 +01:00
Hadi Nategh
ae200c190a *Calendar/category report:
- Fix not counting the selected end range
- Fix miscalculation of events extended from a year to another
- Fix miscalculation of amount of event when range is greater than event's start time and less than event's end time
2017-01-03 15:19:05 +01:00
Hadi Nategh
e6fa86ad39 Exclude birthdays from holidays in calendar category report 2016-12-19 17:37:58 +01:00
Hadi Nategh
a719f8b01f * Calendar: Some hotfixes for category report
- Fix category report does not take participants into account
	- Fix events located in mid of the range get miscalculated
	- Consider over ranged event in calculation
2016-12-16 16:43:56 +01:00
nathangray
b3be458ad6 Reduce translation duplication - use a single common message for entry copied 2016-12-14 12:42:28 -07:00
Ralf Becker
b6c29a054b fix PHP Warning (Invalid argument supplied for foreach() in calendar/inc/class.calendar_boupdate.inc.php on line 1915), if moved event has no alarms 2016-12-07 14:19:00 +01:00
Hadi Nategh
2d100f082d Calendar category report:
- Fix weekend and holidays don't for multidays events
2016-11-17 09:37:25 +01:00
Hadi Nategh
00fb5c486b Calendar category report:
- Fix multidays events and recurrences miscalculation
- Fix height of category table
2016-11-15 10:19:39 +01:00
Hadi Nategh
a1273acf54 Fix wrong indexing for categories array in calendar category report 2016-11-14 15:34:09 +01:00
Hadi Nategh
9c67a1466a Calendar category report:
- Fix calendar category report not summarizing values
- Add select all checkbox
2016-11-14 13:57:15 +01:00
nathangray
9a2cd797e6 Change sidebox menu site configuration to match, reported by Stefan Unverricht 2016-11-11 08:45:17 -07:00
Hadi Nategh
b5b1ffec65 Add unit day for calendar category report 2016-11-10 11:11:03 +01:00
Hadi Nategh
dcc553bc23 Implement calendar category report 2016-11-08 15:58:46 +01:00
nathangray
9826bcabdd Increase consolidation max from 9 to 20. 2016-11-07 09:26:59 -07:00
Ralf Becker
baaa8a0faf * Calendar: fix holidays are displayed one day off for eg. Austria, Slovakia, Australia (from iCloud)
Caused by no real floating date support in EGroupware and defaulting to UTC, if no timezone specified, because Horde_Icalendar does not report datetimes postfixed with Z as UTC.
Fixed now by not using UTC workaround for date (not datetime) values.
Also implemented default duration of one day for dtstart as date and no dtend/duration given.
2016-11-05 12:02:36 +01:00
nathangray
8f1a792904 Fix bug where you were unable to change participant status of a recently added user until you save the event 2016-11-01 15:13:26 -06:00
nathangray
a31b413018 Handle searching for a single integer as looking for a specific event by ID, similar to infolog 2016-10-25 08:43:20 -06:00
Ralf Becker
1903533564 fix typo and IDE warnings 2016-10-19 15:24:50 +02:00
nathangray
f71d492eb3 Fix holidays in calendar sitemgr modules by adding access via holidays.php.
This lets the anonymous user get the holiday list without triggering a permission error.
2016-10-11 16:17:07 -06:00
nathangray
c067d4bfe4 Fix call to undefined method calendar_uiviews::_get_planner_users() breaks multi-user weekly calendar on home. 2016-10-11 16:15:47 -06:00
Ralf Becker
c52c744346 error_log if calendar can not send notifications 2016-10-06 19:11:16 +02:00
Hadi Nategh
caf5217f7a * Calendar: Fix calendar to-firstname to-lastname place-holders do not get values 2016-10-04 16:41:54 +02:00
Ralf Becker
50270c0994 old behavior "selected" should also be used for not set preference, therefore we need to test for !== '0' 2016-10-04 09:56:31 +02:00
nathangray
4a7204ecdd Calendar export CSV cleanup
- Fix looking for query in wrong place broke 'Use search results'
- Remove uneeded code
- Hide criteria block when user chooses search results
2016-09-28 10:27:25 -06:00
nathangray
af4d931831 Calendar export CSV cleanup
- Fix looking for query in wrong place broke 'Use search results'
- Remove uneeded code
- Hide criteria block when user chooses search results
2016-09-28 10:27:18 -06:00
nathangray
c7f728d4ba Make sure calendar CSV export still gets results when filtering by criteria with no end date 2016-09-28 10:27:01 -06:00
nathangray
0b6e3fc1ae Fix clicking inside a single other user's calendar did not invite that user when new event preference was 'Just me' 2016-09-28 10:05:39 -06:00
Hadi Nategh
ada81b6b5f Try to not fetch todos from infolog on Calendar's initialization and let day view fetches them via ajax call as it might be expensive operation 2016-09-28 15:26:22 +02:00
nathangray
c09cfa5a23 Change handling of new private events created for other users to allow them to show immediately 2016-09-20 09:47:03 -06:00
nathangray
168b5640f6 Fix unwanted extra participants in consolidated views when new event participant preference is 'just me' - month view 2016-09-13 10:11:37 -06:00
nathangray
6bc609c68b Fix unwanted extra participants in consolidated views when new event participant preference is 'just me' 2016-09-13 10:11:28 -06:00
nathangray
4d2fce1d06 Use user accounts when available over addressbook when expanding mailing lists 2016-09-09 08:08:10 -06:00
Hadi Nategh
b11de5b45f Fix drag and drop in calendar does not work if there's resources 2016-09-06 16:20:35 +02:00
nathangray
446a33c82d Fix invalid parameter error when changing the status of a recurring event exception 2016-09-05 19:52:34 +02:00
nathangray
ff4d9e0a8c Allow events created by clicking on 00:00 to actually start at 00:00 instead of workday start time 2016-09-05 10:05:21 -06:00
Ralf Becker
c47018c449 fix holiday handling to "understand" gzip compression, even if it was never requested 2016-08-31 14:56:21 +02:00
Ralf Becker
892fc79421 * Calendar: use proxy config from setup >> configuration to download holiday calendars 2016-08-26 14:01:14 +02:00
Ralf Becker
304a41de19 * Calendar: fix PHP Fatal: Unsupported operand types caused eg. by deleted resources 2016-08-24 12:34:55 +02:00
nathangray
53fea1e811 Do not change list time range filter when search changes 2016-08-18 11:13:48 -06:00
nathangray
c2919ace3c - Fix listview filter changes confusingly when searching
- Fix listview does not update for new events
2016-08-18 11:10:38 -06:00
Ralf Becker
1dc5a8ee21 * Calendar: fix PHP Fatal when clicking on a link to accept/decline an invitation mail 2016-08-17 11:42:20 +02:00
Ralf Becker
e2ce3c7698 * Calendar: fix SQL error in eSync with double DISTINCT happening under some conditions 2016-08-17 11:42:09 +02:00
nathangray
8c3e8c8d84 Change maximum weeks in multiple-week view from 4 to 9 2016-08-12 09:24:14 -06:00
Ralf Becker
dceafd2400 add ajax=true to diverse admin pages of apps, changing customfields class to autoloadable admin_customfields (with old class extending new one, just in case), fix wrong English phrase "typ" in infolog 2016-08-12 11:38:23 +02:00
nathangray
5f7321da51 Fix attempting to set array value accessed via magic methods was silently ignored by changing and setting the whole array 2016-08-05 08:08:32 -06:00
nathangray
797b0d67a5 - Always show cake in day header for birthdays on desktop
- German translations from Birgit Becker
2016-08-04 10:14:02 -06:00
nathangray
74b279c21f - Add preference to display birthdays as events (still always on for mobile)
- Add cake icon to header on birthdays
2016-08-04 10:13:57 -06:00
nathangray
489cf12310 Group event participants by type in event tooltip 2016-08-03 10:18:06 -06:00
nathangray
863242689f * Calendar: Add print action to event context menu 2016-08-03 10:17:03 -06:00
nathangray
00eacc6791 Fix error when saving copied event if current user does not have add rights to original user's calendar 2016-07-29 09:42:06 -06:00
nathangray
e992ffd19a Keep event owner while copying, if current user has add permissions 2016-07-29 09:41:55 -06:00
Ralf Becker
37e7f783a0 get "integer" type settings working, by removing not used size attribute from template causing a 0 size input for integer 2016-07-29 16:03:20 +02:00
nathangray
306722e521 Calendar CSV import fixes
- Account for non-blocking flag when checking for conflicts
- Fix import of recurrence with interval
2016-07-28 09:04:29 -06:00
nathangray
33dd2b0e63 Add flag in calendar import definitions (CSV & iCal) to not import conflicting events 2016-07-28 09:04:17 -06:00
nathangray
d8e0b4b466 Fix distribution lists calendars to work when first added from search results 2016-07-26 10:37:25 -06:00
nathangray
ac2abceea3 When adding a mailing list as participant, immediately expand it to contacts 2016-07-26 10:37:12 -06:00
nathangray
c8ea65828d Allow contact lists as event participants 2016-07-26 10:36:54 -06:00
nathangray
9968cae585 Fix some bugs in drag to create event
- Firefox needed drag helper explicitly removed
- bug in move exceptions caused SQL error
2016-07-26 09:13:03 -06:00
nathangray
c7f63a5e0a * Calendar: Create new events by dragging on empty space 2016-07-26 09:13:03 -06:00
nathangray
5b7e29a39a Add a preference to control how many lines are allowed for all day non-blocking events before we start hiding some 2016-07-26 08:43:11 -06:00
nathangray
7181b4eab4 When adding a mailing list as participant, immediately expand it to contacts 2016-07-26 08:38:27 -06:00
nathangray
27872faaf6 Fix backport issues 2016-07-26 08:38:19 -06:00
nathangray
0d37c8413f Add resource categories to owner / participant search results
In the sidebox menu, resource categories are returned and selectable and will show events for all resources in that category.
In the edit popup, if the category name matches the search string, all resources of that category are returned and user can select them as if they would have searched for the name of the resource.
2016-07-26 08:20:38 -06:00
Ralf Becker
babaab8278 fix wrong namespace and replaced a couple more CreateObject 2016-07-26 09:05:40 +02:00
nathangray
b3a3ba39e2 Change usage of deprecated CreateObject() to autoloadable class names 2016-07-26 09:03:39 +02:00
nathangray
408726b647 Prevent "Parameter must be scalar" error when creating a calendar event - thanks @sbourget 2016-07-25 15:08:23 -06:00
Ralf Becker
0b64ced1d1 * PHP7/ImportExport: fix different evaluation order of PHP 5 and 7 gives eg. error "Function name must be string" in wizard 2016-07-07 21:23:59 +02:00
Ralf Becker
1ddde66957 1) skip all past events and recurrences in conflict check and fix off-by-one error in recurrence limit
2) restructure config a bit:
- rename Birthday section to Addressbook
- rename Scheduling conflict section to Recurrences and conflict check
- add: Please note: conflict check is never done in the past and always limited by above recurrence horizont.
2016-07-06 22:00:13 +02:00
Ralf Becker
7a9e8f0c4c * Calendar: check recurrences for conflicts too (until configured search-time is exceeded, default 3s) 2016-07-06 21:59:57 +02:00
Ralf Becker
0a2b637f00 fix not possible to invite groups you are not a member of 2016-06-27 11:39:25 +02:00
Ralf Becker
1a27a7b840 z-push (2.3 at least) requires a timezone for recurring events 2016-06-25 10:55:28 +02:00
Ralf Becker
67ffe04524 * eSync/Calendar: reading events in chunks of 100, to keep memory down for huge calendars 2016-06-24 11:15:56 +02:00
Hadi Nategh
1fab6876c4 Fix calendar participant does not show user accounts 2016-06-23 17:21:45 +02:00
nathangray
a557ce5ceb Fix deleting a single event of a series deleted correctly, but caused the whole series to disappear from view. 2016-06-21 11:42:44 -06:00
nathangray
fc53782f60 Remove participant restriction on new events to just users or groups, now we add any contacts or resources selected as well 2016-06-21 11:17:06 -06:00
Ralf Becker
eae2b52f79 real Exceptions not always shown, because using SyncAppointment instead of SyncAppointmentException did not render required ExceptionStartTime
Thanks to Sebastian from Z-Push
2016-06-20 22:11:35 +02:00
nathangray
4625915f11 Fix missing toolbar tooltip translations 2016-06-20 08:05:27 -06:00
Ralf Becker
6a02f1c19a merge changes from update-zpush-2.3 branch into master 2016-06-17 09:11:26 +02:00
Ralf Becker
c07b3b26e4 remove old (from Andreas z-push fork) and no longer used md5body attribute 2016-06-17 08:42:49 +02:00
nathangray
8cb1bb19b1 Check event filters when updating status or category through edit dialog to remove the event if it no longer matches. 2016-06-16 11:08:31 -06:00
Ralf Becker
e600eede2a fix iOS calendar crashed if event-organizer had no email address 2016-06-16 18:14:28 +02:00
nathangray
b8f8d59793 Show holidays & birthdays as events on mobile 2016-06-13 19:08:56 -06:00
nathangray
0d77d8e62a Better handling for drag & drop of multi-day events between blocking & non-blocking areas 2016-06-08 10:16:17 -06:00
Ralf Becker
ce684b0ee7 revert last commit to fix PHP Fatal error: Declaration of calendar_zpush::ChangeMessage($folderid, $_id, SyncAppointment $message, $contentParameters) must be compatible with activesync_plugin_write::ChangeMessage($folderid, $id, $message, $contentParameters) 2016-06-08 13:01:09 +02:00
Ralf Becker
3f9fd761bb revert last commit to fix PHP Fatal error: Declaration of calendar_zpush::ChangeMessage($folderid, $_id, SyncAppointment $message, $contentParameters) must be compatible with activesync_plugin_write::ChangeMessage($folderid, $id, $message, $contentParameters) 2016-06-08 12:53:05 +02:00
Ralf Becker
277c21ed9e add SyncAppointment object to function signature 2016-06-08 11:57:12 +02:00
Ralf Becker
a5b57b3047 fix a PHP Strict Standards: Declaration of *_groupdav::propfind_callback() should be compatible with & EGroupware\Api\CalDAV\Handler::propfind_callback 2016-06-06 13:53:54 +02:00
nathangray
033ba0159f Fix calendar list view custom date filter always switched to another filter & hid the dates 2016-06-02 09:25:01 -06:00
nathangray
660888c716 Drag and drop move or invite in day view 2016-06-01 13:47:18 -06:00
nathangray
6d10b8d231 Drag and drop to another user's calendar
- Add exception prompt
- Change to -> Move to
2016-06-01 09:30:42 -06:00
Ralf Becker
ab4cd83b41 remove no longer used boholiday class, seems to been left over from new holiday loading via iCal 2016-05-30 20:32:53 +02:00
nathangray
362366ed28 Fix addressbook - calendar permission issue blocking viewing contact calendar 2016-05-24 17:13:40 -06:00
nathangray
1756179bb3 Restore export function, turns out it is used by context menu -> export 2016-05-24 16:44:14 -06:00