geo-activity-playground 0.43.2__tar.gz → 0.43.3__tar.gz
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.
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/PKG-INFO +1 -1
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/blueprints/explorer_blueprint.py +2 -1
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/blueprints/settings_blueprint.py +4 -4
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/blueprints/upload_blueprint.py +1 -1
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/pyproject.toml +1 -1
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/LICENSE +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/__init__.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/__main__.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/alembic/README +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/alembic/env.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/alembic/script.py.mako +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/alembic/versions/38882503dc7c_add_tags_to_activities.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/alembic/versions/451e7836b53d_add_square_planner_bookmark.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/alembic/versions/63d3b7f6f93c_initial_version.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/alembic/versions/93cc82ad1b60_add_parametricplotspec.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/alembic/versions/ab83b9d23127_add_upstream_id.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/alembic/versions/b03491c593f6_add_crop_indices.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/alembic/versions/da2cba03b71d_add_photos.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/alembic/versions/e02e27876deb_add_square_planner_bookmark_name.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/alembic/versions/script.py.mako +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/__init__.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/activities.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/config.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/coordinates.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/datamodel.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/enrichment.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/heart_rate.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/meta_search.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/missing_values.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/parametric_plot.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/paths.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/privacy_zones.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/raster_map.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/similarity.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/summary_stats.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/tasks.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/test_datamodel.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/test_meta_search.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/test_missing_values.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/test_summary_stats.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/test_tiles.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/test_time_conversion.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/tiles.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/core/time_conversion.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/explorer/__init__.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/explorer/grid_file.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/explorer/tile_visits.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/explorer/video.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/heatmap_video.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/importers/__init__.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/importers/activity_parsers.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/importers/csv_parser.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/importers/directory.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/importers/strava_api.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/importers/strava_checkout.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/importers/test_csv_parser.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/importers/test_directory.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/importers/test_strava_api.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/__init__.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/app.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/authenticator.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/blueprints/__init__.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/blueprints/activity_blueprint.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/blueprints/auth_blueprint.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/blueprints/bubble_chart_blueprint.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/blueprints/calendar_blueprint.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/blueprints/eddington_blueprints.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/blueprints/entry_views.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/blueprints/equipment_blueprint.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/blueprints/heatmap_blueprint.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/blueprints/photo_blueprint.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/blueprints/plot_builder_blueprint.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/blueprints/search_blueprint.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/blueprints/square_planner_blueprint.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/blueprints/summary_blueprint.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/blueprints/tile_blueprint.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/columns.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/flasher.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/plot_util.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/search_util.py +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/Leaflet.fullscreen.min.js +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/MarkerCluster.Default.css +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/MarkerCluster.css +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/android-chrome-192x192.png +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/android-chrome-512x512.png +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/apple-touch-icon.png +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/bootstrap-dark-mode.js +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/bootstrap.bundle.min.js +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/bootstrap.min.css +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/browserconfig.xml +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/favicon-16x16.png +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/favicon-32x32.png +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/favicon-48x48.png +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/favicon.ico +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/favicon.svg +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/fullscreen.png +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/fullscreen@2x.png +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/images/layers-2x.png +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/images/layers.png +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/images/marker-icon-2x.png +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/images/marker-icon.png +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/images/marker-shadow.png +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/leaflet.css +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/leaflet.fullscreen.css +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/leaflet.js +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/leaflet.markercluster.js +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/mstile-150x150.png +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/site.webmanifest +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/table-sort.min.js +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/vega-embed@6 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/vega-lite@4 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/vega@5 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/web-app-manifest-192x192.png +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/static/web-app-manifest-512x512.png +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/activity/day.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/activity/edit.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/activity/lines.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/activity/name.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/activity/show.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/activity/trim.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/auth/index.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/bubble_chart/index.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/calendar/index.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/calendar/month.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/eddington/distance.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/eddington/elevation_gain.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/elevation_eddington/index.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/equipment/index.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/explorer/index.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/explorer/server-side.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/heatmap/index.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/home.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/page.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/photo/map.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/photo/new.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/plot_builder/edit.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/plot_builder/index.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/search/index.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/search_form.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/settings/admin-password.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/settings/color-schemes.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/settings/heart-rate.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/settings/index.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/settings/manage-equipments.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/settings/manage-kinds.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/settings/metadata-extraction.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/settings/privacy-zones.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/settings/segmentation.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/settings/sharepic.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/settings/strava.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/settings/tags-edit.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/settings/tags-list.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/settings/tags-new.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/square_planner/index.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/summary/index.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/upload/index.html.j2 +0 -0
- {geo_activity_playground-0.43.2 → geo_activity_playground-0.43.3}/geo_activity_playground/webui/templates/upload/reload.html.j2 +0 -0
@@ -212,7 +212,8 @@ def make_explorer_blueprint(
|
|
212
212
|
width = 256 // factor
|
213
213
|
for xo in range(factor):
|
214
214
|
for yo in range(factor):
|
215
|
-
|
215
|
+
tile = (x * factor + xo, y * factor + yo)
|
216
|
+
if tile not in tile_visits:
|
216
217
|
map_tile[
|
217
218
|
yo * width : (yo + 1) * width, xo * width : (xo + 1) * width
|
218
219
|
] = grayscale[
|
@@ -160,11 +160,11 @@ def make_settings_blueprint(
|
|
160
160
|
assert len(ids) == len(names) == len(offsets)
|
161
161
|
for id, name, offset in zip(ids, names, offsets):
|
162
162
|
if id:
|
163
|
-
equipment = DB.session.
|
163
|
+
equipment = DB.session.get_one(Equipment, int(id))
|
164
164
|
equipment.name = name
|
165
165
|
equipment.offset_km = int(float(offset))
|
166
166
|
if not id and name:
|
167
|
-
equipment = Equipment(name)
|
167
|
+
equipment = Equipment(name=name)
|
168
168
|
if offset:
|
169
169
|
equipment.offset_km = int(float(offset))
|
170
170
|
DB.session.add(equipment)
|
@@ -193,11 +193,11 @@ def make_settings_blueprint(
|
|
193
193
|
assert len(ids) == len(names)
|
194
194
|
for id, name in zip(ids, names):
|
195
195
|
if id:
|
196
|
-
kind = DB.session.
|
196
|
+
kind = DB.session.get_one(Kind, int(id))
|
197
197
|
kind.name = name
|
198
198
|
kind.consider_for_achievements = id in consider_for_achievements
|
199
199
|
if not id and name:
|
200
|
-
kind = Kind(name)
|
200
|
+
kind = Kind(name=name)
|
201
201
|
if consider_for_achievements:
|
202
202
|
kind.consider_for_achievements = (
|
203
203
|
"new" in consider_for_achievements
|
@@ -124,7 +124,7 @@ def scan_for_activities(
|
|
124
124
|
kind.consider_for_achievements = True
|
125
125
|
DB.session.commit()
|
126
126
|
tile_visit_accessor.reset()
|
127
|
-
work_tracker_path("tile-state").unlink()
|
127
|
+
work_tracker_path("tile-state").unlink(missing_ok=True)
|
128
128
|
compute_tile_visits_new(repository, tile_visit_accessor)
|
129
129
|
compute_tile_evolution(tile_visit_accessor.tile_state, config)
|
130
130
|
tile_visit_accessor.save()
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|