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

Commit graph

  • f9f28c9d26
    Use testbench 10.3 Samuel Štancl 2025-07-28 16:54:33 +02:00
  • 30b6fc9702
    [3.x] Add MariaDB database manager config Julian Hundeloh 2025-07-28 16:43:47 +02:00
  • 96a05cdce8 Fix code style (php-cs-fixer) github-actions[bot] 2025-07-28 10:11:35 +00:00
  • 01a06c9210 Add LogTenancyBootstrapper lukinovec 2025-07-28 12:11:09 +02:00
  • bc846391ea Delete todo, update docblock lukinovec 2025-07-23 16:25:27 +02:00
  • 59910ec6e3 Make the tests clearer lukinovec 2025-07-23 16:20:46 +02:00
  • 6c3324ef86 Update DatabaseCacheBootstrapper to also handle cache locks connection lukinovec 2025-07-23 15:41:03 +02:00
  • 3238592364 Test that the cache lock connections also get changed correctly, make assertions more readable, update comments lukinovec 2025-07-23 15:38:42 +02:00
  • a0a164ffe7 Manually register the bootstrapper as singleton lukinovec 2025-07-23 13:18:22 +02:00
  • 16f56958eb Test the low-level/core bootstrapper logic lukinovec 2025-07-23 13:15:52 +02:00
  • 1be203b886 Add high-level assertions to DatabaseCacheBootstrapperTest, make the test follow the structure of the "cache data is separated" test lukinovec 2025-07-23 12:19:16 +02:00
  • ba0c710e4e Revert BootstrapperTest changes lukinovec 2025-07-23 11:42:19 +02:00
  • e5ca6eb776
    Fix typo lukinovec 2025-07-23 10:27:47 +02:00
  • 52052c807a Add DatabaseCacheBootstrapper docblock lukinovec 2025-07-22 20:00:56 +02:00
  • d482bb9e2d Simplify low-level DatabaseCacheBootstrapper test, delete migration file lukinovec 2025-07-22 19:55:04 +02:00
  • b00a037ea8 Test high-level DbCacheBootstrapper functionality in BootstrapperTest lukinovec 2025-07-22 19:40:15 +02:00
  • 2cfa8831a3 Merge branch 'master' into database-cache-bootstrapper lukinovec 2025-07-22 19:32:57 +02:00
  • f6019118a0 Fix code style (php-cs-fixer) configurable-tenants-relationship github-actions[bot] 2025-07-17 16:03:16 +00:00
  • fc809ba55f Make tenants relationship name configurable using the getTenantsRelationshipName()) method in SyncMaster lukinovec 2025-07-17 18:02:55 +02:00
  • 0d83ba28d5
    Update MailConfigBootstrapper.php Paras Suthar Darji 2025-07-15 11:36:34 +05:30
  • 62624275cc phpstan fix Samuel Štancl 2025-07-14 21:48:30 +02:00
  • 91295f01e2 fix origin identification: parse hostname when full URL is used Samuel Štancl 2025-07-14 21:44:12 +02:00
  • 1a31af1c3a Improve path id mw config docblock lukinovec 2025-07-11 07:49:10 +02:00
  • d8af9b4b43 remove JobBatchBootstrapper Samuel Štancl 2025-07-10 01:08:49 +02:00
  • b1c9bd3491 Update ForgetTenantParameter-related comments lukinovec 2025-07-08 13:13:27 +02:00
  • 6676193ff5 Update clone action annotation lukinovec 2025-07-07 11:56:08 +02:00
  • 3178ea38f0 Fix code style (php-cs-fixer) github-actions[bot] 2025-07-07 09:47:10 +00:00
  • 4a4d76f8d1 Add $addTenantParameter properyt to the clone action lukinovec 2025-07-07 11:46:46 +02:00
  • ca57b89d02 Add test for the new clone action addTenantParameter property lukinovec 2025-07-07 11:44:56 +02:00
  • 393f263f03
    [4.x] Update route cloning example in TenancyServiceProvider stub (#1372) may25 lukinovec 2025-07-04 12:08:43 +02:00
  • 466e4fbe1a Delete double // from cloning example in TSP stub lukinovec 2025-07-04 12:03:53 +02:00
  • f57536c5a6 Update cloning example lukinovec 2025-07-04 11:22:10 +02:00
  • 4ead17a56b
    [4.x] TableRLSManager refactor, comment constraints (#1354) lukinovec 2025-07-03 21:12:04 +02:00
  • 3907b903ad code improvements Samuel Štancl 2025-07-03 20:09:13 +02:00
  • 3064c41b0e misc improvements Samuel Štancl 2025-07-03 14:45:31 +02:00
  • 4351415ee4 Rename shouldSkipPathLeadingThrough() to shouldSkipPathLeadingThroughConstraint() lukinovec 2025-07-02 17:54:29 +02:00
  • 1cfb85e756 Update key names of the formatted constraints lukinovec 2025-07-02 17:53:15 +02:00
  • 7ae11dca7f Fix code style (php-cs-fixer) github-actions[bot] 2025-07-02 15:51:15 +00:00
  • cb1209d1b2 Refactor constraint formatting in TableRLSManager lukinovec 2025-07-02 17:50:57 +02:00
  • 0feae8fe23 Use === instead of Str::is() lukinovec 2025-07-02 17:48:26 +02:00
  • 64048d2950 Fix typo lukinovec 2025-07-02 17:47:45 +02:00
  • aff8986c9b formatting Samuel Štancl 2025-07-02 15:42:12 +02:00
  • 870fb5d37c tests: add comment to clarify the chosen path Samuel Štancl 2025-07-01 19:16:40 +02:00
  • 5561ce208e Merge branch 'may25' into rls-fake-constrained-foreign-keys Samuel Štancl 2025-07-01 18:28:53 +02:00
  • 3614964cd7 test improvements Samuel Štancl 2025-07-01 18:28:44 +02:00
  • d1f12f594d
    Instead of assigning $innerMiddleware during group MW unpacking, merge it (#1371) lukinovec 2025-07-01 17:23:13 +02:00
  • 70d745d9b3 Instead of assigning $innerMiddleware during group MW unpacking, merge it lukinovec 2025-07-01 17:03:13 +02:00
  • 6c01635a3e Merge branch 'may25' into rls-fake-constrained-foreign-keys Samuel Štancl 2025-07-01 00:33:12 +02:00
  • 1e926a1dde
    [4.x] Route cloning refactor (#1353) lukinovec 2025-07-01 00:32:42 +02:00
  • c95d5a282e fix typo Samuel Štancl 2025-07-01 00:27:04 +02:00
  • 78d561f7dc clean up tests Samuel Štancl 2025-07-01 00:24:53 +02:00
  • 53f18e80f5
    migrate fresh show output with verbose lordofthebrain 2025-06-30 13:24:38 +02:00
  • 84ac69c908 Fully cover shouldSkipPathLeadingThrough in tests lukinovec 2025-06-27 14:58:17 +02:00
  • 8934114f92 Move RLSCommentConstraintException to src/RLS/Exceptions lukinovec 2025-06-27 11:54:13 +02:00
  • 60eb7cde09
    don't run migrate-fresh silent by default lordofthebrain 2025-06-27 10:48:19 +02:00
  • 7e1fe075f4
    [4.x] Test that global scopes on syncable models can break resource syncing, and that $scopeGetModelQuery can be used as a workaround for that (#1285) lukinovec 2025-06-26 13:39:11 +02:00
  • 4be5b95f9e add global scope reset to afterEach Samuel Štancl 2025-06-26 13:33:10 +02:00
  • 0b20f3122f improve docblock Samuel Štancl 2025-06-26 13:29:41 +02:00
  • 9a04fc0e7a add assertion Samuel Štancl 2025-06-26 12:57:25 +02:00
  • 0c41b3ba85 Revert changes in test lukinovec 2025-06-26 11:53:42 +02:00
  • 6f760ef4cd Add note about clearing the $routesToClone property lukinovec 2025-06-24 14:40:28 +02:00
  • 0bd5872a0f Improve route cloning action docblock lukinovec 2025-06-24 14:30:52 +02:00
  • 8254b9b7b7 Simplify comments in test lukinovec 2025-06-24 13:38:41 +02:00
  • ee28d9ec7d Explicitly reset global scopes on models in beforeEach() lukinovec 2025-06-24 13:16:51 +02:00
  • d62ad4a53a Improve docblocks,as discussed lukinovec 2025-06-24 12:50:41 +02:00
  • 8505045e00 Minor shortestPathToTenantsTable improvement lukinovec 2025-06-23 14:47:07 +02:00
  • 7a16df80aa Delete findShortestPath, merge the code into shortestPathToTenantsTabke lukinovec 2025-06-23 14:27:12 +02:00
  • 15e9294cfe Minor annotation improvements lukinovec 2025-06-23 13:46:01 +02:00
  • cb422c1e72 bump php memory limit when running tests Samuel Štancl 2025-06-23 13:01:10 +02:00
  • 00cdde896c Merge branch 'may25' into rls-fake-constrained-foreign-keys Samuel Štancl 2025-06-23 12:53:37 +02:00
  • f9fadce538 Merge branch 'may25' into resolve-test-todos Samuel Štancl 2025-06-23 12:49:58 +02:00
  • 3799f08c7c Merge branch 'may25' into cloning-refactor Samuel Štancl 2025-06-23 11:39:42 +02:00
  • f8df167f9d Merge branch 'may25' into syncable-scoping Samuel Štancl 2025-06-20 12:36:03 +02:00
  • 7481229063 revert regression in last commit, opt for a phpstan ignore instead Samuel Štancl 2025-06-19 00:12:38 +02:00
  • 12fcbabd76 phpstan fix Samuel Štancl 2025-06-18 23:52:35 +02:00
  • 551895d582 Merge branch 'master' into may25 Samuel Štancl 2025-06-18 23:38:21 +02:00
  • e1fc0e107d remove ignition dependencies Samuel Štancl 2025-06-18 23:29:24 +02:00
  • b0b86355f1
    #1364 clean migration output Amimul Ehshan 2025-06-13 16:50:19 +06:00
  • 215d53dbd1 Improve comment lukinovec 2025-06-12 09:26:55 +02:00
  • 6da3307ec7 Fix typo lukinovec 2025-06-12 09:22:50 +02:00
  • fb382a10d1 Improve comments and method name lukinovec 2025-06-12 09:19:34 +02:00
  • bdbfc2899c Test that the clone action can be used fluently without issues now (could serve as a regression test for the routesToClone change in previous commit) lukinovec 2025-06-12 09:09:19 +02:00
  • a196b72ac7 Improve tests (comments, use $tenant->id instead of $tenant->getTenantKey()) lukinovec 2025-06-12 08:47:32 +02:00
  • 413247752d Rewrite clone action annotation, fix fluent usage bug lukinovec 2025-06-12 08:32:41 +02:00
  • 040233bcaa Provide more info in comment lukinovec 2025-06-11 12:46:31 +02:00
  • 593de904d8 FIx inconsistencies lukinovec 2025-06-11 12:37:18 +02:00
  • eb4890343c Use the tenant model column term consistently lukinovec 2025-06-11 12:26:22 +02:00
  • 035eb9578f Make cached resolver test file clearer, update outdated comments lukinovec 2025-06-11 12:23:58 +02:00
  • 59b9cba7f0 Delete excessive comments, make existing comments consistent and clearer lukinovec 2025-06-11 11:37:52 +02:00
  • 7236cd923a Clarify assertions, improve comments lukinovec 2025-06-11 11:31:48 +02:00
  • 3621cc08c2 Clarify fortify test lukinovec 2025-06-11 11:27:23 +02:00
  • d554dfb547 Make dataset/helper method parameter clearer lukinovec 2025-06-11 10:25:26 +02:00
  • ea019b46ce Keep initial formatting (minimize diff noise) lukinovec 2025-06-11 10:19:19 +02:00
  • 4e7ad0c4d3 Make code more concise lukinovec 2025-06-11 10:16:57 +02:00
  • db12ddf167 Delete resolved todo lukinovec 2025-06-11 10:12:59 +02:00
  • a1c8fc7f92 Refactor testing resolver with default vs custom tenant model name config lukinovec 2025-06-11 10:04:37 +02:00
  • e51ab11d0a Cover configured tenant model columns in cached resolver tests lukinovec 2025-06-11 09:39:16 +02:00
  • 62ae70399c Move encrypted cookie assertion to "cookie identification works" lukinovec 2025-06-10 12:59:13 +02:00
  • dec9350643 Fix encrypted cookie identification test lukinovec 2025-06-10 12:52:17 +02:00
  • da30e1ee5c Clarify Fortify bootstrapper test lukinovec 2025-06-10 11:40:50 +02:00