aboutsummaryrefslogtreecommitdiffstats
path: root/app
AgeCommit message (Collapse)Author
2017-09-27ComplianceControlSet#show add compliance_control create linkXinhui
Refs #4563
2017-09-27Move ComplianceControl#index into ComplianceControlSet#showXinhui
Refs #4579
2017-09-27Add type to permited params & remove policy checkXinhui
2017-09-27Merge pull request #78 from ↵Robert Dober
af83/3520-workbench--add-output-association-to-ReferentialSuite 3520 workbench add output association to referential suite
2017-09-27Merge pull request #80 from af83/4440-add-permissions-to-importsLuc Donnet
4440 add permissions to imports
2017-09-26Refs #4614cedricnjanga
Add small helper to create a clone from the window variable the backend send to the JS part We then only deal with variable shared within the app and not with window variable than we delete if we specify it
2017-09-26Refs #4614cedricnjanga
Add trad to React itineraries
2017-09-26UnpriedRobert
2017-09-26Refs: #4440@1h; ImportPolicy applied in views and controllerRobert
2017-09-26Refs: #4440@1.5h;Robert
ImportPolicy changing *.imports →' imports.*
2017-09-26Refs: #4454@0.75h; Proposal for fixRobert
2017-09-26Refs: #4440@0.5h Added import permissionRobert
2017-09-26show compliance_control_set in compliance_check_set table, fix ↵Guillaume
compliance_check_set spec
2017-09-26add date filter to compliance_control_sets Refs #4466Guillaume
2017-09-26Refs #4603 : Add translations to React Timetable appcedricnjanga
2017-09-26Refs #4602 fix period updatecedricnjanga
2017-09-25add compliance_check_sets structure Refs #3564Guillaume
2017-09-25Workbench: Ensure `output` attr is initialised when creating workbenchTeddy Wing
Since all `Workbench`es must have an associated `ReferentialSuite` via `output`, if none is provided when creating a new `Workbench`, create one automatically. This is done in a `before_validation` callback (eck, AR callbacks). In order for our prior 'should validate_presence_of' test to continue to work, we have to work around the new callback, otherwise Shoulda can't set `output` to `nil` to run its expectation and the test fails. Refs #3520
2017-09-25Workbench: Validate presence of `output`Teddy Wing
Ensure all workbenches always have an associated `ReferentialSuite` by validating presence of the `output` attribute. In order to pass the 'should have a valid factory' test, we need to define a `ReferentialSuite` factory and set up a default association on `output` in the `Workbench` factory. We also need to add set `output` when creating a `Workbench` in `spec/support/referential.rb`, otherwise we get a validation error that breaks the tests. Clean up the formatting of that call. In order to pass a `ReferentialSuite`, I just create one above, but I'm not sure if I should be using a `find_or_create` mechanism like the other associated objects do above. Refs #3520
2017-09-25Workbench: Add `output` associationTeddy Wing
The `output` attribute should be a `ReferentialSuite`. Refs #3520
2017-09-25Refs: #4601 Fix bug to keep the routes stop points if validation dont passcedricnjanga
- Added functions to itineraries/form_helper to handle empty fields and modifiy input regarding the user input - Update the stop point checker to not add the error span each time the user hit the form's submit button
2017-09-22Add `has_many` association between `Referential` and `ReferentialSuite`Teddy Wing
`ReferentialSuite` has many `Referential`s. Need to add a foreign key column to the `referentials` table to allow that to work. Refs #3519
2017-09-22Add `ReferentialSuite`Teddy Wing
This model is responsible for collecting referentials in order to merge them into a single referential. * `new` corresponds to a referential in the process of being validated * `current` corresponds to the most recently validated referential Refs #3519
2017-09-22Refs #4593cedricnjanga
Object ID => Change the way provider_id in constructed to replace every space with an underscore.
2017-09-21Vehicle journey message error update to show the sort_id and not the local_idcedricnjanga
2017-09-21Comment begin_of_association_chain methodcedricnjanga
2017-09-21Merge branch 'master' of github.com:af83/stif-boivcedricnjanga
2017-09-21Merge pull request 55 into mastercedricnjanga
=> Debug to add the possibility to add included dates in a period (outside of day types) => Refacto in the timetable reducer to share more code between some actions
2017-09-21Merge branch 'master' of https://github.com/af83/stif-boivGuillaume
2017-09-21add organisation filter for compliance_control_setGuillaume
2017-09-21Add the rest of compliance control modelscedricnjanga
2017-09-20Add the rest of compliance control modelscedricnjanga
2017-09-20Fix error in UPDATE_DAY_TYPE action in timetable reducercedricnjanga
The condition to remove the right dates was not well implemented
2017-09-20Merge branch 'master' into Add_included_days_in_periodscedricnjanga
2017-09-20Merge master to branch and resolve all the conflictscedricnjanga
We also needed to take remove the right time table dates when we update day types : - excluded dates that are out of day types - included dates that are in day types and in periods
2017-09-20add ransack filter for compliance_control_sets collectionGuillaume
2017-09-19Resolve merge conflictscedricnjanga
2017-09-19Fix compliance_control controller spec due to missing permissionsXinhui
2017-09-19Add the rest of the other compliance control modelscedricnjanga
2017-09-19Compliance Control index viewXinhui
Refs #4543
2017-09-19Compliance control policyXinhui
Refs #4543
2017-09-19Compliance control formXinhui
Refs #4543
2017-09-19Compliance Control decoratorXinhui
Refs #4543
2017-09-19Compliance Control PolicyXinhui
Refs #4543
2017-09-19Add compliance control models and some translationscedricnjanga
2017-09-19Merge pull request #69 from af83/4431-permission-renamingLuc Donnet
Fixes: #4431@0.16666666666666666h;
2017-09-19Merge pull request #71 from af83/4446-spec-features-api-keysLuc Donnet
4446 spec features api keys
2017-09-19Merge branch 'master' into 4466-compliance_control_sets4466-compliance_control_setsGuillaume
2017-09-18add create/edit for compliance_control_set, add specsGuillaume
2017-09-18Fix table name compliance_check_result to compliance_check_message Refs #4390 @2Luc Donnet