Commit graph

165 commits

Author SHA1 Message Date
86e276e735
fix(analytics): rebuild personal records after activity deletion
Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-29 13:02:11 +02:00
f0e065600e
fix(analytics): flush achievement deletes before rebuild inserts
Avoid unique-constraint violations during achievement rebuilds by forcing the old rows to be deleted in the database before inserting rebuilt achievements.

Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-29 12:24:19 +02:00
251beaae0f
fix(analytics): rebuild achievements from stable history snapshot
Prevent delete-triggered achievement rebuilds from failing when activity history changes again while an async recalculation is already running.

Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-29 12:18:55 +02:00
714007aabe
fix(analytics): serialize delete recalculations per user
Prevent concurrent achievement and summary rebuilds for the same user when multiple activities are deleted in quick succession.

Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-29 12:11:54 +02:00
2ae0eeb06b
fix(analytics): recalculate delete side effects asynchronously
Move achievement and summary rebuilds out of the activity delete request path so the UI is not blocked by long-running recalculations.

Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-29 12:08:13 +02:00
d86b8b9d23
fix(ui): correct achievement rebuild alert styling
Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-29 10:48:11 +02:00
689b8e5e82
fix(analytics): refresh summaries after activity deletion
Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-29 10:15:31 +02:00
2ac3d82fda
feat(analytics): add manual achievement rebuild action
Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-29 10:07:01 +02:00
2c567a5e8e
fix(analytics): rebuild achievements after activity deletion
Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-29 10:00:09 +02:00
10037de043
fix(analytics): count summary achievements by activity period
Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-29 09:54:31 +02:00
6af484bcf7
fix(analytics): rebuild achievements from activity history
Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-29 09:44:28 +02:00
4d16e8c685
fix(analytics): use activity end time for achievement earnedAt #24
Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-29 09:31:30 +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