aboutsummaryrefslogtreecommitdiffstats
path: root/spec/javascripts/vehicle_journeys
AgeCommit message (Collapse)Author
2017-10-10Need to test webpack config and to configure teaspoon to run React Apps specscedricnjanga
2017-08-24Edit VJ to enable shift and to go past midnight (DayOffset)cedricnjanga
2017-08-16Add VJ Delete company actioncedricnjanga
2017-06-28Refs #3902: fix clearFilter on VJjpl
2017-06-21Refs #3338: Fix duplicate vj not multiplying departureDeltaThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-31Refs #3629: Fix transport_(sub)mode supplied to new vjThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-23Refs #3464: Add published journey identifier field when creating vjThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-22vehicle_journeys: Initialize `withoutTimeTable` to `false`Teddy Wing
This filter, currently called "Afficher les courses sans calendrier", needs to not do anything by default and be set to "Non". When toggled to "Oui", it should filter to show only the vehicle journeys that have no associated calendar. Change the toggle and the initial value of the state variable that it's backed by to "Non" and `false` to reflect this definition. See 44712fe052e0c554c0510d4665a35c66540ffa05 and a6aae5dc43eb89ba7ebc5f794f03ce722986957a for more information. Refs #3427
2017-05-22vehicle_journeys/reducers/filters_spec: Fix CREATE_QUERY_STRING testTeddy Wing
My change to add the `vehicle_journey_without_time_table` filter option in c84330abb5f52d42e1aa7ec9e5db930d8e23163e broke this test because my change modified the query string. Add in the new `vehicle_journey_without_time_table` param to the expected query string. Also rewrite the string as an array to make it a little easier to read.
2017-05-17Refs #3404: start adding no_timetable filter on VJjpl
2017-05-17Fix testsjpl
2017-05-16Refs #3403: Fix timetables modal now working as expectedThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-04-13Fix broken vj create query string specThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-04-10Fix query.withoutSchedule default is true in vjThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-04-06Refs #2507: Fix filter modal not being displayed, added arg in querystring ↵Thomas Haddad
for toggle arrivals Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-03-14Refs #2791: Add company select2 in add / edit modalThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-03-13Refs #2776: Fix TotalCount with new json, and check when no vjThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-03-10Fix lost vjas attribute when fixing 0 vj caseThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-03-10Fix add vj when no vj fetched beforeThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-03-09Fix Filter query specThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-03-08Refs #2751: Add UPDATE_TOTAL_COUNT for vjThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-03-08Refs #2750: Disable inputs for dummy vjasThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-03-08Refs #2507: create queryString w/ state query paramsThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-03-08Refs #2507: add some specs for latest actions/reducers w/filtersThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-03-08Refs #2507: fix whole query system with batchActions and queryStringThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-03-07Refs #2507: Add JourneyPattern in filtersThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-03-07Refs #2507: add timetable to filtersThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-03-06Refs #2507: Add reset, interval and toggle vj w/o schedulesThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-03-06Refs #2521: Fix deletable/selected correlation when reducedThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-03-03Refs #2521: Add timetable to one or more vjThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-03-02Refs #2522: use Bselect2 to link a jp to a vjThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-28Refs #2521: Fix use correct vj properties (published journey name / id & ↵Thomas Haddad
company) Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-28Refs #2521: Add Tools Wrapper and CANCEL_SELECTION actionThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-28Fix vj specs and modal specsThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-27Refs #2521: Add edit calendar modal (no add yet)Thomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-24Fix spec gardeningThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-24Refs #2521: Add footnote edition for one vjThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-23Refs #2521: Add edit modal for vj medatatas (only comment editable)Thomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-22Refs #2524: Add Duplicate Vehicle journey featureThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-22Fix Add specs and improve pad methodThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-22Fix Shift feature with preselected vehicle journeyThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-21Refs #2521: Add shift vj schedules, no implementation of day offset yetThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-20Refs #2505: Add delta between departure and arrival for vjasThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-17Refs #2523: Add Delete vehicle journey (w/o modal)Thomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-17Refs #2521: add selected attr to vehicle journeyThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-16Refs #2522: Add vehicleJourney via modal, and put it first (not select2 yet ↵Thomas Haddad
for mission_id) Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-16Refs #2521: Add confirm modal when changing page if modifications were ↵Thomas Haddad
previously done Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-15Refs #2521: Fix vjas arrival and departure_time processed without momentThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-15Refs #2521: Fix updateTime specsThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-02-14Refs #2521: Add vjas time modification for vehicle journeysThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>