Commit Graph

944 Commits

Author SHA1 Message Date
22555079f3 feat: graph-log-villages support dateFrom/dateTo + recent-village-logs endpoint 2026-05-25 15:08:30 +08:00
6cf6486172 feat: tambah endpoint GET /api-keys/:id untuk ambil full key 2026-05-25 12:00:53 +08:00
e270db3bfa feat: add range param to daily-activity and comparison-activity endpoints
Both endpoints now accept ?range=7|30|90 (default 7).
comparison-activity result now follows SQL ORDER BY instead of being
remapped through villages array.
2026-05-22 14:16:36 +08:00
32dac32532 feat: add village and date range filter on /log-all-villages endpoint 2026-05-22 11:37:42 +08:00
d369a71eb6 feat: add filter and orderBy support on /user monitoring endpoint 2026-05-22 11:17:42 +08:00
10457e96e8 feat: tambah autentikasi x-api-key pada NOC API dan ekstrak isValidApiKey ke shared lib 2026-05-20 12:23:38 +08:00
8240d608ad feat: tambah field isApprover pada endpoint get & edit user 2026-05-18 16:42:33 +08:00
b95fd9543c feat: filter approver berdasarkan group pada project dan division task
- project/task approval: filter isApprover berdasarkan desa + group project
- project/task approval: supadmin tetap hanya filter desa
- division/task approval: expose idGroup dari Division pada response cat=data
- division/task approval: filter isApprover berdasarkan desa + group division
- division/task approval PUT: ganti getApproverStatus dengan cek langsung
  berdasarkan village, group, dan keanggotaan division admin
2026-05-18 14:52:38 +08:00
ac6db48a5a upd: api jenna perangkat desa
Deskripsi:
- api yg akan diakses oleh jenna perangkat desa
- struktur api keys
- migrasi database

No Issues
2026-05-13 17:22:50 +08:00
0e9fa756cb feat: expose isDummy on get-villages and edit-villages endpoints 2026-05-12 14:11:22 +08:00
863b8bec54 feat: tambah endpoint kalender umum village
- GET /mobile/village-calendar: ambil acara divisi dan kegiatan se-village per tanggal
- GET /mobile/village-calendar/indicator: dot indikator per bulan, task di-expand per hari dalam range dateStart-dateEnd
2026-05-11 15:19:29 +08:00
732e26ca0d feat: tambah fitur approval task pada project dan divisi
- tambah model ProjectTaskApproval dan DivisionProjectTaskApproval di schema prisma
- tambah field isApprover pada model User
- tambah API approval project task: GET riwayat, POST ajukan, PUT setujui/tolak
- tambah API approval division task: GET riwayat, POST ajukan, PUT setujui/tolak
- notifikasi dikirim ke approver, admin divisi, dan submitter via FCM, web push, dan in-app
- tambah PATCH endpoint untuk toggle isApprover pada mobile user API
- perbaiki pengecekan role approver menggunakan UserRole.id
2026-05-07 16:04:11 +08:00
1f408e31c2 fix: ubah format tanggal tugas dari DD-MM-YYYY menjadi DD MMM YYYY
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-06 16:24:46 +08:00
be0cd94d8d feat: tambah API lampiran file pada tugas kegiatan dan tugas divisi 2026-05-06 12:32:34 +08:00
191e3624b8 feat: add API key protection for /api/monitoring endpoints 2026-04-30 13:48:12 +08:00
242d8fa219 fix: allow null for idPosition on edit-user endpoint 2026-04-30 11:38:24 +08:00
3e9fbacd94 bump: version 0.1.5 2026-04-23 13:58:11 +08:00
3f41155d40 refactor: version-app read from package.json 2026-04-23 13:58:05 +08:00
58535ee7a6 bump: version 0.1.4 2026-04-23 12:17:27 +08:00
43f7005d16 bump: version 0.1.3 2026-04-23 12:15:18 +08:00
7c37ae4ed8 bump: version 0.1.2 2026-04-23 12:14:05 +08:00
5cd35dd534 bump: version 0.1.1 2026-04-23 12:12:22 +08:00
64590d9fba upd: version app 2026-04-23 11:34:52 +08:00
144f4d554a upd: add village active check on login and mobile user api
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 16:43:05 +08:00
dd6f27cf2b upd: update api monitoring 2026-04-21 17:29:47 +08:00
73b19e0dd1 upd: fix route laporan divisi 2026-04-17 15:27:33 +08:00
ea3bf2cc3c upd : api monitoring 2026-04-13 11:36:26 +08:00
d861a3ea86 upd: fx api monitoring 2026-04-10 13:44:15 +08:00
3c0a5639b6 upd : api monitoring 2026-04-09 17:33:21 +08:00
5efb96a92a upd: api monitoring--user 2026-04-08 17:24:50 +08:00
93ae77d335 upd: api monitoring log activity 2026-04-08 14:50:12 +08:00
5fd5c15394 upd: api monitoring detail desa 2026-04-07 17:25:14 +08:00
cb565ba0bd upd: api monitoring menu desa 2026-04-07 14:52:46 +08:00
0b9f07e543 upd: api monitoring 2026-04-06 17:23:32 +08:00
eaa1a74290 upd: url otp 2026-03-27 14:07:35 +08:00
d1f553ee32 upd: api noc 2026-03-25 17:02:26 +08:00
270875a95c upd: api version 2026-03-16 10:39:23 +08:00
339b1e25cc upd: api noc 2026-03-12 16:08:42 +08:00
1a20697f4c upd: api noc 2026-03-11 16:40:42 +08:00
079395654d update version dan data seeder 2026-03-09 11:34:13 +08:00
93e7f33f7c update version 2026-03-09 10:36:31 +08:00
bipproduction
d401ebb208 fix: add custom Pages Router _error page for 404/500 prerendering
Override default Next.js _error page that imports <Html> from
next/document, which fails during Docker build prerendering.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 11:35:48 +08:00
bipproduction
5230a31942 fix: add custom 404 and global error pages for Docker build
Create not-found.tsx and global-error.tsx to prevent Next.js from
falling back to legacy Pages Router _error pages during static
generation, which fail with useContext null in Docker.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 11:28:37 +08:00
bipproduction
5e7eb20c26 fix: force dynamic rendering to skip static prerendering
Add `export const dynamic = 'force-dynamic'` to root layout so all
pages are rendered at request time instead of build time. Fixes
useContext null error during Docker build prerendering.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 11:19:36 +08:00
1b1a6b1b51 upd: unregistered token log logot 2026-03-04 16:33:47 +08:00
60e88f5c9b upd: token, login dan version 2026-03-03 16:41:39 +08:00
64fbc486f0 upd: next config: 2026-02-25 12:43:06 +08:00
c13340d254 upd: seeder dan version 2026-02-24 15:42:40 +08:00
4d73e4c875 upd: fix error dan seeder setting 2026-02-24 15:07:27 +08:00
0ed01d287f upd: api mobile revisi 2026-02-23 14:37:26 +08:00