f573d1e1f03747455cc4bed411777deb0295a873
11 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| 7446e1c586 |
chore(deps): update dawarich to v1.6.0 (#5260)
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [Freika/dawarich](https://github.com/Freika/dawarich) | minor | `1.4.0` → `1.6.0` | | [freikin/dawarich](https://github.com/Freika/dawarich) | minor | `1.4.0` → `1.6.0` | --- ### Release Notes <details> <summary>Freika/dawarich (Freika/dawarich)</summary> ### [`v1.6.0`](https://github.com/Freika/dawarich/blob/HEAD/CHANGELOG.md#160---2026-03-29) [Compare Source](https://github.com/Freika/dawarich/compare/1.5.1...1.6.0) ##### Added - Immich users can now enrich their photos with geodata. - Users can now optionally enable two-factor authentication (2FA) for their accounts in Settings > Two-Factor Authentication. Supported methods: TOTP apps (Google Authenticator, Authy, etc.) and backup codes. Once enabled, users will be prompted for a 2FA code on login. This adds an extra layer of security to protect your location data. ##### Fixed - Fix OIDC account linking failing when the email from the identity provider has different casing than the existing Dawarich account [#​1983](https://github.com/Freika/dawarich/issues/1983). - Fix confirmation dialogs being ignored when clicking "Cancel" — destructive actions (account deletion, import/export deletion, place deletion) fired regardless of user choice due to Rails UJS and Turbo both handling the same click [#​1978](https://github.com/Freika/dawarich/issues/1978). - Fix Year in Review share link being empty when toggling public access [#​2418](https://github.com/Freika/dawarich/issues/2418). - Fix address field on Points page being empty when geodata properties are unavailable [#​2419](https://github.com/Freika/dawarich/issues/2419). - Fix Stats API returning the same country/city count for every year instead of per-year counts [#​2280](https://github.com/Freika/dawarich/issues/2280). - Fix flyover countries (with no visited cities) still showing in monthly stats views [#​2423](https://github.com/Freika/dawarich/issues/2423). - Fix importing Google Timeline files. [#​2427](https://github.com/Freika/dawarich/issues/2427) ### [`v1.5.1`](https://github.com/Freika/dawarich/blob/HEAD/CHANGELOG.md#151---2026-03-28) [Compare Source](https://github.com/Freika/dawarich/compare/1.5.0...1.5.1) ##### Fixed - Fix points and tracks interactions on Map v2 being unresponsive after the latest update. - Fix creating demo data from the onboarding modal. - Fix navbar for cloud trial users. - Reset months stats instead of deleting when there is no data. ### [`v1.5.0`](https://github.com/Freika/dawarich/blob/HEAD/CHANGELOG.md#150---2026-03-28) [Compare Source](https://github.com/Freika/dawarich/compare/1.4.0...1.5.0) ##### Added - GPS noise filtering. An automatic system to detect ahd filter out points with unrealistic speeds, altitudes, or sudden jumps. - Support for signing in via web view using our Android app. - On the map settings page user now can enable and disable map layers. - Onboarding modal now offers a third option to load demo data (3 days in Berlin, \~1000 points) so new users can instantly see what the map looks like. Demo imports bypass trial limits, are clearly labeled with a "Demo" badge, and can be deleted from a banner on the map page or from the imports list. - New tool to the Map V2 tools: The "Day per Country" button will open a modal showing a breakdown of how many days the user has spent in each country, based on their points data. This is calculated by grouping points by country and counting unique days with at least one point in that country. ##### Changed - \[Cloud] The point creation API endpoints are being excluded from the default Lite/Pro rate limits (200/1,000 requests/hour). They now have general rate limits of 10,000 requests/hour. - Buildings numbers on map V2 are now shown on closer zoom. ##### Fixed - Users who registered via Google (or other OAuth providers) can now change their password and email without needing to enter their current password. - Fix deadlocks in reverse geocoding job when multiple Sidekiq workers update points concurrently. - Fix `counter_cache_column` error in points counter reset job by using direct SQL count instead of `reset_counters`. - Fix duplicate place records causing `ON CONFLICT` cardinality violations during reverse geocoding. - Fix `TypeError` crash in transportation mode backfill when Google export files have unexpected JSON structure. - Fix inability to disable visit suggestions background job due to conflicting Rails UJS and Turbo handlers causing request cancellation [#​2118](https://github.com/Freika/dawarich/issues/2118). - Fix visit confirm/decline buttons firing twice [#​2379](https://github.com/Freika/dawarich/issues/2379). - Fix clicking on a point in Map v2 silently moving it to the cursor position. Points now only update when intentionally dragged [#​2149](https://github.com/Freika/dawarich/issues/2149), [#​2150](https://github.com/Freika/dawarich/issues/2150). - Fix visit name suggester not recognizing Photon reverse geocoding data format, causing all suggested places to show as "Suggested place" [#​2151](https://github.com/Freika/dawarich/issues/2151), [#​2377](https://github.com/Freika/dawarich/issues/2377). - Fix visit edit form displaying UTC times instead of the user's configured timezone [#​2168](https://github.com/Freika/dawarich/issues/2168). - Fix export deletion failing when the export file was manually removed from disk [#​915](https://github.com/Freika/dawarich/issues/915). - Fix PhotoPrism `before` date filter being off by one day, excluding photos taken on the end date [#​747](https://github.com/Freika/dawarich/issues/747). - Fix datetime inputs allowing 5-digit years on Chrome by adding `max` attribute to all datetime-local fields [#​578](https://github.com/Freika/dawarich/issues/578). - Fix Points page datetime fields requiring seconds input, preventing search on mobile browsers and some desktop browsers [#​1040](https://github.com/Freika/dawarich/issues/1040), [#​1478](https://github.com/Freika/dawarich/issues/1478). - Fix altitude values being truncated to integers instead of preserving decimal precision [#​1573](https://github.com/Freika/dawarich/issues/1573). - Fix suggested visits keeping "Suggested Visit" name when confirmed directly without selecting a place [#​1725](https://github.com/Freika/dawarich/issues/1725). - Fix visit name becoming empty and uneditable when clicking the name field and then clicking away [#​1776](https://github.com/Freika/dawarich/issues/1776). - Fix trips page crashing with `undefined method 'coordinates' for nil` when trip path calculation hasn't completed yet [#​1356](https://github.com/Freika/dawarich/issues/1356), [#​1765](https://github.com/Freika/dawarich/issues/1765). - Fix Immich/PhotoPrism photos on map not being filtered by the selected date range [#​1755](https://github.com/Freika/dawarich/issues/1755). - Fix short trips (less than one full day) not showing photos due to PhotoPrism `before` date filter being exclusive [#​1688](https://github.com/Freika/dawarich/issues/1688). - Fix health check endpoint (`/api/v1/health`) triggering unnecessary `User Load` database queries on every request [#​1770](https://github.com/Freika/dawarich/issues/1770). - Fix points created via Overland API (Home Assistant, GPSLogger) not being automatically reverse geocoded after creation [#​1242](https://github.com/Freika/dawarich/issues/1242). - Fix monthly stats map crashing with `Invalid LatLng object: (NaN, NaN)` when points have missing coordinates [#​1762](https://github.com/Freika/dawarich/issues/1762). - Fix trips failing with self-signed certificates by leveraging per-integration SSL skip settings [#​455](https://github.com/Freika/dawarich/issues/455). - Fix non-admin users unable to access Background Jobs settings to trigger reverse geocoding or manage visit suggestions [#​1714](https://github.com/Freika/dawarich/issues/1714). - Fix family page map not loading due to `escape_javascript` producing invalid JSON in the Stimulus data attribute. - Fix countries appearing in visited statistics despite only being driven through without spending meaningful time in any city [#​1595](https://github.com/Freika/dawarich/issues/1595), [#​1779](https://github.com/Freika/dawarich/issues/1779). - Fix `migrate_to_new_storage` rake task crashing when export URL is blank, already migrated, or points to a directory instead of a file [#​1018](https://github.com/Freika/dawarich/issues/1018), [#​1037](https://github.com/Freika/dawarich/issues/1037). - Fix selecting the only suggested place for a visit having no effect because the dropdown `change` event never fires with a single option [#​471](https://github.com/Freika/dawarich/issues/471). - Fix city duration calculation undercounting time spent due to integer division truncating sub-minute GPS intervals to zero [#​2408](https://github.com/Freika/dawarich/issues/2408). - Fix tooltips in data tables (Imports, Exports, Points) being hidden behind adjacent rows [#​2409](https://github.com/Freika/dawarich/issues/2409). - Fix iOS QR code in Account settings being cut off on the right side [#​2406](https://github.com/Freika/dawarich/issues/2406). </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My45OS4wIiwidXBkYXRlZEluVmVyIjoiNDMuOTkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZG9ja2VyIl19--> Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/5260 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net> |
|||
| dcf6944e61 |
feat: refactor more (#5119)
Reviewed-on: #5119 |
|||
| a6de6e60d6 |
chore(deps): update dawarich to v1.4.0 (#4976)
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [Freika/dawarich](https://github.com/Freika/dawarich) | minor | `1.3.4` → `1.4.0` | | [freikin/dawarich](https://github.com/Freika/dawarich) | minor | `1.3.4` → `1.4.0` | --- ### Release Notes <details> <summary>Freika/dawarich (Freika/dawarich)</summary> ### [`v1.4.0`](https://github.com/Freika/dawarich/blob/HEAD/CHANGELOG.md#140--Unreleased) [Compare Source](https://github.com/Freika/dawarich/compare/1.3.4...1.4.0) ##### Added - Family page now contains a map with family members markers on it. - Visits page now have "Confirm all" and "Decline all" buttons to quickly confirm or decline all visit suggestions at once. ##### Changed - Updated look and feel - The point counting was changed to be more efficient on bigger accounts. - Redesigned raw data archival system for large instances (10M+ points). Archival now runs per-user via Sidekiq jobs instead of a single sequential process, uses PK cursor-based queries instead of full table scans, and processes in 50K-point chunks with 5K-batch flag updates to minimize DB lock contention. Inline verification removed in favor of daily spot-checks. FK constraint changed from `ON DELETE nullify` to `ON DELETE RESTRICT` to prevent cascading updates on large tables. ##### Fixed - Fix Lite plan archival warnings sending all three notifications (11-month, 11.5-month, and 12-month) simultaneously when a user's oldest data already exceeds all thresholds. Now only the most severe warning is sent, and lower thresholds are marked as already notified. - Fix intermittent 502/504 errors caused by `User.reset_counters(:points)` running synchronously during OwnTracks, Overland, and API point creation. The full `COUNT(*)` query blocked web workers for 60–500+ seconds on large accounts, starving all other requests. Counter reset now runs as a background job. - Misconfigured Prometheus settings will no longer litter logs with error messages, it will make multiple attempts to connect instead and then stop. - One of previous versions removed a database index making points upload very slow. The index is now added back to fix the issue. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My44NC4yIiwidXBkYXRlZEluVmVyIjoiNDMuODQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW1hZ2UiXX0=--> Reviewed-on: #4976 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net> |
|||
| 92892732d0 | chore(deps): update dependency freika/dawarich to v1.3.4 (#4766) | |||
| 0e9d1eb85d |
chore(deps): update postgres-cluster docker tag to v7.10.0 (#4758)
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [postgres-cluster](https://github.com/cloudnative-pg/cloudnative-pg) | minor | `7.9.1` → `7.10.0` | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41OS4yIiwidXBkYXRlZEluVmVyIjoiNDMuNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiY2hhcnQiLCJpbWFnZSJdfQ==--> Reviewed-on: #4758 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net> |
|||
| fa7575d411 | chore(deps): update dependency freika/dawarich to v1.3.3 (#4713) | |||
| 085729cc95 |
chore(deps): update postgres-cluster docker tag to v7.9.1 (#4639)
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [postgres-cluster](https://github.com/cloudnative-pg/cloudnative-pg) | minor | `7.8.0` → `7.9.1` | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41OS4yIiwidXBkYXRlZEluVmVyIjoiNDMuNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiY2hhcnQiLCJpbWFnZSJdfQ==--> Reviewed-on: #4639 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net> |
|||
| 38f5fccfec |
chore(deps): update valkey docker tag to v0.4.0 (#4572)
All checks were successful
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [valkey](https://github.com/valkey-io/valkey) | minor | `0.3.0` → `0.4.0` | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41OS4yIiwidXBkYXRlZEluVmVyIjoiNDMuNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW1hZ2UiXX0=--> Reviewed-on: #4572 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net> |
|||
| eaee71046a |
chore(deps): update dependency freika/dawarich to v1.3.2 (#4543)
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [Freika/dawarich](https://github.com/Freika/dawarich) | patch | `1.3.1` → `1.3.2` | --- ### Release Notes <details> <summary>Freika/dawarich (Freika/dawarich)</summary> ### [`v1.3.2`](https://github.com/Freika/dawarich/blob/HEAD/CHANGELOG.md#132---2026-03-08) [Compare Source](https://github.com/Freika/dawarich/compare/1.3.1...1.3.2) **Important**: Self-hosters are not limited in any way. All features remain fully available regardless of plan. The new Lite plan and related limitations apply only to Dawarich Cloud users. If you're self-hosting, you can ignore the Lite plan details below. Self-hosted instances will continue to have access to all features without any restrictions. ##### Added - Lite plan for Dawarich Cloud. Lite includes core tracking, map visualization (routes, points), stats, and the read API. Data view is limited to the last 12 months — older data is archived but can always be exported. Pro-only features: Heatmap, Fog of War, Scratch Map, Globe View, Immich/Photoprism integrations, public stats sharing, and write API (update/delete). Lite users can still create points via the API. Self-hosted instances are unaffected — all features remain fully available regardless of plan. - Timed layer previews for Lite users on the map. Toggling a Pro-only layer (Heatmap, Fog of War, Scratch Map) shows it for 20 seconds with a countdown, then auto-hides with an upgrade prompt. - Per-plan API rate limiting via `rack-attack`. Lite: 200 requests/hour, Pro: 1,000 requests/hour. Self-hosted instances are exempt. Rate-limited responses return 429 with `Retry-After` header. - Archival warning notifications for Lite users approaching the 12-month data window: in-app notification at 11 months, email at 11.5 months, archived confirmation at 12 months. - `GET /api/v1/plan` endpoint returning the user's current plan and feature availability. - `X-Total-Points-In-Range` and `X-Scoped-Points` response headers on the points API, allowing clients to detect when data is being windowed. - Branded OAuth buttons for Google and GitHub on the login page. ##### Changed - Numeric-only strings passed to timestamp API parameters (e.g. `start_at`, `end_at`) are now treated as Unix timestamps directly. Previously they were passed through `Time.zone.parse`, which could return unexpected results. If you were relying on the old behavior for numeric strings, update your API calls accordingly. - The user serializer now includes `plan` in the `subscription` object. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41OS4yIiwidXBkYXRlZEluVmVyIjoiNDMuNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIiwiaW1hZ2UiXX0=--> Reviewed-on: #4543 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net> |
|||
| bb9a8d0a8c |
chore(deps): update valkey docker tag to v0.3.0 (#4479)
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [valkey](https://github.com/valkey-io/valkey) | minor | `0.2.0` → `0.3.0` | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41MS4wIiwidXBkYXRlZEluVmVyIjoiNDMuNTEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW1hZ2UiXX0=--> Reviewed-on: #4479 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net> |
|||
| ca21308ef4 | feat: add dawarich |