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

Commit graph

  • 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
  • ec9b585e70 request data identification: add tenant_model_column configuration Samuel Štancl 2025-05-30 03:55:52 +02:00
  • 16171b1eaa url generator test: test changing tenant parameter name Samuel Štancl 2025-05-30 03:44:19 +02:00
  • 94d9dd3201 improve request data tests, simplify complex test in UrlGeneratorBootstrapperTest Samuel Štancl 2025-05-30 02:04:12 +02:00
  • 8fb9e8f74f Claude code adjustments Samuel Štancl 2025-05-30 02:03:27 +02:00
  • 58712f53af Merge branch 'may25' into improve-url-generation Samuel Štancl 2025-05-29 18:39:46 +02:00
  • f4cc99b317 fix phpstan Samuel Štancl 2025-05-29 18:39:05 +02:00
  • 37f6260812 Add CLAUDE.md Samuel Štancl 2025-05-29 18:36:09 +02:00
  • bba649a33c UrlGenerator: set defaults based on config; request data: move config to config file+resolver Samuel Štancl 2025-05-29 18:10:07 +02:00
  • c89c2938fe Improve method name lukinovec 2025-05-29 13:28:56 +02:00
  • bfe62611e0 Improve comment lukinovec 2025-05-29 13:15:35 +02:00
  • a1e8324fb5 Use consistent shortest path terminology lukinovec 2025-05-29 13:13:41 +02:00
  • c867ecec44 Update the tree terminology lukinovec 2025-05-29 13:06:54 +02:00
  • 82f9138666 Fix code style (php-cs-fixer) github-actions[bot] 2025-05-29 10:52:24 +00:00
  • 233dbd0184 Improve readability lukinovec 2025-05-29 12:49:47 +02:00
  • 973f7994c3 Improve code for determining the shortest path lukinovec 2025-05-29 12:35:41 +02:00
  • 1bfac014ab Test uncovered edge cases lukinovec 2025-05-29 12:35:06 +02:00
  • 3e8cb02981 Improve TableRLSManager comments lukinovec 2025-05-29 11:31:09 +02:00
  • 759931394c Fix code style (php-cs-fixer) github-actions[bot] 2025-05-28 13:56:50 +00:00
  • a3b925b362 Refactor TableRLSManagerr (dynamic programming, deal with recursive relationships, determine shortest paths while generating the paths) lukinovec 2025-05-28 15:56:25 +02:00
  • f8daccc3b3 Make RouteMode a backed enum Gyula Voros 2025-05-26 11:24:29 +02:00
  • 37edba8dbc Improve comments lukinovec 2025-05-21 14:10:35 +02:00
  • 3d6be96f7d Fix code style (php-cs-fixer) github-actions[bot] 2025-05-21 12:05:11 +00:00
  • 640ba9e7f1 Correct terminology, add test for throwing exceptions lukinovec 2025-05-21 13:58:44 +02:00
  • adfddab951 Make path skipping logic more explicit lukinovec 2025-05-21 13:58:16 +02:00
  • 349ac6e9fc Simplify and clarify comment-related TableRLSManager code lukinovec 2025-05-21 13:20:18 +02:00
  • f65c64c9c7 Correct comment functionality, add comment constraint exception lukinovec 2025-05-21 11:25:09 +02:00
  • a52745704e Fix code style (php-cs-fixer) github-actions[bot] 2025-05-20 11:59:09 +00:00
  • c80b28cf00 Add option to provide constraint information in column comment lukinovec 2025-05-20 13:58:33 +02:00
  • 645232e53c Allow cloning specific routes by name lukinovec 2025-05-19 08:39:09 +02:00
  • 3b90c91763 Add test for cloneRoutesWithMiddleware(), correct existing tests lukinovec 2025-05-19 07:58:58 +02:00
  • 3877e7728d Improve comment lukinovec 2025-05-19 07:52:10 +02:00
  • 37306e73d3 Use 'clone' instead of a universal route in tenant parameter removal test lukinovec 2025-05-16 17:29:46 +02:00
  • 228d6ca788 Delete redundant "should not be cloned" part from shouldBeCloned() lukinovec 2025-05-16 16:58:27 +02:00
  • e8eb38748f Refactor cloning action, update tests lukinovec 2025-05-16 16:52:13 +02:00
  • f9f9e1814a
    Merge branch 'master' into configurable-force-rls lukinovec 2025-05-15 15:20:21 +02:00