Coder Social home page Coder Social logo

dergut / stundenzettelcreator Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 304 KB

A simple web app that automatically creates timesheets and mails them to you.

Home Page: https://stundenzettel-production.herokuapp.com

Python 73.52% HTML 24.70% Makefile 0.42% CSS 0.35% JavaScript 1.00%
django timesheet pdf

stundenzettelcreator's Introduction

StundenzettelCreator

Build Status codecov

A web interface for the timesheet generator by Patrick Faion.

Visit the web site to have your Stundenzettel be automatically created.

Installation

In order to install StundenzettelCreator locally simply follow the steps below.

  • Clone the repository
  • run pip install -r requirements.txt to install all the project dependencies
  • run python manage.py collectstatic in order to get static files like *.css, *.js served by django
  • and finally, run python manage.py runserver to get started

stundenzettelcreator's People

Contributors

dergut avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

stundenzettelcreator's Issues

Server Error on contact form submit on staging

ERROR:django.request:Internal Server Error: /contact/ 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:  Traceback (most recent call last): 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:    File "/app/.heroku/python/lib/python3.6/site-packages/django/core/handlers/exception.py", line 41, in inner 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:      response = get_response(request) 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:    File "/app/.heroku/python/lib/python3.6/site-packages/django/core/handlers/base.py", line 187, in _get_response 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:      response = self.process_exception_by_middleware(e, request) 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:    File "/app/.heroku/python/lib/python3.6/site-packages/django/core/handlers/base.py", line 185, in _get_response 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:      response = wrapped_callback(request, *callback_args, **callback_kwargs) 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:    File "/app/.heroku/python/lib/python3.6/site-packages/django/views/generic/base.py", line 68, in view 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:      return self.dispatch(request, *args, **kwargs) 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:    File "/app/.heroku/python/lib/python3.6/site-packages/django/views/generic/base.py", line 88, in dispatch 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:      return handler(request, *args, **kwargs) 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:    File "/app/.heroku/python/lib/python3.6/site-packages/django/views/generic/edit.py", line 182, in post 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:      if form.is_valid(): 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:    File "/app/.heroku/python/lib/python3.6/site-packages/django/forms/forms.py", line 183, in is_valid 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:      return self.is_bound and not self.errors 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:    File "/app/.heroku/python/lib/python3.6/site-packages/django/forms/forms.py", line 175, in errors 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:      self.full_clean() 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:    File "/app/.heroku/python/lib/python3.6/site-packages/django/forms/forms.py", line 384, in full_clean 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:      self._clean_fields() 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:    File "/app/.heroku/python/lib/python3.6/site-packages/django/forms/forms.py", line 405, in _clean_fields 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:      value = getattr(self, 'clean_%s' % name)() 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:    File "/app/.heroku/python/lib/python3.6/site-packages/contact_form/forms.py", line 147, in clean_body 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:      blog_url=getattr(settings, 'AKISMET_BLOG_URL', None) 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:  TypeError: __init__() got an unexpected keyword argument 'key' 
Feb 17 18:10:57 stundenzettel-staging-1 app/web.1:  10.126.161.90 - - [17/Feb/2019:18:10:57 +0100] "POST /contact/ HTTP/1.1" 500 27 "https://stundenzettel-staging-1.herokuapp.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.3 Safari/605.1.15" 

Dec 24 - public holiday

Since December 24th is a public holiday in Lower Saxony, it's not allowed to fill in working hours on that date. The creator app does but that, so an exception for that day would be great.

Validate working hours for subscriptions

As the validation cannot run against some specific month or date range, some constant might be useful (e.g. 6 * 5 * 30 hours for 6 working hours in 5 days per week)

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.