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

Commit graph

  • 54a4258fa4 Add and test Tenant::currentOrFail() lukinovec 2022-10-10 15:12:04 +02:00
  • 0198a30413 Add and test Tenant::current() lukinovec 2022-10-10 15:11:37 +02:00
  • 9418402c17 Revert "Update TenantDatabaseManagerTest.php" Abrar Ahmad 2022-10-10 17:17:58 +05:00
  • 69e4a1ef2a Merge branch 'master' into 515-complete Abrar Ahmad 2022-10-10 16:34:02 +05:00
  • 8bde0a7ecb Update DatabaseConfig.php Abrar Ahmad 2022-10-10 16:24:31 +05:00
  • b8e0a1c982 Update TenantDatabaseManagerTest.php Abrar Ahmad 2022-10-10 14:43:43 +05:00
  • a8f416dc1a clean j.stein 2022-10-09 23:33:08 -04:00
  • 76a3e269c8 final class -> class Samuel Štancl 2022-10-09 19:53:14 +02:00
  • 24f04c1328 update tests j.stein 2022-10-09 09:01:12 -04:00
  • 27eb4f738e Ensure commands returns success j.stein 2022-10-09 00:23:30 -04:00
  • 2f15dd5473 Using laravel components j.stein 2022-10-09 00:11:37 -04:00
  • d52254eb94 Add maintenance events j.stein 2022-10-08 18:17:30 -04:00
  • df70463331 Update MaintenanceMode.php j.stein 2022-10-07 11:19:58 -04:00
  • 61d3f16442 Update config.php j.stein 2022-10-07 11:11:00 -04:00
  • bb634b5326 Add tenancy maintenance mode drivers j.stein 2022-10-07 11:05:08 -04:00
  • f8ec22b5ca removing test because other two tests are using the same logic, so this test kinda already covered Abrar Ahmad 2022-10-07 12:39:55 +05:00
  • 47e2aca2db remove test because it's duplicate Abrar Ahmad 2022-10-07 12:30:50 +05:00
  • 7c4afc37d0 remove "ensuring connection exists" check Abrar Ahmad 2022-10-07 12:25:03 +05:00
  • b19a2decba Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-05 11:56:57 +00:00
  • 8c5f33df47 Return status codes in Migrate lukinovec 2022-10-05 13:56:28 +02:00
  • b76ed4ad08 Merge branch 'master' of https://github.com/archtechx/tenancy into add-skip-failing-options-to-migrate lukinovec 2022-10-05 13:55:07 +02:00
  • 6222a72a2f Merge branch 'master' of https://github.com/archtechx/tenancy into stein-j-readied-tenant lukinovec 2022-10-05 13:42:38 +02:00
  • af689f816a Make with-pending VALUE_NONE lukinovec 2022-10-05 13:35:23 +02:00
  • 8123728181 Add QueryException to the Migrat command try/catch lukinovec 2022-10-05 13:08:31 +02:00
  • 53ef136238
    add docs todo Samuel Štancl 2022-10-05 11:49:48 +02:00
  • 72f742e53d Test using --with-pending and the include_in_queries config value lukinovec 2022-10-05 10:23:40 +02:00
  • e3e85a0e88 Add optionNotPassedValue property lukinovec 2022-10-05 10:18:56 +02:00
  • 05ed7214b0
    Update UpdateSyncedResource.php Samuel Štancl 2022-10-05 09:36:47 +02:00
  • 134cb291ea code style Abrar Ahmad 2022-10-04 14:18:48 +05:00
  • 0d1507d122 Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-03 12:00:55 +00:00
  • 737454a6a9 Correct the Migrate command lukinovec 2022-10-03 14:00:27 +02:00
  • 343de54b40 Check for the the testing env in DB bootstrapper lukinovec 2022-10-03 13:59:54 +02:00
  • f46e7b2858 Correct test lukinovec 2022-10-03 13:59:14 +02:00
  • 3f7318b5ae Correct TenantDatabaseDoesNotExistException import lukinovec 2022-10-03 11:21:02 +02:00
  • 88438d1786 Update UpdateSyncedResource.php Abrar Ahmad 2022-10-03 14:18:20 +05:00
  • 0170ccc391 better names Abrar Ahmad 2022-10-03 14:10:00 +05:00
  • e6efa9f58a Update ResourceSyncingTest.php Abrar Ahmad 2022-10-03 14:03:22 +05:00
  • 8ecbe26b6d improve tests Abrar Ahmad 2022-10-03 13:49:06 +05:00
  • 6ee93d0441 update comment about middleware order Samuel Štancl 2022-10-01 20:02:13 +02:00
  • ccaba05272 Add identification section to config, refactor static properties Samuel Štancl 2022-10-01 20:01:18 +02:00
  • e5bc8ddb77 add tenantIdColumn() method (refactor previous commit) Samuel Štancl 2022-10-01 18:01:39 +02:00
  • 24146b26e2 fix #854 Samuel Štancl 2022-10-01 17:59:33 +02:00
  • cea10b2f2d
    854 - possible resolve deprecation issue The Zach 2022-09-30 16:18:16 -04:00
  • cb73936d71 wip Abrar Ahmad 2022-09-30 18:34:43 +05:00
  • ed4632142b Fix code style (php-cs-fixer) PHP CS Fixer 2022-09-30 13:02:40 +00:00
  • 040c42d325 Add and use getWithPendingOption method lukinovec 2022-09-30 15:02:05 +02:00
  • 09bb5326c7 Remove duplicate tenancy bootstrappers config setting lukinovec 2022-09-30 11:21:44 +02:00
  • efd5238831 Fix code style (php-cs-fixer) PHP CS Fixer 2022-09-30 09:10:39 +00:00
  • a346ec450e Remove tenant ordering lukinovec 2022-09-30 11:10:03 +02:00
  • b211cf1caf Fix code style (php-cs-fixer) PHP CS Fixer 2022-09-30 08:39:18 +00:00
  • 75ce19e4a9
    Make createPending() return the created tenant lukinovec 2022-09-30 10:38:43 +02:00
  • 7a0eaeb007 Make with-pending default to config('tenancy.pending.include_in_queries') in HasTenantOptions lukinovec 2022-09-30 10:19:31 +02:00
  • bd8a1aa2ce Remove redundant passing of $withPending to runForMultiple in TenantCollection's runForEach lukinovec 2022-09-30 10:16:47 +02:00
  • 1e04835536 Fix test name typo lukinovec 2022-09-30 10:04:51 +02:00
  • 0005f0eaa7 Use HasTenantOptions instead of the old trait name in Up/Down commands lukinovec 2022-09-30 09:46:55 +02:00
  • 065b029f48 fix phpstan issues in FilesystemTenancyBootstrapper Samuel Štancl 2022-09-30 00:11:47 +02:00
  • f614a02860 Fix code style (php-cs-fixer) PHP CS Fixer 2022-09-29 21:53:17 +00:00
  • 3e78bd935e fix all phpstan issues in resource syncing code Samuel Štancl 2022-09-29 23:52:47 +02:00
  • e8071944ad Merge branch 'master' into resource-syncing Samuel Štancl 2022-09-29 23:42:58 +02:00
  • 137d80a20c Merge branch 'master' of github.com:archtechx/tenancy Samuel Štancl 2022-09-29 23:40:41 +02:00
  • f98a901aeb get down to 21 phpstan errors Samuel Štancl 2022-09-29 23:39:35 +02:00
  • a08480f310 Fix code style (php-cs-fixer) PHP CS Fixer 2022-09-29 20:21:29 +00:00
  • a94227a19c get down to 59 phpstan errors Samuel Štancl 2022-09-29 22:20:55 +02:00
  • 57b08294b9 Merge branch 'resource-syncing' of github.com:abrardev99/tenancy into resource-syncing Samuel Štancl 2022-09-29 17:17:25 +02:00
  • 21f8cf9222 remove unused import Samuel Štancl 2022-09-29 17:02:05 +02:00
  • 0fcc6029d9 Fix code style (php-cs-fixer) PHP CS Fixer 2022-09-29 15:01:56 +00:00
  • c62dc0f0f3 code improvements Samuel Štancl 2022-09-29 17:01:27 +02:00
  • 84a3287799
    update channel name Samuel Štancl 2022-09-29 16:49:12 +02:00
  • 193e044777 remove remaining version checks Samuel Štancl 2022-09-29 16:02:40 +02:00
  • fa09e3a083 remove version checks Samuel Štancl 2022-09-29 16:02:08 +02:00
  • 0d1a85005d
    Merge branch 'master' into stein-j-readied-tenant Samuel Štancl 2022-09-29 16:01:24 +02:00
  • 121370ea01
    [4.x] Add command to bring the tenants up and down from maintenance and remove deprecated exception (#761) Jori Stein 2022-09-29 09:59:14 -04:00
  • b8a5516b4f remove version check since v4 will be L9+ Samuel Štancl 2022-09-29 15:58:53 +02:00
  • 9358819c24 improve test logic Samuel Štancl 2022-09-29 15:51:27 +02:00
  • 99b86bf07a fix php cs fixer config Samuel Štancl 2022-09-29 15:37:01 +02:00
  • abbeae3072 php-cs-fixer Samuel Štancl 2022-09-29 15:31:44 +02:00
  • 147b2fe3c0 Merge branch 'master' into stein-j/3.x Samuel Štancl 2022-09-29 15:28:23 +02:00
  • f478038644 improve code Samuel Štancl 2022-09-29 15:25:42 +02:00
  • e009f6700c Fix code style (php-cs-fixer) PHP CS Fixer 2022-09-29 13:08:06 +00:00
  • 2de182a260 Merge branch 'master' of github.com:archtechx/tenancy Samuel Štancl 2022-09-29 15:07:42 +02:00
  • d463e2da61 phpstan improvements Samuel Štancl 2022-09-29 15:07:16 +02:00
  • 7f6166d49a improve comments Abrar Ahmad 2022-09-29 17:04:39 +05:00
  • 8aea33c0f2 add test Abrar Ahmad 2022-09-29 16:11:08 +05:00
  • 19ed7d94c5 Fix code style (php-cs-fixer) PHP CS Fixer 2022-09-29 08:31:07 +00:00
  • d1a88f57b7 Add missing imports lukinovec 2022-09-29 10:30:44 +02:00
  • a28dba2c60 Fix formatting issue lukinovec 2022-09-29 10:23:02 +02:00
  • a70b143859
    Merge branch 'master' into stein-j-readied-tenant lukinovec 2022-09-29 10:10:09 +02:00
  • dd952c727f Fix code style (php-cs-fixer) PHP CS Fixer 2022-09-29 08:04:15 +00:00
  • 0ee54da29c Correct the tenant order in Run command lukinovec 2022-09-29 10:03:45 +02:00
  • 77b5e508d6 Fix code style (php-cs-fixer) PHP CS Fixer 2022-09-29 00:47:38 +00:00
  • 87212e5390 phpstan, global_cache, resolver improvements, InitializationHelpers trait Samuel Štancl 2022-09-29 02:47:13 +02:00
  • 437a8ed05c remove typehint v3.6.0 Samuel Štancl 2022-09-28 18:50:09 +02:00
  • a2c53b58ba try to exclude Vite.php from coverage report Samuel Štancl 2022-09-28 18:43:39 +02:00
  • 596c47329a remove import of Foundation\Vite in tests Samuel Štancl 2022-09-28 17:17:21 +02:00
  • d31a319cc7 remove import of nonexistent class in older Laravel versions Samuel Štancl 2022-09-28 17:11:35 +02:00
  • 6d599de067 convert ViteBundler to PHP 7 syntax Samuel Štancl 2022-09-28 17:06:05 +02:00
  • 8ecdb49531 skip vite test in Laravel < 9 Samuel Štancl 2022-09-28 16:49:41 +02:00
  • ab2af5b388 rewrite ViteBundlerTest to phpunit syntax Samuel Štancl 2022-09-28 16:43:20 +02:00
  • fd65cf1754 add todo Samuel Štancl 2022-09-28 16:35:10 +02:00
  • d093c1387d [3.x] Add Vite helper for tenancy (#956) Wilsen Hernández 2022-09-27 22:28:30 -04:00