Giter Club home page Giter Club logo

timereporter's People

Contributors

godsmith avatar

Stargazers

 avatar

Watchers

 avatar  avatar

timereporter's Issues

Special handling of parental leave

Parental leave should not take away from the default project like other projects do.

In the view below, the flex for Monday and Tuesday should be 2 hours higher.

Not sure how to handle this. Special project class leave? Non-working? This applies to sick leave and VAB as well.

--------------  ----------  ----------  ----------  ----------  ----------
                2017-10-16  2017-10-17  2017-10-18  2017-10-19  2017-10-20
                Monday      Tuesday     Wednesday   Thursday    Friday
Came            09:00       08:45
Went            17:00       17:00
Lunch           00:45       00:45
EPG Program     05:45       05:45       07:45       07:45       07:45
Parental Leave  02:00       02:00       00:00       00:00       00:00
Flex            -00:30      -00:15
--------------  ----------  ----------  ----------  ----------  ----------

Illegal input should give error message

Test cases:
projct new myproject -> Unknown command "projct"
2017-08-17 2017-08-18 9 -> Multiple dates
undo 9 -> Unsupported command "undo 9"
9 9 8 -> Unsupported command "9 9 8"

Show day

Shows the current day. Good for unit test if nothing else.

Repeating project

E.g. Parental leave repeats with 2 hours Monday-Thursday;
parental leave repeats with 7:45 every other week

Make a project repeating:
t project "Parental leave" --repeat=Monday,Tuesday,wednesday,thursday 2:00

Perhaps --from is not needed?

Every other week not needed right now, since not so time-intensive.

Add an entry for every currently ongoing repeating entry to the Day when adding a Day to the Calendar and the Day does not previously exist.

In the below, the activated should be bright, and the columns aligned.

$ t project "Parental leave"
--work --no-work
--repeat=Monday,Tuesday,Wednesday,Thursday --no-repeat

Linux support

Because why not.

Start with setting up the environment in Travis again.

Change requires to install_requires in setup.py

The packages listed in requires doesn't seem to do anything:

(Note: projects listed in setup_requires will NOT be automatically installed on the system where the setup script is being run. They are simply downloaded to the ./.eggs directory if they’re not locally available already. If you want them to be installed, as well as being available when the setup script is run, you should add them to install_requires and setup_requires.)

Error message for wrong time format does not specify yesterday or Date

C:\Users\efillan\workspace\timereporter>t came today 7:15
Time "today" must be on the form H, HH:MM, H:MM, HHMM, HMM, M m, MM m, M min or
MM min

Wanted:
Error: "today" is not a supported time format. See
$python -m timereporter help
for a list of the supported time formats.

That, of course, given that a help command exists. So fix #13 first.

interactive mode

start with t interactive. in there, you don't have to put t before every command. and the output of the last command is always visible at the top.

"Entering timereporter interactive mode. To quit: quit or Ctrl+C. For help: help"

Crash

See timereporter_bug.log

Try out jsonpickle

To make the pickle file more human readable and possible to transfer between versions

"today" not working

C:\Users\efillan\workspace\timereporter>t came today 7:15
Time "today" must be on the form H, HH:MM, H:MM, HHMM, HMM, M m, MM m, M min or
MM min

Python 3.4 support

f-strings aren't worth this big incompatibility.

Start with changing appveyor to run Python 3.4.

Undo function

Redo not necessary, if it is clear what has been undone. E.g. 'Undid "came 9:00, went 15:00 2017-09-10"'; 'Undid 2 hours EPG Program 2017-09-10"

Show week html

The show week table but write it to an html table in an html file and open it in the default browser.

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.