Skip to content

Commit 7f44030

Browse files
authored
Merge pull request #1748 from Freika/dev
0.32.0
2 parents 757a200 + e6f74fc commit 7f44030

File tree

159 files changed

+5191
-1784
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+5191
-1784
lines changed

.app_version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.31.0
1+
0.32.0

.github/workflows/build_and_push.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,21 @@ jobs:
7171
7272
TAGS="freikin/dawarich:${VERSION}"
7373
74-
# Set platforms based on release type
74+
# Set platforms based on version type and release type
7575
PLATFORMS="linux/amd64,linux/arm64,linux/arm/v8,linux/arm/v7,linux/arm/v6"
7676
77+
# Check if this is a patch version (x.y.z where z > 0)
78+
if [[ $VERSION =~ ^[0-9]+\.[0-9]+\.[1-9][0-9]*$ ]]; then
79+
echo "Detected patch version ($VERSION) - building for AMD64 only"
80+
PLATFORMS="linux/amd64"
81+
elif [[ $VERSION =~ ^[0-9]+\.[0-9]+\.0$ ]]; then
82+
echo "Detected minor version ($VERSION) - building for all platforms"
83+
PLATFORMS="linux/amd64,linux/arm64,linux/arm/v8,linux/arm/v7,linux/arm/v6"
84+
else
85+
echo "Version format not recognized or non-semver - using AMD64 only for safety"
86+
PLATFORMS="linux/amd64"
87+
fi
88+
7789
# Add :rc tag for pre-releases
7890
if [ "${{ github.event.release.prerelease }}" = "true" ]; then
7991
TAGS="${TAGS},freikin/dawarich:rc"

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
# [0.32.0] - 2025-09-13
8+
9+
## Fixed
10+
11+
- Tracked distance on year card on the Stats page will always be equal to the sum of distances on the monthly chart below it. #466
12+
- Stats are now being calculated for trial users as well as active ones.
13+
14+
## Added
15+
16+
- A cron job to generate daily tracks for users with new points since their last track generation. Being run every 4 hours.
17+
- A new month stat page, featuring insights on how user's month went: distance traveled, active days, countries visited and more.
18+
- Month stat page can now be shared via public link. User can limit access to the page by sharing period: 1/12/24 hours or permanent.
19+
20+
## Changed
21+
22+
- Stats page now loads significantly faster due to caching.
23+
- Data on the Stats page is being updated daily, except for total distance and number of geopoints tracked, which are being updated on the fly. Also, charts with yearly and monthly stats are being updated every hour.
24+
- Minor versions are now being built only for amd64 architecture to speed up the build process.
25+
- If user is not authorized to see a page, they will be redirected to the home page with appropriate message instead of seeing an error.
26+
727
# [0.31.0] - 2025-09-04
828

929
The Search release

Gemfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ ruby File.read('.ruby-version').strip
77

88
gem 'activerecord-postgis-adapter'
99
# https://meta.discourse.org/t/cant-rebuild-due-to-aws-sdk-gem-bump-and-new-aws-data-integrity-protections/354217/40
10-
gem 'aws-sdk-s3', '~> 1.177.0', require: false
1110
gem 'aws-sdk-core', '~> 3.215.1', require: false
1211
gem 'aws-sdk-kms', '~> 1.96.0', require: false
12+
gem 'aws-sdk-s3', '~> 1.177.0', require: false
1313
gem 'bootsnap', require: false
1414
gem 'chartkick'
1515
gem 'data_migrate'
@@ -19,37 +19,38 @@ gem 'gpx'
1919
gem 'groupdate'
2020
gem 'httparty'
2121
gem 'importmap-rails'
22+
gem 'jwt', '~> 2.8'
2223
gem 'kaminari'
2324
gem 'lograge'
2425
gem 'oj'
2526
gem 'parallel'
2627
gem 'pg'
2728
gem 'prometheus_exporter'
28-
gem 'rqrcode', '~> 3.0'
2929
gem 'puma'
3030
gem 'pundit'
3131
gem 'rails', '~> 8.0'
32+
gem 'rails_icons'
3233
gem 'redis'
3334
gem 'rexml'
3435
gem 'rgeo'
3536
gem 'rgeo-activerecord'
3637
gem 'rgeo-geojson'
38+
gem 'rqrcode', '~> 3.0'
3739
gem 'rswag-api'
3840
gem 'rswag-ui'
3941
gem 'rubyzip', '~> 2.4'
40-
gem 'sentry-ruby'
4142
gem 'sentry-rails'
42-
gem 'stackprof'
43+
gem 'sentry-ruby'
4344
gem 'sidekiq'
4445
gem 'sidekiq-cron'
4546
gem 'sidekiq-limit_fetch'
4647
gem 'sprockets-rails'
48+
gem 'stackprof'
4749
gem 'stimulus-rails'
4850
gem 'strong_migrations'
4951
gem 'tailwindcss-rails'
5052
gem 'turbo-rails'
5153
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
52-
gem 'jwt'
5354

