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

Commit graph

  • d531c972b6 Add test for $forceRls = false, refactor BYPASSRLS test lukinovec 2025-02-05 10:08:55 +01:00
  • 439ce0e915 fix: not using template/tenant hostname while creating database users Shaheen 2025-02-04 11:58:28 +02:00
  • 25360f6b6a
    [4.x] Improve id generators (#1300) Samuel Štancl 2025-01-21 17:06:15 +01:00
  • 760db83f92 update test to use min & max Samuel Štancl 2025-01-21 16:00:31 +01:00
  • 7ce7629864 use mysql:8 in docker Samuel Štancl 2025-01-21 15:23:17 +01:00
  • 8f2cb894ce phpstan fixes for spatie invader Samuel Štancl 2025-01-21 14:35:00 +01:00
  • c239239972 fix #1297 - require spatie/invade:* Samuel Štancl 2025-01-21 14:19:22 +01:00
  • 8f7b8e971a make int ranges configurable Samuel Štancl 2025-01-21 14:16:52 +01:00
  • 4ddc2be569 remove string assertions Samuel Štancl 2025-01-17 13:47:28 +01:00
  • 4525e0f941 add RandomIntGenerator Samuel Štancl 2025-01-17 13:42:50 +01:00
  • 8b131ed647
    Allow overriding root URL in tests by default (#1296) lukinovec 2025-01-17 10:20:40 +01:00
  • e333c88168 Add todo@revisit lukinovec 2025-01-17 09:51:05 +01:00
  • a918cb9f6d Revert "Auto-build: Update extensions [skip ci]" Chinmay Purav 2025-01-16 23:49:53 +05:30
  • 8a0fc94505 Revert "Auto-build: Update extensions [skip ci]" Chinmay Purav 2025-01-16 23:49:26 +05:30
  • ad1ff861c1 mysql updated to v8 Chinmay Purav 2025-01-16 23:35:58 +05:30
  • ccaeef8565 Auto-build: Update extensions [skip ci] github-actions[bot] 2025-01-16 17:28:09 +00:00
  • e2cc4316db Auto-build: Update extensions [skip ci] github-actions[bot] 2025-01-16 17:27:15 +00:00
  • 636dd0076d version bump for spatie/invade Chinmay Purav 2025-01-16 22:56:54 +05:30
  • d4cc6c6621 Allow overriding root URL in tests by default lukinovec 2025-01-16 17:40:26 +01:00
  • 5d3b3d3c21
    [4.x] Improve RootUrl and UrlGenerator bootstrappers (#1294) Samuel Štancl 2025-01-16 10:30:06 +01:00
  • 470b84d172 Fix code style (php-cs-fixer) PHP CS Fixer 2025-01-16 09:25:44 +00:00
  • 3fabdf8f33 Move and update force RLS comment lukinovec 2025-01-14 16:16:52 +01:00
  • cf8546fe84 Fix typo, improve comment lukinovec 2025-01-14 16:05:28 +01:00
  • 1f41a8a863 Make with() matrix syntax more clear by using with() multiple times lukinovec 2025-01-14 15:55:41 +01:00
  • a5c79d49c3 Static property cleanup in afterEach lukinovec 2025-01-14 15:51:48 +01:00
  • f836610819 Put DROP OWNED BY into try/catch lukinovec 2025-01-14 15:32:36 +01:00
  • 387c5ce1ae Remove try/catch lukinovec 2025-01-14 15:22:17 +01:00
  • c03ab7937b Move DROP TABLE statement lukinovec 2025-01-14 15:10:51 +01:00
  • 8f958d5779
    [4.x] Queue logic refactor (#1289) Samuel Štancl 2025-01-14 13:49:16 +01:00
  • 1ea1dff504 Set $forceRls in tests where scoping is tested, add non-superuser, non-bypassrls table owner test lukinovec 2025-01-14 13:15:50 +01:00
  • a7f0c83f8f Add $forceRls static property to tenants:rls lukinovec 2025-01-14 13:00:51 +01:00
  • f7aaae07da Fix code style (php-cs-fixer) github-actions[bot] 2025-01-13 10:56:33 +00:00
  • 63b4efc028 Add and test DatabaseCacheBootstrapper lukinovec 2025-01-13 11:56:04 +01:00
  • 0e223e0484
    [4.x] Fix tenants:run argument parsing (#1287) lukinovec 2025-01-11 12:03:09 +01:00
  • 639ffeec65 remove false positive regression test Samuel Štancl 2025-01-11 11:51:44 +01:00
  • 743de4dddb phpstan fixes, clarify previousTenant use Samuel Štancl 2025-01-11 11:47:57 +01:00
  • 1f8db1ce6a Fix code style (php-cs-fixer) github-actions[bot] 2025-01-09 17:03:11 +00:00
  • e6f564c47a simplify persistent queue bootstrapper Samuel Štancl 2025-01-09 18:02:44 +01:00
  • 8f4cd186f9 ci: run persistent queue tests Samuel Štancl 2025-01-09 16:41:07 +01:00
  • 279909f855 wip: add persistent queue bootstrapper, minor testcase refactor Samuel Štancl 2025-01-09 16:39:54 +01:00
  • 78698b0119 simplify QueueTenancyBootstrapper Samuel Štancl 2025-01-09 12:38:23 +01:00
  • 59ca25d57b Fix code style (php-cs-fixer) github-actions[bot] 2025-01-09 09:54:49 +00:00
  • 5e65ceb249
    Merge remote-tracking branch 'origin/rls-fix-for-central-user-without-bypassrls' into rls-fix-for-central-user-without-bypassrls Justin van Elst 2025-01-09 10:54:30 +01:00
  • ec792cd9c6
    chore formatting Justin van Elst 2025-01-09 10:54:17 +01:00
  • 7a6f2ffda6 Fix code style (php-cs-fixer) github-actions[bot] 2025-01-09 09:49:52 +00:00
  • 55bc56356f
    feat: RLS without central user (role) having bypassrls Justin van Elst 2025-01-09 10:49:27 +01:00
  • 43056b1c70 Auto-build: Update extensions [skip ci] github-actions[bot] 2025-01-09 09:38:10 +00:00
  • 1b09973429 Correct comment lukinovec 2025-01-08 13:09:00 +01:00
  • f83554add5 Test that runForMulltiple runs the passed closure for the right tenants lukinovec 2025-01-08 13:06:37 +01:00
  • 1edf9c5b78
    remove unnecessary () Samuel Štancl 2025-01-08 10:56:40 +01:00
  • b9996881a6 Fix PHPStan issue lukinovec 2025-01-08 10:36:38 +01:00
  • 977d905d85 Fix code style (php-cs-fixer) github-actions[bot] 2025-01-08 09:18:49 +00:00
  • f283f37733 Test that tenants:run parses the arguments correctly lukinovec 2025-01-08 10:17:47 +01:00
  • 1750297225 Use StringInput instead of ArgvInput so that tenants:run accepts args properly lukinovec 2025-01-08 10:13:53 +01:00
  • c30fb5d092 fix 1267: early return in runForMultiple if an empty array is passed Samuel Štancl 2025-01-08 10:11:04 +01:00
  • a0f4126318 Add test for syncable models with global scopes lukinovec 2025-01-07 17:32:03 +01:00
  • f955b38e2b phpstan fixes Samuel Štancl 2025-01-05 15:50:30 +01:00
  • 3c183e45d9 fix #1277: consume PendingDispatch return values in Tenancy::run() Samuel Štancl 2025-01-04 15:57:01 +01:00
  • 99357d94df ci: make phpcsfixer job use GH bot account Samuel Štancl 2025-01-04 15:37:20 +01:00
  • a88a42fbbf
    [4.x] Add DisallowSqliteAttach feature (#1283) Samuel Štancl 2025-01-04 15:34:37 +01:00
  • 143b494e51 Fix code style (php-cs-fixer) PHP CS Fixer 2025-01-04 14:21:01 +00:00
  • e2e20ad6db fix path in feature class, minor refactor Samuel Štancl 2025-01-04 15:20:36 +01:00
  • 9c4d02de07 Auto-build: Update extensions [skip ci] github-actions[bot] 2025-01-04 13:38:00 +00:00
  • 60d77182d8 Auto-build: Update extensions [skip ci] github-actions[bot] 2025-01-04 13:37:35 +00:00
  • 7e19a413eb Auto-build: Update extensions [skip ci] github-actions[bot] 2025-01-04 13:37:33 +00:00
  • 03552e13a4 ci: remove windows linker flag, use a whitelist for git add Samuel Štancl 2025-01-04 14:36:24 +01:00
  • e7292c6d38 Auto-build: Update extensions [skip ci] github-actions[bot] 2025-01-04 13:26:09 +00:00
  • 5573db26c9 Auto-build: Update extensions [skip ci] github-actions[bot] 2025-01-04 13:26:09 +00:00
  • ef44bffe85 ci: try triggering extensions build on extensions.yml file changes Samuel Štancl 2025-01-04 14:25:20 +01:00
  • 3ece4a087b ci: use make -B Samuel Štancl 2025-01-04 14:22:40 +01:00
  • 69067ed28e makefile: use -Os on Windows Samuel Štancl 2025-01-04 14:18:12 +01:00
  • 381e71be92 noattach: more explicit return values, avoid potential non-bool return values Samuel Štancl 2025-01-04 14:10:56 +01:00
  • 1af195f8b8 Test ecnrypted casts lukinovec 2025-01-02 15:49:36 +01:00
  • 2440e432b8 remove comment Samuel Štancl 2025-01-02 12:45:08 +01:00
  • 7524328947 bump php version in composer.json, trigger extensions.yml build Samuel Štancl 2025-01-02 12:24:32 +01:00
  • 3b3d580a38 fix test failing in ci but passing locally Samuel Štancl 2025-01-02 12:20:49 +01:00
  • 73ab190141 ci: try using bash for pushing on windows; ignore phpstan error Samuel Štancl 2025-01-02 09:54:41 +01:00
  • 693f05a0e0 fix tests on x64 Samuel Štancl 2025-01-02 09:24:33 +01:00
  • 1bb8a42cf0 ci: only trigger extensions.yml on pushes to extensions/ Samuel Štancl 2025-01-02 09:17:07 +01:00
  • 3eb7868057 ci: X64 -> x64 Samuel Štancl 2025-01-02 09:07:33 +01:00
  • 2d334026a9 Auto-build: Update extensions [skip ci] github-actions[bot] 2025-01-02 08:06:39 +00:00
  • bc12957823 ci: add ARCH variable to makefile, override it during cross-compilation Samuel Štancl 2025-01-02 09:05:43 +01:00
  • 611195e4d3 ci: try to set up macOS cross-compilation Samuel Štancl 2025-01-02 09:00:49 +01:00
  • 04ff76117f Auto-build: Update extensions [skip ci] github-actions[bot] 2025-01-02 07:46:47 +00:00
  • 2c7f1fc301 ci: correct debian image name Samuel Štancl 2025-01-02 08:45:28 +01:00
  • c3201387ed ci: fix syntax error Samuel Štancl 2025-01-02 08:44:14 +01:00
  • a3e58ee3b1 ci: reformulate condition Samuel Štancl 2025-01-02 08:43:23 +01:00
  • 88855ec568 ci: try to get linux cross-compilation working Samuel Štancl 2025-01-02 08:41:50 +01:00
  • aca23594ad ci: try forcing shell: bash on commit step Samuel Štancl 2025-01-02 08:25:12 +01:00
  • b0861e11fd ci: dont produce .exp .lib on Windows Samuel Štancl 2025-01-02 08:21:14 +01:00
  • cef9d7ead6 Auto-build: Update extensions [skip ci] github-actions[bot] 2025-01-02 07:19:07 +00:00
  • 772cbd9de0 ci: windows fixes, makefile fix Samuel Štancl 2025-01-02 08:18:36 +01:00
  • 2bee323ef7 ci: try using clang on windows Samuel Štancl 2025-01-02 08:16:45 +01:00
  • 3368a6dc27 ci: try to fix windows build Samuel Štancl 2025-01-02 08:13:28 +01:00
  • 594fa92383 ci: add debug steps Samuel Štancl 2025-01-02 08:04:51 +01:00
  • b9c09ef271 ci: misc minor fixes Samuel Štancl 2025-01-02 08:02:10 +01:00
  • 8b8ae265e5 ci: try fixing c compiler on windows Samuel Štancl 2025-01-02 07:59:44 +01:00
  • 688a4df7e6 ci: misc minor fixes Samuel Štancl 2025-01-02 07:49:58 +01:00
  • a5b2bbc505 ci: try calling vcvars64 Samuel Štancl 2025-01-02 07:46:58 +01:00
  • a784ee0311 ci: use the current branch for rebase Samuel Štancl 2025-01-02 06:31:26 +01:00