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

Commit graph

  • 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
  • 144df028a0 revert to unset change Abrar Ahmad 2022-11-30 15:21:50 +05:00
  • ec1c2e6c74 Update RedirectTest.php Abrar Ahmad 2022-11-30 13:45:46 +05:00
  • 8f9b21dad1 Update RedirectTest.php Abrar Ahmad 2022-11-30 13:45:15 +05:00
  • 068cee83ee move only one test to without tenancy folder Abrar Ahmad 2022-11-30 13:42:45 +05:00
  • 1a67300615 add back using statement Abrar Ahmad 2022-11-30 13:36:36 +05:00
  • 70ee83b3b7 fix test Abrar Ahmad 2022-11-30 13:27:15 +05:00
  • 3407faf811 fix prefix test according to prefix changes Abrar Ahmad 2022-11-30 13:25:39 +05:00
  • 169a7f7cc9 build prefix using original prefix Abrar Ahmad 2022-11-30 13:25:07 +05:00
  • bbb8865b45 function improvements Abrar Ahmad 2022-11-30 12:36:13 +05:00
  • 55560563b5 separate TestCase for redirect tests Abrar Ahmad 2022-11-30 12:21:43 +05:00
  • 387a10b918 use proper DI Abrar Ahmad 2022-11-30 10:22:01 +05:00
  • 2901d0190c remove unused line Abrar Ahmad 2022-11-29 18:11:10 +05:00
  • b920a2905e assert tenants' data is accessible using the prefix from the central context Abrar Ahmad 2022-11-29 17:13:04 +05:00
  • 45aac1a718 phpstan fixes Samuel Štancl 2022-11-29 10:31:37 +01:00
  • ad29909a16 Make $tenantId nullable in initializeTenancyForQueue (revert phpstan change) Samuel Štancl 2022-11-29 10:25:22 +01:00
  • b2dc0844eb Merge branch 'master' of github.com:tenancy-for-laravel/v4 Samuel Štancl 2022-11-29 10:19:12 +01:00
  • 7d3298c6bb
    Improve code of pending tenants (#1025) lukinovec 2022-11-29 09:31:07 +01:00
  • 1efbbcd02f Improve CreatePendingTenants success message lukinovec 2022-11-28 15:15:34 +01:00
  • 4b51323518 Convert time constrait options to int lukinovec 2022-11-28 15:00:28 +01:00
  • 16ab7e0435 Remove redundant test lukinovec 2022-11-28 14:57:57 +01:00
  • 9414b17f06 Improve query formatting lukinovec 2022-11-28 14:43:16 +01:00
  • 3a6e673418 Remove --all option from ClearPendingTenants lukinovec 2022-11-28 14:41:18 +01:00
  • d6b4d9b7a7 user getTenantKey method Abrar Ahmad 2022-11-28 15:09:39 +05:00
  • eef58bd93d test names grammar Abrar Ahmad 2022-11-28 12:50:14 +05:00
  • 41a6f5b074 Update config.php Abrar Ahmad 2022-11-28 12:08:56 +05:00
  • be6b2f8248 remove tenant_unaware_features key and use static function Abrar Ahmad 2022-11-28 11:23:30 +05:00
  • 250f927d33 test name and other improvements Abrar Ahmad 2022-11-28 10:53:35 +05:00
  • 7125e1f3cc Update UniversalRoutes.php Abrar Ahmad 2022-11-25 17:36:22 +05:00
  • 7b95becb3d Delete BootstrapFeatures.php Abrar Ahmad 2022-11-25 16:15:59 +05:00
  • f98a02aa9d trigger CI Abrar Ahmad 2022-11-25 15:45:01 +05:00
  • 0866663703 Fix code style (php-cs-fixer) PHP CS Fixer 2022-11-25 10:39:38 +00:00
  • 9b788e59d0 Update CrossDomainRedirect.php Abrar Ahmad 2022-11-25 15:36:55 +05:00
  • 399a78cf07 add test Abrar Ahmad 2022-11-25 15:31:45 +05:00
  • 4c20e30fcc wip Abrar Ahmad 2022-11-25 15:16:07 +05:00
  • cf5bffea25 Fix constructor parameter formatting lukinovec 2022-11-25 08:57:07 +01:00
  • c0d0dc99de wip Abrar Ahmad 2022-11-25 11:00:22 +05:00
  • 73c5655bc8
    Manual mode improvements (use correct event type, add new listeners) (#1013) Abrar Ahmad 2022-11-25 07:09:31 +05:00
  • 796128d9ea
    simplify comment Samuel Štancl 2022-11-25 03:08:27 +01:00
  • d42e59b2a7
    add comment Abrar Ahmad 2022-11-24 17:47:49 +05:00
  • b3cef0c100 Use invade() instead of ReflectionClass lukinovec 2022-11-24 13:34:50 +01:00
  • b96ff262ef Update config reverting test lukinovec 2022-11-24 13:29:18 +01:00
  • 71bfdecced Fix code style (php-cs-fixer) PHP CS Fixer 2022-11-24 12:23:03 +00:00
  • d83cd1ddb4 Move MailManager extension to MailTenancyBootstrapper lukinovec 2022-11-24 13:22:26 +01:00
  • fdb6e12fdd Update ManualModeTest.php Abrar Ahmad 2022-11-24 12:20:19 +05:00
  • 3cff2e3ba9 Update PrefixCacheBootstrapperTest.php Abrar Ahmad 2022-11-24 12:05:19 +05:00
  • e550c7dcdd Update PrefixCacheTenancyBootstrapper.php Abrar Ahmad 2022-11-24 11:57:14 +05:00
  • 1e44ef214d add comments Abrar Ahmad 2022-11-24 11:51:43 +05:00
  • ea19117870
    Use the hardcoded default path in TenantDump only if the path isn't configured (#1019) lukinovec 2022-11-23 13:12:29 +01:00
  • a64ad69112 Test generating tenant dump at the configured path lukinovec 2022-11-23 13:05:28 +01:00
  • f1d454de86 Use the hardcoded tenant dump path only if the path isn't configured lukinovec 2022-11-23 13:04:57 +01:00
  • a6c0fa21c4 Update RedirectTest.php Abrar Ahmad 2022-11-23 16:19:03 +05:00
  • 5bbd09576e tenantUnwareFeature interface Abrar Ahmad 2022-11-23 16:17:44 +05:00
  • fd012a13b0 improvements Abrar Ahmad 2022-11-23 15:11:03 +05:00
  • 1f8b5fdb7c fix test Abrar Ahmad 2022-11-23 15:10:55 +05:00
  • 1e5e60b10d Update ManualModeTest.php Abrar Ahmad 2022-11-23 14:46:37 +05:00
  • 27c05f28cc use tenant connection and central connection listener Abrar Ahmad 2022-11-23 14:45:55 +05:00
  • 2c0a8f4ef9 Update PrefixCacheBootstrapperTest.php Abrar Ahmad 2022-11-23 12:59:51 +05:00
  • cb7567a88a
    [4.x] Make TenantDump work when called outside the tenant context (#1015) lukinovec 2022-11-23 08:38:20 +01:00
  • 16d6e0f54c Update test name lukinovec 2022-11-23 08:34:55 +01:00
  • 20c0d8fe3c Delete duplicate test lukinovec 2022-11-23 08:06:53 +01:00
  • 36afb7dbdd wip Abrar Ahmad 2022-11-23 10:03:25 +05:00
  • eed1def819 Migrate Refresh Hothaifa Jaber 2022-11-22 22:50:21 +03:00