Commit Graph

44 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
3b8b902194 Calendar: Fix drag and drop across weeks
Couldn't drop an event from one week to another
2023-03-22 14:23:28 -06:00
nathan
62f084231b Home WIP: Get calendar working 2023-03-10 14:54:12 -07:00
nathan
c3ea140b5a Home: WIP home now shows stuff again 2023-03-10 14:52:33 -07:00
nathan
b2c4b09b4a Revert "Home: WIP home now shows stuff again" committed to wrong branch
This reverts commit 33058c4744.
2023-03-03 15:09:53 -07:00
nathan
33058c4744 Home: WIP home now shows stuff again 2023-03-03 13:36:50 -07:00
nathan
71f4a93d56 Calendar: Fix drag and drop to move event in Firefox 2023-01-25 11:26:25 -07: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
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
29a46999f8 Calendar: Fix daylight savings time causes extra / missing days in the week 2022-06-07 17:11:02 +02:00
nathan
0e1aa738eb Calendar: Fix unable to create events by clicking a time 2022-06-03 08:49:34 -06:00
nathan
af34ab9f8c I think thats all the drag / resize stuff and a few other bugs too 2022-05-25 16:09:25 -06:00
nathan
ece3813459 Remove jQueryUI for moving events in timegrid view 2022-05-24 14:53:49 -06:00
nathan
526c549788 Swap jQueryUI for interact.js for resizing events in timegrid view
(not planner)
2022-05-24 14:53:49 -06:00
nathan
b0a57a05fd Calendar refactors:
- Remove some more jQueryUI.datepicker usages
2022-05-02 15:23:03 -06: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
046599af2f Calendar: Switch from et2_dialog to Et2Dialog 2022-03-18 13:59:45 -06:00
Hadi Nategh
b4c4606c22 Move all egw_action constants into egw_action_constants 2021-06-14 13:45:57 +02:00
Ralf Becker
4752331427 fixed all errors in calendar, thought it's still not ok
also fixed a couple of errors in egw_action
2021-06-11 11:31:06 +02:00
Hadi Nategh
54fff9739a Add more missing import statements 2021-06-10 15:40:49 +02:00
nathangray
829bcf4602 * Calendar: Current time line now spans all columns in single day view 2020-10-14 13:44:11 -06:00
nathangray
fb10829580 * Calendar: Fix event click and event drag were not properly separated 2020-08-31 09:59:50 -06:00
nathangray
5379a0c924 Home using non-global EgwApp instances for portlets 2020-07-30 13:00:53 -06:00
nathangray
e3889fb5d6 Calendar: Fix week view's now line jumped to wrong day for some timezones 2020-07-29 15:23:37 -10:00
nathangray
c27522b00f * Calendar: Add line indicating current time 2020-05-21 14:07:29 -06:00
nathangray
e68071a073 WIP Calendar to typescript 2020-02-27 11:44:34 -07:00