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

Commit graph

  • ec9b585e70 request data identification: add tenant_model_column configuration Samuel Štancl 2025-05-30 03:55:52 +02:00
  • 16171b1eaa url generator test: test changing tenant parameter name Samuel Štancl 2025-05-30 03:44:19 +02:00
  • 94d9dd3201 improve request data tests, simplify complex test in UrlGeneratorBootstrapperTest Samuel Štancl 2025-05-30 02:04:12 +02:00
  • 8fb9e8f74f Claude code adjustments Samuel Štancl 2025-05-30 02:03:27 +02:00
  • 58712f53af Merge branch 'may25' into improve-url-generation Samuel Štancl 2025-05-29 18:39:46 +02:00
  • f4cc99b317 fix phpstan Samuel Štancl 2025-05-29 18:39:05 +02:00
  • 37f6260812 Add CLAUDE.md Samuel Štancl 2025-05-29 18:36:09 +02:00
  • bba649a33c UrlGenerator: set defaults based on config; request data: move config to config file+resolver Samuel Štancl 2025-05-29 18:10:07 +02:00
  • c89c2938fe Improve method name lukinovec 2025-05-29 13:28:56 +02:00
  • bfe62611e0 Improve comment lukinovec 2025-05-29 13:15:35 +02:00
  • a1e8324fb5 Use consistent shortest path terminology lukinovec 2025-05-29 13:13:41 +02:00
  • c867ecec44 Update the tree terminology lukinovec 2025-05-29 13:06:54 +02:00
  • 82f9138666 Fix code style (php-cs-fixer) github-actions[bot] 2025-05-29 10:52:24 +00:00
  • 233dbd0184 Improve readability lukinovec 2025-05-29 12:49:47 +02:00
  • 973f7994c3 Improve code for determining the shortest path lukinovec 2025-05-29 12:35:41 +02:00
  • 1bfac014ab Test uncovered edge cases lukinovec 2025-05-29 12:35:06 +02:00
  • 3e8cb02981 Improve TableRLSManager comments lukinovec 2025-05-29 11:31:09 +02:00
  • 759931394c Fix code style (php-cs-fixer) github-actions[bot] 2025-05-28 13:56:50 +00:00
  • a3b925b362 Refactor TableRLSManagerr (dynamic programming, deal with recursive relationships, determine shortest paths while generating the paths) lukinovec 2025-05-28 15:56:25 +02:00
  • f8daccc3b3 Make RouteMode a backed enum Gyula Voros 2025-05-26 11:24:29 +02:00
  • 37edba8dbc Improve comments lukinovec 2025-05-21 14:10:35 +02:00
  • 3d6be96f7d Fix code style (php-cs-fixer) github-actions[bot] 2025-05-21 12:05:11 +00:00
  • 640ba9e7f1 Correct terminology, add test for throwing exceptions lukinovec 2025-05-21 13:58:44 +02:00
  • adfddab951 Make path skipping logic more explicit lukinovec 2025-05-21 13:58:16 +02:00
  • 349ac6e9fc Simplify and clarify comment-related TableRLSManager code lukinovec 2025-05-21 13:20:18 +02:00
  • f65c64c9c7 Correct comment functionality, add comment constraint exception lukinovec 2025-05-21 11:25:09 +02:00
  • a52745704e Fix code style (php-cs-fixer) github-actions[bot] 2025-05-20 11:59:09 +00:00
  • c80b28cf00 Add option to provide constraint information in column comment lukinovec 2025-05-20 13:58:33 +02:00
  • 645232e53c Allow cloning specific routes by name lukinovec 2025-05-19 08:39:09 +02:00
  • 3b90c91763 Add test for cloneRoutesWithMiddleware(), correct existing tests lukinovec 2025-05-19 07:58:58 +02:00
  • 3877e7728d Improve comment lukinovec 2025-05-19 07:52:10 +02:00
  • 37306e73d3 Use 'clone' instead of a universal route in tenant parameter removal test lukinovec 2025-05-16 17:29:46 +02:00
  • 228d6ca788 Delete redundant "should not be cloned" part from shouldBeCloned() lukinovec 2025-05-16 16:58:27 +02:00
  • e8eb38748f Refactor cloning action, update tests lukinovec 2025-05-16 16:52:13 +02:00
  • f9f9e1814a
    Merge branch 'master' into configurable-force-rls lukinovec 2025-05-15 15:20:21 +02:00
  • 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