Commit Graph

63 Commits

Author SHA1 Message Date
Joachim Lusiardi ef55b4e479 First step 2016-05-24 23:55:58 +02:00
Joachim Lusiardi 19b1e3b7ae Handle vehicle name uniqueness
Vehicle names now must be only unique per owner, not globally.
Also errors are displayed to the forms on creation and edit of
vehicles.
2016-05-16 18:46:24 +02:00
Joachim Lusiardi c5305caf36 switched to configurable db 2016-05-05 15:06:29 +02:00
Joachim Lusiardi e1e5fe7725 Little Improvements
Help text for create pitstops form
More precise error messages for create pitstops form
Fixed bu in statistics page when only one pitstop was present
2016-05-03 22:21:57 +02:00
Joachim Lusiardi 471f1415d9 Removed print 2016-05-02 08:03:24 +02:00
Joachim Lusiardi 6b861903af add consumption chart 2016-05-02 07:59:31 +02:00
Joachim Lusiardi 706f30e2e2 switched off drop representation 2016-05-02 07:59:14 +02:00
Joachim Lusiardi cc7d2620e8 Worked on charts 2016-05-02 06:42:43 +02:00
Joachim Lusiardi 161cc16498 continued work ok charts 2016-04-30 06:41:59 +02:00
Joachim Lusiardi ef976299dc Fix PEP8 error 2016-04-28 22:33:14 +02:00
Joachim Lusiardi 60293d6a27 Demo Chart 2016-04-28 07:53:53 +02:00
Joachim Lusiardi 13a5b07df2 fixed variable name 2016-04-28 07:10:44 +02:00
Joachim Lusiardi fd206de263 add logging for performed db operations 2016-04-28 06:32:51 +02:00
Joachim Lusiardi 3e2d62b28f improved design of the form elements 2016-04-27 07:23:28 +02:00
Joachim Lusiardi ca7166f731 fixed stats 2016-04-25 22:28:35 +02:00
Joachim Lusiardi 34905921d9 fixes display of last pitstops
the display of the last pitstops now is separated by vehicle.
2016-04-25 07:23:01 +02:00
Joachim Lusiardi 038e255b56 can add pitstops to vehicles nows 2016-04-24 14:09:41 +02:00
Joachim Lusiardi 3709eddabb prevents the deletion of vehicles of other users 2016-04-24 12:42:07 +02:00
Joachim Lusiardi c941e1bccf finished modules merge 2016-04-23 23:24:25 +02:00
Joachim Lusiardi 7bc5422687 Merge branch 'create_modules' into add_vehicles
Conflicts:
	app/main.py
2016-04-23 23:22:44 +02:00
Joachim Lusiardi 0d8ae0cd18 introduces modules 2016-04-23 23:08:39 +02:00
Joachim Lusiardi 267c59cbb3 adds create and delete vehicle 2016-04-23 17:11:43 +02:00
Joachim Lusiardi d19b0a5858 adds edit vehicle name 2016-04-23 11:20:39 +02:00
Joachim Lusiardi 729fee51e9 Merge branch 'user_handling' into add_vehicles
Conflicts:
	app/main.py
2016-04-21 21:52:58 +02:00
Joachim Lusiardi 0303be7945 more user handling features of flask-security activated
Now users can recover their passwords and change them while
logged in.
2016-04-21 08:11:57 +02:00
Joachim Lusiardi 01798e9548 adds admin page
admin users must have role admin (which must currently be set
manually via database)
2016-04-19 22:41:40 +02:00
Joachim Lusiardi 9eb7ec7c8a switched to environment variable for config file lookup 2016-04-19 21:09:15 +02:00
Joachim Lusiardi 344db8d998 add example config file 2016-04-19 08:19:31 +02:00
Joachim Lusiardi 1240a3c64b Users are allowed to register now
This includes sending a welcome email.
2016-04-19 07:39:17 +02:00
Joachim Lusiardi baca41619d first iteration of vehicles 2016-04-19 06:47:10 +02:00
Joachim Lusiardi 2e0fc3b772 Merge branch 'master' into user_handling
Conflicts:
	app/main.py
	app/requirements.txt
2016-04-18 21:43:01 +02:00
Joachim Lusiardi 4c97bd86db Fixed date vs datetime 2016-04-18 20:58:20 +02:00
Joachim Lusiardi 1998fcb7d8 Merge branch 'master' into wtforms
Conflicts:
	app/main.py
2016-04-18 20:34:39 +02:00
Joachim Lusiardi 01019c22d9 add switch for debugger 2016-04-18 08:13:27 +02:00
Joachim Lusiardi 864b7822ac Changed to WTForms including validation 2016-04-18 07:25:40 +02:00
Joachim Lusiardi 6f218e591f add render_field macro to layout.html 2016-04-17 15:06:54 +02:00
Joachim Lusiardi 8c8803874e First step for WTForms 2016-04-17 12:50:31 +02:00
Joachim Lusiardi 6ed4110ce9 logout only if logged in 2016-04-17 09:59:34 +02:00
Joachim Lusiardi a9b2781ae3 custom login form added 2016-04-17 09:34:11 +02:00
Joachim Lusiardi f6f1d960b7 Add logout button to menu 2016-04-17 09:05:59 +02:00
Joachim Lusiardi bbfa7b9341 First step towards flask security user handling 2016-04-17 08:59:11 +02:00
Joachim Lusiardi fc421558b0 switched to Flask-SQLAlchemy for db handling 2016-04-16 15:48:24 +02:00
Joachim Lusiardi fb521194f7 Reduce services feature and reformatting 2016-04-14 07:32:06 +02:00
Joachim Lusiardi a12d5f541b Add authentication for pre-existing users. 2015-08-03 22:24:55 +02:00
Joachim Lusiardi eb77d03ea3 App now runs on empty DB. 2015-08-02 22:45:03 +02:00
joachim lusiardi 56bf707e3b next try with icons 2015-03-22 13:31:03 +01:00
joachim lusiardi 6b4a3ab48a added active class to show which tab is active in services overview 2015-03-22 13:02:55 +01:00
joachim lusiardi 6daae927f9 tuned apple icon 2015-03-22 11:02:59 +01:00
joachim lusiardi 915dc01fc3 second try for apple icons 2015-03-22 10:54:33 +01:00
root 5b03dd6ad0 added icon for apple
added tabbing for services
2015-03-22 10:07:15 +01:00