aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models
AgeCommit message (Collapse)Author
2018-02-07Refactoring use subject as factoryXinhui
Refs #5416
2018-02-07Edit checksum stop_points attributes for routeXinhui
Refs #5416
2018-02-06Fix checksum-related specsZog
2018-02-06Merge pull request #280 from af83/5417-checksum-relationshipsLuc Donnet
5417 Update parents checksum when children are created or updated
2018-02-06imports.rake: Change `abort_old` to `netex_abort_old`Teddy Wing
After re-reading the ticket, I see now that the aborting of old imports should only apply to `NetexImport`s. Update the code to make this happen. Refs #4963
2018-02-06Import.abort_old: Don't change finished importsTeddy Wing
Imports that have a `finished_status` should not be changed to `aborted`. Refs #4963
2018-02-06Import: Add `.abort_old` methodTeddy Wing
This will abort all imports that don't have a finished status and were created more than four hours ago. We want to add this functionality to the import cron to auto-abort stale imports. Refs #4963
2018-02-02Refs #5417; Fix specs5417-checksum-relationshipsZog
2018-02-02Refs #5417; Update parents checksum when children are created or updatedZog
2018-02-02Refs 5832; Fix bug on ReferentialVehicleJourneys#index filtersZog
By default a value was always set on the "Line" filter, yielding misleading results.
2018-01-31Refs #5682 @3h; Use same UI as for timetablesZog
2018-01-31Refs #5682; Set default value for application daysZog
2018-01-31Refs #5682; Add application_days field to calendarsZog
2018-01-31Fix specsZog
2018-01-31Merge pull request #264 from af83/5754-filter-journeys-on-calendarLuc Donnet
5754 Add a filter on purchase_windows on ReferentialVJs#index
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-31Refs #5754; Add a filter on calendars for ReferentialVJs#index5754-filter-journeys-on-calendarZog
2018-01-31Refs #5754; Add a filter on purchase_windows on ReferentialVJs#indexZog
2018-01-31Merge pull request #263 from af83/5750-non-commercial-stop-areasLuc Donnet
5750 non commercial stop areas
2018-01-30VehicleJourney: Allow deletion of associated companyTeddy Wing
If the state doesn't contain a company, that means it was deleted on the frontend. In that case, the backend code should correctly delete the associated company from the vehicle journey. Refs #5574
2018-01-29Refs #5750 @1h; Manage non-commercial StopAreasZog
- Add a `kind` attribute - Hide irrelevant fields in the form
2018-01-26Refs #5750 @1h; Add a "kind" attribute to StopAreasZog
This determines if the StopArea is commercial or not The useless fields are hidden in the form for the non-commercials ones
2018-01-22Refs #5647; Scope CustomField validations on workgroup5647-scope-custom-fields-validationsZog
2018-01-19Add missing spec on VehicleJourneyAtStopZog
2018-01-12Refs #5560; Add validation on CustomField5560-add-validation-on-customfieldsZog
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
2018-01-11Merge pull request #226 from af83/5547-show-vj-idLuc Donnet
5547 Show newly created VJ's short_id in editor
2018-01-11Fixes Chouette::RoutingConstraintZone#route_id presence spec. Refs #5552Alban Peignier
2018-01-11Refs #5551 @1.5h; Implement Custom fields editionZog
RBD: implement the same in the creation modal
2018-01-11Refs #5551; Update CustomField api to better suit JS API needsZog
2018-01-11Refs #5547 @0.25h; Show newly created VJ's short_id in editorZog
2018-01-11Merge pull request #225 from af83/5535-compute-vehicle-journeys-timesLuc Donnet
5535 compute vehicle journeys times
2018-01-10Merge pull request #204 from af83/5413-read_only_policy_for_finalised_refsAlban Peignier
Read only policy for referentials in suite. Refs #5413
2018-01-10Refs: #5505@1h; Small things found in s/models/chouette/vj_spec during ↵Robert
investigation of failures
2018-01-10Fixes: #5505@2h; Migrations, specs and implementationsRobert
- Migration index_resource_type_on_custom_fields - Specing behavior of custom field's resource (VehicleJourney) - Migration create json col custom_field_values for resource (VehicleJourney) - Create accessor methods inside resource (VehicleJourney)
2018-01-10Refs: #5505@0.5h, added tests and validationsRobert
2018-01-10Refs: #5505@1h; Spec discussed, model scaffolded [amend me] [skip-ci]Robert
2018-01-10Fixes: #5499; Added validations and associationsRobert
2018-01-10bup [amend me] [skip-ci]Robert
2018-01-10Refs: #5499@0.5h; Scaffolded WorkgroupRobert
Next: - spec associations and name - spec initialisation - implement
2018-01-10Refs #5535 @0.25h; Adds a `full_schedule?` on `JourneyPattern`Zog
To know if all the costs between the stops of the pattern are set.
2018-01-10Use AreaType.label in StopArea parent type validation message. Refs #5515Alban Peignier
2018-01-09Refs: #5413@0.5h; Refactoring of #archived_or_finalised?Robert
2018-01-08Refs #5455 @6h; Add time and distance between stops in Journey PatternsZog
- Adds a `JSON` attribute in the model - Adds the fields in the editor
2018-01-07Change Chouette::AreaType.find to return nil if specified code is nil. Refs ↵Alban Peignier
#5488
2018-01-05Fixes ReferentialCloning specs. Refs #52995299-merge-operationAlban Peignier
2018-01-05Add TimeTable#remove_periods! and #empty. Refs #5299Alban Peignier
2018-01-05Merge TimeTables. Refs #5299Alban Peignier
2018-01-05Add TimeTable##intersect_periods! to remove given periods. Refs #5299Alban Peignier