Commit Graph

4344 Commits

Author SHA1 Message Date
nathangray
57201d51bc Fix bug where you were unable to change participant status of a recently added user until you save the event 2016-10-17 11:23:27 -06:00
nathangray
be7587e691 Add sitemgr module for weekN 2016-10-14 13:35:17 -06:00
nathangray
b799dda8c7 Some bugfixes:
- For some start / end date combinations, end date was incorrectly processed
- Check readonly flag to avoid errors from drag & drop, click to create and drag to create
2016-10-14 13:34:58 -06:00
nathangray
fffa937f39 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-07 09:21:37 -06:00
Ralf Becker
315ceed672 error_log if calendar can not send notifications 2016-10-06 19:09:40 +02:00
nathangray
d28dc1451e Always pass owner when creating a new appointment, server will check preference and decide who to add as participants. Fixes one more case where 'Just me' preference was not correctly handled - single week, single other user. 2016-10-04 09:47:41 -06:00
nathangray
339241cce7 Always pass owner when creating a new appointment, server will check preference and decide who to add as participants. Fixes one more case where 'Just me' preference was not correctly handled - single week, single other user. 2016-10-04 09:43:52 -06:00
nathangray
b7d02b3229 Fix call to undefined method calendar_uiviews::_get_planner_users() breaks multi-user weekly calendar on home. 2016-10-04 09:11:39 -06:00
Hadi Nategh
df102aa04d * Calendar: Fix calendar to-firstname to-lastname place-holders do not get values 2016-10-04 16:39:28 +02:00
Hadi Nategh
8790b478a0 WIP of new hint presentation for preferences:
- Remove extra prefHelp styles of calendar which disturbs the default behavior
2016-10-04 16:39:28 +02:00
Ralf Becker
4b2f08f5b7 old behavior "selected" should also be used for not set preference, therefore we need to test for !== '0' 2016-10-04 09:55:02 +02:00
Hadi Nategh
1c18fed409 Fix calendar's user header not working in jdots template 2016-09-28 16:44:44 +02:00
Hadi Nategh
be20b14c2c 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 14:20:38 +02:00
nathangray
16d7b6d5ae Fix clicking inside a single other user's calendar did not invite that user when new event preference was 'Just me' 2016-09-27 10:21:25 -06:00
nathangray
e43a0cf4fb 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-21 09:36:17 -06:00
nathangray
d91ef451ed 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-21 08:45:08 -06:00
nathangray
87226bfbcb Change handling of new private events created for other users to allow them to show immediately 2016-09-15 10:46:11 -06:00
nathangray
8634c624bb Remove error log 2016-09-15 10:46:11 -06:00
nathangray
a7d8130c54 Fix multi-day event display was using event start & end time for each day instead of filling the day 2016-09-15 08:35:07 -06:00
nathangray
7eabd22524 Make sure calendar CSV export still gets results when filtering by criteria with no end date 2016-09-14 09:44:48 -06:00
nathangray
87c9d72db9 Fix unwanted extra participants in consolidated views when new event participant preference is 'just me' - month view 2016-09-13 10:10:36 -06:00
nathangray
23f5e5fb70 Fix unwanted extra participants in consolidated views when new event participant preference is 'just me' 2016-09-12 12:00:49 -06:00
nathangray
606f8ec667 Update currently selected Add alarm time when start time changes 2016-09-12 10:58:15 -06:00
Ralf Becker
1861a9de22 no need to report VCALENDAR in supported-calendar-component-set 2016-09-12 11:20:15 +02:00
nathangray
b03d71379a Fix incorrect tooltip in planner if event did not start or end on the hour 2016-09-08 08:50:43 -06:00
Hadi Nategh
eac56687ce Apply another patch to 12fbe113cf 2016-09-08 14:03:05 +02:00
Hadi Nategh
fdcc238913 * Calendar: Fix status field in participants tab does not get translation in print mode 2016-09-08 12:44:46 +02:00
Hadi Nategh
12fbe113cf Fix calendar favorites gets failed when encounters cat_ids in string format 2016-09-08 12:23:41 +02:00
nathangray
675731d74e Fix CSS comments & extra commas 2016-09-07 10:05:51 -06:00
nathangray
93c76dd878 No longer need to update nm owner filterheader, since we changed it to a plain header 2016-09-07 10:03:34 -06:00
nathangray
6568c0667a Move week view's user label to span the whole week, just above the all day events 2016-09-06 09:46:37 -06:00
Hadi Nategh
075a3a6fe5 Fix drag and drop in calendar does not work if there's resources 2016-09-06 16:18:45 +02:00
nathangray
24d5af7b7a Fix invalid parameter error when changing the status of a recurring event exception 2016-09-05 10:18:14 -06:00
nathangray
57f994e038 Allow events created by clicking on 00:00 to actually start at 00:00 instead of workday start time 2016-09-05 10:04:40 -06:00
nathangray
064b51bab2 Force user accounts to be listed first in tooltip, looks like some times they got put last instead 2016-09-02 08:21:57 -06:00
nathangray
78593797c9 Fix day header coloring from other months was kept when the week was reused 2016-09-01 10:36:43 -06:00
nathangray
b86dfa52bb Use user accounts when available over addressbook when expanding mailing lists 2016-09-01 09:26:56 -06:00
Ralf Becker
c586e77749 fix holiday handling to "understand" gzip compression, even if it was never requested 2016-08-31 14:54:56 +02:00
nathangray
d5aa61671f Update parent when removing events out of normal work times 2016-08-30 08:30:48 -06:00
Ralf Becker
c8401fec2a pending DE translations from our translation server 2016-08-30 12:26:54 +02:00
Hadi Nategh
9115ab2739 Make sure selecbox arrow does not cover value of year selectbox in calendar 2016-08-26 15:16:37 +02:00
Ralf Becker
3a6be10253 * Calendar: use proxy config from setup >> configuration to download holiday calendars 2016-08-26 14:00:12 +02:00
Ralf Becker
0cf37ba54d * Calendar: fix PHP Fatal: Unsupported operand types caused eg. by deleted resources 2016-08-24 12:36:53 +02:00
nathangray
7abf44c6a3 Add actions (Add) for blank parts of planner view 2016-08-22 09:39:09 -06:00
nathangray
961a2a01da Calendar context menu to add an event now works the same as a simple click; the event is only for that user 2016-08-18 15:33:24 -06:00
Ralf Becker
d47b22822c * Calendar: fix PHP Fatal when clicking on a link to accept/decline an invitation mail 2016-08-17 11:40:40 +02:00
Ralf Becker
26dbe74328 * Calendar: fix SQL error in eSync with double DISTINCT happening under some conditions 2016-08-17 09:26:01 +02:00
nathangray
d2d7c6f255 Enable planner view vertical time bar and clicks for extra space after last planner row 2016-08-15 09:32:17 -06:00
nathangray
068ecf4fc8 Do not change list time range filter when search changes 2016-08-12 10:51:48 -06:00
nathangray
6a31313c94 Change maximum weeks in multiple-week view from 4 to 9 2016-08-12 09:23:23 -06:00
nathangray
8c8cf1af07 Fix planner view's vertical time bar when weekends are hidden - it was not accounting for the missing days 2016-08-12 09:16:49 -06:00
Ralf Becker
3752c35a5a 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:35:30 +02:00
Ralf Becker
25b7334017 pending translations from our translation server, thanks to Illias and others 2016-08-10 08:55:21 +02:00
nathangray
6a419e77f8 German tooltip translation from Birgit Becker 2016-08-05 09:57:59 -06:00
nathangray
72bf083226 Remove participants colfilter, it was conflicting with side menu 2016-08-05 08:14:37 -06:00
nathangray
3b13e8493c - Always show cake in day header for birthdays on desktop
- German translations from Birgit Becker
2016-08-04 10:11:58 -06:00
nathangray
10b954a9d1 If calendar listview search is cleared, make sure it doesn't come back 2016-08-03 10:54:02 -06:00
nathangray
6ef849c9a7 Fix attempting to set array value accessed via magic methods was silently ignored by changing and setting the whole array 2016-08-03 09:57:49 -06:00
nathangray
de91e82426 Add a missing space in event tooltip between multi-day start and end times 2016-08-03 09:34:08 -06:00
nathangray
dc3dd6819d - Fix listview filter changes confusingly when searching
- Fix listview does not update for new events
2016-08-02 09:30:36 -06:00
nathangray
7e800a4122 * Calendar: Add print action to event context menu 2016-08-01 09:11:29 -06:00
nathangray
8a3ddfa41b - Add preference to display birthdays as events (still always on for mobile)
- Add cake icon to header on birthdays
2016-07-29 09:35:24 -06:00
Ralf Becker
b077423223 get "integer" type settings working, by removing not used size attribute from template causing a 0 size input for integer 2016-07-29 16:01:26 +02:00
nathangray
e3dd5ad4c4 Change timespan formatting to always show start & end time for single day events, similar to multi-day events 2016-07-28 16:39:26 -06:00
nathangray
a019185ec2 Fix a case where clicking between the space for adding all day non-blocking area and the header went to day view. 2016-07-28 14:43:11 -06:00
nathangray
96b75f7888 Fix error when saving copied event if current user does not have add rights to original user's calendar 2016-07-28 13:26:06 -06:00
Hadi Nategh
53449be87f Saving cal event's opacity effect in printing by using filter instead of opacity 2016-07-28 14:07:54 +02:00
Hadi Nategh
cc7d9cbba4 Do not apply opacity on cal events when printing a calendar view, because Firefox can not coop with opacity in print 2016-07-28 11:22:11 +02:00
nathangray
859f9b7126 Group event participants by type in event tooltip 2016-07-27 17:04:34 -06:00
nathangray
1359ce2aca Keep event owner while copying, if current user has add permissions 2016-07-26 11:45:48 -06:00
nathangray
38ee3853cf Handle empty participant names without error 2016-07-26 10:50:17 -06:00
nathangray
6a5003fee7 Make sure listview header gets a date 2016-07-26 09:52:03 -06:00
Ralf Becker
ac8cdda252 fix wrong namespace and replaced a couple more CreateObject 2016-07-26 09:03:02 +02:00
nathangray
962f0fa9d6 Change usage of deprecated CreateObject() to autoloadable class names 2016-07-25 16:41:47 -06:00
nathangray
76c537b63a Limit event edit dialog's recurrence end date to after the event start date 2016-07-25 16:14:13 -06:00
nathangray
acbf2b46da Prevent "Parameter must be scalar" error when creating a calendar event - thanks @sbourget 2016-07-25 15:06:20 -06:00
nathangray
0405eb1510 Avoid type error when importing events with IDs that cannot be read (no permission)
Argument 1 passed to calendar_tracking::changed_fields() must be of the type array, null given
2016-07-25 12:23:31 -06:00
nathangray
085ac5bb38 Fix week view with multiple users (non-consolidated) still had some space where the user could click on the day header, which was recogized as a header click instead of an all day non-blocking click 2016-07-25 11:22:49 -06:00
nathangray
386368da6e Better sizing for calendar in home 2016-07-25 11:22:49 -06:00
Hadi Nategh
a58c881af1 * Calendar: Fix opening a calendar entry sometimes doesn't work 2016-07-22 12:03:46 +02:00
nathangray
3ab01052f4 Add a preference to control how many lines are allowed for all day non-blocking events before we start hiding some 2016-07-21 14:01:47 -06:00
nathangray
246683331b Fix Uncaught TypeError: this.getArrayMgr is not a function when accessing calendar through SiteMgr 2016-07-21 10:43:23 -06:00
nathangray
99824b5510 Resource categories & distribution list expansion & fixes for planner view 2016-07-21 10:21:16 -06:00
nathangray
a69737fa95 Fix drag & drop to invite for user IDs with more than 1 character 2016-07-20 13:34:57 -06:00
nathangray
2b61cc4822 Fix distribution lists calendars to work when first added from search results 2016-07-20 12:39:06 -06:00
nathangray
786b64a4da Calendar CSV import fixes
- Account for non-blocking flag when checking for conflicts
- Fix import of recurrence with interval
2016-07-20 11:29:32 -06:00
nathangray
6d5f820b97 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-19 14:10:15 -06:00
nathangray
945fce3e9b Fix typo causing blanking in some cases when refreshing because of infolog changes 2016-07-15 08:24:57 -06:00
nathangray
1a0ff85355 Make sure we don't hit undefined last_format 2016-07-15 08:08:32 -06:00
nathangray
5fa3d455a5 Fix long date display got the wrong month for some combinations of date format and timezone offset direction. 2016-07-14 11:30:04 -06:00
nathangray
115f420996 Implement drag to invite / move to for planner by user view 2016-07-14 10:59:11 -06:00
nathangray
fada2d433e When adding a mailing list as participant, immediately expand it to contacts 2016-07-12 11:22:36 -06:00
nathangray
a74bba01e6 Add an add infolog button to todo list header 2016-07-12 10:24:03 -06:00
Hadi Nategh
142f55c15c Fix calendar list view shifted some pixel to the left in mobile template 2016-07-12 15:26:31 +02:00
nathangray
983cfab70d - Fix drag & drop an event inside a group or consolidated calendar asked to move or invite
- Fix some drag to create bugs throwing errors
2016-07-11 15:23:29 -06:00
nathangray
0f70db5bcf Scrutinizer fix - remove unused code 2016-07-11 13:39:01 -06:00
nathangray
4bb16b2bec Add flag in calendar import definitions (CSV & iCal) to not import conflicting events 2016-07-11 13:09:08 -06:00
Ralf Becker
0b71dd2756 replace (slower and ugly) create_function with closures 2016-07-10 11:09:21 +02:00
Ralf Becker
2c238b7071 * PHP7/ImportExport: fix different evaluation order of PHP 5 and 7 gives eg. error "Function name must be string" in wizard 2016-07-07 20:25:32 +02:00
nathangray
76307c4bbf Allow contact lists as event participants 2016-07-06 13:19:54 -06:00
Hadi Nategh
c0e480f465 Implement no_notification switch, used in infolog,tracker and calendar edit dialogs for mobile template 2016-07-06 17:00:31 +02:00
Ralf Becker
5374b39680 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 16:44:06 +02:00
Ralf Becker
cae960965e add Github url of Mozilla holiday calendar data 2016-07-06 14:43:59 +02:00
Ralf Becker
b4017cb8c4 * Calendar: check recurrences for conflicts too (until configured search-time is exceeded, default 3s) 2016-07-06 12:46:00 +02:00
nathangray
3de70526d0 Fix some bugs in drag to create event
- Firefox needed drag helper explicitly removed
- bug in move exceptions caused SQL error
2016-07-05 13:14:10 -06:00
nathangray
24dcb5e2cf Fix Scrutinizer "bug" 2016-07-05 09:04:39 -06:00
nathangray
bfb599666e When an infolog changes, only refresh calendar when it's the active app, otherwise wait until it is activated. Fixes event positioning problems caused by refreshing while hidden without needing to recalculate everything while hidden. 2016-07-04 15:20:22 -06:00
nathangray
0a129c0214 Fix some bugs in drag to create event
- Firefox tried to do drag to create & drag to resize when resizing an event
- Speed improvement for mouseover
2016-07-04 10:26:38 -06:00
nathangray
4d3cf6c58e Make sure single day does not get partially covered by todos 2016-07-04 09:17:34 -06:00
nathangray
0aaca03d89 Fix some bugs in drag to create event
- Firefox opened 2 popups, one for span and one for end time
- Dragging existing events longer or shorter created a new event also
- Did not work in dayview
- Categories from category planner were not set
2016-07-01 11:57:06 -06:00
nathangray
ca7779c825 Fix documentation 2016-06-30 15:47:32 -06:00
nathangray
b7919b1fe0 * Calendar: Create new events by dragging on empty space 2016-06-30 13:21:13 -06:00
nathangray
d60596cb43 Add tooltip explaining do not notify flag 2016-06-28 09:17:05 -06:00
nathangray
1325740df1 Add tooltip explaining private flag in calendar edit dialog 2016-06-28 08:58:19 -06: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
381b9fa1a4 fix calendar-planer SiteMgr block to working with Mambo templates like (javascript free) simple_plain 2016-06-25 12:28:52 +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
nathangray
814955bf4d Fix empty calendars did not turn off loader div 2016-06-24 16:29:40 -06:00
nathangray
0962d7fb27 Better/more hiding of calendar redrawing when changing views 2016-06-24 15:31:39 -06:00
nathangray
184a68bb73 Fix 'Whole day' was not translated in calendar event tooltips 2016-06-24 11:19:03 -06:00
nathangray
6897cffdc7 Append calendar owner ID to cache ID without regard for current state. Fixes some problems where entries would go missing or show in the wrong date when you changed the selected owner. 2016-06-24 10:44:33 -06: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
Ralf Becker
50b33f279c Italian translations from Ilias Chasapakis, Webtrain 2016-06-23 18:35:20 +02:00
Hadi Nategh
5551832c4d Revert commit d95a6f82ab as it breaks calendar loading 2016-06-23 17:38:32 +02:00
Hadi Nategh
1fab6876c4 Fix calendar participant does not show user accounts 2016-06-23 17:21:45 +02:00
nathangray
d95a6f82ab Better/more hiding of calendar redrawing when changing views 2016-06-22 09:57:14 -06: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
Ralf Becker
c08853a711 German an Czech translations from Stefan Unvericht 2016-06-20 17:45:14 +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
27ef0c20a9 Supress tooltip on holidays shown as events 2016-06-15 09:17:50 -06:00
nathangray
358df21fd2 Fix resource (contact, resource, etc.) label sometimes not found 2016-06-15 08:51:07 -06:00
Ralf Becker
7bb87c2615 stop jQuery from setting $ as early as possible and added more checks for calendar running in frameworked template 2016-06-14 21:17:46 +02:00
nathangray
700ef496d7 For new events with title pre-set, highlight the title for easy editing 2016-06-14 11:24:14 -06:00
nathangray
f9a490aea5 Fix touch swipe destruction sometimes blocked reload of calendar 2016-06-14 09:27:34 -06:00
nathangray
b8f8d59793 Show holidays & birthdays as events on mobile 2016-06-13 19:08:56 -06:00
Ralf Becker
218831f76d do not load categories in iframe for calendar, thought unloading them via clicking on app-header still failes 2016-06-13 18:04:11 +02:00
nathangray
78a1768bc4 Fix yearly planner
- months were 1 day too short when computer timezone was east of GMT
- slight mismatch between positions between months
- hover time was off by just a bit
2016-06-09 19:13:35 +02:00
nathangray
1ce17f4656 Better handle reloads from framework to avoid double toolbar and bad display 2016-06-08 16:02:54 -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
nathangray
fa7cbf6fcd Fix yearly planner had different day widths for longer or shorter months 2016-06-08 09:03:52 -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
nathangray
ce329317d7 Separate years in planner view month headers, clicking on them changes to monthly view 2016-06-07 17:03:16 -06:00