kavehhn
95c0532374
fix(auth/property): resolve auth token resolution, add property seeder
deploy-chabokan / deploy (push) Canceled after 0s
2026-08-19 07:08:36 +03:30
kavehhn
284594c782
feat(seeder): add one-time database seeding endpoint with status tracking
deploy-chabokan / deploy (push) Canceled after 0s
2026-08-19 06:49:53 +03:30
kavehhn
8bdd5af719
feat(property): convert registrationDate to Date object and add Jalali utilities
deploy-chabokan / deploy (push) Canceled after 0s
2026-08-19 06:45:50 +03:30
kavehhn
982b9e759f
fix(s3): generate and use seaweedfs signed urls for properties and documents
deploy-chabokan / deploy (push) Canceled after 0s
2026-08-19 06:30:00 +03:30
kavehhn
acb2e5d623
feat: add MongoDB search method, endpoints, and settings module
deploy-chabokan / deploy (push) Canceled after 0s
2026-08-19 05:50:14 +03:30
kavehhn
31ebafb53c
feat(bucket): auto-create buckets and move files from temp to main buckets on property save
deploy-chabokan / deploy (push) Canceled after 0s
2026-08-19 04:58:14 +03:30
kavehhn
dd611df7e5
fix(file): ensure full valid URLs in publicUrl and privateUrl virtual getters
deploy-chabokan / deploy (push) Canceled after 0s
2026-08-19 04:49:40 +03:30
kavehhn
61c9012912
fix(file): add file validation and robust payload parsing for bucket upload and delete
deploy-chabokan / deploy (push) Canceled after 0s
2026-08-19 04:35:42 +03:30
kavehhn
2b94fdb034
feat: add env-based super admin authentication and complete role & permission system
deploy-chabokan / deploy (push) Canceled after 0s
2026-08-18 00:08:04 +03:30
kavehhn
86655f2b69
Remove redis and add healthcheck endpoint
2026-08-17 22:50:49 +03:30
kavehhn
ca911b97a0
REFACTOR: Belonging → Property system migration + utilities update
...
Property system:
- Rename belonging → property throughout (model, controller, routes, service)
- Add property sub-models: buildingModel, landModel, belongingModel
- Add property lifecycle events: createProperty, deleteProperty
- Add propertyStatus component (model, controller, routes, service, seeder)
- Add commodity and commodityTransaction model stubs
Infrastructure:
- Update transactionModel and transactionService
- Update events/index.js for new property events
- Update seeder (seederDBConnection, seederRunner)
- Update typesense client configuration
- Update upload utilities (bucket, minio)
- Update featureModel and featureSeeder
- Update categorySeeder
- Update TsApiFeatures utility
- Remove docker-compose.yml (moved to root)
- Remove legacy belonging component files
2026-08-11 20:35:47 +03:30
kavehhn
a9432b96c0
ADD: Warehouse inventory management system
...
- Add WarehouseItem model with bilingual names (FA/EN) and bilingual counting units
- Add WarehouseItemTransaction model for IN/OUT movements with reason and actor
- Add WarehouseItemStock model for denormalized per-(item×warehouse) running balance
- Add warehouseItemService with full CRUD, atomic stock updates via $inc, negative stock guard, and aggregation queries for per-item/per-warehouse/total stock
- Add warehouseItemController and REST routes at /api/warehouse-items
- Add warehouseService, warehouseController, warehouseRoutes for warehouse location CRUD at /api/warehouses
- Register both route groups in routerEndpoints.js
2026-08-11 20:09:10 +03:30
kavehhn
0fe799e008
FIX: Minor bug
2025-06-04 16:17:52 +03:30
kavehhn
de60d4f163
ADD: Events
...
ADD: Index One Belonging
ADD: Belonging Code
2025-06-04 16:07:45 +03:30
kavehhn
a2f157611d
ADD: NationalGeoCode
2025-05-10 20:48:20 +03:30
kavehhn
39e909ee47
FIX: Belonging Bugs
2025-05-03 18:51:52 +03:30
kavehhn
1bcff0e73a
FIX: Belonging Bugs
2025-05-03 18:45:23 +03:30
kavehhn
2e11c65b11
FIX: Transaction Bugs
2025-05-03 15:47:33 +03:30
kavehhn
34b12d5b91
ADD: ImageUrl
2025-04-29 20:43:43 +03:30
kavehhn
cc2f0c6891
Merge branch 'typesense-search-engine' into fix-bugs
2025-04-29 19:38:22 +03:30
kavehhn
be732e252d
ADD: Npm run dev
...
REMOVE: Redundant logs
2025-04-27 23:24:15 +03:30
MohammadHMazarei
013828badc
ADD: updateInputQuery logic
2025-04-27 16:55:58 +03:30
MohammadHMazarei
47266377e1
ADD: updateInputQuery logic
2025-04-27 16:55:50 +03:30
kavehhn
4fc323cd16
ADD: API_URL to env
...
ADD: DocumentUrls and mainImageUrls field in belonging model
FIX: Indexing bugs for belonging
ADD: getImage endpoint to get private images
ADD: PrivateUrl field as virtual
FIX: Minor bug in bucketDeleteFile service
ADD: Word type to multer file checker
2025-04-27 16:17:17 +03:30
kavehhn
d7d2d98b6d
Merge branch 'typesense-search-engine' into fix-bugs
2025-04-25 22:00:11 +03:30
MohammadHMazarei
8c79d2cc76
ADD: CreatedAt to the transactions typesense schema
2025-04-22 13:48:55 +03:30
MohammadHMazarei
5e74bf174b
BUG FIX: typesense schema and data
2025-04-22 13:48:14 +03:30
MohammadHMazarei
4e616ba466
ADD: indexAllTransactions and searchTransactions POST and GET endpoints
2025-04-22 13:02:02 +03:30
MohammadHMazarei
f7cfe625fd
ADD: indexAllTransactions and searchTransactions handlers
2025-04-22 13:01:40 +03:30
MohammadHMazarei
44d241813b
ADD: indexAllTransactions and searchTransactions services
2025-04-22 13:01:22 +03:30
MohammadHMazarei
40bd335d30
BUG FIX: in index-all route You put the parentheses wrong
2025-04-22 13:00:09 +03:30
MohammadHMazarei
46e3c4858d
BUG FIX: in searchBelongings req.query passed to the service
2025-04-22 12:59:02 +03:30
MohammadHMazarei
5ce201c4e4
UPDATE: line in indexAllBelongings, collection name to belongings
2025-04-22 12:58:25 +03:30
kavehhn
9faaeef9ce
FIX: Transaction Route names
...
FIX: Bug where belonging transactions wouldnt select properly
2025-04-21 23:52:32 +03:30
kavehhn
6f0b634314
...
2025-04-21 01:03:09 +03:30
kavehhn
11a86929e7
ADD: Required to role field in user
2025-04-21 00:36:35 +03:30
MohammadHMazarei
c286ba2318
ADD: get transactions by Belonging Id GET endpoint
2025-04-20 23:58:29 +03:30
MohammadHMazarei
77191d957e
ADD: get transactions by Belonging Id handler
2025-04-20 23:58:10 +03:30
MohammadHMazarei
c89da28bd9
ADD: get transactions by Belonging Id
2025-04-20 23:57:46 +03:30
kavehhn
4a2e4bf2ae
Merge branch 'main' into transaction
...
# Conflicts:
# config/.env
# package-lock.json
# package.json
# setup/routerEndpoints.js
2025-04-19 23:37:59 +03:30
kavehhn
0fe0587846
FIX: Bugs
2025-04-19 23:33:11 +03:30
MohammadHMazarei
1c8ab89660
ADD: deleteTransaction DELETE endpoint
2025-04-17 14:07:51 +03:30
MohammadHMazarei
030f613eb5
ADD: deleteTransaction service
2025-04-17 14:07:38 +03:30
MohammadHMazarei
9eca3ae1a4
ADD: deleteTransaction handler
2025-04-17 14:07:25 +03:30
MohammadHMazarei
7f5c7f345c
ADD: update endpoint for updateTransaction
2025-04-17 14:01:04 +03:30
MohammadHMazarei
21ab53ad6a
ADD: updateTransaction service
2025-04-17 14:00:24 +03:30
MohammadHMazarei
fd8ac3d16a
ADD: update a transaction handler
2025-04-17 13:59:57 +03:30
MohammadHMazarei
b434df5854
ADD & UPDATE: BelongingInventory and create Transaction handler
2025-04-17 13:36:04 +03:30
MohammadHMazarei
a0d6ac9e97
ADD: Belonging Inventory GET endpoint
2025-04-17 13:35:21 +03:30
MohammadHMazarei
8e9100a290
ADD: individual and compound indexes
2025-04-17 13:34:22 +03:30