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

Commit graph

  • 44c616e4db Remove redundant tenant-schema.dump unlinking lukinovec 2022-11-22 14:49:26 +01:00
  • 51c30ea3dd Update dump command test lukinovec 2022-11-22 14:30:54 +01:00
  • 435284efc0 Fix tenants:dump tests lukinovec 2022-11-22 13:55:11 +01:00
  • 5499d1d0a6 Fix code style (php-cs-fixer) PHP CS Fixer 2022-11-22 11:26:39 +00:00
  • e503616a2f
    Run TenantDump as passed tenant lukinovec 2022-11-22 12:26:18 +01:00
  • 2302571f6a Update PrefixCacheTenancyBootstrapper.php Abrar Ahmad 2022-11-22 14:13:10 +05:00
  • c5f7de4b0e fix phpstan error Abrar Ahmad 2022-11-22 14:09:59 +05:00
  • e970c160d0 remove null check Abrar Ahmad 2022-11-22 14:00:35 +05:00
  • c4f9324aa8 Create PrefixCacheBootstrapperTest.php Abrar Ahmad 2022-11-22 13:54:01 +05:00
  • e5658fa300 cache prefix base from config Abrar Ahmad 2022-11-22 11:32:23 +05:00
  • 90c54ac733 DI app Abrar Ahmad 2022-11-22 11:28:27 +05:00
  • c59a514490 remove comment Abrar Ahmad 2022-11-22 11:21:35 +05:00
  • 03d9dd6813 Update ManualModeTest.php Abrar Ahmad 2022-11-22 11:17:05 +05:00
  • d5e0e34087 Update test name lukinovec 2022-11-22 06:52:55 +01:00
  • f1690f0951 Add return types to MailTenancyBootstrapper methods lukinovec 2022-11-22 06:49:23 +01:00
  • 62619e6738 Comment out MailTenancyBootstrapper from config lukinovec 2022-11-22 06:47:14 +01:00
  • fcf07e99db
    add purge call Samuel Štancl 2022-11-21 14:38:24 +01:00
  • d6da626f73 prefix cache bootstrapper and tests Abrar Ahmad 2022-11-21 17:53:21 +05:00
  • 5f51b1bcc0 Update CreateTenantConnection.php Abrar Ahmad 2022-11-21 15:43:42 +05:00
  • d024de8727 fix issue and add test Abrar Ahmad 2022-11-21 15:43:34 +05:00
  • 5849089373
    Add SessionTenancyBootstrapper (#2) Samuel Štancl 2022-11-20 02:32:25 +01:00
  • ff46bcfe20
    Early identification support (#1) Abrar Ahmad 2022-11-20 06:31:37 +05:00
  • 9520cbc811
    Only delete tenants in MigrateFreshOverride if the tenants table exists (#1007) lukinovec 2022-11-18 15:58:04 +01:00
  • d7177c94d6 Fix code style (php-cs-fixer) PHP CS Fixer 2022-11-18 08:51:20 +00:00
  • 504d02354a
    Don't drop tenant databases on migrate:fresh if the tenants table doesn't exist lukinovec 2022-11-18 09:50:50 +01:00
  • 8d06952324 CachedTenantResolver missing cache case crash fix. rty 2022-11-17 14:16:11 +02:00
  • 898d6c5d3b cache prefix Abrar Ahmad 2022-11-17 16:21:07 +05:00
  • 1db2f0913f add todo Samuel Štancl 2022-11-17 03:39:57 +01:00
  • b99fcc28fd trait Abrar Ahmad 2022-11-14 11:14:54 +05:00
  • 306a0a7204 rename classes Abrar Ahmad 2022-11-14 11:02:22 +05:00
  • 1f730e2582 rename file Abrar Ahmad 2022-11-14 10:51:37 +05:00
  • fb2369dc11
    anonymous publishable migrations (#1001) Abrar Ahmad 2022-11-11 17:02:13 +05:00
  • e81370ac91 anonymous publishable migrations Abrar Ahmad 2022-11-11 16:56:19 +05:00
  • e2ca635ff8 anonymous migration for tenant_resources table Abrar Ahmad 2022-11-11 11:21:20 +05:00
  • 2a39b0526a Fix #998, properly replace ALL tenant_id literals Samuel Štancl 2022-11-10 16:44:52 +01:00
  • 8a00a105d0 Merge branch 'master' of github.com:archtechx/tenancy Samuel Štancl 2022-11-10 16:03:28 +01:00
  • dd0f03f742 Fix #998, centralize config used by BelongsToTenant and HasDomains Samuel Štancl 2022-11-10 16:03:13 +01:00
  • aa958ce930 use resource migrations from asset Abrar Ahmad 2022-11-10 15:55:56 +05:00
  • 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