Commit graph

99 commits

Author SHA1 Message Date
Methapon2001
d43ac9f54e fix: input type not matched with db 2024-04-05 14:27:38 +07:00
Methapon2001
6adc961352 feat: edit customer branch endpoint 2024-04-05 14:15:38 +07:00
Methapon2001
fd37eb6520 feat: create customer branch endpoint 2024-04-05 13:51:36 +07:00
Methapon2001
a90400b348 feat: add type for create and edit 2024-04-05 11:42:03 +07:00
Methapon2001
20d9598a4e feat: add customer branch controller 2024-04-05 11:37:40 +07:00
Methapon2001
7d26d6a9ea chore: remove user branch tag (merged with branch user) 2024-04-05 11:32:02 +07:00
Methapon2001
b5fb9d3408 chore: restructure 2024-04-05 11:31:33 +07:00
Methapon2001
88a7a4431a chore: group two controller together 2024-04-05 11:25:30 +07:00
Methapon2001
75050aca90 Merge branch 'feat/customer-controller-endpoints' into dev 2024-04-05 11:19:53 +07:00
Methapon2001
d5ce9a4bb8 chore: add tags to open api spec (for sorting purpose) 2024-04-05 11:18:36 +07:00
Methapon2001
ef88a48d0c feat: edit customer endpoint 2024-04-05 11:18:01 +07:00
Methapon2001
7bd3c2ebd3 fix: missing image url 2024-04-05 11:06:01 +07:00
Methapon2001
f9fdfce9ba fix: bad commit 578fc225 2024-04-05 11:02:40 +07:00
Methapon2001
6e07e0658e feat: delete customer 2024-04-05 11:02:23 +07:00
Methapon2001
239582b472 feat: list customer by id 2024-04-05 11:00:44 +07:00
Methapon2001
e76650bfce feat: list customer 2024-04-05 11:00:31 +07:00
Methapon2001
578fc225d9 chore: format 2024-04-05 10:57:43 +07:00
Methapon2001
62bbc0a071 fix: missing auth 2024-04-05 10:57:27 +07:00
Methapon2001
41c27dced5 feat: customer create endpoint 2024-04-05 10:53:52 +07:00
Methapon2001
4d8ea943a9 feat: status input on created and update 2024-04-05 10:44:13 +07:00
Methapon2001
36e00ce935 chore: move file 2024-04-05 10:42:16 +07:00
Methapon2001
1e722fc2db chore: migration 2024-04-05 10:41:03 +07:00
Methapon2001
767127cec9 fix: update status once used and must not delete 2024-04-05 10:38:29 +07:00
Methapon2001
24c39d0cf0 refactor: auto generate code (may change in the future) 2024-04-05 09:42:54 +07:00
Methapon2001
24c85b728c feat: filter by branch type (head/sub) and relation 2024-04-05 09:39:44 +07:00
Methapon2001
818112fff4 chore: reset migration 2024-04-05 09:03:20 +07:00
Methapon2001
e3de7ed8e9 Merge branch 'refactor/db' into dev 2024-04-05 08:53:17 +07:00
Methapon2001
203fd88e66 refactor: database fields 2024-04-04 17:42:52 +07:00
Methapon2001
57d2c575bc refactor: change from required to not required 2024-04-04 16:08:22 +07:00
Methapon2001
fff5558701 refactor: update schema and migration 2024-04-04 15:57:27 +07:00
Methapon2001
86efb84cea refactor: recreate migration file 2024-04-04 15:57:27 +07:00
Methapon2001
cd76812997 refactor: remove suffix from field
This field does not indicate that it is specific to TH but any locale
2024-04-04 15:57:27 +07:00
Methapon2001
79f844adee fix: delete branch from user wrong body 2024-04-04 15:50:30 +07:00
Methapon2001
d3e535374c fix: remove parent relation
Looks unnecessary. Doesn't seems to get used.
2024-04-04 11:09:59 +07:00
Methapon2001
a86b01bc3e feat: update status when delete user or branch
This must be handle accordingly when new model has relation when these model.
2024-04-04 11:07:09 +07:00
Methapon2001
7830d1ee63 feat: temporary generate code for branch and user
This field should be auto generated by system but currently don't know the pattern.
2024-04-04 11:05:58 +07:00
Methapon2001
88f84256cf fix: image not on delete data 2024-04-04 11:02:01 +07:00
Methapon2001
48c9fe1cfd fix: filter out after finish response 2024-04-04 09:15:53 +07:00
Methapon2001
cd6e2040af fix: filter out non-api 2024-04-04 09:14:12 +07:00
Methapon2001
8c898c4faa fix: error reading variable 2024-04-04 09:10:31 +07:00
Methapon2001
ad4861b04c feat: add user stat for each branch 2024-04-03 17:33:19 +07:00
Methapon2001
91e2f83529 chore: deps elasticsearch 2024-04-03 16:37:52 +07:00
Methapon2001
8336310e69 feat: check if user in in used 2024-04-03 16:26:52 +07:00
Methapon2001
7f934454a9 chore: change devMessage on error 2024-04-03 16:26:39 +07:00
Methapon2001
3814dca548 Merge branch 'feat/log' into dev 2024-04-03 16:13:39 +07:00
Methapon2001
3ed9d56f00 feat: add more dev message 2024-04-03 16:13:29 +07:00
Methapon2001
89e7767fae chore: .env example add elasticsearch and minio 2024-04-03 16:13:13 +07:00
Methapon2001
d01d4ef40a feat: use middleware 2024-04-03 16:12:41 +07:00
Methapon2001
9c176b9878 feat: logging data structure and conditioan level 2024-04-03 16:12:33 +07:00
Methapon2001
41c4d5e8f2 feat: add log middleware 2024-04-03 15:37:19 +07:00