doesliverpool / cover-requester Goto Github PK
View Code? Open in Web Editor NEWA small script to request weekly cover for DoES Liverpool
A small script to request weekly cover for DoES Liverpool
This is probably because this event starts at 5:30pm so is considered an afternoon event, checker should perhaps check start & end times.
It would be good to send out the request for cover earlier in the week, say on Wednesday, to give people more time to plan.
The cover requester needs updating to append the date that the week begins in the filename it saves the URL to and then the cover checker needs to be changed to use this (probably just reading the config and then this file rather than assuming it'll be an argument).
DoES generally isn't open on Bank Holidays so it would be good to attempt to ignore them. At least investigate whether it's possible. Check for an event with title "Bank Holiday" and ignore that day, unless there's any other events.
Some docs are here:
https://web.archive.org/web/20131007053304/http://www.doodle.com/xsd1/RESTfulDoodle.pdf
Would require using the same OAuth keys as the cover requester and then parsing the resultant XML rather than JSON.
The cover checker currently results in an email if there's no cover, but it would be useful if it also reminded whoever was down to cover.
The "nextweek" option of cover checker checks for cover on the Monday of the following week, if possible it would be better if it checks on the "first active day" of the next week. So if the Monday is a bank holiday and #5 has been completed, it will check the Tuesday instead.
Would be good to handle bank holidays either by ignoring the day completely or, because there's a chance we might have an event on, automatically covering it with a "Bank Holiday" person.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.