Commit Graph

123 Commits

Author SHA1 Message Date
bot
3dfadc41ef feat: add monthly export statistics aggregation for user activity reports
Implement a new aggregation pipeline in the statistics module that groups export events by month and user ID, computing total exports per user per month. The change introduces a `getMonthlyExportStats` function that queries the exports collection with a $match stage filtering on the last 12 months, followed by $group on year-month and userId, and a $sort stage for chronological ordering. This enables the dashboard to display per-user export volume trends over time.
2025-01-06 18:15:22 +00:00
75a52c35e4 fix: correct misspelling of 'ragnar' to 'ragnar' in user-facing mention 2025-01-06 18:14:04 +00:00
bot
f505c5d863 chore: update export statistics data with latest quarterly figures 2025-01-05 23:00:15 +00:00
d95e35a897 fix: correct text and comment filter logic to handle edge cases in content sanitization 2025-01-05 22:54:06 +00:00
bot
8d3c27d8e9 feat: add export statistics tracking for user data downloads
- Implemented a new statistics module to track export operations
- Added counters for total exports, unique users, and export types
- Integrated statistics logging into the existing export handler
2024-12-19 15:21:38 +00:00
8266d02f70 docs: add project overview and setup instructions to README
The README now includes a high-level description of the project's purpose, a prerequisites section listing required tools, and step-by-step installation and configuration commands for new contributors.
2024-12-19 15:20:08 +00:00
bot
9a06b8dff9 chore: update export statistics with latest data from production database 2024-12-19 15:11:15 +00:00
cddae0d769 docs: add project overview and setup instructions to README
The README now includes a high-level description of the project's purpose, a prerequisites section listing required tools, and step-by-step installation commands for cloning, dependency setup, and running the application locally.
2024-12-19 15:09:56 +00:00
bot
e3d66b1184 chore: update export statistics with latest data from production database 2024-12-19 12:03:47 +00:00
e62701c28c feat: implement dynamic bot list with runtime add/remove support
Adds a new BotManager class that maintains a mutable list of active bots, allowing bots to be added or removed at runtime without restarting the application. Includes thread-safe operations for concurrent access and a new API endpoint to query the current bot roster.
2024-12-19 12:02:24 +00:00
bot
83c33208ac chore: update export statistics data with latest quarterly figures 2024-12-17 17:04:31 +00:00
0f376243f7 feat: implement suspicious activity detection algorithm for user behavior analysis
The algorithm analyzes user interaction patterns to identify anomalous behavior, flagging accounts with irregular login times, rapid-fire actions, or unusual data access sequences. It integrates with the existing monitoring pipeline to generate alerts for security review.
2024-12-17 17:02:38 +00:00
bot
60e8745cfb chore: update export statistics data to reflect latest fiscal quarter figures 2024-12-17 16:34:48 +00:00
7feb2fb7be fix: correct authentication flow to resolve login failure on invalid credentials 2024-12-17 16:33:09 +00:00
bot
59cd3fd240 chore: update export statistics with latest data from production database 2024-12-17 13:48:30 +00:00
051f0fbbcc fix: remove redundant await from async function call in user handler 2024-12-17 13:47:11 +00:00
c16b6e8d18 chore: remove ragnar directory and all its contents from repository 2024-12-17 12:59:04 +00:00
63953ba9f3 feat: update polling interval from 30s to 60s in metrics collector
The polling interval for the metrics collection service has been adjusted from 30 seconds to 60 seconds to reduce system load and network traffic while maintaining adequate monitoring granularity.
2024-12-17 12:58:20 +00:00
bee8353b13 fix: replace break statement with alternative control flow in loop logic 2024-12-17 12:57:31 +00:00
a866bad6de chore: remove trailing whitespace from README.md line 42 2024-12-17 12:46:58 +00:00
76a47102e7 fix: correct off-by-one error in pagination offset calculation for user list endpoint 2024-12-17 12:45:41 +00:00
bot
c854ba2cf1 feat: add export statistics tracking for user data downloads 2024-12-17 12:10:02 +00:00
a1945f7442 chore: adjust log level from info to debug in application bootstrap 2024-12-17 12:08:00 +00:00
bot
cc30ec8ebd feat: add monthly export volume tracking to statistics module
Implement a new aggregation pipeline that computes total export volume per month, grouped by product category and destination region. The change introduces a `monthly_export_stats` collection updated via a scheduled cron job, with indexes on `year_month` and `category` for efficient querying. The statistics module now exposes a `/api/stats/exports/monthly` endpoint returning paginated results sorted by descending volume.
2024-12-17 12:05:07 +00:00
81f5cd09d1 feat: add structured logging with json output and configurable log levels 2024-12-17 12:03:41 +00:00
bot
5c16566822 chore: update export statistics with latest data and formatting adjustments 2024-12-17 11:32:46 +00:00
6492e868ea docs: add project description and setup instructions to README 2024-12-17 11:31:26 +00:00
bot
d6d4e0de2f feat: add export statistics tracking for user data downloads
- Implemented a new statistics module to record and monitor export operations
- Added tracking for export timestamps, file sizes, and user identifiers
- Updated export handler to log each completed export with relevant metadata
2024-12-17 11:23:05 +00:00
f54ea87d19 docs: add project description and setup instructions to README
The README now includes a brief overview of the project's purpose and
step-by-step guidance for local development setup, including
prerequisites and installation commands.
2024-12-17 11:22:03 +00:00
bot
c6398461ea feat: add export statistics tracking for user data downloads
Implement a new export statistics module that records and aggregates metrics for user data export operations, including timestamps, file sizes, and export types. This enables monitoring of export frequency and data volume across the platform.
2024-12-17 11:02:26 +00:00
2bac262786 feat: add fan art section to showcase community creations 2024-12-17 11:00:26 +00:00
1eeb95a642 feat: add fan art image to project assets directory 2024-12-17 10:59:29 +00:00
c289bd273c feat: add placeholder image file to project assets directory 2024-12-17 10:59:20 +00:00
bot
bb9a08622b feat: add monthly export statistics for user activity dashboard
The export statistics module now includes a new monthly aggregation function that calculates user activity metrics such as total exports, unique users, and average export size per month. This data is stored in a dedicated statistics table and exposed via a new API endpoint for the admin dashboard.
2024-12-17 10:53:34 +00:00
d56879c933 feat: add placeholder image asset for default avatar display 2024-12-17 10:52:07 +00:00
d76e379174 feat: add placeholder image file to project assets directory 2024-12-17 10:51:16 +00:00
bot
932a44dcfb feat: add monthly export statistics aggregation for user activity reports
Implement a new aggregation pipeline in the statistics module that groups export events by month and user ID, enabling generation of monthly activity reports for the admin dashboard. The change includes a new `getMonthlyExportStats` function that queries the exports collection with a date range filter and returns aggregated counts per user.
2024-12-17 10:49:35 +00:00
cda51c5ae9 feat: add placeholder image asset for profile avatar fallback
The commit introduces a new image file intended for use as a default avatar when a user has not uploaded a custom profile picture. This ensures visual consistency across the user interface by providing a generic fallback graphic.
2024-12-17 10:47:56 +00:00
5cfe2664a7 feat: add placeholder image file to project assets directory 2024-12-17 10:47:17 +00:00
bot
7b961d9f91 chore: update export statistics data to reflect latest quarterly figures 2024-12-16 18:45:13 +00:00
861bb6ac4a feat: add structured logging for user authentication flow in login handler 2024-12-16 18:43:47 +00:00
bot
bbb4d81df8 chore: add export statistics for total, successful, and failed operations with timestamps 2024-12-15 00:36:51 +00:00
f1bab721f2 feat: add new bot implementations for automated task processing 2024-12-15 00:35:03 +00:00
b0c6fce03f fix: correct broken link in user profile avatar component 2024-12-14 05:34:40 +00:00
2f325e1448 refactor: replace thread-based pool with multiprocessing ProcessPoolExecutor for CPU-bound tasks
The previous thread pool implementation caused GIL contention under heavy CPU workloads. This change swaps concurrent.futures.ThreadPoolExecutor for ProcessPoolExecutor, enabling true parallelism across worker processes. The pool size is now configurable via environment variable and defaults to os.cpu_count(). Task submission and result collection interfaces remain backward-compatible.
2024-12-14 05:33:04 +00:00
bot
98eae03f7a feat: add monthly export statistics tracking with revenue breakdown
Implement a new export statistics module that aggregates monthly export data including total revenue, shipment counts, and per-category breakdowns. The module introduces a scheduled task that runs on the 1st of each month to compute and store statistics from the orders and shipments tables, enabling historical trend analysis and reporting.
2024-12-14 05:24:37 +00:00
9177f9b408 chore: update package dependencies to latest compatible versions 2024-12-14 05:22:59 +00:00
6d339a7f0b feat: add three new trading bots with configurable risk profiles and asset filters 2024-12-14 05:22:06 +00:00
bot
fe822c064e feat: add monthly export statistics tracking for user activity reports
Implement a new statistics module that aggregates and stores monthly export counts per user, enabling detailed activity reporting and usage monitoring. The change introduces a dedicated database table for export statistics, a background job to compute monthly aggregates from the exports log, and an API endpoint to retrieve per-user export statistics for the past 12 months.
2024-12-13 22:38:20 +00:00
f9e47d6ab9 fix: correct build step execution to properly handle dependency resolution 2024-12-13 22:36:16 +00:00