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

Commit graph

  • f420df09aa Merge branch 'master' into poly-sync Abrar Ahmad 2022-11-10 14:44:49 +05:00
  • 9e76964df4 remove unsed import Abrar Ahmad 2022-11-10 14:37:35 +05:00
  • cd24aa779d ability to publish migrations Abrar Ahmad 2022-11-10 14:37:11 +05:00
  • b08961150c separate pivot model for each approach Abrar Ahmad 2022-11-10 14:36:58 +05:00
  • dfe1fcecb5 use BelongsToMany return type Abrar Ahmad 2022-11-10 14:36:27 +05:00
  • ea3e44576f
    [4.x] Resource syncing improvements (#992) Abrar Ahmad 2022-11-09 17:00:54 +05:00
  • d5d12d1014 Update ResourceSyncingPolymorphicTest.php Abrar Ahmad 2022-11-09 16:25:39 +05:00
  • eae2bd607c correct method name Abrar Ahmad 2022-11-09 15:33:38 +05:00
  • 93ed5eaa49 Update ResourceSyncingTest.php Abrar Ahmad 2022-11-09 14:53:13 +05:00
  • 6e966ce974 revert return style Abrar Ahmad 2022-11-09 14:17:51 +05:00
  • 7fa024790e Update ResourceSyncingTest.php Abrar Ahmad 2022-11-08 17:58:16 +05:00
  • 99dd862b20
    [4.x] [WIP] Add phpstan to CI (#928) Abrar Ahmad 2022-11-08 17:47:24 +05:00
  • 52336ddc8f resolve phpstan issue from CI Samuel Štancl 2022-11-08 13:46:04 +01:00
  • 72c5d57a4d Merge branch 'master' into phpstan-ci Samuel Štancl 2022-11-08 13:41:48 +01:00
  • 8d92f8643f Merge branch 'master' into resource-syncing-improvements Abrar Ahmad 2022-11-08 17:40:41 +05:00
  • 942d79cbd7 resolve all phpstan issues Samuel Štancl 2022-11-08 13:34:04 +01:00
  • 01a3a5fbab Update SyncMaster.php Abrar Ahmad 2022-11-08 17:22:23 +05:00
  • 14dfbd4528 Update ResourceSyncingPolymorphicTest.php Abrar Ahmad 2022-11-08 16:41:02 +05:00
  • 2a19f3dc07 Merge branch 'poly-sync' of https://github.com/abrardev99/tenancy into poly-sync Abrar Ahmad 2022-11-08 15:47:01 +05:00
  • f9dc4cb8e0 adjust tests Abrar Ahmad 2022-11-08 15:46:59 +05:00
  • 8001cbc0af Fix code style (php-cs-fixer) PHP CS Fixer 2022-11-08 09:49:33 +00:00
  • 8c81ef2a8d wip Abrar Ahmad 2022-11-08 14:49:01 +05:00
  • b7a6953231 mention ./t in CONTRIBUTING.md Samuel Štancl 2022-11-04 15:17:54 +01:00
  • 22d1b2065b
    [4.x] Add feature to ignore the resource synchronization based on provided condition. (#993) Abrar Ahmad 2022-11-04 19:04:29 +05:00
  • 23a629b1ae return style Abrar Ahmad 2022-11-04 18:31:51 +05:00
  • c0c7855135
    Merge branch 'master' into phpstan-ci Samuel Štancl 2022-11-04 14:17:14 +01:00
  • 5d7eb9c50a DisabledSync -> ConditionalSync; test both cases with dataset Samuel Štancl 2022-11-04 14:13:13 +01:00
  • a0ad69a95c Use static property for map presets lukinovec 2022-11-04 14:05:05 +01:00
  • bf36783d44 rename TenantUser class Abrar Ahmad 2022-11-04 18:01:10 +05:00
  • baa82d5e16 Revert "rename UserTenant to ResourceTenant" Abrar Ahmad 2022-11-04 17:56:27 +05:00
  • f9ba778e1b rename UserTenant to ResourceTenant Abrar Ahmad 2022-11-04 17:47:50 +05:00
  • 15fa0b6157
    remove group Abrar Ahmad 2022-11-04 17:42:30 +05:00
  • a89d5bd5fa readability Abrar Ahmad 2022-11-04 12:55:46 +05:00
  • 3187a9c5a8 add test Abrar Ahmad 2022-11-04 12:43:09 +05:00
  • 99c26e086c Update ResourceSyncingTest.php Abrar Ahmad 2022-11-04 12:11:01 +05:00
  • f13460d91f wip Abrar Ahmad 2022-11-04 12:08:35 +05:00
  • 0b9ca11777 Update TenantSyncingTest.php Abrar Ahmad 2022-11-04 10:55:31 +05:00
  • 77c5ae1f32
    [4.x] Configure attributes for synced resources when creating models (#915) Abrar Ahmad 2022-11-03 21:51:29 +05:00
  • 8e664b1ba1 refactor helpers for creating tenants Samuel Štancl 2022-11-03 14:36:01 +01:00
  • 2bb26c9f28
    grammar, code style Samuel Štancl 2022-11-03 14:16:33 +01:00
  • 55aa49b18e Depend less on the default mailer by adding a static $mailer property lukinovec 2022-11-03 08:28:00 +01:00
  • 635b299950 Move mail bootstrapper tests to BootstrapperTest lukinovec 2022-11-03 07:36:18 +01:00
  • 2cc40e0b81 self review Abrar Ahmad 2022-11-03 11:13:49 +05:00
  • 3ec39b3445 delete custom migrations Abrar Ahmad 2022-11-03 11:04:10 +05:00
  • 7acd312cbc remove different schema setup Abrar Ahmad 2022-11-03 11:02:48 +05:00
  • 47f66d08c0 Specify test name lukinovec 2022-11-02 15:52:33 +01:00
  • 9116ffc792 Add separate method to pick the appropriate mail credentials map preset lukinovec 2022-11-02 15:05:10 +01:00
  • 6d464a19b7 Delete default 'smtp' mailer in $tenantMailers lukinovec 2022-11-02 14:50:21 +01:00
  • 440bc19c3b Fix code style (php-cs-fixer) PHP CS Fixer 2022-11-02 13:47:07 +00:00
  • 4c62fca980 Add tests for the added logic lukinovec 2022-11-02 14:46:22 +01:00
  • fa3754df32 Update mapping credentials lukinovec 2022-11-02 14:30:13 +01:00
  • dd3aefc111 Split config logic into methods lukinovec 2022-11-02 13:49:24 +01:00
  • 2796a10b52 Use array_key_exists instead of null check lukinovec 2022-11-02 13:48:08 +01:00
  • 1eaefc01c1 Uncomment MailTenancyBootstrapper in config lukinovec 2022-11-02 13:45:35 +01:00
  • 19deb454eb Update comments after review lukinovec 2022-11-02 05:55:14 +01:00
  • 7b656c0d99 Scaffold tests lukinovec 2022-11-01 18:57:26 +01:00
  • 6b5cb2793f Rename variable in TenancyServiceProvider comment lukinovec 2022-11-01 18:37:44 +01:00
  • 555ec42597 Update comment lukinovec 2022-11-01 18:31:52 +01:00
  • d00212b631 Update comment lukinovec 2022-11-01 18:30:55 +01:00
  • 56a24ecff6 Rename $mailersToAlwaysResolve to $tenantMailers lukinovec 2022-11-01 18:20:03 +01:00
  • 4016bc17ba Change $credentialsMap so that config keys are the keys, and the tenant property names are the values lukinovec 2022-11-01 18:18:57 +01:00
  • 04ada13584 Simplify bootstrap method lukinovec 2022-11-01 18:17:52 +01:00
  • aa536529df
    update DatabaseSeeder namespace Samuel Štancl 2022-11-01 17:48:56 +01:00
  • d895a30c30 Remove the configKey array check lukinovec 2022-11-01 15:57:35 +01:00
  • 64aa0c895b Add comments to TenancyMailManager, rename property lukinovec 2022-11-01 15:56:56 +01:00
  • 0fd54bd685 Merge branch 'master' of github.com:archtechx/tenancy Samuel Štancl 2022-11-01 12:47:24 +01:00
  • 3336729b14
    add todo Samuel Štancl 2022-11-01 12:27:15 +01:00
  • 4ad9bf9912 Update TenancyServiceProvider comment lukinovec 2022-10-31 18:08:28 +01:00
  • 1b5133c6cd Fix typo in comment lukinovec 2022-10-31 18:00:14 +01:00
  • c1d0b81d5f Always resolve only the mailers specified in the mailersToNotCache public static property lukinovec 2022-10-31 17:40:27 +01:00
  • 54e286d367 Make credentials map a public static property lukinovec 2022-10-31 17:39:41 +01:00
  • 89cd781b4b Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-31 16:27:17 +00:00
  • e816241538 Add MailTenancyBootstrapper to tenancy.bootstrappers config (commented out) lukinovec 2022-10-31 17:26:53 +01:00
  • b03a9ec3c0 Add MailTenancyBootstrapper lukinovec 2022-10-31 17:24:40 +01:00
  • 73fec87e17 Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-31 14:02:29 +00:00
  • 62c8bb0f67 Replace MailManager singleton with an instance of a custom mail manager which always resolves the mailers instead of getting the cached ones lukinovec 2022-10-31 15:01:58 +01:00
  • 198f34f5e1
    [4.x] Add pending tenants (modified #782) (#869) Samuel Štancl 2022-10-31 12:14:44 +01:00
  • bf504f4c79
    [4.x] Use a dedicated DB connection for creating/deleting tenant databases (#946) Abrar Ahmad 2022-10-31 16:13:54 +05:00
  • b0e6a496c9
    Remove redundant Tenant::all() call lukinovec 2022-10-28 10:47:57 +02:00
  • 79da8574a8
    all() -> get() Samuel Štancl 2022-10-28 00:54:19 +02:00
  • 73aaaf2b1f
    code style Samuel Štancl 2022-10-28 00:50:46 +02:00
  • a9673f3f91
    fix all() call Samuel Štancl 2022-10-28 00:49:28 +02:00
  • db016a1453
    Update HasPending.php Samuel Štancl 2022-10-28 00:48:09 +02:00
  • ae8b01153a phpstan pro Samuel Štancl 2022-10-26 12:20:21 +02:00
  • 15dc40839b
    Unlink tenant schema path before each test in CommandsTest (#986) lukinovec 2022-10-26 12:08:14 +02:00
  • 6fb8838d33 Remove the tenantSchemaPath helper lukinovec 2022-10-26 11:46:39 +02:00
  • d81d141ed4
    Rename the pending tenant check test name lukinovec 2022-10-26 10:10:48 +02:00
  • 40992e0a86 Remove Tenant::query()->delete() from pending tenant check test lukinovec 2022-10-26 10:10:12 +02:00
  • 836716c74c method rename Abrar Ahmad 2022-10-26 12:55:31 +05:00
  • 512da96674
    Update include in queries test name lukinovec 2022-10-26 09:49:13 +02:00
  • 0a4dc59912 fix test Abrar Ahmad 2022-10-26 12:44:47 +05:00
  • e5cf5c0f82 replace hostManager with manager Abrar Ahmad 2022-10-26 12:41:40 +05:00
  • ca38123d84 Unlink tenant schema path before each test in CommandsTest lukinovec 2022-10-26 09:34:20 +02:00
  • 713a1b4afc Add tenantSchemaPath method lukinovec 2022-10-26 09:33:44 +02:00
  • a667fd1e66
    add a todo Samuel Štancl 2022-10-25 18:13:09 +02:00
  • 9a8e95c9f6 Merge branch 'master' of github.com:archtechx/tenancy Samuel Štancl 2022-10-25 18:08:31 +02:00
  • 648acc48c7 remove HasDataColumn trait Samuel Štancl 2022-10-25 18:04:13 +02:00
  • a1a976c863
    [4.x] Make tenants:migrate default to configured schema path (#985) lukinovec 2022-10-25 18:03:04 +02:00
  • c90b74cba0
    hardcode default instead of reading from a config key that doesn't have to exist Samuel Štancl 2022-10-25 17:59:10 +02:00
  • d863640341 Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-25 15:35:29 +00:00