Commit Graph

933 Commits

Author SHA1 Message Date
nathan
d3cafb1f2f Calendar: Stop double-firing of drop event 2023-05-23 11:56:39 -06:00
nathan
6da4c80e8b Revert "Calendar: Potential further optimisation, no need for async"
Turns out there is a need for async, week view breaks without it

This reverts commit a0d044a4c1.
2023-05-18 08:30:46 -06:00
nathan
e4bdbe256a Calendar: avoid TypeError: Cannot read properties of null (reading 'length') when there is no data (due to filter changing) 2023-05-17 13:40:42 -06:00
nathan
a0d044a4c1 Calendar: Potential further optimisation, no need for async 2023-05-17 11:05:14 -06:00
nathan
3398c97055 Calendar: Fix different template load order could result in missing categories and extra loading 2023-05-15 10:15:02 -06:00
nathan
91c0a094a2 Calendar: Calendar planner by category optimisation for category loading 2023-05-12 08:44:41 -06:00
nathan
2e833586f7 Calendar: Only check group once per group 2023-05-11 14:14:47 -06:00
nathan
97a874342f Return null instead of resolved promise to avoid extra calls 2023-05-11 13:41:04 -06:00
nathan
c504de5def Calendar: Add users & groups (according to preference) to owner options 2023-05-11 11:14:17 -06:00
nathan
d5d217c589 Some "invalid option" fixes:
- Don't notify user, just log it to the console
- Fix calendar owner filtered out not loaded options
2023-05-11 10:56:42 -06:00
nathan
b3afe3ffae Calendar: Fix deferred row update checking too soon due to broken reference 2023-05-10 11:41:56 -06:00
nathan
cbf47d7156 Calendar: Avoid JS error from flatpickr on init (provided an invalid date) 2023-05-02 09:38:33 -06:00
nathan
8e9071acc8 Calendar: More sidebox owner fixes
- another instance of remote class causing problems
- remove duplicates to avoid warning message
2023-04-28 11:27:26 -06:00
nathan
86dac02826 Calendar: Fix second selected owner in sidemenu went missing 2023-04-27 14:02:41 -06:00
nathan
950f069fb2 Calendar: Fix category missing from event tooltip 2023-04-18 10:54:49 -06:00
nathan
9eecc9218f Calendar: Fix calendars on Home did not load when sidebox was not loaded 2023-04-04 13:16:35 -06:00
nathan
70916b8fe3 Calendar: fix update after delete does not show new events
Deleting the event caused a "hole" in daywise ID list, and trying to load that event's data failed.
2023-04-04 08:39:10 -06:00
nathan
6194c15b91 Calendar: fix planner's vertical bar time cursor did not follow mouse 2023-04-03 14:41:54 -06:00
nathan
de4b2746e5 Calendar: Fix calendars on Home did not load due to app.calendar being missing 2023-04-03 08:51:00 -06:00
nathan
14cedcea1a Calendar: Fix "now" line in planner view took a minute to show up 2023-03-30 09:24:32 -06:00
nathan
f01f84885d Calendar: Fix fallback icon if owner / participant has no lavatar 2023-03-28 14:43:50 -06:00
nathan
82ee38fffe Calendar: Fix events from group invitations did not always show up when viewing planner view of a group member
see 1f61ff6cca
2023-03-23 15:13:45 -06:00
nathan
1f61ff6cca Calendar: Fix events from group invitations did not always show up when viewing calendar of a group member
Fixed by pre-fetching the group members before trying to display events so they're there when we check
2023-03-23 13:09:36 -06:00
nathan
e21ce3f54b Calendar: Fix drag and drop across weeks
Couldn't drop an event from one week to another
2023-03-17 13:45:54 -06:00
nathan
843aaae63c Calendar: Get planner by category working again
Categories were missing due to change in how static categories are done.  This should be changed to use promises, when we get here.
2023-03-15 12:02:11 -06:00
nathan
9036186568 Calendar: Get calendar week view actions working from home portlet 2023-03-14 09:37:56 -06:00
ralf
84d067d2b9 WIP transpiling: an other missed StaticOptions usage
greped now for it to make sure it's the last
2023-03-14 09:44:55 +01:00
ralf
590d41bfb5 fix background-color reported as "" stalls rendering of calendar 2023-03-14 09:41:47 +01:00
nathan
db05adeb8c Calendar: missed StaticOptions change
see 43dfaa6
2023-03-13 15:49:29 -06:00
nathan
1538496df1 Home WIP: Get calendar working 2023-03-06 14:47:48 -07:00
nathan
db5be59ed0 Home: WIP home now shows stuff again 2023-03-06 13:19:48 -07:00
nathan
0117c4bde3 Move client-side holidays cache to MODULE_GLOBAL egw.holidays(year) 2023-02-27 15:15:36 -07:00
nathan
74f0822494 Calendar: Fix end date did not hide when using an event duration 2023-02-24 12:00:08 -07:00
nathan
e575c40ff3 Some missed cases where client-side lavatar was not used 2023-01-30 15:26:09 -07:00
nathan
71f4a93d56 Calendar: Fix drag and drop to move event in Firefox 2023-01-25 11:26:25 -07:00
nathan
864be8b1fe Avoid breaking error if calendar js is loaded twice 2023-01-20 09:41:13 -07:00
nathan
0e3725f99e Calendar: fix double birthday events 2023-01-20 08:55:40 -07:00
nathan
05a4fc2758 Fix missing / doubled calendar owners in sidemenu 2022-12-08 14:26:53 -07:00
nathan
634e00f948 Dialog work
Get calendar quick add working again
2022-12-01 11:20:58 -07:00
nathan
83ab58329e Dialog work
- Add destroy() to remove dialog

Fixes admin ACL dialog
2022-12-01 10:24:17 -07:00
nathan
d32dae4355 Calendar: Fix changing event date via edit dialog does not remove original event from grid, showing the event twice (original & moved) 2022-11-28 14:08:34 -07:00
nathan
14f372c74e Calendar: Change event tooltip to use notification icon instead of alarm icon 2022-10-24 13:27:46 -06:00
nathan
3df4438b60 Calendar: Take grants into account for calendar user search 2022-10-21 10:53:58 -06:00
nathan
e2b833de67 Calendar: Allow any value for minutes, lets full day events end at 23:59 2022-10-20 15:30:32 -06:00
nathan
19bbea7aca Et2Date: Add up/down buttons on hover to adjust value without opening popup
Buttons adjust by day or minuteIncrement.  Minute values are now always rounded to multiples of minuteIncrement, unless freeMinuteEntries=true (or minuteIncrement=1)
2022-10-20 15:27:24 -06:00
nathan
5f3570768d Et2Date: Add "Ok" button to close calendar popup 2022-10-18 09:08:53 -06:00
nathan
b0fc18ad93 Calendar: update sidemenu calendar to match 2cb826e26 2022-10-14 10:07:19 -06:00
nathan
edd46d1127 Calendar: Add spaces after section colons (": ") in tooltip 2022-10-13 10:43:35 -06:00
nathan
e9a797acce Calendar: Fix incorrect category label in event tooltip 2022-10-13 10:25:11 -06:00
nathan
173c8891bd Calendar: fix missing dialog translations 2022-10-13 09:06:13 -06:00