Commit Graph

881 Commits

Author SHA1 Message Date
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
ralf
b87667237f comment out calls to no longer included TouchSwipe plugin 2022-05-29 10:09:07 +02: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
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
Hadi Nategh
a8bcdd88b0 Get rid of jQuery.Color from jquery-ui 2022-05-05 15:55:49 +02: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
nathan
1de2a89eeb Fix calendar events off by 1 minute 2022-05-02 14:10:59 -06:00
nathan
8ef591279d - Don't highlight birthdays in date picker (calendar & regular) though tooltip remains
- Un-highlight weeks when mouse moves off week number
2022-05-02 13:46:55 -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
b44f4ea30d Move holidays to its own file, show holidays in all date selection calendars 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
f5619e52c8 Calendar: Sidemenu calendar CSS adjustments
- smaller font size
- better sizing for header
- re-align header contents to match jQueryUI version
2022-04-28 15:46:39 -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
ralf
801398e69b fix TypeError undefined function date 2022-03-09 22:01:55 +02:00