Commit Graph
100 Commits
Author SHA1 Message Date
jlusiardi cbc34a02e7 changed base image 2021-05-08 19:32:01 +02:00
jlusiardi 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
jlusiardi 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
jlusiardi 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
jlusiardi 346723ae2d Makes each service/pitstop deletable
adds a delete button to each service/pitstop
2018-08-15 21:46:31 +02:00
jlusiardi 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
jlusiardi 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
jlusiardi b3cb88e870 fix issue with creating the first ever pitstop for vehicle 2018-08-11 19:38:51 +02:00
jlusiardi 889a3e6476 changes dev config to store sqlite file in data volume 2018-08-11 18:58:25 +02:00
jlusiardi 3a2b25d3bd fixes issue with first pitstop for a vehicle 2018-08-11 18:57:33 +02:00
jlusiardi 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
jlusiardi 25705562ad Displays informative messages on litre amount 2018-08-11 14:13:03 +02:00
jlusiardi 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
jlusiardi 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
jlusiardi 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
jlusiardi 5a961d096b add tooltips to buttons for filling stations 2018-08-10 20:16:36 +02:00
jlusiardi d9812bcb06 add links to imprint and dsgvo declaration 2018-05-09 12:41:40 +02:00
jlusiardi 8b78dbe5b7 add DEBUG = False to default config 2017-11-25 11:12:16 +01:00
jlusiardi 95a7e56a32 load openlayers via https 2017-11-25 11:11:55 +01:00
jlusiardi 9eb4d5ada0 fixup! preparation commit for henni 2017-11-24 09:08:37 +01:00
jlusiardi 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
jlusiardi 543d3e1658 react to closed stations 2017-11-12 22:50:25 +01:00
jlusiardi 9427ed50ad add page to plan a pitstop 2017-11-12 15:38:32 +01:00
jlusiardi 28990f27fa moved static files to separate directories 2017-11-12 15:34:49 +01:00
jlusiardi d55fd3d9f6 Consumables can now be linked to the tankerkoenig api 2017-11-12 10:17:36 +01:00
jlusiardi e9bb7986f4 moves routes for filling stations to extra file 2017-11-12 09:44:51 +01:00
jlusiardi eaacd3f42e adds functionality to handle favourit filling stations 2017-11-10 10:38:15 +01:00
jlusiardi 8a99e4a616 adds icons & logos
adds icons for filling stations and favorites
adds logos for various brands
2017-11-10 10:37:39 +01:00
jlusiardi 028b52d12f Adds setting home in account 2017-11-07 22:33:14 +01:00
jlusiardi 958a9bdd9f DEBUG flag can now be set via config and environment 2017-11-07 22:31:31 +01:00
jlusiardi b02938cafe Moves MySQL DB to production 2017-11-07 22:30:44 +01:00
jlusiardi 47e81c7517 start implementing a proxy layer for the API of creativecommons.tankerkoenig.de 2017-10-30 06:49:56 +01:00
jlusiardi af6f271b29 Merge branch 'development' into 'master'
Development

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

