Etar-Group / Etar-Calendar

Android open source calendar
https://f-droid.org/packages/ws.xsoh.etar/
GNU General Public License v3.0
2.05k stars 393 forks source link

Editing events created by Evolution Calendar destroys custom "run a program" alarm. #1090

Open mstyp opened 2 years ago

mstyp commented 2 years ago

Evolution Calendar has a handy feature that lets you run programs as reminders. So say you have a "wakeup" calendar event, in addition to getting a notification, you can have the calendar run a custum "wakeup" bash script.

However, when I use etar to edit that event, etar overides that property when the changes sync back over (it does not matter how changes are synced, tested with multiple methods decsync, DAVx5, and even simply uploading an isc file and changing it, then exporting an isc file)

Iwould expect this if I had changed / added / deleted a notification for event in etar, but this happens whenever I change the name, descritption, or most importantly if i change when the event starts/ ends. it functionally means that if I want to change the time when a script fires I have to either go sit down at my computer, or open the event in the webgui of nextcloud (slow AF), when the whole point of this neat feature is that it makes it way easier way to schedule /reschedual scripts (cuz cron sucks).

the relevent isc lines seem to be:

BEGIN:VALARM
X-EVOLUTION-ALARM-UID:[random bunch of letters]
TRIGGER;RELATED=START:PT0S
ACTION:PROCEDURE
ATTACH:/home/user/wakeup
X-LIC-ERROR;X-LIC-ERRORTYPE=VALUE-PARSE-ERROR:No value for DESCRIPTION 
 property. Removing entire property:
END:VALARM

when I edit the event in etar though, the related isc file gets changed, and the script will not launch in evolution. the new event now shows trhe following in the isc file:

BEGIN:VALARM
TRIGGER:PT0S
ACTION:DISPLAY
DESCRIPTION:[changes to name of event]
X-EVOLUTION-ALARM-UID:[this changes to a different random bunch of letters]
END:VALARM

It turns into a normal notification. I would like it if I could use etar to edit events without having it screw with this awesome feature evoliution has. When I change event start times in nextcloud or in thunderbird, there is no issue so Iam assuming the issue is with etar.

image below shows gui associated with running a program in evolution.

scrnsht

mstyp commented 2 years ago

Hello. Any updates on this bug? Its preventing me from editing fully half of the events on my tablet.