utnkar / bocken Goto Github PK
View Code? Open in Web Editor NEWA digital journal system for UTN's car Bocken
A digital journal system for UTN's car Bocken
This form will be used by those who drive bocken when they report how far they have driven. It should be possible to enter:
In the admin pages, there should be a view where a report can be generated. This report will show how many kilometers each committee or workgroup has driven and how much they must pay
The package for handling cron jobs (django-cron) has been deprecated and will not support django 4. It has to be exchanged for django-extentions which provides the same functionality and is currently being maintained
Currently all agreement files are allowed to be blank since there are people who have signed the old agreement when the system was created. Instead of having them resign their agreements, those agreements will continue to live in their folder on klubbmästarens desk. Therefor the field is blank. When every user has an agreement file, blank=True
can be removed.
The agreement_file field can also be removed from the AgreementForm
in forms.py
Ask the klubbmästare if all the old agreements in their folder in their desk have been removed and check in the admin pages on the production server if all users have an attached agreement
The agreement model has an email field that has blank=True
. This is because when this system was created, emails were not collected so not all agreements have emails. When all agreements have an email this should be removed so that email is required.
When this is changed, the email field in the AgreementForm
in forms.py
can be removed
Ask the klubbmästare if all the old agreements in their folder in their desk have been removed and check in the admin pages on the production server if all users have an attached agreement
Email should be null but not blank since blank only affects form validation
bocken/src/bocken/models/agreement.py
Line 43 in d8755eb
Whenever I go to my phone to log a hot new driving sesh I enter "boc" into my phone's browser and press the first suggestion that comes up. This brings me to bocken.utn.se. I then get frustrated that I have to press the URL bar again and append /add to it.
Wouldn't it be nice to add a shortcut/button on the home page along the lines of "Looking to add an entry? Press here!", just to make it easier for simpletons like me?
In the admin pages, it would be good if gaps were automatically highlighted between journal entries that create a gap
If an invalid submission is made in the journal entry create form the total kilometers displays 0 when the page is reloaded. It should show the total kilometers
If one person forgets to add a journal entry and another creates one i.e. creating a gap, if a new journal entry is added to fix the gap it gets created after the previous and the order becomes wrong.
This is because journal entries have their get_latest_by
set to created
which becomes completely wrong. This needs to be changed to meter_stop
. The sorting should also be changed to this
When you go the page where you see all reports in the admin view and you have no previous reports have been created you encounter an error. The error is caused by this function:
bocken/src/bocken/models/journal_entry.py
Lines 92 to 95 in ba0ec47
The code doesn't handle the case when there is no latest report
Many people forget their agreement number. There for it would be good with a form when you can enter your personnummer and it shows your agreement number
When you install bocken you need to perform two tailwind commands which aren't written down in the README
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.