See merge request !29
2016-11-15 21:33:10 +01:00
jlusiardi 2e4c815a10 Add of db update script 2016-11-15 21:31:37 +01:00
jlusiardi 5859763a14 Fixed deprecation warning for Form 2016-11-06 18:53:13 +01:00
jlusiardi 6e665b9f2f finished handling of services 2016-11-06 13:22:54 +01:00
jlusiardi 60a1b307e4 changes to beautify the generated markdown 2016-11-06 13:14:28 +01:00
jlusiardi 3f458937d9 adds markdown filter 2016-11-06 13:14:03 +01:00
jlusiardi bceb9181ee sorting for events 2016-11-01 19:48:24 +01:00
jlusiardi 086c643365 fixed shadowing warning 2016-11-01 19:48:08 +01:00
jlusiardi d8c6a0a59b splitted routes into package 2016-11-01 18:01:52 +01:00
jlusiardi 43d9fc412e moved forms to extra package 2016-11-01 16:36:28 +01:00
jlusiardi 71412bf487 integrate services into rollerverbrauch 2016-11-01 11:19:26 +01:00
jlusiardi dd11419305 add the crud forms for services 2016-11-01 11:18:40 +01:00
jlusiardi d132dc72de Add Entitiy for the Service Object 2016-11-01 11:17:54 +01:00
jlusiardi 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
jlusiardi b8a6f69090 add gitattributes to handle line ending settings and expose ports on docker compose 2016-08-28 15:45:08 +02:00
jlusiardi 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
jlusiardi 088d1f24a0 add redirect if vehicle is not configured and flash messages 2016-08-16 13:21:54 +02:00
jlusiardi 87b3b02f3e add sqlite files to gitignore 2016-08-07 13:19:26 +02:00
jlusiardi c8a9404bf6 fixed use of os.environ 2016-08-07 13:18:39 +02:00
jlusiardi 4acf36112c add ids to pitstop elements 2016-08-07 13:18:04 +02:00
jlusiardi 4b73699750 Added ids to important elements 2016-08-06 10:59:20 +02:00
jlusiardi d393f19b47 Fixed wrong text 2016-08-06 10:59:03 +02:00
jlusiardi 44b92e58b5 use config variable to identify admin account while it is created 2016-08-03 08:13:39 +02:00
jlusiardi 1e7db29de9 add config variable to identify admin account while it is created 2016-08-03 08:12:06 +02:00
jlusiardi 938a7fc140 Removed dependency to mysql for testing 2016-08-03 08:09:58 +02:00
jlusiardi 49a45ba8a4 Merge branch 'development' into 'selenium_tests'
Sync Development to selenium tests



See merge request !27
2016-07-30 09:23:14 +02:00
jlusiardi adf51c85f2 Merge branch 'development' into 'master'
Development

Fixes:
 * wrong date preselected when creation a pitstop
 * creation of new vehicle

See merge request !26
2016-07-29 21:50:52 +02:00
jlusiardi 48d7c108f1 Merge branch '9-creation-of-new-vehicle-fails' into 'development'
Resolve "Creation of new vehicle fails"

Closes #9

See merge request !25
2016-07-29 21:12:30 +02:00
jlusiardi 7129e676e2 Fixed issue 9 2016-07-29 21:10:58 +02:00
jlusiardi aaa94f08fa Merge branch 'issue_8_wrong_date_on_creating_new_pitstop' into 'development'
fix issue 8



See merge request !24
2016-07-29 21:02:43 +02:00
jlusiardi 92fb25c1c1 fix issue 8 2016-07-25 18:54:27 +02:00
jlusiardi 5fa710149d Merge branch 'development' into 'master'
Merge preparation for Esther



See merge request !23
2016-07-24 11:26:34 +02:00
jlusiardi c815c2b09a Merge branch 'style_consumable_selection' into 'development'
Style consumable selection



See merge request !22
2016-07-23 13:14:05 +02:00
jlusiardi 529f9a6c64 Fixed problem with preselected values 2016-07-23 13:09:38 +02:00
jlusiardi bebccf0a36 Merge branch 'issue_7_really_delete_pitstop_page_does_not_show_all_information' into 'development'
Fix issue with missing information on pitstop delete page



See merge request !21
2016-07-21 19:14:45 +02:00
jlusiardi 89ebab29c4 Merge branch 'issue_6_pitstop_is_not_editable' into 'development'
Fixed the edit function



See merge request !20
2016-07-21 19:14:21 +02:00
jlusiardi a4ecae4700 Fix issue with missing information on pitstop delete page 2016-07-21 19:11:32 +02:00
jlusiardi 88f88591a9 Fixed the edit function 2016-07-21 19:03:04 +02:00
jlusiardi 473c2a4f5b Slight style improvement 2016-07-18 21:30:06 +02:00
jlusiardi bcc0541be3 Merge branch 'development' into selenium_tests 2016-07-17 10:09:01 +02:00
jlusiardi fd685c316d Update README.md 2016-07-17 10:06:19 +02:00
jlusiardi 112ed38dbd fixed SQL Error with MySQL 5.7.12 2016-07-17 10:03:56 +02:00
jlusiardi 2f737c1715 fixed DB URL 2016-07-17 10:02:41 +02:00
jlusiardi 5a447763d0 Merge branch 'development' into 'master'
Merge branch 'development' into 'master'