5455
group :development, :test do
5556
gem 'brakeman', require: false

Gemfile.lock

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ GEM
130130
chunky_png (1.4.0)
131131
coderay (1.1.3)
132132
concurrent-ruby (1.3.5)
133-
connection_pool (2.5.3)
133+
connection_pool (2.5.4)
134134
crack (1.0.0)
135135
bigdecimal
136136
rexml
@@ -172,7 +172,8 @@ GEM
172172
railties (>= 6.1.0)
173173
fakeredis (0.1.4)
174174
ffaker (2.24.0)
175-
foreman (0.88.1)
175+
foreman (0.90.0)
176+
thor (~> 1.4)
176177
fugit (1.11.1)
177178
et-orbi (~> 1, >= 1.2.11)
178179
raabro (~> 1.4)
@@ -191,7 +192,7 @@ GEM
191192
multi_xml (>= 0.5.2)
192193
i18n (1.14.7)
193194
concurrent-ruby (~> 1.0)
194-
importmap-rails (2.1.0)
195+
importmap-rails (2.2.2)
195196
actionpack (>= 6.0.0)
196197
activesupport (>= 6.0.0)
197198
railties (>= 6.0.0)
@@ -304,7 +305,7 @@ GEM
304305
activesupport (>= 3.0.0)
305306
raabro (1.4.0)
306307
racc (1.8.1)
307-
rack (3.1.16)
308+
rack (3.2.0)
308309
rack-session (2.1.1)
309310
base64 (>= 0.1.0)
310311
rack (>= 3.0.0)
@@ -333,6 +334,9 @@ GEM
333334
rails-html-sanitizer (1.6.2)
334335
loofah (~> 2.21)
335336
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
337+
rails_icons (1.4.0)
338+
nokogiri (~> 1.16, >= 1.16.4)
339+
rails (> 6.1)
336340
railties (8.0.2.1)
337341
actionpack (= 8.0.2.1)
338342
activesupport (= 8.0.2.1)
@@ -421,11 +425,11 @@ GEM
421425
ruby-progressbar (1.13.0)
422426
rubyzip (2.4.1)
423427
securerandom (0.4.1)
424-
selenium-webdriver (4.33.0)
428+
selenium-webdriver (4.35.0)
425429
base64 (~> 0.2)
426430
logger (~> 1.4)
427431
rexml (~> 3.2, >= 3.2.5)
428-
rubyzip (>= 1.2.2, < 3.0)
432+
rubyzip (>= 1.2.2, < 4.0)
429433
websocket (~> 1.0)
430434
sentry-rails (5.26.0)
431435
railties (>= 5.0)
@@ -541,7 +545,7 @@ DEPENDENCIES
541545
groupdate
542546
httparty
543547
importmap-rails
544-
jwt
548+
jwt (~> 2.8)
545549
kaminari
546550
lograge
547551
oj
@@ -553,6 +557,7 @@ DEPENDENCIES
553557
puma
554558
pundit
555559
rails (~> 8.0)
560+
rails_icons
556561
redis
557562
rexml
558563
rgeo

app/assets/builds/tailwind.css

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
755 KB
Loading
1.13 MB
Loading
658 KB
Loading
1.39 MB
Loading

0 commit comments

Comments
 (0)