Commit graph

66 commits

Author SHA1 Message Date
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
Methapon2001
2197ee4104 refactor: set status to 201 on create data 2024-04-02 15:42:53 +07:00
Methapon2001
c96992ecd9 Merge branch 'refactor/error-response' into dev 2024-04-02 15:32:30 +07:00
Methapon2001
94d77e494c refactor: add devMessage to error 2024-04-02 15:32:17 +07:00
Methapon2001
ba65c1fe83 refactor: add devMessage field (useful in front-end) 2024-04-02 15:26:37 +07:00
Methapon2001
aefbc965ab Merge branch 'feat/branch-contact-endpoints' into dev 2024-04-02 15:25:38 +07:00
Methapon2001
d7b7a6ebee feat: get branch endpoint 2024-04-02 15:25:28 +07:00
Methapon2001
63de7b3e52 feat: edit branch endpoint 2024-04-02 15:21:19 +07:00
Methapon2001
e58141b864 fix: missing type 2024-04-02 14:08:07 +07:00
Methapon2001
1cea8830d6 refactor: use same function to get img location 2024-04-02 14:01:59 +07:00
Methapon2001
712a0952dd feat: delete branch contact endpoint 2024-04-02 13:56:40 +07:00
Methapon2001
5aded1d215 feat: create branch contact endpoint 2024-04-02 13:55:54 +07:00
Methapon2001
aa182a314e feat: branch contact controller 2024-04-02 13:54:49 +07:00
Methapon2001
d6aa0385cd fix: empty user info when crud 2024-04-02 13:51:55 +07:00
Methapon2001
8a32de9bb0 Merge branch 'feat/branch-endpoints' into dev 2024-04-02 13:19:08 +07:00
Methapon2001
44bf228081 feat: include relation response when create and delete 2024-04-02 13:18:59 +07:00
Methapon2001
4e9b8dbb83 Merge branch 'feat/branch-endpoints' into dev 2024-04-02 11:54:24 +07:00
Methapon2001
9f95bbd745 feat: change database field to enum with default 2024-04-02 11:54:11 +07:00
Methapon2001
72f9f5fe84 feat: edit branch endpoint 2024-04-02 11:52:55 +07:00
Methapon2001
c841fa84ed feat: create branch endpoint 2024-04-02 11:19:12 +07:00