mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
Update some files
This commit is contained in:
parent
35a0533b2b
commit
897cbd882c
6 changed files with 96 additions and 28 deletions
|
|
@ -1 +1 @@
|
||||||
0.26.1
|
0.26.8
|
||||||
|
|
|
||||||
64
CHANGELOG.md
64
CHANGELOG.md
|
|
@ -4,8 +4,70 @@ All notable changes to this project will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
# 0.26.8 - 2025-05-30
|
||||||
|
|
||||||
# 0.26.1 - 2025-05-15
|
## Fixed
|
||||||
|
|
||||||
|
- Enable caching in development for the docker image.
|
||||||
|
|
||||||
|
|
||||||
|
# 0.26.7 - 2025-05-29
|
||||||
|
|
||||||
|
## Fixed
|
||||||
|
|
||||||
|
- Popups now showing distance in the correct distance unit. #1258
|
||||||
|
|
||||||
|
## Added
|
||||||
|
|
||||||
|
- Bunch of system tests to cover map interactions.
|
||||||
|
|
||||||
|
|
||||||
|
# 0.26.6 - 2025-05-22
|
||||||
|
|
||||||
|
## Added
|
||||||
|
|
||||||
|
- armv8 to docker build. #1249
|
||||||
|
|
||||||
|
## Changed
|
||||||
|
|
||||||
|
- Points are now being created in the `points` queue. #1243
|
||||||
|
- Route opacity is now being displayed as percentage in the map settings. #462 #1224
|
||||||
|
- Exported GeoJSON file now contains coordinates as floats instead of strings, as per RFC 7946. #762
|
||||||
|
- Fog of war now can be set to 200 meter per point. #630
|
||||||
|
# 0.26.5 - 2025-05-20
|
||||||
|
|
||||||
|
## Fixed
|
||||||
|
|
||||||
|
- Wget is back to fix healthchecks. #1241 #1231
|
||||||
|
- Dockerfile.prod is now using slim image. #1245
|
||||||
|
- Dockerfiles now use jemalloc with check for architecture. #1235
|
||||||
|
|
||||||
|
# 0.26.4 - 2025-05-19
|
||||||
|
|
||||||
|
## Changed
|
||||||
|
|
||||||
|
- Docker image is now using slim image to introduce some memory optimizations.
|
||||||
|
- The trip page now looks a bit nicer.
|
||||||
|
- The "Yesterday" button on the map page was changed to "Today". #1215
|
||||||
|
- The "Create Import" button now disabled until files are uploaded.
|
||||||
|
|
||||||
|
# 0.26.3 - 2025-05-18
|
||||||
|
|
||||||
|
## Fixed
|
||||||
|
|
||||||
|
- Fixed a bug where default distance unit was not being set for users. #1206
|
||||||
|
|
||||||
|
|
||||||
|
# 0.26.2 - 2025-05-18
|
||||||
|
|
||||||
|
## Fixed
|
||||||
|
|
||||||
|
- Seeds are now working properly. #1207
|
||||||
|
- Fixed a bug where France flag was not being displayed correctly. #1204
|
||||||
|
- Fix blank map page caused by empty default distance unit. Default distance unit is now kilometers and can be changed in Settings -> Maps. #1206
|
||||||
|
|
||||||
|
|
||||||
|
# 0.26.1 - 2025-05-18
|
||||||
|
|
||||||
## Geodata on demand
|
## Geodata on demand
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,7 @@
|
||||||
# to make the web console appear.
|
# to make the web console appear.
|
||||||
|
|
||||||
development:
|
development:
|
||||||
adapter: solid_cable
|
adapter: async
|
||||||
connects_to:
|
|
||||||
database:
|
|
||||||
writing: cable
|
|
||||||
polling_interval: 0.1.seconds
|
|
||||||
message_retention: 1.day
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
adapter: test
|
adapter: test
|
||||||
|
|
|
||||||
|
|
@ -15,25 +15,19 @@ development:
|
||||||
database: <%= ENV['DATABASE_NAME'] || 'dawarich_development' %>
|
database: <%= ENV['DATABASE_NAME'] || 'dawarich_development' %>
|
||||||
queue:
|
queue:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: <%= ENV['DATABASE_QUEUE_NAME'] || 'dawarich_development_queue' %>
|
database: <%= ENV['QUEUE_DATABASE_NAME'] || 'dawarich_development_queue' %>
|
||||||
|
password: <%= ENV['QUEUE_DATABASE_PASSWORD'] %>
|
||||||
migrations_paths: db/queue_migrate
|
migrations_paths: db/queue_migrate
|
||||||
cable:
|
cache:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: <%= ENV['DATABASE_CABLE_NAME'] || 'dawarich_development_cable' %>
|
database: <%= ENV['CACHE_DATABASE_NAME'] || 'dawarich_development_cache' %>
|
||||||
migrations_paths: db/cable_migrate
|
password: <%= ENV['CACHE_DATABASE_PASSWORD'] %>
|
||||||
|
migrations_paths: db/cache_migrate
|
||||||
|
|
||||||
test:
|
test:
|
||||||
primary:
|
primary:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: <%= ENV['DATABASE_NAME'] || 'dawarich_test' %>
|
database: <%= ENV['DATABASE_NAME'] || 'dawarich_test' %>
|
||||||
queue:
|
|
||||||
<<: *default
|
|
||||||
database: <%= ENV['DATABASE_QUEUE_NAME'] || 'dawarich_test_queue' %>
|
|
||||||
migrations_paths: db/queue_migrate
|
|
||||||
cable:
|
|
||||||
<<: *default
|
|
||||||
database: <%= ENV['DATABASE_CABLE_NAME'] || 'dawarich_test_cable' %>
|
|
||||||
migrations_paths: db/cable_migrate
|
|
||||||
|
|
||||||
production:
|
production:
|
||||||
primary:
|
primary:
|
||||||
|
|
@ -41,22 +35,37 @@ production:
|
||||||
database: <%= ENV['DATABASE_NAME'] || 'dawarich_production' %>
|
database: <%= ENV['DATABASE_NAME'] || 'dawarich_production' %>
|
||||||
queue:
|
queue:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: <%= ENV['DATABASE_QUEUE_NAME'] || 'dawarich_production_queue' %>
|
database: <%= ENV['QUEUE_DATABASE_NAME'] || 'dawarich_production_queue' %>
|
||||||
|
password: <%= ENV['QUEUE_DATABASE_PASSWORD'] %>
|
||||||
migrations_paths: db/queue_migrate
|
migrations_paths: db/queue_migrate
|
||||||
cable:
|
cable:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: <%= ENV['DATABASE_CABLE_NAME'] || 'dawarich_production_cable' %>
|
database: <%= ENV['CABLE_DATABASE_NAME'] || 'dawarich_production_cable' %>
|
||||||
|
password: <%= ENV['CABLE_DATABASE_PASSWORD'] %>
|
||||||
migrations_paths: db/cable_migrate
|
migrations_paths: db/cable_migrate
|
||||||
|
cache:
|
||||||
|
<<: *default
|
||||||
|
database: <%= ENV['CACHE_DATABASE_NAME'] || 'dawarich_production_cache' %>
|
||||||
|
password: <%= ENV['CACHE_DATABASE_PASSWORD'] %>
|
||||||
|
migrations_paths: db/cache_migrate
|
||||||
|
|
||||||
staging:
|
staging:
|
||||||
primary:
|
primary:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: <%= ENV['DATABASE_NAME'] || 'dawarich_staging' %>
|
database: <%= ENV['DATABASE_NAME'] || 'dawarich_staging' %>
|
||||||
|
password: <%= ENV['DATABASE_PASSWORD'] %>
|
||||||
|
cache:
|
||||||
|
<<: *default
|
||||||
|
database: <%= ENV['CACHE_DATABASE_NAME'] || 'dawarich_staging_cache' %>
|
||||||
|
password: <%= ENV['CACHE_DATABASE_PASSWORD'] %>
|
||||||
|
migrations_paths: db/cache_migrate
|
||||||
queue:
|
queue:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: <%= ENV['DATABASE_QUEUE_NAME'] || 'dawarich_staging_queue' %>
|
database: <%= ENV['QUEUE_DATABASE_NAME'] || 'dawarich_staging_queue' %>
|
||||||
|
password: <%= ENV['QUEUE_DATABASE_PASSWORD'] %>
|
||||||
migrations_paths: db/queue_migrate
|
migrations_paths: db/queue_migrate
|
||||||
cable:
|
cable:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: <%= ENV['DATABASE_CABLE_NAME'] || 'dawarich_staging_cable' %>
|
database: <%= ENV['CABLE_DATABASE_NAME'] || 'dawarich_staging_cable' %>
|
||||||
|
password: <%= ENV['CABLE_DATABASE_PASSWORD'] %>
|
||||||
migrations_paths: db/cable_migrate
|
migrations_paths: db/cable_migrate
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@ Rails.application.routes.draw do
|
||||||
mount ActionCable.server => '/cable'
|
mount ActionCable.server => '/cable'
|
||||||
mount Rswag::Api::Engine => '/api-docs'
|
mount Rswag::Api::Engine => '/api-docs'
|
||||||
mount Rswag::Ui::Engine => '/api-docs'
|
mount Rswag::Ui::Engine => '/api-docs'
|
||||||
mount MissionControl::Jobs::Engine, at: '/jobs' # Protec just as sidekiq
|
|
||||||
|
|
||||||
unless DawarichSettings.self_hosted?
|
unless DawarichSettings.self_hosted?
|
||||||
Sidekiq::Web.use(Rack::Auth::Basic) do |username, password|
|
Sidekiq::Web.use(Rack::Auth::Basic) do |username, password|
|
||||||
|
|
@ -26,10 +25,11 @@ Rails.application.routes.draw do
|
||||||
(u.admin? && ENV['SIDEKIQ_USERNAME'].present? && ENV['SIDEKIQ_PASSWORD'].present?)
|
(u.admin? && ENV['SIDEKIQ_USERNAME'].present? && ENV['SIDEKIQ_PASSWORD'].present?)
|
||||||
} do
|
} do
|
||||||
mount Sidekiq::Web => '/sidekiq'
|
mount Sidekiq::Web => '/sidekiq'
|
||||||
|
mount MissionControl::Jobs::Engine, at: '/jobs'
|
||||||
end
|
end
|
||||||
|
|
||||||
# We want to return a nice error message if the user is not authorized to access Sidekiq
|
# We want to return a nice error message if the user is not authorized to access Sidekiq or Jobs
|
||||||
match '/sidekiq' => redirect { |_, request|
|
match %w[/sidekiq /jobs] => redirect { |_, request|
|
||||||
request.flash[:error] = 'You are not authorized to perform this action.'
|
request.flash[:error] = 'You are not authorized to perform this action.'
|
||||||
'/'
|
'/'
|
||||||
}, via: :get
|
}, via: :get
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,9 @@ RUN bundle config set --local path 'vendor/bundle' \
|
||||||
# Copy the rest of the application
|
# Copy the rest of the application
|
||||||
COPY ../. ./
|
COPY ../. ./
|
||||||
|
|
||||||
# Copy entrypoint scripts and grant execution permissions
|
# Create caching-dev.txt file to enable Rails caching in development
|
||||||
|
RUN mkdir -p $APP_PATH/tmp && touch $APP_PATH/tmp/caching-dev.txt
|
||||||
|
|
||||||
COPY ./docker/web-entrypoint.sh /usr/local/bin/web-entrypoint.sh
|
COPY ./docker/web-entrypoint.sh /usr/local/bin/web-entrypoint.sh
|
||||||
RUN chmod +x /usr/local/bin/web-entrypoint.sh
|
RUN chmod +x /usr/local/bin/web-entrypoint.sh
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue