aboutsummaryrefslogtreecommitdiffstats
path: root/config/initializers
AgeCommit message (Collapse)Author
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-10Aesthetic changes in STIF Organisation.after_create callback. Refs #54995499-workgroup-modelAlban 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 #5525; RefactorZog
2018-01-10Refs #5525 @1h; Add a `diable-with` attr on all submit buttonsZog
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-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-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-07docker first commitFlorent Peyraud
2018-01-07Add created organisation in Line/StopAreaReferential. Refs #5487Alban Peignier
2018-01-05Create Merge operation. Refs #5299Alban Peignier
2017-12-21Refs #5334; CR 15334-add-nulldb-supportZog
Remove useless `begin...end` block
2017-12-20Refs #5334; Fix specs broken by null_db adapterZog
2017-12-20Refs #5334@3h; Add support fort NullDB in ApartmentZog
This will allow us to compile assets with a null_db adapter.
2017-12-13Refs # 5256 Change Ransack initializer to escape wildcard on queriescedricnjanga
2017-11-27Merge branch 'master' into 4824-create_line_referentialsGuillaume
2017-11-27Merge branch 'master' of github.com:af83/stif-boivcedricnjanga
2017-11-27Merge branch '4941-refactoring_object_id'cedricnjanga
2017-11-27Refs #5030 Fix missing translation for UnactivatedStopPoint ComplianceControlcedricnjanga
2017-11-26Create STIF organisations with custom_view 'stif'. Refs #4735Alban Peignier
2017-11-23Refs #4824, #4825 update old form views to new layout with simple_form, add ↵Guillaume
permissions for create an edit in line and network controller
2017-11-22Merge branch 'master' into 4941-refactoring_object_idcedricnjanga
2017-11-22Merge branch 'master' into 4941-refactoring_object_idcedricnjanga
2017-11-14Remove rule parameter set from apartment cfgXinhui
Refs #4516
2017-11-13add seedbank gems for spliting seeds, update objectid_format in seeds files, ↵Guillaume
add objectid_format to stif initializers
2017-11-09Remove route_section localesXinhui
2017-10-24Add hack to use erd patch only for RAILS_ENV=development onlyLuc Donnet
2017-10-24Make erd patch for multi relationships and add merge png in outputLuc Donnet
2017-10-14Fix translations for compliance_control type translation, compliance_control ↵Luc Donnet
validation, compliance_control module
2017-10-04Rename app/models/route_control/speed.rb -> ↵Luc Donnet
app/models/vehicle_journey_control/speed.rb and fix variables name in compliance control subclasses Refs #4690
2017-10-03Fix We MUST add compliance controls STI subclasses in Apartment initializerLuc Donnet
2017-09-30Create DashboardController with STIF implementation. Refs #4655Alban Peignier
2017-09-27Merge branch 'master' of github.com:af83/stif-boivRobert
2017-09-27Hotfix refs: #3520@1h; Apartment exclued_models << ReferentialSuiteRobert
2017-09-27Refs #4615 Resolve rebase conflictcedricnjanga
2017-09-27Add GenericAttributeMinMax to apartment excluded_modelsXinhui
2017-09-19Add ComplianceCheckMessage to Apartment class used only in public schema ↵Luc Donnet
Refs #4391
2017-09-12Merge branch 'master' into compliance_controlXinhui Xu
2017-09-06Model ComplianceCheckResourceXinhui
Refs #4391
2017-09-06Model ComplianceCheckXinhui
Refs #4388
2017-09-06Updated imports#index date filter : used the same logic for the ↵cedricnjanga
Calendar#index date filter (ransackable scope) I realized that we could submit the form with incomplete date which caused an 500 error. So I added a small JS script to prevent user from subnitting filter form with incomplete dates Since it was really similar with previous work I added two folders : /helpers & /filters to be more DRY The JS files are loaded in 4 views for the moment, hence the update in the assets.rb file
2017-09-05Model ComplianceCheckBlockXinhui
Refs #4387
2017-09-05Model ComplianceControlXinhui
Refs #4385
2017-08-29Add condition on reset of LineReferentialSyncs/StopAreaReferentialSyncs by ↵Xinhui
sidekiq initializer Refs #4314
2017-08-29Fix sidekiq initializer should not require LineReferential/StopAreaReferentialXinhui
Refs #4313
2017-07-31Refs: #3507@2h CR 2nd legRobert
2017-07-25Refs: #3507;20h Specing and Implementing the ZipServiceRobert