Page 7 of 19

Re: Toon app: Kalender

Posted: Wed Dec 19, 2018 8:50 am
by Toonz
Templar wrote:It handles the launch calendar okay but the birthday calendar just like before.
can you send me your birthday calendar?

Re: Toon app: Kalender

Posted: Wed Dec 19, 2018 8:53 am
by Toonz
Toonz wrote:
mAiden wrote:App works ok with the stabdard calender in it. But when a add my own in it, it's goes wrong.
can you email me your ics file for debugging?
Just checking: had you installed the calender app manually on your Toon before installing 1.1.0?
Is it working ok after full removal ('opkg remove calendar' and removal of all calender* folders from the apps folder) plus installation of 1.1.0 again?

Re: Toon app: Kalender

Posted: Wed Dec 19, 2018 9:00 pm
by mAiden
Toonz wrote:
Toonz wrote:
mAiden wrote:App works ok with the stabdard calender in it. But when a add my own in it, it's goes wrong.
can you email me your ics file for debugging?
Just checking: had you installed the calender app manually on your Toon before installing 1.1.0?
Is it working ok after full removal ('opkg remove calendar' and removal of all calender* folders from the apps folder) plus installation of 1.1.0 again?
I will mail you my ics file for debugging Toonz.

I do the following

First:

Remove Calendar with opkg remove calendar and search with WinSCP on Calendar, for the not removing files. Give me this result

Putty:
Screenshot_3.png
Screenshot_3.png (15.93 KiB) Viewed 6479 times
WinSCP:
Screenshot_1.png
Screenshot_1.png (16.24 KiB) Viewed 6479 times
This one looks good, so give Toon a restart of the qt-gui with: killall qt-gui
When Toon is back online, i install last version of the Calendar with: opkg install url-to-last-version-of-Calendar

Putty install Calendar:
Screenshot_2.png
Screenshot_2.png (38.57 KiB) Viewed 6479 times
So i did also now a qt-gui restart, because Toonstore does this too.
I first checked if the config was loaded correctly.

Config file:

Code: Select all

{"ShowNotifications":"Yes","Calendar_URL":["https://calendar.google.com/calendar/ical/nl.dutch%23holiday%40group.v.calendar.google.com/public/basic.ics"]}
So here it goes wrong, but I would not know where it would take that backup. As you can see, WinSCP does not find anything at all anymore.

Sorry for the long story, but just wanted to explain how I removed it and how I installed it again.

Re: Toon app: Kalender

Posted: Wed Dec 19, 2018 9:07 pm
by mAiden
Remove userSettings.json, now i got the correct one.
So the default calander works perfectly, so i load my own in it:

Code: Select all

{"Calendar_URL":["https://calendar.google.com/calendar/ical/nl.dutch%23holiday%40group.v.calendar.google.com/public/basic.ics" , "https://calendar.google.com/calendar/ical/dxxxxxxxxxx%40gmail.com/private-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/basic.ics"],"ShowColors":"Yes","ShowNotifications":"No"}

Re: Toon app: Kalender

Posted: Wed Dec 19, 2018 9:10 pm
by Toonz
The config is written by the installer if no one exists...
I will look into your log tomorrow when I am back home.

Re: Toon app: Kalender

Posted: Sun Dec 23, 2018 6:30 pm
by Templar
Toonz wrote:
Templar wrote:It handles the launch calendar okay but the birthday calendar just like before.
can you send me your birthday calendar?
It's working now in Calendar version 1.1.0, using this format, still have to use DTEND though:

Code: Select all

BEGIN:VEVENT
DTEND;VALUE=DATE:YYYYMMDD
DTSTAMP:YYYMMDDTHHMMSSZ
DTSTART;VALUE=DATE:YYYYMMDD
RRULE:FREQ=YEARLY
SUMMARY:Birthday John Doe
UID:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx
END:VEVENT
Is it possible to add the year or age for recurring events like anniversaries in stead of the (*) sign?

Re: Toon app: Kalender

Posted: Sun Dec 23, 2018 8:24 pm
by Toonz
Templar wrote: Is it possible to add the year or age for recurring events like anniversaries in stead of the (*) sign?
That's a good suggestion, it will be something like (j), (m), (w), (d) or so instead of (*). Will also do further tests with your calendar.

