Commit graph

2487 commits

Author SHA1 Message Date
Eugene Burmakin
904fdaf8be Add spec for MINIMUM_POINTS_IN_CITY = 3 2024-04-02 23:33:03 +02:00
Eugene Burmakin
0afea82aae Add spec for CountriesAndCities service 2024-04-02 23:31:42 +02:00
Eugene Burmakin
111667ce5a Add a spec for CreateStats service 2024-04-02 23:26:26 +02:00
Eugene Burmakin
48962e87e8 Add some unit tests 2024-04-02 23:20:25 +02:00
Eugene Burmakin
5544bcd5ff Move point creation to a background job, add months navigation to the sidebar 2024-04-02 17:37:38 +02:00
dependabot[bot]
21fa858ea4
Bump debug from 1.9.1 to 1.9.2
Bumps [debug](https://github.com/ruby/debug) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/ruby/debug/releases)
- [Commits](https://github.com/ruby/debug/compare/v1.9.1...v1.9.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 14:40:24 +00:00
Eugene Burmakin
b6769676c3 Fix google import and add stats for countries and cities visited and distance traveled by year 2024-03-28 15:11:59 +01:00
dependabot[bot]
650ad7d4b0
Bump rubocop-rails from 2.24.0 to 2.24.1
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.24.0 to 2.24.1.
- [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.24.0...v2.24.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 14:50:45 +00:00
Eugene Burmakin
2398b83b2e
Merge pull request #1 from Freika/dependabot/bundler/shoulda-matchers-6.2.0
Bump shoulda-matchers from 6.1.0 to 6.2.0
2024-03-24 21:09:31 +01:00
Eugene Burmakin
1b89f693d0
Merge pull request #2 from Freika/dependabot/bundler/rspec-rails-6.1.2
Bump rspec-rails from 6.1.1 to 6.1.2
2024-03-24 21:09:21 +01:00
Eugene Burmakin
68c64f9d17 Add screenshots to README.md 2024-03-24 21:07:32 +01:00
dependabot[bot]
4c5a3f34bb
Bump rspec-rails from 6.1.1 to 6.1.2
Bumps [rspec-rails](https://github.com/rspec/rspec-rails) from 6.1.1 to 6.1.2.
- [Changelog](https://github.com/rspec/rspec-rails/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-rails/compare/v6.1.1...v6.1.2)

---
updated-dependencies:
- dependency-name: rspec-rails
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-24 19:47:45 +00:00
Eugene Burmakin
9f9e0123b3 Update docker-compose.yml to use freikin/dawarich:0.1.0 image 2024-03-24 20:47:44 +01:00
dependabot[bot]
85a1e59211
Bump shoulda-matchers from 6.1.0 to 6.2.0
Bumps [shoulda-matchers](https://github.com/thoughtbot/shoulda-matchers) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/thoughtbot/shoulda-matchers/releases)
- [Changelog](https://github.com/thoughtbot/shoulda-matchers/blob/main/CHANGELOG.md)
- [Commits](https://github.com/thoughtbot/shoulda-matchers/compare/v6.1.0...v6.2.0)

---
updated-dependencies:
- dependency-name: shoulda-matchers
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-24 19:47:18 +00:00
Eugene Burmakin
69540b826f Clean up Makefile 2024-03-24 20:34:56 +01:00
Eugene Burmakin
eafbbe0775 Update README 2024-03-24 20:33:49 +01:00
Eugene Burmakin
705c7ca7a2 Fix broken update stats button and add sidekiq to docker-compose.yml 2024-03-24 20:09:10 +01:00
Eugene Burmakin
64e5028514 Update import show page 2024-03-24 19:53:19 +01:00
Eugene Burmakin
bd0f5bb624 Don't show chart if no data is available for monthly stats 2024-03-24 19:48:07 +01:00
Eugene Burmakin
2953ca6499 Add a new page to show stats for a specific year 2024-03-24 19:46:55 +01:00
Eugene Burmakin
96a9900661 Add a button to create/update stats 2024-03-24 19:25:33 +01:00
Eugene Burmakin
d7670aeeb0 Add a margin to the navbar 2024-03-24 19:00:24 +01:00
Eugene Burmakin
29ac8c1136 Add nice charts to the stat cards 2024-03-24 18:55:35 +01:00
Eugene Burmakin
23805a6ef4 Hide reverse geocoding stats when disabled 2024-03-24 18:09:00 +01:00
Eugene Burmakin
7292115a44 Move import processing to background job & allow to disable reverse geocoding 2024-03-24 18:05:39 +01:00
Eugene Burmakin
2e4390f194 Add very basic export feature 2024-03-23 21:46:18 +01:00
Eugene Burmakin
fe496a64dc Move sidebar to points index page 2024-03-23 21:17:23 +01:00
Eugene Burmakin
2e6d05aa40 Add nice statistics 2024-03-23 21:16:11 +01:00
Eugene Burmakin
f7b4b6d51f Show number of cities in each country in the right sidebar 2024-03-23 20:58:22 +01:00
Eugene Burmakin
d1454c21a9 Add StatCreatingJob to create stats asynchronously 2024-03-23 20:40:05 +01:00
Eugene Burmakin
accb4dc04c Add frozen string literal comment to CreateStats service 2024-03-23 20:32:20 +01:00
Eugene Burmakin
e1193608ef Add basic stats 2024-03-23 20:29:55 +01:00
Eugene Burmakin
0a156b0966 Add markers as a layer 2024-03-23 16:54:01 +01:00
Eugene Burmakin
5cb8af66e0 Save number of raw points and doubles in import file 2024-03-23 14:20:20 +01:00
Eugene Burmakin
18ed732c24 Fix owntracks import 2024-03-23 13:36:09 +01:00
Eugene Burmakin
2556e2ae70 Fix the sidebar and the map marker popup 2024-03-22 22:57:53 +01:00
Eugene Burmakin
4af91748f0 Allow to set the default map center via an environment variable. 2024-03-21 23:54:19 +01:00
Eugene Burmakin
7bc1efef58 Fix distance calculation 2024-03-21 23:36:22 +01:00
Eugene Burmakin
e232376ef0 Add popups 2024-03-21 23:24:47 +01:00
Eugene Burmakin
3f146b34c7 Prevent doubles in the database when importing points 2024-03-21 22:56:55 +01:00
Eugene Burmakin
6f9d23017b Add indicies to points latitude longitude 2024-03-17 18:16:45 +01:00
Eugene Burmakin
1f3ee41bcb Implement calculation of cities and countries with the number of points and the last timestamp 2024-03-17 17:58:09 +01:00
Eugene Burmakin
fc3f2b52ad Set default timespan equal to 1 month to date 2024-03-16 23:15:44 +01:00
Eugene Burmakin
4680b80284 Fix points controller to filter by start_at and end_at 2024-03-16 22:51:46 +01:00
Eugene Burmakin
bb528b429b Fix the error when start_at or end_at is nil 2024-03-16 22:48:26 +01:00
Eugene Burmakin
476701c5df Replace markers with circle markers and add right sidebar with countries and cities 2024-03-16 22:39:03 +01:00
Eugene Burmakin
fd43e8acc0 Add a form to filter the points by date range 2024-03-16 21:31:07 +01:00
Eugene Burmakin
07395d681e Implement leaflet map with points and polyline 2024-03-16 01:07:20 +01:00
Eugene Burmakin
830da9c900 Resize map 2024-03-16 00:28:49 +01:00
Eugene Burmakin
e2095bae9c Fix params deep_symbolize_keys in OwnTracks::Params 2024-03-16 00:01:00 +01:00