Commit Graph

984 Commits

Author SHA1 Message Date
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
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
ralf
0507872493 using window.fetch() and promises to load holidays 2022-03-09 22:01:01 +02:00
nathan
3c656701f5 Calendar: Fix TypeError: Cannot read properties of null (reading 'getValue')
Thrown when creating a new event via quick add or changing the start date
2022-03-07 13:45:58 -07:00
nathan
0ba0d746da Calendar: Fix planner causes app tabs to show when printing 2022-02-08 11:39:53 -07:00
nathan
c68437c908 Calendar: If we don't have a sidebox to check parent, just accept it
Fixes missing events in group calendars on home
2022-01-18 13:00:25 -07:00
nathan
c9d5eb50db Calendar: Fix double encoded ><& characters in event tooltip description 2022-01-17 09:33:50 -07:00
nathan
55b4b28f29 Calendar: Make sure projectmanager integration (filter) refreshes actual data faster, fix events don't come back when turning integration (filter) off 2022-01-13 13:48:18 -07:00
nathan
d6cca90dbf Calendar: Remove drag to create event placeholder when edit dialog is opened 2021-12-08 13:41:35 -07:00
nathan
4c2e5ba853 Calendar: Remove drag to create event placeholder when popup is closed 2021-12-08 11:58:17 -07:00
nathan
8968ef9204 Fix access to internal (widget.input.focus()) causing JS error in calendar quick add, which breaks the rest of the JS called after 2021-12-08 09:06:59 -07:00
nathan
bff73eb0b6 Calendar: Make sure we don't accidentally double the integrated app in the list 2021-12-01 10:25:27 -07:00
nathan
86c9b97e47 Calendar: Update merge to use changes introduced with 707c57e 2021-11-23 15:50:10 -07:00
nathan
14e1e59d7d Calendar: Sort similar length all day events alphabetically 2021-10-29 09:49:06 -06: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
nathan
c01df39342 * Calendar: Fix changing the recurrence end date did not add/remove the events in the UI 2021-10-15 14:04:18 -06:00
nathan
1d0772a064 * Calendar: Activate links in location & description in event tooltip 2021-08-12 08:57:15 -06:00
Hadi Nategh
052f5f23cc Remove framework object from import statement which would override the actual object 2021-07-07 12:31:11 +02:00
Ralf Becker
71ceb25157 change to egw.json to egw.request to fix sporadic error if other data is send back too 2021-07-07 10:33:12 +02:00
nathangray
0904057714 Solve some calendar issues that were breaking add / edit
- Date widget did not find timepicker.formatTime() when it wanted it
- Faked parent widget was not a good enough fake, added better checking
2021-07-06 11:05:03 -06:00
Ralf Becker
51b0888b5d fix diverse calendar errors #60294
thought not sure how this is supposed to work in 21.1, both look like a general problem
2021-07-06 13:06:32 +02:00
nathangray
451e4792ac Get calendar working with rollup
owner widget was not being loaded
2021-07-05 09:24:37 -06:00
Ralf Becker
0bb8b50a60 added jQuery-touchswipe plugin 2021-07-01 17:26:35 +02:00
Ralf Becker
05405b955a remove generated .js files from git 2021-07-01 08:38:08 +02:00
nathangray
608ab0eb53 Add missing jQuery touchSwipe import 2021-06-30 13:29:11 -06:00
nathangray
3add958afa The results of Guy Bedford's help
Egroupware will load into addressbook & show rows
Most base files should be bundled server-side & included
rollup.config.js controls the process

