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

Commit graph

  • b9eb2feea0 Test schema dump file creation and usage lukinovec 2022-10-25 17:34:54 +02:00
  • 6327b5b417 Set TenantDump's path to configured schema-path if the path doesn't get passed lukinovec 2022-10-25 17:32:43 +02:00
  • 0a3e4f9273 Add --schema-path to migration parameters config lukinovec 2022-10-25 17:23:43 +02:00
  • 780a8f8519 Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-25 10:54:55 +00:00
  • b3902bcf29 Merge branch 'master' into 515-complete Samuel Štancl 2022-10-25 12:54:21 +02:00
  • 8c34640948 Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-25 10:54:04 +00:00
  • fe0a322b87 add public connection() method to the Tenant DB manager interface Samuel Štancl 2022-10-25 12:53:31 +02:00
  • 89c137709a
    add new assertions [ci skip] Samuel Štancl 2022-10-25 12:28:32 +02:00
  • d4631a1f3a
    add DB::purge() calls Samuel Štancl 2022-10-25 12:14:57 +02:00
  • 5b39cb4730 Update TenantDatabaseManagerTest.php Abrar Ahmad 2022-10-25 14:46:04 +05:00
  • 6853e752c4 Update TenantDatabaseManagerTest.php Abrar Ahmad 2022-10-25 11:05:04 +05:00
  • 44898bfda4 change inline variable name Abrar Ahmad 2022-10-25 10:45:28 +05:00
  • 4f21ab0449
    typo Samuel Štancl 2022-10-24 15:00:47 +02:00
  • 18d12f3a43 Update test name lukinovec 2022-10-21 15:28:59 +02:00
  • d84f171b58 Make test name more accurate lukinovec 2022-10-21 15:26:30 +02:00
  • c3fb301f9d Fix ClearPendingTenants bug lukinovec 2022-10-21 15:21:20 +02:00
  • 69e37ffa30 Dynamically get virtual column name in ClearPendingTenants lukinovec 2022-10-21 15:03:23 +02:00
  • 789a05b125 Dynamically get columns for pending queries lukinovec 2022-10-21 14:59:43 +02:00
  • a13384dede Update pending tenant pulling test lukinovec 2022-10-21 14:38:40 +02:00
  • e20c391897
    bump stancl/virtualcolumn to ^1.3 Samuel Štancl 2022-10-21 14:11:34 +02:00
  • 0769e187ac Add a test that checks if pulling a pending tenant removes it from the pool lukinovec 2022-10-21 11:05:29 +02:00
  • 1899429723 Rename pullPendingTenant to pullPending and don't pass bool to that method lukinovec 2022-10-21 10:30:20 +02:00
  • c025efa8c7 update test name and improve assertions Abrar Ahmad 2022-10-20 17:11:11 +05:00
  • e172408576 Merge branch 'master' of https://github.com/archtechx/tenancy into stein-j-readied-tenant lukinovec 2022-10-20 14:09:32 +02:00
  • 85e74eb5c6 Add queuetest to gitignore lukinovec 2022-10-20 12:55:13 +02:00
  • 6ecd3d6289 Delete queuetest file lukinovec 2022-10-20 12:53:09 +02:00
  • 54f11fa94f Delete queuetest from gitignore lukinovec 2022-10-20 12:52:32 +02:00
  • d864aa72c9 Move pending tenant tests to a more appropriate file lukinovec 2022-10-20 12:43:16 +02:00
  • 34b4f956ab Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-20 10:31:28 +00:00
  • 319620d6ab Import commands lukinovec 2022-10-20 12:30:47 +02:00
  • c7ccd6a90d Add docblock type lukinovec 2022-10-20 12:29:42 +02:00
  • b69c523f08 Merge branch 'master' of https://github.com/archtechx/tenancy into add-skip-failing-options-to-migrate lukinovec 2022-10-20 11:25:07 +02:00
  • a7f559567d Update TenantDatabaseManagerTest.php Abrar Ahmad 2022-10-20 12:45:42 +05:00
  • b95b6cadca tenancy_db_connection tenant config test Abrar Ahmad 2022-10-20 12:37:08 +05:00
  • c252e0c405 remove unness mysql config and add a comment Abrar Ahmad 2022-10-19 10:52:52 +05:00
  • 5d688e6e5d remove duplicate 'routes/tenant.php' from message Samuel Štancl 2022-10-18 21:52:02 +02:00
  • e4f5b92485
    [4.x] Update commands CLI outputs (#968) Jori Stein 2022-10-18 13:11:57 -04:00
  • ee9472dded type GitHub properly Samuel Štancl 2022-10-18 18:46:44 +02:00
  • 2f9dd95959 php-cs-fixer Samuel Štancl 2022-10-18 18:46:21 +02:00
  • 7b8ab13f3d improve Install & TenantList commands Samuel Štancl 2022-10-18 18:37:41 +02:00
  • 64d1daf93a
    fix typos, improve code Samuel Štancl 2022-10-18 17:30:12 +02:00
  • f95f7382cf update comment Abrar Ahmad 2022-10-18 18:01:06 +05:00
  • 7186afd271
    Update src/Database/DatabaseConfig.php Abrar Ahmad 2022-10-18 17:47:51 +05:00
  • d57a1042b3
    add default Samuel Štancl 2022-10-18 14:15:46 +02:00
  • 05f1b2d6f5
    Add cookie option on Initialize Tenancy by Request identification (#980) Abrar Ahmad 2022-10-18 16:52:16 +05:00
  • 0d7c52634a add cookie property Abrar Ahmad 2022-10-18 16:42:15 +05:00
  • 090fc475eb
    add pullPendingTenantFromPool Samuel Štancl 2022-10-18 13:39:02 +02:00
  • e93a5181c3
    fix test names Samuel Štancl 2022-10-18 13:34:26 +02:00
  • 29460de29d
    use plural in test names Samuel Štancl 2022-10-18 13:28:56 +02:00
  • 693e00b9be Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-17 17:48:49 +00:00
  • 3f60c4a652
    Add maintenance mode events (#979) Jori Stein 2022-10-17 13:48:24 -04:00
  • b855f257c4 Add maintenance mode events j.stein 2022-10-17 11:24:22 -04:00
  • 080b271bb3
    [4.x] Drop tenant databases on migrate:fresh (#971) lukinovec 2022-10-17 15:19:30 +02:00
  • 066acacf5f misc Samuel Štancl 2022-10-17 15:15:01 +02:00
  • 607ea723e5 always register MigrateFreshOverride Samuel Štancl 2022-10-17 15:14:54 +02:00
  • 912f9a964d Update migrate:fresh test lukinovec 2022-10-17 12:46:54 +02:00
  • 2c4f482506 Change command overriding lukinovec 2022-10-17 12:46:41 +02:00
  • 9eab5216b9 Add cookie option on Initialize Tenancy by Request identification Abrar Ahmad 2022-10-17 13:56:02 +05:00
  • a67b5b1f88 update comments Abrar Ahmad 2022-10-17 11:24:22 +05:00
  • d4b5d7c2df Don't drop tenant DBs on migrate:fresh by default lukinovec 2022-10-14 14:27:03 +02:00
  • 49169f3dc1 Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-14 12:23:36 +00:00
  • 18e2025457 merge lukinovec 2022-10-14 14:23:13 +02:00
  • 4d2d96d894 Simplify handle method lukinovec 2022-10-14 14:22:42 +02:00
  • 08b3690fab Fix commands test lukinovec 2022-10-14 14:22:30 +02:00
  • 3ccf024bac Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-14 11:49:15 +00:00
  • 987ac9a347 Update MigrateFreshOverride lukinovec 2022-10-14 13:48:49 +02:00
  • 5fa50cdd49 Override migrate:fresh by extending FreshCommand in TenancyServiceProvider lukinovec 2022-10-14 13:48:26 +02:00
  • 6269dc95e4 Change migrate:fresh test to test if the tenant DBs are dropped by default lukinovec 2022-10-14 13:46:30 +02:00
  • 3728eea6de Drop tenant databases by default lukinovec 2022-10-14 13:46:08 +02:00
  • c2acb85d54 Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-14 08:59:38 +00:00
  • 5cef50b674 Update migrate:fresh test lukinovec 2022-10-14 10:59:16 +02:00
  • 5e76510bfb Try to override migrate:fresh in TenancyServiceProvider lukinovec 2022-10-14 10:58:21 +02:00
  • b2fe66b7d9 Add MigrateFreshOverride lukinovec 2022-10-14 10:57:51 +02:00
  • 6be44ceddc Add config key for dropping tenant databases on migrate:fresh lukinovec 2022-10-14 10:55:08 +02:00
  • 93efa56f59 Update ResourceSyncingTest.php Abrar Ahmad 2022-10-13 17:31:18 +05:00
  • 99f853451b methods dockblocks and correct names Abrar Ahmad 2022-10-13 17:29:43 +05:00
  • 81f2e57fa5
    wip abrardev99-bot 2022-10-13 14:47:27 +05:00
  • dfcfa43c70
    wip abrardev99-bot 2022-10-13 14:28:54 +05:00
  • 873b68cbf7
    wip abrardev99-bot 2022-10-13 14:27:45 +05:00
  • 5f7e1435e9
    wip abrardev99-bot 2022-10-13 13:46:19 +05:00
  • eb1395429f
    wip abrardev99-bot 2022-10-13 09:30:25 +05:00
  • bceda97de2 revert CI changes to it's original state Abrar Ahmad 2022-10-13 09:28:27 +05:00
  • 7ff86a2bd8
    introduce code style issues abrardev99-bot 2022-10-13 09:20:07 +05:00
  • e1fa543723
    add comments above new tests Samuel Štancl 2022-10-12 19:16:03 +02:00
  • f45f64d011 Update ci.yml Abrar Ahmad 2022-10-12 17:50:09 +05:00
  • ad2c88b36c Update ci.yml Abrar Ahmad 2022-10-12 17:46:09 +05:00
  • a0dbcccc38 Update ci.yml Abrar Ahmad 2022-10-12 17:39:15 +05:00
  • c2696ca43a Merge branch 'master' into pr/968 Abrar Ahmad 2022-10-12 16:39:04 +05:00
  • 1ac35bd602 revert CI changes Abrar Ahmad 2022-10-12 16:37:56 +05:00
  • 51c1c2eddf Update ci.yml Abrar Ahmad 2022-10-12 16:11:03 +05:00
  • 3ac2567e82 Update ci.yml Abrar Ahmad 2022-10-12 15:56:08 +05:00
  • 88b8922875 Update ci.yml Abrar Ahmad 2022-10-12 15:50:34 +05:00
  • c940e68ff0 bump EndBug version Abrar Ahmad 2022-10-12 15:34:49 +05:00
  • 42dab2985a
    Add current() and currentOrFail() tenant methods (#970) lukinovec 2022-10-11 10:33:32 +02:00
  • 4b92eac6cd Change self return type to static lukinovec 2022-10-11 07:57:48 +02:00
  • 2201545c51
    Update currentOrFail declaration lukinovec 2022-10-11 07:55:55 +02:00
  • 0ba6602872 Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-10 15:39:10 +00:00
  • 05e84401b4 Delete tenants on migrate:fresh lukinovec 2022-10-10 17:38:38 +02:00
  • 6d303d1b2e Test that migrate:fresh deletes tenant databases lukinovec 2022-10-10 17:37:58 +02:00
  • 7eb8356c74 Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-10 13:13:06 +00:00