Commit Graph

958 Commits

Author SHA1 Message Date
nathan
0e011c63e7 Calendar: More work on drag vs jiggle click
Now user must drag into the next time block to start drag to create.  Any movement inside the same time block is treated as a click.
2023-07-20 16:33:17 -06:00
nathan
16c9f5ef1d Calendar: Fix ignoring drag for events
Clicking inside the time was not ignored, causing a drag to be started
2023-07-20 10:27:37 -06:00
nathan
e0e40ac8f2 Calendar: Increase drag timeout to avoid confusion between very short drags and clicks 2023-07-19 15:34:50 -06:00
nathan
48063b9059 Calendar: Include all groups in owner/participant when account selection is not primary group
(and not none)
2023-07-18 09:32:25 -06:00
nathan
1f928a66bb Calendar: Pre-fill some options in calendar owner/participant when select account preference is "selectbox" 2023-07-17 16:45:16 -06:00
nathan
27bf68f66b Calendar: Stop conflict dialog from refreshing main view 2023-07-14 08:49:28 -06:00
nathan
4a7e5824c3 Calendar: further adaptations to using openDialog()
Fixes canceling quick add doesn't remove placeholder, invalid event gave no feedback
2023-07-13 16:29:14 -06:00
ralf
efaa3ae386 WIP Mail REST API: fix reported problems with calendar quick add 2023-07-13 18:44:00 +02:00
ralf
3e27def4f9 WIP Mail REST API: change calendar to use new egw.openDialog():
- renamed app.dialogExec() to app.openDialog() or egw.openDialog()
- the later is the nicer place, but fails for lost window context with popups :(
2023-07-13 15:22:21 +02:00
nathan
50e3a1b204 Get calendar quick-add working with Ralf's changes to open an etemplate in a dialog (c63784d7e8), fix buttons from those etemplates weren't adopted 2023-07-11 17:07:51 -06:00
nathan
fd79a175ce Calendar: Fix dnd reordering of owners 2023-07-11 14:57:57 -06:00
nathan
24e9f794ef Calendar: Fix month view did not show overflown event block 2023-07-10 13:57:34 -06:00
milan
5e3c67a5cf converted egw_action from javascript to typescript
classes are now uppercase and in their own files. lowercase classes are deprecated.
Interfaces are now actual interfaces that should be implemented instead of creating and returning an ai Object every time
2023-07-10 16:54:22 +02:00
nathan
08445f2857 Calendar: Improve videoconference link for recurring events to include recurrence date 2023-06-29 07:55:52 -06:00
nathan
26027796b3 Calendar: Fix extra timegrids sometimes visible in Firefox 2023-06-28 09:25:37 -06:00
nathan
ed34a8407b Calendar: Fix moving cursor while clicking did not add an event 2023-06-22 13:52:42 -06:00
nathan
a4e6a3bbd8 Calendar: Fix all day non-blocking events hover display issue
When there are too many all day events, we hide some and only show them all on hover.  The day indicator was overlaid over the revealed events
2023-06-21 14:03:03 -06:00
nathan
694ea2d6f3 Revert "Calendar: Fix very small drags did not open add dialog"
It causes "extra" clicks on events (opens the event and the add dialog), missed clicks, events not opening when clicked

This reverts commit b8b5601b48.
2023-06-15 08:10:43 -06:00
nathan
b8b5601b48 Calendar: Fix very small drags did not open add dialog 2023-06-14 11:20:41 -06:00
nathan
f0361f5230 Calendar: Fix events that are hidden because there are too many did not have a tooltip 2023-06-13 15:03:01 -06:00
nathan
6c17f6c43d * Calendar: Fix clicking a day in a different month in sidemenu jumped to wrong date 2023-06-08 13:24:55 -06:00
nathan
3a19a93b9a Calendar: Adding alarms sometimes gave incorrect "can't add alarms in the past" error
Was not sending all values correctly
2023-06-06 11:49:41 -06:00
hadi
8e0a3a2755 Fix swipe and popup contextmenu being triggered accidentally in touch devices 2023-06-01 15:28:42 +02:00
nathan
2b61bf0303 Calendar: Fix full day non blocking events could not be dragged 2023-05-25 13:41:33 -06:00
nathan
b484a289ff Calendar: Fix drag & drop event to invite / change calendar 2023-05-24 13:22:18 -06:00
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