Merge preparation for  Danielle

This adds the following features:
 * Add accounting for additional consumable materials (#5)
 * Add cost field to pit stop (#4)
 * Make last pit stop editable / deletable (#3)

See merge request !19
2016-07-17 09:40:54 +02:00
jlusiardi cfb9dfabc0 Merge branch 'issue_5_more_consumable_material' into development
Conflicts:
	app/__init__.py
2016-07-17 09:22:38 +02:00
jlusiardi c0f6ef7b4f Merge branch 'pycharm' into 'development'
Fixed project structure for pycharm



See merge request !16
2016-07-17 08:10:04 +02:00
jlusiardi fdb8993ac3 Merge branch 'issue_5_more_consumable_material' into pycharm
Conflicts:
	app/__init__.py
	app/rollerverbrauch/templates/createPitStopForm.html
	app/rollerverbrauch/templates/newPitStopForm.html
	app/rollerverbrauch/templates/selectVehice.html
	app/rollerverbrauch/templates/selectVehicle.html
	app/templates/newPitStopForm.html
	app/templates/selectVehice.html
2016-07-16 19:29:25 +02:00
jlusiardi 1f5cb6b1fa Fixed issue with status on non-logged in index page 2016-07-16 13:29:32 +02:00
jlusiardi 2a524ffdbf Merge branch 'issue_5_more_consumable_material' into 'development'
Issue 5 more consumable material



See merge request !17
2016-07-16 12:12:43 +02:00
jlusiardi 1516ac2c51 db update script and some fixes 2016-07-16 12:07:01 +02:00
jlusiardi aa9fda93c0 statistics 3rd 2016-07-11 22:15:23 +02:00
jlusiardi ca5bd9bb02 statistics 2nd step 2016-07-11 06:59:34 +02:00
jlusiardi 4ea42a7efd first step for statistics 2016-07-10 13:40:49 +02:00
jlusiardi 43e3f9c98b . 2016-07-04 20:19:59 +02:00
jlusiardi 738bcb9f89 Fixed project structure for pycharm 2016-07-03 19:29:30 +02:00
jlusiardi af5d4ae6b3 cann add pitstops for selected vehicles / consumables 2016-06-29 22:50:01 +02:00
jlusiardi 907d0435d1 consumables for vehicles can be edited 2016-06-28 23:33:24 +02:00
jlusiardi fe4236eead renamed template for create a pitstop 2016-06-28 21:35:04 +02:00
jlusiardi a0be122186 reworked the crud funtions for vehicles 2016-06-27 22:09:42 +02:00
jlusiardi fa4126be66 adds update & delete for consumables
adds functionality to
* update
* delete
for consumables
2016-06-27 21:35:00 +02:00
jlusiardi 60f2e9f4e4 adds form to create a consumable 2016-06-27 20:08:49 +02:00
jlusiardi 5e24b9779e makes the name of a consumable unique
makes the column unique and extends the create form to respect the
uniqueness.
2016-06-27 19:48:04 +02:00
jlusiardi 90639a757d Merge branch 'development' into issue_5_more_consumable_material 2016-06-26 08:27:14 +02:00
jlusiardi 820063837d Merge branch 'issue_4_add_cost_field' into development 2016-06-26 08:26:33 +02:00
jlusiardi f2623cf6e9 bugfix for creating first pitstop of a vehicle 2016-06-26 08:25:53 +02:00
jlusiardi 1072142a1b adds consumables to database
this adds a new consumables entity to the database and
the possibility in the admin page to add these.
2016-06-26 08:19:28 +02:00
jlusiardi 56757f29a1 Merge branch 'issue_3_last_stop_editable' into 'development'
Issue 3 last stop editable



See merge request !15
2016-06-24 07:17:00 +02:00