kavehhn
898ff6cf69
fix(docker): remove apk add and dumb-init to avoid build timeout
deploy-chabokan / deploy (push) Canceled after 0s
2026-08-30 09:49:32 +03:30
kavehhn
d140de86a3
build(docker): use liara npm mirror registry
deploy-chabokan / deploy (push) Canceled after 0s
2026-08-30 09:42:11 +03:30
kavehhn
576ccf5421
feat(dashboard): add aggregated dashboard stats API, robust logout, and warehouse seeders
deploy-chabokan / deploy (push) Canceled after 0s
2026-08-30 09:29:21 +03:30
kavehhn
9b88b342ad
fix(file): skip redundant MinIO round-trips for files already in target bucket
...
deploy-chabokan / deploy (push) Canceled after 0s
moveFromTempToMain was calling statObject/copy/remove against MinIO for
every file already attached to a property on every save, even when the
file was already in the target bucket and never touched temp. This added
a blocking network round-trip per image/document on every property save.
Now files already pointing at the target bucket are returned immediately
without hitting MinIO.
2026-08-19 08:02:10 +03:30
kavehhn
e63ac1ddf4
fix(property): optimize save performance, fix 2dsphere index error and make search indexing non-blocking
deploy-chabokan / deploy (push) Canceled after 0s
2026-08-19 07:46:08 +03:30
kavehhn
30ea3aed84
feat(settings): add autosave settings API endpoints and persistence
deploy-chabokan / deploy (push) Canceled after 0s
2026-08-19 07:27:07 +03:30
kavehhn
fb4a98f83c
fix(date): add id and name to persianMonths definition
deploy-chabokan / deploy (push) Canceled after 0s
2026-08-19 07:17:35 +03:30
kavehhn
7d70a64cd6
fix(property): support resolving properties by propertyCode and ObjectId in CRUD
deploy-chabokan / deploy (push) Canceled after 0s
2026-08-19 07:13:29 +03:30
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
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
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
1618eae69f
ADD: Production multi-stage Dockerfile and .dockerignore
2026-08-17 12:42:37 +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
98044a18f2
ADD: Cors
2025-06-04 14:37:56 +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
35163f7ac7
ADD: Cors
2025-04-29 23:03:34 +03:30
kavehhn
10072ca77c
FIX: Minor bugs
2025-04-29 22:57:24 +03:30
kavehhn
d8d80482a6
ADD: deploy.yaml
2025-04-29 20:49: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
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
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
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
485b10498c
Fix Bugs
2025-04-19 23:33:52 +03:30
kavehhn
0fe0587846
FIX: Bugs
2025-04-19 23:33:11 +03:30
kavehhn
6367325622
REMOVE: env
2025-01-04 22:09:57 +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
465b678357
FIX: UserSeeder
...
ADD: Get-Self endpoint for users
ADD: Category and Role Seeder
FIX: Login Check Bug
ADD: Extra fields for documents and images in belonging model
ADD: localhost:5173 to cors
ADD: SuperAdmin ID to env
2025-01-03 17:45:09 +03:30
kavehhn
bda5bca9de
FIX: Conflict
2025-01-02 16:57:45 +03:30
kavehhn
d96cb36bdf
ADD: Seeder and User Seeder
...
ADD: Chalk package
2025-01-02 16:56:18 +03:30
kavehhn
1021774c89
ADD: Server urls
...
ADD: SearchBelongings function
REMOVE: API from docker compose (run it manually)
ADD: Required packages
REMOVE: Redundant import from TsApiFeatures
2025-01-02 16:45:16 +03:30
kavehhn
25a6978346
ADD: Description to belongingModel
...
ADD: Typesense Index All function
2025-01-02 16:00:38 +03:30
kavehhn
d912e476cf
Merge branch 'main' into typesense
2024-12-31 22:51:16 +03:30
kavehhn
f12320bc82
ADD: Typesense to docker compose
2024-12-31 22:50:37 +03:30
kavehhn
ef504f3775
ADD: TsApiFeatures
...
ADD: Typesense
ADD: Index all belongings router, controller & service
2024-12-31 22:49:43 +03:30
kavehhn
bbc04df5b3
ADD: Docker and ENV
2024-12-22 16:53:23 +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
kavehhn
c178e162ca
Init commit
2024-12-16 05:13:04 +03:30