Page 3 of 19

Re: Toon app: Kalender

Posted: Sat Dec 01, 2018 9:35 am
by TheHogNL
Image

Re: Toon app: Kalender

Posted: Sat Dec 01, 2018 10:26 am
by atlantica
Dear Toonz,

can you add the collored dots that google uses to indicate the calendar member. Please add them in all screens if posible. In this way its always clear from who the appointment is.

Kind regards,

David

Re: Toon app: Kalender

Posted: Sat Dec 01, 2018 11:20 am
by TheHogNL
Exactly what I already said ;) +1

Re: Toon app: Kalender

Posted: Sat Dec 01, 2018 11:41 am
by Toonz
TheHogNL wrote:Exactly what I already said ;) +1
Colors coming up.... Just be patient guys, first some Sinterklaas presents work to do...

In the mean time already implemented the UNTIL tag for recurrences, next one to do is the COUNT tag.

Re: Toon app: Kalender

Posted: Sat Dec 01, 2018 11:07 pm
by Toonz
small progress update, the below will be included in 1.0.4 which will hit the your chimney before Dec 5th:

- removed re-writing of userSettings.json by the app, if non-existing it will be created during first install only.
- various (recurring) bug fixes
- expanded support for recurring items (now supports YEARLY, MONTHLY, WEEKLY, DAILY and the UNTIL tags)
not yet supported recurring tags: INTERVAL (e.q. every two weeks) and COUNT (repeat x times)
not yet properly supported are complex (stacked) recurrences with combinations of the tags above
- added support for iCloud calendars (I call it beta, but works ok as far as I can tell)
- titles of recurring items are preceded by '(*)' for now, needs something nicer in the future
- app now properly deals with UTC and local time zone notation in the ICS files

For a future 1.0.5:
- redo the details screen to show entries from each calendar in a different color
- more recurring functionality (INTERVAL and COUNT, not planning to implement the full ICS specs :-) )
- …….

For sure I completely underestimated this effort when I started this app :D :D :D
Not all functionality of the ICS files is currently covered and probably doesn't need to be.
But please keep the feedback/bug reports/wishes coming.

Anyway, it already earned his place on the first homescreen here......

Re: Toon app: Kalender

Posted: Sun Dec 02, 2018 10:19 am
by TheHogNL
Toonz wrote:
For sure I completely underestimated this effort when I started this app :D :D :D
Not all functionality of the ICS files is currently covered and probably doesn't need to be.
But please keep the feedback/bug reports/wishes coming.
Good job! If you would start using github then we could all contribute ;-)

Re: Toon app: Kalender

Posted: Sun Dec 02, 2018 11:47 am
by Toonz
Sounds like a plan. But I have zero experience with github yet... If you can help getting this started....
And I need to enter a lot of comments in the code to start with (was already on my to-do list)
We can continue offline..... :)

Re: Toon app: Kalender

Posted: Sun Dec 02, 2018 6:16 pm
by michel30
Maybe I do it wrong but I don't see my calendar

Code: Select all

 vi ../apps/calendar/userSettings.json 
I see the line:

Code: Select all

{"ShowNotifications":Yes","Calendar_URL":[ "https://your_own_url_here" , "https://calendar.google.com/calendar/ical/nl.dutch%23holiday%40group.v.calendar.google.com/public/basic.ics" ]}
What I did:

Code: Select all

  "ShowNotifications":Yes","Calendar_URL":[ "https://your_own_url_here" , "https://calendar.google.com/calendar/ical/nl.dutch%23holiday%40group.v.calendar.google.com/public/basic.ics" 

https://calendar.google.com/calendar/ical/nl.dutch%23holiday%40group.v.calendar.google.com/public/basic.ics

  
But also when I replace https://calendar.google.com/calendar/ic ... /basic.ics with my line it does not work.

I also notes when I edit the file and go back in the file I see only: {"ShowNotifications":"Yes","Calendar_URL":[]}

Re: Toon app: Kalender

Posted: Sun Dec 02, 2018 6:29 pm
by Toonz
Hi,

I made a typo in the current release: forgot the quotes before 'Yes'.

Your userSettings.json file should look like this (standard JSON format):

Code: Select all

{"ShowNotifications":"Yes","Calendar_URL":["https://google.calendar.com/calendar/ical/.......", "https://calendar.google.com/calendar/ical/nl.dutch%23holiday%40group.v.calendar.google.com/public/basic.ics"]}
Just make sure that the URL you enter (the first one) to your own calendar is valid.
the item Calendar_URL is an array and you can add as many calendars as you want, separated by comma's

Kind regardz,

Toonz

Re: Toon app: Kalender

Posted: Sun Dec 02, 2018 6:44 pm
by michel30
The strange thing is the default calendar "https://calendar.google.com/calendar/ic ... /basic.ics"]} is also not showing on the Toon.

