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

Commit graph

  • 8505045e00 Minor shortestPathToTenantsTable improvement lukinovec 2025-06-23 14:47:07 +02:00
  • 7a16df80aa Delete findShortestPath, merge the code into shortestPathToTenantsTabke lukinovec 2025-06-23 14:27:12 +02:00
  • 15e9294cfe Minor annotation improvements lukinovec 2025-06-23 13:46:01 +02:00
  • cb422c1e72 bump php memory limit when running tests Samuel Štancl 2025-06-23 13:01:10 +02:00
  • 00cdde896c Merge branch 'may25' into rls-fake-constrained-foreign-keys Samuel Štancl 2025-06-23 12:53:37 +02:00
  • f9fadce538 Merge branch 'may25' into resolve-test-todos Samuel Štancl 2025-06-23 12:49:58 +02:00
  • 3799f08c7c Merge branch 'may25' into cloning-refactor Samuel Štancl 2025-06-23 11:39:42 +02:00
  • f8df167f9d Merge branch 'may25' into syncable-scoping Samuel Štancl 2025-06-20 12:36:03 +02:00
  • 7481229063 revert regression in last commit, opt for a phpstan ignore instead Samuel Štancl 2025-06-19 00:12:38 +02:00
  • 12fcbabd76 phpstan fix Samuel Štancl 2025-06-18 23:52:35 +02:00
  • 551895d582 Merge branch 'master' into may25 Samuel Štancl 2025-06-18 23:38:21 +02:00
  • e1fc0e107d remove ignition dependencies Samuel Štancl 2025-06-18 23:29:24 +02:00
  • b0b86355f1
    #1364 clean migration output Amimul Ehshan 2025-06-13 16:50:19 +06:00
  • 215d53dbd1 Improve comment lukinovec 2025-06-12 09:26:55 +02:00
  • 6da3307ec7 Fix typo lukinovec 2025-06-12 09:22:50 +02:00
  • fb382a10d1 Improve comments and method name lukinovec 2025-06-12 09:19:34 +02:00
  • bdbfc2899c Test that the clone action can be used fluently without issues now (could serve as a regression test for the routesToClone change in previous commit) lukinovec 2025-06-12 09:09:19 +02:00
  • a196b72ac7 Improve tests (comments, use $tenant->id instead of $tenant->getTenantKey()) lukinovec 2025-06-12 08:47:32 +02:00
  • 413247752d Rewrite clone action annotation, fix fluent usage bug lukinovec 2025-06-12 08:32:41 +02:00
  • 040233bcaa Provide more info in comment lukinovec 2025-06-11 12:46:31 +02:00
  • 593de904d8 FIx inconsistencies lukinovec 2025-06-11 12:37:18 +02:00
  • eb4890343c Use the tenant model column term consistently lukinovec 2025-06-11 12:26:22 +02:00
  • 035eb9578f Make cached resolver test file clearer, update outdated comments lukinovec 2025-06-11 12:23:58 +02:00
  • 59b9cba7f0 Delete excessive comments, make existing comments consistent and clearer lukinovec 2025-06-11 11:37:52 +02:00
  • 7236cd923a Clarify assertions, improve comments lukinovec 2025-06-11 11:31:48 +02:00
  • 3621cc08c2 Clarify fortify test lukinovec 2025-06-11 11:27:23 +02:00
  • d554dfb547 Make dataset/helper method parameter clearer lukinovec 2025-06-11 10:25:26 +02:00
  • ea019b46ce Keep initial formatting (minimize diff noise) lukinovec 2025-06-11 10:19:19 +02:00
  • 4e7ad0c4d3 Make code more concise lukinovec 2025-06-11 10:16:57 +02:00
  • db12ddf167 Delete resolved todo lukinovec 2025-06-11 10:12:59 +02:00
  • a1c8fc7f92 Refactor testing resolver with default vs custom tenant model name config lukinovec 2025-06-11 10:04:37 +02:00
  • e51ab11d0a Cover configured tenant model columns in cached resolver tests lukinovec 2025-06-11 09:39:16 +02:00
  • 62ae70399c Move encrypted cookie assertion to "cookie identification works" lukinovec 2025-06-10 12:59:13 +02:00
  • dec9350643 Fix encrypted cookie identification test lukinovec 2025-06-10 12:52:17 +02:00
  • da30e1ee5c Clarify Fortify bootstrapper test lukinovec 2025-06-10 11:40:50 +02:00
  • cabf665e5c Correct Fortify route bootstrapper test (todo refactor, convoluted) lukinovec 2025-06-10 11:10:11 +02:00
  • fbbe697500 Correct terminology in table manager test file lukinovec 2025-06-10 09:46:04 +02:00
  • 9b34a8cdf3 Correct terminology and comments in TableRLSManager lukinovec 2025-06-10 09:42:51 +02:00
  • 8d37415fc8 Fix code style (php-cs-fixer) github-actions[bot] 2025-06-09 14:23:44 +00:00
  • 608e11a4f0 Add a "single source of truth" for path array format, make lower-level code more concise, improve comments lukinovec 2025-06-09 16:23:24 +02:00
  • 4f909b09d9 Fix code style (php-cs-fixer) github-actions[bot] 2025-06-09 13:38:36 +00:00
  • e7d406b3df Improve comments, delete excessive methods, make methods more concise, position helper methods more appropriately lukinovec 2025-06-09 15:38:10 +02:00
  • a8941c3373 Make higher-level code clearer, improve comments lukinovec 2025-06-09 14:37:32 +02:00
  • f68ead8e38 Use tenant id instead of getTenantKey() lukinovec 2025-06-09 14:04:15 +02:00
  • df0d96f9bf Test data separation with comment constraints lukinovec 2025-06-09 14:03:46 +02:00
  • 1d87e4b00f Delete excessive test lukinovec 2025-06-09 13:51:41 +02:00
  • f96acc7423 Polish comments lukinovec 2025-06-09 13:18:34 +02:00
  • 0dce61bd34 Clarify and simplify tests, add comments lukinovec 2025-06-09 12:59:52 +02:00
  • cac2649568 Simplify and clarify core shortest path generation test lukinovec 2025-06-09 12:38:27 +02:00
  • f3f583b027 Make test clearer lukinovec 2025-06-09 10:33:42 +02:00
  • b326ebb718 Delete unused import lukinovec 2025-06-09 10:19:10 +02:00
  • 8dfa73f277 Make test clear, extensively commented and as simple as possible lukinovec 2025-06-09 10:18:26 +02:00
  • bffa494436 Revert change to test adding unnecessary complexity Samuel Štancl 2025-06-05 17:25:27 +02:00
  • bcf1f641ca Try simplifying the tests lukinovec 2025-06-05 08:47:40 +02:00
  • 74e702105a CloneRoutesAsTenant cleanup Samuel Štancl 2025-06-05 05:35:03 +02:00
  • 8c773245f7 Merge branch 'may25' into rls-fake-constrained-foreign-keys Samuel Štancl 2025-06-05 05:08:14 +02:00
  • 2057e1e5ae
    [4.x] Make forcing RLS configurable (#1293) lukinovec 2025-06-05 05:06:05 +02:00
  • 3c6e5b36ac
    Update tests/RLS/TableManagerTest.php Samuel Štancl 2025-06-05 04:57:22 +02:00
  • 00d16d57e2 cleanup Samuel Štancl 2025-06-05 04:53:08 +02:00
  • e199b9d50c cleanup Samuel Štancl 2025-06-05 03:59:16 +02:00
  • 17a1fbc123 Clarify test lukinovec 2025-06-04 15:58:59 +02:00
  • a10be62587 Delete redundant test lukinovec 2025-06-04 14:41:08 +02:00
  • b48826cc33 Add test that makes the bypassrls/forceRls behavior clear lukinovec 2025-06-04 13:16:48 +02:00
  • 03bf20732f Update the scopeGetModelQuery test so that it tests a realistic case lukinovec 2025-06-04 12:58:16 +02:00
  • 1bade8eee7 Clarify cloning logic lukinovec 2025-06-04 12:03:55 +02:00
  • efc0e11e73 Ignore routes that are already considered tenant routes from cloning, update test accordingly lukinovec 2025-06-04 11:39:33 +02:00
  • 880622877d Delete extra newline lukinovec 2025-06-03 14:11:25 +02:00
  • 410165e7ba Handle nested cloning flags in CloneRoutesAsTenant lukinovec 2025-06-03 12:09:26 +02:00
  • a924b12da5 Improve regression test lukinovec 2025-06-03 12:08:28 +02:00
  • 1748767b10 Improve regression test lukinovec 2025-06-03 11:52:02 +02:00
  • 4c32599c57 Add test for handling 'clone' in MW groups lukinovec 2025-06-03 11:37:55 +02:00
  • 6360a75d6d Fix assertion lukinovec 2025-06-03 11:12:24 +02:00
  • add8a96b32 Clarify scopeGetModelQuery test, document edge case lukinovec 2025-06-03 11:07:28 +02:00
  • b08c76974a Improve test name lukinovec 2025-06-03 09:30:58 +02:00
  • 05ebee24c4 Make test clearer lukinovec 2025-06-03 09:21:30 +02:00
  • 12786a36db Merge branch 'may25' into configurable-force-rls Samuel Štancl 2025-06-03 03:35:43 +02:00
  • d98229d8ed minor fixes Samuel Štancl 2025-06-03 03:33:03 +02:00
  • 875d6409cb phpstan Samuel Štancl 2025-06-03 01:55:26 +02:00
  • ca3dfe3ef9 clean up CloneRoutesAsTenant, add a todo Samuel Štancl 2025-06-03 01:43:43 +02:00
  • 90cf56955d Merge branch 'may25' into cloning-refactor Samuel Štancl 2025-06-02 23:21:15 +02:00
  • 0a8e5a141f minor fixes Samuel Štancl 2025-06-02 20:58:17 +02:00
  • e74e1f92e1
    Make RouteMode enum backed (#1362) Samuel Štancl 2025-06-02 20:34:49 +02:00
  • 8259b9b2ab Make RouteMode enum backed Samuel Štancl 2025-06-02 20:28:53 +02:00
  • f771aa8645
    [4.x] Test that route model binding works correctly with path identification (#1360) lukinovec 2025-06-02 19:05:17 +02:00
  • c54863676f make assertions more clear Samuel Štancl 2025-06-02 18:32:20 +02:00
  • 0a3ba9018c Add Fortify bootstrapper custom query param passing test lukinovec 2025-06-02 15:40:51 +02:00
  • d218431b95 Test encrypted cookie identification lukinovec 2025-06-02 15:14:08 +02:00
  • da7b3eb60b
    Update tests/PathIdentificationTest.php lukinovec 2025-06-02 14:08:52 +02:00
  • e8212bd6da
    Correct test name lukinovec 2025-06-02 13:44:47 +02:00
  • 6bc62de297 Test that route model binding works with path identification (closure-based routes) lukinovec 2025-06-02 13:30:35 +02:00
  • 820faf1e25
    Merge branch 'may25' into syncable-scoping Samuel Štancl 2025-06-02 03:44:48 +02:00
  • 5f7fd38e5a
    [4.x] URL generation, request data identification improvements (#1357) Samuel Štancl 2025-06-02 03:43:47 +02:00
  • 3d3cdde998 Fix code style (php-cs-fixer) github-actions[bot] 2025-06-02 01:12:44 +00:00
  • 3b1a126f29
    TenancyUrlGenerator: add a check for queryParameterName being null Samuel Štancl 2025-06-02 03:12:22 +02:00
  • fee265388f
    improve test name Samuel Štancl 2025-06-02 03:11:30 +02:00
  • bcfa707df7 Fix COLOR_FLAG Samuel Štancl 2025-06-02 03:10:52 +02:00
  • e51678b21c minor refactor in PathIdentificationTest, expand CLAUDE.md to include early identification section Samuel Štancl 2025-06-02 02:52:42 +02:00
  • ba574d216c
    Fix typo in CloneActionTest lukinovec 2025-06-01 17:10:00 +02:00
  • b6ae810e20 move comment Samuel Štancl 2025-05-30 05:32:19 +02:00
  • 347da8edf3 defaultParameterNames -> passQueryParameter Samuel Štancl 2025-05-30 05:09:39 +02:00