1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-08-06 06:14:04 +00:00

Commit graph

  • 77af83da7e
    Merge 3e564c1f22 into e0990a438c lukinovec 2026-08-05 17:04:23 +02:00
  • 3e564c1f22 Improve tests scope-cache-fix lukinovec 2026-08-05 17:04:08 +02:00
  • 8a8f5a6189
    Merge 61410b52d4 into e0990a438c Dmitry Maranik 2026-08-05 15:52:56 +02:00
  • 7b12d51efe Delete unreachable code lukinovec 2026-08-05 13:48:12 +02:00
  • 47c00dbdb3
    Merge c74761201f into e0990a438c Lucas Michot 2026-08-05 12:12:02 +02:00
  • c74761201f Add regression test for tenants:seed/db:seed command name collision Lucas Michot 2026-08-05 12:11:58 +02:00
  • d2c96bb913 Fix tenants:seed command name via configure() (#1474) Lucas Michot 2026-08-05 11:55:40 +02:00
  • c0ac3382e0
    Merge branch 'master' into scope-cache-fix lukinovec 2026-08-05 11:45:02 +02:00
  • 0c4b98659c
    Merge f690945a82 into e0990a438c lukinovec 2026-08-05 11:28:00 +02:00
  • c4cf5dc6d5
    Laravel 13.24 support (backport #1476) (#1477) v3.10.1 3.x Samuel Stancl 2026-08-04 20:57:48 -07:00
  • e0990a438c
    Laravel 13.24 support (fix #1474) (#1476) master Samuel Stancl 2026-08-04 20:49:48 -07:00
  • cd1b32170a
    Laravel 13.24 support (backport #1476) Samuel Stancl 2026-08-04 19:54:19 -07:00
  • f5f5a44ca7
    Laravel 13.24 support (fix #1474) Samuel Stancl 2026-08-04 19:17:07 -07:00
  • 8244e56618 Handle tenancy.cache.stores changes during revert lukinovec 2026-08-04 18:21:21 +02:00
  • 597e48ec90 Consolidate scopeCache() coverage into existing tests lukinovec 2026-08-04 13:55:52 +02:00
  • 0765bfc757
    simplify code Samuel Stancl 2026-08-03 23:45:10 -07:00
  • 6b6279832e Improve coverage lukinovec 2026-08-03 17:07:53 +02:00
  • aabba924ff Improve comments in the FS bootstrapper test file (delete notes about regression) lukinovec 2026-08-03 13:24:03 +02:00
  • be1e8aa8d4 Add comments for clarity lukinovec 2026-08-03 12:54:38 +02:00
  • 929ad14a6d Make scopeCache public again lukinovec 2026-08-03 12:17:23 +02:00
  • 958fc8e06d Refactor FS bootstrapper lukinovec 2026-07-31 14:00:36 +02:00
  • 483a3ec802 Fix scopeCache() discarding configured cache store paths lukinovec 2026-07-30 15:57:40 +02:00
  • 04ab6c85c7 Add tests for scopeCache() path/lock_path handling lukinovec 2026-07-30 15:38:56 +02:00
  • 553f57a8ad
    [MINOR BC] BroadcastingConfigBootstrapper rewrite, bugfixes (#1448) lukinovec 2026-07-23 09:26:04 +02:00
  • 8a5f5438ff Delete $broadcaster property from the config bootstrapper, stop overriding the static properties in the constructor lukinovec 2026-07-21 11:56:03 +02:00
  • 4e9f8a3c3e Delete redundant second tenant from auth prop copying test lukinovec 2026-07-21 11:03:35 +02:00
  • d69c9f0a85
    minor test improvements Samuel Stancl 2026-07-20 20:17:54 -07:00
  • b0d8318d0e universal routes capture existing onfail callback (fix #1470) JeremyRed 2026-07-21 11:26:15 +10:00
  • aa16736b64 Merge the BroadcastManager binding test into the broadcaster instance test lukinovec 2026-07-17 13:36:57 +02:00
  • 64538eadaa Rename copyAuthState to copyAuthProperties lukinovec 2026-07-17 11:05:36 +02:00
  • 23149473a9 Assert that the bound broadcaster and the manager's default driver are in sync in all contexts lukinovec 2026-07-17 10:27:21 +02:00
  • fe7468ab72 Copy the broadcaster auth state directly lukinovec 2026-07-16 13:22:02 +02:00
  • 50afc49d2b Test that the authenticated user resolvers get copied to tenant broadcasters lukinovec 2026-07-16 12:47:02 +02:00
  • 9efebf964c Test reverting to central credentials after a tenant with overrides lukinovec 2026-07-16 12:26:30 +02:00
  • 44b97ae096
    phpstan fix: comment ignore Samuel Stancl 2026-07-14 19:25:58 -07:00
  • c07996ede0 Explain extending BroadcasterContract better lukinovec 2026-07-13 17:19:16 +02:00
  • 81d41b4690 Use $centralBroadcaster->getChannels() to get the channels instead of using invade() for that lukinovec 2026-07-13 16:17:47 +02:00
  • d535b28d67
    Update src/Bootstrappers/BroadcastingConfigBootstrapper.php lukinovec 2026-07-13 15:50:52 +02:00
  • 31d1663347 Fix typo in comment lukinovec 2026-07-12 12:49:12 +02:00
  • 1409d72dab Make test name more specific lukinovec 2026-07-12 12:49:03 +02:00
  • 4422df2e04 Test configuring BroadcastingConfigBootstrapper::$broadcaster lukinovec 2026-07-12 12:41:30 +02:00
  • e6c4c317fe Test that using broadcasters that only implement the Broadcaster contract (instead of the abstract class) don't break bootstrap() lukinovec 2026-07-12 12:40:31 +02:00
  • 0ba588d299 Improve channel closure inheritance test lukinovec 2026-07-12 12:34:42 +02:00
  • 12e51d0378 Test that when a tenant doesn't have the property that should be mapped to config, the central config values are kept lukinovec 2026-07-12 12:28:01 +02:00
  • 120cec440b Add spaces after fn/function for consistency lukinovec 2026-07-12 12:22:07 +02:00
  • 5911619887 Simplify channel-passing test lukinovec 2026-07-12 12:20:40 +02:00
  • 9e6e0a988b Remove TenancyBroadcastManager, pass the channel auth closures directly in the Broadcaster extend() closure lukinovec 2026-07-12 11:49:34 +02:00
  • 128a1ad036 Improve BroadcastingConfigBootstrapper docblock lukinovec 2026-07-11 14:55:59 +02:00
  • b8fddf8a57 Retrieve the re-registered channel closure to assert what tenant_channel() actually stored lukinovec 2026-07-11 14:32:03 +02:00
  • af14d403c5 Delete extra newline, fix comment inconsistency lukinovec 2026-07-10 15:54:27 +02:00
  • d80fed1468 Remove stale $tenantBroadcasters mention lukinovec 2026-07-10 15:23:57 +02:00
  • 2a0464d694 Resolve (and cache) tenant broadcasters once per tenancy initialization instead of re-resolving them every time lukinovec 2026-07-10 15:06:03 +02:00
  • 24aeb23431 Remove unused $app param and ?BroadcastManager typehint (singleton(...) calls in BroadcastingConfigBootstrapper::revert) lukinovec 2026-07-10 11:28:09 +02:00
  • a19d3b532f
    Merge branch 'master' into broadcasting-fixes lukinovec 2026-07-10 11:10:01 +02:00
  • 937c8c87d9 Delete the redundant BroadcastingFactory::class arg from the Broadcast::clearResolvedInstance calls lukinovec 2026-07-10 11:07:30 +02:00
  • 9af173553e Explain why we swap the bound Broadcaster singleton better, remove the invalid "notification sending" example lukinovec 2026-07-10 10:42:29 +02:00
  • 76e5f96559
    Add LogChannelBootstrapper (#1381) lukinovec 2026-07-08 10:42:05 +02:00
  • 869ad78454
    Fix duplicate entry error when updating TenantPivot columns (#1469) lukinovec 2026-07-08 03:56:34 +02:00
  • 24029f7150
    rename to LogChannelBootstrapper, add to config Samuel Stancl 2026-07-07 18:40:23 -07:00
  • cef7f11e20
    tests: remove comment Samuel Stancl 2026-07-07 18:34:17 -07:00
  • 7900457254 Clarify how the pivot saving listener throws lukinovec 2026-07-07 13:37:42 +02:00
  • d2fb4bc0d5 Only trigger pivot attach on creation (not on updates) lukinovec 2026-07-07 12:42:16 +02:00
  • 5e3eb4322c Test that updating pivot columns does not re-create the synced tenant resource lukinovec 2026-07-07 12:35:03 +02:00
  • f2b7c7d5ed
    minor test improvements Samuel Stancl 2026-07-03 20:18:40 -07:00
  • 61410b52d4 perf(rls): wrap current_setting() in the generated tenant policy for per-statement eval Dmitry Maranik 2026-07-03 19:36:14 -07:00
  • a09ea63967 perf(rls): wrap current_setting() in the generated tenant policy for per-statement eval Dmitry Maranik 2026-07-03 19:36:12 -07:00
  • 7a1a2162ac perf(rls): wrap current_setting() in the generated tenant policy for per-statement eval Dmitry Maranik 2026-07-03 19:36:11 -07:00
  • 945c582b17 perf(rls): wrap current_setting() in the generated tenant policy for per-statement eval Dmitry Maranik 2026-07-03 19:36:10 -07:00
  • ce5b36372f
    Merge branch 'master' into add-log-bootstrapper Samuel Stancl 2026-06-30 20:45:33 -07:00
  • e114e1b9fe
    update comments, add getBoundCentralStoragePath() Samuel Stancl 2026-06-30 20:33:17 -07:00
  • 3156c87ee3
    phpstan fixes Samuel Stancl 2026-06-30 19:30:50 -07:00
  • 17706f8e2c
    Correct DatabaseTenancyBootstrapperTest (#1466) lukinovec 2026-07-01 03:59:46 +02:00
  • 59ab773aa8 Use $centralConnection variable in both hardening tests for consistency lukinovec 2026-06-30 07:12:12 +02:00
  • 184348924f Delete redundant tenants:migrate from the DB_URL exception test lukinovec 2026-06-30 07:07:11 +02:00
  • e75ac38751 Grab the central connection name from the config in harden test lukinovec 2026-06-30 06:22:48 +02:00
  • c784a26cee Reference the DB_URL env var instead of DATABASE_URL lukinovec 2026-06-30 06:18:01 +02:00
  • f6d7ac13db Correct the "throw exception while DB_URL is set" test lukinovec 2026-06-30 06:16:05 +02:00
  • a6ce0e2b88 Test that ending tenancy forgets the stack channels properly lukinovec 2026-06-29 18:01:14 +02:00
  • 68e6fd6c02 Re-resolve all stack channels that include any of the configured channels lukinovec 2026-06-29 17:51:35 +02:00
  • eaedd4a2e5 Clarify docblocks lukinovec 2026-06-29 16:25:33 +02:00
  • dc331bfd9b Use data_get() instead of getAttribute() in overrideChannelConfig lukinovec 2026-06-29 15:37:14 +02:00
  • f20f8016d8
    Merge branch 'master' into broadcasting-fixes lukinovec 2026-06-29 13:19:26 +02:00
  • 614344af52 Add test for reverting the bound broadcaster when tenancy ends lukinovec 2026-06-29 13:03:00 +02:00
  • df4be2e060
    migrate-fresh: show migration output when verbose (#1464) lukinovec 2026-06-29 04:04:02 +02:00
  • 6806871993
    handle 0 and empty $_ENV differently Samuel Stancl 2026-06-28 18:49:00 -07:00
  • 4f2c4528a4
    simplify ENV manipulation code in test Samuel Stancl 2026-06-28 18:42:45 -07:00
  • aa9d1d7fcf
    Parameter validation and other DB manager improvements (#1459) lukinovec 2026-06-28 04:51:30 +02:00
  • ca7c1733fd
    minor DatabaseTenancyBootstrapperTest polish Samuel Stancl 2026-06-27 19:46:10 -07:00
  • ecf031237d
    Make globalCache always use central conn with DB cache stores (#1462) lukinovec 2026-06-28 03:30:01 +02:00
  • 9f344bf81d
    improve comments Samuel Stancl 2026-06-25 20:23:51 -07:00
  • c76ae9ed68
    Merge branch 'master' into fix-cache-invalidation Samuel Stancl 2026-06-25 19:53:12 -07:00
  • 04da9c896b
    [MINOR BC] Fix pending tenant pull race conditions (#1463) lukinovec 2026-06-26 04:51:39 +02:00
  • f9c827d698
    wording Samuel Stancl 2026-06-25 19:39:32 -07:00
  • 90ff8d78d9 Try making the verbosity test pass in CI lukinovec 2026-06-13 09:26:34 +02:00
  • 1f2a017a41 Add test for tenants:migrate-fresh -v lukinovec 2026-06-13 08:28:01 +02:00
  • af1231f025 migrate-fresh can show output with verbose lukinovec 2026-06-13 07:59:50 +02:00
  • ff8f73ec08 Ignore PHPStan error lukinovec 2026-06-13 07:25:16 +02:00
  • f65b05549f Use extend() to override database cache store creation for globalCache lukinovec 2026-06-12 16:21:50 +02:00
  • 0d177c7e9b Use simple tenants table check during hardening lukinovec 2026-06-12 15:34:39 +02:00
  • e5234daed4 Improve wording, add comments in the pull rollback test lukinovec 2026-06-12 12:39:35 +02:00