atsid / gcal-leave-scraper Goto Github PK
View Code? Open in Web Editor NEWServer application that scans google calendars for leave events matching specific criteria and logs details on them.
License: Apache License 2.0
Server application that scans google calendars for leave events matching specific criteria and logs details on them.
License: Apache License 2.0
filter by text in title and summary, also filter by user.
Need to mock the service calls so we don't require secret.json file. The cert info has been moved to config/local.coffee but is not present in the build.
Setup to run on a schedule
In the calendar summary view that is displayed when logging in, the calendars can still be moved. Flags have been passed to the react grid layout component to disable this, but for some reason they don't seem to be honored.
This should be investigated and corrected as we don't need these calendars to be movable.
Requires mongo database to store custom
UI updates
New service endbpoint
Currently the mock UI has summary information for each month. A service should be created that returns this summary information for a specific date range (inclusive). This will allow a user to drill down and get more specific data. This is needed for #1.
Right now, the groups are actual lists of contact data. If 'all' is selected, the Google Contacts API is correctly queried and used to provide the list of users. Otherwise, the group data stored in JSON files is returned directly. This JSON data should only be used to map into and subset fresh Google Contacts data. Beyond that, this data should be db-driven so the project is applicable to other organizations outside of ATS that might like a tool such as this.
This might not be needed just documenting it as an enhancement.
The new react-calendar-render has been added and is functional. However, some of the CSS that was brought over doesn't quite work as it should inside of the material-ui view area. The CSS needs to be fixed to display the actual days in the calendar as a proper grid and make sure the tables properly fill the space in the calendar view.
Should just be something rounding not correctly.
Write method to determine unique users in a set of leave events in order to support #1.
This would be a hash that allows us to remove/hide some contacts from the Google API that are not relevant, such as admin accounts and conference rooms.
We need to be able to determine the number of working days in a date range. Write a method to do this.
Parameters
We need to trim the date range down to a specific month because some leave events will span month boundaries. We need to be able to isolate leave requests on a per-month basis.
Examples:
Friday Dec 4 2015-Monday Dec 7 2015 => 2 working days
Monday Nov 30 2015-Friday Dec 4 2015 with month set to November => 1 working day
Monday Nov 30 2015-Friday Dec 4 2015 with month set to December => 4 working days
Will need to update service and ui to handle configurable date filters.
If its friday its showing sat as the first day.
The current UI only shows blank boxes. We need to use something nicer. James Davis started a react-calendar-render project ATS on GitHub.
Currently the user list is stored in MongoDB. We need to pull the list of users from Google Apps and sync it with the Mongo DB.
Requires mongo database to store custom
UI updates
New service endbpoint
One of the current plans is to have a high-level heat map view of the year at a glance view (default view). Once the react calendar plugin has been pulled in, this should be a simple renderer that we can add to do this.
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.