Commit graph

159 commits

Author SHA1 Message Date
649d1e8c5f
fix(testcontainers): align versions and stabilize PostGIS setup
Unify Testcontainers dependencies to a consistent version and remove
custom container tweaks that caused instability with Podman.

- align all Testcontainers dependencies to 2.0.5
- remove `HostPortWaitStrategy` (PostgreSQLContainer already defines an appropriate wait strategy)
- remove `withReuse(true)` (may retain state across runs and break reproducibility)

Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-30 11:37:38 +02:00
37aa63ff28
fix: handle missing timezone in activity title generation
Default title generation could fail when parsed activity data had no timezone set. This change adds a null/blank fallback in `ActivityFormatter` so titles can still be generated without throwing a `NullPointerException`.

Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-30 10:14:18 +02:00
cd3687683c
test: disable ActivityImageService manual test class in default build
The test method was already disabled, but the Spring test context for the class was still being created during the regular test run. Moving `@Disabled` to the class prevents the Testcontainers-based application context from loading for this manual-only test and stops `verify` from failing.

Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-30 09:59:54 +02:00
c84377b05a
fix(activity-detail): preserve line breaks in activity descriptions (#22)
- implement new CSS class `preserve-linebreaks` in `fitpub.css`
- add new CSS class to activity description element in `detail.html`
2026-04-29 09:18:53 +02:00
330040c775
chore: add .sdkmanrc for SDK version management (#23)
* chore: add .sdkmanrc for SDK version management

Add .sdkmanrc to define and standardize SDK versions
used in the project via SDKMAN.

* revert: remove unrelated change from feature branch

Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>

* revert: remove unrelated change from feature branch

---------

Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-29 09:18:20 +02:00
f47730e1ca
build: add Maven Wrapper (#27)
Add Maven Wrapper to ensure consistent build environment and
eliminate the need for a preinstalled Maven version.

Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-29 09:18:03 +02:00
Tim Zöller
9e529f8b99 Quote Post Fixe 2026-04-27 22:27:16 +02:00
Tim Zöller
d79678aae3 Accept Quote Post Requests 2026-04-27 22:16:40 +02:00
Niklas
102d515b42
Display activity date in local time (using the time zone that is stored with the activity), not in UTC (#4)
* Display timestamps using the timezone that is stored at the activity (fix 'new Date()' invocation)

* Display timestamps using the timezone that is stored at the activity (relative date in timeline views)

* Use correct timezone for auto-generated activity title

---------

Co-authored-by: Niklas Deutschmann <sonstharmlos@noreply.codeberg.org>
2026-04-27 22:01:08 +02:00
Tim Zöller
5df4da86a5 Switched Weather Provider to OpenMeteo #15 2026-04-27 21:54:46 +02:00
Niklas
5f85417c80
Don't display "null" as activity location in UI when reverse geocoding didn't took place (#3)
* Fix display of "null" for activity location (backend)

* Fix display of "null" for activity location (frontend)

---------

Co-authored-by: Niklas Deutschmann <sonstharmlos@noreply.codeberg.org>
2026-04-13 14:20:04 +02:00
Niklas
fb440b2b8f
The activity type was not preserved when editing an activity (#6)
Co-authored-by: Niklas Deutschmann <sonstharmlos@noreply.codeberg.org>
2026-04-13 14:18:38 +02:00
Niklas
03b8e6d315
Get activity title from uploaded file, if it is present (#7)
* Use activity title from GPX file when present

* Extend test

* Test shortening of long names

* Extract constant

---------

Co-authored-by: Niklas Deutschmann <sonstharmlos@noreply.codeberg.org>
2026-04-13 10:12:38 +02:00
Tim Zöller
6afd7a5dad
Merge pull request #1 from schtobia/main
Update environment variable names in docker-compose
2026-04-10 12:32:52 +02:00
Tim Zöller
2cfee27af9
Merge pull request #2 from kabupatix/privacy-zone-message
Changed message
2026-04-10 12:32:17 +02:00
Niklas Deutschmann
492fd7dee1 Changed message 2026-04-10 12:10:58 +02:00
Tim Zöller
78c8b040c2 Fix too restricted visibility for followers 2026-04-08 13:41:50 +02:00
Tim Zöller
a8b601233b Allow Mastodon to Quote Post 2026-04-08 12:48:12 +02:00
Tim Zöller
07fbcf8064 Nicer Share Pics 2026-04-08 11:06:26 +02:00
Tim Zöller
48ac2e444b Design a little less noisy 2026-04-08 10:20:29 +02:00
Tim Zöller
c4f77469b8 New interactive charts 2026-04-08 10:03:15 +02:00
Tim Zöller
8fdb6a9fb1 Fix SPM bug 2026-04-08 09:28:12 +02:00
Tim Zöller
1952955f3b Fix broken links 2026-04-08 00:07:29 +02:00
Tim Zöller
e78a03b41b Fix wrongly calculated dashboards 2026-04-08 00:03:10 +02:00
Tim Zöller
f70c95b3bb Performance improvements 2026-04-07 23:06:45 +02:00
Tim Zöller
df3fdad43c Use speed_enhanced, speed or elevation_enhanced and elevation 2026-04-07 22:06:37 +02:00
Tim Zöller
cfea7abff3 Fix weird time bug 2026-04-07 19:49:49 +02:00
Tim Zöller
0e32aab244 Put Federation on async executor 2026-04-07 19:40:04 +02:00
Tim Zöller
fde80672f2 Put Federation on async executor 2026-04-07 19:29:43 +02:00
Tim Zöller
662363555b Emoji likes 2026-04-07 19:11:29 +02:00
Tim Zöller
897252f9cd Finalizing Security Optimizations 2026-04-07 12:49:46 +02:00
Tim Zöller
dc12425611 Fixed Signature Check in Inbox 2026-04-07 11:34:19 +02:00
Tim Zöller
a0eebfcb3f Security Fixes 2026-04-07 10:28:10 +02:00
Tim Zöller
aa7a7bc9fc Peak filters for users activity 2026-04-07 07:49:29 +02:00
Tim Zöller
db025e42c3 Deactivate Admin Endpoints) 2026-04-07 01:09:33 +02:00
Tim Zöller
164e8b5894 Improvements 2026-04-07 01:03:42 +02:00
Tim Zöller
139e5c57ff Retroactive Peak Detection Fix 2026-04-06 23:50:22 +02:00
Tim Zöller
a1416b232b Peak Detection 2026-04-06 23:41:33 +02:00
Tim Zöller
6e70e1495e Minor tweaks 2026-04-06 21:42:52 +02:00
Tim Zöller
3cba6de9f1 Better Post Formatting 2026-04-06 21:31:53 +02:00
Tim Zöller
f92db29b0a Proper Post Formatting 2026-04-06 21:28:52 +02:00
Tim Zöller
e203250104 Delayed Fediverse publication 2026-04-06 21:10:11 +02:00
Tobias Schmidl
5fcc0d1481
Update environment variable names in docker-compose
The `APP_DOMAIN` and `APP_BASE_URL` variables are inconsistent with both the .env.example and with the naming of the rest of the variables. Additionally, allow the registration password be set.
2026-02-26 07:32:26 +01:00
Tim Zöller
47fd3808d2 Migrate old, locationless activities 2026-01-15 11:05:09 +01:00
Tim Zöller
debc55d484 Reverse Lookup for activities 2026-01-15 10:59:34 +01:00
Tim Zöller
612d67ccda Search function, declaudification 2026-01-14 16:53:34 +01:00
Tim Zöller
6e7d52f827 Access terms without redirect 2026-01-13 13:22:20 +01:00
Tim Zöller
45b7285d1c Big Feature and Beautifying Package 2026-01-13 12:59:26 +01:00
Tim Zöller
1f2ff67f38 Big Feature and Beautifying Package 2026-01-13 12:53:18 +01:00
Tim Zöller
87da2a3861 Remove migration logic again 2026-01-11 12:21:24 +01:00