Commit Graph
82 Commits
Author SHA1 Message Date
neuhauss 56e594b625 add tests for regular trip detection algorithm 2026-01-14 17:47:35 +01:00
neuhauss 8ee6992f88 send ad hoc alternative route notifications for recent uploaded trips 2026-01-14 15:34:59 +01:00
neuhauss ddbf925caf log notification send fail reason in db for easier debugging 2026-01-14 15:34:29 +01:00
neuhauss 41f04620ba added devcontroller test endpoint for sending route_adhoc notification 2026-01-14 14:35:32 +01:00
neuhauss ce665d143f add tests for NotificationSchedulerServiceTest
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-13 18:44:27 +01:00
neuhauss 51c742b746 remove builder from TrendDetectionDTO so that trendConnotation can be calculated in constructor 2026-01-13 18:44:12 +01:00
neuhauss 11ce10a8d8 implemented scheduled tasks and notification scheduler so that whole chain task -> detected trends -> scheduled notification -> notification sent by worker is working 2026-01-13 18:07:15 +01:00
neuhauss 521a4ba957 add notification cleanup task 2026-01-13 17:04:17 +01:00
neuhauss bc3dd9b59b correctly recognize firebase errors when sending exceptions 2026-01-13 16:48:18 +01:00
neuhauss 06aa0ce3cc implemented scheduled worker that processes queued notifications 2026-01-13 16:42:31 +01:00
neuhauss bef418d77d basic firebase notification sending + token registration logic 2026-01-13 14:43:36 +01:00
neuhauss ba642d10a5 add demo endpoint for notification mocks
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-13 12:22:44 +01:00
neuhauss dd86b857d4 increase acceptable additional travel time for adhoc alternatives
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-13 10:44:41 +01:00
neuhauss c8f667bba7 increase acceptable additional travel time for oncall alternatives
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-13 10:44:20 +01:00
neuhauss 008313d651 add missing carta modality "metro"
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-13 09:47:16 +01:00
neuhauss 7e8edab77a made firebase config optional so backend starts without a key present
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-13 08:50:48 +01:00
neuhauss 23da358686 improvements to regular trip detection algorithm -> next step: write tests that verify approach
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-12 16:32:14 +01:00
neuhauss 474813b2b9 first implementation of iterative greedy algorithm to detect regular trips 2026-01-12 16:19:28 +01:00
neuhauss 160b883bfc add h3 cells to trip model as preparation for route pattern detection
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-11 19:40:46 +01:00
neuhauss 1b74f6125c implement full logic to filter ad hoc route suggestions against weather conditions
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-11 14:00:44 +01:00
neuhauss 4d112a599f alternative filter: fix bug - physical activity thresholds only for phyiscal acitivies 2026-01-10 18:04:21 +01:00
neuhauss a643db3133 implement client for meteo weather api
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-10 17:54:36 +01:00
neuhauss 4fb5d9c5f8 implement client for meteo weather api 2026-01-10 17:53:22 +01:00
neuhauss 1f439338da implement basic structure for ad hoc suggestions where we send user a notification for better alternatives after user finished trip
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
- notification logic still missing
- Weather api missing
2026-01-10 17:09:44 +01:00
neuhauss ea3c941b84 inject alternative filtering properties into filterer for more flexible usage 2026-01-10 17:09:00 +01:00
neuhauss 8e3cb83d27 basic firebase connection + notification structure 2026-01-10 13:56:31 +01:00
neuhauss 86073411b0 Merge branch 'route_alternatives' into trend_notifications
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
# Conflicts:
#	src/main/resources/application.properties
2026-01-09 15:25:59 +01:00
neuhauss 0f54353263 refactor filtering logic which determines if additional time of an alternative route isacceptable
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-08 01:47:32 +01:00
neuhauss 41bda73041 routingalternatives: consider transit options 2026-01-08 00:32:50 +01:00
neuhauss 4410c0b3bc Merge branch 'fix_time_handling' into trend_notifications
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
# Conflicts:
#	src/main/java/SuMoC/backend/seed/trip/DevTripSeeder.java
#	src/main/resources/application.properties
2026-01-07 23:59:56 +01:00
neuhauss ca41233397 Merge branch 'fix_time_handling' into route_alternatives
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-07 23:57:27 +01:00
neuhauss e88d651c71 refactor to use Instant instead of LocalDateTime
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-07 23:56:50 +01:00
neuhauss 137923d9a6 RoutingController.java log error message when substituting nominatim with mock data
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-07 20:03:42 +01:00
neuhauss 6e458edd5c implement trend detection logic
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
- for now aimed to detect weekly trends in car distances, easily extendable to all other attributes of the statsm model
- including test
2026-01-07 15:28:35 +01:00
neuhauss ec0615f6df rename service 2026-01-07 13:45:12 +01:00
neuhauss c010f34479 add weekly schedulded task that calculates weekly mobility statistics for each user that made a trip in that week -> basis for deteting trend changes in mobility behaviour
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-06 17:55:04 +01:00
neuhauss 17636f0b65 basic structure for notification system 2026-01-06 17:54:11 +01:00
neuhauss dfa5ee9559 add co2emissions to trip model and update tripfactory
LocationBasedServices/sumoc-backend/pipeline/pr-main Build queued...
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-06 14:07:39 +01:00
neuhauss ce7494a95f add coordinates to trip plus switch to lombok getters setters to reduce boilerplate 2026-01-06 14:02:54 +01:00
neuhauss 80ba8b1c19 RoutingController return mock route dtos if nominatim is not yet up
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-06 10:54:14 +01:00
neuhauss 5e63753bf7 run in dev profile for now, added user and trip seeder for development testing purposes
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-04 18:21:08 +01:00
neuhauss a716986d91 Merge branch 'main' into route_alternatives
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-03 19:28:35 +01:00
neuhauss e93bdde124 add trip validation and invalidation functionality in TripService and TripController
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-03 19:28:21 +01:00
neuhauss 45cf83aa78 add self-action check in FriendshipController to prevent users from blocking or requesting friendship with themselves
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-03 18:57:23 +01:00
neuhauss 6c589a22ac Merge branch 'main' into route_alternatives
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-03 18:52:48 +01:00
neuhauss 1daa400a90 fix two bugs in FriendshipService where wrong dto was returned for all users blocked by sender and repository was not flushed after delete operation
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-03 18:52:34 +01:00
neuhauss 5f5365d5bc WIP - RoutingController now no longer returns mock data, working alternative calculation for bike and walking
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
Yet to implement: transit routes from carta, consider weather
2026-01-02 17:13:19 +01:00
neuhauss 12aed5ef26 refactor geocoding to service for internal use + return addressdto
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-02 15:11:10 +01:00
neuhauss 0437117d9e Merge branch 'geocoding' into route_alternatives
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-02 14:29:42 +01:00
neuhauss 52788a9c83 update modality names to align with android app + routingservice WIP
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
2026-01-02 14:29:17 +01:00