| Age | Commit message (Collapse) | Author |
|
|
|
set cloning
|
|
|
|
|
|
af83/4782-create-worker-for-compliance-check-copy--rb201710301748
4782 create worker for compliance check copy rb201710301748
|
|
The `ComplianceControlSetCopyWorker` depends on
`ComplianceControlSetCopier#copy` to return the `ComplianceCheckSet`
that it creates.
Refs #4782
|
|
4774 compliance control sets filters
|
|
@indirect_compliance_controls into controller
|
|
Filter Feature Spex of ComplianceControlSet#show implemented
|
|
View correctly implemented, but spex on filters do not work yet.
|
|
ComplianceControl.subclass_patterns [amend me] [skip-ci]
|
|
Speced feature compliance_control_set/show and filtering on Severity
MISSING: Object Filter needs 2B specified
|
|
|
|
Ransack filter view implemented
|
|
Ransack setup need to adapt `/compliance_controls/_filters.html.slim`
|
|
filter for the controls on the page [skip-ci]
|
|
|
|
Table Builder Helper table_builder2 with explicit model: parameter integrated into the view
TODO:
- Feature specs
- Add Ransack Filters
|
|
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]
|
|
DB Setup for specs
|
|
|
|
4817 better traduction
|
|
|
|
transport_submode is not informed Refs #4812
|
|
|
|
|
|
param name
|
|
|
|
|
|
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
|
|
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
|
|
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
|
|
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
|
|
|
|
4726 breadcrumb
|
|
UX changes on JourneyPattern view
- add the possibility to view JP infos in show mode
|
|
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)
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
Escape wildcard character on ILIKE search in the different select2s
When the reasearch was '%' or '_' the query interpreted those characters as wildcars.
Need to escape them to run properly the ransack query
|
|
|
|
|
|
|
|
|
|
Fix bug on dashboard to show the 5 first referentials of the current_organisation's first workbench.
Added a small changes dashboard.rb to avoid '@workbench is not defined error'
With the same logic we list only the first 5 calendars
|
|
|