Commit Graph

194 Commits

Author SHA1 Message Date
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
Joachim Lusiardi bceb9181ee sorting for events 2016-11-01 19:48:24 +01:00
Joachim Lusiardi 086c643365 fixed shadowing warning 2016-11-01 19:48:08 +01:00
Joachim Lusiardi d8c6a0a59b splitted routes into package 2016-11-01 18:01:52 +01:00
Joachim Lusiardi 43d9fc412e moved forms to extra package 2016-11-01 16:36:28 +01:00
Joachim Lusiardi 71412bf487 integrate services into rollerverbrauch 2016-11-01 11:19:26 +01:00
Joachim Lusiardi dd11419305 add the crud forms for services 2016-11-01 11:18:40 +01:00
Joachim Lusiardi d132dc72de Add Entitiy for the Service Object 2016-11-01 11:17:54 +01:00
Joachim Lusiardi 43fa41aace Add input type TextAreaField
adds a possibility to add longer texts in the style of
rollerverbrauch
2016-11-01 11:16:13 +01:00
Joachim Lusiardi b8a6f69090 add gitattributes to handle line ending settings and expose ports on docker compose 2016-08-28 15:45:08 +02:00
Joachim Lusiardi bb7c2780e8 Merge branch '11_Redirect_to_edit_vehicle_page_if_no_consumable_is_configured' into 'development'
11 redirect to edit vehicle page if no consumable is configured



See merge request !28
2016-08-28 14:01:37 +02:00
Joachim Lusiardi 088d1f24a0 add redirect if vehicle is not configured and flash messages 2016-08-16 13:21:54 +02:00
Joachim Lusiardi 87b3b02f3e add sqlite files to gitignore 2016-08-07 13:19:26 +02:00
Joachim Lusiardi c8a9404bf6 fixed use of os.environ 2016-08-07 13:18:39 +02:00
Joachim Lusiardi 4acf36112c add ids to pitstop elements 2016-08-07 13:18:04 +02:00
Joachim Lusiardi 4b73699750 Added ids to important elements 2016-08-06 10:59:20 +02:00
Joachim Lusiardi d393f19b47 Fixed wrong text 2016-08-06 10:59:03 +02:00
Joachim Lusiardi 44b92e58b5 use config variable to identify admin account while it is created 2016-08-03 08:13:39 +02:00
Joachim Lusiardi 1e7db29de9 add config variable to identify admin account while it is created 2016-08-03 08:12:06 +02:00
Joachim Lusiardi 938a7fc140 Removed dependency to mysql for testing 2016-08-03 08:09:58 +02:00
Joachim Lusiardi 49a45ba8a4 Merge branch 'development' into 'selenium_tests'
Sync Development to selenium tests



See merge request !27
2016-07-30 09:23:14 +02:00