Skip to content

[pull] main from GreedyBear-Project:main#32

Merged
pull[bot] merged 28 commits intothreatcode:mainfrom
GreedyBear-Project:main
Apr 9, 2026
Merged

[pull] main from GreedyBear-Project:main#32
pull[bot] merged 28 commits intothreatcode:mainfrom
GreedyBear-Project:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Apr 9, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

mlodic and others added 28 commits April 1, 2026 13:14
Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 25.2.0 to 25.3.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](benoitc/gunicorn@25.2.0...25.3.0)

---
updated-dependencies:
- dependency-name: gunicorn
  dependency-version: 25.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [requests](https://github.com/psf/requests) from 2.33.0 to 2.33.1.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.33.0...v2.33.1)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.33.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pandas](https://github.com/pandas-dev/pandas) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/pandas-dev/pandas/releases)
- [Commits](pandas-dev/pandas@v3.0.1...v3.0.2)

---
updated-dependencies:
- dependency-name: pandas
  dependency-version: 3.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [numpy](https://github.com/numpy/numpy) from 2.4.3 to 2.4.4.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v2.4.3...v2.4.4)

---
updated-dependencies:
- dependency-name: numpy
  dependency-version: 2.4.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…1158 (#1169)

* schedules rescheduled

* cooment

* weekly generalisation
 #1095 (#1136)

* fix: reject promise on requestPasswordReset failure and add test

* Update frontend/tests/components/auth/utils/EmailForm.test.jsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fixing the real Call issue

* Mock addToast to isolate test environment

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…loses #852 (#1062)

Cache the heavy GROUP BY aggregation in asn_aggregated_queryset() using
Django's cache framework, so identical API requests between extraction
runs are served from cache instead of re-querying the database.

How it works:
- Cache key = hash of all query params + a version counter
- After each extraction run, the pipeline bumps the version counter,
  which effectively invalidates all stale ASN cache entries
- 24-hour TTL as safety net for cache expiry
- Different param combinations (max_age, feed_type, etc.) each get
  their own cache entry, so correctness is preserved for all queries

Also:
- Add preload_cache param to ASRepository for test flexibility
- Add cache behavior test validating hit/invalidation/miss cycle
- Clear cache in test setUp to prevent cross-test pollution
…#1168)

* fix: replace hardcoded GID 82 with www-data group name

* removed usermod

Signed-off-by: Drona Raj Gyawali <dronarajgyawali@gmail.com>

---------

Signed-off-by: Drona Raj Gyawali <dronarajgyawali@gmail.com>
* fix: use string instead of list for search_help_text (#1161)

* fix: correct misleading search_help_text values in MassScanner and IOC admins
* add attacker_country_code field to IOC model

* extract country_iso_code from geoip data during IOC creation

* update _merge_iocs to refresh attacker_country_code on re-extraction

* add tests for attacker_country_code extraction and merge

* validate country code length before saving to prevent DataError
…base. Closes #774 (#1070)

* chore: ignore uv files

* Refactor: rename GeneralHoneypot model to Honeypot.

* chore: added local dev dependencies

* chore(migration): generalhoneypot to honeypot

* fix(django field collision): Standardize honeypot name aggregation to `honeypot_names`.

* fix(tests): revert changes to migration tests that reference old model names.

* Update honeypot name handling in IOC

Refactor honeypot name normalization and check logic.

* chore(lint-fix): replace GeneralHoneypot usage to Honeypot.

* Refactor: rename GeneralHoneypot model to Honeypot and update related field and parameter names across the codebase.

* chore(build-fix): resolved conflicting migrations.

* chore(build-fix): resolved conflicting migrations & rename stale references.

* chore: remove unrelated changes.

* chore: remove unrelated uv lockfile

* chore: revert unrelated changes

* chore(build-fix): add Sensor model to serializers and rename honeypot cache test for clarity.

* rename migration

---------

Co-authored-by: tim <46972822+regulartim@users.noreply.github.com>
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.15.8 to 0.15.9.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.15.8...0.15.9)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.15.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [sass](https://github.com/sass/dart-sass) from 1.98.0 to 1.99.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](sass/dart-sass@1.98.0...1.99.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-version: 1.99.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* refactor: move country normalization logic to utility module and apply during data fetch

* refactor: rename rawData to normalizedData in attacker countries store and update type annotations

* chore: remove redundant whitespace in useAttackerCountriesStore tests
* enhance accessibility by eliminating pa11y reported errors

* use variables for new css props

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 8.0.3 to 8.0.7.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.0.7/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 8.0.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.3/packages/coverage-v8)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 4.1.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [jsdom](https://github.com/jsdom/jsdom) from 29.0.1 to 29.0.2.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Commits](jsdom/jsdom@v29.0.1...v29.0.2)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-version: 29.0.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- swap psycopg2-binary for psycopg[c]==3.3.3 in pyproject.toml
- add gcc, python3-dev, libpq-dev to Dockerfile as build-only deps
  to compile the C extension; purge them after uv sync to keep
  the image lean; only libpq5 (runtime lib) stays in the image
- regenerate uv.lock
- fix pre-existing test bug in test_get_url_downloads: mock's
  payload_request was a truthy Mock causing threatfox_submission
  to run and fail on a non-iterable; set it to False explicitly

Closes #1191
@pull pull bot locked and limited conversation to collaborators Apr 9, 2026
@pull pull bot added the ⤵️ pull label Apr 9, 2026
@pull pull bot merged commit 971c43d into threatcode:main Apr 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.