geo-activity-playground 0.43.1__py3-none-any.whl → 0.43.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -95,16 +95,18 @@ def make_settings_blueprint(
95
95
  def index():
96
96
  return render_template("settings/index.html.j2")
97
97
 
98
- @blueprint.route("/admin-password")
98
+ @blueprint.route("/admin-password", methods=["GET", "POST"])
99
99
  @needs_authentication(authenticator)
100
100
  def admin_password() -> Response:
101
101
  if request.method == "POST":
102
102
  config_accessor().upload_password = request.form["password"]
103
103
  config_accessor.save()
104
104
  flasher.flash_message("Updated admin password.", FlashTypes.SUCCESS)
105
- return render_template(
106
- "settings/admin-password.html.j2",
107
- password=config_accessor().upload_password,
105
+ return Response(
106
+ render_template(
107
+ "settings/admin-password.html.j2",
108
+ password=config_accessor().upload_password,
109
+ )
108
110
  )
109
111
 
110
112
  @blueprint.route("/color-schemes", methods=["GET", "POST"])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: geo-activity-playground
3
- Version: 0.43.1
3
+ Version: 0.43.2
4
4
  Summary: Analysis of geo data activities like rides, runs or hikes.
5
5
  License: MIT
6
6
  Author: Martin Ueding
@@ -66,7 +66,7 @@ geo_activity_playground/webui/blueprints/heatmap_blueprint.py,sha256=iHI5YJYhX7Z
66
66
  geo_activity_playground/webui/blueprints/photo_blueprint.py,sha256=sYGp2XVGodkAifGHbEqpIY-7bBH5R7G7Dwg4HqgxMSY,7269
67
67
  geo_activity_playground/webui/blueprints/plot_builder_blueprint.py,sha256=7HrjpBM-608HSOh0i31Lmt7yDNMfWlEn6G7DlYqlV9w,3031
68
68
  geo_activity_playground/webui/blueprints/search_blueprint.py,sha256=Sv_KL1Cdai26y51qVfI-5jZLhtElREsEar1dbR_VAC4,2275
69
- geo_activity_playground/webui/blueprints/settings_blueprint.py,sha256=p_17BC2ZQyPu5VSl7evc5YyQmB3-L-WxgzOTv9UJsK0,17245
69
+ geo_activity_playground/webui/blueprints/settings_blueprint.py,sha256=8fh7mqtl7ixhKLqgm61x_X9ypsDZIwRenpphXnYdIZ8,17314
70
70
  geo_activity_playground/webui/blueprints/square_planner_blueprint.py,sha256=xVaxJxmt8Dysl3UL9f2y__LVLtTH2Np1Ust4OSXKRAk,4746
71
71
  geo_activity_playground/webui/blueprints/summary_blueprint.py,sha256=rK4LGR2Rpioy4wSqNYuyRn4WxaWeBLensJ3PmAd-ouY,11469
72
72
  geo_activity_playground/webui/blueprints/tile_blueprint.py,sha256=YzZf9OrNdjhc1_j4MtO1DMcw1uCv29ueNsYd-mWqgbg,837
@@ -152,8 +152,8 @@ geo_activity_playground/webui/templates/square_planner/index.html.j2,sha256=-OnY
152
152
  geo_activity_playground/webui/templates/summary/index.html.j2,sha256=soGpTK-pD81YBlMWNWLnkWeEmVIbI5JwmGZQUN2c3DI,9151
153
153
  geo_activity_playground/webui/templates/upload/index.html.j2,sha256=I1Ix8tDS3YBdi-HdaNfjkzYXVVCjfUTe5PFTnap1ydc,775
154
154
  geo_activity_playground/webui/templates/upload/reload.html.j2,sha256=YZWX5eDeNyqKJdQAywDBcU8DZBm22rRBbZqFjrFrCvQ,556
155
- geo_activity_playground-0.43.1.dist-info/LICENSE,sha256=4RpAwKO8bPkfXH2lnpeUW0eLkNWglyG4lbrLDU_MOwY,1070
156
- geo_activity_playground-0.43.1.dist-info/METADATA,sha256=cD_X2yhW8FOAo1wI7PzNahmKhm2nCHE4LXDKH4eltVo,1850
157
- geo_activity_playground-0.43.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
158
- geo_activity_playground-0.43.1.dist-info/entry_points.txt,sha256=pbNlLI6IIZIp7nPYCfAtiSiz2oxJSCl7DODD6SPkLKk,81
159
- geo_activity_playground-0.43.1.dist-info/RECORD,,
155
+ geo_activity_playground-0.43.2.dist-info/LICENSE,sha256=4RpAwKO8bPkfXH2lnpeUW0eLkNWglyG4lbrLDU_MOwY,1070
156
+ geo_activity_playground-0.43.2.dist-info/METADATA,sha256=5Nqg9sSH7zOUTBNC2v59uRfNl1f2EZ09CLZqzQonVSw,1850
157
+ geo_activity_playground-0.43.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
158
+ geo_activity_playground-0.43.2.dist-info/entry_points.txt,sha256=pbNlLI6IIZIp7nPYCfAtiSiz2oxJSCl7DODD6SPkLKk,81
159
+ geo_activity_playground-0.43.2.dist-info/RECORD,,