Skip to content

Commit 7ac5ea9

Browse files
committed
Merge branch 'chore/create-flag-migration' into feat/edit-versioned-change-request
2 parents 2615280 + 18e2ae0 commit 7ac5ea9

90 files changed

Lines changed: 958 additions & 2374 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/e2e-tests/action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ runs:
4444
max_attempts: 2
4545
retry_on: error
4646
timeout_minutes: 20
47-
on_retry_command: |
48-
lsof -ti:3000 | xargs kill -9 || true
4947
env:
5048
E2E_TEST_TOKEN: ${{ inputs.e2e_test_token }}
5149
SLACK_TOKEN: ${{ inputs.slack_token }}

.github/workflows/.reusable-docker-e2e-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ jobs:
7676
max_attempts: 2
7777
retry_on: error
7878
timeout_minutes: 20
79-
on_retry_command: |
80-
cd frontend
81-
docker compose down --remove-orphans || true
8279
env:
8380
opts: ${{ inputs.args }}
8481
API_IMAGE: ${{ inputs.api-image }}

.pre-commit-config.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
33
# Ruff version.
4-
rev: v0.14.10
4+
rev: v0.14.6
55
hooks:
66
# Run the linter.
77
- id: ruff
@@ -41,17 +41,13 @@ repos:
4141
require_serial: true
4242
pass_filenames: false
4343
types: [python]
44-
stages: [pre-push]
4544

4645
- repo: https://github.com/python-poetry/poetry
4746
rev: 2.2.1
4847
hooks:
4948
- id: poetry-check
5049
args: ["-C", "api"]
5150

52-
default_install_hook_types: [pre-commit, pre-push]
53-
default_stages: [pre-commit]
54-
5551
ci:
5652
skip: [generate-docs, python-typecheck]
5753
autoupdate_commit_msg: "ci: pre-commit autoupdate"

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "2.205.7"
2+
".": "2.205.1"
33
}

CHANGELOG.md

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,5 @@
11
# Changelog
22

