palantir / asana_mailer Goto Github PK
View Code? Open in Web Editor NEWA script that uses Asana's RESTful API to generate plaintext and HTML emails.
License: Other
A script that uses Asana's RESTful API to generate plaintext and HTML emails.
License: Other
Will need to refactor if this is still going to work in the future.
Right now, the Project Tasks endpoint expands on everything, and there's no filtering on stories and other calls. If it's possible, we should check to see if it can make the mailer a bit faster.
Currently, Asana's API returns the text of any comment with the actual links to Asana objects (such as tagging a user in a comment with the "@" tag). It would be nice if this actually generated a hyperlink with the name of the user/project/object as the text of the link (keeping the actual hyperlink).
It needs unit tests for a better tomorrow.
Especially during network requests.
Thanks for making this available! Would be great to see support for subtasks, with their own assignees and due dates.
Currently, API calls are not limited for completed tasks, and instead completed tasks are filtered after the data has been retrieved (API calls are however limited for gathering comments for tasks that will ultimately be filtered).
Asana has added a "completed_since" query parameter which should clean up a good bit of this code.
By parsing the assignees of all bugs in the mailer, we can create a dynamic list of users to email, and leave the Cc line for those who are always on the list (or a distribution list)
Since we're retrieving all of the comments for a task anyways, we should be able to have the template show all of the comments (as well as filter that to a week's comments, or the like). The goal should be to sort this by date so it's still easy to filter by date (or as in the original case, retrieve the last comment.
Is there a technical or design reason why this project is not using the official Python Asana API (https://github.com/Asana/python-asana)?
For simpler setup.
Boo. As a result, new lines are not preserved in descriptions in the default HTML template.
In particular, removing sections with no tasks is done before filtering completed tasks.
Right now, completed tasks only show up if they've been completed within the last 36 hours. We should to expose the timeframe as a custom option.
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.