1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-03-22 17:54:03 +00:00

Commit graph

  • b14f13a896 remove JobPipeline todo Samuel Štancl 2025-02-20 17:35:26 +01:00
  • 1b56c5e61a remove todos Samuel Štancl 2025-02-20 17:35:11 +01:00
  • c034501db8 test fixes Samuel Štancl 2025-02-20 16:26:42 +01:00
  • dd0a742028 Correct useTenantRoutesInFortify(), delete unused import lukinovec 2025-02-20 15:45:20 +01:00
  • fd902eadd5 make comment block a complete block Samuel Štancl 2025-02-20 14:54:30 +01:00
  • c8eb4a0de5 resolve more todos Samuel Štancl 2025-02-20 14:33:51 +01:00
  • a213ab0ee3 $tenant -> tenant() Samuel Štancl 2025-02-20 14:22:43 +01:00
  • c748900551 fix CreatesDatabaseUsers return values Samuel Štancl 2025-02-20 14:20:07 +01:00
  • 6804735aae defaultParameterNames Samuel Štancl 2025-02-20 14:18:41 +01:00
  • 9755bcdc10 wip fix hardcoded values making assumptions about the parameters used in routing Samuel Štancl 2025-02-20 13:11:03 +01:00
  • b278d1f61a rename leave() method in tests Samuel Štancl 2025-02-20 12:14:02 +01:00
  • c5cdef75c7 Improve path_identification_middleware docblock lukinovec 2025-02-20 12:02:39 +01:00
  • a85c88e258 cleanup, resolve todos, add immediate todos Samuel Štancl 2025-02-20 11:59:02 +01:00
  • eac88dcc2a contributing note about mssql on Apple Silicon Samuel Štancl 2025-02-19 12:38:35 +01:00
  • ffad2db103 fix regression in previous commit: consume PendingDispatch *before* reverting context Samuel Štancl 2025-02-19 12:28:38 +01:00
  • b9cc63feed handle exceptions in Tenancy:run() Samuel Štancl 2025-02-19 12:02:58 +01:00
  • 7bc2bb6f6a Revert "Add laravel/framework:dev-master to CI matrix" Samuel Štancl 2025-02-14 14:35:34 +01:00
  • 29bfe532fa
    Add laravel/framework:dev-master to CI matrix Samuel Štancl 2025-02-14 14:20:41 +01:00
  • cecf07a8c9
    [4.x] Add tenant parameter to defaults() in UrlGeneratorBootstrapper (#1311) lukinovec 2025-02-14 13:57:29 +01:00
  • 53ea46afe8 cleanup Samuel Štancl 2025-02-14 13:47:06 +01:00
  • fffaf7c58c
    Test ecnrypted casts (#1284) lukinovec 2025-02-14 08:48:16 +01:00
  • 30ee4e9529
    [4.x] Fix 1267: early return in runForMultiple if an empty array is passed (#1286) Samuel Štancl 2025-02-14 08:19:02 +01:00
  • b7471c4381 Update routeNameOverride() lukinovec 2025-02-11 13:38:29 +01:00
  • 509279f188 Update comments lukinovec 2025-02-11 12:22:10 +01:00
  • d8129ac2cc Fix code style (php-cs-fixer) github-actions[bot] 2025-02-11 11:11:37 +00:00
  • 528625f91e Test $override functionality, update new defaults in the bootstrapper tests lukinovec 2025-02-11 12:11:04 +01:00
  • ff68edfe5d Add $override functionality to TenancyUrlGenerator lukinovec 2025-02-11 12:10:20 +01:00
  • ebff40e891 Keep UrlGeneratorBootstrapper::$addTenantParameterToDefaults disabled by default lukinovec 2025-02-11 12:06:19 +01:00
  • fbadaebc9c Improve route() name prefixing test lukinovec 2025-02-10 13:35:37 +01:00
  • 9db1fcf6bd Improve bootstrapper/TenancyUrlGenerator tests (WIP) lukinovec 2025-02-10 13:01:02 +01:00
  • 236121c028 Improve TenancyUrlGenerator docblocks lukinovec 2025-02-10 13:00:33 +01:00
  • 0c60cc309d Update bootstrapper lukinovec 2025-02-10 13:00:14 +01:00
  • 7666e23b8f Fix code style (php-cs-fixer) github-actions[bot] 2025-02-10 08:28:12 +00:00
  • 83529316c3 Pass tenant parameter using defaults in UrlGeneratorBootstrapper, update tests accordingly (wip) lukinovec 2025-02-10 09:27:33 +01:00
  • e4a32e17b7 Update link in test comment lukinovec 2025-02-05 10:21:20 +01:00
  • d531c972b6 Add test for $forceRls = false, refactor BYPASSRLS test lukinovec 2025-02-05 10:08:55 +01:00
  • 439ce0e915 fix: not using template/tenant hostname while creating database users Shaheen 2025-02-04 11:58:28 +02:00
  • 25360f6b6a
    [4.x] Improve id generators (#1300) Samuel Štancl 2025-01-21 17:06:15 +01:00
  • 760db83f92 update test to use min & max Samuel Štancl 2025-01-21 16:00:31 +01:00
  • 7ce7629864 use mysql:8 in docker Samuel Štancl 2025-01-21 15:23:17 +01:00
  • 8f2cb894ce phpstan fixes for spatie invader Samuel Štancl 2025-01-21 14:35:00 +01:00
  • c239239972 fix #1297 - require spatie/invade:* Samuel Štancl 2025-01-21 14:19:22 +01:00
  • 8f7b8e971a make int ranges configurable Samuel Štancl 2025-01-21 14:16:52 +01:00
  • 4ddc2be569 remove string assertions Samuel Štancl 2025-01-17 13:47:28 +01:00
  • 4525e0f941 add RandomIntGenerator Samuel Štancl 2025-01-17 13:42:50 +01:00
  • 8b131ed647
    Allow overriding root URL in tests by default (#1296) lukinovec 2025-01-17 10:20:40 +01:00
  • e333c88168 Add todo@revisit lukinovec 2025-01-17 09:51:05 +01:00
  • a918cb9f6d Revert "Auto-build: Update extensions [skip ci]" Chinmay Purav 2025-01-16 23:49:53 +05:30
  • 8a0fc94505 Revert "Auto-build: Update extensions [skip ci]" Chinmay Purav 2025-01-16 23:49:26 +05:30
  • ad1ff861c1 mysql updated to v8 Chinmay Purav 2025-01-16 23:35:58 +05:30
  • ccaeef8565 Auto-build: Update extensions [skip ci] github-actions[bot] 2025-01-16 17:28:09 +00:00
  • e2cc4316db Auto-build: Update extensions [skip ci] github-actions[bot] 2025-01-16 17:27:15 +00:00
  • 636dd0076d version bump for spatie/invade Chinmay Purav 2025-01-16 22:56:54 +05:30
  • d4cc6c6621 Allow overriding root URL in tests by default lukinovec 2025-01-16 17:40:26 +01:00
  • 5d3b3d3c21
    [4.x] Improve RootUrl and UrlGenerator bootstrappers (#1294) Samuel Štancl 2025-01-16 10:30:06 +01:00
  • 470b84d172 Fix code style (php-cs-fixer) PHP CS Fixer 2025-01-16 09:25:44 +00:00
  • 3fabdf8f33 Move and update force RLS comment lukinovec 2025-01-14 16:16:52 +01:00
  • cf8546fe84 Fix typo, improve comment lukinovec 2025-01-14 16:05:28 +01:00
  • 1f41a8a863 Make with() matrix syntax more clear by using with() multiple times lukinovec 2025-01-14 15:55:41 +01:00
  • a5c79d49c3 Static property cleanup in afterEach lukinovec 2025-01-14 15:51:48 +01:00
  • f836610819 Put DROP OWNED BY into try/catch lukinovec 2025-01-14 15:32:36 +01:00
  • 387c5ce1ae Remove try/catch lukinovec 2025-01-14 15:22:17 +01:00
  • c03ab7937b Move DROP TABLE statement lukinovec 2025-01-14 15:10:51 +01:00
  • 8f958d5779
    [4.x] Queue logic refactor (#1289) Samuel Štancl 2025-01-14 13:49:16 +01:00
  • 1ea1dff504 Set $forceRls in tests where scoping is tested, add non-superuser, non-bypassrls table owner test lukinovec 2025-01-14 13:15:50 +01:00
  • a7f0c83f8f Add $forceRls static property to tenants:rls lukinovec 2025-01-14 13:00:51 +01:00
  • f7aaae07da Fix code style (php-cs-fixer) github-actions[bot] 2025-01-13 10:56:33 +00:00
  • 63b4efc028 Add and test DatabaseCacheBootstrapper lukinovec 2025-01-13 11:56:04 +01:00
  • 0e223e0484
    [4.x] Fix tenants:run argument parsing (#1287) lukinovec 2025-01-11 12:03:09 +01:00
  • 639ffeec65 remove false positive regression test Samuel Štancl 2025-01-11 11:51:44 +01:00
  • 743de4dddb phpstan fixes, clarify previousTenant use Samuel Štancl 2025-01-11 11:47:57 +01:00
  • 1f8db1ce6a Fix code style (php-cs-fixer) github-actions[bot] 2025-01-09 17:03:11 +00:00
  • e6f564c47a simplify persistent queue bootstrapper Samuel Štancl 2025-01-09 18:02:44 +01:00
  • 8f4cd186f9 ci: run persistent queue tests Samuel Štancl 2025-01-09 16:41:07 +01:00
  • 279909f855 wip: add persistent queue bootstrapper, minor testcase refactor Samuel Štancl 2025-01-09 16:39:54 +01:00
  • 78698b0119 simplify QueueTenancyBootstrapper Samuel Štancl 2025-01-09 12:38:23 +01:00
  • 59ca25d57b Fix code style (php-cs-fixer) github-actions[bot] 2025-01-09 09:54:49 +00:00
  • 5e65ceb249
    Merge remote-tracking branch 'origin/rls-fix-for-central-user-without-bypassrls' into rls-fix-for-central-user-without-bypassrls Justin van Elst 2025-01-09 10:54:30 +01:00
  • ec792cd9c6
    chore formatting Justin van Elst 2025-01-09 10:54:17 +01:00
  • 7a6f2ffda6 Fix code style (php-cs-fixer) github-actions[bot] 2025-01-09 09:49:52 +00:00
  • 55bc56356f
    feat: RLS without central user (role) having bypassrls Justin van Elst 2025-01-09 10:49:27 +01:00
  • 43056b1c70 Auto-build: Update extensions [skip ci] github-actions[bot] 2025-01-09 09:38:10 +00:00
  • 1b09973429 Correct comment lukinovec 2025-01-08 13:09:00 +01:00
  • f83554add5 Test that runForMulltiple runs the passed closure for the right tenants lukinovec 2025-01-08 13:06:37 +01:00
  • 1edf9c5b78
    remove unnecessary () Samuel Štancl 2025-01-08 10:56:40 +01:00
  • b9996881a6 Fix PHPStan issue lukinovec 2025-01-08 10:36:38 +01:00
  • 977d905d85 Fix code style (php-cs-fixer) github-actions[bot] 2025-01-08 09:18:49 +00:00
  • f283f37733 Test that tenants:run parses the arguments correctly lukinovec 2025-01-08 10:17:47 +01:00
  • 1750297225 Use StringInput instead of ArgvInput so that tenants:run accepts args properly lukinovec 2025-01-08 10:13:53 +01:00
  • c30fb5d092 fix 1267: early return in runForMultiple if an empty array is passed Samuel Štancl 2025-01-08 10:11:04 +01:00
  • a0f4126318 Add test for syncable models with global scopes lukinovec 2025-01-07 17:32:03 +01:00
  • f955b38e2b phpstan fixes Samuel Štancl 2025-01-05 15:50:30 +01:00
  • 3c183e45d9 fix #1277: consume PendingDispatch return values in Tenancy::run() Samuel Štancl 2025-01-04 15:57:01 +01:00
  • 99357d94df ci: make phpcsfixer job use GH bot account Samuel Štancl 2025-01-04 15:37:20 +01:00
  • a88a42fbbf
    [4.x] Add DisallowSqliteAttach feature (#1283) Samuel Štancl 2025-01-04 15:34:37 +01:00
  • 143b494e51 Fix code style (php-cs-fixer) PHP CS Fixer 2025-01-04 14:21:01 +00:00
  • e2e20ad6db fix path in feature class, minor refactor Samuel Štancl 2025-01-04 15:20:36 +01:00
  • 9c4d02de07 Auto-build: Update extensions [skip ci] github-actions[bot] 2025-01-04 13:38:00 +00:00
  • 60d77182d8 Auto-build: Update extensions [skip ci] github-actions[bot] 2025-01-04 13:37:35 +00:00
  • 7e19a413eb Auto-build: Update extensions [skip ci] github-actions[bot] 2025-01-04 13:37:33 +00:00