1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 17:24:03 +00:00
tenancy/src/Bootstrappers
Samuel Štancl 5d3b3d3c21
[4.x] Improve RootUrl and UrlGenerator bootstrappers (#1294)
* Make RootUrlBootstrapper run ONLY in CLI by default (add $rootUrlOverrideInTests), work with resolved UrlGenerator

* Make resolving 'url' return a pre-created generator instance instead of creating it on every app('url') call

* Take care of doubling tenant keys in TenancyUrlGenerator, add regression test for using UrlGenerator and RootUrl bootstrappers together

* Fix code style (php-cs-fixer)

* refactor RootUrlBootstrapper

* add docblock

* clarify docblock

* simplify test: use concrete values instead of overly dynamic code

* Fix bootstrapper order in test, add url('/') assertion

* Use $this->app instead of app()

* Improve TenancyUrlGenerator and RootUrlBootstrapperTest clarity

* Revert attempt to maintain compatibility between the two bootstrappers

* Delete bootstrapper combining test

* Fix code style (php-cs-fixer)

---------

Co-authored-by: lukinovec <lukinovec@gmail.com>
Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
2025-01-16 10:30:06 +01:00
..
Integrations Misc test fixes (#44) 2024-04-06 19:17:34 +02:00
BroadcastChannelPrefixBootstrapper.php [4.x] General code cleanup (#1278) 2024-12-31 00:35:46 +01:00
BroadcastingConfigBootstrapper.php broadcasting config bootstrapper: add reverb preset 2024-07-04 20:52:06 +02:00
CacheTagsBootstrapper.php Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00
CacheTenancyBootstrapper.php Cache prefixing logic rewrite, session scoping improvements, tests refactor (#43) 2024-04-09 20:40:27 +02:00
DatabaseSessionBootstrapper.php Cache prefixing logic rewrite, session scoping improvements, tests refactor (#43) 2024-04-09 20:40:27 +02:00
DatabaseTenancyBootstrapper.php change default cookie name, add todos 2024-04-15 03:11:11 +02:00
FilesystemTenancyBootstrapper.php add assertion, update todos 2024-04-10 03:35:57 +02:00
JobBatchBootstrapper.php deprecate JobBatchBootstrapper 2024-12-27 21:33:44 +01:00
MailConfigBootstrapper.php Rename bootstrappers (#40) 2024-03-28 03:18:23 +01:00
PersistentQueueTenancyBootstrapper.php [4.x] Queue logic refactor (#1289) 2025-01-14 13:49:16 +01:00
PostgresRLSBootstrapper.php Postgres RLS + permission controlled database managers (#33) 2024-04-24 22:32:49 +02:00
QueueTenancyBootstrapper.php [4.x] Queue logic refactor (#1289) 2025-01-14 13:49:16 +01:00
RedisTenancyBootstrapper.php redis bootstrapper: support clusters (#1207) 2024-04-12 01:05:46 +02:00
RootUrlBootstrapper.php [4.x] Improve RootUrl and UrlGenerator bootstrappers (#1294) 2025-01-16 10:30:06 +01:00
UrlGeneratorBootstrapper.php [4.x] Improve RootUrl and UrlGenerator bootstrappers (#1294) 2025-01-16 10:30:06 +01:00