aboutsummaryrefslogtreecommitdiffstats
path: root/app/models
AgeCommit message (Collapse)Author
2018-01-19Merge pull request #249 from af83/5593-task-to-update-checksumLuc Donnet
Add task to update checksums
2018-01-19Merge pull request #247 from ↵Luc Donnet
af83/5592-workbenches-show--filter-by-workgroup-on-initial-load 5592 workbenches show filter by workgroup on initial load
2018-01-19Merge pull request #248 from af83/5623-fix-schedule-when-jp-is-prefilledLuc Donnet
5623 fix schedule when jp is prefilled
2018-01-19Fix compliance check sets breadcrumb, locales and datas displayLuc Donnet
2018-01-17Refs #5593 @1h;Zog
- Register all models that implement checksums - Add a simple rake task that updates all checksums within a given referential
2018-01-17Refs #5614 @0.5h; Fix schedule computation when departure minutes are not set5614-fix-schedule-computationZog
2018-01-16workbenches/show: Filter referentials by workgroupTeddy Wing
Previously, all `Referential`s would be listed on this page if they had matching line metadata. Now, we exclude those referentials that are in other workgroups to ensure users don't see referentials they're not supposed to see. Refs #5592
2018-01-16Finalize CSV export for ComplianceCheckMessage and Import<essagecedricnjanga
2018-01-16Fix access to public.versions table for Line, StopArea, Network and company ↵Luc Donnet
models Refs #5605 @2
2018-01-14Fixes VehicleJourneyAtStop#local_time to prevent errorAlban Peignier
2018-01-14Define Referential#workbench in Merge. Refs #5587Alban Peignier
2018-01-12Merge pull request #236 from af83/5560-add-validation-on-customfieldsLuc Donnet
5560 Add validation on CustomField
2018-01-12First draft for ComplianceCheckMessage & ImportMessage CSV exportscedricnjanga
2018-01-12Refs #5560; Add validation on CustomField5560-add-validation-on-customfieldsZog
2018-01-11Refs #5535; Apply timezones during schedule calculationZog
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-11Merge pull request #234 from af83/5493-use-tz-for-time-displayAlban Peignier
Use local time in the Journeys editor. Refs #5493
2018-01-11Add Referential#merged_at and make Referentials archived and merged. Refs #5559Alban Peignier
2018-01-11Refs #5493; Show Timezone on JPs editor5493-use-tz-for-time-displayZog
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-11Refs #5551 @0.5h; Implement the custom fields in the creation modalZog
And Refactor the component in the process
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-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