Commit Graph

817 Commits

Author SHA1 Message Date
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