Commit graph

1735 commits

Author SHA1 Message Date
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
Methapon2001
1f7b4a24e6 feat: add elasticsearch 2024-04-03 15:37:05 +07:00
Methapon2001
a67ca5f277 Merge branch 'feat/user-endpoints' into dev 2024-04-03 15:36:24 +07:00
Methapon2001
aca05c9650 feat: user endpoints (crud, many-to-many branch) 2024-04-03 15:34:36 +07:00
Methapon2001
b1b93f0e34 fix: missing qr code image url on get 2024-04-03 12:49:42 +07:00
Methapon2001
e7568fa06f fix: update condition and response relation 2024-04-03 12:49:20 +07:00
Methapon2001
7ba77907d3 refactor: change method 2024-04-03 10:54:46 +07:00
Methapon2001
075d40876e fix: create branch head office condition when not send 2024-04-03 10:51:40 +07:00
Methapon2001
c318a7abf2 Merge branch 'feat/runtime-migration' into dev 2024-04-03 09:32:28 +07:00
Methapon2001
653eef846d feat: add migration 2024-04-03 09:30:22 +07:00
Methapon2001
7f81331b3e feat: runtime migration 2024-04-03 09:28:40 +07:00
Methapon2001
58cc1ef8f7 fix: missing package 2024-04-03 09:18:57 +07:00
Methapon2001
bc77e8aab5 fix: build script 2024-04-03 09:17:09 +07:00
Methapon2001
302f129e91 feat: add type to http error dev message 2024-04-02 15:43:33 +07:00
Methapon2001
8a512c2ba3 Merge branch 'refactor/error-response' into dev 2024-04-02 15:43:05 +07:00