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

Commit graph

  • 99bb28a16b Merge branches 'storage-url-conflict-resolution' and 'master' of https://github.com/archtechx/tenancy into storage-url-conflict-resolution lukinovec 2022-09-22 14:14:09 +02:00
  • 9206dafd28 Merge branch 'master' into storage-url-conflict-resolution lukinovec 2022-09-22 14:04:14 +02:00
  • 976e9a7528
    fix: typo mistake Anbuselvan Rocky 2022-09-22 16:02:18 +05:30
  • 8bbf92aa9b typehint DatabaseBatchRepository Abrar Ahmad 2022-09-22 11:16:14 +05:00
  • ab5fa7a247
    [4.x] Optionally delete storage after tenant deletion (#938) lukinovec 2022-09-20 19:42:00 +02:00
  • dda3e36ad6 Change test name lukinovec 2022-09-20 16:11:54 +02:00
  • 31e30767b4 Move migration event dispatching inside try block lukinovec 2022-09-20 16:06:15 +02:00
  • 608c28cf33 Move tenant storage deletion to the DeletingTenant event lukinovec 2022-09-20 16:02:13 +02:00
  • 8e919b8101 enabled BatchTenancyBootstrapper by default Abrar Ahmad 2022-09-20 11:38:07 +05:00
  • 9c9a3d09fc custom path Abrar Ahmad 2022-09-20 11:22:23 +05:00
  • 6e513c49f4 refactor the ternary into if condition Abrar Ahmad 2022-09-20 11:14:51 +05:00
  • f3898e7224 Update SingleDatabaseTenancyTest.php Abrar Ahmad 2022-09-15 15:37:52 +05:00
  • 782501fc53 complete uniqe exists test Abrar Ahmad 2022-09-15 15:22:02 +05:00
  • a65f9ac022 Update DatabaseConfig.php Abrar Ahmad 2022-09-15 11:45:10 +05:00
  • 5674ce4346 Revert "remove host connection name config key" Abrar Ahmad 2022-09-15 10:39:30 +05:00
  • 6d9031295e complete test seed command works Abrar Ahmad 2022-09-14 15:28:38 +05:00
  • 42acb823e8 remove host connection name config key Abrar Ahmad 2022-09-14 14:29:07 +05:00
  • 13fed332cd complete test sqlite manager customize path Abrar Ahmad 2022-09-14 14:19:55 +05:00
  • e6d703eee4 test named Abrar Ahmad 2022-09-13 17:27:52 +05:00
  • f2a253c40d Improvements Abrar Ahmad 2022-09-13 16:24:30 +05:00
  • 09ba3fd0fa remove unused method Abrar Ahmad 2022-09-13 16:04:25 +05:00
  • 52cce14797 purge connection and add more tests Abrar Ahmad 2022-09-13 16:02:42 +05:00
  • cd6e989c09 create host connection for creating, deleting tenants Abrar Ahmad 2022-09-13 14:41:28 +05:00
  • 1b31bdb56b Remove tenant storage deletion events lukinovec 2022-09-13 09:22:34 +02:00
  • 8211ddb38a convert batch class resolution to property level Abrar Ahmad 2022-09-13 11:24:59 +05:00
  • df172ffc23
    Update src/Bootstrappers/BatchTenancyBootstrapper.php Abrar Ahmad 2022-09-13 11:16:04 +05:00
  • 7e9294d40c Improve naming lukinovec 2022-09-12 16:26:55 +02:00
  • 08057f8eff Add and test Migrate command's skip-failing option lukinovec 2022-09-12 16:24:24 +02:00
  • 99c071d0de Remove storage deletion config key lukinovec 2022-09-12 09:03:27 +02:00
  • 72c68a107c Update test name lukinovec 2022-09-12 09:02:54 +02:00
  • 29ba72fe53 Add DeleteTenantStorage listener lukinovec 2022-09-12 08:58:27 +02:00
  • 0d3ac1f206 Update ResourceSyncingTest.php Abrar Ahmad 2022-09-12 11:16:11 +05:00
  • b17882fcf8 method rename Abrar Ahmad 2022-09-12 11:10:12 +05:00
  • 624f032775
    Save storage_path() in a variable after initializing tenant in test lukinovec 2022-09-09 07:50:27 +02:00
  • abd17f83a1
    add mssql health checks (#939) Abrar Ahmad 2022-09-08 21:18:59 +05:00
  • 4d6ed90520 add mssql health checks Abrar Ahmad 2022-09-05 13:24:56 +05:00
  • d1a8b741d1
    Merge branch 'master' into bugfix/batch-bootstrapper Abrar Ahmad 2022-09-05 11:40:24 +05:00
  • 48ed21313c singleton regis in TestCase Abrar Ahmad 2022-09-05 11:37:17 +05:00
  • f2c64088ed
    [4.x] Set tenant as a default parameter for the URLs when using Path identification (#925) Abrar Ahmad 2022-09-02 22:04:00 +05:00
  • aec2ba6d7a
    fix string Samuel Štancl 2022-09-02 19:00:24 +02:00
  • def75e5e22
    fix tests Samuel Štancl 2022-09-02 18:51:55 +02:00
  • 409190fae1
    [4.x] Improve tenants:run command to execute Input\Output commands (#923) Abrar Ahmad 2022-09-02 21:46:13 +05:00
  • 3bf2c39e1a
    [4.x] Make impersonation tokens require stateful guards (#935) lukinovec 2022-09-02 17:46:27 +02:00
  • f83504ac6f
    [4.x] Add ScoutTenancyBootstrapper (#936) lukinovec 2022-09-02 17:24:37 +02:00
  • a0f22c4c56 Fix code style (php-cs-fixer) PHP CS Fixer 2022-09-02 15:17:20 +00:00
  • e2ee9ec653
    extract getTenantPrefix method Samuel Štancl 2022-09-02 17:16:57 +02:00
  • 4245f46bc1 method rename Abrar Ahmad 2022-09-02 18:01:59 +05:00
  • 21664664dd Add test for deleting storage after tenant deletion lukinovec 2022-09-02 14:32:20 +02:00
  • 94adb43f7b Fix code style (php-cs-fixer) PHP CS Fixer 2022-09-02 10:46:57 +00:00
  • d2403cea38 Add ScoutTenancyBootstrapper lukinovec 2022-09-02 12:46:27 +02:00
  • f1e93a0ca0 Make the exception only about requiring a stateful guard lukinovec 2022-09-02 09:56:43 +02:00
  • 7802c280ed
    Escape backslashes in the exception's message lukinovec 2022-09-02 09:43:34 +02:00
  • 7b47a2bb71 Don't specify full namespace in ActionTest lukinovec 2022-09-02 09:36:10 +02:00
  • 020039bf89 Fix code style (php-cs-fixer) PHP CS Fixer 2022-09-01 17:07:17 +00:00
  • f941df3a82 minor improvements for phpstan Samuel Štancl 2022-09-01 19:06:54 +02:00
  • c342b51433 Fix code style (php-cs-fixer) PHP CS Fixer 2022-09-01 14:16:31 +00:00
  • 05c2b2dc1c Test that impersonation tokens can only be created with a stateful guard lukinovec 2022-09-01 16:15:53 +02:00
  • 8c73e5759f Throw an exception on attempt to create impersonation token with a non-stateful guard lukinovec 2022-09-01 16:15:26 +02:00
  • f014a35af7 Don't specify full namespace for Tenant model annotation lukinovec 2022-09-01 08:58:12 +02:00
  • a4aea29303
    remove irrelevant assertions Samuel Štancl 2022-08-31 19:48:51 +02:00
  • fafe7cf278 bottom space Abrar Ahmad 2022-08-31 17:13:57 +05:00
  • cbdcec2bcd convert test to pest Abrar Ahmad 2022-08-31 17:12:58 +05:00
  • a7e1a17cd0 Merge branch 'master' into pr/874 Abrar Ahmad 2022-08-31 17:11:05 +05:00
  • c7db232f0c Stop testing storage directory existence in symlink test lukinovec 2022-08-31 09:24:51 +02:00
  • a08b0533a8 Fix code style (php-cs-fixer) PHP CS Fixer 2022-08-31 06:39:51 +00:00
  • 8e06ae61e6 Change possibleTenantSymlinks not to prefix the paths twice while tenancy is initialized lukinovec 2022-08-31 08:38:22 +02:00
  • f61675473a Add tests for the symlink actions lukinovec 2022-08-31 08:37:08 +02:00
  • 044e6441ea Fix typo, update variable name formatting lukinovec 2022-08-31 08:36:14 +02:00
  • 59af5f47c7 Add types to $tenants in the action handle() methods lukinovec 2022-08-31 08:34:41 +02:00
  • dcf29ee8c9 Add link command tests back lukinovec 2022-08-31 07:14:51 +02:00
  • cc2df5c0b6 use Laravel's connection getter and setter Abrar Ahmad 2022-08-31 11:16:10 +05:00
  • f69bc2add0 Update CommandsTest.php Abrar Ahmad 2022-08-31 11:02:09 +05:00
  • 97b1f393e2 Merge branch 'improve-run-command' of https://github.com/abrardev99/tenancy into improve-run-command Abrar Ahmad 2022-08-31 10:43:08 +05:00
  • c2d1805eeb cleanup code Abrar Ahmad 2022-08-31 10:43:05 +05:00
  • 62d19c5f5d
    Reverse bootstrappers when reverting to central (#932) emargareten 2022-08-30 17:24:50 +03:00
  • 2b02198dda Move to archtechx/tenancy:latest Samuel Štancl 2022-08-30 16:23:50 +02:00
  • 44af6fdf22
    Reverse bootstrappers when reverting to central emargareten 2022-08-30 17:09:51 +03:00
  • c6a565295c
    improve test Samuel Štancl 2022-08-30 15:30:27 +02:00
  • 3542b3f028
    update spatie/ignition to support L9 (#930) Abrar Ahmad 2022-08-30 18:21:19 +05:00
  • 018dbd7ddf update spatie/ignition to support L9 Abrar Ahmad 2022-08-30 16:07:50 +05:00
  • 1c65d6da07 add phpstan Abrar Ahmad 2022-08-30 14:02:02 +05:00
  • e219bf8943 assert command executed in tenant context Abrar Ahmad 2022-08-30 13:47:55 +05:00
  • 5aa8231c81
    Merge branch 'master' into resource-syncing Abrar Ahmad 2022-08-30 13:05:28 +05:00
  • aaffc1d6b0 Update ResourceSyncingTest.php Abrar Ahmad 2022-08-30 12:35:22 +05:00
  • d22224c945 merge default values with sync attributes and tests Abrar Ahmad 2022-08-30 12:29:52 +05:00
  • 84df124355 test rename Abrar Ahmad 2022-08-30 11:28:53 +05:00
  • a548f53bfc assertion Abrar Ahmad 2022-08-30 11:11:56 +05:00
  • 3605252d85 Fix code style (php-cs-fixer) PHP CS Fixer 2022-08-30 03:46:17 +00:00
  • 8af354c20e get phpstan errors down from 252 to 189 Samuel Štancl 2022-08-30 05:44:23 +02:00
  • fb8b9c1614
    add phpstan (#926) Abrar Ahmad 2022-08-29 23:55:33 +05:00
  • 7a055c2fd3
    fix docblock style Samuel Štancl 2022-08-29 19:30:01 +02:00
  • bd102ff64d
    add todo comment Samuel Štancl 2022-08-29 19:26:44 +02:00
  • e20de6a092 add phpstan Abrar Ahmad 2022-08-29 15:43:11 +05:00
  • 0f077cdaf0 Update PathIdentificationTest.php Abrar Ahmad 2022-08-29 14:49:53 +05:00
  • 856d8b0b02 set tenant as default url parameter Abrar Ahmad 2022-08-29 14:46:22 +05:00
  • 80496fb0f0 Fix little grammer Abrar Ahmad 2022-08-29 13:23:02 +05:00
  • d798e3504a update comments Abrar Ahmad 2022-08-29 13:22:14 +05:00
  • 62c9516ec1 Update ResourceSyncingTest.php Abrar Ahmad 2022-08-29 13:16:00 +05:00
  • b437f64e30 rename method to getAttributesForCreation Abrar Ahmad 2022-08-29 12:42:58 +05:00
  • eef51f40b9 classes at the end Abrar Ahmad 2022-08-29 12:34:24 +05:00