Commit Graph

465 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
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
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
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
cd76cccf8b *Calendar - Quick add dialog now shows conflict warning instead of quietly stopping 2019-06-17 10:24:47 -06:00
nathangray
72c21bffcf Calendar - fix week view display name of other user, broken by 9742956c 2019-01-24 11:16:19 -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
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
5e9cace2bc * Calendar - Quick add dialog for new events 2018-12-13 14:35:26 -07: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
b17c525e75 * Calendar - Fix today button positioning - was too far down in Firefox 2018-07-20 10:09:58 -06: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
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
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
Hadi Nategh
7949d8b2fc Fix lots of misspelled words in translations 2018-03-26 16:02:42 +02: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
87b6bfdbfb * Calendar - merge from sidebox will now open in Collabora, if available 2017-12-15 13:50:18 -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
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
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
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
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
8aa4628f76 Calendar - fix sorting users in day view would sometimes disconnect header from day 2017-03-21 09:17:31 -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
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
3aef0fe1a6 Add sorting to match planner view grouping, so pagination gets the top rows first 2017-02-24 10:33:02 -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
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
606f8ec667 Update currently selected Add alarm time when start time changes 2016-09-12 10:58:15 -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
78593797c9 Fix day header coloring from other months was kept when the week was reused 2016-09-01 10:36:43 -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
10b954a9d1 If calendar listview search is cleared, make sure it doesn't come back 2016-08-03 10:54:02 -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
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
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
76307c4bbf Allow contact lists as event participants 2016-07-06 13:19:54 -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
4d3cf6c58e Make sure single day does not get partially covered by todos 2016-07-04 09:17:34 -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
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
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
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
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
1ce17f4656 Better handle reloads from framework to avoid double toolbar and bad display 2016-06-08 16:02:54 -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
Hadi Nategh
87fb94a496 Deprecate $j global variable and replace them all with standard jQuery 2016-06-02 16:52:01 +02: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
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
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
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
74b330ad3f Calendar autorefresh for all views 2016-05-10 19:41:28 +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