Commit Graph

433 Commits

Author SHA1 Message Date
m.nazemi fd89371bdf tender duplication fix 2026-04-11 18:15:13 +03:30
Karim Pirzargar fa2ececaf9 update 2026-03-09 20:24:06 +03:30
Karim Pirzargar 2ab001bc70 updat epush 2026-03-09 20:16:14 +03:30
m.nazemi d5a96a7cf7 Merge pull request 'ted one-time api' (#19) from TM-369 into develop
Reviewed-on: https://repo.ravanertebat.com/TM/tm_back/pulls/19
2026-02-23 15:41:56 +03:30
Mazyar e0e8b9cf04 ted one-time api 2026-02-23 15:40:20 +03:30
m.nazemi 80befb51c7 Merge pull request 'added functionality to limit the maximum number of notices per day' (#18) from TM-367 into develop
Reviewed-on: https://repo.ravanertebat.com/TM/tm_back/pulls/18
2026-02-22 11:01:27 +03:30
Mazyar 9c9245601b added functionality to limit the maximum number of notices per day 2026-02-22 10:55:03 +03:30
Mazyar e6005ee0ee kanban dashboard 2026-01-05 15:36:20 +03:30
m.nazemi ec39dae734 Merge pull request 'added AI auto-generated keywords to customer profile' (#17) from TM-358 into develop
Reviewed-on: https://repo.ravanertebat.com/TM/tm_back/pulls/17
2026-01-04 13:47:42 +03:30
Mazyar 8dcda0e031 added AI auto-generated keywords to customer profile 2026-01-04 13:44:45 +03:30
m.nazemi 3381e04e05 Merge pull request 'worker log' (#16) from GLM into develop
Reviewed-on: https://repo.ravanertebat.com/TM/tm_back/pulls/16
2025-12-28 16:47:51 +03:30
Mazyar 9d1060d8f4 worker log 2025-12-28 16:43:30 +03:30
m.nazemi 5303bd4c96 Merge pull request 'fixed glm panic' (#15) from GLM into develop
Reviewed-on: https://repo.ravanertebat.com/TM/tm_back/pulls/15
2025-12-28 16:32:31 +03:30
m.nazemi 6df10f1473 Merge branch 'develop' into GLM 2025-12-28 16:31:36 +03:30
Mazyar a95944d4c6 fixed glm panic 2025-12-28 15:58:33 +03:30
Nima Nakhsotin 5ea934c1c4 Merge pull request 'Implemented the integration with scraper python server, tenders summarise, and some fixes.' (#14) from integration into develop
Reviewed-on: https://repo.ravanertebat.com/TM/tm_back/pulls/14
Reviewed-by: Nima Nakhsotin <n.nakhostin@ravanertebat.com>
2025-12-27 16:03:46 +03:30
Nima Nakhsotin 91e92675aa Merge branch 'develop' into integration 2025-12-27 16:03:24 +03:30
Nima Nakhsotin 9baa60f856 Merge pull request 'tender email confirmation template' (#13) from TM-317 into develop
Reviewed-on: https://repo.ravanertebat.com/TM/tm_back/pulls/13
Reviewed-by: Nima Nakhsotin <n.nakhostin@ravanertebat.com>
2025-12-27 16:02:22 +03:30
Mazyar f6bdcc6d7c Implemented the integration with scraper python server, tenders summarise, and some fixes. 2025-12-27 12:47:08 +03:30
Mazyar 6b387e2973 tender email confirmation template 2025-12-14 13:45:47 +03:30
Nima Nakhostin e4da3b5bb2 Refactor TED scraper job function for improved readability and maintainability 2025-12-13 12:35:58 +03:30
Nima Nakhsotin 6e4b3910ff Merge pull request 'error message for duplication' (#12) from TM-295 into develop
Reviewed-on: https://repo.ravanertebat.com/TM/tm_back/pulls/12
Reviewed-by: Nima Nakhsotin <n.nakhostin@ravanertebat.com>
2025-12-10 14:28:22 +03:30
Nima Nakhsotin 8969152f0d Merge branch 'develop' into TM-295 2025-12-10 14:28:04 +03:30
Nima Nakhsotin 2ee962c2b5 Merge pull request 'added hcaptcha' (#9) from TM-309 into develop
Reviewed-on: https://repo.ravanertebat.com/TM/tm_back/pulls/9
Reviewed-by: Nima Nakhsotin <n.nakhostin@ravanertebat.com>
2025-12-10 14:27:32 +03:30
Mazyar 90e4624342 error message for duplication 2025-12-09 13:06:45 +03:30
Mazyar ec3737e341 Merge branch 'develop' into TM-309 2025-12-08 12:08:44 +03:30
Nima Nakhsotin f514ac97ea Merge pull request 'send confirmation email after form submission' (#10) from TM-316 into develop
Reviewed-on: https://repo.ravanertebat.com/TM/tm_back/pulls/10
Reviewed-by: Nima Nakhsotin <n.nakhostin@ravanertebat.com>
2025-12-08 10:16:45 +03:30
Nima Nakhsotin 03ea86ca6a Merge branch 'develop' into TM-316 2025-12-08 10:16:23 +03:30
Nima Nakhsotin a67faf1ef0 Merge pull request 'xss validation' (#11) from TM-306 into develop
Reviewed-on: https://repo.ravanertebat.com/TM/tm_back/pulls/11
Reviewed-by: Nima Nakhsotin <n.nakhostin@ravanertebat.com>
2025-12-08 10:15:00 +03:30
Mazyar 7fb182f180 xss validation 2025-12-07 23:52:17 +03:30
Mazyar fbf99177a9 send confirmation email after form submission 2025-12-07 10:52:31 +03:30
Mazyar b01c0f9368 added hcaptcha 2025-12-05 18:10:05 +03:30
Nima Nakhsotin b8a10f355e Merge pull request 'tendsign scraper' (#8) from scraper into develop
Reviewed-on: https://repo.ravanertebat.com/TM/tm_back/pulls/8
Reviewed-by: Nima Nakhsotin <n.nakhostin@ravanertebat.com>
2025-12-03 10:16:41 +03:30
Mazyar 5e777ceec8 scraper sdk 2025-12-01 11:06:09 +03:30
Nima Nakhsotin d94fa34941 Merge branch 'develop' into scraper 2025-11-30 12:48:31 +03:30
Nima Nakhostin 00fabe8a30 Enhance Notice Repository with Additional Indexes
- Added new indexes for the notices collection in the notice repository to improve query performance.
- Introduced indexes for `processing_metadata.processed` and `main_classification`, optimizing data retrieval and management.
2025-11-30 12:43:51 +03:30
Mazyar b6546eb2bb tendsign scraper 2025-11-30 02:58:08 +03:30
Nima Nakhostin d57bf95c70 Update CMSForm Country Field Validation
- Modified the validation rule for the Country field in the CMSForm struct to ensure it requires exactly 3 characters, enhancing input validation consistency.
- This change improves the robustness of the form handling by enforcing stricter validation criteria.
2025-11-29 12:50:56 +03:30
Nima Nakhostin bb974ad1ce Enhance TED Scraper Initialization and Error Handling
- Updated the InitTEDScraper function to return a scheduler instance, allowing for better error handling during initialization.
- Added error logging for failed scheduler initialization and job scheduling, improving robustness.
- Implemented graceful shutdown for the scheduler in the main function, ensuring proper resource management during application termination.
2025-11-29 10:21:35 +03:30
Nima Nakhostin e2e9159ac3 Update GetUnProcessedNotices to filter by main_classification and change sort order
- Modified the GetUnProcessedNotices method in the notice repository to include a filter for main_classification set to "72000000".
- Changed the sort order from ascending to descending for the created_at field, improving the retrieval of unprocessed notices.
2025-11-29 10:11:51 +03:30
Nima Nakhsotin c1e1e211e5 Merge pull request 'changed search inquiry response to grt meta outside of the data' (#7) from inquiry-response into develop
Reviewed-on: https://repo.ravanertebat.com/TM/tm_back/pulls/7
Reviewed-by: Nima Nakhsotin <n.nakhostin@ravanertebat.com>
2025-11-25 12:56:09 +03:30
Mazyar 5062c19242 changed search inquiry response to grt meta outside of the data 2025-11-25 12:53:17 +03:30
Nima Nakhostin c8efa2c068 Refactor Scraper Dockerfile and Remove Entrypoint Script
- Removed the entrypoint.sh script from the scraper Dockerfile to streamline the build process.
- Updated the Dockerfile to directly set the ENTRYPOINT to the scraper build executable, simplifying the container startup.
- This change enhances maintainability by reducing the number of files and improving clarity in the Docker configuration.
2025-11-23 14:20:01 +03:30
Nima Nakhostin 10fd53af41 Refactor Scraper Configuration and Command Line Handling
- Removed command line flag parsing for date range scraping in the scraper's main function.
- Introduced configuration fields for one-time scraping and date range (FromDate, ToDate) in the ScraperConfig struct.
- Updated the main function to utilize the new configuration fields, improving the clarity and maintainability of the scraping logic.
- This change enhances the scraper's functionality by centralizing configuration management and reducing command line complexity.
2025-11-23 14:17:45 +03:30
Nima Nakhostin afb32a9fa3 Enhance CMS Entity with JSON Tags
- Added JSON tags to all fields in the CMS entity and its related sections (heroSection, chartSection, cardSection, contactSection, footerSection) to ensure proper serialization and deserialization in API responses.
- This change improves the API's usability by providing clear JSON representations of the CMS data structure.
2025-11-23 14:07:10 +03:30
Nima Nakhostin f1bdacdc98 Refactor Scraper Dockerfile and Add Entrypoint Script
- Replaced inline entrypoint script creation in the Dockerfile with a separate entrypoint.sh file for better maintainability and clarity.
- The new entrypoint script handles one-time scraping with date range support, improving the scraper's functionality and usability.
2025-11-23 13:48:27 +03:30
Nima Nakhostin 1f6d3fd1cb Enhance Scraper Dockerfile and Notice Entity
- Added an entrypoint script to the scraper Dockerfile to handle one-time scraping with date range support.
- Introduced a new ContentXML field in the Notice entity to store XML content, improving data structure for notices.
- Updated the scraper logic to map XML content to the tender entity, enhancing data processing capabilities.
2025-11-23 13:27:04 +03:30
m.nazemi 61a4465f50 Merge pull request 'added UUID to card and form field' (#6) from TM-290 into develop
Reviewed-on: https://repo.ravanertebat.com/TM/tm_back/pulls/6
2025-11-15 10:52:36 +03:30
Mazyar ba06595ab0 added UUID to card and form field 2025-11-15 10:51:04 +03:30
Nima Nakhostin a3472f432d Fix Middleware Usage in CMS Routes
- Corrected the middleware usage in the CMS routes by ensuring the AuthMiddleware is applied correctly.
- This change enhances the security of the CMS endpoints by enforcing authentication for all CMS-related operations.
2025-11-09 10:28:09 +03:30