Commit Graph

123 Commits

Author SHA1 Message Date
nathan
1d2a2afc76 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 08:43:55 -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
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
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
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
a0d044a4c1 Calendar: Potential further optimisation, no need for async 2023-05-17 11:05:14 -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
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
9eecc9218f Calendar: Fix calendars on Home did not load when sidebox was not loaded 2023-04-04 13:16:35 -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
74f0822494 Calendar: Fix end date did not hide when using an event duration 2023-02-24 12:00:08 -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
e2b833de67 Calendar: Allow any value for minutes, lets full day events end at 23:59 2022-10-20 15:30:32 -06:00
nathan
173c8891bd Calendar: fix missing dialog translations 2022-10-13 09:06:13 -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
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
3038ebcefd Calendar: Fix inserting event into document using context menu 2022-08-18 15:41:05 -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
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
c6ef3b3a8d Switch calendar owner to web component 2022-07-05 10:18:12 -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
ralf
b87667237f comment out calls to no longer included TouchSwipe plugin 2022-05-29 10:09:07 +02:00
nathan
526c549788 Swap jQueryUI for interact.js for resizing events in timegrid view
(not planner)
2022-05-24 14:53:49 -06:00
Hadi Nategh
2442e80cea Make sorting enable if we are in 4days view and view is not consolidated 2022-05-05 10:34:35 +02:00
Hadi Nategh
2d656802b5 Replce jqueryui sortable used in calendar with Sortablejs 2022-05-04 16:37:53 +02:00
nathan
b0a57a05fd Calendar refactors:
- Remove some more jQueryUI.datepicker usages
2022-05-02 15:23:03 -06:00
ralf
e4c2432f4c replace jQuery.ui.keyCode.X with EGW_KEY_X 2022-04-30 10:33:07 +02:00
nathan
813cd6924e Calendar refactors:
- date_helper, which was an et2_date_widget, now just a function that can handle all the different date formats in calendar
 - holiday fetch & cache moved into its own file, useable from anywhere
2022-04-29 14:37:52 -06:00
nathan
991a53c5d6 Calendar: Fix holidays in sidemenu calendar off by 1 day 2022-04-29 09:14:51 -06:00
nathan
1c42668a97 Change sidebox calendar from jQuery to webcomponent / flatpickr 2022-04-26 15:27:49 -06:00
nathan
43f7a3b649 Calendar: Fix calendar tab could not be closed
Uncaught ReferenceError: egw_unregisterGlobalShortcut is not defined
2022-04-22 11:01:31 -06:00
nathan
2755d19d2f Calendar: Fix planner by user only showed one user
Fixed a few other planner bugs too:
- Not all properties were being set (owner, group_by, show_weekend)
- header was incorrectly sized
2022-04-12 11:25:33 -06:00
nathan
db44e0b754 Calendar: Quick add improvements
- Set slot attribute to make sure dialog adopts the preference checkbox too
- Make sure template winds up alone in the dialog (remove default content)
2022-03-24 11:24:00 -06:00
nathan
046599af2f Calendar: Switch from et2_dialog to Et2Dialog 2022-03-18 13:59:45 -06:00