Still needs work:
- consider /dist directory for best-practice
- cleanup
- other built-in apps
- EPL / external apps need Guy's multi-stage work
2021-06-25 14:49:24 -06:00
nathangray
69aaa14037 Fix so many TS / import errors 2021-06-17 08:30:51 -06:00
Hadi Nategh
3c9e33ab46 Add missing import for egw_action_constants 2021-06-14 15:09:53 +02:00
Hadi Nategh
b4c4606c22 Move all egw_action constants into egw_action_constants 2021-06-14 13:45:57 +02:00
Hadi Nategh
babb0911ce Fix calendar 2021-06-11 13:46:35 +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
Hadi Nategh
bea4b0dcf9 Fix calendar title not being set for scheduled calls and the contacts as participants not being counted 2021-05-17 09:33:42 +02:00
Hadi Nategh
e33280930d Include external participants for video call events 2021-05-06 13:49:23 +02:00
nathangray
321fe6a474 * Calendar: Fix quick-add did not pass changes to start time on to edit dialog 2021-04-16 09:15:13 -06:00
nathangray
05e80af654 * Calendar: Fix missing line breaks in event tooltip 2021-04-13 15:11:50 -06:00
nathangray
026b088dd0 Calendar: Add button to toggle videoconference events
It works by configured category in status app
2021-03-25 14:39:01 -06:00
nathangray
0e35c94051 Calendar: Move sidebox search into toolbar area
Also, correct way to move favorites dropdown into toolbar
2021-03-24 16:16:50 -06:00
Hadi Nategh
abf2cb56e2 Add contextmenu action for calendar VC events in order to access recordings 2021-03-24 17:45:32 +01:00
nathangray
d372f79f82 Calendar: make sure non-infolog integrations get processed correctly 2021-03-24 09:59:43 -06:00
nathangray
c39aafb531 Calendar: Move favorite dropdown from nextmatch header into toolbar 2021-03-18 14:09:53 -06:00
nathangray
231b135b1b Calendar: handle push updates for integrated apps 2021-03-09 16:43:03 -07:00
nathangray
d013249851 Calendar: Fix missing integration icons, add some explanation tooltips to event icons 2021-03-09 11:05:37 -07:00
nathangray
2df67647d8 Calendar: Better refresh when toggling integrated apps 2021-03-09 11:05:37 -07:00
Ralf Becker
558b41f11a using regular egw.open for calls too 2021-03-07 22:27:38 +02:00
nathangray
df54dcace4 Apply client-side push refactoring to calendar, infolog, timesheet 2021-03-04 11:27:35 -07:00
nathangray
061a42ed67 * Calendar: add toggles for integrated app display (infolog, call list) to the calendar toolbar 2021-03-03 08:55:51 -07:00
nathangray
1af9a9b13f Add videoconference link to event notification email 2021-02-25 10:33:34 -07:00
nathangray
7b466aed56 Calendar: Prefer icon from link registry, fall back to app icon if it's not set 2021-02-23 11:44:38 -07:00
nathangray
60a486298c Calendar: Disable convert actions if they don't support integrated app 2021-02-23 11:39:36 -07:00
nathangray
aed4b78dda Calendar: Fix infolog displayed on calendar did not properly convert to timesheet entry 2021-02-23 10:24:57 -07:00
Ralf Becker
cf9e3ae4e1 WIP to display calls in calendar 2021-02-23 00:16:51 +02:00
nathangray
2455b7176d Calendar: Make events nicer for screen readers 2021-02-22 10:02:27 -07:00
nathangray
b43b5119c8 Calendar: Fix update if hidden for more than one user's calendar in week view 2021-02-18 13:45:50 -07:00
nathangray
c42795cc9e Calendar: Fix events that were updated while calendar was not the active tab were misplaced at the beginning of the day 2021-02-10 13:10:28 -07:00
nathangray
8dedc3392f * Calendar: New context menu action to manually [re]send notifications 2021-02-09 13:50:27 -07:00
nathangray
1bbe3aa21b * Calendar: Fix timespan in tooltip was wrong if event had seconds in start or end time 2021-02-01 10:08:14 -07:00
nathangray
d1287887a3 Calendar: When creating a videoconference, send start/end as string with no timezone (usertime), but start/end date can also already be a string 2021-01-21 11:47:50 -07:00
nathangray
0ca3d63f18 Calendar: When creating a videoconference, send start/end as string with no timezone (usertime) 2021-01-21 11:21:33 -07:00
nathangray
d5434d567b * Calendar: Fix videoconference link in event tooltip 2021-01-21 19:04:01 +01:00
nathangray
b911da6eb8 Calendar: Clean up next/previous for yearly planner to always jump by 1 month 2021-01-11 10:23:07 -07:00
Hadi Nategh
f7e10fdc35 Add participants as extra params for videoconference call 2021-01-11 14:19:22 +01: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
Hadi Nategh
487e2413ae Fix broken videoconference join action from tooltip call icon 2020-12-14 14:40:24 +01:00
Hadi Nategh
4472c050d6 Send title along other user context info for calendar scheduled calls 2020-12-09 18:39:32 +01:00
Hadi Nategh
54abea4a4e WIP BBB: Do not let meetings in the past going through 2020-12-02 17:03:00 +01:00
nathangray
c0fc66d51f * Calendar: Fix todo sizing / scrolling 2020-12-01 09:51:04 -07:00
Hadi Nategh
5ebcc62626 Fix start and end time for join videoconference on calendar action 2020-11-24 13:47:22 +01:00
Hadi Nategh
20a7cd6c76 Add start and end time to joinVideoConference call 2020-11-18 15:10:16 +01:00
nathangray
2f40337f81 * Calendar: Fix quick add -> edit would incorrectly set end date 2020-11-09 09:20:56 -07:00
Ralf Becker
ad933b63ae fix egw.preference() is undefined 2020-10-27 15:06:51 +01:00
nathangray
0a180921e4 * Calendar: Fix missing category in event tooltip 2020-10-26 09:04:11 -06:00
nathangray
006bfefbe1 Calendar: Fix current time line sometimes missing in planner view 2020-10-14 13:54:04 -06:00
nathangray
829bcf4602 * Calendar: Current time line now spans all columns in single day view 2020-10-14 13:44:11 -06:00
nathangray
2dc457c007 Calendar: More checks to avoid 0 duration events 2020-10-06 13:55:06 -06:00
nathangray
c883d3ece7 * Calendar: Improve handling of infolog push messages
Todo list now updates directly, other views now filtered by owner/responsible & type before we act
2020-09-22 11:33:41 -06:00
nathangray
a19e97df63 * Calendar: Fix quick add did not open conflict dialog 2020-09-15 10:43:08 -06:00
nathangray
fb10829580 * Calendar: Fix event click and event drag were not properly separated 2020-08-31 09:59:50 -06:00
nathangray
ad7b0a2696 Calendar: Fix resource rows were missing in planner by user 2020-08-06 13:20:25 -06:00
nathangray
3da73f95fb * Calendar: Fix multiple all-day event rendering bug
If you had multiple all day, non-blocking events and switched from month to week view, if your window was small enough, some of them would be hidden.
2020-08-04 13:56:54 -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
10517cb073 Calendar: Fix existing event filtering on push changes
Fixes new events did not show up
2020-07-27 10:13:13 -06:00
nathangray
22c67c6801 Calendar: Fix sidebox_hooked_templates was not cleared correctly 2020-07-20 14:54:15 -06:00
nathangray
406cc7ec8b Calendar: Fix event var got lost when refactoring 2020-07-16 10:04:13 -06:00
Ralf Becker
cc7d1fbe58 fix TypeError undeleting an event in non-list-view eg. dayview 2020-07-16 15:05:45 +02:00
nathangray
42492d8ea5 Calendar: Handle deleting without reload 2020-07-15 15:56:28 -06: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
5a72efe7f7 Deal with data if it came back with something else 2020-07-14 14:13:05 -06:00
nathangray
dc6a8e0977 * Calendar: Push updates 2020-07-14 13:39:45 -06:00
nathangray
29e0514d52 Calendar: Fix vertical resizing on day view todo list 2020-07-10 13:43:02 -06:00
nathangray
7ad8e57d2e * Calendar: Optimize fetching participant names to reduce requests 2020-06-26 13:11:46 -06:00
nathangray
52714f0a63 Etemplate: Check dirty before closing, ask if there are changes 2020-06-19 13:27:41 -06:00
nathangray
aed7914a67 Calendar: Don't keep sort order when setting owner, use what is set 2020-06-05 13:22:13 -06:00
nathangray
4f4aa88da8 Calendar: fix add alarm only added 5 minutes, regardless of what was selected 2020-05-25 11:06:33 -06:00
nathangray
c27522b00f * Calendar: Add line indicating current time 2020-05-21 14:07:29 -06:00
nathangray
49dbd89afb Calendar: Fix bug preventing yearly planner from loading 2020-05-19 09:02:03 -06:00
nathangray
4fb18a658e * Calendar: Do not show Infolog list (Open ToDo's) if user has no access to Infolog, or no Infolog types selected for display 2020-05-07 10:24:22 -06:00