Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commented private issue #1990

Merged
merged 22 commits into from
Mar 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
071d9ca
issue-1821
HanilJain Feb 28, 2024
f82e6d2
Merge branch 'main' of https://github.com/HanilJain/BLT
HanilJain Feb 28, 2024
d04211d
Merge branch 'OWASP:main' into main
HanilJain Feb 28, 2024
b613336
Merge branch 'OWASP:main' into main
HanilJain Feb 28, 2024
d5c35b5
Merge branch 'OWASP:main' into main
HanilJain Feb 29, 2024
6aceffa
Merge branch 'OWASP-BLT:main' into main
HanilJain Mar 1, 2024
bef50da
Merge branch 'OWASP-BLT:main' into main
HanilJain Mar 1, 2024
84d9ae8
Merge branch 'OWASP-BLT:main' into main
HanilJain Mar 2, 2024
3215c63
Merge branch 'OWASP-BLT:main' into main
HanilJain Mar 3, 2024
7496f64
Merge branch 'OWASP-BLT:main' into main
HanilJain Mar 4, 2024
9cb98db
Merge branch 'OWASP-BLT:main' into main
HanilJain Mar 4, 2024
00401fd
Merge branch 'OWASP-BLT:main' into main
HanilJain Mar 5, 2024
4aec95e
Merge branch 'OWASP-BLT:main' into main
HanilJain Mar 5, 2024
ee91bfd
Merge branch 'OWASP-BLT:main' into main
HanilJain Mar 6, 2024
809ddad
Merge branch 'OWASP-BLT:main' into main
HanilJain Mar 7, 2024
65b6da7
Merge branch 'OWASP-BLT:main' into main
HanilJain Mar 7, 2024
d17ccf1
Merge branch 'OWASP-BLT:main' into main
HanilJain Mar 8, 2024
0ddcdd5
Merge branch 'OWASP-BLT:main' into main
HanilJain Mar 8, 2024
cb2326e
Merge branch 'OWASP-BLT:main' into main
HanilJain Mar 9, 2024
7d297a3
Merge branch 'OWASP-BLT:main' into main
HanilJain Mar 10, 2024
6897ba0
first commit
HanilJain Mar 10, 2024
635f842
Merge branch 'main' into issue-1989
HanilJain Mar 10, 2024
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
2 changes: 1 addition & 1 deletion website/templates/contributor_stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
{% for username, prs in user_stats %}
<tr class="bg-white border-b dark:bg-[#f7f7f7] dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600">
<th scope="row"
class="py-4 px-6 font-semibold text-gray-900 whitespace-nowrap dark:text-white">
class="py-4 px-6 font-semibold text-white whitespace-nowrap dark:text-gray-900">
{{ username }}
</th>
<td class="py-4 px-6">
Expand Down
11 changes: 4 additions & 7 deletions website/templates/report.html
Original file line number Diff line number Diff line change
Expand Up @@ -331,17 +331,14 @@ <h2 class="text-2xl font-semibold leading-7 text-gray-900">{% trans "ADD TEAM ME
</div>
<div class="w-full mt-6 flex flex-col md:flex-row items-center justify-between gap-x-6 ">
<div class="flex h-full justify-between items-center flex-col my-16 md:flex-row md:mt-0">
<!--
<label class="w-full ml-5 flex items-center text-2xl border-2 border-gray-200 rounded px-10">
<input id="default-checkbox"
type="checkbox"
name="private"
value="true"
class="w-7 h-7 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600">
<label for="default-checkbox"
class="w-full text-center ml-4 mt-6 text-3xl font-medium text-gray-900">
<input id="default-checkbox" type="checkbox" name="private" value="true" class="w-7 h-7 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600">
<label for="default-checkbox" class="w-full text-center ml-4 mt-6 text-3xl font-medium text-gray-900">
{% trans "Report Privately" %}
</label>
</label>
-->
<div class="captcha-form flex ml-10 flex-col w-full md:flex-row items-center">{{ captcha_form.captcha }}</div>
</div>
<div class="w-full flex justify-evenly md:justify-end">
Expand Down
2 changes: 1 addition & 1 deletion website/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ def create_issue(self, form):
obj.hunt = hunt

obj.domain = domain
obj.is_hidden = bool(self.request.POST.get("private", False))
# obj.is_hidden = bool(self.request.POST.get("private", False))
obj.save()

if not domain_exists and (self.request.user.is_authenticated or tokenauth):
Expand Down
Loading