Mazyar
d07e1c9cf0
Fix summarizer worker infinite loop and map AI trigger errors to safe HTTP responses.
...
Paginate un-summarized tenders and mark rows missing notice/folder IDs as handled so the worker cannot spin forever. Return 400/404 for validation and not-found cases on AI summarize/analyze triggers instead of leaking internal errors as 500.
2026-06-08 20:24:02 +03:30
Mazyar
7d383c36c3
Implement AI analysis trigger endpoint and refactor related components
...
- Added a new endpoint to trigger on-demand agentic analysis for tenders via the AI service.
- Introduced `TriggerAIAnalyze` method in the `TenderHandler` to handle requests and responses for AI analysis.
- Updated the `tenderService` to include `TriggerAIAnalyze` method, which validates input and interacts with the AI summarizer client.
- Enhanced the `AIAnalyzeResponse` and `AIAnalyzeDocument` structures to support the new analysis feature.
- Refactored the `DocumentSummarizationWorker` and `TranslationWorker` to remove deprecated MinIO dependencies, streamlining the AI service interactions.
This update improves the functionality of the tender management system by allowing users to trigger AI analysis on-demand, enhancing the overall user experience and system capabilities.
2026-06-08 18:01:15 +03:30
Mazyar
68b170126d
Refactor AI summarizer client initialization to include MongoDB manager and add statistics endpoint
...
- Updated `InitAISummarizerClient` to accept `mongoManager` for tracking translation success.
- Introduced new `Statistics` endpoint in the dashboard to fetch scraping and translation statistics.
- Enhanced `TranslationWorker` to utilize the new success counter for tracking successful translations.
- Added necessary data structures and query forms for statistics reporting.
This refactor improves the tracking of AI translation success and provides new insights through the dashboard statistics.
2026-06-06 21:20:53 +03:30
Mazyar
a4c04912c8
Implement multi-file upload functionality for companies and enhance file upload routes
2026-06-02 21:24:39 +03:30
m.nazemi
4589cbfe6c
Merge pull request 'create CMS error handling' ( #25 ) from TM-578 into develop
...
Reviewed-on: https://repo.ravanertebat.com/TM/tm_back/pulls/25
Reviewed-by: Hadi Barzegar <barzagarhadi@gmail.com >
2026-05-31 18:27:23 +03:30
Mazyar
2977f470ac
Add customer feedback statistics endpoint and refactor feedback handling
2026-05-31 03:32:07 +03:30
Mazyar
31627a1bbe
create CMS error handling
2026-05-31 02:17:46 +03:30
Mazyar
bca94cd69a
go-rules temporarily disabled
2026-05-30 16:19:21 +03:30
m.nazemi
e869e149c5
Merge pull request 'kanban dashboard refactor' ( #21 ) from kanban into develop
...
Reviewed-on: https://repo.ravanertebat.com/TM/tm_back/pulls/21
Reviewed-by: Hadi Barzegar <barzagarhadi@gmail.com >
2026-05-30 14:19:24 +03:30
Mazyar
ad702f24bf
fixed blocking important issues
2026-05-30 12:29:45 +03:30
Mazyar
cf1449b1f9
fixed blocking issues
2026-05-30 12:13:46 +03:30
Mazyar
bb221f3cda
Add admin password reset functionality for users and customers
2026-05-29 20:15:09 +03:30
Mazyar
ce2dc7a61b
kanban dashboard refactor
2026-05-27 22:06:23 +03:30
Mazyar
da2d50bd70
fixed critical security issues
2026-05-25 13:23:49 +03:30
Mazyar
aa5e547d7b
change dashboard routes to admin from api
2026-05-20 14:26:09 +03:30
Mazyar
e9ec33f0d4
cache translation in minio instead of mongo
2026-05-19 19:45:07 +03:30
Mazyar
f7763cf997
get all tenders with documeents scraped API
2026-05-19 19:23:18 +03:30
Mazyar
defa74de80
dashboard APIs
2026-05-18 16:56:35 +03:30
Mazyar
42d0a47226
tender summary response fix
2026-05-17 17:02:12 +03:30
Mazyar
6701428b09
AI translate refactor
2026-05-16 12:56:10 +03:30
Mazyar
5ab6b2714e
AI scraper prefix
2026-05-13 17:32:37 +03:30
Mazyar
584992f0b6
translation body update
2026-05-13 14:50:37 +03:30
Mazyar
ba9e7483ad
contractNoticeID duplication fix
2026-05-13 13:18:26 +03:30
Mazyar
83c8ece91f
added missing tender data to response
2026-05-13 01:07:43 +03:30
Mazyar
be53fa8054
worker concurrency config
2026-05-12 23:56:10 +03:30
Mazyar
5e8d4f67b2
tender duplication fix
2026-05-12 17:02:39 +03:30
Mazyar
b4efb97f47
merge tenders which have the same procedure id - worker performance fix
2026-05-11 15:10:01 +03:30
Mazyar
eb6706e061
Added missing fields - scraper and worker fixes
2026-05-11 00:09:37 +03:30
Mazyar
e136f0eaa7
List and download tender documents - worker auto translation to english job
2026-05-10 02:14:53 +03:30
Mazyar
b480ed2371
Integrated AI translation
2026-05-08 16:17:33 +03:30
Mazyar
65a19d1514
Integrated AI summary
2026-05-05 17:47:31 +03:30
Mazyar
086fe0ffd5
removed filter to get all tenders - bug fix
2026-05-04 05:28:56 +03:30
m.nazemi
446c11dfbf
Removed old document scraper service
2026-05-03 13:46:38 +03:30
m.nazemi
0bd5e41b70
Document scraper integration field fix
2026-05-02 17:44:56 +03:30
m.nazemi
81191656df
API for AI document scraper integration
2026-04-28 16:53:36 +03:30
m.nazemi
4c5355ddf8
worker bug fix
2026-04-26 19:17:10 +03:30
m.nazemi
347f974cd9
notification bug fix and refactor
2026-04-25 18:34:39 +03:30
m.nazemi
870f6758e0
profile keyword manual update and recommended tenders
2026-04-22 18:39:40 +03:30
m.nazemi
3aabd95b1c
implemented mongo gridFS for file upload
2026-04-21 19:07:51 +03:30
k.pirzargar
74d9269a19
Update cmd/web/Dockerfile
2026-04-19 11:00:22 +03:30
k.pirzargar
97ca51d95d
Update cmd/web/Dockerfile
2026-04-19 10:47:02 +03:30
hadi barzegar
6c76b7bcac
enhance tender mapping with additional notice fields and processing metadata
2026-04-16 11:56:01 +03:30
m.nazemi
3d651f8596
worker notice default limit
2026-04-15 04:28:51 +03:30
m.nazemi
a6a1ad51b1
worker notice limit config
2026-04-12 21:03:34 +03:30
m.nazemi
07320c58b0
scraper SSL fix
2026-04-12 15:11:37 +03:30
m.nazemi
bf3f21fb51
agent SDK fix
2026-04-12 12:29:35 +03:30
Karim Pirzargar
2ab001bc70
updat epush
2026-03-09 20:16:14 +03:30
Mazyar
e0e8b9cf04
ted one-time api
2026-02-23 15:40:20 +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