Commit Graph

716 Commits

Author SHA1 Message Date
nathangray
abc9252069 Fix for missing event & group by month 2017-02-24 10:33:02 -07:00
nathangray
47643f06a6 Speed improvements for planner view 2017-02-24 10:33:02 -07:00
nathangray
23384d14f1 Some calendar planner view rendering performance improvements, gives ~20% reduction in render time. 2017-02-13 12:41:08 -07:00
nathangray
f5ec39200b Fix not working infinite loop check
(thanks, Scrutenizer)
2017-02-01 09:17:26 -07:00
nathangray
153dde2200 Move holidays.php out of inc subdirectory, add a failure check 2017-01-04 08:21:59 -07:00
nathangray
c88b82c4b0 Fix bug where if daily view is in a window that is to small, vertical scrollbar is in the wrong place 2016-12-21 08:12:16 -07:00
nathangray
1e4ac003a2 Fix events in planner view did not resize if window was resized 2016-12-14 12:55:27 -07:00
nathangray
208fa0d261 Fix new events do not show up immediately after saving in 4 day view 2016-12-02 14:45:12 -07:00
Hadi Nategh
9d7ff6e616 Fix selectall checkbox in calendar category report sometimes doesn't work 2016-11-17 15:50:17 +01:00
Hadi Nategh
847352a62c Calendar category report:
- Fix calendar category report not summarizing values
- Add select all checkbox
2016-11-14 12:55:18 +01:00
Hadi Nategh
15b3e56764 WIP calendar report:
- Implement csv report + download csv file
2016-11-08 15:03:33 +01:00
Hadi Nategh
2e1e3d8727 WIP calendar report 2016-11-07 20:24:31 +01:00
Hadi Nategh
521de3a23f Fix broken enable/disable function in holiday_report 2016-11-03 11:55:36 +01:00
Hadi Nategh
035c544529 W.I.P of Calendar holiday report:
- Handle holiday_report preference on server-side
2016-11-02 18:38:31 +01:00
Hadi Nategh
6a035feb6f W.I.P of holiday report for calendar app 2016-10-31 17:33:01 +01:00
nathangray
47674a96b5 Fix the bugfix (b799dda8c7) so planner view doesn't throw errors 2016-10-18 10:40:24 -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
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
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
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
606f8ec667 Update currently selected Add alarm time when start time changes 2016-09-12 10:58:15 -06: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
12fbe113cf Fix calendar favorites gets failed when encounters cat_ids in string format 2016-09-08 12:23:41 +02: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
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
d5aa61671f Update parent when removing events out of normal work times 2016-08-30 08:30:48 -06: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
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
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
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
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
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
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
859f9b7126 Group event participants by type in event tooltip 2016-07-27 17:04:34 -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
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
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
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
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
76307c4bbf Allow contact lists as event participants 2016-07-06 13:19:54 -06: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
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
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
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
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
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
nathangray
ce329317d7 Separate years in planner view month headers, clicking on them changes to monthly view 2016-06-07 17:03:16 -06:00
nathangray
4f4c2e5b71 Planner monthly view month labels zoom into that month in planner by user 2016-06-07 16:45:02 -06:00
nathangray
b3e8a5e38c Fix drag and drop 'Move to' with all day non-blocking events in day view did not remove original user 2016-06-07 16:14:11 -06:00
Ralf Becker
108a654c1f git a little more space between go (checkmark) and calendar navigation <o> 2016-06-03 10:41:03 +02:00
nathangray
974c6105e1 Fix day view drag and drop invite / move action for drop on own all day non-blocking section 2016-06-02 10:01:12 -06:00
Hadi Nategh
87fb94a496 Deprecate $j global variable and replace them all with standard jQuery 2016-06-02 16:52:01 +02: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
nathangray
fba129a80b Fix drag and drop event to all day area no longer works 2016-05-30 09:34:28 -06:00
nathangray
80a7a121ed - Fix clicking on month labels in planner monthly view opens add dialog
- Keep AJAX loading spinner up until done
2016-05-30 09:34:28 -06:00
nathangray
43f65b81e5 Make yearly view row headers open in month view instead of adjusting year view start date 2016-05-30 09:34:28 -06:00
nathangray
f3ec3a205c Do not reposition events while hidden 2016-05-25 15:21:39 -06:00
nathangray
bd6c45c845 Get nextmatch column widths sorted out so column selector is visible, and columns line up with headers. 2016-05-25 11:54:46 -06:00
nathangray
0357d2bf84 Do not refresh on tab change if autorefresh is off 2016-05-24 15:28:22 -06:00
nathangray
984a7f6f72 Avoid exception if use_time_grid preference is not set 2016-05-18 11:30:02 -06:00
Hadi Nategh
75d51c02f2 Fix calendar date picker in sidebox stops resizing after switching between tabs 2016-05-18 15:08:05 +02:00
nathangray
2976d910db Some bugfixes for planner view in sitemgr:
- Add check on sel_options arrayMgr for missing owner names, since sidebox is not there
- Pre-fill sel_options for above, so they can be found
- Fix clicking on an event could alter the calendar state
2016-05-16 14:32:03 -06:00
nathangray
877d00b2ee Avoid some action errors in planner view - invite is not implemented there 2016-05-16 13:53:35 -06:00
nathangray
ffccce1c8a Send holiday cache data for current year on initial load, so it's available for sidebox menu. 2016-05-16 11:21:03 -06:00
nathangray
62b7beec71 Fix client-side event filtering for owner-too filter and group expansion 2016-05-16 10:55:02 -06:00
Hadi Nategh
2c43d7d24b Make repeat days available for Month-by day repeat type in calendar edit 2016-05-13 13:20:38 +02:00
Nathan Gray
c6e6da63ef Allow drag and drop between calendars, asking to invite or transfer 2016-05-11 17:29:58 +00:00
Nathan Gray
74b330ad3f Calendar autorefresh for all views 2016-05-10 19:41:28 +00:00
Nathan Gray
e7763189b1 Some more print improvements:
- Fix day & week height in FF
- Fix todos not hidden
2016-05-10 16:03:26 +00:00
Nathan Gray
de89542712 Do not resize todos or day view if not visible. Hidden elements break the sizing without special handling. 2016-05-09 20:48:50 +00:00
Nathan Gray
b408d9fa1d Stop day view resize while hidden - it gets the size wrong.
Another attempt, preventing events from resizing incorrectly
2016-05-04 16:45:42 +00:00
Nathan Gray
4c167a2d80 Revert r55868, hide participants for private events 2016-05-04 15:09:37 +00:00
Nathan Gray
106652b2d2 Stop day view resize while hidden - it gets the size wrong. 2016-05-03 21:10:20 +00:00
Nathan Gray
c8c11a00de Stop event widget from altering cache data. Fixes list view showing offset times. 2016-05-02 20:24:04 +00:00
Nathan Gray
5d14807720 Planner sitemgr module
- Check ACL and only offer users or resources anonymous user has access (read or free/busy) to
- Stop some errors from missing framework breaking the timegrid
- Fallback to be able to get resource labels in all cases
2016-05-02 19:22:52 +00:00
Nathan Gray
86c86fab9f Avoid undefined labels breaking the sort 2016-05-02 15:17:20 +00:00
Ralf Becker
429177686a make home a regular application, which can eg. disabled, incl. moving all services using "home" as appname to "api" and moved some other forgotten stuff from phpgwapi&etemplate to api 2016-05-01 09:57:48 +00:00
Nathan Gray
40fbf3e2c9 Update for resource selection to re-enable conflict detection
- Remove account & contact options from default resource selection preference
- Edit dialog participant now passes selected start & duration, so conflict detection works again
2016-04-29 18:01:17 +00:00
Hadi Nategh
1bf2ab4016 Implement enable/disable quantity base on participant's value type 2016-04-29 08:40:55 +00:00
Hadi Nategh
bd59406191 Make sure windows.opener has egw object, fixes not able to open calendar entry 2016-04-29 08:37:33 +00:00
Nathan Gray
aee540d7bb Stop extra nextmatch refresh when refreshing calendar app 2016-04-27 22:50:56 +00:00
Nathan Gray
40bdd2771d Fix all day non-blocking overflow calculation causing false positives 2016-04-27 22:23:06 +00:00
Nathan Gray
91b8995938 Implement ical context menu action on single events in non-list views 2016-04-27 19:28:31 +00:00
Hadi Nategh
9188e9a0f4 Fix add participants does not work with multiple items in calendar edit 2016-04-27 10:36:59 +00:00
Nathan Gray
42ac5b8a08 Hide participants for private events 2016-04-26 20:13:14 +00:00
Ralf Becker
7cb470d904 fix wrong/old url to load categories, now /api/categories.php 2016-04-26 14:35:58 +00:00
Nathan Gray
4ef7afca9e Hide granularity change so you don't have to see it 2016-04-25 22:09:57 +00:00
Nathan Gray
5740c448ad When calendar list view is switched to custom date range, set range to current state 2016-04-25 15:56:23 +00:00
Nathan Gray
00f8cb0a07 Change title display for planner view long / whole day events 2016-04-21 20:30:48 +00:00
Nathan Gray
5d5e45e1ad Some more performance improvements when scrolling through weeks:
- Fix typo causing unneeded time resize before redraw
- Change daycol resize & event sizing, eliminating the need to resize all events when daycol changes size
- Fix check for existing week by only checking day, not whole time
- Better handling of scrolling through weeks for faster update
2016-04-21 19:00:21 +00:00
Nathan Gray
4d5b923ad7 Fix for previous mousover scrolling, which broke all hovering in timegrid 2016-04-21 15:58:50 +00:00
Nathan Gray
4a2b0e7aaa Stop little scrolling when mouseover day header, then all day events 2016-04-21 15:32:43 +00:00
Nathan Gray
88338c2c8c Stop little scrolling when mouseover week label or header with long (ends 21:00+) days 2016-04-20 17:25:06 +00:00
Nathan Gray
80e935fb0b Some adjusting of calendar list sort order:
- All filters except Before default to sorting earlier events first  (start date asc)
- For all day events for the same date, non-blocking before blocking
2016-04-20 16:52:52 +00:00
Nathan Gray
ea612aeb8e Use event sorting from daycol to keep event order within a row more consistent 2016-04-20 15:40:09 +00:00
Nathan Gray
20a191464b Keep a single day/week on one page 2016-04-19 22:57:23 +00:00
Nathan Gray
40cff39e5a Improvements to printing in Firefox 2016-04-19 22:45:43 +00:00
Nathan Gray
8a93fa5068 Apply show_weekends to planner view 2016-04-19 20:27:09 +00:00
Nathan Gray
399dd4cec5 Calendar planner view shows event title instead of timespan for events > 8 hours
Now fixed for events spanning multiple days
2016-04-19 17:39:57 +00:00
Nathan Gray
9098943dd3 Check for options before using it, fixes error when un-loading widget 2016-04-18 20:48:42 +00:00
Nathan Gray
3b864e4e54 Calendar planner view shows event title instead of timespan for events > 8 hours 2016-04-18 19:03:35 +00:00
Hadi Nategh
a77b41c651 Do not render calendar TODO list if it's on mobile devices 2016-04-18 14:05:24 +00:00
Hadi Nategh
0ba271d581 Enable/Disable add participants based on participant value in calendar edit 2016-04-18 13:56:47 +00:00
Nathan Gray
8ada80fac3 Prevent small event display from being wrecked by partial scroll out of view 2016-04-12 22:48:16 +00:00
Nathan Gray
f8e953ed80 Remove unneeded expand on focus event, fixes dropdown opens then closes when clicking on the owner 2016-04-12 15:11:45 +00:00