Commit Graph

918 Commits

Author SHA1 Message Date
nathangray
1da1cb7b99 Fix legacy options not being read for some widgets 2020-03-30 10:28:48 -06:00
nathangray
34ec346821 Fix favourites (& probably some more inherited stuff) broken by TypeScript conversion
Note that any properties declared in a sub-class aren't generally available until after the super() call is done, i.e. in the super constructor they're undefined.
2020-03-20 11:38:38 -06:00
nathangray
a2d9e8cae0 Calendar: Fix cdbfcb391 broke planner view 2020-03-18 10:15:22 -06:00
nathangray
cdbfcb391c Calendar: Fix some cases where a changed participant status would not remove the event when it should 2020-03-12 09:19:12 -06:00
Hadi Nategh
0cc7ce12d0 merge master 2020-03-05 14:45:25 +01:00
Hadi Nategh
b6374c833e Add missing js files in calendar 2020-03-05 13:21:02 +01:00
Ralf Becker
65294a3e19 fix error on window closing in Chrome 80+
caused by Chrome 80+ no longer allowing to send a synchronious ajax request from beforeunload handler, using sendBeacon (async request with keepalive=true) instead
2020-03-02 10:43:19 +01:00
nathangray
08b6cce51d Calendar to TS working 2020-02-27 13:37:36 -07:00
nathangray
e68071a073 WIP Calendar to typescript 2020-02-27 11:44:34 -07:00
nathangray
01da1c3bd4 Calendar: Make sure search from sidebox doesn't come back in list view after being cleared 2019-11-25 15:47:02 -07:00
nathangray
f59f6bbc3f Calendar: Fix favorites with accounts not in primary group only show ID in sidebox owner 2019-11-19 15:56:12 -07:00
nathangray
6d00d548a8 * Calendar: Fix selecting a group in planner by user view did not always load group members 2019-10-29 10:57:01 -06:00
nathangray
7f6b3dab18 Calendar: Keep passed links through quick add -> edit 2019-09-25 11:30:16 -06:00
nathangray
e83ad2cf5a Calendar: Make sure owner is sent as an array for proper processing of default_participant preference 2019-09-23 09:49:10 -06:00
nathangray
b7eb1f866b Calendar: Add owner to values passed from quick add to edit dialog.
This fixes a bug where if multiple accounts were viewed as separate calendars, all accounts were added as participants when Quick add -> Edit was used on a single calendar
2019-09-20 09:47:51 -06:00
nathangray
6cbf065f7a Calendar - Different way to get participants for quick add -> edit 2019-09-16 11:46:10 -06:00
nathangray
47cde432ef * Calendar - Fix quick add lost additional participants 2019-09-16 10:46:35 -06:00
nathangray
9cbc941c8d Calendar - fix side calendar's Today button positioning 2019-08-20 13:54:51 -06:00
nathangray
afdee4b2eb Calendar - Fix js error reading holiday event preference 2019-06-19 09:19:01 -06:00
nathangray
cd76cccf8b *Calendar - Quick add dialog now shows conflict warning instead of quietly stopping 2019-06-17 10:24:47 -06:00
nathangray
d095241a55 Make sure week labels with unknown users get updated when the names come back from the server 2019-05-02 11:20:38 -06:00
Hadi Nategh
bb16d47c7c Let single day view gets updated while printing 2019-04-16 10:51:51 +02:00
nathangray
f1295cce1c Calendar - make day header blue and always show user name in day view 2019-02-05 15:45:06 -07:00
nathangray
c9a16d0caf Show week number instead of user name for single calendar, single day 2019-02-01 10:12:03 -07:00
nathangray
72c21bffcf Calendar - fix week view display name of other user, broken by 9742956c 2019-01-24 11:16:19 -07:00
nathangray
f255a80f52 Calendar - queue unknown owner label requests 2019-01-22 09:32:58 -07:00
nathangray
054fee2bbe *Calendar - New event (+ button) now sets time to start of next hour 2019-01-14 11:01:00 -07:00
nathangray
61d0e9874f Calendar - fix status filter for planner by user view 2019-01-11 14:01:49 -07:00
nathangray
03aa34460a Change calendar link registry's add to use javascript so we can open client side 2019-01-10 15:01:05 -07:00
nathangray
00ea499559 Calendar - open add into a dialog widget 2019-01-09 16:48:04 -07:00
nathangray
fa928efc57 Calendar - Pass group members on load to save some user data lookups 2018-12-19 15:31:44 -07:00
nathangray
5e9cace2bc * Calendar - Quick add dialog for new events 2018-12-13 14:35:26 -07:00
nathangray
7debe27ada Fix infinite loop when hovering over holidays 2018-12-13 11:47:14 -07:00
Hadi Nategh
b24d9f9cde Fix missing space and extra spaces in calendar's birthday tooltip 2018-12-10 14:20:35 +01:00
nathangray
9742956c67 * Calendar - fix missing week numbers on multiweek view and wrong scrolling 2018-10-29 11:30:50 -06:00
nathangray
d36d18a148 Calendar - In week view always display name of selected user if not self 2018-10-22 10:31:10 -06:00
nathangray
0f016bcd7b Change missing owner label lookup to deal with async request 2018-10-11 12:54:17 -06:00
nathangray
1e98a89bbd * Calendar - fix multi-day events ending at 00:00 would only be shown for the first day 2018-09-24 11:24:05 -06:00
nathangray
be731519cf * Calendar - fix adding events to days loaded and cached but not shown in current view would not show when view gets changed 2018-09-24 10:20:56 -06:00
nathangray
58490c24b7 * Calendar - add birthday icon to planner for time scales less than a month 2018-07-24 16:20:50 -06:00
nathangray
e8127f7da7 * Api - Fix row category colors go missing after a change
- Row color css was not specific enough to override the default, and only worked because of load order
- Remove uneeded category CSS requests from calendar
2018-07-24 12:57:17 -06:00
nathangray
b17c525e75 * Calendar - Fix today button positioning - was too far down in Firefox 2018-07-20 10:09:58 -06:00
nathangray
26d8bd1cfb * Calendar - Fix missing first row in planner by category view 2018-07-19 13:59:45 -06:00
Hadi Nategh
eb5652dc20 * Api: get avatar showing up for taglist accounts and calendar owner 2018-06-29 10:12:59 +02:00
nathangray
499c0a2de3 Calendar - add participant or category to events created via planner view's context menu 2018-06-21 14:14:04 -06:00
nathangray
8ea2c6a913 Calendar - planner view context menu Add action now uses date you clicked on 2018-06-20 14:21:35 -06:00
nathangray
6baad3bee1 * Calendar - add context menu actions for email & documents to non-list views 2018-06-19 14:35:08 -06:00
nathangray
e11f22f0e9 * Calendar - fix event positioning bug in yearly planner view
Events would sometimes be mis-sorted into a different month and show at the start of the month
2018-06-19 10:22:13 -06:00
nathangray
3444126629 * Calendar - Add preference to update calendar view immediately when navigation calendar in sidebox is changed 2018-06-05 12:57:26 -06:00
nathangray
a874535df4 * Calendar - fix week header rendering problem in some languages
Translation was too long, now allowing up to 3 letters but longer trimmed
2018-05-30 15:14:03 -06:00
nathangray
6eb3ca2592 Fix whole day event checkbox lost the default alarm, change 24 hours label to 1 days 2018-05-15 09:47:10 -06:00
nathangray
d8b052519b * Calendar - yearly planner view events would sometimes load in the next month as well 2018-04-17 10:38:49 -06:00
nathangray
fbf3634d1e Calendar - Planner view, events on Friday would sometimes go missing if weekends were hidden 2018-03-26 11:16:54 -06:00
nathangray
efdc25bb37 * Calendar - fix occasional infinite loop in yearly planner
Something about the events present (or not present) triggered it
2018-03-26 09:45:47 -06:00
Hadi Nategh
7949d8b2fc Fix lots of misspelled words in translations 2018-03-26 16:02:42 +02:00
nathangray
b118f9109c * Calendar - fix events on weekend were sometimes shown on Friday if weekends were hidden 2018-03-19 10:54:55 -06:00
nathangray
0ab3a209cc Calendar - fix birthday preference always sent to client as false 2018-03-07 14:06:02 -07:00
nathangray
04c4cd9d7a * Calendar - add preference to display birthdays as events as well as holidays 2018-03-05 15:07:37 -07:00
nathangray
3e7ecbe692 * Calendar - always show non-blocking icon for non-blocking events, regardless of private flag 2018-03-02 10:55:06 -07:00
nathangray
2e470ddee0 * Calendar - Fix moving event to an un-loaded day would show only that event when the day is viewed 2018-02-26 11:31:29 -07:00
nathangray
965f5b5527 * Calendar - Fix right click -> add gave error instead of popup 2018-02-05 09:40:45 -07:00
nathangray
f7f4f2d07a * Calendar - Fix Filemanager, Infolog & Timesheet context menu actions 2018-02-01 13:30:36 -07:00
nathangray
2e9b486931 * Calendar - avoid hanging in planner if event has an invalid category 2018-01-17 16:13:55 -07:00
nathangray
87b6bfdbfb * Calendar - merge from sidebox will now open in Collabora, if available 2017-12-15 13:50:18 -07:00
nathangray
c938cb37f1 * Calendar - add a line to the top of events so consecutive events are better separated 2017-11-22 11:54:31 -07:00
nathangray
863de9144e Revert "* Calendar - translate day of week in app header"
This reverts commit 2491fb14b9.
2017-11-22 11:14:22 -07:00
nathangray
2491fb14b9 * Calendar - translate day of week in app header 2017-11-22 10:39:15 -07:00
nathangray
e53af4078c Add full day name to app header for single day view 2017-11-16 14:39:05 -07:00
nathangray
f53c60c141 * Calendar - Add preference to set color of events without category color 2017-11-07 10:25:47 -07:00
nathangray
5da12be8e8 Calendar - fix some bugs in readonly mode:
- missing participant widget would fail
- read-only end date would cause error
2017-11-03 14:38:51 -06:00
nathangray
5183aa2a19 Calendar - avoid errors from holidays if no country set 2017-10-04 09:22:00 -06:00
nathangray
39759eb267 * Calendar - fix bug where private events for multiple users in week view only showed for one user 2017-09-05 11:20:53 -06:00
Hadi Nategh
0ececf8c78 Set statustext value as text by default
- Introduce new boolean attribute called statustext_html in case we want
explicitly statustext gets rendered as html
- Fix Calendar tooltip with new statustext_html attribute
2017-09-05 19:04:45 +02:00
nathangray
7e275df4e4 * Calendar - Fix month overflow bug when scrolling prev / next 2017-08-31 08:49:16 -06:00
nathangray
4fcebd2f93 * Calendar - add preference to view month as a time grid, same as other views 2017-08-28 10:01:27 -06:00
nathangray
b3f146c246 * Calendar - improve planner view printing if your screensize doesn't match page size 2017-06-27 12:24:33 -06:00
nathangray
a44bdb99f9 * Calendar - Fix edit via emailed notification link did not work properly 2017-06-22 11:07:42 -06:00
nathangray
b9b03bced7 * Calendar - Fix weekend setting got lost when you go from week to day view 2017-06-14 09:27:39 -06:00
nathangray
f8adc0cadf Calendar - Fix events were not displayed if you clicked 'today' in sidebox, then month view
(Faster implementation)
2017-06-13 15:14:55 -06:00
nathangray
5a700b7e40 * Calendar - Fix events were not displayed if you clicked 'today' in sidebox, then month view 2017-06-13 15:03:45 -06:00
nathangray
02a569bea9 * Calendar - avoid events ending at midnight (00:00) causing a 0 length event the next morning 2017-06-01 09:29:43 -06:00
nathangray
05432df4f5 Calendar - fix planner by user view new event by clicking on a resource did not include resource as participant 2017-05-23 09:30:51 -06:00
nathangray
843331260a * Calendar - In week view with multiple users, clicking on the name will now change to just that user 2017-05-16 09:35:13 -06:00
nathangray
94132c68be * Calendar - Highlight current user in planner by user 2017-04-06 08:46:19 -06:00
nathangray
0ac55aad97 Calendar - Fix bug where planner by user would not show events with group invitation, planner by category would not show events with sub-categories 2017-04-05 13:48:23 -06:00
nathangray
53916b71f6 Deal with event sizing issue that caused 0 length events depending on what was rendered first 2017-04-05 13:23:34 -06:00
nathangray
fbeefaf788 Calendar - Fix planner view in Firefox sometimes had headers mis-aligned with columns
Deferred loading caused scrollbar width calculation issues.
2017-03-29 08:32:43 -06:00
nathangray
36cb2fd39d Calendar - Fix summer time change east of GMT caused 'today' to be off by one day in planner view 2017-03-27 08:49:05 -06:00
nathangray
8aa4628f76 Calendar - fix sorting users in day view would sometimes disconnect header from day 2017-03-21 09:17:31 -06:00
nathangray
983a72b3ab D is for delegated, not declined 2017-03-21 08:10:11 -06:00
nathangray
2e152294c3 Calendar - fix no events shown in planner if you had empty rows hidden 2017-03-20 10:12:15 -06:00
nathangray
46c4de0305 Calendar - Fix changing order (sorting) of users day view 2017-03-16 12:56:53 -06:00
nathangray
8f597194e0 Fix Planner sitemanager module no longer navigated.
Due to missing state variables mostly
2017-03-13 08:39:12 -06:00
nathangray
4e88e33e5a High priority events get red title 2017-03-09 13:28:09 -07:00
nathangray
775e92a89f Fix events that end at midnight can cause events from the next day to not be displayed 2017-03-09 13:02:23 -07:00
nathangray
b8e8658226 Calendar - Toolbar '+' button changed to add event on first day of current view, previously was always 'today' 2017-03-03 10:00:15 -07:00
nathangray
cb0f574e82 Fix grid for few users as well as lots 2017-03-03 09:22:36 -07:00
nathangray
90e537e1fa Calendar - Planner view: Fix time grid lines did not reach all the way to the end 2017-03-03 09:18:47 -07:00
nathangray
855825c088 Calendar - Planner view: Fix time grid lines did not reach all the way to the end 2017-03-03 09:07:16 -07:00
nathangray
d0913cb309 Fix title & description in calendar events were not escaped 2017-03-01 10:52:38 -07:00
nathangray
578b5c8de6 Add summary of participant statuses to event tooltip (when there's 2 or more participants) 2017-02-27 10:00:17 -07:00
nathangray
3aef0fe1a6 Add sorting to match planner view grouping, so pagination gets the top rows first 2017-02-24 10:33:02 -07:00
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