kavehhn
3829851566
feat(cron): add 5-minute property index cronjob with change detection
deploy-chabokan / deploy (push) Canceled after 0s
2026-08-19 05:06:19 +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
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
MohammadHMazarei
1ae70dda18
UPDATE: protocole to HTTPS
2025-04-22 12:56:15 +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
MohammadHMazarei
b0133914a1
ADD: transactions route handler
2025-04-17 10:58:23 +03:30
kavehhn
2d87cc4834
ADD: SignedUrls for documents, mainImage and images
...
ADD: Bucket and Upload System
ADD: New errors
ADD: Virtuals for categories
ADD: Features system
ADD: File management system
2025-01-04 22:06:43 +03:30
kavehhn
d912e476cf
Merge branch 'main' into typesense
2024-12-31 22:51:16 +03:30
kavehhn
ef504f3775
ADD: TsApiFeatures
...
ADD: Typesense
ADD: Index all belongings router, controller & service
2024-12-31 22:49:43 +03:30
MohammadHMazarei
d37d87bc36
ADD: category routes to routerEndpoints
2024-12-29 19:42:10 +03:30
MohammadHMazarei
a7d7df8bf4
ADD: redis client and connection
2024-12-24 19:26:44 +03:30
MohammadHMazarei
6dcd9b976e
ADD: redis setup and created a redis client
2024-12-24 19:25:55 +03:30
kavehhn
aeb38982ca
Init commit
2024-12-22 16:52:30 +03:30
kavehhn
28ab698dfc
Init Commit
2024-12-16 18:32:04 +03:30