Skip to content

Commit 95dc670

Browse files
Apply fixes from pre-commit hooks
1 parent ddca92e commit 95dc670

27 files changed

+31
-30
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ repos:
3232
- id: djlint
3333
args:
3434
- --reformat
35-
- --lint
35+
- --lint

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
<img alt="Views" src="https://blt.owasp.org/projects/blt/badge"></a>
88

99
------
10-
Everything is on our <a href="https://blt.owasp.org">homepage</a>
10+
Everything is on our <a href="https://blt.owasp.org">homepage</a>

company/static/company/js/hunt_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,4 +349,4 @@ function getCookie(name) {
349349
}
350350
}
351351
return cookieValue;
352-
}
352+
}

website/documents/BltAboutUs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ Organizations
7373
We want everyone to love your website.
7474
You want to keep your customers happy by giving them a consistent bug-free user experience. BLT offers monthly Bug Bounties through 4 different subscription plans to help you achieve this.
7575

76-
BLT is 100% free to use, Open Source and a non-commercial, not for profit initiative.
76+
BLT is 100% free to use, Open Source and a non-commercial, not for profit initiative.

website/documents/BltBLTV.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ The component is designed with several features to enhance performance and user
4040
- **Optimized Loading**: The page is optimized to load quickly, allowing users to browse and play videos without delay.
4141
- **Responsive Design**: The layout is fully responsive, adapting to different screen sizes and devices to ensure a consistent and accessible experience across desktops, tablets, and mobile devices.
4242
- **Lazy Loading**: Video thumbnails and other media elements are loaded as needed, reducing initial load times and improving overall performance.
43-
- **Efficient Data Retrieval**: Uses efficient data retrieval techniques to fetch and display video tutorials quickly, minimizing wait times and enhancing user satisfaction.
43+
- **Efficient Data Retrieval**: Uses efficient data retrieval techniques to fetch and display video tutorials quickly, minimizing wait times and enhancing user satisfaction.

website/documents/BltChangePassword.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ The layout is simple and focused, ensuring users can easily update their passwor
4141
- **Minimal Distractions**: The focused design ensures users can complete the task quickly without unnecessary distractions or elements.
4242

