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

Commit graph

  • bcdd607cd4
    update laravel version Samuel Štancl 2023-04-24 22:02:32 +02:00
  • 4eab27e1f0 Add Postgres to db connections and docker-compose lukinovec 2023-04-24 17:04:09 +02:00
  • dd4013c998 Add Postgres tests lukinovec 2023-04-24 16:58:31 +02:00
  • bd9bbe8b41
    Cache prefix mode for separating tenant caches (#1014) Abrar Ahmad 2023-04-24 19:25:51 +05:00
  • 39fe252ef6 Add comment lukinovec 2023-04-24 13:21:05 +02:00
  • 20cb3dc647 Fix code style (php-cs-fixer) PHP CS Fixer 2023-04-24 11:20:26 +00:00
  • eae4d378f7 Swap try/catch for if statements lukinovec 2023-04-24 13:20:02 +02:00
  • 2d75f185b8 Use Schema::getAllTables() instead of the migration file names lukinovec 2023-04-24 11:10:06 +02:00
  • 07c1d77148
    misc improvements Samuel Štancl 2023-04-24 08:36:36 +02:00
  • 4b4d808e30
    call generatePrefix() on $bootstrapper Samuel Štancl 2023-04-24 08:06:23 +02:00
  • 69d4c321a6 Delete "?" from `tenant()?->getTenantKey() lukinovec 2023-04-24 07:54:05 +02:00
  • 91936bc5ab Fix PHPStan error lukinovec 2023-04-21 15:36:00 +02:00
  • 0bf464b80d Filter migration files in create RLS policies command lukinovec 2023-04-21 15:32:08 +02:00
  • 2fc14837ab Correct job dispatching in tenants:create-postgres-user lukinovec 2023-04-21 14:41:23 +02:00
  • 64d1333d37 Add CreatePostgresUserForTenants lukinovec 2023-04-21 14:35:26 +02:00
  • 54d0ca6a68 Register CreateRLSPoliciesForTenantTables in TSP lukinovec 2023-04-21 11:30:45 +02:00
  • cde3d4dc36 Delete L9 from CI lukinovec 2023-04-21 11:13:02 +02:00
  • eec993151e Merge branch 'master' of github.com:archtechx/tenancy into add-postgres-rls-support lukinovec 2023-04-21 10:59:38 +02:00
  • 934574fcb2 Update ci.yml to match master lukinovec 2023-04-21 10:54:59 +02:00
  • cee404307c Update Laravel version in ci.yml lukinovec 2023-04-21 10:53:41 +02:00
  • fff346ed36 Use jobpipeline 2.0.0-rc1 lukinovec 2023-04-21 10:26:52 +02:00
  • 0b5e943178 Use L10 lukinovec 2023-04-21 10:24:53 +02:00
  • 5a158b9537 Delete legacy bootstrapper from the bootstrappers config, add info to the bootstrapper's docblock lukinovec 2023-04-20 17:05:18 +02:00
  • 30567d9650 Add commented CacheTagsBootstrapper with info to the bootstrappers config lukinovec 2023-04-20 16:55:18 +02:00
  • 8178c91842 Revert "Use $addTags approach again" lukinovec 2023-04-20 16:35:29 +02:00
  • 55cc89ecf9 Revert "Fix code style (php-cs-fixer)" lukinovec 2023-04-20 16:34:47 +02:00
  • ea805fa231 Fix code style (php-cs-fixer) PHP CS Fixer 2023-04-20 13:49:48 +00:00
  • 8f5a4e4eb6 Use $addTags approach again lukinovec 2023-04-20 15:49:17 +02:00
  • 58e008a679 Add illuminate/support dependency back lukinovec 2023-04-20 09:27:08 +02:00
  • 621f808bc4 Add use tamiroh 2023-04-19 23:46:44 +09:00
  • 62b596f7a6 Delete extra dependency lukinovec 2023-04-19 14:26:17 +02:00
  • 0920c6ae1d Add docblock to tags bootstrapper lukinovec 2023-04-19 13:48:22 +02:00
  • 53b2181779 Clean up global state (static properties) in before/afterEach lukinovec 2023-04-19 13:37:06 +02:00
  • 52d10d36f9 Prefix both drivers by default, add assertions for the second driver where missing lukinovec 2023-04-19 10:30:09 +02:00
  • cc45f80921 Fix code style (php-cs-fixer) PHP CS Fixer 2023-04-19 07:37:43 +00:00
  • 2171ca9c68 Override cache manager only in CacheTagsBootstrapper lukinovec 2023-04-19 09:37:10 +02:00
  • 1d52096d6e Delete cache.default assertion lukinovec 2023-04-19 08:35:36 +02:00
  • 4d387188c5 Inline variable & config key assignment lukinovec 2023-04-18 16:10:47 +02:00
  • cb07a47f18 Change setting to assertion, add comment lukinovec 2023-04-18 15:05:37 +02:00
  • b5abe6ef0f Use tenancy.cache.manager config instead of Stancl\Tenancy\CacheManager lukinovec 2023-04-18 14:39:35 +02:00
  • 4b862e2bd6 Delete redundant config put calls lukinovec 2023-04-18 14:27:57 +02:00
  • f7c8f226c3 Add assertions + comment lukinovec 2023-04-18 14:20:21 +02:00
  • c0e2926905 Update comment lukinovec 2023-04-18 09:49:44 +02:00
  • 46f94d15a5 Extract duplicate assertions into a closure lukinovec 2023-04-18 09:42:43 +02:00
  • e4a4940e59 Update comments lukinovec 2023-04-18 09:25:31 +02:00
  • effb6a81a1 Add todo lukinovec 2023-04-18 09:02:38 +02:00
  • 835b169d60 Update defaulting test lukinovec 2023-04-18 08:53:33 +02:00
  • f12f119ff2 Fix code style (php-cs-fixer) PHP CS Fixer 2023-04-17 16:06:57 +00:00
  • ab92f85b51 Add cache manager config key lukinovec 2023-04-17 18:06:29 +02:00
  • ca907e68be Improve tests lukinovec 2023-04-17 18:00:03 +02:00
  • 2309b83327 Improve test name lukinovec 2023-04-17 17:05:03 +02:00
  • b4f4fd1d94 Fix formatting lukinovec 2023-04-17 17:00:28 +02:00
  • 4c9cb7cf51 Merge the tenantCacheStores tests lukinovec 2023-04-17 17:00:15 +02:00
  • 9925e49112 Assert that cache is null from the beginning lukinovec 2023-04-17 15:11:30 +02:00
  • 90684a7d92 Add re-initialization cache assertion lukinovec 2023-04-17 15:10:06 +02:00
  • bd41ae4fe5 Delete TTL from cache put calls lukinovec 2023-04-17 15:06:22 +02:00
  • ce43384537 Refactor assertions lukinovec 2023-04-17 14:54:45 +02:00
  • d84878bd45 Refactor assertion lukinovec 2023-04-17 14:51:52 +02:00
  • 859b2c534a Add assertion lukinovec 2023-04-17 14:49:23 +02:00
  • 52d9643535 Update cache prefixing and tests lukinovec 2023-04-17 14:34:54 +02:00
  • 13b85a2d3b Set cache.default in beforeEach lukinovec 2023-04-17 12:36:59 +02:00
  • 6a26f712e7 Merge branch 'master' of github.com:archtechx/tenancy Samuel Štancl 2023-04-14 17:28:32 +02:00
  • 0832ab805b wip Samuel Štancl 2023-04-14 17:23:19 +02:00
  • 1f4dae7012
    exception message Samuel Štancl 2023-04-14 17:06:15 +02:00
  • 306333c6c5 Delete comments from Doctum workflow doctum lukinovec 2023-04-14 14:22:47 +02:00
  • 2562e3f248 Try adding Doctum GH action lukinovec 2023-04-14 14:05:03 +02:00
  • ac9f338632 Add docblock lukinovec 2023-04-14 13:29:02 +02:00
  • d3518fccdf Fix docblock lukinovec 2023-04-14 13:20:19 +02:00
  • d652029fc5 Delete extra @var lines lukinovec 2023-04-14 13:16:05 +02:00
  • a3c6ca4df8 Fix code style (php-cs-fixer) PHP CS Fixer 2023-04-14 11:04:50 +00:00
  • a3a1f838e3 Add docblocks lukinovec 2023-04-14 13:04:28 +02:00
  • 411f454aaa Delete intersection types lukinovec 2023-04-14 12:43:35 +02:00
  • 82fe91eba2 Update .gitignore lukinovec 2023-04-14 12:42:20 +02:00
  • 0c1912b9c5 Small testing improvements lukinovec 2023-04-14 12:33:08 +02:00
  • 3481e24c7d Delete afterEach lukinovec 2023-04-13 13:45:29 +02:00
  • dd57d9bbdc Simplify cache tests lukinovec 2023-04-13 13:44:00 +02:00
  • 9e15110ad9 Update cache tests so that both prefixing and tagging is covered lukinovec 2023-04-13 13:36:58 +02:00
  • 651302943f Correct $addTags reset in a test lukinovec 2023-04-13 13:10:41 +02:00
  • 740d4e78d8 Update prefix generator logic + tests lukinovec 2023-04-13 12:46:33 +02:00
  • 8ac4d87e94 Use a single original prefix lukinovec 2023-04-13 07:47:18 +02:00
  • c9ba00c1fc Fix code style (php-cs-fixer) PHP CS Fixer 2023-04-13 05:07:38 +00:00
  • 4ab692bb05 Rename bootstrapper lukinovec 2023-04-13 07:07:11 +02:00
  • 9dbb5822dd Add Doctum lukinovec 2023-04-13 06:44:47 +02:00
  • 228c2676f3
    Add remember column to to the impersonation token (#1101) lukinovec 2023-04-13 02:05:26 +02:00
  • 0553040b8d Add remember column to to the impersonation token lukinovec 2023-04-12 12:13:33 +02:00
  • 35b0dea270 Use $this->app instead of app() lukinovec 2023-04-12 09:40:00 +02:00
  • 9d9e2b32ce Add defaultPrefix property lukinovec 2023-04-12 09:10:23 +02:00
  • e894c782ab Add info in comment lukinovec 2023-04-12 08:33:45 +02:00
  • 39e62c7dcf Make original prefixes customizable lukinovec 2023-04-12 08:23:31 +02:00
  • 940fb1744b Move logic from separate method to __call lukinovec 2023-04-12 07:21:33 +02:00
  • 2d0ee2c7cd Improve CacheManager lukinovec 2023-04-12 07:17:29 +02:00
  • 70051e70b3 Rename bootstrapper lukinovec 2023-04-11 15:01:08 +02:00
  • 52dabed878 Fix code style (php-cs-fixer) PHP CS Fixer 2023-04-11 12:29:44 +00:00
  • 7ebfc375d6 Disable cache tagging by default, add CacheTagBootstrapper lukinovec 2023-04-11 14:28:28 +02:00
  • 5849afa4c8 Use $this->config instead of config() lukinovec 2023-04-07 12:03:55 +02:00
  • 66669934f9 Reset static properties in afterEach lukinovec 2023-03-31 14:11:45 +02:00
  • 840cd831d6 Delete CacheTenancyBootstrapper lukinovec 2023-03-31 14:10:56 +02:00
  • 7bbd5350c7 Update tests lukinovec 2023-03-31 09:20:10 +02:00
  • 1f1c7cc2bc Fix original prefix logic lukinovec 2023-03-31 09:19:46 +02:00
  • 8ea3cc9739 Use default prefix generator inline, delete the 'default' key logic lukinovec 2023-03-31 07:51:20 +02:00