Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-06-03 | main.go: Add `Profile` to `Config` | Teddy Wing | |
Require the config.toml file to come with a `[profile]` hash. This allows us to get the "person_id" for correct submission to TimeTask. Additionally, add a TOML tag to `PersonID` in `Profile` to allow it to be decoded. | |||
2017-06-03 | buildSubmissionParams(): Support new `TimeEntry`; Submit single entry | Teddy Wing | |
Change the function to use our new `TimeEntry` type, which doesn't demand asking for IDs as it already has them built in. Additionally, remove the loop here as we only want to submit a single time entry at a time. Add a new `Profile` type that holds onto the user's person_id. Forgot that existed. We'll have users fill that into their config.toml file. |