-
feat(settings): Add
SettingsManager
class to manage Django logging configurations. (3c9e9a5)- Introduced a
SettingsManager
class to handle and organize all logging configurations. - Improved
get_config
method to fetch logging settings fromSettingsManager
for better readability and performance.
- Introduced a
-
feat(commands): Update commands to fetch
log_dir
fromSettingsManager
. (4c4e9f5)- Refactored commands to dynamically fetch the
log_dir
from the newSettingsManager
.
- Refactored commands to dynamically fetch the
- update(console): Enhance colors in the console colorizer and add new placeholders. (d208ebc)
- Updated the colorizer utility to support additional colors and placeholders for improved console output formatting.
- fix(logging): Fixed minor issues related to logging configurations being fetched incorrectly.
- Merge PR #126: Update console colors and add new placeholders. (2961228)
- Merge PR #125: Add
SettingsManager
and refactor commands. (a630d4c)
- Update(codebase): General updates and cleanup across the project. (43ef34d)
-
feat(LogiBoard): Add drag-and-drop support for ZIP file uploads. (e86dd14)
- Added drag-and-drop functionality for file uploads in the #drop-zone area.
- Implemented ZIP file validation with interactive UI.
-
feat(formatters): Add JSON, XML, and FLAT formatters. (509e67e, 1cb6639, bf017c1)
- JSONFormatter: Converts log records into structured JSON format.
- XMLFormatter: Provides XML formatted log records with nested data.
- FLATFormatter: Formats log fields as flat key-value pairs.
-
feat(contextvar): Add ContextVarManager class for structured context management. (bae37d0)
- Introduced methods for binding, unbinding, and managing context variables for structured logging.
-
feat(middleware): Add MonitorLogSizeMiddleware and RequestLogMiddleware. (4044a39, 2c004df)
- MonitorLogSizeMiddleware: Periodically checks log directory size and sends alerts if limits are exceeded.
- RequestLogMiddleware: Logs details about each HTTP request, including SQL queries executed during the request.
-
feat(commands): Add Django management commands for monitoring logs. (980f28d, d38d3e4)
- MonitorLogSizeCommand: Checks log directory size and sends admin email alerts.
- Pretty JSON/XML Commands: Reformat log files into prettier formats for better readability.
-
feat(Static): Add JavaScript functionality for handling ZIP uploads in LogiBoard. (3c1bcf9)
- Enhanced log management through a user-friendly drag-and-drop UI.
-
fix(validators): Add validation for log file formats and extra log files configuration. (47ebea4)
- Ensured correct configuration of log file formats and extra log settings.
-
fix(checks): Correct import typos in middleware and formatters. (3732fc7)
- refactor(middleware): Refactor RequestLogMiddleware for asynchronous support and SQL query logging. (2c004df)
-
tests(contextvar): Add tests for ContextVariableManager. (8cb8b43)
- Verified correct binding, unbinding, and merging of context variables.
-
tests(middleware): Add comprehensive tests for middleware and formatters. (4754cd9)
- docs: Update README and RST documentation to cover new features. (17880ad, 01d3fe2)
- Included new features such as context management, formatters, and middleware in the docs.
- Merge PR #122: Improve LogiBoard UI and styles. (0cb7f51)
- Merge PR #101: Add FLATFormatter for key-value formatted logs. (aa38f42)
- fix(handlers): Use
localtime()
to respectTIME_ZONE
setting. (80322cf)- Replaced
timezone.now()
withtimezone.localtime()
inEmailHandler
to ensure the correct local time is used for log emails, matching the configuredTIME_ZONE
setting.
- Replaced
- docs(handlers): Add detailed docstrings to
EmailHandler
class and methods. (4dc7db1)- Added comprehensive docstrings to the
EmailHandler
class and its methods (emit
andrender_template
) to improve code documentation and readability.
- Added comprehensive docstrings to the
- tests(settings): Update test settings to include
TIME_ZONE
configuration. (94bc68a)- Updated test settings to include
TIME_ZONE
related configurations to ensure the correct behavior whentimezone.localtime()
is used inEmailHandler
.
- Updated test settings to include
- Update(SECURITY): Fix typo in Markdown file. (23a9260)
- Minor typo correction in the security documentation.
- Merge PR #89: Merged pull request
fix/email-timestamp
. (2cbeb3b)- Fixes an issue with incorrect timestamps in log emails by ensuring the timestamp respects the configured
TIME_ZONE
setting.
- Fixes an issue with incorrect timestamps in log emails by ensuring the timestamp respects the configured
- refactor(templates): Update email template with new design and improved styles. (a0902b7)
- Refactored the email template for log notifications to introduce a new design.
- Updated styles with a darker background and a lighter content area.
- Added branding with logo (LAZARUS), improved structure and readability, and modernized the look with rounded corners and shadows.
- refactor(handlers): Update template context data to include formatted date and time. (55f1ded)
- Added formatted date (
%d %B %Y
) and time (%I:%M %p
) to email context. - Ensured backward compatibility with existing log entries.
- Added formatted date (
- tests(email_handler): Update tests to return context in
test_email_handler
. (6e3e8cf)- Modified test cases for email handling to return the context for verification.
- docs: Update LICENSE file. (d3c00dd)
- Merge PR #87: Merged
develop
branch intomain
. (610ecbd) - Merge PR #86: Merged
refactor/email-template
branch intodevelop
. (b170f99)
- chore(pyproject): Added new markers to pytest configurations. (3a1448c)
- Updated pytest configuration with new markers for improved testing control.
-
docs(Usage): Add documentation for
execution_tracker
decorator. (2713377)- Added detailed usage instructions for the new
execution_tracker
decorator. - Provided examples and log output descriptions for different configurations.
- Added detailed usage instructions for the new
-
README: Update documentation for
execution_tracker
. (9272093)- Expanded README with detailed explanations of the
execution_tracker
decorator, including argument descriptions and usage examples.
- Expanded README with detailed explanations of the
-
feat(decorators): Add
execution_tracker
for performance metrics. (3650c32)- Added a decorator that logs execution time, database queries, and query thresholds for performance monitoring.
- Includes error handling and warnings when query thresholds are exceeded.
-
feat(validators): Add
integer_setting
validator inconfig_validators
. (890b2c1)- Introduced a validator to ensure positive integer settings, improving configuration validation in
execution_tracker
.
- Introduced a validator to ensure positive integer settings, improving configuration validation in
- tests(decorators): Add tests for
execution_tracker
decorator. (d6d3d8b)- Comprehensive test coverage for the
execution_tracker
decorator, including performance, query logging, and error handling scenarios.
- Comprehensive test coverage for the
- docs: Improve RST docs readability and highlights. (6b6c12a)
- Enhanced readability and formatting in reStructuredText documentation files for better user guidance.
- Merge PR #83: Merged
chore/pytest
into main. (e3b3beb) - Merge PR #82: Merged
update/docs
into main. (8647a37) - Merge PR #81: Merged
feat/execution-tracker
into main. (76b5621)
- ci: Added automated build and release process. (1a3bb2b)
- Added a GitHub Actions workflow for automated build and release.
- Workflow triggers on new tags matching the
v*.*.*
pattern. - Includes steps to set up Python, install dependencies, and build the package using Poetry.
- Automatically publishes the built package to PyPI using stored PyPI token secrets.
- Ensures the release job only runs after the 'test' job passes successfully.
-
docs: Updated badges in README MarkDown file. (c82f452)
- Added pylint badge to display code quality rating in
README.md
. - Updated pre-commit badge color.
- Added pylint badge to display code quality rating in
-
docs: Updated badges and references in RST docs. (c82f452)
- Added pylint badge to the documentation.
- Updated the settings section in various
.rst
files to reflect recent changes. - Enhanced documentation for better readability and accuracy.
- chore(pyproject): Added
python-semantic-release
configuration to automate versioning and releases. (945c648
) - docs: Added pre-commit badge to display status in documentation. (
f40a9e5
,7fca7b7
)
- docs: Updated badge URLs and paths in documentation for correct references. (
f40a9e5
,7fca7b7
)
- pyproject: Updated dependencies and development requirements in the
pyproject.toml
configuration. (945c648
)
- Merge PR #77: Merged the
chore/pyproject-config
branch into the main branch. (c2ebad3
)
Added
- tag_format in commitizen configuration in pyproject.toml
- changelog path in poetry urls
- Add FUNDING.yml file
Refactored
- Renamed setup_django into settings_configuration in tests dir
- Moved settings_configuration from fixtures into tests root dir
Refactored
- Updated badges path in README.md and installation guide
- Updated badges path in index.rst and installation guide
- Updated headers in RestructuredText documentations
Fixed
- Removed repository from tool.poetry
- Fixed read the docs path in poetry urls
- initial Release