aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models
AgeCommit message (Collapse)Author
2018-03-26Refs #6217; Add a method to fill blanks in journeys passing timesZog
When a passing time at a border can be extrapolated from other values.
2018-03-26Use utc time to make expectation with strftime (when timezone are not ↵Alban Peignier
standard). Refs #6047
2018-03-21Only notify parent when Import is finished. Refs #6243Alban Peignier
2018-03-20Don't use Import::Base#status_changed? into #notify_parent (status can be ↵Alban Peignier
changed by java side). Refs #6243
2018-03-15Merge pull request #379 from ↵Alban Peignier
af83/6095-route--calculate-distance-and-time-cost-between-stops Calculate distance and time cost between Route stops. Refs #6095
2018-03-15Rename export spec to use the right classes Refs #6133 @1Luc Donnet
2018-03-15Route: Don't run `#calculate_costs!` on callback if TomTom disabledTeddy Wing
We say `TomTom` is disabled when no API key is present. If this is the case, the `after_save` callback that uses it shouldn't be executed. I had to change my `API_KEY` constant to an instance variable to be able to change it for testing. Refs #6095
2018-03-15Merge pull request #377 from af83/6107-bind-stop_area_referential-and-workgroupsAlban Peignier
Refs 6106 & 6107. Binds LineReferentials and StopAreaReferentials to Workgroups
2018-03-15Use confirmed StopAreas in SimpleImporter spec. Refs #6033Alban Peignier
2018-03-15Merge pull request #375 from af83/6040-fix-stop-points-poitions-in-merged-routesAlban Peignier
Enforce stop points positions in merged Referential. Refs #6040
2018-03-14Refs #6021: Make DAY_OFFSET_MAX configurableZog
2018-03-14Refs #6021 @1h; Allow journeys to span over 3 daysZog
And fix the way offsets are computed to use the timezones
2018-03-14Refs #5972 @1h; Automatic registration_number generationZog
2018-03-14Refs #61066107-bind-stop_area_referential-and-workgroupsZog
Refs #6107 Binds LineReferentials and StopAreaReferentials to Workgroups, and enforce uniqueness
2018-03-13Try and fix specsZog
2018-03-13Refs #6040; Enforce stop points positions in merged Referential6040-fix-stop-points-poitions-in-merged-routesZog
2018-03-12Fix specsZog
2018-03-12Merge pull request #361 from af83/6068-simple-exporterLuc Donnet
6068 simple exporter
2018-03-12Regs #6133; Define file's extensions whitelist on a per-class basis6133-new-exportsZog
2018-03-12Refs #6133; Fix specsZog
2018-03-12Refs #6133; Add options on the Exports, and forward them tu the UXZog
2018-03-12refs #6133; Add some basic specsZog
2018-03-12Refs #6133; Fix specsZog
2018-03-12Refs #6133; Remove former implementationZog
2018-03-08Fix compliance_check_resource and compliance_check_set status Refs #5989 @15989-fix_compliance_check_resource_statusLuc Donnet
2018-03-06Refs #6068; Fix specs6068-simple-exporterZog
2018-03-06Refs #6068; Add aggregated output for multiple interfacesZog
2018-03-05Merge pull request #359 from af83/6068-simple-exporterAlban Peignier
Simple exporter. Refs #6068
2018-03-05Refs #6068; :fire: useless methodZog
and fix specs
2018-03-05Refs #6068; First steps toward JSON exporterZog
2018-03-05Refs #6068; Add some helpers in the modelsZog
2018-03-05Refs #6068; Export VehicleJourneysZog
Add a mechanism to allow for several rows in the csv per single object in the collection.
2018-03-02Refs #6068; Create a SimpleExporter modelZog
This is an STI model, inheriting from SimpleInterface SimpleImporter has been updated to work likewise
2018-03-02Merge pull request #295 from af83/5865-validate-referential-cloningLuc Donnet
5865 Ensure user is allowed to duplicate a referential
2018-02-26Fix specsZog
2018-02-26CR #1Zog
2018-02-26Add a validation mechanismZog
2018-02-26Propose some improvements on CustomFieldsZog
2018-02-22Add a spec to verify to Referential migration count after creation. Refs #6010Alban Peignier
2018-02-22Keep original slug format (with _). Avoid full numeric slug. Refs #56095609_slug_formatAlban Peignier
2018-02-21Refs #5865 @1h; Ensure user is allowed to duplicate a referential before ↵Zog
doing so I also changed the way 403 errors are handled, to properly respond with a 403 HTTP code
2018-02-20Refs #5609 Change slug formatcedricnjanga
2018-02-20Fix specs on VehicleJourneyAtStopZog
2018-02-20Fix specsZog
2018-02-20Refs #5924 @14h; Extend importersZog
Mostly add a way to override the default behaviour and process each row its own way
2018-02-20Refs #5924 @2h; Update specsZog
2018-02-20Refs #5924 @2h; Provide a mechanism to define a custom importerZog
2018-02-20Refs #5924 @1H; Add `before` actionsZog
2018-02-20Fix specsZog
2018-02-20Refs #5765; Add new task to import in a given referentialZog