Lots of changes
Fixed bug where a position was deleted, or archived or doesn't exist but is still referenced in PCO api. This should fix the services dashboard issue some churches were having.
I wanted to be able to send a quick txt to our Prayer Chain List. This feature was not available in the People App on my iPhone. So I built a quick recipe. Select the list, generate the message send link, and then book mark that page to quickly send a message to a list any time. You'll need to be logged into pcochef for it to work, and it will user your Planning Center Messaging Credits. Click here for the recipe.
There was a bug where the demo events were displaying rather than the proper church events. When I first built pcochef it really only used the people and services api for liquid reports. So I assumed that I'd be safe to get the Time Zone data from the people api. However some people revoke people access, or just use a pco account without people access. This broke the embed. I totally get wanting to shield people api so I reworked the Time Zone logic to try People, Services, Calendar, & Check-ins. Groups doesn't seem to provide the timezone unfortunately. This should make the events embeds more stable.
There was a change in the api naming that caused events to stop updating. This has been resolved. Sorry for any inconvenience.
The plusapi endpoint now lets you filter and display a single event.
This is all the events.
This is a list of all events with <event_id>
This is a single event instance.
You can get these from the address url in Planning Center Calendar when you open a single event.
If you have any questions use the help link in the top right.
Today I'm still fighting bugs in the Daily Email Recipe(Beta) to get it ready for launch. This morning the emails did not send. Time zones are hard. I have built in timezone support, but apparently the updated code wasn't picked up by the daily background task that looks at each user's saved email settings and triggers the emails because that task was triggered before that code was updated.
I also found bugs in the logic that scans the PCO API to determine birthdays, anniversaries and new profiles. I needed to strip timezone from the date-time objects that are used to calculate age and years married.
It seems the emails and schedules should work now.
First we make it work, then we optimize code, then we make it look pretty.