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

changes in length of image name for hidden issues #1988

Merged
merged 24 commits into from
Mar 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 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
caf0f84
first commit
HanilJain Mar 10, 2024
165f6fd
Merge branch 'main' into issue-1987
HanilJain Mar 10, 2024
4ff1831
contributor color change
HanilJain Mar 10, 2024
ff7a98c
Merge branch 'issue-1987' of https://github.com/HanilJain/BLT into is…
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/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def update_issue_image_access(sender, instance, **kwargs):
if "hidden" not in old_name:
filename = screenshot.image.name
extension = filename.split(".")[-1]
name = filename[12:99] + "hidden" + str(uuid.uuid4()) + "." + extension
name = filename[:20] + "hidden" + str(uuid.uuid4())[:40] + "." + extension
default_storage.save(f"screenshots/{name}", screenshot.image)
default_storage.delete(old_name)
screenshot.image = f"screenshots/{name}"
Expand Down
6 changes: 3 additions & 3 deletions website/templates/contributor_stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
</thead>
<tbody>
{% for user, stats in user_stats.items %}
<tr class="bg-white border-b dark:bg-[#1d1d1e] dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600">
<tr class="bg-[#1d1d1e] border-b dark:bg-white 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">
{{ user }}
</th>
<td class="py-4 px-6 font-medium text-gray-900 whitespace-nowrap dark:text-white">
Expand Down Expand Up @@ -93,7 +93,7 @@
</td>
</tr>
{% empty %}
<tr class="bg-white dark:bg-[#f7f7f7]">
<tr class="bg-[#1d1d1e] dark:bg-[#f7f7f7]">
<td colspan="7" class="py-4 px-6 text-center">No activity found.</td>
</tr>
{% endfor %}
Expand Down
Loading