vajahath / auto-timesheet Goto Github PK
View Code? Open in Web Editor NEWAdd redmine timesheet automatically and periodically.
Home Page: https://www.npmjs.com/package/auto-timesheet
License: MIT License
Add redmine timesheet automatically and periodically.
Home Page: https://www.npmjs.com/package/auto-timesheet
License: MIT License
auto-timesheet
commandauto-timesheet set-credentials
to set credentialsauto-timesheet config
for setting configurationauto-timesheet start
to start the applicationImprove interfaces
Make a study on how to integrate gitlab on it.
and do required stuff.
We need the following things to create a new activity:
track start, end times and dates..
User doesn't accidentally corrupt the default conf.
use Object.assign()
to merge them.
If user's conf failed to load, use default conf
you know stuff
yea
Retry the requests if any requests failed to add
Currently showing some err that can't be understood.
make all urls and related stuff configurable
in config file, change git
to github
So that we can flawlessly determine b/w git services.
use also gitlab
& bitbucket
fields
Add ti#
instead of #
handle 'failed to detect tags' case.
timesheet rejecting the content msg with more than 250 chars.
shrink down the msg and make it in between 120 and 250. 😸
so that we can integrate gitlab as well without messing with the app logic
now the credentials are hard-coded which is bad.
Let the user set their username and password as credentials so that the program should automatically log them in
Add an update available notification
with update-available
Integrate bitbucket
Detect current version automatically
Give feedbacks here
We need the following things to create a new activity:
Currently auto-timesheet
fetches git-commit-messages from Github and use it as the message for timesheet activity. We need to somehow extract the issue id
from commit messages.
Just a proposal to start thinking..
Lets use ti#tags
with commit messages. While making a commit message, mention the timesheet issue with a hashtag like:
Adds extra details to fetch details api. ti#fetchDetails
(where fetchDetails
is the timesheet issue corresponding to our commit)
We can extract that ti#
tag and find that issue-id.
Looks like timesheet uses an api to fetch all issues (description and id) corresponding to a project. We call that api and get those data. Now we've to match our hashtag with the issue description to get the id
.
Github uses hashtags to map stuffs made in Github itself (PR/issues). Prepending ti
(stands for Timesheet Issue) with it resolve that conflict.
ti#
tags in a message ?If a timesheet msg contains multiple ti#
tags, let's choose one in random..
Clean the directories and files
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.