Closed (fixed)
Project:
Simple Klaro
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2023 at 14:47 UTC
Updated:
6 Feb 2023 at 18:54 UTC
Jump to comment: Most recent
Comments
Comment #3
erik seifert commentedComment #4
erik seifert commentedComment #5
erik seifert commentedComment #6
erik seifert commentedFollowing tests are included for now:
- Simple test for placing block
- Test for changing title
- Test for excluded paths
- Test for disabled klaro
Also i added all tests with cache behaviour and cache tags.
Comment #7
erik seifert commentedComment #8
norman.lolThe MR also contains changes to the schema file. Is this on purpose? Does this affect existing installs? Is an update hook necessary for existing installations?
Comment #9
norman.lolComment #10
erik seifert commentedSee #3335246: Config schema incorrect name
Comment #11
erik seifert commentedThe current schema files does not apply any schema on simple_klaro.settings. Update hook ist not needed here.
Comment #12
norman.lolOh, ay ay ay 😅
Comment #13
elberI will review it.
Comment #14
erik seifert commentedTests will be running if #3335275: Use klaro settings for excluded paths in block settings and add cache for render array is merged
Comment #15
erik seifert commentedI have some findings with the tests.
- Added none initiated plugin manager
- Add correct behavior for empty exclude_paths
- Better block rendering (Bypass if user has the permission)
Comment #16
erik seifert commentedComment #17
erik seifert commentedComment #18
erik seifert commented@elber feel free to test.
Comment #20
norman.lolNice work!
Comment #21
norman.lol