Commit Graph

4282 Commits

Author SHA1 Message Date
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
nathangray
99b61bd0b8 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-05 11:41:17 +02:00
nathangray
c32b947cd8 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-05 11:40:12 +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
d1927a1dcf Fix calendar's user header not working in jdots template 2016-09-28 16:45:56 +02: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
88128b6a8b Fix multi-day event display was using event start & end time for each day instead of filling the day 2016-09-15 10:47:45 -06:00
nathangray
7a342ba56d Update currently selected Add alarm time when start time changes 2016-09-14 08:35:14 -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
fe838d2ad3 Fix incorrect tooltip in planner if event did not start or end on the hour 2016-09-09 08:13:22 -06:00
nathangray
4d2fce1d06 Use user accounts when available over addressbook when expanding mailing lists 2016-09-09 08:08:10 -06:00
nathangray
11ef29c359 Move week view's user label to span the whole week, just above the all day events 2016-09-08 08:10:23 -06:00
Hadi Nategh
8e9dd4906e Apply another patch to 12fbe113cf 2016-09-08 14:03:35 +02:00
Hadi Nategh
4e40f013c7 * Calendar: Fix status field in participants tab does not get translation in print mode 2016-09-08 12:46:16 +02:00
Hadi Nategh
aad3b739d8 * Calendar: Fix some favorites with multi-categories get failed to be shown in calendar 2016-09-08 12:30:42 +02: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
04c01fc0cc Force user accounts to be listed first in tooltip, looks like some times they got put last instead 2016-09-06 08:12:20 -06:00
nathangray
6f980c92db Update parent when removing events out of normal work times 2016-09-06 08:10:49 -06: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
nathangray
7428354884 Fix day header coloring from other months was kept when the week was reused 2016-09-01 10:37:47 -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
nathangray
b3a71be4a2 Add actions (Add) for blank parts of planner view 2016-08-30 08:04:48 -06:00
Ralf Becker
64132fe55e pending DE translations from our translation server 2016-08-30 12:26:20 +02:00
Hadi Nategh
f0e950849b Make sure selecbox arrow does not cover value of year selectbox in calendar 2016-08-26 16:03:33 +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
4cf38c6ea6 Calendar context menu to add an event now works the same as a simple click; the event is only for that user 2016-08-23 08:09:21 -06:00
nathangray
53fea1e811 Do not change list time range filter when search changes 2016-08-18 11:13:48 -06:00
nathangray
ee3371ead8 German tooltip translation from Birgit Becker 2016-08-18 11:11:27 -06:00
nathangray
caf3604706 Remove participants colfilter, it was conflicting with side menu 2016-08-18 11:11:17 -06:00
nathangray
71d3897a79 If calendar listview search is cleared, make sure it doesn't come back 2016-08-18 11:10:56 -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
nathangray
bbe2c93542 Fix planner view's vertical time bar when weekends are hidden - it was not accounting for the missing days 2016-08-18 11:04:48 -06:00
nathangray
41c89e0f7e Enable planner view vertical time bar and clicks for extra space after last planner row 2016-08-17 14:15:19 +02: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
Ralf Becker
3ed36b48e3 pending translations from our translation server, thanks to Illias and others 2016-08-10 09:10:45 +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
e0c48a978e Add a missing space in event tooltip between multi-day start and end times 2016-08-03 10:18:27 -06:00
nathangray
5502d25bfe Change timespan formatting to always show start & end time for single day events, similar to multi-day events 2016-08-03 10:18:15 -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
d59461444e Fix Uncaught TypeError: this.getArrayMgr is not a function when accessing calendar through SiteMgr 2016-08-03 08:12:50 -06:00
nathangray
1be1fc4cba Fix a case where clicking between the space for adding all day non-blocking area and the header went to day view. 2016-07-29 09:43:55 -06:00
nathangray
92c8493eb8 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-29 09:43:46 -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
616046c097 Limit event edit dialog's recurrence end date to after the event start date 2016-07-28 09:06:54 -06: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
Hadi Nategh
bfd3262c7b * Calendar: Fix printing calendar view in Firefox does not work 2016-07-28 14:10:48 +02:00
Hadi Nategh
96bee49f41 Do not apply opacity on cal events when printing a calendar view, because Firefox can not coop with opacity in print 2016-07-28 14:08:52 +02:00
nathangray
59acd09014 Handle empty participant names without error 2016-07-26 10:51:27 -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
004a56c4f8 Make sure listview header gets a date 2016-07-26 09:53:42 -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
56866b8bce 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-26 09:13:03 -06:00
nathangray
2bf00ad44d 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-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
d05c8708e4 Resource categories & distribution list expansion & fixes for planner view 2016-07-26 08:21:09 -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
nathangray
0fda61f1f0 Fix drag & drop to invite for user IDs with more than 1 character 2016-07-26 08:17:45 -06:00
nathangray
e783ba2ca5 Implement drag to invite / move to for planner by user view 2016-07-26 08:17:34 -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
Hadi Nategh
51e41012e3 * Calendar: Fix opening a calendar entry sometimes doesn't work 2016-07-22 12:21:14 +02:00
nathangray
23edb3cc5a - 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-20 09:48:58 -06:00
nathangray
4e0fbfad9c - 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-20 09:43:13 -06:00
nathangray
25fb771435 Add an add infolog button to todo list header 2016-07-20 09:23:13 -06:00
nathangray
53be18fec0 Fix typo causing blanking in some cases when refreshing because of infolog changes 2016-07-15 08:25:42 -06:00
nathangray
a2fd0b2c34 Fix long date display got the wrong month for some combinations of date format and timezone offset direction. 2016-07-15 07:09:02 +02:00
Hadi Nategh
fbf23b7ff5 Fix calendar list view shifted some pixel to the left in mobile template 2016-07-12 17:06:28 +02:00
Hadi Nategh
cb5ced6084 Implement no_notification switch, used in infolog,tracker and calendar edit dialogs for mobile template 2016-07-08 13:19:46 +02: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
nathangray
170f53d1af 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-05 08:23:14 -06:00
nathangray
3e92b81d0c Make sure single day does not get partially covered by todos 2016-07-05 08:16:05 -06:00