Commit Graph

214 Commits

Author SHA1 Message Date
jlusiardi 7f82a288da update db conf in production 2021-12-21 16:23:15 +00:00
jlusiardi 8728d3028b update db conf in production 2021-12-21 16:21:00 +00:00
Joachim Lusiardi bc7e1591bd fix sorting for regular costs 2021-06-23 08:29:35 +02:00
Joachim Lusiardi 673b671ab8 fix date of service 2021-06-22 21:49:32 +02:00
Joachim Lusiardi 578b2c15d8 bugfix: could not create service 2021-06-22 21:39:49 +02:00
jlusiardi 5cd06db1b6 Merge pull request 'vehicles can now be deactivated' (#6) from vehicles_can_be_deactivated into master
Reviewed-on: #6
2021-06-20 06:49:33 +00:00
Joachim Lusiardi 3035006225 vehicles can now be deactivated 2021-06-20 08:43:46 +02:00
jlusiardi 3d0bb8c83f Merge pull request 'regular_costs' (#5) from regular_costs into master
Reviewed-on: #5
2021-06-18 18:20:12 +00:00
Joachim Lusiardi 42356137c4 first shot 2021-06-18 19:25:33 +02:00
Joachim Lusiardi 4196111529 adapt general request limits 2021-05-31 21:30:54 +02:00
Joachim Lusiardi 7797d6c91e add mail validator package 2021-05-08 19:54:05 +02:00
Joachim Lusiardi cbc34a02e7 changed base image 2021-05-08 19:32:01 +02:00
Joachim Lusiardi 6497d4677f Fixed a bug with editing services / pitstops
The event that was edited should not limit the dates and
odometers for the update.
2018-08-17 07:15:27 +02:00
Joachim Lusiardi 1d767d65a6 all pit stops can now be edited and deleted
not only the last pit stop can be edited and deleted.
2018-08-16 18:33:09 +02:00
Joachim Lusiardi ae6dfa8ae6 Fix bug with description on services
The service description was lost on any input error in the forms
for create and edit.
2018-08-16 06:58:11 +02:00
Joachim Lusiardi 346723ae2d Makes each service/pitstop deletable
adds a delete button to each service/pitstop
2018-08-15 21:46:31 +02:00
Joachim Lusiardi 6397d050ae services and pitstops each now respect their data on creation
On creation, the tupels of date and odometer are checked that
the service or pitstop does not violate the ordering in.
2018-08-15 21:45:22 +02:00
Joachim Lusiardi bf4bb607d5 Introduces ordering for services
services are now ordered by ascending odometer value instead of
their id
2018-08-15 21:39:04 +02:00
Joachim Lusiardi b3cb88e870 fix issue with creating the first ever pitstop for vehicle 2018-08-11 19:38:51 +02:00
Joachim Lusiardi 889a3e6476 changes dev config to store sqlite file in data volume 2018-08-11 18:58:25 +02:00
Joachim Lusiardi 3a2b25d3bd fixes issue with first pitstop for a vehicle 2018-08-11 18:57:33 +02:00
Joachim Lusiardi 13090d2735 Updates create pitstop form
The form now uses the new odometer_date_check to allow entering
pitstops that are before the currently last pitstop.
2018-08-11 14:53:08 +02:00
Joachim Lusiardi 25705562ad Displays informative messages on litre amount 2018-08-11 14:13:03 +02:00
Joachim Lusiardi 1f2e33bec4 Adds check to verify the proper order of pitstops
Pitstops must keep the order of date and odometer. That means if
a pitstop's date is between two other pitstops' date than the
odometer values must be as well.
2018-08-11 14:11:09 +02:00
Joachim Lusiardi c42a667ca4 Introduces ordering for pitstops
Pitstops are now ordered by ascending odometer value instead of
their id
2018-08-11 13:15:33 +02:00
Joachim Lusiardi 879669b4f7 Updates os version to debian 9
Changes to debian9_python3 image because of outdated setup tools
Fixed a typo as well
2018-08-11 13:06:07 +02:00
Joachim Lusiardi 5a961d096b add tooltips to buttons for filling stations 2018-08-10 20:16:36 +02:00
Joachim Lusiardi d9812bcb06 add links to imprint and dsgvo declaration 2018-05-09 12:41:40 +02:00
Joachim Lusiardi 8b78dbe5b7 add DEBUG = False to default config 2017-11-25 11:12:16 +01:00
Joachim Lusiardi 95a7e56a32 load openlayers via https 2017-11-25 11:11:55 +01:00
Joachim Lusiardi 9eb4d5ada0 fixup! preparation commit for henni 2017-11-24 09:08:37 +01:00
Joachim Lusiardi f7cb273254 preparation commit for henni
This commit includes:
* sql conversion script
* fixes for the column type for lat and lng fields
* removes prints / console logs
* unneccessary comments
* if no home data is available, we center to germany
* hide non working brand logos
* on closed stations the word "closed" is printed instead of outdated
price
* updates on filling stations is done in chunks of max 10
* configuration separates between development and testing
2017-11-24 09:08:04 +01:00
Joachim Lusiardi 543d3e1658 react to closed stations 2017-11-12 22:50:25 +01:00
Joachim Lusiardi 9427ed50ad add page to plan a pitstop 2017-11-12 15:38:32 +01:00
Joachim Lusiardi 28990f27fa moved static files to separate directories 2017-11-12 15:34:49 +01:00
Joachim Lusiardi d55fd3d9f6 Consumables can now be linked to the tankerkoenig api 2017-11-12 10:17:36 +01:00
Joachim Lusiardi e9bb7986f4 moves routes for filling stations to extra file 2017-11-12 09:44:51 +01:00
Joachim Lusiardi eaacd3f42e adds functionality to handle favourit filling stations 2017-11-10 10:38:15 +01:00
Joachim Lusiardi 8a99e4a616 adds icons & logos
adds icons for filling stations and favorites
adds logos for various brands
2017-11-10 10:37:39 +01:00
Joachim Lusiardi 028b52d12f Adds setting home in account 2017-11-07 22:33:14 +01:00
Joachim Lusiardi 958a9bdd9f DEBUG flag can now be set via config and environment 2017-11-07 22:31:31 +01:00
Joachim Lusiardi b02938cafe Moves MySQL DB to production 2017-11-07 22:30:44 +01:00
Joachim Lusiardi 47e81c7517 start implementing a proxy layer for the API of creativecommons.tankerkoenig.de 2017-10-30 06:49:56 +01:00
Joachim Lusiardi af6f271b29 Merge branch 'development' into 'master'
Development

See merge request !30
2016-11-15 21:42:08 +01:00
Joachim Lusiardi c9b1a1b095 Merge branch 'special_costs' into 'development'
Special costs

See merge request !29
2016-11-15 21:33:10 +01:00
Joachim Lusiardi 2e4c815a10 Add of db update script 2016-11-15 21:31:37 +01:00
Joachim Lusiardi 5859763a14 Fixed deprecation warning for Form 2016-11-06 18:53:13 +01:00
Joachim Lusiardi 6e665b9f2f finished handling of services 2016-11-06 13:22:54 +01:00
Joachim Lusiardi 60a1b307e4 changes to beautify the generated markdown 2016-11-06 13:14:28 +01:00
Joachim Lusiardi 3f458937d9 adds markdown filter 2016-11-06 13:14:03 +01:00