Commit Graph
85 Commits
Author SHA1 Message Date
retoor 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
retoor 5a16606e8b fix: reduce log verbosity and simplify server-side rate limiting logic 2025-01-11 17:40:17 +00:00
retoor 37c1eaca6c chore: reduce animation speed by 50% in main menu transition 2025-01-10 00:11:09 +00:00
retoor 90efbfb17c fix: add try-catch block to handle database connection timeout in user query handler 2025-01-10 00:02:51 +00:00
retoor 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
retoor 99cf0c611a fix: reduce request processing speed by adding artificial delay in handler 2025-01-09 23:03:24 +00:00
retoor 59df5f7c8a chore: remove deprecated bot configuration files and streamline bot initialization 2025-01-09 22:59:56 +00:00
retoor 8bad800fde fix: resolve merge conflict in user authentication module by consolidating session token validation logic 2025-01-06 23:41:25 +00:00
retoor 75a52c35e4 fix: correct misspelling of 'ragnar' to 'ragnar' in user-facing mention 2025-01-06 18:14:04 +00:00
retoor d95e35a897 fix: correct text and comment filter logic to handle edge cases in content sanitization 2025-01-05 22:54:06 +00:00
retoor 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
retoor 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
retoor 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
retoor 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
retoor 7feb2fb7be fix: correct authentication flow to resolve login failure on invalid credentials 2024-12-17 16:33:09 +00:00
retoor 051f0fbbcc fix: remove redundant await from async function call in user handler 2024-12-17 13:47:11 +00:00
retoor c16b6e8d18 chore: remove ragnar directory and all its contents from repository 2024-12-17 12:59:04 +00:00
retoor 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
retoor bee8353b13 fix: replace break statement with alternative control flow in loop logic 2024-12-17 12:57:31 +00:00
retoor a866bad6de chore: remove trailing whitespace from README.md line 42 2024-12-17 12:46:58 +00:00
retoor 76a47102e7 fix: correct off-by-one error in pagination offset calculation for user list endpoint 2024-12-17 12:45:41 +00:00
retoor a1945f7442 chore: adjust log level from info to debug in application bootstrap 2024-12-17 12:08:00 +00:00
retoor 81f5cd09d1 feat: add structured logging with json output and configurable log levels 2024-12-17 12:03:41 +00:00
retoor 6492e868ea docs: add project description and setup instructions to README 2024-12-17 11:31:26 +00:00
retoor 2bac262786 feat: add fan art section to showcase community creations 2024-12-17 11:00:26 +00:00
retoor 1eeb95a642 feat: add fan art image to project assets directory 2024-12-17 10:59:29 +00:00
retoor c289bd273c feat: add placeholder image file to project assets directory 2024-12-17 10:59:20 +00:00
retoor d56879c933 feat: add placeholder image asset for default avatar display 2024-12-17 10:52:07 +00:00
retoor d76e379174 feat: add placeholder image file to project assets directory 2024-12-17 10:51:16 +00:00
retoor 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
retoor 5cfe2664a7 feat: add placeholder image file to project assets directory 2024-12-17 10:47:17 +00:00
retoor 861bb6ac4a feat: add structured logging for user authentication flow in login handler 2024-12-16 18:43:47 +00:00
retoor f1bab721f2 feat: add new bot implementations for automated task processing 2024-12-15 00:35:03 +00:00
retoor b0c6fce03f fix: correct broken link in user profile avatar component 2024-12-14 05:34:40 +00:00
retoor 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
retoor 9177f9b408 chore: update package dependencies to latest compatible versions 2024-12-14 05:22:59 +00:00
retoor 6d339a7f0b feat: add three new trading bots with configurable risk profiles and asset filters 2024-12-14 05:22:06 +00:00
retoor f9e47d6ab9 fix: correct build step execution to properly handle dependency resolution 2024-12-13 22:36:16 +00:00
retoor f17d009193 chore: bump package version to 1.2.3 in setup.cfg and __init__.py 2024-12-13 19:54:49 +00:00
retoor 45919f0ec4 feat: add user_id index to profiles table for faster lookups
The profiles table previously lacked an index on the user_id column, causing slow query performance when filtering by user. This change adds a B-tree index on user_id to optimize read operations in the user profile retrieval endpoint.
2024-12-13 19:53:44 +00:00
retoor 4dc0fb5eea chore: add new build package configuration for deployment pipeline 2024-12-13 19:00:53 +00:00
retoor 56ed5a39f1 chore: add install target and update help text in Makefile 2024-12-13 19:00:04 +00:00
retoor b4226478e5 chore: remove dead bot entries from the configuration file 2024-12-13 18:56:29 +00:00
retoor d94b9b8a68 chore: apply consistent indentation and whitespace formatting across all source files 2024-12-13 18:55:23 +00:00
retoor f0cb8f9588 feat: add initial bot implementations for chat interaction system 2024-12-13 18:54:20 +00:00
retoor f5cda83a7a feat: add user_id index to profiles table for faster lookups 2024-12-10 15:41:06 +00:00
retoor 418afce510 chore: add explicit rule forbidding generic boilerplate phrases in commit messages 2024-12-10 13:56:24 +00:00
retoor b4ebd78347 feat: add initial commit message with placeholder text for project setup 2024-12-10 09:36:38 +00:00
retoor c7e11fb711 feat: increase rant count from 1 to 2 for verification testing 2024-12-10 04:07:05 +00:00
retoor 3d66fa146c chore: remove trailing whitespace from README.md line 42 2024-12-10 03:17:55 +00:00
retoor 0c5fb4c3a6 fix: correct flagged checker logic to handle edge case for empty input arrays 2024-12-10 03:17:21 +00:00
retoor f9450902e1 chore: merge feature branch into main with resolved conflicts 2024-12-09 21:24:29 +00:00
retoor 479999111e feat: add Buffon blocker to prevent specific user actions in system 2024-12-09 20:48:50 +00:00
retoor 9c036d087a chore: add __pycache__ directory entries to .gitignore file 2024-12-09 20:43:10 +00:00
retoor cd51db48f0 chore: remove __pycache__ directories from repository to clean up tracked cache files 2024-12-09 20:42:42 +00:00
retoor 255ce12e9e chore: add build trigger configuration for automated pipeline execution 2024-12-02 13:27:04 +00:00
retoor 74f7162dde feat: add job status tracking with pending, running, and completed states 2024-12-02 13:08:17 +00:00
retoor 2043ae9acf fix: correct cache invalidation logic to prevent stale data serving 2024-12-02 12:09:48 +00:00
retoor 13a9be9c3f style: remove trailing whitespace and fix indentation in main.css and app.js 2024-12-01 08:01:57 +00:00
retoor 8d7b779474 feat: add ragnar check function to validate user input before processing 2024-11-30 17:14:47 +00:00
retoor 040f339d44 feat: add suspicious content detection filter for user comments
Implement a new content validation module that scans comment text for potentially harmful or inappropriate patterns before submission. The checker uses regex-based pattern matching to flag common spam, abuse, and prohibited content, returning a boolean result for downstream moderation handling.
2024-11-30 17:02:25 +00:00
retoor de8eccc6f6 feat: add new vocabulary entries to the word list for expanded coverage 2024-11-29 20:13:53 +00:00
retoor 73b821e350 chore: update word list with new entries and corrections 2024-11-29 13:41:50 +00:00
retoor b5075c28dd chore: add 47 new words to the dictionary and remove 12 outdated entries 2024-11-29 13:40:26 +00:00
retoor e064ef3d3f chore: add 47 new words to the dictionary for expanded vocabulary coverage 2024-11-29 13:35:17 +00:00
retoor 8ab3909326 chore: update word list with new entries and corrections 2024-11-29 13:33:49 +00:00
retoor 89c3dc03c5 test: add unit tests for user authentication and profile retrieval endpoints 2024-11-28 10:43:09 +00:00
retoor 930397c622 feat: add user_id index to profiles table for faster lookups 2024-11-28 10:38:11 +00:00
retoor 9fa245e5ab feat: add regex pattern for validating website URLs in input forms 2024-11-28 10:33:12 +00:00
retoor dd0e4387bd feat: add reason field to commit message structure for clarity 2024-11-28 03:29:21 +00:00
retoor 18904dbb6a fix: convert user_id field type from string to integer in User model 2024-11-28 03:07:20 +00:00
retoor f59eb9fa7b chore: apply Plat3 configuration updates across project files 2024-11-27 23:34:59 +00:00
retoor 9afdcc6687 fix: apply json.loads to parse JSON string in config loader 2024-11-27 19:59:29 +00:00
retoor 3e3ccd193b fix: correct vote string from empty to "-1" in voting handler 2024-11-27 19:35:59 +00:00
retoor b113a81a04 fix: correct vote string from empty to "-1" in voting component 2024-11-27 19:32:36 +00:00
retoor 8001f68b13 docs: add @retoor mention to project documentation or changelog 2024-11-27 16:52:26 +00:00
retoor ef650aa78a chore: remove placeholder commit message and replace with concrete diff content 2024-11-27 16:17:28 +00:00
retoor 45f315b443 refactor: replace magic number 86400 with named constant SESSION_TTL in auth module 2024-11-27 16:02:18 +00:00
retoor db2251e51f feat: add downvote functionality and new word entries to vocabulary list 2024-11-27 15:54:20 +00:00
retoor 1cc552e583 feat: add new vocabulary entries to the word list for expanded coverage 2024-11-27 15:37:33 +00:00
retoor 8969a6da1f feat: add structured logging and rant_history tracking to core module
Implement a new logging utility with configurable verbosity levels and integrate a rant_history data structure to persist user interaction records across sessions. The logging module includes timestamped entries with severity tags, while rant_history stores chronological entries with metadata for future analysis and replay features.
2024-11-27 10:46:02 +00:00
retoor 7ea0dcf230 feat: add structured logging with request IDs and error context to API handlers 2024-11-27 10:28:05 +00:00
retoor b890025f53 test: add unit tests for user authentication and profile update endpoints 2024-11-27 09:56:37 +00:00
retoor 54161207fc test: add unit test for email validation regex pattern matching 2024-11-27 09:54:27 +00:00
retoor 6d0186c8c0 feat: add initial project structure with core files and configuration 2024-11-27 01:59:42 +00:00