Commit Graph

173 Commits

Author SHA1 Message Date
5bfb376e88 🚑 hotfix: seeding system 2026-01-29 02:40:25 +07:00
e305d955f1 🐛 fix: move prisma id generator to service and repo 2026-01-29 02:10:01 +07:00
adc38cdfd3 Merge pull request #3 from rafiarrafif/chore/adjustmnent
🔧 chore: update example env
2026-01-29 01:58:33 +07:00
1f099c0942 🔒 security: ignoring any account config file 2026-01-29 01:57:52 +07:00
b8d92dd996 🔒 security: ignore account credentials config 2026-01-29 01:57:02 +07:00
1ae59c2ccb 🔧 chore: update example env 2026-01-28 23:49:16 +07:00
ab2bcf0b6f Merge pull request #2 from rafiarrafif/refactor/change-to-uuidv7
♻️ refactor: change all id types to uuidv7
2026-01-27 22:33:01 +07:00
c730689587 ♻️ refactor: change all id types to uuidv7 2026-01-27 22:29:21 +07:00
6e346738c6 Merge pull request #1 from rafiarrafif/fix/bulk-insert-adjustment
🐛 fix: adjustment in bulk insert
2026-01-27 21:29:36 +07:00
2f1e37ce52 feat: launch endpoint to insert anime only with malId 2026-01-27 21:22:08 +07:00
379a5b4b38 🐛 fix: prisma schema in seiyuu 2026-01-26 21:28:19 +07:00
11834924e9 feat: create bulk insertion for characters 2026-01-25 10:57:35 +07:00
fe10412f1a 🚧 wip: try to create character with VA in bulk 2026-01-24 22:02:34 +07:00
7d26ca7f7b ♻️ refactor: move file to related folder 2026-01-23 22:29:30 +07:00
4c1f891f12 🚧 wip: create bulk insert endpoint 2026-01-23 21:08:10 +07:00
87ec339dba perf: change country to enum values 2026-01-21 21:54:42 +07:00
e33c0264fa feat: create db seed for initialization 2026-01-21 10:26:31 +07:00
20b371dbf6 feat: create token validation endpoint 2026-01-20 11:27:52 +07:00
22428c720c 🐛 fix: user client info in oauth flow 2026-01-20 09:39:50 +07:00
fb3d0b5e9b 🐛 (prisma) fix prisma db pool error 2026-01-19 22:07:10 +07:00
1e71bc43f7 📦 deps: updating prisma v6 to v7 2026-01-09 15:12:17 +07:00
ade9008752 🐛 fix: change create user repository flow
Include preference creation when creating new user accounts
2026-01-09 14:56:39 +07:00
5bcdeae663 🔧 chore: change selected data when create user session
These changes include:
1. Changes to the response structure when logging in with a third-party provider, by wrapping the token in `authToken` instead of directly entering it in the return data section.
2. Adding a type to user session creation by taking only the important elements. This is to prevent data leaks because important data is in jwt.
2026-01-09 14:10:56 +07:00
0cd253750a 🔧 chore: change response structure 2026-01-08 17:26:54 +07:00
c1d5d1692b feat: add new route to get client callback
This new route serves to find the client callback after successfully logging in from the provider page. This is done so that the callback becomes more flexible and can be changed at any time.
2026-01-08 17:22:05 +07:00
d8e8ec3fa7 ♻️ refactor: app token and oAuth endpoint request
These changes include:
1. Replacing the app token with a standard authorization barrier.
2. Changing the response body in the OAuth request by wrapping the endpoint link with a structure instead of placing it in the callback payload data.
2026-01-07 23:56:44 +07:00
d3fcf281b3 🐛 fix: clear tsconfig warning 2026-01-06 10:16:36 +07:00
f47a97e00e ♻️ refactor: add entry point for middleware module 2026-01-06 10:10:40 +07:00
c2ba666d26 🎨 (style) add success status in response payload 2025-10-11 23:46:57 +07:00
41b6807a36 🧑‍💻 (dev) change register flow
Change the user creation flow in the register so that it must go through the
main create user service first instead of directly accessing the create user
repo.
2025-10-11 02:00:19 +07:00
5c31ba7340 👔 (necktie) add safeguard for duplicate email case
Create a safeguard so that when a user enters an email address that has already been used with another OAuth provider,
it will be rejected to avoid double entries.
2025-09-13 16:15:01 +07:00
0458cc70aa 🧑‍💻 (dev) logging the error into console 2025-09-09 19:27:30 +07:00
098e0aac56 🐛 (fix) handle user name not found
Handle users who do not have a name by entering the login field as the username field to prevent errors in the GitHub
provision account process.
2025-09-09 17:30:27 +07:00
4c4ae0385b 🧑‍💻 (dev) improve error handler 2025-09-09 00:26:53 +07:00
cd8a0490c4 💡 (docs-code) add code documentation 2025-09-08 22:53:10 +07:00
a2a46ec933 🚩 (flags) complete github signup process 2025-09-07 23:17:00 +07:00
8861b0997d 🐛 (fix) fixing env example generator
Fixing the issue of missing in-line comments on non-preserved keys in the generated env example.
2025-09-07 15:13:25 +07:00
50500ec1ca 📈 (analytics) implement sentry error tracing system 2025-09-07 14:48:23 +07:00
86f8c2a96d 🚧 (wip) try to add callback uri option 2025-09-03 15:34:11 +07:00
bf35af294e 👔 add create account in provision
Add logic to create a new account when provisioning if not yet registered.
2025-08-30 22:41:42 +07:00
28d2ddad31 👔 change response format
Changing from write response to read response because the client must receive data in the form of jwt from the backend.
2025-08-30 10:21:04 +07:00
305e38bd45 🚧 (wip) testing with return context 2025-08-29 22:31:18 +07:00
8fe4757b56 👔 adding name capitalization to the provider 2025-08-26 10:45:58 +07:00
e79712a60c 🔧 change github provider icon 2025-08-26 10:43:44 +07:00
60aafc6933 ✏️ fix typo
fixed typo in google req_endpoint config
2025-08-25 22:26:50 +07:00
112f5188ed add throttle middleware
Create throttling on middleware to pause requests until a specified time before continuing. (default time 2s)
2025-08-24 14:02:28 +07:00
7e8b5be6cd 👔 create list for oauth providers
create list and endpoint to see avaiable oauth providers.
2025-08-24 10:42:36 +07:00
5cce8eea9f 🗃️ create dbml generator
Generate dbml from the Prisma schema when executing the command `bunx prisma generate`. The dbml can be used to
visualize the ERD using the dbdiagram.io website.
2025-08-24 07:03:18 +07:00
8abf3d3818 👔 (oauth) add callback URI option for google
Adding a callback option to the Google OAuth provider used to define the OAuth callback URI. If not defined, the
callback URI will use the default value in the .env file.
2025-08-14 23:43:16 +07:00
3df1f342fc 👔 (oauth) add callback URI options
provides the option to define a callback URI following a request from the frontend; if not defined, it will
automatically use the backend's default URI.
2025-08-13 18:51:10 +07:00