In D29416#665213, @winterz wrote:I understand the motivation for this change. However, it is pretty ugly and verbose.
maybe we can do something in KHolidays API itself to provide a prettier string.
Ideally "German (German) - Feiertage fur Deutschland (Bayern)" would become tr("Germany/Berlin (German)")?
I don't think we need to see "Feiertage fur Deutschland"
- Queries
- All Stories
- Search
- Advanced Search
Feed Advanced Search
Advanced Search
Advanced Search
May 7 2020
May 7 2020
May 6 2020
May 6 2020
Show all available holiday regions
Technically this looks fine from the Prison POV. Whether the barcode type selection makes sense beyond "because we can" I'm not sure about though (in particular the 1D codes seem to be of questionable use here), but then again that's not something introduced by this patch anyway.
May 5 2020
May 5 2020
vkrause committed R175:c39d1eb12217: Add holiday file for DE-BE (Germany/Berlin) (authored by vkrause).
Add holiday file for DE-BE (Germany/Berlin)
May 4 2020
May 4 2020
vkrause committed R1032:a879eef1d962: Fix detection of realtime data for intermediate stops (authored by vkrause).
Fix detection of realtime data for intermediate stops
In T11875#229181, @nicolasfella wrote:D29405 shows that a notifyrc-less KNotifications is possible in principle.
On Android we still have the problem that notifyrc supplies the needed channel name/descriptions.
Possible solution could be the aforementioned "Have app define actions in code somewhere", e.g. KNotification::addChannel("some_id", "Name", "Description"). Could fall back to a default channel if none is set
May 3 2020
May 3 2020
Allow to configure notifications
vkrause committed R1007:7ab3cd736654: Add remaining wrappers needed for implementing notification configuration (authored by vkrause).
Add remaining wrappers needed for implementing notification configuration
Add Intent::putExtra
vkrause committed R1007:3d9c2a4b43df: Add a wrapper class and macro for static JNI properties (authored by vkrause).
Add a wrapper class and macro for static JNI properties
May 2 2020
May 2 2020
vkrause committed R1007:e1ad91c8b3be: Add journey section details page showing intermediate stops (authored by vkrause).
Add journey section details page showing intermediate stops
vkrause committed R1032:dbbc069386d7: Fix location in arrival stopover of a journey section (authored by vkrause).
Fix location in arrival stopover of a journey section
vkrause committed R1032:13cfb57d0585: Propagate notes when creating a departure stopover from a journey section (authored by vkrause).
Propagate notes when creating a departure stopover from a journey section
Replace the simple ref count with a full child id tracking.
vkrause committed R1007:97524cb4194c: Fix build, previous commit was incomplete (authored by vkrause).
Fix build, previous commit was incomplete
Still not good enough, updating existing notfication messes up the refcounter, resulting still in leftover group elements.
vkrause committed R1007:44f1a6d3c258: Cancel still pending notifications on arrival (authored by vkrause).
Cancel still pending notifications on arrival
Explicitly track if notification groups are still in use.
This isn't good to go yet, there are corner cases where the group summary item stays around after closing the last notification, working on fixing this.
vkrause committed R289:c5688295e45f: Implement updating of notifications on Android (authored by vkrause).
Implement updating of notifications on Android
vkrause committed R289:9bfd98a3d3da: Handle multi-line and rich-text notifications on Android (authored by vkrause).
Handle multi-line and rich-text notifications on Android
May 1 2020
May 1 2020
vkrause committed R1007:ee98e36e0a8d: Close still active notifications for removed reservations (authored by vkrause).
Close still active notifications for removed reservations
Add a notifyrc file
vkrause committed R1007:272e7fc7d5e5: Fix a nullptr access to expired KNotification elements (authored by vkrause).
Fix a nullptr access to expired KNotification elements
vkrause committed R1007:bee7ad8b916d: Update reservations from live data where applicable (authored by vkrause).
Update reservations from live data where applicable
Implement live data importing
Apr 30 2020
Apr 30 2020
Oh, regarding borrowing for KTrip, you might want to check the one in Itinerary, that does some better train length scaling IIRC.
Don't remember why I ended up doing it like this back then...
vkrause moved T11348: Remember failed departure/arrival lookups from Actionable to Done on the KDE Itinerary board.
vkrause committed R1007:6d8d43e846e0: Retain journey information when selecting alternative connections (authored by vkrause).
Retain journey information when selecting alternative connections
vkrause committed R1007:618d0c50b21d: Use the new live data storage and notification generation methods (authored by vkrause).
Use the new live data storage and notification generation methods
vkrause committed R1007:eb5448da99c7: Port TimelineDelegateController away from deprecated KPublicTransport API (authored by vkrause).
Port TimelineDelegateController away from deprecated KPublicTransport API
vkrause committed R1007:3a92346e92ba: Refactor processing stopover query results (authored by vkrause).
Refactor processing stopover query results
vkrause committed R1007:799973d87cb7: Add helper methods to generate disruption notifications (authored by vkrause).
Add helper methods to generate disruption notifications
vkrause committed R1007:978e6773388a: Make KNotifications a mandatory dependency (authored by vkrause).
Make KNotifications a mandatory dependency
vkrause committed R1007:83a8e8241277: Make arrival/departure accessors const and use them internally as well (authored by vkrause).
Make arrival/departure accessors const and use them internally as well
Apr 29 2020
Apr 29 2020
Rework live data persistence
vkrause committed R1007:62fb41b195b7: Refactor stopover to reservation matching (authored by vkrause).
Refactor stopover to reservation matching
vkrause committed R1032:d8d6184d515d: Produce empty JSON objects when serializing empty Stopovers/JourneySections (authored by vkrause).
Produce empty JSON objects when serializing empty Stopovers/JourneySections
vkrause committed R1032:20fc2f30991c: Fix arrival queries on the Deutsche Bahn backend (authored by vkrause).
Fix arrival queries on the Deutsche Bahn backend
vkrause committed R1032:53d893f19008: Rename internal uses of queryDeparture to queryStopover as well (authored by vkrause).
Rename internal uses of queryDeparture to queryStopover as well
There might be ways around the native function registration issue from the QML thread, e.g. by using the alternative approach of exported (mangled) symbols instead: https://docs.oracle.com/javase/1.5.0/docs/guide/jni/spec/design.html -> "Loading and Linking Native Methods".
Apr 28 2020
Apr 28 2020
vkrause committed R1007:aba655334e66: Allow to override the current time in LiveDataManager (authored by vkrause).
Allow to override the current time in LiveDataManager
vkrause committed R1007:544d19b088f3: Move import/export code to its own file (authored by vkrause).
Move import/export code to its own file
Handle all EFA section types
vkrause committed R1032:b524a72f7a99: Extract intermediate stop delays from compact EFA responses (authored by vkrause).
Extract intermediate stop delays from compact EFA responses
vkrause committed R1032:88bbee945edb: Fix intermediate stops on EFA backends when there are none (authored by vkrause).
Fix intermediate stops on EFA backends when there are none
Apr 27 2020
Apr 27 2020
vkrause committed R1032:1432a86a4939: Parse EFA departure delays on intermediate stops (authored by vkrause).
Parse EFA departure delays on intermediate stops
vkrause committed R1032:4b49205068fb: Add property for CO2 emission per journey section (authored by vkrause).
Add property for CO2 emission per journey section
vkrause committed R1032:2671753e2340: Add methods to convert journey section departure/arrivals into stopovers (authored by vkrause).
Add methods to convert journey section departure/arrivals into stopovers
vkrause committed R1007:e79e81b82b3a: Adapt departure page to KPublicTransport API changes (authored by vkrause).
Adapt departure page to KPublicTransport API changes
Apr 26 2020
Apr 26 2020
vkrause moved T11367: Improve arrival/departure API naming from In Progress to Done on the KPublicTransport board.
vkrause committed R1032:424dfd40d859: Rename DepartureQueryModel to StopoverQueryModel (authored by vkrause).
Rename DepartureQueryModel to StopoverQueryModel
Rename Departure* QML elements as well
Rename DepartureReply to StopoverReply
vkrause committed R1032:96ce4eb4e780: Rename DepartureRequest to StopoverRequest (authored by vkrause).
Rename DepartureRequest to StopoverRequest
vkrause committed R1032:620a5323c2c6: Rename Manager::queryDeparture to queryStopover (authored by vkrause).
Rename Manager::queryDeparture to queryStopover
Rename Departure to Stopover
Rename DepartureUtil to StopoverUtil
Remove unnecessary forward declaration
vkrause moved T11365: Parse disruption information from Navitia departure queries from Ideas to Done on the KPublicTransport board.
vkrause moved T11367: Improve arrival/departure API naming from Ideas to In Progress on the KPublicTransport board.
vkrause committed R1032:fcbd4c86957a: Make vehicle layout requests work with journey sections directly (authored by vkrause).
Make vehicle layout requests work with journey sections directly
vkrause committed R1032:f9ccec5b985f: Detect transfer elements in EFA responses (authored by vkrause).
Detect transfer elements in EFA responses
Apr 25 2020
Apr 25 2020
vkrause moved T12967: Intermediate stopovers for journey sections from In Progress to Done on the KPublicTransport board.
vkrause committed R1032:87b3b6f01fe9: Request and parse intermediate stops from OTP backends (authored by vkrause).
Request and parse intermediate stops from OTP backends
vkrause committed R1032:42ca49310968: Parse intermediate stops in Hafas binary responses (authored by vkrause).
Parse intermediate stops in Hafas binary responses
Show line data at the top
vkrause committed R1032:0a3ec6183260: Consider intermediate stops for estimating the journey section distance (authored by vkrause).
Consider intermediate stops for estimating the journey section distance
Improve the intermediate stop UI a bit
vkrause committed R1032:5d4ff2d44c17: Add basic intermediate stop parsing for the compact EFA variant (authored by vkrause).
Add basic intermediate stop parsing for the compact EFA variant
vkrause committed R1032:3666a18e9242: Propagate route/line data for intermediate stops centrally (authored by vkrause).
Propagate route/line data for intermediate stops centrally
Apr 24 2020
Apr 24 2020
Regarding data sources, there is also https://api.met.no/, no API keys required, world-wide coverage and CC-licensed data. KDE Itinerary has some code for dealing with their forecast data.
vkrause committed R1032:814b7500179a: Add a lot more detailed UI for looking at intermediate stops (authored by vkrause).
Add a lot more detailed UI for looking at intermediate stops
vkrause committed R1032:883101b7db4c: Parse platforms on intermediate stops too for Hafas responses (authored by vkrause).
Parse platforms on intermediate stops too for Hafas responses
vkrause committed R1032:8e2549a5d3fa: Implement intermediate stop parsing for EFA XML responses (authored by vkrause).
Implement intermediate stop parsing for EFA XML responses
vkrause committed R1032:871ef56fde27: Add a primitive page to display intermediate stops of a journey section (authored by vkrause).
Add a primitive page to display intermediate stops of a journey section
vkrause committed R1032:c388a61c4099: Implement intermediate stop parsing for Hafas backends (authored by vkrause).
Implement intermediate stop parsing for Hafas backends
vkrause committed R1032:3f07144063a9: Implement intermediate stop parsing for Navitia backends (authored by vkrause).
Implement intermediate stop parsing for Navitia backends
vkrause committed R1032:be412f913cb3: Add data model for intermediate stops of a journey section (authored by vkrause).
Add data model for intermediate stops of a journey section