Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions codecov/settings_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
# Application definition

INSTALLED_APPS = [
"debug_toolbar",
"legacy_migrations",
"dal",
"dal_select2", # needs to be ahead of django.contrib.admin
Expand Down Expand Up @@ -55,6 +56,7 @@
]

MIDDLEWARE = [
"debug_toolbar.middleware.DebugToolbarMiddleware",
"core.middleware.AppMetricsBeforeMiddlewareWithUA",
"django.middleware.security.SecurityMiddleware",
"whitenoise.middleware.WhiteNoiseMiddleware",
Expand Down Expand Up @@ -175,7 +177,6 @@

USE_TZ = True


# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.1/howto/static-files/

Expand Down Expand Up @@ -299,7 +300,6 @@
"gitlab", "bots", "tokenless", "key", default=GITLAB_BOT_KEY
)


GITLAB_ENTERPRISE_CLIENT_ID = get_config("gitlab_enterprise", "client_id")
GITLAB_ENTERPRISE_CLIENT_SECRET = get_config("gitlab_enterprise", "client_secret")
GITLAB_ENTERPRISE_REDIRECT_URI = get_config(
Expand All @@ -314,7 +314,6 @@
GITLAB_ENTERPRISE_URL = get_config("gitlab_enterprise", "url")
GITLAB_ENTERPRISE_API_URL = get_config("gitlab_enterprise", "api_url")


CORS_ALLOW_HEADERS = (
list(default_headers)
+ ["token-type"]
Expand All @@ -335,7 +334,6 @@
"setup", "http", "file_upload_max_memory_size", default=2621440
)


CORS_ALLOWED_ORIGIN_REGEXES = get_config(
"setup", "api_cors_allowed_origin_regexes", default=[]
)
Expand Down
1 change: 1 addition & 0 deletions codecov/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from codecov import views

urlpatterns = [
path("__debug__/", include("debug_toolbar.urls")),
path("billing/", include("billing.urls")),
path("api/v2/", include("api.public.v2.urls")),
path("api/v1/", include("api.public.v1.urls")),
Expand Down
1 change: 1 addition & 0 deletions graphql_api/types/repository/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ async def resolve_branches(
):
command = info.context["executor"].get_command("branch")
queryset = await command.fetch_branches(repository, filters)
print(queryset.query)
return await queryset_to_connection(
queryset,
ordering=("updatestamp",),
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -511,3 +511,4 @@ zipp==3.19.2

# The following packages are considered to be unsafe in a requirements file:
# setuptools
django-debug-toolbar==4.4.6
Loading