Commit graph

54 commits

Author SHA1 Message Date
Kanjana
743fde5493 add mode: "insensitive" 2025-04-09 11:54:52 +07:00
Methapon2001
717966796e fix: ordering 2025-01-29 14:51:03 +07:00
Methapon2001
e4f982eecb refactor: make field optional 2024-12-11 09:04:48 +07:00
Methapon2001
76ea340fe5 fix: active only does not detect if head is not active 2024-12-06 16:37:56 +07:00
Methapon2001
3f04f3c727 feat: add active only parameter 2024-12-06 16:08:24 +07:00
Methapon2001
57397cc894 refactor: move include head to opts 2024-12-06 15:44:52 +07:00
Methapon2001
704814c05a feat: contact now show when include sub branch 2024-12-04 13:56:22 +07:00
Methapon Metanipat
8d2d0ee6cc fix: change role from account to accountant 2024-11-13 10:24:44 +07:00
Methapon Metanipat
95d4321284 fix: typo 2024-10-29 16:01:13 +07:00
Methapon Metanipat
af463ee509 refactor: don't include condition if no query 2024-10-24 17:49:10 +07:00
Methapon Metanipat
d5ab07bacb refactor: upload now return presigned url instead of redirect
This will prevent from payload upload to API Server first and then
upload to MinIO which cause upload to be happens twice.
2024-10-24 09:56:37 +07:00
Methapon Metanipat
6235186ff9 feat: add head to more endpoint 2024-10-22 17:54:46 +07:00
Methapon Metanipat
ab71a7ee20 feat(file): add head endpoint 2024-10-22 10:43:20 +07:00
Methapon Metanipat
323f5431a1 feat: search code now case insensitive 2024-10-18 08:46:17 +07:00
Methapon Metanipat
4de0e1da87 refactor: throw common error with util function instead 2024-10-03 09:41:47 +07:00
Methapon Metanipat
0d41f60829 fix: branch under headquarter display condition 2024-09-25 14:44:41 +07:00
Methapon Metanipat
10aca80abe feat: add role that can view another branch 2024-09-25 14:26:56 +07:00
Methapon Metanipat
4036a36236 feat: add option to get list with head 2024-09-25 14:13:27 +07:00
Methapon Metanipat
5e33da1862 fix: tree permission 2024-09-24 11:43:16 +07:00
Methapon Metanipat
8f60197082 feat: add field 2024-09-24 09:56:05 +07:00
Methapon Metanipat
20725b0357 refactor: reduce code 2024-09-12 14:31:21 +07:00
Methapon Metanipat
b9a616b9a9 feat: branch attachment 2024-09-12 13:29:48 +07:00
Methapon Metanipat
8a745fefa8 refactor: input fields (branch, user) 2024-09-12 09:48:56 +07:00
Methapon Metanipat
a7cafd25d0 feat: add address fields 2024-09-11 15:06:27 +07:00
Methapon Metanipat
4da867cde1 refactor: helper function manual throw
This change is to prevent swagger to infer empty type from return type
2024-09-11 14:38:26 +07:00
Methapon Metanipat
2fff5f7e47 refactor: use utility function 2024-09-10 16:49:18 +07:00
Methapon Metanipat
977cb5c6a4 fix: always include from head branch 2024-09-10 16:18:07 +07:00
Methapon Metanipat
68d6bcfcab refactor: separate and use helper function 2024-09-10 15:43:15 +07:00
Methapon Metanipat
06919a0205 refactor: use helper function instead for easier fix 2024-09-10 13:23:03 +07:00
Methapon Metanipat
2f73dd1634 feat: deprecate unused endpoints 2024-09-10 10:22:54 +07:00
Methapon Metanipat
4448d1d797 fix: error user 2024-09-09 16:13:21 +07:00
Methapon Metanipat
1a804610bd fix: wrong position 2024-09-09 15:46:48 +07:00
Methapon Metanipat
7bd9756e5d feat: add field 2024-09-09 14:58:48 +07:00
Methapon Metanipat
0893662536 feat: filter branch by status 2024-09-09 14:49:01 +07:00
Methapon Metanipat
cbdb4c0e7a refactor: use factory function for perm check 2024-09-09 14:40:18 +07:00
Methapon Metanipat
9e745ee81c feat: branch image multi 2024-09-09 14:07:07 +07:00
Methapon Metanipat
a32ed2ea2c chore: remove unused 2024-09-09 09:39:59 +07:00
Methapon Metanipat
26b21209d4 fix: stats not accurate due to prev commit 2024-09-09 09:10:23 +07:00
Methapon Metanipat
0dc035b3ed fix: head branch not listed 2024-09-06 17:52:53 +07:00
Methapon Metanipat
97458d315c refactor: fix permission for sure 2024-09-06 16:48:52 +07:00
Methapon Metanipat
1385e37f8f fix: condition 2024-09-06 14:54:31 +07:00
Methapon Metanipat
cab6ba4d04 fix: user in branch not see hq 2024-09-06 14:49:28 +07:00
Methapon Metanipat
ad26a551f0 fix: missing auth 2024-09-06 13:23:33 +07:00
Methapon Metanipat
ebb5261b8d feat: add delete image endpoint 2024-09-06 13:22:04 +07:00
Methapon Metanipat
e63510850b feat: scope stats 2024-09-06 11:56:15 +07:00
Methapon Metanipat
185de6eda8 feat: also remove file when delete data 2024-09-05 15:06:00 +07:00
Methapon Metanipat
277860805b feat: count stats 2024-09-05 15:05:38 +07:00
Methapon Metanipat
097e2df4fb fix: protect endpoints 2024-09-05 14:58:40 +07:00
Methapon Metanipat
1581626880 feat: return relation 2024-09-05 14:37:39 +07:00
Methapon Metanipat
f29e99f48b fix: error 2024-09-05 14:17:32 +07:00