aboutsummaryrefslogtreecommitdiffstats
path: root/spec
AgeCommit message (Collapse)Author
2018-02-09Refs 5669; Fix specs5669-specs-snpashotsZog
2018-02-09Refs #5669 @2h; Fix SpecsZog
2018-02-09Refs #5669; And more snapshotsZog
2018-02-09Refs #5669; Add more snapshotsZog
2018-02-09Refs #5669 @1h; Set invariant values in the snapshotsZog
2018-02-09Refs #5669; Add a preview for snapshots for easier debuggingZog
2018-02-09Refs #5669 @2h; Add a snapshot mechanism in the specsZog
2018-02-08Fix specsZog
2018-02-08Refs #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-08checksum_support.rb: Rename `seperator` to `separator`Teddy Wing
Fix spelling. Refs #5416
2018-02-08imports.rake(notify_parent): Use `ParentNotifier`Teddy Wing
Replace `ParentImportNotifier` with the new generalised `ParentNotifier`. This will allow us to use the same service for parent notification of both imports and compliance check sets. Delete the `ParentImportNotifier` class and spec as these are now superseded by `ParentNotifier`. Refs #4758
2018-02-08Add `ParentNotifier` serviceTeddy Wing
This is a takeoff on `ParentImportNotifier`. I just copied over the class and spec and generalised the service to work with `Import`-style interfaces. We can now use the same notifier service class for both imports and compliance check sets. Refs #4758
2018-02-08ComplianceCheckSet: Add `.abort_old`Teddy Wing
Copy over the `Import.abort_old` method to this class. For now I haven't bothered with moving it to a consolidated module. We'll see, maybe that's a better approach. For now I'm going with a relaxed copy-paste solution until we decide that the increased complexity of the module is worth the deduplication. We need this method to be able to abort stale imports. We'll be doing this, similarly to imports, in a regular cron job. Refs #4758
2018-02-08Refactoring spec checksum support5416_checksum_attribute--rb201802071702Xinhui
Refs #5416
2018-02-07Refs #5815 Add required fields to some compliance controlscedricnjanga
2018-02-07Refactoring use subject as factoryXinhui
Refs #5416
2018-02-07Edit checksum stop_points attributes for routeXinhui
Refs #5416
2018-02-07Refs #5417; Update parents checksum when children are created or updatedZog
2018-02-07Refs #5682; Add application_days field to calendarsZog
2018-02-07Refs #5417; Update parents checksum when children are created or updatedZog
2018-02-07Refs #5682; Add application_days field to calendarsZog
2018-02-06Fix checksum-related specsZog
2018-02-06Refs #5417; Fix specsZog
2018-02-06Refs #5417; Update parents checksum when children are created or updatedZog
2018-02-06Refs #3542, Fix specsZog
2018-02-06Refs #3542 @4h; First UIZog
Still missing: - Pagination - Filters
2018-02-06Refs #5835; Timetables inherit application days from calendarsZog
2018-02-06Refs 5832; Fix bug on ReferentialVehicleJourneys#index filtersZog
By default a value was always set on the "Line" filter, yielding misleading results.
2018-02-06Fixes vehicle_journeys#index specAlban Peignier
2018-02-06Refs #5682 @3h; Use same UI as for timetablesZog
2018-02-06Refs #5682; Set default value for application daysZog
2018-02-06Refs #5682; Add application_days field to calendarsZog
2018-02-06Fix specsZog
2018-02-06Refs #5754; Add a filter on calendars for ReferentialVJs#indexZog
2018-02-06Refs #5754; Add a filter on purchase_windows on ReferentialVJs#indexZog
2018-02-06Fix StopArea validation breaking the specsZog
2018-02-06VehicleJourney: 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-02-06Refs #5750; Add a validation on VehicleJourneysZog
Ensure a time is set for all non-commercial stops
2018-02-06Refs #5750 @1h; Manage non-commercial StopAreasZog
- Add a `kind` attribute - Hide irrelevant fields in the form
2018-02-06Refs #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-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-06Merge pull request #279 from af83/5835-fix-timetable-creationLuc Donnet
5835 Timetables inherit application days from calendars
2018-02-06Merge pull request #278 from af83/5832-fix-filter-by-stopareas-on-vjs-indexLuc Donnet
5832 fix filter by stopareas on vjs index
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 #3542, Fix specsZog