aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-05-15Refs #7030 Fix import#show missing translationscedricnjanga
2018-05-15Update Readme file with code climate badge and fix description and linksLuc Donnet
2018-05-15Merge pull request #567 from af83/6998-fix-jest-specsLuc Donnet
6998 Fix JS specs
2018-05-15CleanUp: Add `#destroy_empty`6854-clean-up--destroy-routes-outside-referentialTeddy Wing
Gives us a single call site to trigger the destruction of vehicle journeys, journey patterns, and routes without content. This was previously done directly in the `#clean` method, but since it's not needed during referential duplication (only during merges), we don't want to enable it by default. Thus now to activate the same old functionality, you would create a `CleanUp` like this: CleanUp.new(methods: [:destroy_empty]) Refs #6854
2018-05-15Merge pull request #564 from af83/6976-security-driven-packages-updateLuc Donnet
Updates dependencies with potential security breaches
2018-05-15Fix import separator for dates in import and compliance_check resource ↵Luc Donnet
filename Refs #6949 @1
2018-05-15CleanUp#clean: Replace `#destroy_*` calls with `#run_methods`Teddy Wing
It turns out that we don't care about destroying orphaned data. From Alban: > Quand on duplique un JDD, on lance un CleanUp, sauf que la partie > "suppression des données orphelines" n'intéresse personne au final. Replace the calls to `#destory_{vehicle_journeys,journey_patterns,routes}` with one to `#run_methods`. This change allows callers to run any cleanup methods defined in `CleanUp`. For example: CleanUp.new(methods: [:destory_routes]) But now by default, none of these destroy methods are run, saving us from doing extra work that it turns out we don't need to bother doing. Refs #6854
2018-05-15Merge pull request #557 from af83/6949-compliance-check-set-csv-export-filenameLuc Donnet
Refs #Adapt CCSet CSV export filename to app language
2018-05-15Fix filename for compliance_check resource Refs #6949 @16949-compliance-check-set-csv-export-filenameLuc Donnet
2018-05-15Merge pull request #556 from af83/6950-import-csv-export-filenameLuc Donnet
Refs #6950 Adapt import CSV export filename to app language
2018-05-15Fix filename for import resource Refs #6950 @16950-import-csv-export-filenameLuc Donnet
2018-05-14CleanUp: Add `#run_methods`Teddy Wing
This method is coupled with a new virtual attribute that can be used in the initializer like: CleanUp.new(methods: [:destroy_routes]) The method will run all methods specified in the `:methods` list. The plan is to replace the calls to `destroy_routes` etc. with a call to this method. The result will be a more configurable clean-up process, allowing users to selectively choose what to clean up by declaring what methods in the `CleanUp` model to call. Refs #6854
2018-05-14CleanUp spec: Pass ids to `#exists?` callTeddy Wing
Looks like I temporarily forgot that this method takes an ID. Refs #6854
2018-05-14CleanUp: Remove `#destroy_vehicle_journeys_outside_referential`Teddy Wing
This method is superseded by `#destroy_routes_outside_referential`, which will cascade deletion to include vehicle journeys. Refs #6854
2018-05-14CleanUp#destroy_routes_outside_referential: Test cascadeTeddy Wing
Ensure that `JourneyPattern`s and `VehicleJourney`s associated with orphaned routes get deleted in cascade. Refs #6854
2018-05-14CleanUp: Add `#destroy_routes_outside_referential`Teddy Wing
This builds on `#destroy_vehicle_journeys_outside_referential` (which will soon be removed in favour of this new method). It destroys orphaned routes in a referential. Refs #6854
2018-05-14Refs #6998: Fix JS specs6998-fix-jest-specsZog
2018-05-14Merge pull request #566 from ↵Luc Donnet
af83/6627-favicon--make-transparent-and-retina-compatible 6627-favicon--make-transparent-and-retina-compatible
2018-05-13Disable Import::Netex API v1 request specs. Refs #6995Alban Peignier
2018-05-13Add TEST_ENV_NUMBER part in docker database yml. Refs #69966996-dockerfile-buildAlban Peignier
2018-05-13Create Dockerfile.build. Refs #6996Alban Peignier
2018-05-13Add ci:fix_webpacker task to prevent yarn launch. Refs #6996. Refs #5802Alban Peignier
2018-05-13Keep unchanged database.yml when KEEP_DATABASE_CONFIG is defined. Refs #6996Alban Peignier
2018-05-13Test api_key format in TomTom.enabled?. Refs #6993Alban Peignier
2018-05-13Define a dummy TomTom api_key in specAlban Peignier
2018-05-11Avoid time shift in User specsAlban Peignier
2018-05-11Refs #6990; Fix Referentials filtersZog
2018-05-11Make favicon transparent and retina compatible6627-favicon--make-transparent-and-retina-compatibleTeddy Wing
Use a transparent background version of the favicon instead of setting it on white as per the new requirements. Include both 16x16 and 32x32 sizes to support retina displays. I resized the `Logo_Chouette-256x256 transparent.png` logo in GIMP to 16x16 and 32x32 sizes using cubic interpolation. Then used Imagemagick to create the ICO file: $ convert \ Logo_Chouette-16x16\ transparent.png \ Logo_Chouette-32x32\ transparent.png \ favicon.ico Refs #6627
2018-05-11Refs #6647; Fix specsZog
2018-05-11Refs #6973; Update consolidted views CSSZog
2018-05-11Refs #69746976-security-driven-packages-updateZog
Refs #6975 Refs #6976 Updates dependencies with potential security breaches
2018-05-11Remove CustomField.none when workgroup isn't defined in ↵Alban Peignier
CustomFieldsSupport.custom_fields
2018-05-11Refs #6972; Fix consolidated view when togglable elements are open6972-fix-consolidated-viewsZog
2018-05-11Fixes merge in STIF initializer. Refs #6960Alban Peignier
2018-05-10Define Workgroup owner and ignore STIF organisation in initializer callback. ↵Alban Peignier
Refs #6960
2018-05-10Update licence file. Refs #6958Alban Peignier
2018-05-10Merge pull request #555 from af83/6923-consolidated-offerAlban Peignier
Display consolidated offer. Fixes #6923
2018-05-10Move per-page-select group in the second line in ↵6923-consolidated-offerAlban Peignier
referential_vehicle_journeys/_filters. Refs #6923
2018-05-10Merge pull request #558 from af83/6960-workgroup-editionAlban Peignier
Workgroup edition. Fixes #6960
2018-05-10Test WorkbenchesController without workbenches.update permission. Refs #69606960-workgroup-editionAlban Peignier
2018-05-10Fix specs. Refs #6960Alban Peignier
2018-05-09Refs #6863 Display import & export actions on conditions6863-workbench-showcedricnjanga
2018-05-09Don't change IEV operation status before pinging java API. Refs #6960Alban Peignier
2018-05-09Fixes WorkbenchesController and WorkgroupsController specs. Refs #6960Alban Peignier
2018-05-09Use Workbench#compliance_control_set_ids virtual attribute to merge with ↵Alban Peignier
existing owner_compliance_control_set_ids. Refs #6960
2018-05-09Associate ComplianceControlSet with parent operation when created. Refs #6960Alban Peignier
2018-05-09Rewrite compliance_control_sets associated to workbench or workgroup edits ↵Alban Peignier
and imports. Refs #6960
2018-05-09Fix show on model not defining the `has_metadata?` methodZog
2018-05-09Fix development toolbarZog
2018-05-09Refs #6961; Update Workbench#editZog
- Update the form - Use policies and update the seeds accordingly - Add a link in the navbar(s)