Commit Graph

192 Commits

Author SHA1 Message Date
Josepablo Cruz
8645d505f2 feat: Removing findDriverLoads 2026-04-13 20:42:32 -06:00
Josepablo Cruz
c4c065f9ad Merge remote-tracking branch 'origin/master' into develop 2026-04-13 20:40:24 -06:00
Josepablo Cruz
89146e0aaf feat(Carrier::Loads): Allow find list of private loads by default 2026-04-03 13:17:43 -06:00
Josepablo Cruz
8f64b9f304 feat(Shipper): Adding privacy as any other flag to the loads query 2026-03-31 20:49:52 -06:00
Josepablo Cruz
db6804145b feat: Adding findLoads service per account type (driver, shipper, carrier) 2026-03-31 20:28:16 -06:00
Josepablo Cruz Baas
965e2569e5 Private Groups + Load-Templates Features
Private Groups enabled based on the following assumptions:

There is only one private group.
The companies added to the private group is able to find private loads in the directory.
The companies added to the private group is able to find private companies in the directory.
The driver requires a new endpoint to read load resources no matter the privacy rules (as long as they are added to the load as driver).
The private group can be updated by anyone within the company.
The privacy is enabled on the company information by enabling privacy=true.
The privacy is enabled on the loads information by enabling privacy=true.
When looking for loads/companies by default the search is with privacy=false which returns public elements. When privacy=trueis given, the results are limited to private elements only (not including public elements).

Load-Templates enabled based on the following assumptions:

Anyone can CRUD the templates, there is no find feature (for now). It is assumed that the number of templates is limited.

See merge request jcruzbaasworkspace/enruta/etaapi!3
2026-03-31 22:47:32 +00:00
Josepablo Cruz Baas
d06696fd0c Private Groups + Load-Templates Features 2026-03-31 22:47:31 +00:00
Josepablo Cruz Baas
3a823174ed Merge branch 'revert-14a8a228' into 'master'
Draft: Revert "feat: Private Groups + Load-Templates"

See merge request jcruzbaasworkspace/enruta/etaapi!2

-> This commit reverts (rolls-back) to previous version for production.
2026-03-31 22:06:21 +00:00
Josepablo Cruz Baas
f79329e714 Draft: Revert "feat: Private Groups + Load-Templates" 2026-03-31 22:06:21 +00:00
Josepablo Cruz Baas
14a8a22880 feat: Private Groups + Load-Templates
Private Groups enabled based on the following assumptions:

* There is only one private group.
* The companies added to the private group is able to find private loads in the directory.
* The companies added to the private group is able to find private companies in the directory.
* The driver requires a new endpoint to read load resources no matter the privacy rules (as long as they are added to the load as driver).
* The private group can be updated by anyone within the company.
* The privacy is enabled on the company information by enabling `privacy=true`.
* The privacy is enabled on the loads information by enabling `privacy=true`.
* When looking for loads/companies by default the search is with `privacy=false` which returns public elements. When `privacy=true`is given, the results are limited to private elements only (not including public elements).

Load-Templates enabled based on the following assumptions:

* Anyone can CRUD the templates, there is no find feature (for now). It is assumed that the number of templates is limited.
2026-03-31 02:02:30 +00:00
Josepablo Cruz Baas
82c2ea74e8 feat: Private Groups + Load-Templates
Private Groups enabled based on the following assumptions:

* There is only one private group.
* The companies added to the private group is able to find private loads in the directory.
* The companies added to the private group is able to find private companies in the directory.
* The driver requires a new endpoint to read load resources no matter the privacy rules (as long as they are added to the load as driver).
* The private group can be updated by anyone within the company.
* The privacy is enabled on the company information by enabling `privacy=true`.
* The privacy is enabled on the loads information by enabling `privacy=true`.
* When looking for loads/companies by default the search is with `privacy=false` which returns public elements. When `privacy=true`is given, the results are limited to private elements only (not including public elements).

Load-Templates enabled based on the following assumptions:

