Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TT-12865] URL matching prefixes/explicit, regex support #6475

Merged
merged 35 commits into from
Sep 12, 2024

Commits on Sep 12, 2024

  1. Handle matching as-is regex

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    d9db79f View commit details
    Browse the repository at this point in the history
  2. Cover backward compatibility for start-prefix regexes

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    37b022a View commit details
    Browse the repository at this point in the history
  3. Short prefix url path works too

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    b05bc19 View commit details
    Browse the repository at this point in the history
  4. Create MatchEndpoints in httputil, cover ratelimit

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    721e519 View commit details
    Browse the repository at this point in the history
  5. Fix user tests

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    5d152b9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9b26c13 View commit details
    Browse the repository at this point in the history
  7. Checking up on additional matching scopes

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    59659fe View commit details
    Browse the repository at this point in the history
  8. internal/httputil: fix closing delimiter, extend tests

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    3549964 View commit details
    Browse the repository at this point in the history
  9. Fix TestWhiteList (TT-1944 in additional scope)

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    7d839f3 View commit details
    Browse the repository at this point in the history
  10. Fix TestConflictingPaths test, no more wildcard match

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    5c7a30e View commit details
    Browse the repository at this point in the history
  11. Extend versioninfo whitelist/blacklist tests

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    30c29fc View commit details
    Browse the repository at this point in the history
  12. Add strip version from path to apispec, apply, revert a test

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    fff34b9 View commit details
    Browse the repository at this point in the history
  13. Move matches path

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    4772160 View commit details
    Browse the repository at this point in the history
  14. Propose behaviour flags for config

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    c10b705 View commit details
    Browse the repository at this point in the history
  15. Update granular access mw to support config flags

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    dc1da4b View commit details
    Browse the repository at this point in the history
  16. Adjust config naming

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    0656307 View commit details
    Browse the repository at this point in the history
  17. Use prefixmatching for granular access mw test

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    f8129e0 View commit details
    Browse the repository at this point in the history
  18. Revert server_test.go

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    5624487 View commit details
    Browse the repository at this point in the history
  19. Update config schema

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    ad3bd21 View commit details
    Browse the repository at this point in the history
  20. Revert whitespace

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    a4fc33c View commit details
    Browse the repository at this point in the history
  21. Fix naming to be clearer, update generateRegex

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    335fa7a View commit details
    Browse the repository at this point in the history
  22. Remove matching, not enough scope

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    78e28b6 View commit details
    Browse the repository at this point in the history
  23. Add httputil.PreparePathRegexp

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    0f0ff80 View commit details
    Browse the repository at this point in the history
  24. httputil, add more logic, covering tests

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    bef0499 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    e85053f View commit details
    Browse the repository at this point in the history
  26. Mux tests smaller

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    6af3d48 View commit details
    Browse the repository at this point in the history
  27. Extend regex tests

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    af97944 View commit details
    Browse the repository at this point in the history
  28. Rename tests/api coverage

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    42f44d0 View commit details
    Browse the repository at this point in the history
  29. Use constant instead of 401

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    0747489 View commit details
    Browse the repository at this point in the history
  30. Import test suite for route behaviour

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    b11b6a0 View commit details
    Browse the repository at this point in the history
  31. Fix some logic one-off issues

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    d2cb2f5 View commit details
    Browse the repository at this point in the history
  32. Remove unused apidef

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    60f8351 View commit details
    Browse the repository at this point in the history
  33. Remove GetPathRegexp, unused, add cache to PreparePathRegexp

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    fc670bc View commit details
    Browse the repository at this point in the history
  34. Fix TestIgnored

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    0b48436 View commit details
    Browse the repository at this point in the history
  35. Move rate limit info test

    Tit Petric authored and titpetric committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    1c095b3 View commit details
    Browse the repository at this point in the history