BeRail

Rating: 
5
Your rating: None Average: 5 (2 votes)

BeRail V2.X!

Banner

BeRail is an open source Sailfish OS application to plan your journeys on the Belgian railway. It uses the iRail API as source of information and is officially part of the iRail project.

Features:

  • 100% native Silica components
  • C++ backend with integrated logging for QML and C++
  • Caching support
  • Routeplanner with an easy switch between the departure and arrival station
  • Liveboard in the old NMBS style which remembers your last station
  • Favourite departure and arrival station
  • Disturbances & delays
  • Many more!

FAQ:

  1. I can't use BeRail on my Sailfish OS device with Sailfish OS version < 2.1.0.X
    Upgrade to the latest version, BeRail depends on Qt 5.6 which is only available for Sailfish OS 2.1.0.X and higher.
  2. I want to contribute to the translations, code, ... of BeRail
    Great! Checkout the Github repository for more information or below.
  3. I want to donate to BeRail
    You can donate in the app or by clicking this button below:
  4. I want to report a bug or feature for BeRail 1.X
    Sorry, BeRail V1.X isn't supported any more, please upgrade to the latest release on Openrepos or the Jolla Store.
  5. BeRail fails to retrieve some of my trips when I selected "all trains" in settings
    It's a known bug in the iRail API and will be fixed soon, until then you can select "only locale trains" as a workaround.

Issues:

See Github issues

The beta version of BeRail is available on Openrepos, as soon as it's stable the release version will be available on Openrepos and the Jolla Store.

Roadmap:

See Github projects

Translations:

Transifex project

In case a language is missing, you can request it. Feel free to translate BeRail in your language, the translations are updated with every release.

Bugs, requests and other stuff:

  • Source code available on Github: https://github.com/irail/harbour-berail
  • If you want to report a bug you need to provide your logs from /home/nemo/.cache/harbour-berail/logging and a terminal output is handy as well.
Screenshots: 
Changelog: 

- [NEW] C++ backend with automatically caching and concurrent HTTPS requests
- [NEW] Refreshed QML UI following the Model-Delegate-View principles by Qt
- [NEW] Enforced Sailfish OS coding convention
- [NEW] Occupancy level for every connection and vehicle
- [NEW] Follow the progress of your connection
- [NEW] Select the type of trains (locale or all trains) you would like to see
- [NEW] Disturbances are parsed based on their title, description and the affected location
- [NEW] Via connection missing due delays is now shown in the UI
- [IMPROVEMENT] Time and date selectors provide a button to select the current time and date
- [IMPROVEMENT] Parsing time and date improved
- [IMPROVEMENT] Disturbances moved to a seperate page
- [IMPROVEMENT] ID based translations to follow the Sailfish OS code of conduct
- [IMPROVEMENT] User-Agent is now set correctly
- [IMPROVEMENT] Better shown which the departure and arrival station is
- [IMPROVEMENT] Errors messages are now correctly shown to the user
- [IMPROVEMENT] The train type and direction of the train is now also visible for vias
- [IMPROVEMENT] Via arrival and departure time is now displayed
- [IMPROVEMENT] Via delays are merged within their arrival and departure times
- [IMPROVEMENT] Duration of a connection is shown
- [DEVELOPMENT] KDE Umbrello taken in use to generate the class diagrams for the C++ backend
- [DEVELOPMENT] Updated README file with contribution guidelines, translation status, etc.
- [TRANSLATIONS] Moved to ID based translations
- [TRANSLATIONS] Automatically updating translations on Transifex after each merge request
- [TRANSLATIONS] Updated translations
- [STORE] Fetching version from RPM YAML file
- [STORE] Fixed RPM changelog e-mail

Comments

minitreintje's picture

Yes, appearently, changing the date is appearently an issue for that connection. Probably a small glitch in the API backend I think.

minitreintje's picture

Thanks for the report, I can reproduce this issue. I will look into it tomorrow.

objectifnul's picture

You mean, it's usually okay except for the example I mentioned?

objectifnul's picture

Version 1.1-2 was fine. Version 2.0-1 fails.
(iRail API couldn't complete your request)

However, the Jolla Store version is OK (except the "from/to" reversal problem).

minitreintje's picture

I tracked the bug down and it's a bug on the iRail side, the issue relies in the Type Of Transport property when searching for connections.

If you select "only local trains" in Settings it works but not when you choose "all trains". I will mark this feature as experimental since this in an issue on the API side (it's a known bug: https://github.com/iRail/iRail/issues/335). The older version didn't use this property because it was introduced not so long ago.

I will upload a newer version which has the setting "only local trains" as default.

minitreintje's picture

Weird, I tested on 3 SFOS devices and I only have that when an invalid request has been made. When do you get that?

objectifnul's picture

Right now, for a trip from Ottignies to Bruxelles Midi on Jan 10 at 05:45

objectifnul's picture

Some SNCB/NMBS railway stations changed their name. So they are ignored by this app. Examples: Rochefort-Jemelle (formerly Jemelle) and Kontich.

minitreintje's picture

BeRail uses the official iRail stations list for search operations.
I made a pull request on their Github page in order to update it.