3-
## [2.205.7](https://github.com/Flagsmith/flagsmith/compare/v2.205.6...v2.205.7) (2026-01-04)
4-
5-
6-
### Bug Fixes
7-
8-
* optimise influxdb calls from handle_api_usage_notifications task ([#6458](https://github.com/Flagsmith/flagsmith/issues/6458)) ([26ac021](https://github.com/Flagsmith/flagsmith/commit/26ac0211e51c08ebc14d4903c79beffb6290627a))
9-
10-
## [2.205.6](https://github.com/Flagsmith/flagsmith/compare/v2.205.5...v2.205.6) (2026-01-02)
11-
12-
13-
### Bug Fixes
14-
15-
* add a batch size to the bulk_update of OrganisationSubscriptionInformationCache objects ([#6456](https://github.com/Flagsmith/flagsmith/issues/6456)) ([38ac162](https://github.com/Flagsmith/flagsmith/commit/38ac16206879e67ea3d72485659231fd61c3d362))
16-
17-
## [2.205.5](https://github.com/Flagsmith/flagsmith/compare/v2.205.4...v2.205.5) (2026-01-02)
18-
19-
20-
### Bug Fixes
21-
22-
* add throttle to flag analytics endpoint ([#6454](https://github.com/Flagsmith/flagsmith/issues/6454)) ([23d37ca](https://github.com/Flagsmith/flagsmith/commit/23d37ca202487dd9523bb5face31a098dd3e77b9))
23-
24-
## [2.205.4](https://github.com/Flagsmith/flagsmith/compare/v2.205.3...v2.205.4) (2026-01-02)
25-
26-
27-
### Bug Fixes
28-
29-
* add throttling for influx query endpoints ([#6453](https://github.com/Flagsmith/flagsmith/issues/6453)) ([64a216a](https://github.com/Flagsmith/flagsmith/commit/64a216a02bbf7639dbd2d1906f0bb4e9b99445cc))
30-
* clean-up-ci-cafe-port-3000-on-error ([#6430](https://github.com/Flagsmith/flagsmith/issues/6430)) ([e6aeff8](https://github.com/Flagsmith/flagsmith/commit/e6aeff8521109eb3a183ae9f86122419461ed785))
31-
* ignore-stale-identity-overrides ([#6444](https://github.com/Flagsmith/flagsmith/issues/6444)) ([5ce3df6](https://github.com/Flagsmith/flagsmith/commit/5ce3df6a3681de9eaa238e7e9a0e2b64f8f27720))
32-
33-
34-
### Dependency Updates
35-
36-
* bump filelock from 3.16.1 to 3.20.1 in /api ([#6425](https://github.com/Flagsmith/flagsmith/issues/6425)) ([d859638](https://github.com/Flagsmith/flagsmith/commit/d859638f256ccc9894e8a4f8f2678d1592b48a17))
37-
* bump js-yaml from 3.14.1 to 3.14.2 in /frontend ([#6329](https://github.com/Flagsmith/flagsmith/issues/6329)) ([5b8292b](https://github.com/Flagsmith/flagsmith/commit/5b8292b32554cfa716b732dc1677f258429e6f60))
38-
* bump marshmallow from 3.20.1 to 3.26.2 in /api ([#6440](https://github.com/Flagsmith/flagsmith/issues/6440)) ([c1d787f](https://github.com/Flagsmith/flagsmith/commit/c1d787f328ca0f2a09b9309abd550443d7244dd4))
39-
* bump qs and express in /docs ([#6449](https://github.com/Flagsmith/flagsmith/issues/6449)) ([bff8570](https://github.com/Flagsmith/flagsmith/commit/bff85709b8a2035ef11571f6ea1003e96203357b))
40-
* bump tmp, testcafe and inquirer in /frontend ([#6450](https://github.com/Flagsmith/flagsmith/issues/6450)) ([bdd9e87](https://github.com/Flagsmith/flagsmith/commit/bdd9e873f55c4a9e794030b2768a810f34acb267))
41-
* bump werkzeug from 3.0.6 to 3.1.4 in /api ([#6348](https://github.com/Flagsmith/flagsmith/issues/6348)) ([60506b9](https://github.com/Flagsmith/flagsmith/commit/60506b9594a59d8e30bee1188b06ab2649249f28))
42-
43-
## [2.205.3](https://github.com/Flagsmith/flagsmith/compare/v2.205.2...v2.205.3) (2025-12-19)
44-
45-
46-
### Dependency Updates
47-
48-
* bump urllib3 dependency ([#6435](https://github.com/Flagsmith/flagsmith/issues/6435)) ([2d208b1](https://github.com/Flagsmith/flagsmith/commit/2d208b18c383a756703eba926830770546eac6ff))
49-
50-
## [2.205.2](https://github.com/Flagsmith/flagsmith/compare/v2.205.1...v2.205.2) (2025-12-17)
51-
52-
53-
### Bug Fixes
54-
55-
* prevent infinite loading on Identity Overrides tab ([#6404](https://github.com/Flagsmith/flagsmith/issues/6404)) ([5295a74](https://github.com/Flagsmith/flagsmith/commit/5295a74a478c686ec3aa9cf5a8a314bc51a7ce13))
56-
* prevent invites with invalid permission groups ([#6407](https://github.com/Flagsmith/flagsmith/issues/6407)) ([d5fbcd7](https://github.com/Flagsmith/flagsmith/commit/d5fbcd784037c39f691ae1760b720110c49c19e1))
57-
* removed-skip-organisation-tests ([#6418](https://github.com/Flagsmith/flagsmith/issues/6418)) ([c69409f](https://github.com/Flagsmith/flagsmith/commit/c69409fe1f75625ba58d7500083d1c283bdc8772))
58-
593
## [2.205.1](https://github.com/Flagsmith/flagsmith/compare/v2.205.0...v2.205.1) (2025-12-16)
604

615

api/app/settings/common.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,6 @@
320320
"mfa_code": "5/min",
321321
"invite": "10/min",
322322
"user": USER_THROTTLE_RATE,
323-
"influx_query": "5/min",
324323
},
325324
"DEFAULT_FILTER_BACKENDS": ["django_filters.rest_framework.DjangoFilterBackend"],
326325
"DEFAULT_RENDERER_CLASSES": [
@@ -1469,5 +1468,3 @@
14691468
)
14701469

14711470
PYLON_IDENTITY_VERIFICATION_SECRET = env.str("PYLON_IDENTITY_VERIFICATION_SECRET", None)
1472-
1473-
OSIC_UPDATE_BATCH_SIZE = env.int("OSIC_UPDATE_BATCH_SIZE", default=500)

api/app/settings/test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"invite": "10/min",
1212
"signup": "100/min",
1313
"user": "100000/day",
14-
"influx_query": "50/min",
1514
}
1615

1716
AWS_SSE_LOGS_BUCKET_NAME = "test_bucket"

api/app_analytics/constants.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@
3636
"unknown",
3737
"5.0.0",
3838
],
39-
"flagsmith-java-sdk": [
40-
"unknown",
41-
"8.0.0",
42-
],
39+
"flagsmith-java-sdk": ["unknown"],
4340
"flagsmith-js-sdk": [
4441
"unknown",
4542
"9.3.1",

api/app_analytics/throttles.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

api/app_analytics/views.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from common.core.utils import using_database_replica
55
from drf_yasg.utils import swagger_auto_schema # type: ignore[import-untyped]
66
from rest_framework import status
7-
from rest_framework.decorators import api_view, permission_classes, throttle_classes
7+
from rest_framework.decorators import api_view, permission_classes
88
from rest_framework.fields import IntegerField
99
from rest_framework.generics import CreateAPIView
1010
from rest_framework.permissions import IsAuthenticated
@@ -20,7 +20,6 @@
2020
from app_analytics.mappers import (
2121
map_request_to_labels,
2222
)
23-
from app_analytics.throttles import InfluxQueryThrottle
2423
from environments.authentication import EnvironmentKeyAuthentication
2524
from environments.permissions.permissions import EnvironmentKeyPermissions
2625
from features.models import FeatureState
@@ -136,7 +135,6 @@ class SelfHostedTelemetryAPIView(CreateAPIView): # type: ignore[type-arg]
136135
)
137136
@api_view(["GET"])
138137
@permission_classes([IsAuthenticated, UsageDataPermission])
139-
@throttle_classes([InfluxQueryThrottle])
140138
def get_usage_data_total_count_view(request: Request, organisation_pk: int) -> Response:
141139
organisation = using_database_replica(Organisation.objects).get(id=organisation_pk)
142140
count = get_total_events_count(organisation)
@@ -153,7 +151,6 @@ def get_usage_data_total_count_view(request: Request, organisation_pk: int) -> R
153151
)
154152
@api_view(["GET"])
155153
@permission_classes([IsAuthenticated, UsageDataPermission])
156-
@throttle_classes([InfluxQueryThrottle])
157154
def get_usage_data_view(request: Request, organisation_pk: int) -> Response:
158155
filters = UsageDataQuerySerializer(data=request.query_params)
159156
filters.is_valid(raise_exception=True)

0 commit comments

Comments
 (0)