aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-11-03Showing root breadcrumb on root_pathXinhui
Refs #4820
2017-11-03Refs: #4774@0.1h; CodeReview putting Business Logic of ↵Robert
@indirect_compliance_controls into controller
2017-11-03Fixes: #4774@1h;Robert
Filter Feature Spex of ComplianceControlSet#show implemented
2017-11-03Refs: #4774@2h;Robert
View correctly implemented, but spex on filters do not work yet.
2017-11-03Refs: #4774@2h; Debugging feature specs, added ↵Robert
ComplianceControl.subclass_patterns [amend me] [skip-ci]
2017-11-03Refs: #4774@3h;Robert
Speced feature compliance_control_set/show and filtering on Severity MISSING: Object Filter needs 2B specified
2017-11-03Refs: #4774@4h; Ransack debugged succesfullyRobert
2017-11-03Refs: #4774@3h;Robert
Ransack filter view implemented
2017-11-03Refs: #4774@0.5hRobert
Ransack setup need to adapt `/compliance_controls/_filters.html.slim`
2017-11-03Refs: #4774@0.5h; Exploring the alternate possibility of only one ransack ↵Robert
filter for the controls on the page [skip-ci]
2017-11-03Refs: #4774@1h; Structure of filter views scaffoldedRobert
2017-11-03Refs: #4774@1.5h;Robert
Table Builder Helper table_builder2 with explicit model: parameter integrated into the view TODO: - Feature specs - Add Ransack Filters
2017-11-03Refs: #4774;Robert
table_builder2 modified to accept an array of objects - add optional param `model:` which is needed for header display **only** if collection does not return the `model` itself initial [amend me] [skip ci]
2017-11-03Refs: #4774;Robert
DB Setup for specs
2017-11-02ComplianceControlSetCopier spec: Test that `#copy` returns CCkSetTeddy Wing
The `ComplianceControlSetCopyWorker` depends on `ComplianceControlSetCopier#copy` to return the `ComplianceCheckSet` that it creates. Refs #4782
2017-11-02 Refs: #4802@2h; Replaying former work. To identify spec regressionRobert
Step 2: Added validation of reference->workbench->organisation consistency Made all specs pass Chased bug #4826
2017-11-01Refs: #4802@6h; Replaying former work. To identify spec regressionRobert
Step 1: config/locales
2017-10-31Merge pull request #105 from af83/4774-compliance_control_sets-filtersRobert Dober
4774 compliance control sets filters
2017-10-31Refs: #4774@0.1h; CodeReview putting Business Logic of ↵4774-compliance_control_sets-filtersRobert
@indirect_compliance_controls into controller
2017-10-31Fixes: #4774@1h;Robert
Filter Feature Spex of ComplianceControlSet#show implemented
2017-10-31Refs: #4774@2h;Robert
View correctly implemented, but spex on filters do not work yet.
2017-10-31Refs: #4774@2h; Debugging feature specs, added ↵Robert
ComplianceControl.subclass_patterns [amend me] [skip-ci]
2017-10-31Refs: #4774@3h;Robert
Speced feature compliance_control_set/show and filtering on Severity MISSING: Object Filter needs 2B specified
2017-10-31Refs: #4774@4h; Ransack debugged succesfullyRobert
2017-10-31Refs: #4774@3h;Robert
Ransack filter view implemented
2017-10-31Refs: #4774@0.5hRobert
Ransack setup need to adapt `/compliance_controls/_filters.html.slim`
2017-10-31Refs: #4774@0.5h; Exploring the alternate possibility of only one ransack ↵Robert
filter for the controls on the page [skip-ci]
2017-10-31Refs: #4774@1h; Structure of filter views scaffoldedRobert
2017-10-31Refs: #4774@1.5h;Robert
Table Builder Helper table_builder2 with explicit model: parameter integrated into the view TODO: - Feature specs - Add Ransack Filters
2017-10-31Refs: #4774;Robert
table_builder2 modified to accept an array of objects - add optional param `model:` which is needed for header display **only** if collection does not return the `model` itself initial [amend me] [skip ci]
2017-10-31Refs: #4774;Robert
DB Setup for specs
2017-10-31Merge branch 'master' of github.com:af83/stif-boivRobert
2017-10-31Merge pull request #107 from af83/4817-better-traductionRobert Dober
4817 better traduction
2017-10-31Refs: #4817@0.3h; Hotfix for wrong message for spurious directories in zip file4817-better-traductionRobert
2017-10-31fix helper transport_modes for show only a transport_mode if ↵Guillaume
transport_submode is not informed Refs #4812
2017-10-31Merge branch 'master' of github.com:af83/stif-boivRobert
2017-10-31Refs: #4817@0.1h; CodeReview related fix filename instead of import nameRobert
2017-10-31Merge branch 'master' into 4755-page_for_validate_referentialGuillaume
2017-10-31Fixes: #4817@0.35; Translations changed, Specs adpated to new translation ↵Robert
param name
2017-10-31Fix spec to add name for import factory Refs #4816Luc Donnet
2017-10-31Fix locales problem for wrong file extension in import Refs #4816Luc Donnet
2017-10-30ComplianceControlSetCopyWorker spec: Always stub API callTeddy Wing
In the first test, we weren't stubbing the Java API call, so it would get executed for real. Put the HTTP stub in a `before(:each)` call so that it gets stubbed for every test here. Additionally, reorganise the tests a bit to clean them up. Move the HTTP stub to a `let` to allow it to be called in a couple different places. Since the HTTP stub depends on the `check_set` double, move that to a `let` too. And have the `ComplianceControlSetCopier` mock always return `check_set`, now that the app code depends on that return value. Refs #4782
2017-10-30ComplianceControlSetCopyWorker: Pass ComplianceCheckSet ID to JavaTeddy Wing
Previously I had been passing the `ComplianceControlSet` ID to the Java API. The API actually expects the ID of the `ComplianceCheckSet`. In order to get this ID, have the `ComplianceControlSetCopier` return the `ComplianceCheckSet` that it creates, and use that to pass the the ID to the Java API. Refs #4782
2017-10-30ComplianceControlSetCopyWorker: Call Java validation APITeddy Wing
Call the Java API URL to launch a validation after having copied the `ComplianceControlSet` into a `ComplianceCheckSet`. Copied the format with error logging from `NetexImport#launch_java_import`. In the test, make the ID variables global by putting them in `let`s. Add `config.iev_url` to the Rails `test` environment so that we can access this from our tests. TODO: I just realised I'm sending the wrong ID. I should be sending the check set ID. Refs #4782
2017-10-30Add ComplianceControlSetCopyWorkerTeddy Wing
A new worker that launches the work to copy a `ComplianceControlSet` to a `ComplianceCheckSet`. Currently only handles a single control set and referential pair. Probably want to extend this to handle multiple lists of these objects. Also need to add in a call to the Java API to validate the check. Refs #4782
2017-10-30Refs #4805 Add style to breadcrumb links and change workbench link in breadcrumbcedricnjanga
2017-10-30Merge pull request #104 from af83/4726-breadcrumbLuc Donnet
4726 breadcrumb
2017-10-30Refs #4792cedricnjanga
UX changes on JourneyPattern view - add the possibility to view JP infos in show mode
2017-10-30Refs #4795cedricnjanga
Show the tools buttons even if editMode = false The only buttons activated (if a vj is selected) are info, timetable and notes We then change the behaviour of the modals depending ont the context (editMode or note)
2017-10-27Refs #4794cedricnjanga
Added some UX changes on VehicleJourney collection route - truncate the id of the VJ and the JP to 10 characters - only show the 3 first timetable in the metas of the VJ - add a link to the time_table#show in the EditTimeTable modal