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

Commit graph

  • 2e6b824889 drop < L9 support Saade 2023-02-15 16:58:13 -03:00
  • 00ee7e9849 ci: do not test L10 using PHP 7.3 Saade 2023-02-15 13:44:10 -03:00
  • 29a2b74eef Update GitHub Actions for Laravel 10 Saade 2023-02-15 10:57:22 -03:00
  • 0b0162e400 Bump dependencies for Laravel 10 Saade 2023-02-15 10:57:12 -03:00
  • e000386d1f Use "Postgres user" instead of "Postgres role" lukinovec 2023-02-15 11:02:53 +01:00
  • 26eafd30ba Fix PHPStan error lukinovec 2023-02-13 15:42:46 +01:00
  • d4025fb886 Fix PHPStan error lukinovec 2023-02-13 15:36:23 +01:00
  • e3e85b3ffa Fix code style (php-cs-fixer) PHP CS Fixer 2023-02-13 14:32:50 +00:00
  • 5469358e95 Add command for creating RLS policies for tenant tables lukinovec 2023-02-13 15:32:13 +01:00
  • b62d4f0c1d Add the jobs to the TenancyServiceProvider stub lukinovec 2023-02-13 15:31:26 +01:00
  • e6a0717c84 Add jobs for creating/deleting Postgres roles lukinovec 2023-02-13 15:30:16 +01:00
  • 7f49af4b0d Create databases for newly created tenants in BroadcastingTest lukinovec 2023-02-13 15:03:25 +01:00
  • 8320fc5182
    Delete ::class from test name lukinovec 2023-02-13 14:51:52 +01:00
  • c9147b5849
    create config key Ovidiu Popescu 2023-02-09 14:10:49 +02:00
  • 7a8baad3ca
    create central model only with syncedAttributes Ovidiu Popescu 2023-02-09 11:31:36 +02:00
  • 8bc37a3f4e Add AuthTenancyBootstrapper. Bram Wubs 2023-02-08 10:26:08 +01:00
  • 54d832651f
    Merge branch 'archtechx:3.x' into 3.x Leandro Gehlen 2023-02-04 21:37:38 -03:00
  • b81017ec6e Delete extra line lukinovec 2023-02-02 11:57:12 +01:00
  • 28adb5692d Hardcode values instead of referencing variables lukinovec 2023-02-02 11:49:54 +01:00
  • 5e78d03ea4 Update code example comment lukinovec 2023-02-02 11:42:00 +01:00
  • 7bcf9d329a Move $scheme and $hostname to the closure lukinovec 2023-02-02 11:41:44 +01:00
  • e11a71e421 Use Laravel fork in ci.yml lukinovec 2023-02-02 11:16:45 +01:00
  • 93aaba3e11 Merge branch 'master' of github.com:archtechx/tenancy into cache-prefix lukinovec 2023-02-02 10:51:09 +01:00
  • 758fbc8a75
    Use polymorphic table for mapping resources to tenants (#997) Abrar Ahmad 2023-02-02 10:39:35 +05:00
  • 5ba2f8cd54
    Update tests/ResourceSyncingUsingPolymorphicTest.php Samuel Štancl 2023-02-02 06:35:16 +01:00
  • c9232aeee3
    Merge branch 'master' into url-bootstrapper lukinovec 2023-02-01 17:07:37 +01:00
  • 3fbf6b4a45 Improve URL bootstrapper test lukinovec 2023-02-01 17:06:03 +01:00
  • f4b39adcb9 Fix code style (php-cs-fixer) PHP CS Fixer 2023-02-01 14:37:34 +00:00
  • e84b947436
    Change parameter formatting lukinovec 2023-02-01 15:37:11 +01:00
  • c3e3a33ed0 Fix test lukinovec 2023-02-01 11:51:28 +01:00
  • 9ed7308754 Fix code style (php-cs-fixer) PHP CS Fixer 2023-02-01 10:33:33 +00:00
  • 95170312ea Fix types lukinovec 2023-02-01 11:33:09 +01:00
  • 087733d5db
    Allow defining the tenant connection template using array syntax in config (#1040) Abrar Ahmad 2023-02-01 11:02:03 +05:00
  • cc9928bc34 Hint Repository implementation instead of contract lukinovec 2023-02-01 07:01:52 +01:00
  • 1699ec649b
    add comments Samuel Štancl 2023-02-01 07:00:45 +01:00
  • 013dd5f51a
    improve test names Samuel Štancl 2023-02-01 06:59:21 +01:00
  • 342c67fe02
    Add skip-failing option to the Migrate command (#945) lukinovec 2023-02-01 06:55:26 +01:00
  • 7d59ff180f
    Don't prevent accessing missing Tenant attributes. (#1045) Joel Stein 2023-01-31 23:24:53 -06:00
  • d7437c42d2 Merge branch 'master' of github.com:tenancy-for-laravel/v4 Samuel Štancl 2023-02-01 06:20:27 +01:00
  • bd6332f0e6 Upgrade Laravel lukinovec 2023-02-01 06:20:27 +01:00
  • f741f44527 Merge branch 'master' of github.com:archtechx/tenancy Samuel Štancl 2023-02-01 06:17:27 +01:00
  • 0a205dd817 resolve phpstan issues Samuel Štancl 2023-02-01 06:17:19 +01:00
  • 7767fea5ba Fix code style (php-cs-fixer) PHP CS Fixer 2023-02-01 05:05:50 +00:00
  • 66c7d6a066 fix PhpParser exception Samuel Štancl 2023-02-01 06:05:26 +01:00
  • 9b36bf29ce Downgrade Laravel lukinovec 2023-01-31 08:21:27 +01:00
  • ba8cfdda85
    Merge branch 'master' into cache-prefix lukinovec 2023-01-31 08:17:22 +01:00
  • a4aa499269 Fix code style (php-cs-fixer) PHP CS Fixer 2023-01-31 07:13:35 +00:00
  • 62a2ed163c Use my Laravel fork lukinovec 2023-01-31 08:13:06 +01:00
  • 864add9ade Fix code style (php-cs-fixer) PHP CS Fixer 2023-01-31 03:00:43 +00:00
  • 5ceee3b9b4 Merge branch 'master' of github.com:archtechx/tenancy Samuel Štancl 2023-01-31 04:00:11 +01:00
  • c74a7b6fd4 remove debuggable trait, update larastan Samuel Štancl 2023-01-31 03:59:33 +01:00
  • 2d2b3faaa8 Fix test lukinovec 2023-01-30 15:07:24 +01:00
  • 8eeefb74a0 Remove duplicate import lukinovec 2023-01-30 15:05:03 +01:00
  • 352b5d64b5
    Merge branch 'master' into broadcasting-tenancy lukinovec 2023-01-30 15:00:40 +01:00
  • 26b8569761
    Cache crash fix (#1048) v3.6.1 lukinovec 2023-01-27 08:17:14 +01:00
  • ae3eff5384 Cache crash fix lukinovec 2023-01-19 22:44:00 +01:00
  • 3e13e62806
    CachedTenantResolver missing cache case crash fix. (#1005) Roman 2023-01-18 19:46:47 +02:00
  • beec31d42f Test URL root overriding lukinovec 2023-01-17 13:36:35 +01:00
  • ee5d5b4c12 Move URL overriding to a separate method, call it in boot() lukinovec 2023-01-17 13:28:56 +01:00
  • 968fb61c89
    Merge pull request #1 from joelstein/joelstein-patch-1 Joel Stein 2023-01-12 10:39:19 -06:00
  • d9614c58e7
    Don't prevent accessing missing Tenant attributes. Joel Stein 2023-01-12 10:37:42 -06:00
  • d133560edd Fix code style (php-cs-fixer) PHP CS Fixer 2023-01-12 05:42:58 +00:00
  • 1b00f5f1ae Add UrlTenancyBootstrapper lukinovec 2023-01-12 06:42:21 +01:00
  • a0acf1a20d
    update test name Abrar Ahmad 2023-01-11 13:57:01 +05:00
  • 14720c28a2
    Update tests/TenantDatabaseManagerTest.php Abrar Ahmad 2023-01-11 13:51:12 +05:00
  • 46b1cfb1fb Check if cached tenant is truthy lukinovec 2023-01-11 08:18:22 +01:00
  • f09d30aff6 Add withTenantDatabases to test lukinovec 2023-01-11 07:22:26 +01:00
  • 23b028da36 Use withtenantDatabases where needed lukinovec 2023-01-11 07:15:02 +01:00
  • 8deeef25be Improve tests lukinovec 2023-01-06 08:34:56 +01:00
  • cda2a57fb0 Use getTenants() lukinovec 2023-01-06 08:00:16 +01:00
  • caa0c87153 Improve comment lukinovec 2023-01-06 07:22:07 +01:00
  • 1104aba4ef Improve specific cache store in a service test lukinovec 2023-01-06 07:20:37 +01:00
  • d945d1facc Rename CacheManagerService lukinovec 2023-01-06 07:17:55 +01:00
  • 1765761860 Fix code style (php-cs-fixer) PHP CS Fixer 2023-01-06 05:51:45 +00:00
  • 29d13ae5b4
    Merge branch 'master' into add-skip-failing-options-to-migrate lukinovec 2023-01-06 06:51:23 +01:00
  • 5f3e97617f Fix code style (php-cs-fixer) PHP CS Fixer 2023-01-06 05:35:55 +00:00
  • bfd2669fda Update Migrate command lukinovec 2023-01-06 06:35:23 +01:00
  • 87c08cebc4 Merge branch 'master' of github.com:archtechx/tenancy Samuel Štancl 2023-01-06 02:48:40 +01:00
  • 21d55ef472 add setup-php to phpstan job Samuel Štancl 2023-01-06 02:44:37 +01:00
  • 48fc63fe02 switch to PHP 8.2 Samuel Štancl 2023-01-06 02:38:31 +01:00
  • 146570f7e9 Add test for not stopping tenants:migrate after the first failure lukinovec 2023-01-05 18:12:10 +01:00
  • 52db2a0c06 Remove group('prefix') lukinovec 2023-01-05 16:49:49 +01:00
  • 507df55b4c Update test name lukinovec 2023-01-05 16:45:25 +01:00
  • 5ea5299ed1 Make CacheService a singleton in a test lukinovec 2023-01-05 16:37:43 +01:00
  • b38aee0a6a Remove unused import, change word lukinovec 2023-01-05 16:28:33 +01:00
  • 7f10b9af41 Make 'redis' the only tenant cache store in beforeEach, test that tenantCacheStores works lukinovec 2023-01-05 16:24:37 +01:00
  • 42381d00e2 Remove redundant CacheManager extend() call lukinovec 2023-01-05 16:14:20 +01:00
  • 30d73d2694 Change nonTenantCacheDrivers to tenantCacheStores lukinovec 2023-01-05 16:13:00 +01:00
  • f8f0e1e5da
    Merge branch 'master' into cache-prefix lukinovec 2023-01-05 15:07:59 +01:00
  • ffefe1b45c Test that the prefix stays the same lukinovec 2023-01-05 13:05:39 +01:00
  • 86c388a2b6 Add nonTenantCacheDrivers check lukinovec 2023-01-05 13:05:24 +01:00
  • 4b0df42f8a Add and test nonTenantCacheDrivers lukinovec 2023-01-05 12:47:03 +01:00
  • 1c21c66913
    Make $cache non-nullable lukinovec 2023-01-05 11:42:12 +01:00
  • bc27a93eda partial database config for template Abrar Ahmad 2023-01-05 14:23:46 +05:00
  • a59d5a1069 Add test lukinovec 2023-01-04 15:08:09 +01:00
  • a0256fd5f3 Merge branch 'master' of github.com:archtechx/tenancy Samuel Štancl 2023-01-04 03:27:04 +01:00
  • 24d71230e8 comment out php 8.2 phpstan ignores Samuel Štancl 2023-01-04 03:18:52 +01:00
  • 32a128d657 lower required php version back to 8.1 Samuel Štancl 2023-01-04 03:08:56 +01:00
  • db1dc334a6 add todo Samuel Štancl 2023-01-04 03:04:56 +01:00
  • 9078280a44 revert to 8.1 in CI for now Samuel Štancl 2023-01-04 03:04:00 +01:00