lukinovec
4e51cdbacb
Refactor early identification ( #47 )
...
* Make universal route logic part of tbe early ID trait
* Add requstHasTenant to prevent access MW, add todo@samuel
* Delete PathIdentificationManager, move the used methods appropriately
* Correct and refactor code related to the deleted PathIdentificationManager class
* Add docblock
* Fix code style (php-cs-fixer)
* refactor globalStackMiddleware()
* remove todos [ci skip]
* refactor routeMiddleware()
* revert bool assertions
* revert more changes
---------
Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
Co-authored-by: Samuel Štancl <samuel@archte.ch>
2024-04-22 11:30:58 +02:00
a0da54cfdc
categorize todos
2024-03-12 17:29:00 +01:00
lukinovec
4953c69fd8
Update path identification and Fortify integration-related logic ( #13 )
...
* Add commented UrlBinding + FortifyRouteTenancy bootstrappers to the config
* Improve FortifyRoute bootstrapper docblock
* Rename bootstrappers
* Complete renaming
* Pass defaults of the original URL generator to the new one
* Fix URL generator-related test (query string id test WIP)
* Fix code style (php-cs-fixer)
* Make Fortify bootstrapper not depend on the UrlGenerator bootstrapper, update comments
* Fix testing UrlGenerator bootstrapper
* Update TenancyUrlGenerator annotations
* Pass tenant parameter manually in Fortify bootstrapper
* Properly test TenancyUrlGenerator functionality
* Get rid of query string in Fortify bootstrapper
* Fix code style (php-cs-fixer)
* Delete outdated comment
* Improve comment
* Improve before/afterEach
* Encourage passing parameters using TenancyUrlGenerator instead of URL::defaults()
* Delete rest of defaulting logic
* Fix code style (php-cs-fixer)
* Delete test group
* Update ForgetTenantParameter docblock
* Update passTenantParameterToRoutes annotation
* Complete todo in test
* Improve test
* Update comment
* Improve comment
* Add keepQueryParameters bool to Fortify bootstrapper
* Test keepQueryParameters
* minor docblock update
* minor docblock changes
* Delete extra import
* Update src/Overrides/TenancyUrlGenerator.php
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
* Improve comment
* Rename test
* Update bypass parameter-related test comments
* Fix merge
* Rename $keepQueryParameters
* Add docblock
* Add comment
* Refactor Fortify bootstrapper
* Fix code style (php-cs-fixer)
* Fix comment
* Skip Fortify bootstrapper test
* minor code improvements
* Improve fortify bootstrapper test
* Add Fortify bootstrapper annotation, improve code
* Fix code style (php-cs-fixer)
* Add commenet
* Complete resource syncing todo (cleanup not needed)
* Delete incorrect namespace
* Complete route context trait name todo
* Fix code style (php-cs-fixer)
---------
Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
2023-11-26 21:08:41 +01:00
lukinovec
e3b59ae2b5
Improve file structure ( #5 )
...
* Add Enums and Overrides folders
* Fix code style (php-cs-fixer)
---------
Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
2023-08-03 17:51:53 +02:00