Commit Graph

39 Commits

Author SHA1 Message Date
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
bot
7b961d9f91 chore: update export statistics data to reflect latest quarterly figures 2024-12-16 18:45:13 +00:00
bot
bbb4d81df8 chore: add export statistics for total, successful, and failed operations with timestamps 2024-12-15 00:36:51 +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
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
f17d009193 chore: bump package version to 1.2.3 in setup.cfg and __init__.py 2024-12-13 19:54:49 +00:00
4dc0fb5eea chore: add new build package configuration for deployment pipeline 2024-12-13 19:00:53 +00:00
bot
27c6b90543 feat: add export statistics tracking for user data downloads 2024-12-13 18:59:27 +00:00
bot
8b7fca9537 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 module includes a background job that runs on the 1st of each month to finalize previous month's data, and exposes an API endpoint for querying export statistics by user ID and date range.
2024-12-10 19:47:51 +00:00
f5cda83a7a feat: add user_id index to profiles table for faster lookups 2024-12-10 15:41:06 +00:00
bot
c64f4c7e71 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 reports and usage monitoring. The module includes a background job that runs on the 1st of each month to compute and persist the previous month's export metrics, along with a new database table for storing the aggregated data.
2024-12-09 21:25:56 +00:00
f9450902e1 chore: merge feature branch into main with resolved conflicts 2024-12-09 21:24:29 +00:00
bot
874711f5ee 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 introduces a `getMonthlyExportStats` function that queries the exports collection, filters by the last 12 months, and returns aggregated counts per user per month.
2024-12-09 20:50:01 +00:00
479999111e feat: add Buffon blocker to prevent specific user actions in system 2024-12-09 20:48:50 +00:00
bot
89ed5a274f feat: add monthly export statistics tracking to analytics module
Implement a new monthly export statistics feature that records and aggregates export activity data. The change introduces a dedicated statistics collection mechanism within the analytics module, enabling tracking of export volumes, success rates, and user engagement metrics on a monthly basis. This enhancement provides administrators with granular visibility into export patterns and system utilization over time.
2024-12-02 13:28:28 +00:00
bot
f77ba25bed feat: add export statistics tracking for user data downloads
Implement a new statistics module that records and aggregates export operations, including timestamps, file sizes, and user identifiers. This enables monitoring of export frequency and data volume for compliance and analytics purposes.
2024-12-02 13:09:42 +00:00
bot
154e04401b chore: update export statistics with latest data from production database 2024-12-02 12:11:26 +00:00
bot
e09a80ffa2 chore: update export statistics data to reflect latest quarterly figures 2024-12-01 08:02:59 +00:00
bot
ded9d4beea 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-11-30 17:19:21 +00:00
bot
93dbe937c0 feat: add monthly export statistics aggregation for user activity reports
The change introduces 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 collection for efficient report generation.
2024-11-29 13:43:58 +00:00
bot
17f121a854 chore: update export statistics data to reflect latest quarterly figures 2024-11-29 13:35:08 +00:00
bot
10ddf3cedd feat: add export statistics tracking for user data downloads 2024-11-28 10:44:30 +00:00
bot
5d6587f77e 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 adds 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 provides the backend support for the upcoming admin dashboard export statistics widget.
2024-11-28 10:39:40 +00:00
bot
2fe1e843f1 feat: add export statistics tracking for user data downloads
- Implemented a new statistics module to record export events
- Added database migration for export_logs table with user_id and timestamp
- Updated export handler to increment counter on successful completion
2024-11-28 10:34:41 +00:00
bot
96f1f98ab7 feat: add monthly export statistics tracking with revenue breakdown
Implement a new statistics module that records export operations per month,
including total revenue, item count, and average order value. The module
aggregates data from the orders and shipments tables, grouping results by
calendar month for reporting purposes.
2024-11-28 03:31:28 +00:00
bot
e67b14c583 chore: update export statistics with latest data from production database 2024-11-28 03:09:00 +00:00
bot
408bc2d0ed chore: update export statistics to include quarterly breakdown and regional filtering
The export statistics module now supports quarterly data aggregation and regional filtering parameters. The `ExportStats` class has been extended with new methods `getQuarterlyBreakdown()` and `filterByRegion()`. The database schema migration adds a `region` column to the `export_stats` table. The API endpoint `/api/export-stats` now accepts optional `quarter` and `region` query parameters.
2024-11-27 23:36:25 +00:00
bot
6c191d74b6 feat: add export statistics tracking for user data downloads
- Implemented a new statistics module to record and monitor user export activities
- Added database schema changes to store export timestamps and file sizes
- Updated export controller to log each export event with relevant metadata
- Created API endpoint for retrieving aggregated export statistics
2024-11-27 20:00:56 +00:00
bot
9e509f2f6c 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-11-27 19:37:19 +00:00
bot
5457562761 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 product category. It adds a dedicated `ExportStatistic` model with fields for period, category, and total exports, and wires the aggregation into the existing admin statistics endpoint. The implementation uses MongoDB's `$group` and `$project` stages to transform raw export logs into the required summary format, ensuring the dashboard can display per-category trends over time.
2024-11-27 19:33:47 +00:00
bot
cc84764045 feat: add monthly export statistics aggregation for user analytics dashboard
The change introduces a new aggregation pipeline in the statistics module that groups export records by month, computing total exports per user and average file size. This data is stored in a dedicated `monthly_export_stats` collection to support the upcoming analytics dashboard feature.
2024-11-27 16:53:45 +00:00
bot
0d18e66193 chore: update export statistics data and formatting in reports module 2024-11-27 16:18:34 +00:00
bot
bc8624c74c 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 `$group` stage on `userId` and `month` fields, returning sorted results by month descending. This enables the dashboard to display per-user export volume trends over time.
2024-11-27 16:03:31 +00:00
bot
1325644f4d feat: add export statistics tracking for user data downloads
Implement a new export statistics module that records and aggregates metrics on user data export operations. The change introduces a dedicated statistics service that tracks export frequency, data volume, and user engagement patterns. This enables administrators to monitor export activity and optimize system performance based on usage trends.
2024-11-27 15:56:41 +00:00
bot
3d56456548 chore: update export statistics data with latest quarterly figures 2024-11-27 15:38:57 +00:00
bot
b5e7ffdf9f feat: add monthly export statistics tracking with revenue breakdown
Implement a new statistics module that records export operations per month,
including total revenue, item count, and average order value. The module
aggregates data from the orders and shipments tables, grouping results by
calendar month for reporting purposes.
2024-11-27 14:44:05 +00:00
6d0186c8c0 feat: add initial project structure with core files and configuration 2024-11-27 01:59:42 +00:00