m.nazemi
a75e4743f0
Merge pull request 'Refactor AI summarizer client initialization to include MongoDB manager and add statistics endpoint' ( #36 ) from TM-602 into develop
...
Reviewed-on: https://repo.ravanertebat.com/TM/tm_back/pulls/36
2026-06-07 14:32:37 +03:30
Mazyar
c91b525e7e
Refactor MongoDB index creation to use NonEmptyStringPartialFilter for improved clarity and consistency. Update GetOJS function to utilize context and user agent for HTTP requests, enhancing error handling and response management.
2026-06-06 21:36:43 +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
22487eaef5
fix(user,customer): return 409 on phone duplicate-key races
...
Map E11000 from the per-collection phone index to friendly conflict
errors and skip redundant GetByPhone when the phone is unchanged.
Not blocking: IAT test DB may need a one-off dedupe for index build;
phone uniqueness is per collection (users vs customers), not global.
2026-06-06 20:34:45 +03:30
Mazyar
0da0c8b8c9
Implement phone number validation for customer and user registration and updates
...
Added functionality to check for existing customers and users by phone number during registration and updates. Updated the handler, service, and repository layers to include phone number checks, ensuring unique phone numbers across customers and users.
2026-06-06 12:03:04 +03:30
Mazyar
5af3bfaa1a
Allow address.country and address.state as company sort fields.
...
Frontend sends nested address field names for sorting; accept them alongside the existing country and state aliases.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-06 09:41:12 +03:30
m.nazemi
cf77e90f84
Merge branch 'develop' into sort
2026-06-03 12:38:12 +03:30
m.nazemi
286642ea15
Merge branch 'develop' into TM-588
2026-06-03 12:37:14 +03:30
m.nazemi
5b76cf8f89
Merge branch 'develop' into TM-571
2026-06-03 12:36:04 +03:30
Mazyar
2090cc05ba
Enhance company and company category search forms by adding new sortable fields (email, phone, country, state, language, currency) and updating related API documentation.
2026-06-02 22:07:49 +03:30
Mazyar
ea792f54cd
Improve error handling in feedback retrieval by returning a specific error when feedback is not found for a given tender ID and customer ID.
2026-06-02 21:43:23 +03:30
Mazyar
a4c04912c8
Implement multi-file upload functionality for companies and enhance file upload routes
2026-06-02 21:24:39 +03:30
Mazyar
48340d961d
Improve error handling for tender retrieval by adding specific checks for "tender not found" in handler and service layers.
2026-06-02 12:24:48 +03:30
m.nazemi
75b1d64730
Merge branch 'develop' into TM-487
2026-06-01 16:58:00 +03:30
m.nazemi
7da9a4af81
Merge branch 'develop' into TM-559
2026-06-01 16:57:27 +03:30
Mazyar
4beb57f42e
Refactor document scraper service to support multiple country codes for pending tenders retrieval.
2026-06-01 11:14:18 +03:30
Mazyar
64be9f4ef7
Refactor customer form and service for company ID validation.
2026-06-01 10:56:50 +03:30
Mazyar
1be07bcb71
Enhance customer search functionality by adding filters for full name, email, and role.
2026-06-01 10:40:37 +03:30
Mazyar
7dd2e415f4
Merge branch 'develop' into TM-571
2026-05-31 18:36:59 +03:30
m.nazemi
95d2ce201f
Merge branch 'develop' into TM-563
2026-05-31 18:29:15 +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
m.nazemi
1a138d1485
Merge pull request 'Add customer feedback statistics endpoint and refactor feedback handling' ( #27 ) from TM-560 into develop
...
Reviewed-on: https://repo.ravanertebat.com/TM/tm_back/pulls/27
Reviewed-by: Hadi Barzegar <barzagarhadi@gmail.com >
2026-05-31 18:26:13 +03:30
Mazyar
2977f470ac
Add customer feedback statistics endpoint and refactor feedback handling
2026-05-31 03:32:07 +03:30
Mazyar
ef57b302d9
in-app notification bug fix
2026-05-31 03:05:40 +03:30
Mazyar
73d2d4927a
Add username existence check in customer registration and update handlers
2026-05-31 02:37:06 +03:30
Mazyar
31627a1bbe
create CMS error handling
2026-05-31 02:17:46 +03:30
Mazyar
970860a3d3
feedback error handling
2026-05-31 01:47:28 +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
51defd9438
company feedback performance update
2026-05-25 11:27:55 +03:30
Mazyar
3c86d35663
get liked tenders error
2026-05-23 23:00:37 +03:30
Mazyar
6a74b34809
country filter fix
2026-05-23 21:14:21 +03:30
Mazyar
68e188a3e8
tender single document download
2026-05-23 12:14:44 +03:30
Mazyar
4390d7e1a6
tenders document filter
2026-05-20 16:03:30 +03:30
Mazyar
aa5e547d7b
change dashboard routes to admin from api
2026-05-20 14:26:09 +03:30
Mazyar
06ab5830e2
get scraped documents list performance update
2026-05-20 11:43:14 +03:30
Mazyar
2d5df8556f
ai translation refactor
2026-05-19 21:58:44 +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
515d118158
get pending tenders slow request fix
2026-05-19 13:39:56 +03:30
Mazyar
defa74de80
dashboard APIs
2026-05-18 16:56:35 +03:30
Mazyar
6dac5b482a
hybrid pagination
2026-05-17 17:21:36 +03:30
Mazyar
42d0a47226
tender summary response fix
2026-05-17 17:02:12 +03:30
Mazyar
0fbcc74377
overall summary respose
2026-05-16 17:44:27 +03:30
Mazyar
70f581da09
cursor pagination
2026-05-16 15:51:18 +03:30
Mazyar
bcb345103f
minio connection log
2026-05-16 14:08:58 +03:30