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

Commit graph

  • 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
  • 55d858b601 assert that creation attributes returns null Abrar Ahmad 2022-08-29 12:16:34 +05:00
  • 3c7535a0d6 Improve url_override comment, add todos lukinovec 2022-08-29 08:50:02 +02:00
  • 851830420c Merge branch 'improve-run-command' of https://github.com/abrardev99/tenancy into improve-run-command Abrar Ahmad 2022-08-29 11:41:34 +05:00
  • e1a192efd5 remove tenant migration line Abrar Ahmad 2022-08-29 11:41:04 +05:00
  • 50b5935243
    Update src/Commands/Run.php Abrar Ahmad 2022-08-29 11:25:26 +05:00
  • 3368c4cb16
    add a todo Samuel Štancl 2022-08-28 04:00:43 +02:00
  • eade69c3f4 Fix code style (php-cs-fixer) PHP CS Fixer 2022-08-27 20:29:46 +00:00
  • d2e1ce0a1e refactor TenantDatabaseManagers Samuel Štancl 2022-08-27 22:29:08 +02:00
  • 824292e6df Fix code style (php-cs-fixer) PHP CS Fixer 2022-08-27 01:17:45 +00:00
  • 40bf28c7d0 general refactor, move more classes under Database namespace Samuel Štancl 2022-08-27 03:17:16 +02:00
  • 2d7e9dfd89 Add 'composer coverage' Samuel Štancl 2022-08-26 22:29:40 +02:00
  • 5f41647a6b revert Tenancy changes, fix failing tests Samuel Štancl 2022-08-26 21:49:09 +02:00
  • 02faf2407f Laravel 9 only Samuel Štancl 2022-08-26 21:39:05 +02:00
  • 06cc7bf686 Fix code style (php-cs-fixer) PHP CS Fixer 2022-08-26 19:35:44 +00:00
  • 55d0a9ab87 misc improvements - stronger types, exception refactor Samuel Štancl 2022-08-26 21:35:17 +02:00
  • ddc7cf49c3
    switch php version based on ARG (#924) Abrar Ahmad 2022-08-26 19:42:57 +05:00
  • c27f8e80bf Fix issue with using str() lukinovec 2022-08-26 15:40:48 +02:00
  • 344d298ce5 switch php version based on ARG Abrar Ahmad 2022-08-26 16:38:20 +05:00
  • f89900d305 fix styling Abrar Ahmad 2022-08-26 15:37:47 +05:00
  • 8418fac990 move console classes to Console directory Abrar Ahmad 2022-08-26 15:37:27 +05:00
  • 50d903feb8 run command useable for questions asking commands Abrar Ahmad 2022-08-26 15:32:37 +05:00
  • 866c9f8351 Update public storage URL test lukinovec 2022-08-26 10:25:53 +02:00
  • d7305952e0 Remove unnecessary check Leandro Guindani Gehlen 2022-08-25 17:21:24 -03:00
  • ca2eefa30a
    [WIP] Use a lighter Docker image, use it in CI (#793) Erik Gaal 2022-08-25 19:52:46 +02:00
  • 0e72c71286 variable docblocks Abrar Ahmad 2022-08-25 16:53:03 +05:00
  • b474ae219c Fix code style (php-cs-fixer) PHP CS Fixer 2022-08-25 05:06:22 +00:00
  • c4f65afa0a Remove afterLink closures, add types, move actions, add usage explanation to the symlink trait lukinovec 2022-08-25 07:04:44 +02:00
  • f2d562cd8b Update url_override comments lukinovec 2022-08-24 12:57:29 +02:00
  • 346f9f795f Separate the Storage::url() test cases lukinovec 2022-08-24 12:19:39 +02:00
  • fceec8ec50 Stop using command terminology in CreateStorageSymlinksAction lukinovec 2022-08-23 14:54:33 +02:00
  • c6268608d4 Check if closure is null in CreateStorageSymlinksAction lukinovec 2022-08-23 14:48:40 +02:00
  • 63386a1ef0 Fix code style (php-cs-fixer) PHP CS Fixer 2022-08-23 12:46:00 +00:00
  • 2594b1960f Extract Link command logic into actions lukinovec 2022-08-23 14:45:37 +02:00
  • 35a16bfdf1 removed composer cache dependencies Abrar Ahmad 2022-08-23 11:13:22 +05:00
  • 931c76d697
    Pull 3.x changes into master (#922) Samuel Štancl 2022-08-22 17:59:43 +02:00
  • 2d2d3b88b0 Revert "register dumcommand when L8" Abrar Ahmad 2022-08-22 13:53:44 +05:00
  • 3ddb68e900 Update ci.yml Abrar Ahmad 2022-08-22 13:53:25 +05:00
  • 58a63fb3ba tests above services Abrar Ahmad 2022-08-22 13:50:39 +05:00