aboutsummaryrefslogtreecommitdiffstats
path: root/app/models
AgeCommit message (Collapse)Author
2018-01-11Refs #5551 @1.5h; Implement Custom fields editionZog
RBD: implement the same in the creation modal
2018-01-11Prevent errors in RoutingConstraintZone when no route is defined (required ↵Alban Peignier
no route in Referential). Refs #5552
2018-01-11Ensure Route stop_points are sorted to compute checksum. Refs #5299Alban Peignier
2018-01-11Refs #5551; Update CustomField api to better suit JS API needsZog
2018-01-11Define Merge Referential name. Refs #5299Alban Peignier
2018-01-11Create Referential#full_name and try to use it (to be completed). Refs #5546Alban Peignier
2018-01-11Refs #5547; Do the same for JourneyPatterns5547-show-vj-idZog
2018-01-11Fix min max values validation for compliance controls display and test Refs ↵Luc Donnet
#5543 @1
2018-01-11Refs #5547 @0.25h; Show newly created VJ's short_id in editorZog
2018-01-11Merge pull request #211 from af83/5500-add-filter-on-stopsteddywing
5500 Add filters on ReferentialVJ#index
2018-01-11Merge pull request #225 from af83/5535-compute-vehicle-journeys-timesLuc Donnet
5535 compute vehicle journeys times
2018-01-11Refs #5500 @3h; Add filters on ReferentialVJ#indexZog
To enable users to filter on stop areas
2018-01-11Keep existing objectids when possible during merge. Refs #5527Alban Peignier
2018-01-11Use StopArea#raw_objectid to find StopPoints (objectid.to_s can be partial ↵Alban Peignier
according ObjectId implementation). Refs #5299
2018-01-11Remove debug in merge. Refs #5299Alban Peignier
2018-01-11Ignore referential_in_suite in Referential#overlapped_referential_ids (used ↵Alban Peignier
by can_unarchive. Refs #5299
2018-01-10Fix compliance controls, compliance check sets access with table hack for ↵Luc Donnet
object outside referential Refs #5540 @3
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-10Restore Referential#archived? method. Refs #5413Alban Peignier
2018-01-10Merge pull request #222 from af83/5505-custom_fields_with_jsonbAlban Peignier
Custom fields with jsonb. Refs #5505
2018-01-10Lock public.referentials to avoid problem with schemas. Refs #5024Alban Peignier
2018-01-10Refs #5535 @2H; Automatically fill VJs tilmes when possibleZog
2018-01-10Avoid problem when VehicleJourney#custom_field_values isn't defined. Refs #5505Alban Peignier
2018-01-10Add Workgroup#custom_fields. Refs #5505Alban Peignier
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-10Use a has_many through for Workgroup#organisations. Refs #5499Alban Peignier
2018-01-10Fixes: #5499; Added validations and associationsRobert
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-10Merge pull request #194 from af83/5156-handle-long-distance-routesAlban Peignier
Handle long distance routes. Refs #5156
2018-01-10Implement StopArea#country_name. Refs #5156Alban Peignier
2018-01-10Use Referential names to compute Merge#name. Refs #5299Alban Peignier
2018-01-10Use AreaType.label in StopArea parent type validation message. Refs #5515Alban Peignier
2018-01-10Refs #5437 @0.5h; Show country name instead of city in the journeys editorZog
When the organisation has the "long_distance_routes" features. Mind the `StopArea#country_name` method which is pending until we merge the branch which adds the countries support.
2018-01-09Fix wrong commit with clone method name and replace by clone! in ↵Luc Donnet
referential_cloning
2018-01-09Fix argument call to log referential create and cloneLuc Donnet
2018-01-09Add log to count migration when we clone or create schemaLuc Donnet
2018-01-09Refs: #5413@0.5h; Refactoring of #archived_or_finalised?Robert
2018-01-08Refs: #5413@0.5h; Fixed broken delegation to #archived_or_finalised?Robert
2018-01-08Merge pull request #208 from af83/5485-first-docker-scriptsAlban Peignier
First docker scripts. Refs #5485
2018-01-08Avoid error into Referetial#create_schema can't read migration count5485-first-docker-scriptsAlban Peignier
2018-01-08Refs: #5413@4h; Setting up db (chore) and specing desired behavior [skip-ci]Robert
- Adapted shared pundit examples to allow to check with archieved and finalised referentials - Speced desired behavior with this enhancement - finalise_referential helper in policy spec's support
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-05Merge pull request #202 from af83/5460_display_checksumLuc Donnet
5460 display checksum
2018-01-05Display checksum for vehicle journeys -m RefsXinhui
Templating display checksum Refs #5460
2018-01-05Fix typo in referential.rb after rebasecedricnjanga
2018-01-05Refs #5468 Change redirect after Referential#validatecedricnjanga