Commit Graph

3203 Commits

Author SHA1 Message Date
nathan
6b4a1316d2 Calendar: Attempt to avoid error when accepting external invitation
calendar_uiforms::event_changed(): Argument #2 ($_old) must be of type
array, bool given, called in
/var/www/epl-23.1/calendar/inc/class.calendar_uiforms.inc.php on line 2295
2023-10-11 11:50:57 -06:00
ralf
b6a0e650fe * Calendar/REST API: adding of participants to events 2023-09-18 14:13:25 +02:00
ralf
310a4c9c9a fix error: count(): Argument #1 ($value) must be of type Countable 2023-09-11 08:09:24 +02:00
ralf
c3c458b0e6 fix Error: Class "Accounts" not found 2023-08-24 16:43:04 +02:00
ralf
35b0216687 * Calendar/CalDAV: Thunderbird and CalDAVSynchronizer: update only participant data, instead of failing when the event was changed 2023-08-10 15:11:48 +02:00
ralf
d72e76f244 * Calendar/CalDAV: download of whole calendar as ics with a GET request on the collection and download GET parameter gave an empty file 2023-08-09 14:57:40 +02:00
nathan
ad2096866e Can't use Framework::ajax_user_list(), it sends its data which conflicts with export wizard 2023-08-04 14:45:56 -06:00
nathan
780f16702f * Calendar: Change how participant emails are shown
Sidebox: emails are shown on hover
Edit dialog: emails are shown in search results
Week headers: emails are no longer shown

