Commit Graph

31 Commits

Author SHA1 Message Date
slothful-vassal
14ebaa0d04 fix waypoint actor in ingetrations (#1049) 2026-06-04 20:47:16 +02:00
Pål Håland
77cf8a0819 feat(strava): sync all activity photos instead of only primary photo (#1015)
Co-authored-by: Flomp <Flomp@users.noreply.github.com>
2026-05-31 16:46:43 +02:00
Flomp
d2ac49470a Federation Refactoring & Architecture Improvements (#930)
* initial commit

* add lists

* update permissions

* fix waypoint create

* needs_full_sync for activitypub trails

* fixes build issues

* fix list get

* further CSRF protection

* update API docs

* adds rate limiter

* fix tiptap mentions

* a bit more cleanup of main.go

* Fix migration order

* fixes reviewed notes

* require context for activitpub server calls

* improve hashing for identifier

* fix copy paste error

* fix sync trail/list issues

* fix summit log/comment duplicates

* adaptions after trail merge

* fix dockerignore

---------

Co-authored-by: Christian Beutel <>
Co-authored-by: slothful-vassal <89943360+slothful-vassal@users.noreply.github.com>
2026-05-09 17:30:34 +02:00
slothful-vassal
b5739cb72e merge trails function added (#627)
* merge trails function added

* fix conflict resolve issues

* avoid incorrect authorship when merging trail comments

* require edit access for all selected trails before merge

* fix likes checkbox binding in trail merge modal

* improve error handling

* require editable target and deletable sources for merge

* avoid duplicate trail fetch during merge

* prevent duplicate likes when merging trails

* check photo download responses during trail merge

* add merge completion toast notifications

* cleanup

* small fixes

* move merge code to backend, option to merge single trail selection with similar one, automatic merge for integrations add as option, maintenance page to find and merge similar trails added

* fix build error

* fix

* docu, beautifying, refactoring

---------

Co-authored-by: Flomp <Flomp@users.noreply.github.com>
2026-05-09 13:09:26 +02:00
Flomp
7bdf0d3151 Adds option to mark trail as completed (#920)
* initial commit

* add completed for komoot tours

* mark hammerhead activities as completed

* fix review suggestions

* adds completed modal to trail edit page

---------

Co-authored-by: Christian Beutel <>
Co-authored-by: slothful-vassal <89943360+slothful-vassal@users.noreply.github.com>
2026-04-27 20:37:11 +02:00
slothful-vassal
86c94a5ce2 fix komoot integration issue with 'invalid' photos (#941) 2026-04-27 16:17:00 +02:00
Stefan Schlögl
19fd259129 fix komoot sync stopping before all tours are imported (#917)
Three bugs caused partial imports:

1. Type filter halted pagination: if a page contained only tours of the
   excluded type (planned vs. recorded), syncTrailWithTours returned false
   and the loop stopped even though later pages might have matching tours.
   Fixed by tracking allAlreadySynced separately - only tours already in the
   DB count toward early termination, not type-filtered ones.

2. continue on error never incremented page: a fetch or sync error called
   continue on the outer for loop, so page stayed the same and hasNewTours
   was never updated, causing an infinite retry on the failing page. Changed
   to break so a failed page aborts the current sync cycle cleanly.

3. Pagination ignored TotalPages: the loop used a fragile stop heuristic
   instead of the TotalPages value returned by the Komoot API. fetchTours
   now returns TotalPages and the loop uses it as the upper bound, with the
   allAlreadySynced early-exit kept as an optimization for incremental syncs.

Closes #570

Co-authored-by: slothful-vassal <89943360+slothful-vassal@users.noreply.github.com>
2026-04-20 20:24:51 +02:00
slothful-vassal
369e71fcec hammerhead integration added (#628)
* hammerhead integration added

* typo corrected

* start date added, optimize some translations

* new option to send trail to hammerhead

* fix elevation information (was in cm)

* skip empty tracks on import

* update docs

* remove manual user-id input

* fix merge issues

* remove user-id from documentation

* fix hammerhead logo for light theme

* fix hammerhead logo for light theme

---------

Co-authored-by: Christian Beutel <>
Co-authored-by: Flomp <Flomp@users.noreply.github.com>
2026-03-20 13:58:34 +01:00
Flomp
b65fbdd128 fix trail privacy (#719)
* fix trail privacy

* adds privacy setting to integrations

---------

Co-authored-by: Christian Beutel <>
2026-01-13 19:01:05 +01:00
Christian Beutel
72acac072c fixes strava integration 2025-09-13 16:04:48 +02:00
Christian Beutel
73d20b1cbc reverses waypoint relation 2025-09-12 17:48:41 +02:00
Christian Beutel
1cc70c4e4b adds polyline simplyfication 2025-08-23 14:28:00 +02:00
Christian Beutel
54d7357603 converts trail duration to seconds 2025-06-25 15:59:56 +02:00
Flomp
9276690d60 Federation (#327)
* initial commit federation

* more federation

* more federation

* more federation

* completes follow, accept, undo

* add trail create activity

* process trail create activity

* more trail create activity

* adds missing endpoints

* adds update and delete activity

* adds comment activities

* adds activities back

* adds summit logs activities

* deletes follow counts table

* fixes migrations

* fixes migrations

* fixes migrations

* fixes migrations

* adds remote profiles

* ctd

* ctd

* we are getting closer...

* adds public summit logs

* fixes federated trails in lists

* adds remote lists

* adds list activites

* fixes lists

* adds notifications

* adds iri redirect

* fixes comments and summitlogs

* fixes follows and profiles

* adds asynchronous send

* fixes list search

* adds encryption key

* bug fixes

* fixes activity signing

* removes custon activity object types

* adds html editor

* fixes html editor

* fixes display issues on mastodon

* adds federated sharing

* finishes announcements

* fixes small summit log issues

* adds trail likes

* finalizes likes

* fixes images for komoot

* add disable federation option

* adds private profiles

* updates docs

* adds federated comments

* adds trail and comments actvitiypub routes

* adds mentions to editor

* adds mentions to trails, comments, summit logs

* updates theme

* updates theme

* update docs

* update docs

* updates docs

* fixes various frontend problems

* fixes activitypub follows api

* updates docs

* updates docs

---------

Co-authored-by: Christian Beutel <>
2025-06-21 10:09:22 +02:00
Christian Beutel
7ac1d4dbb4 fixes duration for komoot summit logs 2025-04-24 19:48:54 +02:00
Christian Beutel
5997c66f49 breaks after 429 error in strava integration 2025-04-24 19:24:37 +02:00
Christian Beutel
a1296ebacd escapes gif images from komoot import 2025-04-14 14:09:48 +02:00
Christian Beutel
0581d74043 Marks tour_recorded from komoot as completed 2025-04-14 14:09:48 +02:00
Christian Beutel
5f9c865f2e improves activities load time 2025-04-14 14:09:48 +02:00
Christian Beutel
07edb2c457 fixes decryption check method 2025-03-28 20:15:03 +01:00
Gyuri Horak
04bd60612e #186 ignore strava activities with no GPX data (#225) 2025-03-28 19:33:41 +01:00
Christian Beutel
c8dcebff26 implements graceful error handling for sync 2025-03-28 17:51:38 +01:00
Christian Beutel
d23444c799 front end fixes 2025-03-17 02:09:00 +01:00
Christian Beutel
c765e6391d start migration to pocketbase 0.23 2025-03-16 21:20:05 +01:00
Christian Beutel
ababbabadc adds non-highlight photos to komoot sync 2025-03-14 18:54:20 +01:00
Christian Beutel
063292491d fixes strava api models 2025-02-18 16:42:06 +01:00
Christian Beutel
77ffa48ee0 fixes strava max_heartrate data type 2025-02-16 20:46:44 +01:00
Christian Beutel
a2ad4a4800 komoot planned vs completed 2025-02-14 13:22:28 +01:00
Christian Beutel
c22c710a80 fixes distances and durations in info panel 2025-02-11 20:26:34 +01:00
Christian Beutel
d790f06216 encrypts integration secrets 2025-02-08 11:48:21 +01:00
Christian Beutel
4d1d07922a adds komoot integration 2025-02-04 21:23:54 +01:00