aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
AgeCommit message (Collapse)Author
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-21add organisation filter for compliance_control_setGuillaume
2017-09-20add ransack filter for compliance_control_sets collectionGuillaume
2017-09-19Compliance Control decoratorXinhui
Refs #4543
2017-09-18add create/edit for compliance_control_set, add specsGuillaume
2017-09-18Merge branch '4467_compliance_control_crud' into 4466-compliance_control_setsGuillaume
2017-09-14create base structure for compliance_control_setsGuillaume
2017-09-14ComplianceControl Controller4467_compliance_control_crudXinhui
Refs #4467
2017-09-14HotfixRobert
2017-09-14Small changes for api key policy and viewcedricnjanga
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-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 pull request #63 from af83/4189-duplicate-routeLuc Donnet
4189 duplicate route
2017-09-12Change the import filter to include two inputs and tweak ransack filter to ↵cedricnjanga
convert date object to dateTime object
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-07Merge branch 'master' of github.com:AF83/stif-boivLuc Donnet
2017-09-07Update links in nav leftLuc Donnet
2017-09-06Fix autocomplete issues on Timetable Select2cedricnjanga
2017-09-06Fix import messages when referential can't be created. Delete unused sass ↵Luc Donnet
files. Refs #4259
2017-09-06Merge branch 'master' of github.com:AF83/stif-boivLuc Donnet
2017-09-06Fix import messages export to csv Refs #4259Luc Donnet
2017-09-06Updated imports#index date filter : used the same logic for the ↵cedricnjanga
Calendar#index date filter (ransackable scope) I realized that we could submit the form with incomplete date which caused an 500 error. So I added a small JS script to prevent user from subnitting filter form with incomplete dates Since it was really similar with previous work I added two folders : /helpers & /filters to be more DRY The JS files are loaded in 4 views for the moment, hence the update in the assets.rb file
2017-09-05Refs #4322cedricnjanga
2017-09-05Referential#new_from :cedricnjanga
Added params to certains paths to have the workbench_id in it. The goal is to have the current workbench_id to assign it when do a Referential#new_from Then I finished the use of the functional scope to avoid potential errors I skipped some tests that hve a #TODO so we can easily find them
2017-09-05Clean up compliance checks existing code Refs #4389 @1Luc Donnet
2017-09-05Delete call to pry in referential destroyLuc Donnet
2017-09-04Fix import status table views and first version for import_messages Refs #4527Luc Donnet
2017-09-04Merge branch 'master' of github.com:AF83/stif-boivLuc Donnet
2017-09-04Update workbench_import, netex_import and import_resources views Refs #4256 ↵Luc Donnet
#4257 #4258
2017-09-04add some change for the Referential#new_from to only have a line collection ↵cedricnjanga
regarding the functional scope of the current organozation
2017-08-29Refs #3367 Change Time table overlap querycedricnjanga
2017-08-28Refs #4319 fix timetable autocompletecedricnjanga
2017-08-28Define Import#creator even if referential isn't created. Refs #4273Alban Peignier
2017-08-28Fixes ImportsController#collection. Refs #4273Alban Peignier
2017-08-28Merge branch '4273_http_service_broken'Alban Peignier
2017-08-27Create STIF::NetexFile to read zip content and create ReferentialMetadata ↵Alban Peignier
from real data. Refs #4273
2017-08-27Fixes API:v1:NetexImportsController specs. Refs #4273Alban Peignier
2017-08-27Change ImportsController to manage only WorkbenchImports. Refs #4273Alban Peignier
2017-08-27Create NetexImport even if Referential can be created. Add a ImportMessage ↵Alban Peignier
and failed status in this case. Refs #4273
2017-08-27Make NetexImport#parent mandatory. Refs #4273Alban Peignier
2017-08-27Disable authentication in NetexImportsController for the moment. Refs #4273Alban Peignier
2017-08-25Remove `controllers/support/error_format.rb`Teddy Wing
This one doesn't do anything. The real one currently lives in `app/models/concerns/error_format.rb` (it shouldn't live there according to Robert, but for now that's the story).