| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-05-14 | Refs #6998: Fix JS specs6998-fix-jest-specs | Zog | |
| 2018-03-15 | JourneyPatternsCollection#show: Fallback to route costs | Teddy Wing | |
| When editing a `JourneyPattern`, you can edit the distance & time costs between stops. We want to pre-fill these cost values (in the input fields) if they haven't already been set by a user. This way, they get an existing estimate of the cost and don't have to enter a value manually unless the default doesn't work. The pre-filled values come from `Route#costs`, which get calculated ahead of time via the TomTom API. Add a new `fetchRouteCosts` function that will fetch the costs for the current route from the API. This function also caches the value on `actions` so we don't keep making requests since the data isn't going to change. Put the cached fetch in a `requestAnimationFrame` as a sort of timeout to prevent a warning from React complaining about doing this during a `render()` call. Update `getTimeAndDistanceBetweenStops` to use the cost value from the route costs instead of the journey pattern costs if it doesn't exist. The `totalDistance` and `totalTime` we moved into `componentWillUpdate` instead of `render()` because we thought that might be the cause of the `render()` warning I mentioned above. Decided to leave this part in even though it doesn't have anything to do with the goal of the changes here, because it seemed like an okay change. The `RECEIVE_ROUTE_COSTS` reducer will update the state with route costs. We need the default distance:0 time:0 to avoid infinitely fetching the costs API if a cost with the given key can't be found. Put the route cost API URL in `window.routeCostsUrl` to allow us to get it from the Rails URL helper. Huge thanks to Johan for pairing with me on this code and walking me through the setup for integrating the route costs JSON response into the frontend interface. Refs #6203 | |||
| 2018-03-15 | Fixes VehicleJourneys javascript spec. Refs #6143 | Alban Peignier | |
| 2018-03-15 | Fix javascript specs | Zog | |
| 2018-03-14 | Merge pull request #348 from af83/6036-fix-journeys-editor | Alban Peignier | |
| Fix the journeys time editor. Refs #6036 | |||
| 2018-02-27 | Refs #6008; Use same time for arrival & departure in 1st and last stops6008-no-transition-time-for-journeys-start-and-end | Zog | |
| 2018-02-27 | Refs #6063; Fix the journeys time editor6036-fix-journeys-editor | Zog | |
| 2018-02-21 | Refs #5942; Apply users TZ when computing a schedule5942-apply-user-tz | Zog | |
| 2018-02-21 | Refs #5944; Skip automated times calculation when no start time is set5944-skip-schedule-calculation-when-no-time-is-set | Zog | |
| 2018-02-19 | Merge pull request #303 from af83/5899-use-waiting-time-in-schedules | Alban Peignier | |
| Use waiting_time in schedules computation. Refs #5899 | |||
| 2018-02-19 | Fixes javascript VehicleJourneys snapshot. Refs #58535853-detailed-calendar-view-in-vjs-index | Alban Peignier | |
| 2018-02-19 | Merge branch 'master' into 0000-docker | Luc Donnet | |
| 2018-02-12 | Refs #5899 @1h; Use waiting_time in schedules computation5899-use-waiting-time-in-schedules | Zog | |
| 2018-02-09 | Refs #4126 @6h; Add i18n to JS | Zog | |
| 2018-01-31 | Fix specs | Zog | |
| 2018-01-31 | Merge pull request #263 from af83/5750-non-commercial-stop-areas | Luc Donnet | |
| 5750 non commercial stop areas | |||
| 2018-01-29 | Refs #5750; Add a validation on VehicleJourneys | Zog | |
| Ensure a time is set for all non-commercial stops | |||
| 2018-01-25 | Refs #5598 @1h; Add specs5598-fix-journey-patterns-collection | Zog | |
| 2018-01-17 | Refs #5614 @0.5h; Fix schedule computation when departure minutes are not set5614-fix-schedule-computation | Zog | |
| 2018-01-12 | Fix Jest specs on timetablesfix-timetables-specs | Zog | |
| 2018-01-11 | Refs #5535; Fix specs | Zog | |
| 2018-01-11 | Fix specs | Zog | |
| 2018-01-11 | Add tests, but I'm unable to run them for now :-( | Zog | |
| 2018-01-11 | Refs #5551 @0.5h; Implement the custom fields in the creation modal | Zog | |
| And Refactor the component in the process | |||
| 2018-01-11 | Merge pull request #225 from af83/5535-compute-vehicle-journeys-times | Luc Donnet | |
| 5535 compute vehicle journeys times | |||
| 2018-01-10 | Merge pull request #217 from af83/5502-remove-search-from-selects | Alban Peignier | |
| Don't use Ajax in JP selector in VJs editor. Refs #5502 | |||
| 2018-01-10 | Refs #5535 @2H; Automatically fill VJs tilmes when possible | Zog | |
| 2018-01-10 | Refs #5437 @1h; Refactor code | Zog | |
| 2018-01-10 | Refs #5437 @0.5h; Propagate behaviour to the JourneyPatterns editor | Zog | |
| 2018-01-10 | Refs #5437 @0.5h; Show country name instead of city in the journeys editor | Zog | |
| When the organisation has the "long_distance_routes" features. Mind the `StopArea#country_name` method which is pending until we merge the branch which adds the countries support. | |||
| 2018-01-09 | Refs #5502 @4h; Don't use Ajax in JP selector in VJs editor5502-remove-search-from-selects | Zog | |
| When the number of possible values is low (<10), display the values right away, don't use an Ajax query | |||
| 2018-01-08 | Refs #5455 @6h; Add time and distance between stops in Journey Patterns | Zog | |
| - Adds a `JSON` attribute in the model - Adds the fields in the editor | |||
| 2017-12-28 | Refs #5435 @0.5h; Fix Company select in VehicleJourney edition modal | Zog | |
| 2017-12-28 | Refs #5435 @0.5h; Fix EditModal validation in VehicleJourneys#index | Zog | |
| 2017-12-28 | Fixes vehicleJourneys reducer spec. Refs #5407 | Alban Peignier | |
| 2017-12-27 | Merge pull request #183 from af83/5407-add-purchase-windows-to-vehicle-journeys | Alban Peignier | |
| Add purchase windows to vehicle journeys. Refs #5407 | |||
| 2017-12-27 | Merge pull request #177 from af83/5376-fix-vehicle-journeys-ui | Alban Peignier | |
| Fix vehicle journeys ui. Refs #5376 | |||
| 2017-12-27 | Refs #5407; Fix CI | Zog | |
| 2017-12-27 | Refs #5407 @4h; First UI implementation | Zog | |
| - Add most of the react code - And the specs where possible Still remains: - Link PurchaseWindows to VehicleJourneys in the model - Add an autocompletion endpoint | |||
| 2017-12-27 | Refs #5376 @1h; Change the behaviour of the inputs on VehicleJourney#index | Zog | |
| We don't block user actions anymore. Instead, when the departure time is set prior to the arrival time, we shift the arrival time accordingly (and reversed when the user sets the arrival time) | |||
| 2017-12-22 | Update Specs to what should be the correct behaviour | Zog | |
| 2017-12-22 | Refactor stopPointsReducer spec; | Zog | |
| For now no bug has been fixed :-) | |||
| 2017-12-13 | Merge branch 'master' into staging | cedricnjanga | |
| 2017-12-13 | Fix VJ spec | cedricnjanga | |
| 2017-10-17 | Merge branch 'master' into staging | Alban Peignier | |
| 2017-10-17 | fix ci spec task Refs #4737 | Guillaume | |
| 2017-10-16 | Merge branch 'master' into staging | Luc Donnet | |
| 2017-10-16 | add jest for js test, fix js test errors, remove unused config in ↵ | Guillaume | |
| config/environement | |||
| 2017-10-10 | Need to test webpack config and to configure teaspoon to run React Apps specs | cedricnjanga | |
