aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-01-10Aesthetic changes in STIF Organisation.after_create callback. Refs #54995499-workgroup-modelAlban Peignier
2018-01-10Use a has_many through for Workgroup#organisations. Refs #5499Alban Peignier
2018-01-10Create STIF Workgroup in seed. Associate existing Workbenchs. Refs #5499Alban Peignier
2018-01-10Fixes: #5499; Added validations and associationsRobert
2018-01-10bup [amend me] [skip-ci]Robert
2018-01-10Refs: #5499@0.5h; fixed migration (ids type of rails generator is not conform)Robert
2018-01-10Refs: #5499@0.5h; Scaffolded WorkgroupRobert
Next: - spec associations and name - spec initialisation - implement
2018-01-10Ignore missing timestamps in merges#show. Refs #5299Alban Peignier
2018-01-10Merge pull request #194 from af83/5156-handle-long-distance-routesAlban Peignier
Handle long distance routes. Refs #5156
2018-01-10Import createLogger. Refs #51565156-handle-long-distance-routesAlban Peignier
2018-01-10import PropTypes from prop-types. Refs #5156Alban Peignier
2018-01-10Update yarn.lock. Refs #5156Alban Peignier
2018-01-10Implement StopArea#country_name. Refs #5156Alban Peignier
2018-01-10Merge pull request #206 from ↵Alban Peignier
af83/5445-add-name-filter-on-referentialjourneys-index Add name filter on referential vehicle journeys index. Refs #5445
2018-01-10Merge pull request #223 from af83/5525-prevent-double-submissionteddywing
5525 Add a `disable-with` attr on all submit buttons
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-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-09Merge pull request #212 from ↵Luc Donnet
af83/5495-deactivate-Sidekiq-retry-for-WorkbenchImports initializers/sidekiq: Disable retries on Sidekiq jobs
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 #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-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)