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

Commit graph

  • a5d004132c Delete temp action, improve tests lukinovec 2023-04-27 13:47:56 +02:00
  • 2745f824aa Fix command lukinovec 2023-04-27 13:44:45 +02:00
  • b66773da80 Try conditionally creating tenants table lukinovec 2023-04-27 13:08:24 +02:00
  • d14eb8609b Fix code style (php-cs-fixer) PHP CS Fixer 2023-04-26 16:10:57 +00:00
  • e169cf49fa Create and drop schema in tests lukinovec 2023-04-26 18:09:50 +02:00
  • 4eea9f1031 Fix code style (php-cs-fixer) PHP CS Fixer 2023-04-26 13:34:54 +00:00
  • 034c284303 wip lukinovec 2023-04-26 15:34:27 +02:00
  • 562d507482 Test if policies get created correctly using action lukinovec 2023-04-26 15:25:50 +02:00
  • 338d6f1151 Revert ci.yml changes lukinovec 2023-04-26 15:09:12 +02:00
  • 6496f77415 Update ci.yml lukinovec 2023-04-26 15:07:14 +02:00
  • 044406c917 Update ci.yml lukinovec 2023-04-26 15:06:27 +02:00
  • 8a7c78fd53 Change environment to env lukinovec 2023-04-26 15:04:05 +02:00
  • b66a163393 Update ci.yml lukinovec 2023-04-26 15:01:36 +02:00
  • e58efc5964 Use latest Postgres version in docker-compose lukinovec 2023-04-26 15:01:20 +02:00
  • ab0e53b402 Update ci.yml lukinovec 2023-04-26 14:22:08 +02:00
  • 910da724e4 WIP lukinovec 2023-04-26 14:02:18 +02:00
  • e15eb01c7f WIP lukinovec 2023-04-26 13:58:52 +02:00
  • add92b99cc Fixing test WIP lukinovec 2023-04-26 13:54:56 +02:00
  • fd254e6a45 Update ci.yml lukinovec 2023-04-26 13:35:48 +02:00
  • 800af2d818 Try fixing the CI issue lukinovec 2023-04-26 13:11:37 +02:00
  • 9226a1ec6c Fix syntax error lukinovec 2023-04-26 12:48:04 +02:00
  • 44acaadb6e Improve command for creating RLS policies lukinovec 2023-04-26 12:43:45 +02:00
  • 331df8e239 Update Postgres tests lukinovec 2023-04-26 12:42:19 +02:00
  • 4ceb7c82e1 Add test for creating RLS policies for tables lukinovec 2023-04-25 18:00:44 +02:00
  • 9f4079e774 Revert extra changes in docker-compose lukinovec 2023-04-25 14:46:27 +02:00
  • aafb629bae Use env variables in docker-compose lukinovec 2023-04-25 14:33:09 +02:00
  • f4b0f4cee6 Delete 'user' from Postgres CI lukinovec 2023-04-25 14:29:05 +02:00
  • 7f1f594809 Merge branch 'master' of github.com:archtechx/tenancy into add-postgres-rls-support lukinovec 2023-04-25 14:25:01 +02:00
  • 607ef15758 Revert ci.yml changes lukinovec 2023-04-25 14:24:28 +02:00
  • 18b47fb4d0 Change Postgres port lukinovec 2023-04-25 14:20:55 +02:00
  • 28f8e3854a Update dependencies lukinovec 2023-04-25 14:13:26 +02:00
  • a22666ed2d Update ci.yml lukinovec 2023-04-25 14:12:07 +02:00
  • 6e9d6aa5f4 Fix env variables in docker-compose lukinovec 2023-04-25 14:04:56 +02:00
  • e7736c8244 Use port 5432 lukinovec 2023-04-25 13:54:26 +02:00
  • 55258e6411 Add Postgres port to ci.yml lukinovec 2023-04-25 13:39:37 +02:00
  • b4238e5cf8 Use env variables in docker-compose lukinovec 2023-04-25 13:31:27 +02:00
  • e4aeccb2b0 Make postgres work in tests lukinovec 2023-04-25 12:33:56 +02:00
  • ae25e25715 Fix job & test lukinovec 2023-04-25 12:33:29 +02:00
  • 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