diff --git a/poetry.lock b/poetry.lock index 9b5d4bc34..e5e3c1747 100644 --- a/poetry.lock +++ b/poetry.lock @@ -862,13 +862,13 @@ django = ">=3.2" [[package]] name = "django-debug-toolbar" -version = "4.4.5" +version = "4.4.6" description = "A configurable set of panels that display various debug information about the current request/response." optional = false python-versions = ">=3.8" files = [ - {file = "django_debug_toolbar-4.4.5-py3-none-any.whl", hash = "sha256:91425606673ee674d780f7aeedf3595c264eb382dcf41f55c6779577900904c0"}, - {file = "django_debug_toolbar-4.4.5.tar.gz", hash = "sha256:8298ce966b4c8fc71430082dd4739ef2badb5f867734e1973a413c4ab2ea81b7"}, + {file = "django_debug_toolbar-4.4.6-py3-none-any.whl", hash = "sha256:3beb671c9ec44ffb817fad2780667f172bd1c067dbcabad6268ce39a81335f45"}, + {file = "django_debug_toolbar-4.4.6.tar.gz", hash = "sha256:36e421cb908c2f0675e07f9f41e3d1d8618dc386392ec82d23bcfcd5d29c7044"}, ] [package.dependencies] @@ -1805,13 +1805,13 @@ tenacity = ">=8.1.0,<8.4.0 || >8.4.0,<9.0.0" [[package]] name = "langchain-core" -version = "0.2.12" +version = "0.2.13" description = "Building applications with LLMs through composability" optional = false python-versions = "<4.0,>=3.8.1" files = [ - {file = "langchain_core-0.2.12-py3-none-any.whl", hash = "sha256:319d0989ffbb53b2365ba3ed8d1ae15ccdacf338163b7514155dba90cd16729f"}, - {file = "langchain_core-0.2.12.tar.gz", hash = "sha256:a55f3ee8005c3b4a28f434d646b268acde86d88877b7ae8e077e3ad89605e7d3"}, + {file = "langchain_core-0.2.13-py3-none-any.whl", hash = "sha256:b9f52003bfda464975413751737c7e6781781398ba14d9aa6c604046d6fc0c6f"}, + {file = "langchain_core-0.2.13.tar.gz", hash = "sha256:a5d8b436639b6aa0955f6db287beb4030c46a8e85951ba3873739c4d47645ee1"}, ] [package.dependencies] @@ -2283,13 +2283,13 @@ signedtoken = ["cryptography (>=3.0.0)", "pyjwt (>=2.0.0,<3)"] [[package]] name = "openai" -version = "1.35.12" +version = "1.35.13" description = "The official Python library for the openai API" optional = false python-versions = ">=3.7.1" files = [ - {file = "openai-1.35.12-py3-none-any.whl", hash = "sha256:c3a8c9be524480ae32a3212b78d90786b112844eb8f96235ebb8bc5f35cb1e72"}, - {file = "openai-1.35.12.tar.gz", hash = "sha256:2dd0f1d9ff34bf6bc89d15246245369d281b2ba01ae07eae5555a00da4b51e0b"}, + {file = "openai-1.35.13-py3-none-any.whl", hash = "sha256:36ec3e93e0d1f243f69be85c89b9221a471c3e450dfd9df16c9829e3cdf63e60"}, + {file = "openai-1.35.13.tar.gz", hash = "sha256:c684f3945608baf7d2dcc0ef3ee6f3e27e4c66f21076df0b47be45d57e6ae6e4"}, ] [package.dependencies] @@ -3409,13 +3409,13 @@ websocket-client = ">=1.8.0" [[package]] name = "sentry-sdk" -version = "2.8.0" +version = "2.9.0" description = "Python client for Sentry (https://sentry.io)" optional = false python-versions = ">=3.6" files = [ - {file = "sentry_sdk-2.8.0-py2.py3-none-any.whl", hash = "sha256:6051562d2cfa8087bb8b4b8b79dc44690f8a054762a29c07e22588b1f619bfb5"}, - {file = "sentry_sdk-2.8.0.tar.gz", hash = "sha256:aa4314f877d9cd9add5a0c9ba18e3f27f99f7de835ce36bd150e48a41c7c646f"}, + {file = "sentry_sdk-2.9.0-py2.py3-none-any.whl", hash = "sha256:0bea5fa8b564cc0d09f2e6f55893e8f70286048b0ffb3a341d5b695d1af0e6ee"}, + {file = "sentry_sdk-2.9.0.tar.gz", hash = "sha256:4c85bad74df9767976afb3eeddc33e0e153300e887d637775a753a35ef99bee6"}, ] [package.dependencies] @@ -4317,4 +4317,4 @@ multidict = ">=4.0" [metadata] lock-version = "2.0" python-versions = "3.11.2" -content-hash = "48e6feb101e5347b7e9f7903910412a30c574d128e22f263ee0a362c870f47ee" +content-hash = "3e9c4ddd4bc8b29561b7eb63a41c85e376aa8b564fd8e4cf5c5fdd2b899c24fd" diff --git a/pyproject.toml b/pyproject.toml index dcd7b4ee3..83ec5a7d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ tweepy = "^4.8.0" Unidecode = "^1.3.8" user-agents = "^2.2.0" whitenoise = "^6.7.0" -django-debug-toolbar = "^4.4.5" +django-debug-toolbar = "^4.4.6" selenium = "^4.22.0" pylibmc = "^1.6.1" psycopg2-binary = "^2.9.9" @@ -63,18 +63,18 @@ django-filter = "^22.1" webdriver-manager = "^4.0.1" pillow = "^10.4.0" chromedriver-autoinstaller = "^0.6.4" -sentry-sdk = "^2.7.1" +sentry-sdk = "^2.9.0" bitcash = "^1.0.2" pydantic = "^2.7.3" pydantic_core = "^2.18.4" langchain = "^0.2.1" langchain-community = "^0.2.1" -langchain-core = "^0.2.11" +langchain-core = "^0.2.13" langchain-openai = "^0.1.14" unstructured = "^0.14.4" Markdown = "^3.6" faiss-cpu = "^1.8.0" -openai = "^1.35.10" +openai = "^1.35.13" psutil = "^5.9.8" [tool.poetry.group.dev.dependencies] diff --git a/website/static/gif/loader.gif b/website/static/gif/loader.gif new file mode 100644 index 000000000..a0cb5beb3 Binary files /dev/null and b/website/static/gif/loader.gif differ diff --git a/website/templates/base.html b/website/templates/base.html index 81d9e8560..860ff2344 100644 --- a/website/templates/base.html +++ b/website/templates/base.html @@ -23,8 +23,6 @@ content="{% block keywords %}{% env 'PROJECT_NAME' %}, bug, tracking, company, easy{% endblock keywords %}"> - {% endblock metaTags %} - diff --git a/website/templates/includes/_like_dislike_share.html b/website/templates/includes/_like_dislike_share.html index 79097e9a4..ecb67dc64 100644 --- a/website/templates/includes/_like_dislike_share.html +++ b/website/templates/includes/_like_dislike_share.html @@ -18,6 +18,121 @@ {% include "./_like_dislike_widget.html" with device="desktop" %} +{% comment %} list of flags modal {% endcomment %} + + + diff --git a/website/templates/includes/_like_dislike_widget.html b/website/templates/includes/_like_dislike_widget.html index 3da049ad7..c3ccbc7f2 100644 --- a/website/templates/includes/_like_dislike_widget.html +++ b/website/templates/includes/_like_dislike_widget.html @@ -152,14 +152,13 @@ target="_blank" rel="noopener noreferrer" class="rounded-2xl border-[1px] shadow-sm mb-3 cursor-pointer relative transform-[0] font-medium text-[#3e3446] !bg-white border-black-2 text-[1.1rem] leading-4 p-4">Tweet   - - {% if request.user.is_superuser or request.user == object.user and github_link == "empty" %} - Create Issue - {% else %} + {% if github_link != "empty" %} GitHub Link + {% else %} + Create Issue {% endif %}   - {% else %} - - {% endif %} - - - -
-
Bug Type: {{ object.get_label_display }}
-
-
- Status: {{ object.status }} -
-
Added on: {{ object.created }}
- {% if object.cve_id %} -
CVE ID: {{ object.cve_id }}
- {% endif %} - {% if object.cve_score %} -
CVE Score: {{ object.cve_score }}
- {% endif %} -
- Submitted: - {% if object.hunt %} - {{ object.hunt.name }} - {% else %} - Independently - {% endif %} -
-
- -
- Domain Logo -
- -
- Issues Reported: {{ issue_count }} -
- -
-
-
- {% if browser_family %} - {% with "img/browser-logos/"|add:browser_family|add:"/"|add:browser_family|add:"_64x64.png"|lower as image_static %} -
- Browser Image -
- {% endwith %} - {% endif %} -
-
- Browser Version: {{ browser_version }} -
-
- Operating System: {{ os_family }} -
-
- OS Version: - {% if os_version %} - {{ os_version }} - {% else %} - Unknown - {% endif %} - -
-
-
- - - -
-
- {% if object.markdown_description %} -

Issue Description

-

{{ object.markdown_description }}

- {% endif %} -
-
{% include "comments2.html" %}
- - -{% comment %} list of flags modal {% endcomment %} -