{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":777887338,"defaultBranch":"main","name":"Boresh","ownerLogin":"marefati110","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-03-26T17:29:57.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/42033084?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1711474215.0","currentOid":""},"activityList":{"items":[{"before":"92485eca53e52ce1c8cf706fe5898c01cf7895d8","after":"8bb227f5d1765224db4e2624b52811f56c1ac496","ref":"refs/heads/main","pushedAt":"2024-03-30T07:09:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marefati110","name":"Ali Marefati","path":"/marefati110","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/42033084?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"97c7232f6d2a3ec6fd9e8dd5e4632c8556acdd2b","after":"92485eca53e52ce1c8cf706fe5898c01cf7895d8","ref":"refs/heads/main","pushedAt":"2024-03-30T07:03:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marefati110","name":"Ali Marefati","path":"/marefati110","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/42033084?s=80&v=4"},"commit":{"message":"Refactor README for project clarity\n\nRevamped the README file to shift focus from Nest framework specifics to the unique features and benefits of \"Your Project's Name\", a URL shortener. This overhaul includes a concise project introduction, highlighting essential features like URL shortening, custom aliases, analytics, and security measures. Explained the project's open-source nature, user-friendly design, customization options, and community-driven approach. Added sections on getting started, contributing, licensing, and contact info to foster community engagement and ease project adoption. This change aims to make the README more relevant to potential users and contributors by clearly communicating the project's value proposition and how to get involved.","shortMessageHtmlLink":"Refactor README for project clarity"}},{"before":"f0843325fab3b3dd88127eb2c2d83f274b1556fe","after":"97c7232f6d2a3ec6fd9e8dd5e4632c8556acdd2b","ref":"refs/heads/main","pushedAt":"2024-03-30T06:57:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marefati110","name":"Ali Marefati","path":"/marefati110","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/42033084?s=80&v=4"},"commit":{"message":"Subject: Added optional password field to Link schema\n\nThis commit makes the 'slug' field in the Link schema no longer strictly required and introduces a new 'password' field, which is also optional. This adjustment allows for enhanced flexibility in link creation and management, accommodating use cases where a link may not need a unique slug immediately or where additional security via a password is desired. The updates ensure that our schema remains adaptable to various requirements without imposing unnecessary constraints.\n\nBy marking these fields with `@ApiProperty({ required: false })`, it both reflects these changes in our API documentation and aligns with our goal to offer a more versatile and user-friendly interface. This update is a step towards supporting more secure and customizable link sharing functionalities.\n\n#1234","shortMessageHtmlLink":"Subject: Added optional password field to Link schema"}},{"before":"cb69fd3a05111ac53539db58185ea63c34705cca","after":"f0843325fab3b3dd88127eb2c2d83f274b1556fe","ref":"refs/heads/main","pushedAt":"2024-03-30T06:53:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marefati110","name":"Ali Marefati","path":"/marefati110","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/42033084?s=80&v=4"},"commit":{"message":"Integrate Morgan for logging and enhance redirection handling\n\n- Added `@nest-middlewares/morgan` to improve request logging capabilities, facilitating better monitoring and debugging.\n- Streamlined CSS in `output.css` by removing redundant styles and consolidating similar rules, improving maintainability and reducing file size.\n- Modified the link redirection strategy in the backend to support both timer-based and confirmation-required redirects, allowing for more flexible user interaction patterns.\n- Introduced a new environment variable `THEME_COLOR` to customize the theme color dynamically, enhancing the UI's adaptability to different branding requirements.\n- Refined the template for redirect pages (`redirect.hbs`) to use the new dynamic theme color and incorporated logic for displaying a timer or confirmation button based on the link strategy, leading to a more user-friendly experience.\n- Adjustments made to schema and services to align with the aforementioned redirection strategy enhancements, ensuring consistency across the application's functionality.\n\nThese changes aim to enhance application monitoring, improve the codebase's maintainability, and offer a more customizable and interactive user experience during link redirections.","shortMessageHtmlLink":"Integrate Morgan for logging and enhance redirection handling"}},{"before":"bc3e92bbcc27be03ec3e3136c766e09b2a869066","after":"cb69fd3a05111ac53539db58185ea63c34705cca","ref":"refs/heads/main","pushedAt":"2024-03-30T05:41:26.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"marefati110","name":"Ali Marefati","path":"/marefati110","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/42033084?s=80&v=4"},"commit":{"message":"Enhanced redirect logic and updated styles\n\nIntroduced a more flexible redirection strategy with options like 'ads', 'confirm', or 'none' to better control the user journey. Updated CSS with comprehensive utility classes and responsive design for a modern, polished UI. Revised the redirect template to improve user interaction, incorporating a countdown and confirmation step, and implemented environment-based configuration for TITLE and LOGO_URL to tailor app branding dynamically. Also, switched to CommonJS import for Hashids in alignment with project consistency.\n\n- Tailored redirection flow to enhance user experience and provide options for ad integration or explicit user confirmation.\n- Expanded CSS for responsive design ensures compatibility across devices, enhancing the user interface.\n- Updated the redirect page template to engage users better, with a clear call to action and anticipation build-up.\n- Leveraged environment variables for dynamic app customization, aligning with branding requirements.\n- Adopted CommonJS syntax for Hashids import to maintain consistent project coding standards.\n\nThese changes significantly improve user experience and interface aesthetics, while also providing dynamic customization capabilities for branding purposes.\n\nResolves: #123, #456","shortMessageHtmlLink":"Enhanced redirect logic and updated styles"}},{"before":"9a2203d365e08c653a60f7ffe47bd2102afcc29a","after":"bc3e92bbcc27be03ec3e3136c766e09b2a869066","ref":"refs/heads/main","pushedAt":"2024-03-27T16:58:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marefati110","name":"Ali Marefati","path":"/marefati110","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/42033084?s=80&v=4"},"commit":{"message":"Remove domain-related features\n\nRemoved all functionalities, schemas, services, and controllers related to the Domain entity from the application. This includes the elimination of the Domain DTO, schema, controller, and service. Consequently, the link schema no longer references Domain, and the LinkService has been simplified by removing domain management logic.\n\nThis change streamlines the application by focusing on core functionalities and reducing complexity. It addresses potential scalability and maintenance challenges by removing underutilized or unnecessary features.\n\n#12345","shortMessageHtmlLink":"Remove domain-related features"}},{"before":"41b96354d44fa76e81421886fe5681ae0a7426e8","after":"9a2203d365e08c653a60f7ffe47bd2102afcc29a","ref":"refs/heads/main","pushedAt":"2024-03-27T16:50:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marefati110","name":"Ali Marefati","path":"/marefati110","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/42033084?s=80&v=4"},"commit":{"message":"Enhanced caching and logging for better performance\n\nIntroduced `@nestjs/serve-static` for serving static files, improved the caching mechanism by integrating Redis through `cache-manager-ioredis-yet` and `cache-manager-redis-store`, and added Redis itself for efficient data storage and retrieval. These changes are aimed at enhancing the application's performance and scalability.\n\nAdditionally, integrated enhanced logging capabilities by introducing a queue service with Bull, enabling asynchronous logging which further aids in performance optimization by not blocking the main application flow for log operations.\n\nModified error handling in `link.service.ts` to throw more specific exceptions, improving debuggability and overall error management within the application.\n\nThese adjustments collectively aim to provide a more robust, scalable, and performant application infrastructure, preparing the application for future growth and potential user load increases.","shortMessageHtmlLink":"Enhanced caching and logging for better performance"}},{"before":"3c47faf8d74b6cf7c6ca791f623c5c0ec129911f","after":"41b96354d44fa76e81421886fe5681ae0a7426e8","ref":"refs/heads/main","pushedAt":"2024-03-27T12:35:31.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"marefati110","name":"Ali Marefati","path":"/marefati110","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/42033084?s=80&v=4"},"commit":{"message":"Add Redis setup and upgrade NestJS components\n\n- Introduced Redis service in `docker-compose.yaml` to enhance caching mechanisms.\n- Added new dependencies (`@bull-board/*`, `@nestjs/bull`, `bull`, `ua-parser-js`) in `package.json` for job queue and user-agent parsing capabilities, supporting better background job processing and request analysis.\n- Configured Bull queue within the application (`app.module.ts`) for managing job queues more efficiently, leveraging the newly added Redis service.\n- Updated environment configuration to include Redis host and port settings, ensuring seamless integration with the Redis service.\n- Conducted general dependency updates to keep the project up-to-date with the latest versions, improving security and performance.","shortMessageHtmlLink":"Add Redis setup and upgrade NestJS components"}},{"before":"8b33ea093f83cbba2ce66b8747be11e701b5e94f","after":"3c47faf8d74b6cf7c6ca791f623c5c0ec129911f","ref":"refs/heads/main","pushedAt":"2024-03-27T10:33:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marefati110","name":"Ali Marefati","path":"/marefati110","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/42033084?s=80&v=4"},"commit":{"message":"Enhanced error handling for uncaught exceptions\n\nRemoved unused import INestApplication and added global handlers for unhandledRejection and uncaughtException in the main application setup to improve error logging and system resilience. These changes aim to ensure that all uncaught exceptions and unhandled promise rejections are logged to the console, aiding in quicker debugging and maintaining system stability.","shortMessageHtmlLink":"Enhanced error handling for uncaught exceptions"}},{"before":"cb3b925011f3b0042ef7de62b78a060cc890b56e","after":"8b33ea093f83cbba2ce66b8747be11e701b5e94f","ref":"refs/heads/main","pushedAt":"2024-03-27T10:25:35.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"marefati110","name":"Ali Marefati","path":"/marefati110","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/42033084?s=80&v=4"},"commit":{"message":"Add Redis setup and upgrade NestJS components\n\n- Introduced Redis service in `docker-compose.yaml` to enhance caching mechanisms.\n- Added new dependencies (`@bull-board/*`, `@nestjs/bull`, `bull`, `ua-parser-js`) in `package.json` for job queue and user-agent parsing capabilities, supporting better background job processing and request analysis.\n- Configured Bull queue within the application (`app.module.ts`) for managing job queues more efficiently, leveraging the newly added Redis service.\n- Updated environment configuration to include Redis host and port settings, ensuring seamless integration with the Redis service.\n- Conducted general dependency updates to keep the project up-to-date with the latest versions, improving security and performance.","shortMessageHtmlLink":"Add Redis setup and upgrade NestJS components"}},{"before":"77ef61cccbaa115898daeb0c7f2f552622299f03","after":"cb3b925011f3b0042ef7de62b78a060cc890b56e","ref":"refs/heads/main","pushedAt":"2024-03-27T09:31:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marefati110","name":"Ali Marefati","path":"/marefati110","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/42033084?s=80&v=4"},"commit":{"message":"Enhanced API documentation and codebase cleanup\n\n- Introduced Redoc to improve API documentation usability and aesthetic, replacing the default Swagger UI setup.\n- Removed unnecessary `@nestjs/devtools-integration` dependency and associated imports to streamline the project setup.\n- Added `nestjs-redoc` and `dotenv` dependencies for better API documentation and environment variable management, respectively.\n- Integrated environment variable loading directly into the app configuration to support flexible deployment environments.\n- Marked the `AppController` with `@ApiTags` for better categorization in the updated documentation.\n- Extended spell check dictionary in VS Code settings to prevent common documentation errors.\n- Refactored `AppModule` imports and added a new `Log` schema to enhance application logging capabilities.\n- Updated several dependencies and added new ones to support the above changes, ensuring compatibility and setting the stage for future enhancements.","shortMessageHtmlLink":"Enhanced API documentation and codebase cleanup"}},{"before":"a00d2d5510da52fc68afbc5a7ebdfaeb848a48ac","after":"77ef61cccbaa115898daeb0c7f2f552622299f03","ref":"refs/heads/main","pushedAt":"2024-03-27T07:04:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marefati110","name":"Ali Marefati","path":"/marefati110","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/42033084?s=80&v=4"},"commit":{"message":"Enhanced link handling in services and schema\n\nIntroduced LinkService to AppController, enabling tighter integration for redirection based on slugs. Schema updates make 'id' unique and add a 'hashId', ensuring link uniqueness and addressing potential duplication issues. Additionally, a new `getLink` method supports fetching links by ID, while a placeholder for delete functionality signifies upcoming link management improvements.\n\nThese changes aim to enhance the robustness of link processing, facilitate unique link tracking, and set the stage for comprehensive link management capabilities in future updates.\n\nIssue reference: N/A","shortMessageHtmlLink":"Enhanced link handling in services and schema"}},{"before":"349a8fc85954768acb061f32fd172cba609eb785","after":"a00d2d5510da52fc68afbc5a7ebdfaeb848a48ac","ref":"refs/heads/main","pushedAt":"2024-03-27T06:33:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marefati110","name":"Ali Marefati","path":"/marefati110","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/42033084?s=80&v=4"},"commit":{"message":"Refactor link management and cleanup project structure\n\n- Removed MongoDB Express setup from `docker-compose.yaml` to streamline container setup.\n- Updated `SaveLink` DTO in `link.dto.ts` to use `hostname` instead of `ali`, improving clarity.\n- Removed `AppController` and `AppService` as part of a larger effort to clean up unused code, reflecting a shift towards a more domain-specific application structure.\n- Introduced `Domain` model and service to manage domain-related operations, signifying a move towards a more extensible architecture for handling link and domain data.\n- Refactored `LinkService` to generate unique IDs for links and validate domains, enhancing the robustness and reliability of link creation.\n- Adjusted Swagger metadata in `metadata.ts` to accurately represent updated DTOs and endpoint changes.\n- Updated `Link` schema in `link.schema.ts` to include new fields and relationships, supporting a more structured and relational data model.\n- Minor adjustments to controller and service files for consistency and to align with the new domain-driven design.\n- The overall changes signify a significant structural overhaul aimed at improving maintainability, extendability, and domain clarity within the application.","shortMessageHtmlLink":"Refactor link management and cleanup project structure"}},{"before":"f2766cb392b60cd9087b4f81245b7c1a53a2284a","after":"349a8fc85954768acb061f32fd172cba609eb785","ref":"refs/heads/main","pushedAt":"2024-03-26T19:14:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"marefati110","name":"Ali Marefati","path":"/marefati110","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/42033084?s=80&v=4"},"commit":{"message":"wip on setup project","shortMessageHtmlLink":"wip on setup project"}},{"before":null,"after":"f2766cb392b60cd9087b4f81245b7c1a53a2284a","ref":"refs/heads/main","pushedAt":"2024-03-26T17:30:15.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"marefati110","name":"Ali Marefati","path":"/marefati110","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/42033084?s=80&v=4"},"commit":{"message":"init","shortMessageHtmlLink":"init"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEIzC86gA","startCursor":null,"endCursor":null}},"title":"Activity ยท marefati110/Boresh"}