Patch: Calendar cover upcoming

Rating: 
5
Your rating: None Average: 5 (12 votes)

This is a patch for the calendar cover to show the upcoming events. If there are more than two events the cover action for next page will show to let you scroll through the events. The settings allows you to configure how far ahead to show and configure the cover actions. v 0.3-4: Only changed dependency for compatibility with calendar in 2.01.7 Usage: Install and then apply patch through patch manager. Setiings can be found in the settings application under Apps->Calendar Known issues: After first install the calendar cover actions may not show, to resolve add a few dummy events in calendar or restart the close calendar from multitasking view and reopen it. Source: https://github.com/anigaj/calPatch

v0.3-6 updated dependency for calendar in Fiskarsinjoki (2.04.13)

v0.3-7 updated dependency for calendar

v0.4-1 removes calendar dependency (use this if you don't want the patch to fully uninstall when there is OS update)

 

Screenshots: 
Application versions: 
AttachmentSizeDate
File calendar-cover-upcoming-0.1-1.armv7hl.rpm4.38 KB03/06/2015 - 08:22
File calendar-cover-upcoming-0.2-1.armv7hl.rpm4.5 KB19/06/2015 - 00:43
File calendar-cover-upcoming-0.3-1.armv7hl.rpm6.77 KB18/08/2015 - 09:32
File calendar-cover-upcoming-0.3-2.armv7hl.rpm6.77 KB19/08/2015 - 08:18
File calendar-cover-upcoming-0.3-3.armv7hl.rpm6.77 KB22/09/2015 - 01:58
File calendar-cover-upcoming-0.3-4.armv7hl.rpm6.77 KB22/02/2016 - 09:29
File calendar-cover-upcoming-0.3-5.armv7hl.rpm6.78 KB20/08/2016 - 23:12
File calendar-cover-upcoming-0.3-6.armv7hl.rpm6.78 KB10/10/2016 - 09:41
File calendar-cover-upcoming-0.3-7.armv7hl.rpm6.77 KB29/11/2016 - 09:39
File calendar-cover-upcoming-0.4-1.armv7hl.rpm6.78 KB29/11/2016 - 09:39
File calendar-cover-upcoming-0.5-1.noarch.rpm7.17 KB27/02/2017 - 15:55
File calendar-cover-upcoming-0.6-1.noarch.rpm11.46 KB07/01/2020 - 10:26
File calendar-cover-upcoming-0.7-1.noarch.rpm11.44 KB25/03/2023 - 11:27
Changelog: 

0.7
Compatible with Struven ketju
0.6-1
Compatible with Torrunsuo
Change days selection in settings to text field
0.5-1
Compatible with Iijoki
Additional required file is installed rather than part of the patch.
0.4
Remove dependency on calendar
0.3
Added settings
Updated uninstall scripts and dependencies
0.2
Increased font size
Fixed penultimate event repeat issue
0.1
- First build.

Comments

PamNor's picture

I'm running 3.4.0.22 and have still the Lockscreen calendar settings. Storeman don't detect this patch as installed. Patch don't work. How to remove Lockscreen calendar from settings?

darbess's picture

Hi, I want to thank you for this very useful patch.

Version 0.5-1 doesn’t work with SFOS 3.2.0.12 (Torronsuo)  but I could easily fix it with the following correction:

sed -i -e 's/opacity: 0\.6/opacity: Theme.opacityHigh/' unified_diff.patch

Will you release a new corrected version?

Thank you.

ce910's picture

HI,

can u please update for Version 2.1.0.9??

hoschi's picture

@anig:

I know, that you added the version check to be sure not to break anything. But nowadays patchmanager unapplys all patches before a system-update and if the patch is "literally" incompatible and cannot be applyed again by patchmanager we should be likely in save condition, or it can be applied and we are also in save condition.

Benefit: We don't have to wait for an update of the patch after an update of the system

Your patch and jolla-calendar behave rather stable, looks like there was not change of code necessary since summer 2015 :)

giskard's picture

Is it possible to add the same functionality in the events view?

hoschi's picture

Can we expect an update for 2.0.2.48? I
can't live without this patch.

anig's picture

0.3-5 should work, built with dependency to latest calendar version.

hoschi's picture

Thanks! It works :)

 

After refreshing the repositories manually from various places twice (two times all repositories, two times your repository) inside the Warehouse-App, I was able to install the new update. The old version refused to install because of version-incompatiblity.

I should note, that I missed to remove the patches during the upgrade on 2.0.2.48 and your patch was in "uninstalled" state after upgrade.

 

anig's picture

The uninstall is by design. I have linked it to the version of calendar so when a newer version is released the system automatically uninstalls the patch. Not sure why it required so many refreshes.

ade's picture

Don't jump off a cliff yet, patch works fine here on 2.0.2.48.
You probably need to remove some patch generated files first.

moofang's picture

Great patch. Don't suppose this could be extended/adapted to also apply to the events appearing on the events view in Sailfish 2.0 :)

anig's picture

I'll take a look when I get a bit of time.

kibet85's picture

getting error nothing provides for jolla-calendar=0.50 needed by calendar cover-upcomming-0.3.1.armv7hl on the latest patch. running sailfish 1.1.7.27

anig's picture

I made it dependent on the version of calendar installed on mh phone. I've updated it now so should work with 1.1.17.25, which i believe has version 0.5.3 of calendar .

feldbaum's picture

Thank you anig. For me it didn´t work with SailfishOS 1.1.4.29

Transaction /3572_aabcebac,Status:dep-resolution-failed, Extra details:nothing provides jolla-calendar = 0.5.0,needed by calender-cover-upcoming-0.3-1.armv7hl

feldbaum's picture

Installed 0.2-1 again and it works. Running SailfishOS 1.1.4.29.

feldbaum's picture

Same error for me.Uninstalling old version and trying to install new version didn´t help. running sailfish OS 1.1.4.29.

Quasar's picture

The same error for me on 1.1.7.27.

mautz's picture

Hi,
when i activate your patch i am not able to change the date in the app “fahrplan”, because the date numbers are not displayed. When i deactivate your patch everything is working fine.

anig's picture

I tried installing fahrplan and had no issues picking a date. This patch only modifies two files that are connected to the cover. Are you sure it is this patch causing the issue and not Patch: Sailfish OSCalendar?

pi3141etc's picture

thanks for the patch!

can you make it to display the events in n-weeks to come?

also, can you add holdays?

thanks!

anig's picture

I'm working on adding a settings page to configure n-weeks. For holidays I use the following to add a holiday calendar:
https://together.jolla.com/question/93827/how-to-how-to-add-national-hol...
This should then show up like any other event.

carmenluci's picture

Great patch!! Thank you!! It has a bug: when I apply it, weekday name is wrong. For example, 13 jun 2015 shows like sunday, instead of saturday

anig's picture

I didn't modify the date label so wouldn't expect that to happen and haven't seen it on my phone. Is the issue still occurring?

carmenluci's picture

Sorry, I was in wrong, and it's not a issue with your patch. It was because of "Patch: SailfishOS Calendar" and it was fixed.

fishegg's picture

What a great patch! Thanks ! Would you please make the fonts a little bigger ? It's too tiny to see it. Thanks again :)

anig's picture

I had to reduce the font to make it fit. I'll try to reduce the spaces and make the font slightly bigger.

kaulian's picture

Thanks :)