pr-agent/pr_agent/git_providers
Mr_Jing 2d858a43be refactor: improve GitLab authentication method detection
Address code review feedback from PR #1969:

1. Improve URL matching precision:
   - Use urlparse for robust hostname validation
   - Prevent false positives with URL substring matching
   - Add support for gitlab.com/gitlab.io subdomains

2. Add authentication type validation:
   - Validate explicit GITLAB.AUTH_TYPE configuration
   - Provide clear error messages for invalid auth types
   - Prevent silent failures from user configuration errors

This enhances code reliability and user experience while maintaining
backward compatibility.
2025-08-03 09:58:59 +08:00
..
__init__.py Use current 2025-05-26 11:44:39 +07:00
azuredevops_provider.py refactor(pr_description): redesign changes walkthrough section and improve file processing 2025-07-18 08:51:48 +03:00
bitbucket_provider.py Fix token assignment in Bitbucket provider authentication 2025-04-12 10:07:45 +03:00
bitbucket_server_provider.py feat: add support for filtering ignored files in Bitbucket Server provider 2025-07-14 15:26:30 +00:00
codecommit_client.py Remove 'bitbucket' explicit dependency anywhere that's not in bitbucket_provider.py 2023-09-10 14:06:13 +03:00
codecommit_provider.py Remove non implemented method _prepare_clone_url_with_token from providers which don't support it and instead, issue a warning in base class. 2025-03-24 14:06:06 +02:00
gerrit_provider.py fix: Remove trailing comma in gerrit provider prepare_repo function 2025-07-07 21:51:35 +05:30
git_provider.py Azure: return Comment object when creating comment 2025-05-12 08:31:15 +02:00
gitea_provider.py feat: support self-signed gitea cert 2025-06-12 16:01:26 +02:00
github_provider.py refactor: Correct case typo of PR in log 2025-05-20 02:31:48 +09:00
gitlab_provider.py refactor: improve GitLab authentication method detection 2025-08-03 09:58:59 +08:00
local_git_provider.py Remove non implemented method _prepare_clone_url_with_token from providers which don't support it and instead, issue a warning in base class. 2025-03-24 14:06:06 +02:00
utils.py revert try except 2025-05-15 19:40:40 +09:00