Commit graph

  • ae42cb2f76 feat: add query param to include user branch Methapon2001 2024-04-10 15:11:13 +07:00
  • 7e6325d359 feat: delete user Methapon2001 2024-04-10 13:37:33 +07:00
  • 32127ae804 refactor: change condition order Methapon2001 2024-04-10 12:49:41 +07:00
  • f89dfcad37 feat: check for permission using roles Methapon2001 2024-04-10 12:46:23 +07:00
  • f7eea342cc fix: typo Methapon2001 2024-04-10 12:32:40 +07:00
  • ac58fe47e9 feat: auto generate customer code Methapon2001 2024-04-10 12:23:59 +07:00
  • de01db361a feat: add more user field Methapon2001 2024-04-10 11:37:12 +07:00
  • d44c259999 feat: add attachment to user controller Methapon2001 2024-04-10 10:50:45 +07:00
  • 8ab2ab156f feat: filter out internal roles (3 for now) Methapon2001 2024-04-10 10:32:28 +07:00
  • 27e545adcd feat: require user to change password on first login Methapon2001 2024-04-10 10:21:14 +07:00
  • 8cc442df18 fix: missing full stop Methapon2001 2024-04-09 18:04:26 +07:00
  • eda469779b refacotr: change type from object to string instead Methapon2001 2024-04-09 17:54:04 +07:00
  • 1e06b3356f feat: stats user by user type Methapon2001 2024-04-09 17:51:46 +07:00
  • 1f96418de0 refactor: nullable on create Methapon2001 2024-04-09 17:34:53 +07:00
  • 748451240a fix: update type should not require customerType Methapon2001 2024-04-09 15:43:21 +07:00
  • 356e307470 refactor: field name Methapon2001 2024-04-09 15:17:16 +07:00
  • 875f7ae023 feat: stat by userType Methapon2001 2024-04-09 15:13:44 +07:00
  • eacb225ffe feat: employee endpoints Methapon2001 2024-04-09 14:40:55 +07:00
  • 032674f579 refactor: update type Methapon2001 2024-04-09 13:58:04 +07:00
  • b804fafc42 refactor: customer db Methapon2001 2024-04-09 13:56:15 +07:00
  • 808bec7fc8 fix: migration reset Methapon2001 2024-04-09 13:13:18 +07:00
  • dd7e5aa2f2 fix: type error (temporary) Methapon2001 2024-04-09 13:08:08 +07:00
  • 3f0ed2c8d6 feat: auto gen user code Methapon2001 2024-04-09 13:05:49 +07:00
  • 3abff0594a feat: auto gen branch code Methapon2001 2024-04-09 11:45:29 +07:00
  • 120e2942b8 fix: data ordering Methapon2001 2024-04-09 08:51:22 +07:00
  • 112bd0eb23 chore: sort tag Methapon2001 2024-04-08 20:55:52 +07:00
  • a69738549b fix: optional query Methapon2001 2024-04-05 18:10:11 +07:00
  • 5bafff7482 chore: add migration Methapon2001 2024-04-05 16:46:47 +07:00
  • f9a737faff feat: add gender field to database Methapon2001 2024-04-05 16:43:59 +07:00
  • 97cc610171 refactor: do not update status if not created Methapon2001 2024-04-05 16:43:44 +07:00
  • 1412938e27 Merge branch 'feat/customer-branch-endpoints' into dev Methapon2001 2024-04-05 15:25:07 +07:00
  • 372bd54639 chore: update package name Methapon2001 2024-04-05 15:24:59 +07:00
  • f7738f4591 chore: sort tag Methapon2001 2024-04-05 15:24:44 +07:00
  • addd4caa63 feat: add update user data endpoint Methapon2001 2024-04-05 15:24:24 +07:00
  • 6899c9823a fix: error when record not found on update Methapon2001 2024-04-05 15:23:59 +07:00
  • c0e59ccb70 feat: delete customer branch Methapon2001 2024-04-05 15:13:33 +07:00
  • 3f43ad1b9b feat: get customer branch by id Methapon2001 2024-04-05 15:09:44 +07:00
  • 620a57c6c6 feat: get employee of customer branch Methapon2001 2024-04-05 15:07:29 +07:00
  • 910c8b50e4 feat: list customer branch Methapon2001 2024-04-05 14:55:24 +07:00
  • 011d53d655 fix: error on not exist Methapon2001 2024-04-05 14:43:21 +07:00
  • 58611f8589 fix: error when trying to update Methapon2001 2024-04-05 14:28:25 +07:00
  • d43ac9f54e fix: input type not matched with db Methapon2001 2024-04-05 14:27:38 +07:00
  • 6adc961352 feat: edit customer branch endpoint Methapon2001 2024-04-05 14:15:38 +07:00
  • fd37eb6520 feat: create customer branch endpoint Methapon2001 2024-04-05 13:51:36 +07:00
  • a90400b348 feat: add type for create and edit Methapon2001 2024-04-05 11:42:03 +07:00
  • 20d9598a4e feat: add customer branch controller Methapon2001 2024-04-05 11:37:40 +07:00
  • 7d26d6a9ea chore: remove user branch tag (merged with branch user) Methapon2001 2024-04-05 11:32:02 +07:00
  • b5fb9d3408 chore: restructure Methapon2001 2024-04-05 11:30:18 +07:00
  • 88a7a4431a chore: group two controller together Methapon2001 2024-04-05 11:25:30 +07:00
  • 75050aca90 Merge branch 'feat/customer-controller-endpoints' into dev Methapon2001 2024-04-05 11:19:53 +07:00
  • d5ce9a4bb8 chore: add tags to open api spec (for sorting purpose) Methapon2001 2024-04-05 11:18:36 +07:00
  • ef88a48d0c feat: edit customer endpoint Methapon2001 2024-04-05 11:18:01 +07:00
  • 7bd3c2ebd3 fix: missing image url Methapon2001 2024-04-05 11:06:01 +07:00
  • f9fdfce9ba fix: bad commit 578fc225 Methapon2001 2024-04-05 11:02:40 +07:00
  • 6e07e0658e feat: delete customer Methapon2001 2024-04-05 11:02:23 +07:00
  • 239582b472 feat: list customer by id Methapon2001 2024-04-05 11:00:44 +07:00
  • e76650bfce feat: list customer Methapon2001 2024-04-05 11:00:31 +07:00
  • 578fc225d9 chore: format Methapon2001 2024-04-05 10:57:43 +07:00
  • 62bbc0a071 fix: missing auth Methapon2001 2024-04-05 10:57:14 +07:00
  • 41c27dced5 feat: customer create endpoint Methapon2001 2024-04-05 10:53:52 +07:00
  • 4d8ea943a9 feat: status input on created and update Methapon2001 2024-04-05 10:44:13 +07:00
  • 36e00ce935 chore: move file Methapon2001 2024-04-05 10:42:16 +07:00
  • 1e722fc2db chore: migration Methapon2001 2024-04-05 10:41:03 +07:00
  • 767127cec9 fix: update status once used and must not delete Methapon2001 2024-04-05 10:38:29 +07:00
  • 24c39d0cf0 refactor: auto generate code (may change in the future) Methapon2001 2024-04-05 09:42:54 +07:00
  • 24c85b728c feat: filter by branch type (head/sub) and relation Methapon2001 2024-04-05 09:39:44 +07:00
  • 818112fff4 chore: reset migration Methapon2001 2024-04-05 09:03:20 +07:00
  • e3de7ed8e9 Merge branch 'refactor/db' into dev Methapon2001 2024-04-05 08:53:17 +07:00
  • 203fd88e66 refactor: database fields Methapon2001 2024-04-04 17:42:52 +07:00
  • 57d2c575bc refactor: change from required to not required Methapon2001 2024-04-04 16:08:22 +07:00
  • fff5558701 refactor: update schema and migration Methapon2001 2024-04-04 15:27:57 +07:00
  • 86efb84cea refactor: recreate migration file Methapon2001 2024-04-04 14:05:07 +07:00
  • cd76812997 refactor: remove suffix from field Methapon2001 2024-04-04 13:42:46 +07:00
  • 79f844adee fix: delete branch from user wrong body Methapon2001 2024-04-04 15:50:30 +07:00
  • d3e535374c fix: remove parent relation Methapon2001 2024-04-04 11:09:59 +07:00
  • a86b01bc3e feat: update status when delete user or branch Methapon2001 2024-04-04 11:07:09 +07:00
  • 7830d1ee63 feat: temporary generate code for branch and user Methapon2001 2024-04-04 11:05:58 +07:00
  • 88f84256cf fix: image not on delete data Methapon2001 2024-04-04 11:02:01 +07:00
  • 48c9fe1cfd fix: filter out after finish response Methapon2001 2024-04-04 09:15:53 +07:00
  • cd6e2040af fix: filter out non-api Methapon2001 2024-04-04 09:14:12 +07:00
  • 8c898c4faa fix: error reading variable Methapon2001 2024-04-04 09:10:31 +07:00
  • ad4861b04c feat: add user stat for each branch Methapon2001 2024-04-03 17:33:19 +07:00
  • 91e2f83529 chore: deps elasticsearch Methapon2001 2024-04-03 16:37:52 +07:00
  • 8336310e69 feat: check if user in in used Methapon2001 2024-04-03 16:26:52 +07:00
  • 7f934454a9 chore: change devMessage on error Methapon2001 2024-04-03 16:26:39 +07:00
  • 3814dca548 Merge branch 'feat/log' into dev Methapon2001 2024-04-03 16:13:39 +07:00
  • 3ed9d56f00 feat: add more dev message Methapon2001 2024-04-03 16:13:29 +07:00
  • 89e7767fae chore: .env example add elasticsearch and minio Methapon2001 2024-04-03 16:13:13 +07:00
  • d01d4ef40a feat: use middleware Methapon2001 2024-04-03 16:12:41 +07:00
  • 9c176b9878 feat: logging data structure and conditioan level Methapon2001 2024-04-03 16:12:33 +07:00
  • 41c4d5e8f2 feat: add log middleware Methapon2001 2024-04-03 15:37:19 +07:00
  • 1f7b4a24e6 feat: add elasticsearch Methapon2001 2024-04-03 15:37:05 +07:00
  • a67ca5f277 Merge branch 'feat/user-endpoints' into dev Methapon2001 2024-04-03 15:36:24 +07:00
  • aca05c9650 feat: user endpoints (crud, many-to-many branch) Methapon2001 2024-04-03 15:34:36 +07:00
  • b1b93f0e34 fix: missing qr code image url on get Methapon2001 2024-04-03 12:49:42 +07:00
  • e7568fa06f fix: update condition and response relation Methapon2001 2024-04-03 12:49:20 +07:00
  • 7ba77907d3 refactor: change method Methapon2001 2024-04-03 10:54:46 +07:00
  • 075d40876e fix: create branch head office condition when not send Methapon2001 2024-04-03 10:51:40 +07:00
  • c318a7abf2 Merge branch 'feat/runtime-migration' into dev Methapon2001 2024-04-03 09:32:28 +07:00
  • 653eef846d feat: add migration Methapon2001 2024-04-03 09:30:22 +07:00