Commit graph

2215 commits

Author SHA1 Message Date
Eugene Burmakin
ce4fcc29c3 Add data on subscription status to user serializer unless self-hosted 2025-09-21 15:41:07 +02:00
Eugene Burmakin
e3795981e3 Update registratuion_controller.rb to handle turbo_stream format for iOS auth 2025-09-21 15:27:17 +02:00
Eugene Burmakin
550b405398 Update form 2025-09-21 15:18:11 +02:00
Eugene Burmakin
c8d54f0ed6 Update application_controller to store client header in session 2025-09-21 14:12:18 +02:00
Eugene Burmakin
69cae258c9 Save html format if iOS client header is present 2025-09-21 14:00:24 +02:00
Eugene Burmakin
20c2bc34cd Store client header in session to persist across redirects 2025-09-21 13:51:26 +02:00
Eugene Burmakin
5347232376 Update spec/requests/authentication_spec.rb 2025-09-21 13:22:07 +02:00
Eugene Burmakin
c0e756d085 Introduce iOS authentication flow with JWT token generation 2025-09-21 12:46:59 +02:00
Eugene Burmakin
d6a3200632 Update migration 2025-09-20 15:55:10 +02:00
Eugene Burmakin
f223feb854 Add safety_assured block for index creation 2025-09-20 15:53:27 +02:00
Evgenii Burmakin
482c0928fe
Merge pull request #1763 from Freika/feature/precalculating-month-stats-data
Precalculate hexagons for stats
2025-09-20 14:46:39 +02:00
Eugene Burmakin
1043d572fe Fix failing specs 2025-09-20 14:25:16 +02:00
Eugene Burmakin
339ba3130e Fix missing hexagons 2025-09-20 14:05:14 +02:00
Eugene Burmakin
c756346569 Refactor H3 hexagon calculation logic to improve clarity and maintainability 2025-09-20 13:23:24 +02:00
Eugene Burmakin
798e98e52e Don't start prometheus in console 2025-09-20 12:58:18 +02:00
Eugene Burmakin
3450ca35b0 Extract hexagon calculation to its own service 2025-09-20 12:57:30 +02:00
Eugene Burmakin
2c55ca07e7 Remove permanent option from stats sharing options, default to 24h expiration. 2025-09-19 23:49:32 +02:00
Eugene Burmakin
a20a3c5b36 Fix missing hexes 2025-09-19 22:52:08 +02:00
Eugene Burmakin
2fe36f02d6 Fix failing model spec 2025-09-19 22:12:34 +02:00
Eugene Burmakin
a1e83991fa Fix jobs specs 2025-09-19 21:48:43 +02:00
Eugene Burmakin
e169cc7074 Fix failing specs 2025-09-19 21:37:31 +02:00
Eugene Burmakin
584daadb5c Fix failing specs 2025-09-19 19:55:27 +02:00
Eugene Burmakin
2bd0390d1a Rename hexagon_centers to h3_hex_ids and update related logic 2025-09-19 00:23:12 +02:00
Eugene Burmakin
440b031a0c Remove redundant spec 2025-09-18 22:57:58 +02:00
Eugene Burmakin
0cce4929f0 Remove unused code 2025-09-18 22:23:47 +02:00
Eugene Burmakin
5db2ac7fac Refactor hexagon services to remove Maps::HexagonContextResolver and improve date parsing 2025-09-18 21:21:54 +02:00
Eugene Burmakin
a97e133b35 Remove unsed class 2025-09-18 20:15:49 +02:00
Eugene Burmakin
ab765a4370 Rename params 2025-09-18 20:10:00 +02:00
Eugene Burmakin
3fd7634657 Simplify some services by removing unused parameters and validations 2025-09-18 20:02:18 +02:00
Eugene Burmakin
0905ef65a5 Don't pass h3_resolution from frontend; use default in backend service 2025-09-18 19:45:53 +02:00
Eugene Burmakin
5b3fe84933 Update onborading popup 2025-09-18 18:29:46 +02:00
Eugene Burmakin
c67532bb10 Reimplement hexagons with H3 2025-09-17 01:55:42 +02:00
Eugene Burmakin
eb16959b9a Extract logic to service classes 2025-09-16 20:41:53 +02:00
Eugene Burmakin
8c45404420 Fix hexagons render 2025-09-15 20:10:53 +02:00
Eugene Burmakin
6314442770 Calculate only centers of hexagons 2025-09-14 12:41:16 +02:00
Eugene Burmakin
dc13bc1fd2 Update public_month page 2025-09-13 23:23:48 +02:00
Eugene Burmakin
a2aa1be271 Precalculate hexagons for stats 2025-09-13 23:11:42 +02:00
Evgenii Burmakin
bab666b182
Merge pull request #1761 from Freika/fix/stat-sharing-migration
Update migration
2025-09-13 21:35:28 +02:00
Eugene Burmakin
8a6156a56c Update migration 2025-09-13 21:26:55 +02:00
dependabot[bot]
ac6490818d
Bump rubocop-rails from 2.32.0 to 2.33.3
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.32.0 to 2.33.3.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.32.0...v2.33.3)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-version: 2.33.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-13 16:58:34 +00:00
dependabot[bot]
591c12da61
Bump factory_bot_rails from 6.5.0 to 6.5.1
Bumps [factory_bot_rails](https://github.com/thoughtbot/factory_bot_rails) from 6.5.0 to 6.5.1.
- [Release notes](https://github.com/thoughtbot/factory_bot_rails/releases)
- [Changelog](https://github.com/thoughtbot/factory_bot_rails/blob/main/NEWS.md)
- [Commits](https://github.com/thoughtbot/factory_bot_rails/compare/v6.5.0...v6.5.1)

---
updated-dependencies:
- dependency-name: factory_bot_rails
  dependency-version: 6.5.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-13 16:58:33 +00: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
dependabot[bot]
a1c34ba7e9
Bump pg from 1.5.9 to 1.6.2
Bumps [pg](https://github.com/ged/ruby-pg) from 1.5.9 to 1.6.2.
- [Changelog](https://github.com/ged/ruby-pg/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ged/ruby-pg/compare/v1.5.9...v1.6.2)

---
updated-dependencies:
- dependency-name: pg
  dependency-version: 1.6.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-13 16:58:31 +00:00
dependabot[bot]
6c77b56489
Bump ffaker from 2.24.0 to 2.25.0
Bumps [ffaker](https://github.com/ffaker/ffaker) from 2.24.0 to 2.25.0.
- [Release notes](https://github.com/ffaker/ffaker/releases)
- [Changelog](https://github.com/ffaker/ffaker/blob/main/Changelog.md)
- [Commits](https://github.com/ffaker/ffaker/commits)

---
updated-dependencies:
- dependency-name: ffaker
  dependency-version: 2.25.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-13 16:58:30 +00:00
Evgenii Burmakin
7f4403021f
Merge pull request #1748 from Freika/dev
0.32.0
2025-09-13 18:57:24 +02:00
Eugene Burmakin
e6f74fc6ab Update query to use lonlat column for bounds calculation 2025-09-13 18:54:02 +02:00
Eugene Burmakin
f99319b23d Update app version 2025-09-13 18:37:03 +02:00
Eugene Burmakin
f80b2a1aff Fix last failing specs 2025-09-13 18:30:26 +02:00
Eugene Burmakin
0ed71c3cc6 Fix failing specs 2025-09-13 17:46:45 +02:00
Eugene Burmakin
1394d6202c Fix potential sql injection 2025-09-13 17:04:48 +02:00