aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2018-03-09Create ci:build, ci:docker and ci:docker:clean. Rename ↵Alban Peignier
config/database/jenkins.yml in ci.yml. Refs #6047
2018-03-06Fixes logs_output_dir in imports tasks and into ↵Alban Peignier
SimpleImporter#dump_csv_from_context. Refs #5924
2018-03-05Merge pull request #359 from af83/6068-simple-exporterAlban Peignier
Simple exporter. Refs #6068
2018-03-05Create output_dir if needed. Refs #6068Alban Peignier
2018-03-05Use Workbench#calendars in STIF::Dashboard. Refs #6064Alban Peignier
2018-03-05Refs #6068; Fully functional JSON exporterZog
2018-03-05Refs #6068; Add some helpers in the modelsZog
2018-03-05Refs #6068; Export VehicleJourneysZog
Add a mechanism to allow for several rows in the csv per single object in the collection.
2018-03-02Refs #6068; Refactor import/export tasksZog
2018-03-01Refs #6064; Use same logic to load calendars in dashboard and in controller6064-inconsistency-in-dashboardZog
2018-02-27Merge pull request #339 from af83/5878-fix-ComplianceChecksController-showLuc Donnet
5878 Add ComplianceCheck#show
2018-02-27refs #5878; Remove hard link between a ComplianceCheck and the associated ↵Zog
ComplianceControl
2018-02-27Refs #6026; Fix duplicated seeds tasks6026-dedicated-env-for-seedsZog
2018-02-26Refs #6026; Use SEED_ENV in seedbank, fallback on Rails.envZog
2018-02-21Move importers outputs in logsZog
2018-02-20Regs #5924; Rename imports tasksZog
2018-02-20Refs #5924; Fix some bugs revealed during importsZog
- The checksum computing for VehicleJourneyAtStops - Offsets calculation in VehicleJourneys
2018-02-20Refs #5924 @14h; Extend importersZog
Mostly add a way to override the default behaviour and process each row its own way
2018-02-20Refs #5924 @2h; Update specsZog
2018-02-20Refs #5924; Update rake tasksZog
2018-02-20Refs #5765; Add new task to import in a given referentialZog
2018-02-20Refs #5765 @6h; Add a customizable importer mechanismZog
2018-02-19Merge branch 'master' into 0000-dockerLuc Donnet
2018-02-16compile et embarque les traductions pour le javascriptdockerFlorent Peyraud
2018-02-13Merge pull request #287 from af83/4963-import-cron-should-abort-old-importsJohan Van Ryseghem
4963 import cron should abort old imports
2018-02-13Merge pull request #291 from ↵Johan Van Ryseghem
af83/4758-cron-job-to-finalise-compliance_check_set-validations-- 4758 cron job to finalise compliance check set validations
2018-02-12Add CHOUETTE_DEPLOY_DISABLED to disable deploy in ci taskAlban Peignier
2018-02-09Merge branch 'master' into 4126-add-i18n-jsLuc Donnet
2018-02-09Fix ci build chain for i18n:js:export to use rails environment test Refs ↵Luc Donnet
#4126 @1
2018-02-09Fix ci build chain Refs #4126 @1Luc Donnet
2018-02-09Refs #4126 @6h; Add i18n to JSZog
2018-02-09Merge pull request #296 from af83/5807-update-webpackerLuc Donnet
5807 update webpacker
2018-02-09Refs #5669 @2h; Fix SpecsZog
2018-02-09Refs 5807; Force jest specs5807-update-webpackerZog
2018-02-08schedule.rb: Add cron job to finalise `ComplianceCheckSet`sTeddy Wing
A new recurring job that does exactly the same thing as the import job. This finalises `ComplianceCheckSet`s. First we need to abort all unfinished `ComplianceCheckSet`s older than four hours. Then we finalise the imports by doing the same work in `Api::V1::Internals::ComplianceCheckSetsController#notify_parent`, namely calling `#notify_parent` on `ComplianceCheckSet`s (here, only on the ones that are finished). Add a couple new Rake tasks for compliance check sets that mirror those for imports, and do the work required by the cron job. Refs #4758
2018-02-08imports.rake(notify_parent): Use `ParentNotifier`Teddy Wing
Replace `ParentImportNotifier` with the new generalised `ParentNotifier`. This will allow us to use the same service for parent notification of both imports and compliance check sets. Delete the `ParentImportNotifier` class and spec as these are now superseded by `ParentNotifier`. Refs #4758
2018-02-07Merge branch 'master' into 5683-add_workgroup_id_to_calendarscedricnjanga
2018-02-07Add workgroup to erd diagramsLuc Donnet
2018-02-06Fix yarn installation with no production for ci and force yarn install ↵Luc Donnet
before jest launch du to webpacker bug
2018-02-06Add env variable to disable ci:jest if needed. Refs #5802Alban Peignier
2018-02-06Fix Reflex importZog
2018-02-06imports.rake: Change `abort_old` to `netex_abort_old`Teddy Wing
After re-reading the ticket, I see now that the aborting of old imports should only apply to `NetexImport`s. Update the code to make this happen. Refs #4963
2018-02-06schedule.rb: Abort old imports before import notificationTeddy Wing
As a result of a new requirement, before doing the existing work we were doing in the imports cron job (notifying parent imports), we first need to clear out old imports and mark them as 'aborted'. Refs #4963
2018-02-01Fix yarn installation with no production for ci and force yarn install ↵Luc Donnet
before jest launch du to webpacker bug
2018-02-01Add env variable to disable ci:jest if needed. Refs #5802Alban Peignier
2018-01-31Fix Reflex importZog
2018-01-31Refs #5683 @2H; Fix specs and refactor action_linksZog
Note: Did not fix the missing workgroup in the calendar mailer
2018-01-30Merge branch 'master' into 5683-add_workgroup_id_to_calendarscedricnjanga
2018-01-25ComplianceControlDecorator: Convert to new action links interfaceTeddy Wing
* Decorate the `ComplianceControl` so we can show the action links from the decorator in the header. * Add a `decorates` to get `object_class` to work inside the decorator. * Define `AF83::Decorator.define_instance_class_method` in order to enable the `@compliance_control.class.METHOD` calls in the view to work. Thanks very much to Johan for figuring out a way to do that. Refs #5586
2018-01-25AF83::Decorator::Link: Add `data-method` to HTML optionsTeddy Wing
Previously, we weren't correctly adding the HTTP method to the links in the header. This is because it's called `link_method` in the class. Put this value in `method`/`data-method` when converting the link to HTML so that the links work properly. Discovered this when deactivating and activating stop areas on http://stif-boiv.dev:3000/stop_area_referentials/1/stop_areas/139429 . Refs #5586