Sediakan pengelolaan QR Code pengganti TTE#1580
Open
lukman48 wants to merge 1 commit into
Open
Conversation
- Generate QR Code per surat menggunakan endroid/qr-code - Sematkan QR Code di halaman terakhir surat menggunakan FPDI - QR Code berisi tautan ke halaman verifikasi surat - Simpan hash SHA-256 dari isi file untuk verifikasi keaslian - Sediakan fitur verifikasi file unggahan (unggah PDF, sistem cocokkan hash) - Penyematan QR Code hanya bisa dilakukan oleh pengguna camat - Tampilkan kolom hash di arsip surat dan halaman verifikasi Closes OpenSID#219
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Deskripsi
Menyediakan fitur pengelolaan QR Code sebagai pengganti TTE (Tanda Tangan Elektronik) dari BSRE. Fitur ini memungkinkan camat untuk menandatangani surat dengan QR Code yang dihasilkan sendiri oleh OpenDK tanpa bergantung pada layanan eksternal BSRE.
Masalah Terkait
Close #219
Perubahan yang dilakukan
Library Baru
Migration
file_hash(SHA-256) ke tabeldas_log_suratModel
file_hashke$fillableController
PermohonanController: Menambahkan method
tandatanganQr()yang:SuratController: Menambahkan method:
verifikasi(): Menampilkan halaman unggah file untuk verifikasiverifikasiStore(): Memproses unggahan, mencocokkan hash dengan databaseRoutes
POST surat/permohonan/tandatangan-qr/{surat}: Endpoint tanda tangan QR CodeGET surat/verifikasi: Halaman verifikasi suratPOST surat/verifikasi: Proses verifikasi unggahan fileViews
Alur Kerja
Daftar Periksa