To support this, now sending account options from server instead of pulling from user list
2023-08-01 15:53:58 -06:00
ralf
d534623d73 fix timezone problem/shift for CalDAV introduces by REST API changes
only matters if EGroupware server-timezone is different from the user-timezone
2023-07-28 14:23:18 +02:00
ralf
b013f75eef * Calendar: new REST API to read, create, modify and delete events, see https://github.com/EGroupware/egroupware/blob/master/doc/REST-CalDAV-CardDAV/Calendar.md 2023-07-24 17:08:18 +02:00
ralf
7e333ceac9 WIP Calendar REST API 2023-07-21 17:41:37 +02:00
nathan
5b621ffcba Get rid of a bunch more warnings 2023-07-14 10:52:05 -06:00
nathan
4a7e5824c3 Calendar: further adaptations to using openDialog()
Fixes canceling quick add doesn't remove placeholder, invalid event gave no feedback
2023-07-13 16:29:14 -06:00
ralf
3e27def4f9 WIP Mail REST API: change calendar to use new egw.openDialog():
- renamed app.dialogExec() to app.openDialog() or egw.openDialog()
- the later is the nicer place, but fails for lost window context with popups :(
2023-07-13 15:22:21 +02:00
nathan
a57e02c77f Calendar: Fix creating links for addressbook contacts 2023-07-11 15:17:37 -06:00
nathan
822507d341 Calendar: Fix 'None' category option was not translated 2023-07-11 09:09:12 -06:00
nathan
e9038d2f34 * Calendar: Added category filter for events without a category set 2023-07-10 15:58:04 -06:00
ralf
a98b895179 fix TypeError: Cannot access offset of type string on string 2023-06-15 16:15:23 +02:00
ralf
d1aa65a662 * Calendar: fix external organizer was not notified by mail (and other missing notifications of non-users)
caused by the check being done with email addresse while the uid used as key in participants is NOT the email address
2023-06-15 14:13:55 +02:00
ralf
ae12634639 fix TypeError: str_contains(): Argument #1 ($haystack) must be of type string, array given 2023-06-15 11:25:34 +02:00
nathan
67a1b107a7 Calendar: Fix missing translation in import filter 2023-06-14 13:53:41 -06:00
nathan
37bfeeaa16 Calendar: Fix mail -> event does not have user as new alarm option 2023-06-14 10:03:39 -06:00
ralf
608963aa9b fix lots of warnings filling zpush logs 2023-06-09 18:28:57 +02:00
ralf
3980eb01a6 fix changing attendee status moves event due missing timezone conversation
The changed status itself is NOT send back to server, therefore it is NOT changed in EGroupware!
2023-06-09 14:05:44 +02:00
nathan
efd073c4c2 Calendar: History tab showed start / end times in server time, not user time 2023-06-06 14:41:01 -06:00
nathan
2d7e267c4b Calendar: Deleting an event sometimes left other user's alarms
Do not need to pay attention to the ACL of the alarm when the whole event is deleted
2023-06-06 11:59:43 -06:00
ralf
18c3ed19f4 * eSync: fix meeting requests confirmed via ActiveSync protocol got wrong time
if user- and server-timezone was different
2023-06-06 11:01:40 +02:00
nathan
2b61bf0303 Calendar: Fix full day non blocking events could not be dragged 2023-05-25 13:41:33 -06:00
nathan
c3d961adbe Calendar: Fix import/export timezone preference had no options 2023-05-16 11:28:08 -06:00
hadi
2b051dac98 * Mobile theme: Fix calendar header toolbars are no more visible 2023-05-16 12:09:48 +02:00
ralf
2f4daa5d39 * CalDAV/Calendar: fix group invitations were not shown on devices unless explicit accepted 2023-05-10 14:15:43 +02:00
nathan
9ad9305844 Calendar: fix email addresses in calendar owner label for accounts 2023-05-03 14:58:16 -06:00
nathan
aaa8a4a3f9 Calendar: fix occasional 502 error on first login after restart 2023-05-03 14:36:22 -06:00
nathan
9033299d76 * Calendar: Put email address after user or contact
See ticket #80674
2023-05-02 10:58:23 -06:00
nathan
d70562e0be Calendar: Avoid Undefined warning 2023-04-27 07:59:44 -06:00
nathan
1b632b8649 Calendar: Fix events not shown when showing calendar of a resource category 2023-04-26 08:18:27 -06:00
ralf
3c7650aaab * Calendar/CalDAV: fix recurring events with users only added to an exception and have been deleted or rejected after 2023-04-25 15:14:01 +02:00
nathan
da68b83a07 Calendar: When moving an event reset status of non-users according to event owner's preference instead of always resetting 2023-04-19 11:00:35 -06:00
nathan
ba46b48206 Calendar: Fix error shown after importing ical
"substr(): Argument #1 ($string) must be of type string, array given"
2023-04-14 10:45:19 -06:00
ralf
ccd6acd606 * Calendar/CalDAV: set current user as owner for events created in resource calendar 2023-04-05 16:08:36 +02:00
nathan
48c589f5fd Calendar: Fix missing owner resource icons on initial load 2023-03-24 13:15:23 -06:00
nathan
0b5daa0fb6 Calendar: Fix group invitations were left out of "not rejected" filter 2023-03-24 09:16:06 -06:00
ralf
cba93ad4ce fix some typos or ancient syntax 2023-03-07 08:19:15 +01:00
nathan
1538496df1 Home WIP: Get calendar working 2023-03-06 14:47:48 -07:00
ralf
c3e53c9d86 replaced ProfindIterator now in Calendar and InfoLog too with a generator 2023-02-15 19:50:44 +01:00
ralf
27bd803e84 fix empty collection in PROPFIND/REPORT after last commit caused by creating a reference / NULL value in filter for path-attr/caldav_name 2023-02-15 08:45:28 +01:00
ralf
5e0fd45173 fix found URL in multiget REPORT where reported as NOT found too, if number of URLs exceeds chunk-size of 500 2023-02-13 23:16:43 +01:00
nathan
eb416c3d91 Calendar: Include current user as explicit select option for import target 2023-02-06 16:38:33 -07:00
nathan
95a4b319bb Calendar: Fix bug in iCal import that gave bad calendar owner value 2023-02-06 16:23:39 -07:00
nathan
e575c40ff3 Some missed cases where client-side lavatar was not used 2023-01-30 15:26:09 -07:00
ralf
0eff86f61a fix SQL-backends of accounts and contacts to return either avatar-url or initials 2023-01-30 15:48:53 +01:00
nathan
c7020c79d8 Calendar: Allow calendar integration to specify a caption, not just use app name 2023-01-24 16:11:49 -07:00
nathan
48008f4e96 Add ability to choose target calendar & addressbook when importing ical/vcard 2023-01-19 15:48:35 -07:00
nathan
8a43d88ffe Calendar: Add ability to choose target calendar when importing 2023-01-16 15:31:59 -07:00
nathan
4e875c049f Calendar: Category ACL fixes
- Stop using iframe
- Columns get more width, spreading across the whole page
- Remove "both" option
2023-01-12 15:20:13 -07:00
nathan
a1da1a6fa6 Calendar: Fix user listed in participants twice when creating an event from an email 2022-12-23 10:45:53 -07:00
nathan
05a4fc2758 Fix missing / doubled calendar owners in sidemenu 2022-12-08 14:26:53 -07:00
nathan
b129a46e3c Calendar: If an event went from recurring to non-recurring, recurring events could still be displayed 2022-11-25 09:24:04 -07:00
ralf
b2e0e176a5 fix PHP 8.x TypeError: array_filter(): Argument #1 ($array) must be of type array, null given 2022-11-24 10:06:14 +01:00
nathan
543fa93c9b calendar: avoid error during CSV import if start or end dates were not able to be parsed 2022-11-21 11:27:11 -07:00
nathan
953166b161 Fix problems with links from mail
- unsaved links were not properly displayed
- unsaved links could not be removed
- calendar preserved original links, so even if you removed one it came back
2022-11-01 15:38:58 -06:00
nathan
0596cb501b Calendar: Show "# more" if there were results not returned 2022-10-21 11:31:56 -06:00
nathan
19bae0054a Calendar: Fix notification messages were no longer multi-line textboxes 2022-10-18 13:30:22 -06:00
nathan
d1d3e2a024 Calendar: Avoid error in link_title if participants is not an array 2022-10-18 11:49:36 -06:00
nathan
37cd32e3ef Calendar: Hide actions selectbox entirely when it is readonly 2022-10-13 09:51:30 -06:00
ralf
65c1233ced WIP timesheet timer: allow to start timer as alternative to add a timesheet directly
timesheet will be added on stopping the timer
2022-10-09 15:30:46 +02:00
nathan
7e25d8fdda if user selection is switched to "no user selection at all", do not include users in calendar owner search results 2022-09-26 13:47:59 -06:00
Hadi Nategh
628dd56b87 Fix today action not being displayed in mobile view 2022-09-23 11:32:15 +02:00
ralf
34580f4900 put notify external titels into the label too and move the line below adding participants
also some alignment fixes to look nicer
2022-09-23 09:06:29 +02:00
ralf
fb8f54ec02 * Mail/Calendar: fix applying a participant reply as organizer overwrote event with data send by the participant (not just his status) 2022-09-16 11:22:26 +02:00
Кirils Sоlovjоvs
6727f72185 Update class.calendar_groupdav.inc.php 2022-09-13 21:11:47 +02: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
f1cba99aa9 Importexport: Some CSS improvements, avoid an error in import iCal 2022-09-08 14:25:07 -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
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
3038ebcefd Calendar: Fix inserting event into document using context menu 2022-08-18 15:41:05 -06:00
ralf
90cb916d32 fix PHP Fatal error: Declaration of calendar_owner_etemplate_widget::ajax_search($search_text, $search_options = []) must be compatible with EGroupware\Api\Etemplate\Widget\Taglist::ajax_search($search_text = null, array $search_options = []) 2022-08-09 15:42:12 +02:00
ralf
737311d829 fix lost owner 2022-07-26 17:37:13 +02:00
ralf
6afd07da03 * Calendar/Mail: allow every participant to apply changes from extern organizer and warn if sender is not identical to iCal organizer or participant 2022-07-26 14:13:31 +02: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
173eb4e110 Calendar: Fix all-day events in a different timezone could slide by a day
Ex: 1977-04-29 created in CET (+1) on a server in UTC would change to the 28th after a few years (1980)
Fixed by staying in server timezone for the recurrence calculations.
2022-06-08 07:57:36 -06:00
ralf
8db07c9a34 allow to use $skip_notify="NOPUSH" for calendar_bo::(update|set_status|update_status|delete) to NOT send push updates
this can and should be used for massive calendar updates to avoid a hugh wave of push messages and responses from clients/browsers to request full calendar data (which is not pushed)
2022-06-03 09:57:33 +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
ralf
a74bd82dde next chunk of fixed PHP Warning: Undefined array key or variable in main repo 2022-04-26 21:04:16 +02:00
ralf
d92c5a94a6 fix PHP 8.1 Deprecated by adding return type declarations 2022-04-24 18:15:47 +02:00
nathan
5f997299e5 * Calendar: New preference so default alarm can be for current user or all participants 2022-03-10 11:01:18 -07:00
nathan
0eaae8e5f1 Calendar: Set new ID to fix missing links to CF fields on new events 2022-03-07 10:15:50 -07:00
Ralf Becker
3c5bea23ef * Calendar/CalDAV: ignore Outlook CalDAV Synchronizer setting participant status back to unknown/needs-action (other status will be updated) 2022-02-09 14:19:57 +02:00
nathan
410f882cb7 Calendar: Fix status notification sometimes had wrong user in $$fullname$$ placeholder 2022-01-18 14:26:08 -07:00
Hadi Nategh
dd8140397a Fix error Argument #2 must be of type array, null given 2022-01-14 14:02:56 +01:00
nathan
f6a7a63feb Calendar: Avoid error if $userid is not numeric 2021-12-15 14:50:43 -07:00
Hadi Nategh
d2cd36656a Fix error Unsupported operand types: int + stringPHP 2021-12-13 10:43:00 +01:00
Hadi Nategh
85de53b2eb Fix calendar category report throws error "Undefined constant active" 2021-12-13 10:07:39 +01:00
nathan
bf2482104a Calendar: Add notification placeholders $$date$$ and $$fullname$$ to preference help hover 2021-12-08 11:10:39 -07:00
nathan
4c3c28a05f Calendar: Fix missing notification placeholders $$date$$ and $$fullname$$ 2021-12-08 10:59:18 -07:00
Ralf Becker
057c5bf6f7 fix PHP 8.0 TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given 2021-12-07 08:33:12 +02:00
Ralf Becker
c10ca6fc5b fix PHP 7.3 syntax error / PHP 7.4 syntax, as 21.1 still supported PHP 7.3 2021-12-02 21:41:13 +02:00
nathan
26595b4cba * Projectmanager: Add calendar integration so projects can be shown as events in calendar 2021-12-01 10:32:32 -07:00
nathan
ceb014200f Calendar: If an event moves from the past to the future, send notifications according to preferences
Previously we ignored all notifications, because the event _was_ in the past.
2021-11-24 09:23:07 -07:00