aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-01-10Fixes i18n for Merges. Refs #5299Alban Peignier
2018-01-10Display Merge#name with link and ended_at in workbench_outputs#show. Refs #5299Alban Peignier
2018-01-10Display Merge#creator and localize dates in merges#show. Refs #5299Alban Peignier
2018-01-10Use Referential names to compute Merge#name. Refs #5299Alban Peignier
2018-01-10Define and display Merge#creator. Refs #5299Alban Peignier
2018-01-10Refs #5525; RefactorZog
2018-01-10Refs #5525 @1h; Add a `diable-with` attr on all submit buttonsZog
2018-01-10Refs #5437 @1h; Refactor codeZog
2018-01-10Refs #5437 @0.5h; Propagate behaviour to the JourneyPatterns editorZog
2018-01-10Use AreaType.label in StopArea parent type validation message. Refs #5515Alban Peignier
2018-01-10Refs #5437; Refactor headers computingZog
Share a method between the components VehicleJourneys and VehicleJourney to compute the header to be shown (or not)
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-10Refs #5437 @2h; Update Rect to v16Zog
Because it is needed to test the components. Major issue: Proptype now lives in a separate package, hence the huge diff
2018-01-10Refs #5465 @0.25h; Dezoom map if stop areas are too cleose to bordersZog
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-09Merge pull request #219 from ↵Luc Donnet
af83/5524-referentials-new--disable-submit-button-on-submit 5524-referentials-new--disable-submit-button-on-submit
2018-01-09Referentials#new: Disable submit button on submitTeddy Wing
To prevent double/duplicate form submissions, disable the submit button after it's clicked. Eventually we'll want to do this for all SimpleForms in the application. Here's a solution for doing that: http://www.railsonmaui.com/blog/2014/02/23/simple-form-and-disable-processing-by-default/ Refs #5524
2018-01-09Fix user to deploy to staging with capistranoLuc Donnet
2018-01-09Fix compliance controls translations Refs #5471 @1Luc Donnet
2018-01-09Refs #5520 @0.25h; Fix company assignment in VJs editor5520-fix-company-in-vjs-editorZog
2018-01-09Merge pull request #212 from ↵Luc Donnet
af83/5495-deactivate-Sidekiq-retry-for-WorkbenchImports initializers/sidekiq: Disable retries on Sidekiq jobs
2018-01-09Refs #5502 @4h; Don't use Ajax in JP selector in VJs editor5502-remove-search-from-selectsZog
When the number of possible values is low (<10), display the values right away, don't use an Ajax query
2018-01-09Merge pull request #214 from af83/5129-import-report-buttonLuc Donnet
Refs #5129 small change on import report show button #micro
2018-01-09Commit schemacedricnjanga
2018-01-09Fix display order or VJ metadatascedricnjanga
2018-01-09Fix UI compliance check set statuscedricnjanga
2018-01-09Refs #5446 add title to Import#new page_headercedricnjanga
2018-01-09LineReferentialSyncWorker,StopAreaReferentialSyncWorker: Enable retryTeddy Wing
Now that Sidekiq retries are deactivated (3487ce6f34ef187a2a8daf170440f51f659c46b7), we need to enable retry on the workers that need it. We do want retry on the sync workers, so enable these locally in the worker classes. Refs #5495
2018-01-09Fix disabled fields in VJs editorZog
2018-01-09MailerJob: Add comment describing retry behaviourTeddy Wing
Now that all other workers don't retry automatically (see 3487ce6f34ef187a2a8daf170440f51f659c46b7), add a comment here to clarify that this worker is different, and we explicitly want it to retry. The disabling of retries only affects Sidekiq jobs. Refs #5495
2018-01-09change target server for stagingFlorent Peyraud
2018-01-09Merge branch 'master' of github.com:AF83/stif-boivFlorent Peyraud
2018-01-09Refs: #5413@0.5h; Refactoring of #archived_or_finalised?Robert
2018-01-09Refs #5129 small change on import report show button5129-import-report-buttoncedricnjanga
2018-01-09Remove `retry: false` from workers since it's the new defaultTeddy Wing
As of 3487ce6f34ef187a2a8daf170440f51f659c46b7, we now default to `retry: false` on all our Sidekiq workers. Setting it in individual workers is now repetitious. Refs #5495
2018-01-09Refs: #5413@0.3h; Fix bug in newapplciation helper unarchive link creationRobert
2018-01-08initializers/sidekiq: Disable retries on Sidekiq jobsTeddy Wing
Alban recommended disabling retries on all Sidekiq jobs. In theory, none of our jobs should be automatically retried (except maybe the Reflex/Codifligne sync tasks). Another way of doing this also exists (https://stackoverflow.com/questions/28412913/disable-automatic-retry-with-activejob-used-with-sidekiq/28427385#28427385), but this appeared to work, looking at the job's JSON parameters in the Sidekiq console. This came about because a timeout from Faraday caused a `WorkbenchImport` job to fail and presumably get retried by Sidekiq. The retry caused a second, duplicate `Referential` to be created. Refs #5495
2018-01-08Use localhost instead of redis host in sidekiq initializer (good default and ↵Alban Peignier
avoid Rails.env test)
2018-01-08Merge pull request #209 from af83/0000-gemfile-multiple-nulldb-entriesLuc Donnet
0000 gemfile multiple nulldb entries [Mergabel, Low Priority, Low Hanging Fruit]
2018-01-08Fix default value for RAILS_HOST in productionFlorent Peyraud
2018-01-08fix default RAIL_HOSTFlorent Peyraud
2018-01-08Merge pull request #210 from ↵teddywing
af83/0000-change-default-redis-server-host-to-localhost--v2 initializers/sidekiq: Don't set Redis URL in development or test
2018-01-08initializers/sidekiq: Don't set Redis URL in development or testTeddy Wing
Don't set this configuration in development and test environments to enable Sidekiq to connect to the default Redis server by default without setting the environment variable.
2018-01-08removed one0000-gemfile-multiple-nulldb-entriesRobert
2018-01-08Merge branch 'master' of github.com:af83/stif-boivRobert
2018-01-08Remove 'mode' from 'clean_ups', merge mistakeZog
2018-01-08Remove experimental 'objectid' extensionZog
2018-01-08Refs: #5413@0.5h; Fixed broken delegation to #archived_or_finalised?Robert