Commit Graph

1003 Commits

Author SHA1 Message Date
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
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
nathan
3825726152 Calendar: Sidemenu calendar next/last month buttons now jump by 1 month, keeping the same day
Matches toolbox arrow buttons
2022-10-07 10:55:18 -06:00
nathan
086d92e957 Et2Select: All selectboxes now stop scroll event from bubbling to prevent parent (sidemenu) from scrolling too 2022-09-23 10:54:02 -06:00
ralf
8fa65f13f5 fix quick add to show title as required, but allow to click edit without adding it
also no longer fill empty title with "Event", as it does not work and is annoying
thought et2_required class on et2-textbox should NOT affect the parent/table cell
2022-09-23 09:26:39 +02:00
nathan
a18f956533 Calendar: Add participant button is now always visible but disabled until there's a participant to add 2022-09-22 15:29:58 -06:00
nathan
e8e1077ece CalendarOwner: Bind a listener to mousewheel and stop it from bubbling, otherwise scrolling results scrolls the sidemenu 2022-09-21 08:49:47 -06:00
nathan
a0303dd003 Calendar: fix incorrect rendering when switching between single week & multi-week views
egw.getHiddenDimensions() was incorrectly setting display based on title's current style
2022-09-20 16:54:20 -06:00
nathan
1fee91bdd7 Calendar: fix incorrect rendering when switching between single week & multi-week views
It wasn't the specific views, but switching between regular and the consolidated / granularity=0 view.
2022-09-20 15:01:29 -06:00
nathan
662ea62790 Calendar: remove most sidebox date customisations
Now using regular calendar header.  "Go" button and custom header styles removed. Changing the date in sidebox calendar immediately updates state.
2022-09-12 15:35:24 -06:00
nathan
64e2fb7c63 Calendar: Fix recurring events that started outside current view were not updated properly in the current view after creating an exception 2022-09-01 09:03:47 -06:00
nathan
86baaad9d0 Calendar: Fix missing space in date header for week view when 2 months are shown with a d.m.Y format 2022-08-26 16:16:04 -06:00
nathan
924bea48e5 Calendar: Fix some kanban problems
- CalendarOwner webcomponent lacked et2- prefix
- Make sure CalendarOwner TS code is loaded when component is used
- Fix status filter was in changeable fields
- Fix Priority filter was missing options
2022-08-25 10:07:39 -06:00
nathan
81378fe3a5 Calendar: Fix recurring event prompt did not have labels or icons on buttons 2022-08-23 08:54:31 -06:00
nathan
a73fa72764 Calendar: Fix incorrect week view header 2022-08-22 16:03:40 -06:00
nathan
1b32b124c4 Calendar: Changing date using buttons in toolbar did not update sidemenu calendar to match 2022-08-22 15:04:14 -06:00
nathan
3038ebcefd Calendar: Fix inserting event into document using context menu 2022-08-18 15:41:05 -06:00
nathan
4aa8bbeef9 Calendar: Fix weekend toggle hid more than just the weekend
Bad date logic
2022-08-15 08:45:21 -06:00
ralf
8b45483c68 fix not working "use enddate" in edit or quickadd
also fix not displayed month in header and add translation of month or week-day names
2022-08-12 11:38:15 +02:00
ralf
1ab53dec86 fix JS error 2022-08-05 18:59:30 +02:00
ralf
125a8abf61 only call widget.resize() if it's a function:
- web-components do not implement it
- et2-textarea / SlTextarea uses resize as a property name
--> we can postpone the decision, if we need an explicit resize handler for our web-components, or using flex is sufficient, for now
2022-07-29 15:29:51 +02:00
nathan
1a4badfabd Calendar: Fix some webcomponent sidebox / filter issues
- category could not be cleared
- webcomponents did not always reflect state values
2022-07-25 11:11:51 -06:00
nathan
4880a5ae74 Fix adding calendar participants did not give correct values due to missing type indicator 2022-07-22 13:25:38 -06:00
nathan
3e83c5bb1c Only validate that the free entries are email addresses on calendarowner, not every value 2022-07-15 13:31:15 -06:00
nathan
9a40db5e51 Calendar: Fix event category colors 2022-07-12 09:42:48 -06:00
nathan
71d43b125e CalendarOwner: Any free entries must be emails so validator added. 2022-07-07 14:15:00 -06:00
nathan
c6ef3b3a8d Switch calendar owner to web component 2022-07-05 10:18:12 -06:00
nathan
29a46999f8 Calendar: Fix daylight savings time causes extra / missing days in the week 2022-06-07 17:11:02 +02:00
nathan
e0477c1db4 Calendar: Fix sidemenu date does not update when changing year 2022-06-07 17:07:56 +02:00
nathan
0e1aa738eb Calendar: Fix unable to create events by clicking a time 2022-06-03 08:49:34 -06:00
ralf
583ac1c6d6 queue requests for full calendar data
can NOT be backported to 21.1, as jsonq is not returning a promise in 21.1!
2022-06-03 09:59:10 +02:00
Hadi Nategh
73e6cf2570 Replace jquery-ui swipe with tapandswipe 2022-05-30 16:05:59 +02:00