aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/javascripts
AgeCommit message (Collapse)Author
2017-05-22Refs 3448: fix daytypes only applied to days within periodsThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-22Refs #3406: updating ttCombination layoutjpl
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: Send "without_time_table" filter to backendTeddy Wing
Replicate the `vehicle_journey_without_departure_time` filter to send the state of the "Afficher les courses sans calendrier" toggle to the backend to filter vehicle journeys. Leverage Jean-Paul's `state.query.withoutTimeTable` state variable which tracks the state of the toggle. Refs #3427
2017-05-22Edit autocomplete time_tables json formatXinhui
Refs #3429
2017-05-19Edit select2 templateResult for Calendar & TimeTableXinhui
Refs #3431
2017-05-19Fix wrong class declaration on reactux timetables#edit (no cocoon inside)jpl
2017-05-19Templating select2 time_table_combination + refactoringXinhui
Refs #3406
2017-05-19Refactoring TimeTableCombination with calendar supportXinhui
2017-05-19Refs #3408: fixing returned value/suggested value on MissionSelectjpl
2017-05-19Add french translations for select2s (doesn't wwork w/ native s2 i18n)Thomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-18Refs #3408: updating query for missionselect2 on VJjpl
2017-05-18Refs #3399: updating min char on OID filter, for VJjpl
2017-05-17Refs #3404: start adding no_timetable filter on VJjpl
2017-05-17Refs #870: Fix keep id when shifting vjasThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com> Signed-off-by: Teddy Wing<teddy.wing@af83.com>
2017-05-17Refs #3399: adding objectid filter on vjjpl
2017-05-17Remove logger from vjThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-16Refs #3399: adding oid filterjpl
2017-05-16Refs #3402: fix VJ tt displayjpl
2017-05-16Refs #3403: Fix timetables modal now working as expectedThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-16Refs #3377: updating maps layout on routes#showjpl
2017-05-16Refs #3400: removing color_filter, adding tag_filterjpl
2017-05-16Refs #3377: Add special layer for edges (and own styles)Thomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-16Refs #3377: Remove arrow func for sake of the buildThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-16Refs #3377: Fix let statement not being allowedThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-16Refs #3377: add defaultStyles for ol map pointsThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-16Refs #3377: Add openlayers map in routes#showThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-12VehicleJourneysController#collection: Restore departure time filterTeddy Wing
Handle temporary fixes from 972500267f28f233d5670277c02d43fae5ad8e7b and 1f6fb9c73206f3984d2f942d5d16fb9c094b2164. Restore the JavaScript because that should function the same way now. Remove the Ransack call as we've moved this departure time filter outside of Ransack and into our own custom method in order to eliminate a duplicated "JOIN" call on "vehicle_journey_at_stops" collision between the `.with_stops` query and Ransack. The new filter lives in `VehicleJourney.where_departure_time_between`. Refs #3370
2017-05-12Refs #3356: clean VJ dummy management (headlined class)jpl
2017-05-12VehicleJourneys#index Temp disable filter by departure timeXinhui
Refs #3358
2017-05-11Refs #3336: Fix validate button being moved out of react rendering scopeThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-11Refs #3357: remove delete stoppoint id when update stopareaThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-10Refs #3245: Fix stoppoints_id order being preserved for submitThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-10Refs #3339: Disabled start_time input when multiple vj are selected in duplicateThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-10Fix exceptions not being shown active when reloadingThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-09Refs #3328: updating objectid with shorten version on VJ and JPjpl
2017-05-09Refs #3327: Fix no data attr for turbolinks not usedThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-05Js gardening in timetable actions & action specsThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-04Add specs for redux timetable actionsThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-04Refs #3271: adding periods correct dates display on tt#editjpl
2017-05-03Refs #3284: use I18n for transport_(sub)mode in vj editThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-03Refs #3269: Fix fields not being required anymore + wordingThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-03Refs #3096: Add/store comment when olmap is toggledThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-03Remove timetables loggerThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-02Refs #3269: Fix required filed in create modal for jpThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-05-02Refs #3267: Fix fetch vehicle_journey properly (company/idenfitier)Thomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-04-28Refs #3171: add departure input in modal modifying duplicated vjas valuesThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-04-28Refs #3171: Fill departure input w/ proper dataThomas Haddad
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
2017-04-28Refs #3171: updating layout for duplicate modal on VJjpl
2017-04-28Refs #3171: do stuff with refsjpl