aboutsummaryrefslogtreecommitdiffstats
path: root/app/javascript/vehicle_journeys/components
AgeCommit message (Collapse)Author
2018-05-23Merge pull request #539 from af83/6845-fix-ieLuc Donnet
Refs #6845; Fix IE
2018-05-03Refs #6884; Allow for overnight stops6864-fix-schedules-editorZog
As long as one arrives after 11pm and leaves before 1am
2018-04-27Refs #6845; Fix IE :shrug:6845-fix-ieZog
2018-04-26Refs #6836; Fix checksum for new journeys6836-fix-checksumsZog
2018-04-26:fire: log6486-fix-bumpy-frontZog
2018-04-26Refs #6486; Fix bumpy frontZog
2018-04-25Refs #6779; Fix diabled buttons in archived referentials6779-fix-info-button-on-vjs-editorZog
2018-04-25Merge pull request #519 from af83/6472-itls-exclusionsAlban Peignier
Add Constraint Zone exclusions to journeys. Refs #6472
2018-04-25Refs #6472; Add Constraint Zone exclusions to journeys6472-itls-exclusionsZog
along with the React interface
2018-04-24Refs #6633; Prevent duplicate error message during journey creationZog
2018-04-24Refs #6376 Add some english translationscedricnjanga
2018-04-19Refs #6193; Show journey length in VJs editorZog
If `journey_length_in_vehicle_journeys` feature is enabled
2018-04-16Refs #6551; Add CustomFields to JourneyPatterns6551-add_custom_field_values_to_journey_patternsZog
2018-04-13Refs 6456; Fix timtables button in VJs editorZog
Don't open the timetables of the return journeys if these are displayed. Same for the purchase windows
2018-04-04Refs #6370 Add some more translationscedricnjanga
2018-04-04Refs #6316; String-type CustomFieldsZog
2018-04-03Refs #6400 Fix typos for VJ i18n6400-vehicle-journey-i18ncedricnjanga
2018-03-29Refs #6156 Fix typocedricnjanga
2018-03-29Refs #6156 Update Vehicle journey translationscedricnjanga
2018-03-27Merge pull request #406 from af83/6303-vj-edit-modal-labelLuc Donnet
Refs #6303 Fix published journey identifier label
2018-03-26Refs #6220 Change conditions to displays vehicle journeys errorscedricnjanga
2018-03-23Refs #6303 Fix published journey identifier label6303-vj-edit-modal-labelcedricnjanga
2018-03-15Fixes extraHeaders position in VehicleJourneys component. Refs #61436143-extra-rows-in-vjs-editor-headerAlban Peignier
2018-03-15Refs #6143; Configurable extra headers on VJs editorZog
2018-03-14Fix bug on VJs editor when invalid journeys are already in db.Zog
2018-03-14Merge pull request #348 from af83/6036-fix-journeys-editorAlban Peignier
Fix the journeys time editor. Refs #6036
2018-03-09Refs #6042; Add detailed view for purchazse windows6042-detailed_purchase_windowsZog
2018-03-05Merge pull request #349 from af83/6039-handle-long-delats-in-vj-editorLuc Donnet
6039 Display '+' when a delta is > 99
2018-02-27Refs #6039; Display '+' when a delta is > 996039-handle-long-delats-in-vj-editorZog
2018-02-27Refs #6063; Fix the journeys time editor6036-fix-journeys-editorZog
2018-02-23Refs #5982; Show error in VJ creation modal when no JP is selectedZog
2018-02-22Refs #5993; Homogenize calendars display5993-enhance-detailed-calendarZog
2018-02-21Refs #5942; Apply users TZ when computing a schedule5942-apply-user-tzZog
2018-02-20Refs #5901; Makes TimeTable search accent insensitiveZog
2018-02-20Merge pull request #294 from af83/5863-use-shallow-urls-for-referentialsLuc Donnet
5863 Remove workbench id from the querystring
2018-02-20Refs #5863 @6h; Remove workbench id from the querystringZog
Infer it when possible, and use a nested otherwise
2018-02-19Refs #5853; Better cssZog
2018-02-19Refs #5853 @2h; Add a detailed calendars view on VJs editorZog
2018-02-09Refs #4126 @2h; Add more translationsZog
2018-02-09Refs #4126 @6h; Add i18n to JSZog
2018-02-02Refs #5825 @1h; Fix info window behaviour on VJs editorZog
2018-02-01Refs #5798 @3h; Show return journeys on the journeys' editor.Zog
2018-01-31Merge pull request #269 from ↵Luc Donnet
af83/5574-vehicle-journeys--fix-transporter-deletion-in-modal--rb 5574 vehicle journeys fix transporter deletion in modal rb
2018-01-31VehicleJourneys#index: Allow company deletion in 'add' modal5574-vehicle-journeys--fix-transporter-deletion-in-modal--rbTeddy Wing
While the 'x' button in the Select2 was available in the 'edit' modal for a vehicle journey, it was not in the 'add' modal. Thus, once you added an associated company, you couldn't remove it in the modal. You'd either have to cancel and create your vehicle journey again, or create it an delete the company in the 'edit' modal later. This enables the 'x' button in the 'add' modal (it previously was only enabled when `editMode` was active) and sets the proper action/reducer to remove the company. The `allowClear` attribute was changed to only work in the 'edit' modal in 0079238842263768b88b0fa0fd977824b49eabd5. That commit appears to be changing things so that certain functions work when not in 'edit' mode. The case we're concerned about is that the 'edit' modal can be opened when in 'view' mode (not 'edit' mode) in order to get more detailed information about a vehicle journey. This means the company Select2 is available in 'view' mode, and the 'x' button should not be visible in that case. But, when I tested this, even with `allowClear: true`, the 'x' button wasn't visible. This, I can only assume, is because the Select2 is in a 'disabled' state, so it's smart enough to know not to show the 'x' button. Which works great for us, because this allows us to not show the 'x' button here and still show it in the 'add' and 'edit' modals. Refs #5574
2018-01-29Refs #5750; Add a validation on VehicleJourneysZog
Ensure a time is set for all non-commercial stops
2018-01-12Refs #5529 @0.5h; Refactor buttons5529-prevent-double-submitting-of-react-formsZog
2018-01-12Refs #5529 @0.5h; Prevent double submitting of react formsZog
2018-01-11Fix specsZog
2018-01-11Merge pull request #227 from af83/5551-handle-custom-fields-in-vjs-editorLuc Donnet
5551 Handle custom fields in VJs editor
2018-01-11Refs #5493 @1h; Use local time in the Journeys editorZog
We store UTC times in the database though