Commit graph

91 commits

Author SHA1 Message Date
Evgenii Burmakin
c8242ce902
0.36.3 (#2013)
* fix: move foreman to global gems to fix startup crash (#1971)

* Update exporting code to stream points data to file in batches to red… (#1980)

* Update exporting code to stream points data to file in batches to reduce memory usage

* Update changelog

* Update changelog

* Feature/maplibre frontend (#1953)

* Add a plan to use MapLibre GL JS for the frontend map rendering, replacing Leaflet

* Implement phase 1

* Phases 1-3 + part of 4

* Fix e2e tests

* Phase 6

* Implement fog of war

* Phase 7

* Next step: fix specs, phase 7 done

* Use our own map tiles

* Extract v2 map logic to separate manager classes

* Update settings panel on v2 map

* Update v2 e2e tests structure

* Reimplement location search in maps v2

* Update speed routes

* Implement visits and places creation in v2

* Fix last failing test

* Implement visits merging

* Fix a routes e2e test and simplify the routes layer styling.

* Extract js to modules from maps_v2_controller.js

* Implement area creation

* Fix spec problem

* Fix some e2e tests

* Implement live mode in v2 map

* Update icons and panel

* Extract some styles

* Remove unused file

* Start adding dark theme to popups on MapLibre maps

* Make popups respect dark theme

* Move v2 maps to maplibre namespace

* Update v2 references to maplibre

* Put place, area and visit info into side panel

* Update API to use safe settings config method

* Fix specs

* Fix method name to config in SafeSettings and update usages accordingly

* Add missing public files

* Add handling for real time points

* Fix remembering enabled/disabled layers of the v2 map

* Fix lots of e2e tests

* Add settings to select map version

* Use maps/v2 as main path for MapLibre maps

* Update routing

* Update live mode

* Update maplibre controller

* Update changelog

* Remove some console.log statements

* Pull only necessary data for map v2 points

* Feature/raw data archive (#2009)

* 0.36.2 (#2007)

* fix: move foreman to global gems to fix startup crash (#1971)

* Update exporting code to stream points data to file in batches to red… (#1980)

* Update exporting code to stream points data to file in batches to reduce memory usage

* Update changelog

* Update changelog

* Feature/maplibre frontend (#1953)

* Add a plan to use MapLibre GL JS for the frontend map rendering, replacing Leaflet

* Implement phase 1

* Phases 1-3 + part of 4

* Fix e2e tests

* Phase 6

* Implement fog of war

* Phase 7

* Next step: fix specs, phase 7 done

* Use our own map tiles

* Extract v2 map logic to separate manager classes

* Update settings panel on v2 map

* Update v2 e2e tests structure

* Reimplement location search in maps v2

* Update speed routes

* Implement visits and places creation in v2

* Fix last failing test

* Implement visits merging

* Fix a routes e2e test and simplify the routes layer styling.

* Extract js to modules from maps_v2_controller.js

* Implement area creation

* Fix spec problem

* Fix some e2e tests

* Implement live mode in v2 map

* Update icons and panel

* Extract some styles

* Remove unused file

* Start adding dark theme to popups on MapLibre maps

* Make popups respect dark theme

* Move v2 maps to maplibre namespace

* Update v2 references to maplibre

* Put place, area and visit info into side panel

* Update API to use safe settings config method

* Fix specs

* Fix method name to config in SafeSettings and update usages accordingly

* Add missing public files

* Add handling for real time points

* Fix remembering enabled/disabled layers of the v2 map

* Fix lots of e2e tests

* Add settings to select map version

* Use maps/v2 as main path for MapLibre maps

* Update routing

* Update live mode

* Update maplibre controller

* Update changelog

* Remove some console.log statements

---------

Co-authored-by: Robin Tuszik <mail@robin.gg>

* Remove esbuild scripts from package.json

* Remove sideEffects field from package.json

* Raw data archivation

* Add tests

* Fix tests

* Fix tests

* Update ExceptionReporter

* Add schedule to run raw data archival job monthly

* Change file structure for raw data archival feature

* Update changelog and version for raw data archival feature

---------

Co-authored-by: Robin Tuszik <mail@robin.gg>

* Set raw_data to an empty hash instead of nil when archiving

* Fix storage configuration and file extraction

* Consider MIN_MINUTES_SPENT_IN_CITY during stats calculation (#2018)

* Consider MIN_MINUTES_SPENT_IN_CITY during stats calculation

* Remove raw data from visited cities api endpoint

* Use user timezone to show dates on maps (#2020)

* Fix/pre epoch time (#2019)

* Use user timezone to show dates on maps

* Limit timestamps to valid range to prevent database errors when users enter pre-epoch dates.

* Limit timestamps to valid range to prevent database errors when users enter pre-epoch dates.

* Fix tests failing due to new index on stats table

* Fix failing specs

* Update redis client configuration to support unix socket connection

* Update changelog

* Fix kml kmz import issues (#2023)

* Fix kml kmz import issues

* Refactor KML importer to improve readability and maintainability

* Implement moving points in map v2 and fix route rendering logic to ma… (#2027)

* Implement moving points in map v2 and fix route rendering logic to match map v1.

* Fix route spec

* fix(maplibre): update date format to ISO 8601 (#2029)

* Add verification step to raw data archival process (#2028)

* Add verification step to raw data archival process

* Add actual verification of raw data archives after creation, and only clear raw_data for verified archives.

* Fix failing specs

* Eliminate zip-bomb risk

* Fix potential memory leak in js

* Return .keep files

* Use Toast instead of alert for notifications

* Add help section to navbar dropdown

* Update changelog

* Remove raw_data_archival_job

* Ensure file is being closed properly after reading in Archivable concern

---------

Co-authored-by: Robin Tuszik <mail@robin.gg>
2025-12-14 12:05:59 +01:00
Evgenii Burmakin
d5dbf002e0
0.36.1 (#1986)
* fix: move foreman to global gems to fix startup crash (#1971)

* Update exporting code to stream points data to file in batches to red… (#1980)

* Update exporting code to stream points data to file in batches to reduce memory usage

* Update changelog

* Update changelog

---------

Co-authored-by: Robin Tuszik <mail@robin.gg>
2025-11-29 19:59:26 +01:00
Evgenii Burmakin
b1393ee674
0.36.0 (#1952)
* Implement OmniAuth GitHub authentication

* Fix omniauth GitHub scope to include user email access

* Remove margin-bottom

* Implement Google OAuth2 authentication

* Implement OIDC authentication for Dawarich using omniauth_openid_connect gem.

* Add patreon account linking and patron checking service

* Update docker-compose.yml to use boolean values instead of strings

* Add support for KML files

* Add tests

* Update changelog

* Remove patreon OAuth integration

* Move omniauthable to a concern

* Update an icon in integrations

* Update changelog

* Update app version

* Fix family location sharing toggle

* Move family location sharing to its own controller

* Update changelog

* Implement basic tagging functionality for places, allowing users to categorize and label places with custom tags.

* Add places management API and tags feature

* Add some changes related to places management feature

* Fix some tests

* Fix sometests

* Add places layer

* Update places layer to use Leaflet.Control.Layers.Tree for hierarchical layer control

* Rework tag form

* Add hashtag

* Add privacy zones to tags

* Add notes to places and manage place tags

* Update changelog

* Update e2e tests

* Extract tag serializer to its own file

* Fix some tests

* Fix tags request specs

* Fix some tests

* Fix rest of the tests

* Revert some changes

* Add missing specs

* Revert changes in place export/import code

* Fix some specs

* Fix PlaceFinder to only consider global places when finding existing places

* Fix few more specs

* Fix visits creator spec

* Fix last tests

* Update place creating modal

* Add home location based on "Home" tagged place

* Save enabled tag layers

* Some fixes

* Fix bug where enabling place tag layers would trigger saving enabled layers, overwriting with incomplete data

* Update migration to use disable_ddl_transaction! and add up/down methods

* Fix tag layers restoration and filtering logic

* Update OIDC auto-registration and email/password registration settings

* Fix potential xss
2025-11-24 19:45:09 +01:00
Eugene Burmakin
98a157bd0b Update changelog 2025-11-07 23:42:21 +01:00
Eugene Burmakin
f48a512b10 Remove strong_migrations gem for now 2025-11-07 20:18:56 +01:00
Eugene Burmakin
313354bf7c Add invitation link to pending family invitations email 2025-11-07 12:07:58 +01:00
Evgenii Burmakin
9378e330e4
Merge pull request #1901 from Freika/snyk-fix-aea4b5cbee2b3982ae9efca09e791ad1
[Snyk] Fix for 6 vulnerabilities
2025-11-07 11:17:09 +01:00
dependabot[bot]
6a3f7aebac
Bump rails from 8.0.2.1 to 8.0.3
Bumps [rails](https://github.com/rails/rails) from 8.0.2.1 to 8.0.3.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v8.0.2.1...v8.0.3)

---
updated-dependencies:
- dependency-name: rails
  dependency-version: 8.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-30 19:02:17 +00:00
Eugene Burmakin
6787273713 Updte map view 2025-10-30 19:16:38 +01:00
snyk-bot
67d3c9c9f5
fix: Gemfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-RUBY-RACK-13535097
- https://snyk.io/vuln/SNYK-RUBY-RACK-13378928
- https://snyk.io/vuln/SNYK-RUBY-RACK-13378930
- https://snyk.io/vuln/SNYK-RUBY-RACK-13378932
- https://snyk.io/vuln/SNYK-RUBY-RACK-13524628
- https://snyk.io/vuln/SNYK-RUBY-URI-13506785
2025-10-30 10:26:19 +00:00
Eugene Burmakin
4a226638c3 Update gems 2025-10-26 10:40:47 +01:00
Evgenii Burmakin
8ba5fae588
Merge branch 'dev' into snyk-fix-21fbcb4a3ab995dda78811462b6f003a 2025-10-26 10:27:08 +01:00
dependabot[bot]
2accbeef3d
Bump rubyzip from 3.1.0 to 3.2.0
Bumps [rubyzip](https://github.com/rubyzip/rubyzip) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/rubyzip/rubyzip/releases)
- [Changelog](https://github.com/rubyzip/rubyzip/blob/main/Changelog.md)
- [Commits](https://github.com/rubyzip/rubyzip/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: rubyzip
  dependency-version: 3.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 14:49:44 +00:00
snyk-bot
d46cd2dc74
fix: Gemfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-RUBY-RACK-13535097
- https://snyk.io/vuln/SNYK-RUBY-RACK-13524628
- https://snyk.io/vuln/SNYK-RUBY-URI-13506785
2025-10-16 11:00:00 +00:00
Evgenii Burmakin
dd5ae17b0f
Merge pull request #1743 from Freika/dependabot/bundler/rubyzip-3.1.0
Bump rubyzip from 2.4.1 to 3.1.0
2025-09-26 19:52:59 +02:00
Eugene Burmakin
a53bd0a4bd Add staging environment configuration 2025-09-26 19:48:52 +02:00
Eugene Burmakin
c67532bb10 Reimplement hexagons with H3 2025-09-17 01:55:42 +02:00
dependabot[bot]
8e75a51c41
Bump rubyzip from 2.4.1 to 3.1.0
Bumps [rubyzip](https://github.com/rubyzip/rubyzip) from 2.4.1 to 3.1.0.
- [Release notes](https://github.com/rubyzip/rubyzip/releases)
- [Changelog](https://github.com/rubyzip/rubyzip/blob/main/Changelog.md)
- [Commits](https://github.com/rubyzip/rubyzip/compare/v2.4.1...v3.1.0)

---
updated-dependencies:
- dependency-name: rubyzip
  dependency-version: 3.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-13 16:58:32 +00:00
Eugene Burmakin
dcd1c7ab2b Add some refactorings 2025-09-13 16:41:28 +02:00
Eugene Burmakin
fc068ec79d Add Lucide icons and stats sharing 2025-09-11 20:41:43 +02:00
Eugene Burmakin
71488c9fb1 Add trial mode 2025-08-13 20:25:48 +02:00
Eugene Burmakin
48d464d5bb Add parallel gem to Gemfile 2025-07-02 21:38:00 +02:00
Eugene Burmakin
631ee0e64c Clean up specs a bit 2025-06-26 19:48:42 +02:00
Eugene Burmakin
7988fadd5f User export: exporting exports and imports data with files 2025-06-25 21:14:33 +02:00
Eugene Burmakin
767629b21e Remove solid trifecta 2025-06-09 13:50:43 +02:00
Eugene Burmakin
b76602d9c8 Return sidekiq and redis to Dawarich 2025-06-09 13:39:25 +02:00
Eugene Burmakin
1c38f691cf Use geocoder from a private fork for debugging purposes. 2025-06-08 17:02:56 +02:00
Eugene Burmakin
6d39f4306f Remove Redis and Sidekiq from Dawarich 2025-06-02 20:53:35 +02:00
Eugene Burmakin
48eb55f621 Update changelog and add a spec 2025-05-31 21:58:50 +02:00
Eugene Burmakin
8e2d63a49f Update database configuration for SQLite databases 2025-05-31 19:54:12 +02:00
Eugene Burmakin
3a955b8e51 Introduce SolidCache 2025-05-31 14:00:52 +02:00
Eugene Burmakin
855872d166 Merge remote-tracking branch 'origin' into feature/solid-queue-rewamp 2025-05-30 19:20:58 +02:00
Eugene Burmakin
f5cefdbd03 Add system tests for map interaction 2025-05-26 20:33:48 +02:00
Eugene Burmakin
35a0533b2b Move to solid_queue 2025-05-17 23:05:52 +02:00
Eugene Burmakin
5fbc1fb884 Make sure geocoder errors are reported 2025-05-13 20:33:04 +02:00
Eugene Burmakin
79f2522f54 Fetch countries for a trip via geocoding service 2025-05-13 19:43:02 +02:00
Eugene Burmakin
52aefa109e Skip points without lonlat and timestamp from Owntracks 2025-05-12 21:41:55 +02:00
Eugene Burmakin
b0b0a11c30 Fix few errors 2025-04-12 13:06:32 +02:00
Eugene Burmakin
41604d71a6 Add brakeman and some tests 2025-04-04 22:16:52 +02:00
Eugene Burmakin
99bb982792 Merge from dev 2025-04-04 20:14:44 +02:00
Eugene Burmakin
e368df4e10 Add JWT authentication to the Manager app 2025-02-26 22:08:12 +01:00
Eugene Burmakin
383b88ab04 Speed up some importing processes 2025-02-22 23:14:23 +01:00
Eugene Burmakin
d9eac91834 Introduce latlon to Points and use it instead of latitude and longitude. 2025-02-21 23:45:36 +01:00
Eugene Burmakin
6072e46aff Update Ruby version in CircleCI 2025-02-06 19:38:14 +01:00
Eugene Burmakin
1df5d514e1 Update Ruby to 3.4.1 and replace alpine docker image with bookworm 2025-02-05 18:56:06 +01:00
Eugene Burmakin
27714985de Change base image to slim 2025-02-01 18:52:26 +01:00
Eugene Burmakin
7db7fb17d5 Add path to trips 2025-01-24 12:01:54 +01:00
Eugene Burmakin
9077889b40 Add PostGIS adapter 2025-01-23 14:03:08 +01:00
Eugene Burmakin
cd31fb4cf0 Add database constraints for users table 2024-12-26 21:34:10 +01:00
Eugene Burmakin
5f93bf8522 Update to Rails 8.0.1 2024-12-17 12:56:21 +01:00