Commit graph

2356 commits

Author SHA1 Message Date
Boston008
01f16f57ca
Update bitbucket_server_provider.py 2025-08-11 12:18:05 +08:00
Boston008
bcfd2b3d6d
Update pr_agent/git_providers/bitbucket_server_provider.py
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
2025-08-11 09:47:16 +08:00
Boston008
34b562db22
Update pr_agent/git_providers/bitbucket_server_provider.py
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
2025-08-11 09:46:37 +08:00
Boston008
4a6a55ca7c
Update pr_agent/git_providers/bitbucket_server_provider.py
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
2025-08-11 09:46:26 +08:00
Boston008
af803ce473
Update bitbucket_server_provider.py
implement improve suggestion
2025-08-10 15:09:13 +08:00
Kris Rane
e14beacc19 feat: enhance BitbucketServerProvider authentication with username and password fallback 2025-08-07 17:56:46 +08:00
Tal
03867d5962
Merge pull request #1978 from huangyoje/fix/fix-ask-line
Fix comment_id name in handle_ask_line
2025-08-06 21:48:17 +03:00
Emmanuel Ferdman
807ce6ec65
Fix issue in the GitLab provider
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-08-05 23:38:12 -07:00
Tal
65457b2569
Merge branch 'main' into fix/gitlab-private-deployment-401 2025-08-06 08:30:54 +03:00
Tal
82feddbb95
Merge pull request #1970 from huangyoje/fix/sort-files-by-token
Fix: defer file sorting until after token calculation
2025-08-06 08:28:21 +03:00
Mr_Jing
fb73eb75f9 refactor: simplify GitLab authentication configuration 2025-08-06 12:03:53 +08:00
huangyoje
39add8d78a Fix comment_id name in handle_ask_line 2025-08-06 10:14:33 +08:00
marc0777
0b00812269 feat: allow configuring gitlab ssl verification 2025-08-05 11:55:01 +02:00
Mr_Jing
dd6f56915b improve: enhance GitLab provider error handling and attribute access safety
- Add try-catch block around GitLab instance creation for better error handling
- Use getattr() for safer attribute access in _prepare_clone_url_with_token method
- Improve authentication failure debugging with clearer error messages
2025-08-04 10:35:52 +08:00
ofir-frd
8cef104784
Merge pull request #1949 from FabrizioCafolla/feature/add-eyes-reaction-gitlab-provider
feat: add eyes reaction to GitLab provider
2025-08-03 17:47:43 +03:00
ofir-frd
6aa26d8c56 fix: remove extra blank line in gitlab provider 2025-08-03 17:43:18 +03:00
huangyoje
b81b671ab1 Fix: defer file sorting until after token calculation 2025-08-03 11:50:38 +08:00
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
Mr_Jing
d497c33c74 fix: support private_token authentication for GitLab private deployments
- Add intelligent authentication method detection based on GitLab URL
- Support explicit configuration override via GITLAB.AUTH_TYPE
- Maintain backward compatibility with existing oauth_token usage
- Fix 401 Unauthorized errors for private GitLab deployments

Fixes authentication issues where private GitLab instances require
private_token instead of oauth_token for API access.
2025-08-03 08:46:41 +08:00
Abhinav Kumar
a8b8202567 fix: logic 2025-07-26 11:40:40 +05:30
Abhinav Kumar
af2b66bb51 feat: Add support for Bedrock custom inference profiles via model_id 2025-07-26 11:32:34 +05:30
FabrizioCafolla
3efe091bc8 update 2025-07-23 17:19:53 +02:00
FabrizioCafolla
6f7d81b086 update 2025-07-23 17:19:53 +02:00
FabrizioCafolla
755165e90c feat: add eyes reacrtion to gitlab provider 2025-07-23 17:19:53 +02:00
Tal
ae6576c06b
Merge pull request #1938 from furikake6000/fix/fix-ignore-files-config-on-bitbucketserver
fix: add support for filtering ignored files in Bitbucket Server provider
2025-07-22 07:58:51 +03:00
furikake6000
bdee6f9f36 fix: add error handling to bitbucket file filtering 2025-07-21 10:15:57 +00:00
mrT23
f42dc28a55
feat(config): enhance ignore_pr_authors to support regex patterns 2025-07-20 11:56:55 +03:00
mrT23
7251e6df96
docs: add num_best_practice_suggestions parameter to improve tool configuration table 2025-07-20 08:26:07 +03:00
Tal
7cc4206b70
Update pr_agent/tools/pr_description.py
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
2025-07-18 09:20:41 +03:00
mrT23
6179eeca58
fix(pr_description): fix template syntax errors and improve formatting in prompts 2025-07-18 09:14:52 +03:00
mrT23
e8c73e7baa
refactor(utils): improve file walkthrough parsing with regex and better error handling 2025-07-18 08:54:52 +03:00
mrT23
754d47f187
refactor(pr_description): redesign changes walkthrough section and improve file processing 2025-07-18 08:51:48 +03:00
furikake6000
380437b44f feat: add support for filtering ignored files in Bitbucket Server provider 2025-07-14 15:26:30 +00:00
mrT23
8e0c5c8784
refactor(ai_handler): remove model parameter from _get_completion and handle it within the method 2025-07-13 21:29:53 +03:00
mrT23
0e9cf274ef
refactor(ai_handler): move streaming response handling and Azure token generation to helpers 2025-07-13 21:23:04 +03:00
Tal
3aae48f09c
Merge pull request #1925 from Makonike/feature_only_streaming_model_support
feat: Support Only Streaming Model
2025-07-13 21:16:49 +03:00
Makonike
8c7680d85d refactor(ai_handler): add a return statement or raise an exception in the elif branch 2025-07-13 22:57:43 +08:00
Makonike
11fb6ccc7e refactor(ai_handler): compact streaming path to reduce main flow impact 2025-07-13 22:37:14 +08:00
Tal
e12b27879c
Merge pull request #1931 from abhinav-1305/fix-title-pr
fix: clean up PR title formatting before publishing
2025-07-12 20:59:53 +03:00
Abhinav Kumar
fac2141df3 refactor: remove unnecessary blank lines 2025-07-12 23:28:29 +05:30
Abhinav Kumar
1dbfd27d8e fix: use strip instead of regex 2025-07-12 23:26:47 +05:30
Tal
eaeee97535
Merge pull request #1929 from abhinav-1305/add-ignore
fix: Add ignore logic for Bitbucket Server webhook
2025-07-12 20:15:03 +03:00
Tal
71bbc52a99
Update bitbucket_server_webhook.py 2025-07-12 20:13:45 +03:00
Abhinav Kumar
4a8e9b79e8
Update pr_agent/servers/bitbucket_server_webhook.py
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
2025-07-12 22:39:18 +05:30
Tal
efdb0f5744
Update pr_agent/servers/bitbucket_server_webhook.py
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
2025-07-12 20:07:51 +03:00
Tal
28750c70e0
Merge pull request #1921 from abhinav-1305/add-flex-processing
feat: support OpenAI Flex Processing via [litellm] extra_body config
2025-07-12 19:51:31 +03:00
Abhinav Kumar
447a384aee fix: return empty string for None or empty PR title in cleaning method 2025-07-10 18:17:31 +05:30
Abhinav Kumar
d9eb0367cf fix: enhance PR title cleaning by normalizing whitespace 2025-07-10 18:06:44 +05:30
Abhinav Kumar
85484899c3 fix: implement dedicated method for cleaning PR titles 2025-07-10 17:26:13 +05:30
Abhinav Kumar
00b5815785 fix: streamline PR title cleaning process for comment publishing 2025-07-10 17:19:52 +05:30