Commit Graph

946 Commits

Author SHA1 Message Date
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
nathangray
d9b07b6ae4 Missing translations from Stefan Unverricht 2020-05-06 14:07:01 -06:00
nathangray
df5f5a0ff4 Calendar: Fix some client side filter bugs
- Resources could cause error for some owner checks
2020-05-06 11:31:54 -06:00
nathangray
4d6a2cf1b1 Calendar: Fix some client side filter bugs
- Resources that weren't the first selected were not displayed properly
- Selecting a group via ajax under certain conditions would not display its events
2020-05-06 11:00:47 -06:00
nathangray
3de7d34844 Calendar: When videoconference is checked, check for 5 minute alarm for all to avoid adding more than one 2020-05-04 15:03:03 -06:00
nathangray
878dc659b1 * Calendar: Add clickable link to videoconference in event tooltip 2020-04-24 10:54:08 -06:00
nathangray
901f9f0b50 * Calendar: Add videoconference icon to event tooltip 2020-04-23 14:57:51 -06:00
nathangray
c72bd74884 Calendar: fix 'owner too' filter did not show when displaying a group and the event was owned by a group member who was not participating 2020-04-23 14:15:08 -06:00
nathangray
a15a7dd6a8 Calendar: Even faster initial loading by not triggering the user list at all 2020-04-22 16:37:43 -06:00
nathangray
09275367c0 * Calendar: disable some owner/participant pre-loading for faster initial open
We no longer send the accounts or owngroups to pre-fill the owner / participant options.   Accounts are pulled from the client-side cache, groups are now always via ajax like other resources
2020-04-22 13:09:14 -06:00
nathangray
04bf5580c8 * Calendar: Fix events later in the day would not show if one was filtered out 2020-04-20 12:00:59 -06:00
nathangray
840f195288 * Calendar: Fix conflict popup opened with an error 2020-04-08 14:13:07 -06:00
Hadi Nategh
ed4884655f Fix videoconference actions 2020-04-08 20:43:47 +02:00
Hadi Nategh
c755f005c0 Add join videoconference action 2020-04-08 19:55:18 +02:00
Ralf Becker
1c135b2da3 some fixes around videoconference avatars and adding an automatic alarm 5min before the conference 2020-04-07 11:10:49 +02:00
nathangray
16c831ddc3 Calendar: Fix videoconference flag was not passed from quick add to edit dialog 2020-04-03 10:59:53 -06:00
nathangray
d9ecc966bb Fix client-side event status filter 'owner too' so group calendar shows events when a group member is an owner 2020-03-31 10:14:41 -06:00
nathangray
1da1cb7b99 Fix legacy options not being read for some widgets 2020-03-30 10:28:48 -06:00
nathangray
34ec346821 Fix favourites (& probably some more inherited stuff) broken by TypeScript conversion
Note that any properties declared in a sub-class aren't generally available until after the super() call is done, i.e. in the super constructor they're undefined.
2020-03-20 11:38:38 -06:00
nathangray
a2d9e8cae0 Calendar: Fix cdbfcb391 broke planner view 2020-03-18 10:15:22 -06:00
nathangray
cdbfcb391c Calendar: Fix some cases where a changed participant status would not remove the event when it should 2020-03-12 09:19:12 -06:00
Hadi Nategh
0cc7ce12d0 merge master 2020-03-05 14:45:25 +01:00
Hadi Nategh
b6374c833e Add missing js files in calendar 2020-03-05 13:21:02 +01:00
Ralf Becker
65294a3e19 fix error on window closing in Chrome 80+
caused by Chrome 80+ no longer allowing to send a synchronious ajax request from beforeunload handler, using sendBeacon (async request with keepalive=true) instead
2020-03-02 10:43:19 +01:00
nathangray
08b6cce51d Calendar to TS working 2020-02-27 13:37:36 -07:00
nathangray
e68071a073 WIP Calendar to typescript 2020-02-27 11:44:34 -07:00
nathangray
01da1c3bd4 Calendar: Make sure search from sidebox doesn't come back in list view after being cleared 2019-11-25 15:47:02 -07:00
nathangray
f59f6bbc3f Calendar: Fix favorites with accounts not in primary group only show ID in sidebox owner 2019-11-19 15:56:12 -07:00
nathangray
6d00d548a8 * Calendar: Fix selecting a group in planner by user view did not always load group members 2019-10-29 10:57:01 -06:00
nathangray
7f6b3dab18 Calendar: Keep passed links through quick add -> edit 2019-09-25 11:30:16 -06:00
nathangray
e83ad2cf5a Calendar: Make sure owner is sent as an array for proper processing of default_participant preference 2019-09-23 09:49:10 -06:00
nathangray
b7eb1f866b Calendar: Add owner to values passed from quick add to edit dialog.
This fixes a bug where if multiple accounts were viewed as separate calendars, all accounts were added as participants when Quick add -> Edit was used on a single calendar
2019-09-20 09:47:51 -06:00
nathangray
6cbf065f7a Calendar - Different way to get participants for quick add -> edit 2019-09-16 11:46:10 -06:00
nathangray
47cde432ef * Calendar - Fix quick add lost additional participants 2019-09-16 10:46:35 -06:00
nathangray
9cbc941c8d Calendar - fix side calendar's Today button positioning 2019-08-20 13:54:51 -06:00
nathangray
afdee4b2eb Calendar - Fix js error reading holiday event preference 2019-06-19 09:19:01 -06:00
nathangray
cd76cccf8b *Calendar - Quick add dialog now shows conflict warning instead of quietly stopping 2019-06-17 10:24:47 -06:00
nathangray
d095241a55 Make sure week labels with unknown users get updated when the names come back from the server 2019-05-02 11:20:38 -06:00
Hadi Nategh
bb16d47c7c Let single day view gets updated while printing 2019-04-16 10:51:51 +02:00