4343
#### URL Mention
44-
This detailed information pertains to the "Change Password" page of the BugLog tool, accessible at: [https://blt.owasp.org/accounts/password/change/](https://blt.owasp.org/accounts/password/change/).
44+
This detailed information pertains to the "Change Password" page of the BugLog tool, accessible at: [https://blt.owasp.org/accounts/password/change/](https://blt.owasp.org/accounts/password/change/).

website/documents/BltCommunityMembers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ The component is designed with several features to enhance performance and user
3939
- **Optimized Loading**: The page is optimized to load quickly, allowing users to browse member profiles without delay.
4040
- **Responsive Design**: The layout is fully responsive, adapting to different screen sizes and devices to ensure a consistent and accessible experience across desktops, tablets, and mobile devices.
4141
- **Lazy Loading**: Member photos and other media elements are loaded as needed, reducing initial load times and improving overall performance.
42-
- **Efficient Data Retrieval**: Uses efficient data retrieval techniques to fetch and display member profiles quickly, minimizing wait times and enhancing user satisfaction.
42+
- **Efficient Data Retrieval**: Uses efficient data retrieval techniques to fetch and display member profiles quickly, minimizing wait times and enhancing user satisfaction.

website/documents/BltCompanyDashboard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ The dashboard is designed with several features to enhance performance and user
4242
- **Optimized Loading**: The page is optimized to load quickly, with asynchronous loading of non-critical elements to ensure that users can start interacting with the content without delay.
4343
- **Responsive Design**: The layout is fully responsive, adapting to different screen sizes and devices, ensuring a consistent and accessible experience across desktops, tablets, and mobile devices.
4444
- **Lazy Loading**: Bug report items and other media elements are loaded as needed, reducing initial load times and improving overall performance.
45-
- **Efficient Data Retrieval**: The page uses efficient data retrieval techniques to fetch and display bug reports quickly, minimizing wait times and enhancing user satisfaction.
45+
- **Efficient Data Retrieval**: The page uses efficient data retrieval techniques to fetch and display bug reports quickly, minimizing wait times and enhancing user satisfaction.

website/documents/BltCompanyListingPage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ The page is designed with several features to enhance performance and user exper
3939
- **Optimized Loading**: The page is optimized to load quickly, with asynchronous loading of non-critical elements to ensure that users can start interacting with the content without delay.
4040
- **Responsive Design**: The layout is fully responsive, adapting to different screen sizes and devices, ensuring a consistent and accessible experience across desktops, tablets, and mobile devices.
4141
- **Lazy Loading**: Company logos and other media elements are loaded as needed, reducing initial load times and improving overall performance.
42-
- **Efficient Data Retrieval**: The page uses efficient data retrieval techniques to fetch and display company details quickly, minimizing wait times and enhancing user satisfaction.
42+
- **Efficient Data Retrieval**: The page uses efficient data retrieval techniques to fetch and display company details quickly, minimizing wait times and enhancing user satisfaction.

website/documents/BltCompanyScoreboard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ The scoreboard is designed with several features to enhance performance and user
4242
- **Optimized Loading**: The page is optimized to load quickly, with asynchronous loading of non-critical elements to ensure that users can start interacting with the content without delay.
4343
- **Responsive Design**: The layout is fully responsive, adapting to different screen sizes and devices, ensuring a consistent and accessible experience across desktops, tablets, and mobile devices.
4444
- **Lazy Loading**: Company logos and other media elements are loaded as needed, reducing initial load times and improving overall performance.
45-
- **Efficient Data Retrieval**: The page uses efficient data retrieval techniques to fetch and display company metrics quickly, minimizing wait times and enhancing user satisfaction.
45+
- **Efficient Data Retrieval**: The page uses efficient data retrieval techniques to fetch and display company metrics quickly, minimizing wait times and enhancing user satisfaction.

website/documents/BltDetails.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ Anyone interested in contributing to the OWASP BLT project can:
2525
- **Participate in Bug Hunts**: Join company-sponsored bug hunts to earn rewards.
2626
- **Contribute to Development**: Follow the contribution guidelines available on the OWASP website to get started with development and enhancement of BLT.
2727

28-
BLT means Bug Logging Tool project from OWASP foundation .
28+
BLT means Bug Logging Tool project from OWASP foundation .

website/documents/BltDetailsFromOwasp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,4 +429,4 @@ Corporate Supporters
429429

430430
G@ surerowr Bloomberg’
431431
Fa CUARDSQUARE BIONIC
432-
4:SailPoint root
432+
4:SailPoint root

website/documents/BltGlobalLeaderboard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ The leaderboard is designed with several features to enhance performance and use
4040
- **Optimized Loading**: The page is optimized to load quickly, with asynchronous loading of non-critical elements to ensure that users can start interacting with the content without delay.
4141
- **Responsive Design**: The layout is fully responsive, adapting to different screen sizes and devices, ensuring a consistent and accessible experience across desktops, tablets, and mobile devices.
4242
- **Lazy Loading**: User avatars and other media elements are loaded as needed, reducing initial load times and improving overall performance.
43-
- **Efficient Data Retrieval**: The page uses efficient data retrieval techniques to fetch and display user rankings quickly, minimizing wait times and enhancing user satisfaction.
43+
- **Efficient Data Retrieval**: The page uses efficient data retrieval techniques to fetch and display user rankings quickly, minimizing wait times and enhancing user satisfaction.

website/documents/BltInvite.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ Users interact with this component by entering an email address in the provided
3434
### Detailed Information for Chatbot
3535
To ensure the chatbot can assist users effectively, include details such as the URL of the invite page (https://blt.owasp.org/invite/) and descriptions of the error messages users might encounter. The chatbot should be able to guide users through the process of entering an email address and clicking the "Invite" button, as well as troubleshooting common issues like invalid email formats or server errors.
3636

37-
By understanding these detailed aspects of the invite page UI component, the chatbot can provide comprehensive assistance, ensuring users can easily invite others to the BugLog tool application.
37+
By understanding these detailed aspects of the invite page UI component, the chatbot can provide comprehensive assistance, ensuring users can easily invite others to the BugLog tool application.

website/documents/BltLoginPage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ The Login Page has robust error handling mechanisms to ensure that users provide
4444
Several features of the Login Page enhance performance and user experience:
4545
- **Optimized Loading**: The page is designed to load quickly, ensuring that users can start entering their credentials without waiting for all elements to load.
4646
- **Responsive Design**: The form is fully responsive, adapting to different screen sizes and devices. This ensures that users can easily log in on desktops, tablets, and mobile devices.
47-
- **Form Persistence**: If users accidentally navigate away from the page, their entered credentials are temporarily saved, preventing data loss and enhancing the user experience by reducing the need to re-enter information.
47+
- **Form Persistence**: If users accidentally navigate away from the page, their entered credentials are temporarily saved, preventing data loss and enhancing the user experience by reducing the need to re-enter information.

website/documents/BltSignUpPage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ The Sign Up Page includes robust error handling mechanisms to ensure that users
4141
Several features of the Sign Up Page enhance performance and user experience:
4242
- **Optimized Loading**: The page is designed to load quickly, allowing users to start entering their information without waiting for all elements to load.
4343
- **Responsive Design**: The form is fully responsive, adapting to different screen sizes and devices. This ensures that users can easily register on desktops, tablets, and mobile devices.
44-
- **Form Persistence**: If users accidentally navigate away from the page, their entered information is temporarily saved, preventing data loss and enhancing the user experience by reducing the need to re-enter information.
44+
- **Form Persistence**: If users accidentally navigate away from the page, their entered information is temporarily saved, preventing data loss and enhancing the user experience by reducing the need to re-enter information.

website/documents/BltStartaBughunt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ Users interact with this component by filling out a form to start a new bug hunt
4343
- **Responsive Design**: The form is designed to be responsive, ensuring it works well on various devices, including desktops, tablets, and smartphones.
4444
- **Fast Load Time**: The component is optimized for fast load times, ensuring a smooth user experience even on slower internet connections.
4545
- **Client-Side Validation**: Basic form validation is performed on the client side, reducing the need for server round trips and enhancing performance.
46-
- **Efficient File Upload**: The file upload mechanism is efficient, allowing users to drag and drop files or click to upload, with progress indicators for larger files.
46+
- **Efficient File Upload**: The file upload mechanism is efficient, allowing users to drag and drop files or click to upload, with progress indicators for larger files.

website/documents/BltStats.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ The component is designed with several features to enhance performance and user
4343
- **Optimized Loading**: The page is optimized to load quickly, allowing users to access the statistics without delay.
4444
- **Responsive Design**: The layout is fully responsive, adapting to different screen sizes and devices to ensure a consistent and accessible experience across desktops, tablets, and mobile devices.
4545
- **Efficient Data Retrieval**: Uses efficient data retrieval techniques to fetch and display statistics quickly, minimizing wait times and enhancing user satisfaction.
46-
- **Scalability**: The component is designed to handle a large amount of statistical data, maintaining performance and user experience even with extensive content.
46+
- **Scalability**: The component is designed to handle a large amount of statistical data, maintaining performance and user experience even with extensive content.

website/documents/BltTerms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ You expressly understand and agree that BLT shall not be liable for any direct,
9191

9292
The failure of BLT to exercise or enforce any right or provision of the Terms of Service shall not constitute a waiver of such right or provision. The Terms of Service constitutes the entire agreement between you and BLT and govern your use of the Service, superseding any prior agreements between you and BLT (including, but not limited to, any prior versions of the Terms of Service). You agree that these Terms of Service and Your use of the Service are governed under California law.
9393

94-
Questions about the Terms of Service should be sent to blt-support@owasp.org.
94+
Questions about the Terms of Service should be sent to blt-support@owasp.org.

website/documents/BltTrademarksSearch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ The Trademarks Search component includes mechanisms to handle errors and provide
3636
The component is designed with several features to enhance performance and user experience:
3737
- **Optimized Loading**: The page is optimized to load quickly, allowing users to start searching without delay.
3838
- **Responsive Design**: The layout is fully responsive, adapting to different screen sizes and devices to ensure a consistent and accessible experience across desktops, tablets, and mobile devices.
39-
- **Efficient Data Retrieval**: Uses efficient data retrieval techniques to fetch and display trademark information quickly, minimizing wait times and enhancing user satisfaction.
39+
- **Efficient Data Retrieval**: Uses efficient data retrieval techniques to fetch and display trademark information quickly, minimizing wait times and enhancing user satisfaction.

website/documents/BltTrademarksSearchResults.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ The component is designed with several features to enhance performance and user
3939
- **Optimized Loading**: The page is optimized to load quickly, allowing users to view search results without delay.
4040
- **Responsive Design**: The layout is fully responsive, adapting to different screen sizes and devices to ensure a consistent and accessible experience across desktops, tablets, and mobile devices.
4141
- **Efficient Data Retrieval**: Uses efficient data retrieval techniques to fetch and display trademark information quickly, minimizing wait times and enhancing user satisfaction.
42-
- **Pagination**: Ensures efficient navigation through multiple pages of results, maintaining performance and user experience even with large datasets.
42+
- **Pagination**: Ensures efficient navigation through multiple pages of results, maintaining performance and user experience even with large datasets.

website/documents/BltUserProfile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ The layout is clean and straightforward, with a focus on usability. The profile
3232
2. **Efficient Data Loading**: Data related to user activities and bug reports are fetched asynchronously to enhance page load performance.
3333
3. **Responsive Design**: The profile page is designed to be responsive, ensuring it works well on both desktop and mobile devices.
3434

35-
Overall, the profile page on BLT is designed to provide users with a comprehensive and user-friendly interface for managing their bug reporting activities and personal information on the platform. The clean layout, accessibility features, and efficient performance optimizations contribute to a positive user experience.
35+
Overall, the profile page on BLT is designed to provide users with a comprehensive and user-friendly interface for managing their bug reporting activities and personal information on the platform. The clean layout, accessibility features, and efficient performance optimizations contribute to a positive user experience.

website/documents/BltWeeklyActivityOfContributor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ The component is designed with several features to enhance performance and user
4141
- **Optimized Loading**: The page is optimized to load quickly, allowing users to view their weekly activity summary without delay.
4242
- **Responsive Design**: The layout is fully responsive, adapting to different screen sizes and devices to ensure a consistent and accessible experience across desktops, tablets, and mobile devices.
4343
- **Efficient Data Retrieval**: Uses efficient data retrieval techniques to fetch and display activity data quickly, minimizing wait times and enhancing user satisfaction.
44-
- **Scalability**: The table is designed to handle a large number of users and activity metrics, maintaining performance and user experience even with extensive data.
44+
- **Scalability**: The table is designed to handle a large number of users and activity metrics, maintaining performance and user experience even with extensive data.

website/management/commands/update_projects.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import base64
2+
23
import requests
3-
from django.conf import settings
44
from django.core.management.base import BaseCommand
55
from django.utils.dateparse import parse_datetime
66

@@ -56,14 +56,16 @@ def handle(self, *args, **kwargs):
5656
response = requests.get(url, headers=headers)
5757
if response.status_code == 200:
5858
readme_data = response.json()
59-
readme_content_encoded = readme_data.get("content", "")
59+
readme_content_encoded = readme_data.get("content", "")
6060

6161
# Decode the Base64 content
6262
try:
6363
readme_content = base64.b64decode(readme_content_encoded).decode("utf-8")
64-
project.readme_content = readme_content
64+
project.readme_content = readme_content
6565
except (base64.binascii.Error, UnicodeDecodeError) as e:
66-
self.stdout.write(self.style.WARNING(f"Failed to decode README for {repo_name}: {e}"))
66+
self.stdout.write(
67+
self.style.WARNING(f"Failed to decode README for {repo_name}: {e}")
68+
)
6769
project.readme_content = ""
6870
else:
6971
self.stdout.write(

website/migrations/0152_project_documentation_url_project_issue_tracker_url_and_more.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
class Migration(migrations.Migration):
7-
87
dependencies = [
98
("website", "0151_remove_project_latest_release"),
109
]

website/static/img/tomato-svgrepo-com.svg

Lines changed: 1 addition & 1 deletion
Loading

website/static/js/jquery.sparkline.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)