Commit Graph

141 Commits

Author SHA1 Message Date
bot
56745eabde 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, calculates total exports per user, and stores the results in a dedicated `monthly_export_stats` collection. This enables efficient generation of user activity reports without scanning the full export log.
2025-01-11 18:25:22 +00:00
d1e7be8212 fix: make rant history static to prevent dynamic re-rendering issues 2025-01-11 18:24:06 +00:00
bot
4f2b9f1a50 chore: update export statistics to reflect corrected data aggregation logic in export_handler.py 2025-01-11 18:22:44 +00:00
91854c7b86 perf: replace linear search with binary search in user lookup handler
The user lookup function previously iterated over the entire user list sequentially,
causing O(n) latency for each request. This change replaces the linear scan with a
binary search on the sorted user ID array, reducing lookup time to O(log n) and
improving overall response throughput under high concurrency.
2025-01-11 18:21:25 +00:00
bot
3bf3b35185 feat: add monthly export statistics tracking for user activity reports
Implement a new statistics module that records and aggregates export operations per user on a monthly basis. The change introduces a dedicated database table `user_export_stats` with columns for user_id, month, and total_exports, along with an increment function called on each export completion. This enables future reporting features without impacting existing export logic.
2025-01-11 17:41:48 +00:00
5a16606e8b fix: reduce log verbosity and simplify server-side rate limiting logic 2025-01-11 17:40:17 +00:00
bot
5b18419a4e 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 pipeline filters events from the last 12 months, computes per-user export counts, and stores results in a dedicated statistics collection for efficient querying.
2025-01-10 00:12:11 +00:00
37c1eaca6c chore: reduce animation speed by 50% in main menu transition 2025-01-10 00:11:09 +00:00
bot
7efce9eb42 feat: add monthly export statistics aggregation for admin dashboard
The change introduces a new aggregation pipeline in the statistics module that computes monthly export counts grouped by file format and user role. It adds a `getMonthlyExportStats` function to the admin service, which queries the exports collection with a date range filter and returns structured data for the dashboard chart component. The function handles edge cases for empty result sets by returning a default zero-count object.
2025-01-10 00:03:56 +00:00
90efbfb17c fix: add try-catch block to handle database connection timeout in user query handler 2025-01-10 00:02:51 +00:00
bot
0b1ecfda52 feat: add monthly export totals to statistics dashboard query 2025-01-09 23:13:25 +00:00
57ab3cd0e9 perf: replace linear search with binary search in user lookup handler
The user lookup endpoint previously used a linear scan over the user list,
which degraded performance under high concurrency. This change replaces
the search algorithm with a binary search on the sorted user ID array,
reducing average lookup time from O(n) to O(log n). The user list is
maintained in sorted order via insertion sort on new user registration.
2025-01-09 23:12:24 +00:00
bot
c2a5da3e6a feat: add daily export statistics tracking with aggregated user metrics
Implement a new statistics module that records daily export counts, file sizes, and user activity metrics. The change introduces a scheduled aggregation job that runs at midnight to compute and store export statistics from the previous day's logs, enabling better monitoring of export usage patterns and system performance.
2025-01-09 23:04:40 +00:00
99cf0c611a fix: reduce request processing speed by adding artificial delay in handler 2025-01-09 23:03:24 +00:00
bot
b754502603 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 pipeline filters events from the last 12 months, computes per-user export counts, and stores results in a dedicated statistics collection.
2025-01-09 23:01:42 +00:00
59df5f7c8a chore: remove deprecated bot configuration files and streamline bot initialization 2025-01-09 22:59:56 +00:00
bot
faf69b87b7 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 administrators. The change includes a new `getMonthlyExportStats` function that queries the exports collection with a date range filter and returns aggregated counts per user.
2025-01-06 23:42:46 +00:00
8bad800fde fix: resolve merge conflict in user authentication module by consolidating session token validation logic 2025-01-06 23:41:25 +00:00
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