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

Commit graph

  • da817cebe5 Merge branch 'master' of github.com:archtechx/tenancy Samuel Štancl 2023-01-04 02:43:24 +01:00
  • d0dd87ab07 bump PHP to 8.2, minor ci fixes Samuel Štancl 2023-01-04 02:43:10 +01:00
  • d4c6c34e7c Fix code style (php-cs-fixer) PHP CS Fixer 2023-01-04 01:24:21 +00:00
  • 03ac1ef127 fix phpstan errors (seems like it started ignoring @property annotations on interfaces and abstract classes) Samuel Štancl 2023-01-04 02:23:48 +01:00
  • 0f892f1585
    Make tenants able to have custom mail credentials (#989) lukinovec 2023-01-04 02:12:25 +01:00
  • 2e3b8f7108 Update DatabaseConfig.php Abrar Ahmad 2022-12-29 15:33:09 +05:00
  • 5ffc9abfe0 Update TenantDatabaseManagerTest.php Abrar Ahmad 2022-12-29 15:19:03 +05:00
  • d536f545ec Update TenantDatabaseManagerTest.php Abrar Ahmad 2022-12-29 15:11:06 +05:00
  • 931e33c6ea Update TenantDatabaseManagerTest.php Abrar Ahmad 2022-12-29 15:10:38 +05:00
  • 2872b36da4 template_tenant_connection can be array or string Abrar Ahmad 2022-12-29 15:04:38 +05:00
  • 8a54e19644 Revert changes, add comment lukinovec 2022-12-22 09:41:45 +01:00
  • a7a8a5f5e3 Renamed method from isSyncEnabled to shouldSync Leandro Guindani Gehlen 2022-12-21 10:07:19 -03:00
  • d34a6dcd7d Merge branch 'sync' of https://github.com/leandrogehlen/tenancy into 3.x Leandro Guindani Gehlen 2022-12-21 09:51:01 -03:00
  • 82fa6cb292 fix tenant() relationship in Domain Samuel Štancl 2022-12-20 15:10:29 +01:00
  • f42f08cb87
    Add session state when impersonating tenant (#1029) Abrar Ahmad 2022-12-17 06:08:03 +05:00
  • d449b7a97e
    Update UserImpersonation.php Samuel Štancl 2022-12-17 02:06:57 +01:00
  • f5074836ef
    Update src/Features/UserImpersonation.php Abrar Ahmad 2022-12-16 19:02:32 +05:00
  • c9ba569e49 Fix code style (php-cs-fixer) PHP CS Fixer 2022-12-16 10:13:00 +00:00
  • fa00fc7a28 Add changes to PR to Laravel lukinovec 2022-12-16 11:12:33 +01:00
  • 21dc69e358
    Use invade in BootstrapperTest (#1033) lukinovec 2022-12-15 15:03:03 +01:00
  • 5ac5c15fed Use invade in BootstrapperTest lukinovec 2022-12-15 14:40:03 +01:00
  • 151a66b866 Fix PHPStan errors lukinovec 2022-12-15 09:43:31 +01:00
  • bbe66fa055 Fix PHPStan errors lukinovec 2022-12-15 09:15:19 +01:00
  • eb1d6e0bf8 Add comment lukinovec 2022-12-15 09:10:51 +01:00
  • b78a925f19 Simplify BroadcastManager extension, remove setDriver method lukinovec 2022-12-15 09:06:43 +01:00
  • cfb7e9674c Add BroadcastTenancyBootstrapper comments lukinovec 2022-12-15 07:47:52 +01:00
  • 85680622f4 Add comments to TenancyBroadcastManager lukinovec 2022-12-15 07:39:01 +01:00
  • 7092f4c856 Make CacheManager::$addTags default to true lukinovec 2022-12-14 16:21:45 +01:00
  • 68de3600bd
    Improve commands CLI output (#1030) Abrar Ahmad 2022-12-14 19:08:00 +05:00
  • 76fa668429 Fix BroadcastingTest lukinovec 2022-12-14 12:15:06 +01:00
  • aa2fcdf9bc Clean up BootstrapperTest lukinovec 2022-12-14 12:00:32 +01:00
  • 750fa975e1
    Update src/Commands/ClearPendingTenants.php Abrar Ahmad 2022-12-14 15:51:42 +05:00
  • 6b066f8496 Add broadcaster channels test lukinovec 2022-12-14 11:27:25 +01:00
  • efb0c24392 use component info/error methods Abrar Ahmad 2022-12-14 15:11:53 +05:00
  • 4ad8ceb681 fix test Abrar Ahmad 2022-12-14 14:46:22 +05:00
  • 0fa37ed305 rename session key Abrar Ahmad 2022-12-14 14:41:33 +05:00
  • a76fde282a update method name in test Abrar Ahmad 2022-12-13 17:24:17 +05:00
  • dae237012d renamed method Abrar Ahmad 2022-12-13 17:20:31 +05:00
  • ab009d3679 Add bootstrapper test lukinovec 2022-12-13 12:39:11 +01:00
  • cc82d60903 Fix code style (php-cs-fixer) PHP CS Fixer 2022-12-13 11:26:06 +00:00
  • 09f8181245 Separate the test lukinovec 2022-12-13 12:25:39 +01:00
  • ff79b55ada Update TenantUserImpersonationTest.php Abrar Ahmad 2022-12-13 16:24:05 +05:00
  • a79796f612 Add BroadcastTenancyBootstrapper tests lukinovec 2022-12-13 12:04:52 +01:00
  • 60911aabad Instead of just forgetting the old broadcaster instance, bind the new one lukinovec 2022-12-13 11:59:23 +01:00
  • 14333a253d Bind the original broadcaster instance on revert() lukinovec 2022-12-13 11:55:06 +01:00
  • 87efdd2954 Toggle cache tags lukinovec 2022-12-13 05:25:57 +01:00
  • 5c6226befc Use better class for the macro lukinovec 2022-12-12 17:31:05 +01:00
  • bc70a2fab8 Fix code style (php-cs-fixer) PHP CS Fixer 2022-12-12 16:25:57 +00:00
  • 35a3412011 Move Cache::macro() to a slightly more appropriate place lukinovec 2022-12-12 17:25:29 +01:00
  • d3c7fef002 Revert condition in CacheManager to avoid excessive nesting lukinovec 2022-12-12 17:16:53 +01:00
  • b41d8d19dc Uncomment cache tagging lukinovec 2022-12-12 17:10:59 +01:00
  • 3cadefd41c Fix code style (php-cs-fixer) PHP CS Fixer 2022-12-12 16:07:21 +00:00
  • d364568e53 Update CacheManager, add refreshStore() lukinovec 2022-12-12 17:06:49 +01:00
  • 9ec0b6dae3 Make Tenancy override CacheManager lukinovec 2022-12-12 17:05:53 +01:00
  • dc9c8fcf68 Simplify cache store refreshing lukinovec 2022-12-12 16:58:40 +01:00
  • 322b84da14 Fix code style (php-cs-fixer) PHP CS Fixer 2022-12-12 13:06:53 +00:00
  • 55482a0726 wip Abrar Ahmad 2022-12-12 18:06:26 +05:00
  • 9ac0af29aa Fix code style (php-cs-fixer) PHP CS Fixer 2022-12-09 11:47:02 +00:00
  • 2c6a568b5e Make BroadcastTenancyBootstrapper a singleton in tests lukinovec 2022-12-09 12:46:36 +01:00
  • 52d3ebcff9 Fix property type lukinovec 2022-12-09 12:45:59 +01:00
  • 4b33b8620c Move manager to correct directory lukinovec 2022-12-09 12:38:40 +01:00
  • 012a39f79d Fix code style (php-cs-fixer) PHP CS Fixer 2022-12-09 11:22:03 +00:00
  • 50d46139f6 Add macro lukinovec 2022-12-09 12:21:37 +01:00
  • 825a565fa2 Update prefix bootstrapper and test (setStore() in CacheManager and Repository needed) lukinovec 2022-12-08 16:24:54 +01:00
  • 4c33df1aa5 Rename CacheAction to CacheService lukinovec 2022-12-07 14:48:52 +01:00
  • 410841dfe8 Fix code style (php-cs-fixer) PHP CS Fixer 2022-12-07 13:28:10 +00:00
  • 2ed918406d Bind original BroadcastManager again on revert() lukinovec 2022-12-07 14:27:43 +01:00
  • 974414a12d Update CacheAction.php Abrar Ahmad 2022-12-07 18:26:10 +05:00
  • 19255fd98f use Repository in service class DI Abrar Ahmad 2022-12-07 18:24:55 +05:00
  • fea370d813 Fix code style (php-cs-fixer) PHP CS Fixer 2022-12-07 09:15:19 +00:00
  • 9834684402 Add BroadcastTenancyBootstrapper and TenancyBroadcastManager lukinovec 2022-12-07 09:38:44 +01:00
  • 56d198c189 Fix comment lukinovec 2022-12-07 06:53:14 +01:00
  • 8522ea3b4b Fix comment lukinovec 2022-12-07 06:48:08 +01:00
  • f77d56aea7 Delete remaining group('mailer') lukinovec 2022-12-07 06:46:16 +01:00
  • 4d5eef3177 Delete bindNewMailManagerInstance() lukinovec 2022-12-07 06:38:01 +01:00
  • 255afe33c2 Delete group('mailer') lukinovec 2022-12-06 11:59:26 +01:00
  • 8e5d21a85b Update MailTest lukinovec 2022-12-06 11:57:16 +01:00
  • 3ed173d40f Update comment lukinovec 2022-12-06 10:22:47 +01:00
  • aeef8dbce1 Add return type lukinovec 2022-12-06 09:35:59 +01:00
  • fcd71f0b63 Delete TenancyMailManager, update tests lukinovec 2022-12-06 09:33:19 +01:00
  • 2b7e346b7d test right resources are accessible from the tenant Abrar Ahmad 2022-12-06 12:21:02 +05:00
  • 4bdcf64c20 use correct key Abrar Ahmad 2022-12-06 12:02:25 +05:00
  • dc69a112eb Merge branch 'master' into poly-sync Abrar Ahmad 2022-12-06 11:35:40 +05:00
  • 45106cd770 revert type Abrar Ahmad 2022-12-05 17:31:25 +05:00
  • fa221652da Fix code style (php-cs-fixer) PHP CS Fixer 2022-12-05 07:02:58 +00:00
  • 2adef1ac45 use BelongsToMany for tenants method return type Abrar Ahmad 2022-12-05 12:02:26 +05:00
  • a7ad8287e6 disable new jobs/listeners by default, add CreateTenantStorage job Samuel Štancl 2022-12-02 19:43:20 +01:00
  • f99a8222c9 remove getResourceTenantModelName method and use config Abrar Ahmad 2022-12-02 10:23:26 +05:00
  • b25071323f improve assertions Abrar Ahmad 2022-12-01 15:05:22 +05:00
  • 2f91309990 introduce second tenant in test Abrar Ahmad 2022-12-01 14:59:13 +05:00
  • 6c955acd13 CacheService class as singleton Abrar Ahmad 2022-12-01 14:58:13 +05:00
  • 222686ec1d CacheManager dependency injection test Abrar Ahmad 2022-12-01 13:53:45 +05:00
  • 258582112c use proper return type Abrar Ahmad 2022-12-01 13:32:17 +05:00
  • 76c9a052df todo for moving test to separate folder Abrar Ahmad 2022-12-01 13:31:08 +05:00
  • afb942b6be enable feature in TestCase Abrar Ahmad 2022-12-01 13:30:52 +05:00
  • ea3e90987b improve tenants assertions Abrar Ahmad 2022-12-01 13:13:32 +05:00
  • fb847830d5 Update ResourceSyncingUsingPolymorphicTest.php Abrar Ahmad 2022-12-01 13:07:57 +05:00
  • 4f9b8be2c1 Assert tenants are accessible Abrar Ahmad 2022-11-30 16:33:38 +05:00
  • 86469dd357 use unset approach Abrar Ahmad 2022-11-30 16:05:28 +05:00
  • 53d5ffb3b4 use unset approach Abrar Ahmad 2022-11-30 15:40:24 +05:00