aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-04-16Add a task to check stop points positionsZog
2018-04-16Merge pull request #411 from af83/5949-referential-date-selectLuc Donnet
Refs #5949 Change default years collection in referential#new date se…
2018-04-16Improve Route stop_points position check. Use CHOUETTE_ROUTE_POSITION_CHECK ↵Alban Peignier
env variable. Refs #6179
2018-04-16Merge pull request #459 from ↵Alban Peignier
af83/6407-route--calculate-way-costs-on-after_commit-instead-of-a Route: Change `#calculate_costs!` to `after_commit` callback. Refs #6407
2018-04-16Fixes Chouette::Route.skip_callback/set_callback in RouteWayCostWorker. Refs ↵6407-route--calculate-way-costs-on-after_commit-instead-of-aAlban Peignier
#6407
2018-04-16Route: Change `#calculate_costs!` to `after_commit` callbackTeddy Wing
Use an `after_commit` instead of an `after_save`. The `after_save` could cause intermittent problems due to Sidekiq starting before the record/transaction actually gets committed to the database. In those cases, the record wouldn't be found and cause an error. With an `after_commit` callback, the record is sure to be committed before Sidekiq takes over. Additionally, limit the callback to `:create` and `:update` because otherwise it will be active on `:destroy` by default also. This work isn't relevant on destroy, so don't do it then. Update the tests: * Update labels * Use `build` instead of `create` because we're saving the record at the end anyway so we don't need an object that starts out persisted * Use `truncation: true` for these tests because otherwise the `commit` callback doesn't get called due to transactional teardown Refs #6407
2018-04-15Merge#save_current makes ready the new current referential. Refs #6554Alban Peignier
2018-04-15Change Referential.new_from invocation in Merge#prepare_new. Refs #6535Alban Peignier
2018-04-15Remove CustomField :for_workgroup scope (use Workgroup#custom_fields)Alban Peignier
2018-04-13Refs #6435; Fix inconsistent filters behaviourZog
2018-04-13Refs 6456; Fix timtables button in VJs editorZog
Don't open the timetables of the return journeys if these are displayed. Same for the purchase windows
2018-04-13Merge pull request #396 from af83/6242-workbench-outputLuc Donnet
Ref #6242 Add changes to navbar menu and dashboard
2018-04-13Merge pull request #481 from af83/6436-fix-companies-formLuc Donnet
6436 Style Company#edit
2018-04-13Merge pull request #439 from af83/6383-stop-point-default-attributesLuc Donnet
Refs #6383 Fix Stop point defautlt attributes
2018-04-13Refs #6242 rollback for i18n translations6242-workbench-outputcedricnjanga
2018-04-13Ref #6242 Add changes to navbar menu and dashboardcedricnjanga
2018-04-13Merge pull request #446 from af83/6382-compliance-control-block-refactoLuc Donnet
Refs #6382 Refacto display of ccblock transport mode errors
2018-04-13Fix css for errors display on compliance control block Refs #63826382-compliance-control-block-refactoLuc Donnet
2018-04-13Refs #6436; Style Company#editZog
2018-04-13Merge pull request #469 from af83/ie-fixesLuc Donnet
Make ReactJS views IE-compliant :fireworks:
2018-04-13Merge pull request #476 from af83/6536-fix-lines-formLuc Donnet
6536 Cleanup value passed for secondary_company_ids by the lines form
2018-04-13Refs #6536; Cleanup value passed for secondary_company_ids by the lines form6536-fix-lines-formZog
2018-04-12Merge pull request #472 from af83/6527-fix-vjs-editorLuc Donnet
6527 Fix VJs editor
2018-04-12Refs #6527; Fix VJs editor6527-fix-vjs-editorZog
2018-04-11Make ReactJS views IE-compliant :firework:ie-fixesZog
2018-04-11Merge pull request #467 from af83/fix-duplicate-positions-in-routesteddywing
Add a sentinel in dev mode to help capture the "double positions" bug
2018-04-11Fix specs (hopefully)Zog
2018-04-11Specs cleanupZog
2018-04-11:fire: logZog
2018-04-11Fix specs (WIP)Zog
2018-04-11Add a sentinel in dev mode to help capture the "double positions" bugZog
2018-04-11Refs #6483; Only use VJ-bound Custom fieldsZog
2018-04-10Refs #6411; Fix routes editorZog
Disable "moveup" action on first stop, and "mouvedown" on last
2018-04-10Refs #6426; Disable "Create opposite route" action instead of hiding itZog
2018-04-10Refs 5846; Fix wrong translationZog
And a very small css fix
2018-04-10Refs #6459; Use first stop's TZ as base TZ for schedules computationZog
2018-04-10Refs #6300; Fix referentials count on dashboardZog
2018-04-10Refs #6461; Don't initilialize CustomFields when they are not loaded by the ↵Zog
model
2018-04-10Refs #6448; Make timetables sortable on bouding_dates and journeys countZog
2018-04-10Refs #6453; Fix PurchaseWindows indexZog
2018-04-10Refs #6481; Add a spec to ensure we d'ont alter the original route when ↵Zog
duplicating it
2018-04-10Merge pull request #460 from af83/6360-workbenchimport-displayLuc Donnet
6360 Add checks on calendars during WorkbenchImport
2018-04-10Merge pull request #438 from af83/6368-gtfs-importLuc Donnet
GTFS import (first step)
2018-04-10Keep ci database.yml in ci:docker:clean. Refs #6047Alban Peignier
2018-04-10Fix metadata migrationZog
2018-04-10Make availabe test database as 'production' in ci environment (for docker ↵Alban Peignier
build for instance) .. with correct alias. Refs #6047
2018-04-10Merge pull request #458 from af83/6442-referential-status-sortLuc Donnet
Refs #6442 Fix Referential sort on status (attr archived_at)
2018-04-10Merge pull request #450 from ↵Luc Donnet
af83/6404-way-costs--snap-distance-and-time-to-1-when-between-0-a 6404: RouteWayCostUnitConverter: Snap values between 0–1 to 1
2018-04-10Make availabe test database as 'production' in ci environment (for docker ↵Alban Peignier
build for instance). Refs #6047
2018-04-10Merge pull request #433 from af83/6367-remove-papertrailLuc Donnet
6367 remove papertrail