Re: Toon app: Kalender

Posted: Sun Dec 23, 2018 11:03 pm
by Templar
Toonz wrote:......Will also do further tests with your calendar.
You mean trying to ditch the DTEND;VALUE=DATE:YYYYMMDD line?

Re: Toon app: Kalender

Posted: Mon Dec 24, 2018 1:58 am
by Toonz
Templar wrote:
Toonz wrote:......Will also do further tests with your calendar.
You mean trying to ditch the DTEND;VALUE=DATE:YYYYMMDD line?
Yep :D

Re: Toon app: Kalender

Posted: Mon Dec 24, 2018 10:58 am
by Templar
Templar wrote:
Toonz wrote:
Templar wrote:It handles the launch calendar okay but the birthday calendar just like before.
can you send me your birthday calendar?
It's working now in Calendar version 1.1.0, using this format, still have to use DTEND though:

Code: Select all

BEGIN:VEVENT
DTEND;VALUE=DATE:YYYYMMDD
DTSTAMP:YYYMMDDTHHMMSSZ
DTSTART;VALUE=DATE:YYYYMMDD
RRULE:FREQ=YEARLY
SUMMARY:Birthday John Doe
UID:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx
END:VEVENT
Is it possible to add the year or age for recurring events like anniversaries in stead of the (*) sign?
FYI, I checked RFC5545, page 55, this is the correct format:
The following is an example of the "VEVENT" calendar component used to represent an anniversary that will occur annually:

Code: Select all

       BEGIN:VEVENT
       UID:19970901T130000Z-123403@example.com
       DTSTAMP:19970901T130000Z
       DTSTART;VALUE=DATE:19971102
       SUMMARY:Our Blissful Anniversary
       TRANSP:TRANSPARENT
       CLASS:CONFIDENTIAL
       CATEGORIES:ANNIVERSARY,PERSONAL,SPECIAL OCCASION
       RRULE:FREQ=YEARLY
       END:VEVENT
TRANSP, CLASS and CATEGORIES are not mandatory.

Re: Toon app: Kalender

Posted: Mon Dec 24, 2018 7:52 pm
by Toonz
Hi Templar,

at least I know now why the dates in your own file are not showing up, it is because you use just <LF> as line separator where the app is expecting <CR><LF>.
The result was that the recurrence settings where not applied.
The line DTEND doesn't need to be supplied.
Can be easily fixed in a next release but will be somewhere after X-mas.

Time for some toon-less days now ;-)

Kind regardz,

Toonz

Re: Toon app: Kalender

Posted: Tue Dec 25, 2018 2:02 am
by hanplo
Is there somebody who can give me a detail instruction to add my Google-calender to the Toon. I have the right url and I made contact with my Toon with my PC. Please tell me wich commands I have to give or where I can find them. Thanx

Re: Toon app: Kalender

Posted: Tue Dec 25, 2018 7:43 am
by mAiden
hanplo wrote:Is there somebody who can give me a detail instruction to add my Google-calender to the Toon. I have the right url and I made contact with my Toon with my PC. Please tell me wich commands I have to give or where I can find them. Thanx
Read the first post. Toonz is clear enough how you can add your own ics file to Toon. If you do not already understand this basis, do not start with it anyway.

Re: Toon app: Kalender

Posted: Tue Dec 25, 2018 12:36 pm
by Templar
Toonz wrote: ..................at least I know now why the dates in your own file are not showing up, it is because you use just <LF> as line separator where the app is expecting <CR><LF>..............
Wow, how did you came to that conclusion?
FYI: I use a Windows 10 OS with the programs WinSCP to edit userSettings.json and Notepad++ to edit the ICS files.

EDIT:
Checked the Notepad++ settings, it already used the Windows format (CR LF) for the ICS files correctly. Changing to UNIX format (LF) makes the ICS file not shown into the Kalender App.

I also use UTF-8 without BOM as character encoding.

Re: Toon app: Kalender

Posted: Wed Dec 26, 2018 11:58 am
by Toonz
Templar wrote:
Toonz wrote: Wow, how did you came to that conclusion?
I copied /pasted the block of text you posted above in notepad and noticed it just contained LF