| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-04-27 | Use truncation in ReferentialCloningWorker spec to find the created ↵6833-clone-by-command | Alban Peignier | |
| referential outside of the transaction. Refs #6833 | |||
| 2018-04-26 | Use less strict expressions in sed command (to support old syntax of PG 9.4 ↵ | Alban Peignier | |
| dump for example). Refs #6833 | |||
| 2018-04-26 | Replace AF83::SchemaCloner by a dump/sed/restore command. Refs #6833 | Alban Peignier | |
| 2018-04-26 | Merge pull request #537 from af83/6836-fix-checksums | Alban Peignier | |
| Fix checksum for new journeys. Refs #6836 | |||
| 2018-04-26 | Refs #6836; Fix checksum for new journeys6836-fix-checksums | Zog | |
| 2018-04-26 | Merge pull request #536 from af83/6628-fix-i18n | Alban Peignier | |
| Fix string interpolation. Fixes #6628 | |||
| 2018-04-26 | Merge pull request #535 from af83/6829-fix-vjs-editor | Alban Peignier | |
| Fix Purchase Windows assignment in VJs editor. Fixes #6829 | |||
| 2018-04-26 | Merge pull request #534 from af83/6828-fix-purchase-windows-bounding-dates | Alban Peignier | |
| Fix PurchaseWindow#bounding_dates. Fixes #6828 | |||
| 2018-04-26 | Merge pull request #533 from af83/6826-fix-times-interpolation | Alban Peignier | |
| Fix times interpolation with day offsets. Fixes #6826 | |||
| 2018-04-26 | Refs #6628; Fix string interpolation6628-fix-i18n | Zog | |
| 2018-04-26 | Merge pull request #532 from af83/6667-fix-json_serilization | Alban Peignier | |
| Fix Metadata serialization. Refs #6667 | |||
| 2018-04-26 | Refs #6621; Don't apply the filters on the return courses | Zog | |
| 2018-04-26 | features/stop_areas_spec: Fix `name_or_objectid_cont` name | Teddy Wing | |
| This name has been renamed to get Ransack to filter by registration number (in c2a466e04d3e335a56ab5bd0866b3663da29ffa0). Change the name used in these tests to get them to pass again. Refs #6681 | |||
| 2018-04-26 | StopAreasController spec: Test when the name filter is empty | Yuhiba | |
| Check that all stop areas are found when the name/objectid/registration number filter is sent with an empty value. Refs #6681 | |||
| 2018-04-26 | StopAreas#index: Filter by registration number | Teddy Wing | |
| The input that filters by name and objectid now also needs to filter by registration number. Refs #6681 | |||
| 2018-04-26 | Refs #6829; Fix Purchase Windows assignment in VJs editor6829-fix-vjs-editor | Zog | |
| 2018-04-26 | Refs #6828; Fix PurchaseWindow#bounding_dates6828-fix-purchase-windows-bounding-dates | Zog | |
| 2018-04-26 | Refs #6826; Fix times interpolation with day offsets6826-fix-times-interpolation | Zog | |
| 2018-04-26 | Refs #6667; Fix Metdata serialization6667-fix-json_serilization | Zog | |
| 2018-04-26 | Merge pull request #531 from af83/6819-fix-vjs-custom-fields | Alban Peignier | |
| Fix CustomFields in React views. Fixes #6819 | |||
| 2018-04-26 | Refs #6819; Fix CustomFields in React views6819-fix-vjs-custom-fields | Zog | |
| 2018-04-26 | Refs #6811; Fix specs | Zog | |
| 2018-04-26 | Truncate Referential#slug. Refs #6811 | Alban Peignier | |
| 2018-04-26 | Merge pull request #529 from af83/6486-fix-bumpy-front | Alban Peignier | |
| Fix bumpy front. Refs #6486 | |||
| 2018-04-26 | :fire: log6486-fix-bumpy-front | Zog | |
| 2018-04-26 | Refs #6486; Fix bumpy front | Zog | |
| 2018-04-26 | AutocompleteLinesController: Don't error if no `q` param is passed | Teddy Wing | |
| Previously the action would respond with a 500 error if no `q` parameter was given in the request. Instead, respond with a 200 and fix the error that occurs as a result of assuming that `params[:q]` exists in `AutocompleteLinesController#collection`. Refs #5889 | |||
| 2018-04-26 | ReferentialVehicleJourneys: Use display name in line filter drop-down | Teddy Wing | |
| Previously we had been showing the `name` field for the initial value of an already selected line. However, that doesn't show all the information that's normally given in the drop-down options. We instead have to use the `#display_name` method to get the full display that people are used to seeing in the drop-down. This also means we can no longer `pluck`, as more fields are required to assemble the display name. Instead, just do a simple `find` for the record. Refs #5889 | |||
| 2018-04-26 | ReferentialVehicleJourneys: Fix line drop-down placeholder | Teddy Wing | |
| After adding the `initvalue` data attribute, the placeholder was no longer rendered. Fix this by: 1. Removing all elements from the collection to ensure that boolean options don't get added by default to the select (https://github.com/plataformatec/simple_form/blob/84e4465/lib/simple_form/inputs/collection_input.rb#L36-L41) 2. Not setting an `initSelection` on the Select2 config if the initial selection fields are empty. This finally gets the placeholder to display correctly again. Refs #5889 | |||
| 2018-04-26 | ReferentialVehicleJourneys: Show selected line in drop-down | Teddy Wing | |
| Previously we weren't showing the currently-selected line filter in the drop-down label. If a line is selected, get its ID and name and use those to pre-fill the select. Using Select2's `initSelection` option to configure this instead of putting `selected: ` in the Rails field definition. That would have looked like this: collection: [[@filtered_line.name, @filtered_line.id]], selected: params[:q] && params[:q][:route_line_id_eq], But doing it that way wasn't possible because this is an AJAX-populated Select2. Since we already have a way to use `initSelection`, this was the quickest and easiest way to go, but apparently Select2 v4.0 deprecated this option, instead doing it with a data adapter. Couldn't really be bothered right now to figure out how to set that up as it seemed like a lot of work for not much payoff right now. Also, I was a little disappointed in Select2's docs regarding this. From what I understood, it looks like you basically need to create your own custom data adapter to do this, which sounds like a pain, and I'm not sure if I would have to mess with the rest of our existing Select2 configuration setup in order to integrate that. Refs #5889 | |||
| 2018-04-26 | Fix CustomField specs | Zog | |
| 2018-04-26 | Fix VehicleJourney Specs | Zog | |
| 2018-04-26 | Merge pull request #471 from af83/6491-timetable-confirm-modal-cancel | Alban Peignier | |
| Fix cancel button actions in confirm modal. Refs #6491 | |||
| 2018-04-25 | Refs #6620; Do not show the 'chrono' on the last stop | Zog | |
| 2018-04-25 | Refs #6620; Show 'chrono' icon in computed journeys | Zog | |
| 2018-04-26 | Avoid problem in merge specs with route checksum (problem not reproduced in ↵ | Alban Peignier | |
| real condition) | |||
| 2018-04-26 | Apply uniq on routing_constraint_zones checksums | Alban Peignier | |
| 2018-04-26 | Fixes problems in ReferentialCloning specs. Refs #5372 | Alban Peignier | |
| 2018-04-26 | Update both checksum_source and checksum into ↵ | Alban Peignier | |
| ChecksumSupport#update_checksum_without_callbacks | |||
| 2018-04-26 | Fixes problems in ReferentialCloning specs. Refs #5372 | Alban Peignier | |
| 2018-04-26 | Fixes problems in CleanUp specs. Refs #5372 | Alban Peignier | |
| 2018-04-25 | Merge pull request #526 from af83/6779-fix-info-button-on-vjs-editor | Alban Peignier | |
| Fix disabled buttons in archived referentials. Fixes #6779 | |||
| 2018-04-25 | Remove Chouette::RoutingConstraintZone.with_stop_points_contained_in search ↵ | Alban Peignier | |
| from Route#checksum_attributes (no needed). Refs #6762 | |||
| 2018-04-25 | Merge pull request #523 from af83/6683-uniformize-timezone-formats | Alban Peignier | |
| Uniformize the time_zones notation. Refs #6683 | |||
| 2018-04-25 | Display StopArea timezone in stop_areas/show. Refs #66836683-uniformize-timezone-formats | Alban Peignier | |
| 2018-04-25 | Avoid callbacks in FixTimezones updates. Refs #6683 | Alban Peignier | |
| 2018-04-25 | Refs #6683; Uniformize the time_zones notation | Zog | |
| 2018-04-25 | Merge pull request #518 from af83/5372-clean-with-metadata-2 | Alban Peignier | |
| Use referential metadata in the cleanup operation. Fixes #5372 | |||
| 2018-04-25 | Merge pull request #522 from af83/6638-stop-area-coordinates | Alban Peignier | |
| Switch stop area coordinates order (long lat) in geo data. Fixes ##6638 | |||
| 2018-04-25 | Merge pull request #520 from af83/6711-update-parents-checksum | Alban Peignier | |
| Update checksums on parents. Fixes #6711 | |||
