Commit Graph

34 Commits

Author SHA1 Message Date
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
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
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
97a874342f Return null instead of resolved promise to avoid extra calls 2023-05-11 13:41:04 -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
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
14cedcea1a Calendar: Fix "now" line in planner view took a minute to show up 2023-03-30 09:24:32 -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
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
0117c4bde3 Move client-side holidays cache to MODULE_GLOBAL egw.holidays(year) 2023-02-27 15:15:36 -07: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
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
12d2a65466 Swap jQueryUI for interact.js for resizing events in planner view 2022-05-24 16:52:16 -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
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
ralf
0507872493 using window.fetch() and promises to load holidays 2022-03-09 22:01:01 +02:00
nathan
0ba0d746da Calendar: Fix planner causes app tabs to show when printing 2022-02-08 11:39:53 -07:00
nathan
2343bd62b7 Calendar: fix planner view wasn't working due to rollup issues
et2_calendar_owner was throwing errors due to being loaded twice
et2_calendar_planner was left out of the bundle
view updaters were not being called
2021-10-19 16:32:54 -06:00
Hadi Nategh
3c9e33ab46 Add missing import for egw_action_constants 2021-06-14 15:09:53 +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
963158f94a * Calendar: Fix bug where yearly planner would not show events that went outside the displayed time period 2021-01-06 10:30:15 -07:00
nathangray
006bfefbe1 Calendar: Fix current time line sometimes missing in planner view 2020-10-14 13:54:04 -06:00
nathangray
ad7b0a2696 Calendar: Fix resource rows were missing in planner by user 2020-08-06 13:20:25 -06:00
nathangray
9b77a5a1af Calendar: Fix favorite with planner by user and a group could not find group members
It would then display one row for the group, instead of one row per group member.  Did not happen if you had viewed the calendar for the group in another view, or group was selected when calendar opened.
2020-08-03 16:42:31 -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
1cbbfbd9a5 Calendar: Fix push bugs
- Change status from edit dialog did not push
- Change participants from edit dialog did not update planner by user correctly, sometimes not added, sometimes not removed
2020-07-15 13:32:20 -06: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