1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 11:44:03 +00:00

Commit graph

  • 707d5434f8 Correct PR link comment lukinovec 2025-05-15 15:17:36 +02:00
  • 588d1fcc0d
    [4.x] Make TableRLSManager skip foreign keys with 'no-rls' comment right away (#1352) lukinovec 2025-05-15 14:54:04 +02:00
  • 578791018a Fix column definitions lukinovec 2025-05-15 09:12:11 +02:00
  • 2197214516 When a foreign key has no-rls comment (or no comment when scopeByDefault is false), skip path generation earlier lukinovec 2025-05-15 09:08:11 +02:00
  • cf5ec0be6d Add TenancyTestCase base class for tenant-aware test initialization and central context support lokeshrangani 2025-05-12 19:00:54 +05:30
  • 27685ffe5a improve sample RootUrlBootstrapper config Samuel Štancl 2025-05-09 15:15:22 +02:00
  • 9b1d4ce7ee
    feat: add database manager for mariadb Julian Hundeloh 2025-04-09 11:08:41 +02:00
  • dc90e60a2f
    [4.x] Make ScopeSessions usable on universal routes (#1342) lukinovec 2025-04-04 03:15:37 +02:00
  • cf4cf11556 Simplify code Samuel Štancl 2025-04-04 03:07:08 +02:00
  • 936b32475e Add regressiont test lukinovec 2025-04-03 16:10:50 +02:00
  • a6df4e526e Skip ScopeSessions MW if the current context is central and the route is universal lukinovec 2025-04-03 15:48:42 +02:00
  • 52cbb3bde5
    Check if the database exists. Solomon Ochepa 2025-04-01 04:00:46 +01:00
  • c9de955c88 Add a dataset for $forceRls in the table owner test, fix BYPASSRLS test lukinovec 2025-03-19 13:45:27 +01:00
  • 925e83afe3 Add a dataset for $forceRls in the table owner test, fix BYPASSRLS test configurable-force-rls-2 Samuel Štancl 2025-03-19 13:41:08 +01:00
  • 8cd15db1fc
    [4.x] Make RemoveStorageSymlinksAction able to delete broken symlinks (#1323) lukinovec 2025-03-18 21:27:27 +01:00
  • 8d87ee9dfc
    [4.x] Add ULIDGenerator (#1332) Alexandru Bucur 2025-03-18 19:00:35 +01:00
  • 4948ed64c7
    update test name Samuel Štancl 2025-03-18 19:00:08 +01:00
  • 84a2863d2d
    [4.x] Fix fully qualified name at TenancyServiceProvider.stub.php (#1334) Sergio Peris 2025-03-18 18:56:29 +01:00
  • 8d2e837050 add test Samuel Štancl 2025-03-18 18:54:29 +01:00
  • 95dd906de2
    [4.x] Make the ImpersonationToken model configurable (#1335) Samuel Štancl 2025-03-18 18:42:08 +01:00
  • 58ac77f227 Make phpstan happy Samuel Štancl 2025-03-18 15:01:34 +01:00
  • 579bf73569 Add type definition Samuel Štancl 2025-03-18 14:58:05 +01:00
  • 9c843bf2ed Make the ImpersonationToken model configurable, resolve #1315 Samuel Štancl 2025-03-18 14:56:32 +01:00
  • 162e30f611
    Update TenancyServiceProvider.stub.php Sergio Peris 2025-03-18 12:59:38 +01:00
  • 0b2a0cdb58 feat: introduce a simple ULID generator Alex Bucur 2025-03-14 21:58:47 +01:00
  • 63257cad3f
    nitpick: make the default tenant database name a bit more readable Alexandru Bucur 2025-03-13 21:54:08 +01:00
  • 37a0f1a713
    [4.x] Invalidate resolver cache on delete (#1329) Samuel Štancl 2025-03-13 17:03:49 +01:00
  • d98a170fbd
    Invalidate resolver cache on delete (#1328) v3.9.1 Samuel Štancl 2025-03-13 17:02:11 +01:00
  • e46355fb9d
    [3.x] Add comment to config file explaining --force with seeding in production (#1326) Johannes 2025-03-13 17:01:51 +01:00
  • 3f9935784d
    fix: add explicit nullable type declarations for UserImpersonation parameters (#1324) MuHanz 2025-03-13 23:00:05 +07:00
  • 5741dd0306 Fix code style (php-cs-fixer) github-actions[bot] 2025-03-13 15:57:33 +00:00
  • 98791bb4f1 Invalidate resolver cache on delete Samuel Štancl 2025-03-13 16:57:09 +01:00
  • ef6df4f696 Invalidate resolver cache on delete Samuel Štancl 2025-03-13 15:32:13 +01:00
  • e4ebccfa5f use deleting instead of deleted event to trigger cache invalidation Johannes 2025-03-13 13:12:10 +01:00
  • 1bcc215966 also invalidate the resolver cache when a tenant or related model is deleted Johannes 2025-03-12 11:16:34 +01:00
  • 920f77f2d4 revert changes in DatabasePreparationTest Johannes 2025-03-12 08:52:03 +01:00
  • e4a77dcc7b test tenant creation seeding also in production environments (with force) Johannes 2025-03-11 17:13:30 +01:00
  • c711d5635c add comment in seed config for clarification Johannes 2025-03-11 17:12:42 +01:00
  • 2f39ef54b7 Inlcude Laravel 11 and PHP 8.3 support SuperDJ 2025-03-03 15:23:17 +00:00
  • 97fb4c6c31 fix: add explicit nullable type declarations for UserImpersonation parameters MuHanz 2025-02-27 17:09:38 +07:00
  • 5f10c05f15 Make the symlink assertions more explicit lukinovec 2025-02-26 17:22:42 +01:00
  • a56c162752 Delete complete todo0 lukinovec 2025-02-26 17:13:16 +01:00
  • 70eb2bc7d8 Remove symlink validity check from symlinkExists() (only check for the symlink's existence) lukinovec 2025-02-26 16:58:19 +01:00
  • 8229e82b1a Move commented RemoveStorageSymlinks job to the DeletingTenant pipeline (better default - the symlinks will be removed *before* deleting tenant storage) lukinovec 2025-02-26 16:56:30 +01:00
  • 6077053bbd Add regression test for removing invalid symlinks lukinovec 2025-02-26 16:55:12 +01:00
  • 4cfd73e6a1 Expand path identification tests with customized parameter columns These tests now also include routes with additional parameters path-identification-tests Samuel Štancl 2025-02-26 00:09:26 +01:00
  • 8960a83047
    [4.x] Laravel 12 support (#1321) Samuel Štancl 2025-02-25 16:26:18 +01:00
  • 9d86178217 ci fixes, use stable virtualcolumn version Samuel Štancl 2025-02-25 16:10:58 +01:00
  • 19bc316cf6 Fix git tag support in queue.yml Samuel Štancl 2025-02-25 15:56:44 +01:00
  • e930251db5
    [3.x] Laravel 12 support (#1322) v3.9.0 Samuel Štancl 2025-02-25 14:36:29 +01:00
  • c3575a803b run tests on PHP 8.3 Samuel Štancl 2025-02-25 14:30:51 +01:00
  • b84e058d9c Drop Laravel 9 support, update CI matrix Samuel Štancl 2025-02-25 14:27:05 +01:00
  • 110ce0126c Laravel 12 support Samuel Štancl 2025-02-25 14:18:45 +01:00
  • 0f8eb2ec6a Fix RLS tree generation (specify schema name in generateTrees()) lukinovec 2025-02-25 14:11:02 +01:00
  • 4790a3e999 Add Laravel 12 support, drop Laravel 11 support Samuel Štancl 2025-02-25 13:29:23 +01:00
  • ad17e2f74d Auto-build: Update extensions [skip ci] github-actions[bot] 2025-02-25 11:09:57 +00:00
  • 131b3bc5f3 Auto-build: Update extensions [skip ci] github-actions[bot] 2025-02-25 11:09:10 +00:00
  • 6ebaa36ca8 Add Laravel 12 and PHP 8.3 support SuperDJ 2025-02-25 11:08:16 +00:00
  • 8518bee0d3
    Update orchestra/testbench WINBIGFOX 2025-02-24 22:05:23 +01:00
  • 0050e1908b
    CI matrix updated - Laravel 12 support WINBIGFOX 2025-02-24 20:34:39 +01:00
  • 796f981099
    Update composer.json WINBIGFOX 2025-02-24 20:23:08 +01:00
  • 657e165cc8
    [4.x] Cleanup (#1317) laravel-11-bc Samuel Štancl 2025-02-20 20:49:09 +01:00
  • 08f58bff14 fix VERSION_PREFIX in queue.yml Samuel Štancl 2025-02-20 20:36:00 +01:00
  • 2830d942a5 remove todo Samuel Štancl 2025-02-20 20:13:09 +01:00
  • 76f94d80ac simplify comment example Samuel Štancl 2025-02-20 17:54:34 +01:00
  • 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