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

Commit graph

  • 1b00f5f1ae Add UrlTenancyBootstrapper lukinovec 2023-01-12 06:42:21 +01:00
  • a0acf1a20d
    update test name Abrar Ahmad 2023-01-11 13:57:01 +05:00
  • 14720c28a2
    Update tests/TenantDatabaseManagerTest.php Abrar Ahmad 2023-01-11 13:51:12 +05:00
  • 46b1cfb1fb Check if cached tenant is truthy lukinovec 2023-01-11 08:18:22 +01:00
  • f09d30aff6 Add withTenantDatabases to test lukinovec 2023-01-11 07:22:26 +01:00
  • 23b028da36 Use withtenantDatabases where needed lukinovec 2023-01-11 07:15:02 +01:00
  • 8deeef25be Improve tests lukinovec 2023-01-06 08:34:56 +01:00
  • cda2a57fb0 Use getTenants() lukinovec 2023-01-06 08:00:16 +01:00
  • caa0c87153 Improve comment lukinovec 2023-01-06 07:22:07 +01:00
  • 1104aba4ef Improve specific cache store in a service test lukinovec 2023-01-06 07:20:37 +01:00
  • d945d1facc Rename CacheManagerService lukinovec 2023-01-06 07:17:55 +01:00
  • 1765761860 Fix code style (php-cs-fixer) PHP CS Fixer 2023-01-06 05:51:45 +00:00
  • 29d13ae5b4
    Merge branch 'master' into add-skip-failing-options-to-migrate lukinovec 2023-01-06 06:51:23 +01:00
  • 5f3e97617f Fix code style (php-cs-fixer) PHP CS Fixer 2023-01-06 05:35:55 +00:00
  • bfd2669fda Update Migrate command lukinovec 2023-01-06 06:35:23 +01:00
  • 87c08cebc4 Merge branch 'master' of github.com:archtechx/tenancy Samuel Štancl 2023-01-06 02:48:40 +01:00
  • 21d55ef472 add setup-php to phpstan job Samuel Štancl 2023-01-06 02:44:37 +01:00
  • 48fc63fe02 switch to PHP 8.2 Samuel Štancl 2023-01-06 02:38:31 +01:00
  • 146570f7e9 Add test for not stopping tenants:migrate after the first failure lukinovec 2023-01-05 18:12:10 +01:00
  • 52db2a0c06 Remove group('prefix') lukinovec 2023-01-05 16:49:49 +01:00
  • 507df55b4c Update test name lukinovec 2023-01-05 16:45:25 +01:00
  • 5ea5299ed1 Make CacheService a singleton in a test lukinovec 2023-01-05 16:37:43 +01:00
  • b38aee0a6a Remove unused import, change word lukinovec 2023-01-05 16:28:33 +01:00
  • 7f10b9af41 Make 'redis' the only tenant cache store in beforeEach, test that tenantCacheStores works lukinovec 2023-01-05 16:24:37 +01:00
  • 42381d00e2 Remove redundant CacheManager extend() call lukinovec 2023-01-05 16:14:20 +01:00
  • 30d73d2694 Change nonTenantCacheDrivers to tenantCacheStores lukinovec 2023-01-05 16:13:00 +01:00
  • f8f0e1e5da
    Merge branch 'master' into cache-prefix lukinovec 2023-01-05 15:07:59 +01:00
  • ffefe1b45c Test that the prefix stays the same lukinovec 2023-01-05 13:05:39 +01:00
  • 86c388a2b6 Add nonTenantCacheDrivers check lukinovec 2023-01-05 13:05:24 +01:00
  • 4b0df42f8a Add and test nonTenantCacheDrivers lukinovec 2023-01-05 12:47:03 +01:00
  • 1c21c66913
    Make $cache non-nullable lukinovec 2023-01-05 11:42:12 +01:00
  • bc27a93eda partial database config for template Abrar Ahmad 2023-01-05 14:23:46 +05:00
  • a59d5a1069 Add test lukinovec 2023-01-04 15:08:09 +01:00
  • a0256fd5f3 Merge branch 'master' of github.com:archtechx/tenancy Samuel Štancl 2023-01-04 03:27:04 +01:00
  • 24d71230e8 comment out php 8.2 phpstan ignores Samuel Štancl 2023-01-04 03:18:52 +01:00
  • 32a128d657 lower required php version back to 8.1 Samuel Štancl 2023-01-04 03:08:56 +01:00
  • db1dc334a6 add todo Samuel Štancl 2023-01-04 03:04:56 +01:00
  • 9078280a44 revert to 8.1 in CI for now Samuel Štancl 2023-01-04 03:04:00 +01:00
  • 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