1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 19:34:04 +00:00
tenancy/tests/Etc
lukinovec c34952f328
Add broadcasting channel prefixing bootstrapper (#12)
* Rename old broadcast bootstrapper, add new one

* Add broadcast tenancy bootstrapper + tests

* Fix code style (php-cs-fixer)

* Fix prefixing

* Work on th bootstrapper's tests (wip – problem with events)

* Fix bootstrapper

* Test that auth closures of channels work correctly

* Fix bootstrapper

* Fix code style (php-cs-fixer)

* Delete channel cloning bootstrapper

* Add bootstrapper that prefixes broadcastOn channels under the hood

* Add broadcast channel registering helpers

* Update prefixing tests (WIP)

* Fix code style (php-cs-fixer)

* Improve comment

* Fix code style (php-cs-fixer)

* Allow customization of Pusher/Ably broadcaster extension

* Fix code style (php-cs-fixer)

* Implement prefix bootstrapper logic, test channel prefixing using a closure

* Work on the prefixing bootstrapper and tests

* Fix code style (php-cs-fixer)

* Add optional $options param to broadcasting helpers

* Test broadcasting helpers

* Fix code style (php-cs-fixer)

* Broadcasting channel prefixing + testing progress

* Improve helper methods

* Fix and improve test

* Fix extending in bootstrap()

* Fix code style (php-cs-fixer)

* Add docblocks, name things more accurately

* Fix code style (php-cs-fixer)

* Delete redundant method from testing broadcaster

* Test Pusher channel prefixing (probabaly redundant?)

* Test if channels get prefixed correctly when switching tenants

* Work with the current broadcast manager instead of overriding it

* Give the original channels to the overriden broadcasters

* Fix code style (php-cs-fixer)

* Simplify channel prefix bootstrapper

* Fix code style (php-cs-fixer)

* Fix comment

* Fix test

* Delete annotation

* Delete unused classes from test

* Delete outdated test

* Move broadcasting bootstrapper test to BootstrapperTest

* Improve bootstrapper test, delete unused event

* Add annotations to the bootstrapper

* Fix code style (php-cs-fixer)

* Improve wording

* Improve comment

* Update src/Bootstrappers/BroadcastChannelPrefixBootstrapper.php

* Apply suggestions from code review

* Optionally skip prefixing of specific channels

* Add and test central channel helper, update formatChannels overrides and tests

* Fix code style (php-cs-fixer)

* minor fixes

* Improve annotation

* Use "global__" prefix instead of "central__", add comments

* Correct tests

---------

Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
2023-11-06 22:09:01 +01:00
..
Console bump PHP to 8.2, minor ci fixes 2023-01-04 02:43:10 +01:00
EarlyIdentification Central routes without Route::domain(), configurable tenant/central routes by default for domain/subdomain identification, allow accessing central routes in early identification for path & request data middleware (#3) 2023-08-03 00:23:26 +02:00
session_migrations Add SessionTenancyBootstrapper (#2) 2022-11-20 02:32:25 +01:00
synced_resource_migrations Use polymorphic table for mapping resources to tenants (#997) 2023-02-02 06:39:35 +01:00
2019_08_08_000001_add_custom_column.php Apply fixes from StyleCI (#126) 2019-09-11 17:37:02 +02:00
CacheService.php Cache prefix mode for separating tenant caches (#1014) 2023-04-24 16:25:51 +02:00
defaultHttpKernelv6.stub Laravel 7 support (#304) 2020-03-17 18:47:24 +01:00
defaultHttpKernelv7.stub Laravel 7 support (#304) 2020-03-17 18:47:24 +01:00
ExampleSeeder.php Completing PR #881 (#902) 2022-07-20 15:28:45 +02:00
HttpKernel.php Add SessionTenancyBootstrapper (#2) 2022-11-20 02:32:25 +01:00
modifiedHttpKernelv6.stub Laravel 7 support (#304) 2020-03-17 18:47:24 +01:00
modifiedHttpKernelv7.stub Laravel 7 support (#304) 2020-03-17 18:47:24 +01:00
SpecificCacheStoreService.php Cache prefix mode for separating tenant caches (#1014) 2023-04-24 16:25:51 +02:00
tenant-schema.dump [4.x] Add tenant schema dump command (#807) 2022-06-01 16:12:59 +02:00
Tenant.php [4.x] Add pending tenants (modified #782) (#869) 2022-10-31 12:14:44 +01:00
TestingBroadcaster.php Add broadcasting channel prefixing bootstrapper (#12) 2023-11-06 22:09:01 +01:00
TestSeeder.php [4.x] Migrate tests to Pest (#884) 2022-07-22 19:26:59 +02:00
User.php [3.x] DB users (#382) 2020-05-03 18:12:27 +02:00