Giter VIP home page Giter VIP logo

alibeez-to-google-calendar-connector's Introduction

alibeez-to-google-calendar-connector's People

Contributors

dependabot[bot] avatar hgwood avatar jvarela-zenika avatar ked57 avatar yannbertrand avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

alibeez-to-google-calendar-connector's Issues

✅ Make testing easier

Some ideas to improve the experience of developing this tool:

  • Add a dry run mode: runs normally except that it logs what should be written to Google Calendar instead of actually writing it.
  • Add a flag-as-test mode: runs normally but flags events written to Google Calendar as tests (by adding [TEST] in the summary for example)
  • Allow for the target calendar to be overridden using a calendar ID in an environment variable so that all events are written to it instead of the primary calendar of any given user. This target calendar must be writeable for all users.
  • Extract a pure function from the current code base that can map a collection of Alibeez leaves to a collection of { action, eventId, eventBody } triplet so that testing this mapping becomes trivial and modifying it is safer.

⚡ Incremental sync pulls too much leaves from Alibeez

After an incremental sync, the connector saves the current date-time and uses it on the next sync to filter the leaves on their update date. The format of the date-time used by the connector is ISO 8601 with a trailing Z to denote the use of UTC, however Alibeez seems to still interpret the date-time as a local one. This means, for the case of France in the summer, that the connector pulls 2-hour worth of leaves that were already pulled at the last sync.

The proposed solution is to save the update date of the last leave that was sync'd, instead of the current date-time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.