| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-05-17 | Test opposite routes in merge referential. Refs #6842 | Alban Peignier | |
| 2018-05-17 | Associate opposite_routes during merge (when available). Refs #6842 | Alban Peignier | |
| 2018-05-17 | Refs #6624; Update parent's checksum on deletion | Zog | |
| 2018-05-15 | CleanUp: Add `#destroy_empty`6854-clean-up--destroy-routes-outside-referential | Teddy Wing | |
| Gives us a single call site to trigger the destruction of vehicle journeys, journey patterns, and routes without content. This was previously done directly in the `#clean` method, but since it's not needed during referential duplication (only during merges), we don't want to enable it by default. Thus now to activate the same old functionality, you would create a `CleanUp` like this: CleanUp.new(methods: [:destroy_empty]) Refs #6854 | |||
| 2018-05-14 | CleanUp: Add `#run_methods` | Teddy Wing | |
| This method is coupled with a new virtual attribute that can be used in the initializer like: CleanUp.new(methods: [:destroy_routes]) The method will run all methods specified in the `:methods` list. The plan is to replace the calls to `destroy_routes` etc. with a call to this method. The result will be a more configurable clean-up process, allowing users to selectively choose what to clean up by declaring what methods in the `CleanUp` model to call. Refs #6854 | |||
| 2018-05-14 | CleanUp spec: Pass ids to `#exists?` call | Teddy Wing | |
| Looks like I temporarily forgot that this method takes an ID. Refs #6854 | |||
| 2018-05-14 | CleanUp#destroy_routes_outside_referential: Test cascade | Teddy Wing | |
| Ensure that `JourneyPattern`s and `VehicleJourney`s associated with orphaned routes get deleted in cascade. Refs #6854 | |||
| 2018-05-14 | CleanUp: Add `#destroy_routes_outside_referential` | Teddy Wing | |
| This builds on `#destroy_vehicle_journeys_outside_referential` (which will soon be removed in favour of this new method). It destroys orphaned routes in a referential. Refs #6854 | |||
| 2018-05-11 | Avoid time shift in User specs | Alban Peignier | |
| 2018-05-10 | Fix specs. Refs #6960 | Alban Peignier | |
| 2018-05-04 | Refs #6920; Fix specs6920-activate-newly-created-referentials | Zog | |
| 2018-05-03 | Refs #6920; Fix typo | Zog | |
| 2018-05-02 | Refs #6572; Fix specs6572-make-new-referentials-pending | Zog | |
| 2018-05-02 | Refs #6572; Crete Referentials in a pending state | Zog | |
| And fix a bug preventing the deletion of referentials without a schema | |||
| 2018-04-30 | Fix VehicleJourney#fill_passing_times! | Zog | |
| 2018-04-29 | Fix more specs | Zog | |
| 2018-04-27 | Refs #6572; Fix specs | Zog | |
| 2018-04-27 | Refs #6572; Fix specs | Zog | |
| 2018-04-27 | Refs #6572; New Referential#Show for noredy referentials | Zog | |
| 2018-04-27 | Refs #6572; Use new states | Zog | |
| 2018-04-27 | Refs #6572; Define 4 different states on Referentials | Zog | |
| With according methods and scopes | |||
| 2018-04-27 | Fix Vehicle journeys specs | Zog | |
| 2018-04-27 | Disable 'compute passing time' spec | Alban Peignier | |
| 2018-04-26 | Replace AF83::SchemaCloner by a dump/sed/restore command. Refs #6833 | Alban Peignier | |
| 2018-04-26 | Refs #6826; Fix times interpolation with day offsets6826-fix-times-interpolation | Zog | |
| 2018-04-26 | Refs #6811; Fix specs | Zog | |
| 2018-04-26 | Truncate Referential#slug. Refs #6811 | Alban Peignier | |
| 2018-04-26 | Fix CustomField specs | Zog | |
| 2018-04-26 | Avoid problem in merge specs with route checksum (problem not reproduced in ↵ | Alban Peignier | |
| real condition) | |||
| 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 #520 from af83/6711-update-parents-checksum | Alban Peignier | |
| Update checksums on parents. Fixes #6711 | |||
| 2018-04-25 | Merge pull request #524 from af83/6762-merge-ignored_routing_contraint_zones | Alban Peignier | |
| Merge VehicleJourney ignored_routing_contraint_zone_ids. Refs #6762 | |||
| 2018-04-25 | Update VehicleJourney checksum when StopPoint change isn't necessary in fact ↵6711-update-parents-checksum | Alban Peignier | |
| (#mybad). Refs #6711 | |||
| 2018-04-25 | Refs #6762; Fix bug on RoutingConstraintsZone merge | Zog | |
| And add some specs | |||
| 2018-04-25 | Refs #6669; delay the custom fields initialization until the workgroup is loaded | Zog | |
| 2018-04-25 | Make mandatory workgroup for class method custom_fields (not available for ↵ | Alban Peignier | |
| Company or StopArea for exemple). Refs #6669 | |||
| 2018-04-25 | Refs #6669; Fix CustomField initialization | Zog | |
| Use the current referential to infer the workgroup | |||
| 2018-04-25 | Merge pull request #474 from ↵ | teddywing | |
| af83/6445-referential-period-error-display-and-validation Refs #6445 Change ReferentialMetada validationto allowed one day peri… | |||
| 2018-04-25 | Refs #6711; Update checksums on parents | Zog | |
| When a StopPoint is updated | |||
| 2018-04-24 | Refs #6445 Update specs according to new validations | cedricnjanga | |
| 2018-04-22 | Fixes JourneyPattern specs (by adding position in JourneyPattern state). ↵ | Alban Peignier | |
| Refs #6193 | |||
| 2018-04-22 | Fixes JourneyPattern specs with distance is not defined/zero. Refs #6413 | Alban Peignier | |
| 2018-04-22 | Fixes Calendar::Period specs. Refs #5519 | Alban Peignier | |
| 2018-04-19 | Refs #5519; Authorize 1-day calendars | Zog | |
| 2018-04-19 | Merge pull request #488 from af83/6477-use-custom-fields-in-checksums | Alban Peignier | |
| Use custom fields values in checksum calculation. Refs #6477 | |||
| 2018-04-18 | Merge pull request #487 from ↵ | Alban Peignier | |
| af83/6410-route--don,t-run-calculate_costs-during-referential-mer Route: Don't run `#calculate_costs!` during a referential merge. Fixes #6410 | |||
| 2018-04-18 | Manage download uri in Import::Gtfs (with or without schema or port). Refs #6368 | Alban Peignier | |
| 2018-04-16 | Refs #6477; Use custom fields values in checksum calculation6477-use-custom-fields-in-checksums | Zog | |
| 2018-04-16 | Route: Don't run `#calculate_costs!` during a referential merge6410-route--don,t-run-calculate_costs-during-referential-mer | Teddy Wing | |
| This callback got triggered during a referential merge, but it isn't needed at that point. It should only be executed as a result of a user updating the route (via the web interface). Using Alban's suggestion, we can detect that we're in the process of a merge if the associated referential is in a `ReferentialSuite`. Use this as a condition to run the callback. Refs #6410 | |||
