Commit Graph

965 Commits

Author SHA1 Message Date
nathan
a430e98bcc Calendar: Fix group events did not always show up
If the user had group events from more than one group, depending on the timing we were overwriting the first group(s)
2023-09-28 11:05:33 -06:00
Milan
f430b66d3b 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

(cherry picked from commit 5e3c67a5cf)
2023-09-13 10:40:32 +02:00
nathan
044b57a813 Calendar: Fix days offset by one
Depending on your timezone and current time, your calendar could show the wrong days (Tuesday -> Monday)
2023-09-07 16:34:35 -06:00
nathan
1911f73884 Calendar: disable scrolling on year/month in sidemenu calendar 2023-08-21 14:44:46 -06:00
nathan
f96c60f154 * Calendar: Change how participant emails are shown
Sidebox: emails are shown on hover
Edit dialog: emails are shown in search results
Week headers: emails are no longer shown

To support this, now sending account options from server instead of pulling from user list
2023-08-02 08:11:44 -06:00
nathan
93af430e49 Calendar: Include all groups in owner/participant when account selection is not primary group
(and not none)
2023-08-02 08:06:46 -06:00
nathan
74f6bdfebb Calendar: Pre-fill some options in calendar owner/participant when select account preference is "selectbox" 2023-08-02 08:06:46 -06:00
nathan
74562b10d7 Calendar: fix click on event in planner view created a new event 2023-07-28 13:05:41 +02:00
nathan
fa2b84206d Calendar: Force display CSS attribute to deal with egw.getHiddenDimensions causing idden calendars 2023-07-26 09:41:11 -06:00
nathan
d464327074 Calendar: Fix hidden calendars in desktop and mobile view 2023-07-26 09:41:01 -06:00
hadi
2bdc7092f0 Fix commit df1a099078 broke calendar in some browsers 2023-07-26 10:57:13 +02:00
nathan
d6739afe8b Calendar: Fix group calendar could be missing events under some circumstances
Static account options added to CalendarOwner were blocking the group data needed, fixed by using sent options over account options
2023-07-26 09:06:27 +02:00
nathan
ed3e9204ac Calendar: Fix clicking in dayview with multiple users added them all to the new event 2023-07-25 07:42:33 -06:00
nathan
e28191600d Calendar: Stop double add for fast clickers 2023-07-25 07:42:09 -06:00
nathan
cdd15139c2 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-25 07:41:57 -06:00
hadi
df1a099078 Make sure we are not hiding unnecessarily the grid which could lead to grid invisibility in mobile view 2023-07-24 15:14:41 +02:00
hadi
95c2bdb6b4 Fix calendar view no longer works in mobile view 2023-07-24 12:35:17 +02:00
nathan
676ddd952f Calendar: Fix ignoring drag for events
Clicking inside the time was not ignored, causing a drag to be started
2023-07-20 10:34:59 -06:00
nathan
19d0234567 Calendar: Increase drag timeout to avoid confusion between very short drags and clicks 2023-07-20 10:32:50 -06:00
nathan
9b122f513f Revert "Revert "Calendar: Fix moving cursor while clicking did not add an event""
This reverts commit 3339ab947e.
2023-07-20 10:32:08 -06:00
ralf
3339ab947e Revert "Calendar: Fix moving cursor while clicking did not add an event"
Causesing 2 wired side-effects:
- participants for adding events are wrong
- clicking on existing event opens a new event

This reverts commit 2c98cdde04.
2023-07-20 12:08:11 +02:00
nathan
849bdd64eb Calendar: Fix dnd reordering of owners 2023-07-17 10:36:40 -06:00
nathan
e914e6df66 Calendar: Stop conflict dialog from refreshing main view 2023-07-14 13:37:34 -06:00
nathan
38d7a3ca9e Calendar: further adaptations to using openDialog()
Fixes canceling quick add doesn't remove placeholder, invalid event gave no feedback
2023-07-14 09:08:36 +02:00
ralf
4bb5f9f7b2 WIP Mail REST API: fix reported problems with calendar quick add 2023-07-14 09:08:35 +02:00
ralf
e9b054b025 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-14 09:08:35 +02:00
nathan
b35e26a7f3 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-14 09:08:35 +02:00
nathan
2c98cdde04 Calendar: Fix moving cursor while clicking did not add an event 2023-07-11 09:00:43 -06:00
nathan
f1e2a52a5b Calendar: Fix month view did not show overflown event block 2023-07-11 08:59:18 -06:00
nathan
8c03417e37 Calendar: Fix extra timegrids sometimes visible in Firefox 2023-06-28 09:33:02 -06:00
nathan
2798b9dda8 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-23 08:10:05 -06:00
nathan
73ca6ead2f * Calendar: Fix clicking a day in a different month in sidemenu jumped to wrong date 2023-06-12 09:10:43 -06:00
nathan
b8eefe95ba * Calendar: Adding alarms sometimes gave incorrect "can't add alarms in the past" error
Was not sending all values correctly
2023-06-08 10:30:36 -06:00
hadi
c808fbb1ad Fix swipe and popup contextmenu being triggered accidentally in touch devices 2023-06-01 16:29:52 +02:00
nathan
d4112e34d1 Calendar: Fix full day non blocking events could not be dragged 2023-05-29 08:31:09 -06:00
nathan
160933db4f Calendar: Fix drag & drop event to invite / change calendar 2023-05-25 08:09:05 -06:00
nathan
397c42aecc Calendar: Stop double-firing of drop event 2023-05-25 08:08:55 -06:00
nathan
6d96e84df1 Calendar: Fix different template load order could result in missing categories and extra loading 2023-05-15 10:41:55 -06:00
nathan
c8b18d2d1f Calendar: Calendar planner by category optimisation for category loading 2023-05-15 10:41:48 -06:00
nathan
190fc1b819 Calendar: Only check group once per group 2023-05-15 10:41:22 -06:00
nathan
9be2d6ebbc Return null instead of resolved promise to avoid extra calls 2023-05-15 10:41:14 -06:00
nathan
93af3e01a6 Calendar: Fix deferred row update checking too soon due to broken reference 2023-05-15 10:41:05 -06:00
nathan
7bad1b0290 Calendar: Add users & groups (according to preference) to owner options 2023-05-11 14:27:27 -06:00
nathan
ef58242afe 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 14:27:18 -06:00
nathan
c248a79b25 Calendar: Avoid JS error from flatpickr on init (provided an invalid date) 2023-05-02 14:28:24 -06:00
nathan
33ea5483c3 Calendar: More sidebox owner fixes
- another instance of remote class causing problems
- remove duplicates to avoid warning message
2023-04-29 08:49:14 +02:00
nathan
2ea5a41d4f Calendar: Fix second selected owner in sidemenu went missing 2023-04-27 14:05:50 -06:00
nathan
0de4ad22c2 Calendar: Fix category missing from event tooltip 2023-04-27 10:40:46 -06:00
nathan
21293e5332 Calendar: Fix calendars on Home did not load when sidebox was not loaded 2023-04-05 11:43:20 -06:00
nathan
812aa63acb 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-05 11:41:18 -06:00