aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/concerns
AgeCommit message (Collapse)Author
2017-11-28Add has_paper_trail on modelsXinhui
2017-10-26Remove breadcrumb_controllerXinhui
2017-10-04Remove cattr_accessor form ransack date filter concerncedricnjanga
2017-10-03RansackDateFilter: Move `end` statement and jiggle indentationTeddy Wing
An `end` statement was missing to close off the `set_date_time_params` method. Wondering if this is what was causing these test failures on the build server: 1) ComplianceCheckSetsController GET index should be successful Failure/Error: scope = self.ransack_period_range(scope: @compliance_check_sets, error_message: t('compliance_check_sets.filters.error_period_filter'), query: :where_created_at_between) NoMethodError: undefined method `ransack_period_range' for #<ComplianceCheckSetsController:0x0000000fa67e58> # ./app/controllers/compliance_check_sets_controller.rb:11:in `block in index' # ./app/controllers/compliance_check_sets_controller.rb:10:in `index' # ./spec/controllers/compliance_check_sets_controller_spec.rb:17:in `block (3 levels) in <top (required)>' 2) Workbenches permissions on show view if present → shows the corresponding button Failure/Error: scope = self.ransack_period_range(scope: scope, error_message: t('referentials.errors.validity_period'), query: :in_periode) NoMethodError: undefined method `ransack_period_range' for #<WorkbenchesController:0x00000006cb4368> # ./app/controllers/workbenches_controller.rb:15:in `show' # ./spec/features/workbenches_permissions_spec.rb:15:in `block (3 levels) in <top (required)>' Worth a try.
2017-10-03Refs #4665cedricnjanga
Adapt date filters helpers according to this new concern Try to correct build error : "ransack period range undefined" All tests pass on my machine Refs #4661 Remove string column from ComplianceCheckSet
2017-10-03Refs 4665 Update time_table for to adapt to ransack date filter concerncedricnjanga
2017-10-02Refs #4665cedricnjanga
Add a controller concern to deal with date filters
2017-08-02Refs: #4176@3h; NetexImportController refactored with help of ControlFlowRobert
2017-07-13Update policies to make a custom behaviour on footnotes Refs #4094 @1Luc Donnet
2017-07-11hotfix to open all non standard actions on ApplicationControllerRobert
2017-07-05Refs: #3478@1.5h;Robert
- PolicyChecker authorizes(*) all now - Untied ApplicationPolicy#index? from show? - mv access_point_policy.rb to access_point_policy.rb fixing an invisible name curruption (local problem?) * to authorize: to allow (not here), to undergo the process of authorization (here)
2017-03-21Find Referential in Organisation#find_referential. Use it in ↵Alban Peignier
ReferentialSupport and ReferentialsController. Refs #2900
2017-02-07Refs #2542 : Referential logic concernVlatka Pavisic
2017-02-07Refs #2476 : Disable modification and deletion of resources from another ↵Vlatka Pavisic
referential; in progress
2015-04-27Refactor import and export report to use concernLuc Donnet