aboutsummaryrefslogtreecommitdiffstats
path: root/app
AgeCommit message (Collapse)Author
2017-09-18Merge branch '4467_compliance_control_crud' into 4466-compliance_control_setsGuillaume
2017-09-17Avoid error when Import#started_at isn't definedAlban Peignier
2017-09-15Initialize first model for compliance_control STI Refs #3550 @4Luc Donnet
2017-09-15Refs: #4446@1.5h;Robert
* Make failing /delete_api_key_feature_spec pending - Seems Capybara only sees html from the partial api_keys/_form, but not the parent api_keys/edit, which happens to contain the delete link :( * ApiKeyPolicy adapted - update? depends on record's organisation as no referential present - create? depends on user's permission only as organisation will be correct anyway
2017-09-15merged 4442 into 4446Robert
2017-09-14Refs: #4446@1h; Api Keys Edit feature specedRobert
2017-09-14create base structure for compliance_control_setsGuillaume
2017-09-14ComplianceControl Controller4467_compliance_control_crudXinhui
Refs #4467
2017-09-14Fixes: #4442@0.5h;4442-api_keys-permissions-spexRobert
2017-09-14HotfixRobert
2017-09-14Small changes for api key policy and viewcedricnjanga
2017-09-14Fixes: #4431@0.16666666666666666h;4431-permission-renamingRobert
2017-09-14Fix api_key policies Refs #4442Luc Donnet
2017-09-14Change wayback values in route Refs #3395 @4Luc Donnet
2017-09-13Merge branch 'master' of github.com:AF83/stif-boivLuc Donnet
2017-09-13Apply object id changes to viewscedricnjanga
2017-09-13Add short_id method to Chouette::StifNetexObjectid classcedricnjanga
2017-09-13use new human OID in select2scedricnjanga
2017-09-13Change humanOID function to take into account different object id syntaxcedricnjanga
2017-09-12Change typo to load time_table.js file in time_table#indexcedricnjanga
2017-09-12Change the import status filter to include all of the statuses and not just ↵cedricnjanga
running successful warning and failed. The Import model has seven statuses and we wanted to filter them all so we added a method in the controller that will be called before_action :index to change the params and include the other statuses and include them in the ransack query (witout having duplicates in the checkboxes)
2017-09-12Merge branch 'master' into compliance_controlXinhui Xu
2017-09-12Merge pull request #63 from af83/4189-duplicate-routeLuc Donnet
4189 duplicate route
2017-09-12Edit object#local_id attribute orderXinhui
Refs #4453
2017-09-12Change the import filter to include two inputs and tweak ransack filter to ↵cedricnjanga
convert date object to dateTime object
2017-09-12Refs: #4189@2h; Fixing logical merging issues, preparing PRRobert
2017-09-11merged with masterRobert
2017-09-11Fix views and access for api keys generation Refs #4276 @8Luc Donnet
2017-09-11Fixes #4189@4h Route DuplicationRobert
* Duplication of Route is triggered by link and UI forwarded to edit of duplicatee - Changing route, only POST duplicate_referential_line_route --> RoutesController#duplicate - Removing route GET duplicate_referential_line_route --> RoutesController#duplicate - Removing controller action RoutesController#post_duplicate * Link in Route Decorator depends on new policy RoutePolicy#decorate? * Adapting specs
2017-09-11Change the current_offer_workbench methodcedricnjanga
2017-09-11Update of ReferentialsController#new :cedricnjanga
- Add some context to referential and workbench decorator to access current_referential and assign it to the cloned referential - Add a build_referential method to avoir duplicates of code (in the controller and in the model), need to clean a bit more - Need to add some Spec features to take into account the functional scope of the current_user
2017-09-11ImportMessage: Remove `dependent: :destroy` on :resource associationTeddy Wing
It doesn't really make sense to have a `dependent: :destroy` here. For one thing, the `Import` class has the necessary `dependent: :destroy` definitions to remove its associated objects when it gets deleted. At this point, according to Luc, we don't envision deleting `ImportResource`s separately from `Import`s. The other weird thing is that: * `ImportResource` has many `ImportMessage`s * `ImportMessage` has one `ImportResource` With the `dependent: :destroy` set up the way it is here on `ImportMessage`, we could potentially be deleting an `ImportResource` with other `ImportMessage` children that would then become orphaned. For both these reasons, it seems better to remove this trigger. Refs #4412
2017-09-08Disable uniqueness of name for referential because it stops import for same ↵Luc Donnet
referential Refs #4415 @1
2017-09-07Merge branch 'master' of github.com:AF83/stif-boivLuc Donnet
2017-09-07Fix import messages locales key in java process Refs #4370 @1Luc Donnet
2017-09-07Restore Referential#clone_schema invocation. Refs #4335Alban Peignier
2017-09-07Avoid Appartment schema creation when cloning is pending. Add a spec which ↵Alban Peignier
performs a real referential clone. Refs #4335
2017-09-07Set default value for data_source_refXinhui
Refs #4406
2017-09-07Update links in nav leftLuc Donnet
2017-09-06Add Organisation column in Calendars#index Tablecedricnjanga
2017-09-06Fix autocomplete issues on Timetable Select2cedricnjanga
2017-09-06Merge branch 'master' of github.com:af83/stif-boivcedricnjanga
2017-09-06Fix import messages when referential can't be created. Delete unused sass ↵Luc Donnet
files. Refs #4259
2017-09-06Change humanOID function to take into account objectid changescedricnjanga
2017-09-06Model ComplianceCheckResultXinhui
Refs #4390
2017-09-06Model ComplianceCheckResourceXinhui
Refs #4391
2017-09-06Resolve merge conflictcedricnjanga
2017-09-06Model ComplianceCheckXinhui
Refs #4388
2017-09-06Merge branch 'master' of github.com:AF83/stif-boivLuc Donnet
2017-09-06Fix import messages export to csv Refs #4259Luc Donnet