* Anyone can CRUD the templates, there is no find feature (for now). It is assumed that the number of templates is limited.
2026-03-31 02:02:30 +00:00
Josepablo Cruz
4310d3a0c3 feat: Adding load-templates endpoint 2026-03-30 19:58:00 -06:00
Josepablo Cruz
30cd506862 feat: Adding privacy to loads and companies endpoint 2026-03-30 19:08:36 -06:00
Josepablo Cruz
e2582f7464 feat: Adding groups feature without privacity enabled 2026-03-30 16:52:38 -06:00
Josepablo Cruz
4aefb75ef6 feat: Removing unnecessary emails 2026-03-23 23:03:12 -06:00
Josepablo C
57cd47558a feat: Removing unnecessary data from public-tracking response 2026-01-07 17:49:56 -06:00
Josepablo C
92f447e5b2 feat: Adding real_cost to public-tracking data 2026-01-07 17:47:08 -06:00
Josepablo C.
7d5b65df93 feat: Adding product and cost to the public-load data 2026-01-07 17:43:39 -06:00
Josepablo C
14eb3820c2 feat(public:loads:tracking): Adding missing fields to public tracking data 2026-01-04 12:20:25 -06:00
Josepablo C
6f0df3cbb5 fix(load-attachments): Check if file field is empty 2025-09-11 23:47:32 -06:00
Josepablo C
4fd6b0679d test(cicd): Adding a change to force a different hash 2025-09-10 20:41:17 -06:00
Josepablo C
29b570f176 fix: apiConfig_local.json -> apiConfig.json 2025-09-08 22:11:15 -06:00
Josepablo C
bc7c4031cc feat: removing apiConfig.json adding it to CICD variables
- fix(ci_functions.sh/cicd): Using SH safe vars style
2025-09-08 21:39:46 -06:00
Josepablo C
84c2371f3c feat: Adding dokploy webhook 2025-09-08 20:41:00 -06:00
Josepablo C
7efec5e4dd feat: Adding dev/prod ci/cd with deploy using Dokploy registry 2025-09-08 20:31:16 -06:00
Josepablo C
0cc27afa0d feat: Adding Dokploy registry 2025-09-08 20:16:50 -06:00
Josepablo C
4d42c4cf35 feat: Adding Miguel's and Eduardo's redirect email to the list 2025-07-29 23:39:10 -06:00
Josepablo C
cdc7e69598 fix: Set TZ to UTC 2025-07-29 23:31:28 -06:00
Josepablo C
0f8a17b630 fix: Set normalized date to UTC 2025-07-29 20:35:39 -06:00
Josepablo C
95704d3556 fix(client::events): Invalid parameter onLoadDownload 2025-07-23 20:49:59 -06:00
Josepablo C
e2bd4b8343 fix(vehicles::events): on driver changed modify loads that are applicable 2025-07-22 23:47:06 -06:00
Josepablo C
94f1bc8fd8 fix(loads::events): Adding missing dependency branchesModel 2025-07-22 23:40:37 -06:00
Josepablo C
df1dcaab71 feat(loads::events): Adding date change events 2025-07-22 23:27:37 -06:00
Josepablo C
f2d8eb43bd feat(loads::events): Adding load state events 2025-07-22 22:51:47 -06:00
Josepablo C
b5e9ced8ad feat: Adding missing event handlers (templates) 2025-07-22 22:19:20 -06:00
Josepablo C
e10bf050a2 fix(proposals::warehouse): email events using warehouse fields 2025-07-22 20:47:25 -06:00
Josepablo C
64d9738c2a feat(proposals::warehouse): Adding email events back on proposal accepted 2025-07-22 20:33:41 -06:00
Josepablo C
3698d26208 feat(driver): Adding a driver endpoint for fetching loads 2025-07-22 20:01:21 -06:00
Josepablo C
1d0e6e887f fix(loads/observers): Affect proposals that are not completed, even if not accepted 2025-07-22 18:51:05 -06:00
Josepablo C
76915cfb57 fix(loads/proposals): when proposal changes vehicle, active load is removed from vehicle
fix(loads): Populate vehicle.categories + vehicle.notes in find request
2025-07-21 17:03:02 -06:00
Josepablo C
8ae13017be fix(vehicles/loads): fix city/state find filters 2025-07-21 13:02:28 -06:00
Josepablo C
43bcc7c0f3 fix(loads): Normalize dates on post and patch (remove time from dates) 2025-07-21 12:07:46 -06:00
Josepablo C
c9d5566288 fix(loads): onDelivered, proposal.load doesn't exists 2025-07-14 16:56:34 -06:00
Josepablo C
9ffa97ac0b feat: Adding Loads/Vehicle events to populate data among different
tables

fix(proposals): When patch event happens without is_accepted field, this
is detected as a rejection event.
2025-07-14 16:48:07 -06:00
Josepablo C
494d8cad7f feat: Add eduardo to the list of contact emails 2025-06-27 21:22:06 -06:00
Josepablo C
9fd8b371eb feat: Adding new version label 2025-06-10 22:08:13 -06:00
Josepablo C
4ea50b0e83 fix: Change status=Completed as observers rule instead of Published 2025-06-10 21:56:40 -06:00
Josepablo C
24a0e1a774 feat: Add extra filter to observers to only return valid loads 2025-06-08 11:43:00 -06:00
Josepablo C
661c550cb2 feat: Adding observers/loads endpoint 2025-06-06 23:26:46 -06:00
Josepablo C
ef66a297d4 chore: Update observers/account endpoint docs 2025-06-05 00:56:17 -06:00