It says one moment, than it says ophalen kalenders and thats it..
my afval calendar is already showing

Re: Toon app: Kalender

Posted: Sun Dec 02, 2018 6:55 pm
by Toonz
michel30 wrote:The strange thing is the default calendar "https://calendar.google.com/calendar/ic ... /basic.ics"]} is also not showing on the Toon.

It says one moment, than it says ophalen kalenders and thats it..
my afval calendar is already showing
It stays in 'ophalen kalender' if one of the url's you entered in the file is not valid. Can you try:

Code: Select all

{"ShowNotifications":"Yes","Calendar_URL":["https://calendar.google.com/calendar/ical/nl.dutch%23holiday%40group.v.calendar.google.com/public/basic.ics"]}
This should just give you the holidays.... otherwise, can you PM me your current userSettings.json contents? I will have a look later this evening

Re: Toon app: Kalender

Posted: Sun Dec 02, 2018 7:10 pm
by michel30
Yes, now it's working..

What I did to fix it, is reset my google url and that did the trick for me, so something was wrong in my google URL.

Re: Toon app: Kalender

Posted: Mon Dec 03, 2018 5:54 pm
by Toonz
Hi all,

as promised version 1.0.5 is available on ToonStore:
Changelog:
1.0.5
- removed re-writing of userSettings.json by the app. The initial file with just the holidays calendar is written once during first installation
- various bug fixes
- expanded support for recurring items (now supports YEARLY, MONTHLY, WEEKLY, DAILY and the UNTIL tags)
not yet supported recurring tags: INTERVAL (e.q. every two weeks) and COUNT (repeat x times)
still some other issues to resolve with recurring items
- added support for iCloud calendars (beta, but seems ok, but needs more thorough testing).
when adding an iCloud calendar link replace "webcal://....." with "https://....."
- recurring item titles are preceded by '(*)' for now, need something nicer in the future
- started commenting the app as preparation for the move to Github

Handling recurring items is already much better then 1.0.3, so please upgrade.
to do: I see in my webbrowser strange behaviour in Apple calendars for recurring meetings where the series started during summertime and have shifted the times for an hour in wintertime.
To be clear, this is at the source of the ICS files, nothing to do with the app. Need to check if I need to change some setting in iCloud?
When fixing this, this might also require a code change in the app. Let''s see. Anyone has experience with these calendars and recurring meetings?

to be continued for sure.....slowly getting there....(I haven't forgot the colors, just want to have the core engine good enough)

Kind regardz,

Toonz

Re: Toon app: Kalender

Posted: Tue Dec 04, 2018 10:42 am
by yjb
Thanks for that.

My Toon2 did update overnight from 1.03 to 1.05. It did not retain the userSettings.json from 1.0.3 but it created a new one from scratch. The old userSettings.json was still in the calendar-1.0.3 directory, so I just copied it over and restarted the GUI.

Code: Select all

/qmf/qml/apps/calendar-1.0.3# cat userSettings.json
{"ShowNotifications":"No","Calendar_URL":["https://calendar.google.com/calendar/ical/changedabitimt83422t0fg%40group.calendar.google.com/private-7b3267dda89changedabit/basic.ics","https://calendar.google.com/calendar/ical/nl.dutch%23holiday%40group.v.calendar.google.com/public/basic.ics"]}

/qmf/qml/apps/calendar-1.0.5# cat userSettings.json
{"ShowNotifications":"Yes","Calendar_URL":["https://calendar.google.com/calendar/ical/nl.dutch%23holiday%40group.v.calendar.google.com/public/basic.ics"]}

/qmf/qml/apps/calendar-1.0.5# cp -p ../calendar-1.0.3/userSettings.json .

Recurring appointments do now show, although it seems that the one from 12/12 (You probably still have my ics ;-) ) did shift in time.

The appointment on 5/12 runs from 19:00-21.30, the recurring appointment on 12/12 now starts (according to Toon) on 21:30 and ends on 23:00 (instead of 19:00-21:30). So I guess a small coding mistakes has been made (instead of using the start time, it uses the end time to calculate the next occurrence).

Keep up the good work!

Re: Toon app: Kalender

Posted: Tue Dec 04, 2018 1:00 pm
by Toonz
Hi Yjb,

The issue you mention is the last outstanding bug with the recurring items, will be fixed in the next release when I also implement the COUNT tag.
After that the majority of recurring items should show up fine.

Back to this time bug you mentioned, I did some debugging yesterday evening and found out that the QT javascript date functions sometimes give a strange result back when in the majority of cases it works fine.
Really weird, I am thinking of putting some more complex data functions in the separate javascript file instead of the QT app file.
to be continued.....

Thanks for the feedback