Commit Graph

69 Commits

Author SHA1 Message Date
Yoga Pangestu
8e68c0b225 feat: Allow longer titles for reports by changing the database column to text and removing the form input length limit. 2026-03-13 13:30:05 +07:00
Yoga Pangestu
cb41a0b5d3 feat: Add migrate:all command to orchestrate data migrations and refactor existing commands for enum-based data mapping. 2026-03-13 13:23:12 +07:00
Yoga Pangestu
48f0c277d1 refactor: Update enums to use integer values and adjust migration column definitions and default values accordingly. 2026-03-13 11:55:29 +07:00
Yoga Pangestu
3eb3bd697c refactor: Remove sort_order column and related reordering functionality from categories, departments, and themes. 2026-03-13 09:17:19 +07:00
Yoga Pangestu
44ee744615 refactor: Remove sort_order field and its associated logic from location and sub-location models, migrations, and Filament resources. 2026-03-13 09:06:55 +07:00
Yoga Pangestu
1885b2c7a3 refactor: Remove sort_order column and related functionality from classification and sub-classification models, migrations, and Filament resources. 2026-03-13 09:02:19 +07:00
Yoga Pangestu
a97c4d9f2d feat: Increase maximum length for link/URL fields in forms and database migrations. 2026-02-04 14:07:13 +07:00
Yoga Pangestu
c547f8f5c1 feat: increase max length for company document and director name fields to 150 characters in both the UI and database. 2026-02-04 14:04:29 +07:00
Yoga Pangestu
d343dbf6f9 refactor(content recap): change data type title from string to text and adjust maxlength validation 2026-02-04 11:04:00 +07:00
Yoga Pangestu
d188cf382c fix: contrained report to media task assignment 2026-02-02 15:01:21 +07:00
Yoga Pangestu
a6ab65adc4 feat: remove all database factories 2026-02-02 13:27:43 +07:00
Yoga Pangestu
7f51781334 Refactor database migrations to use explicit foreign key constraints with cascade on delete, update enum column definitions to use enum values and add indexes, and refine model casts. 2026-02-02 13:19:27 +07:00
Yoga Pangestu
2d7f4ee0e8 feat: Enhance cooperation and reporting workflows with refined relationships, new payment management, and updated actions. 2026-02-02 11:56:49 +07:00
Yoga Pangestu
c4347f980e feat: Conditionally render cooperation table filters based on user role and set the status filter to non-native. 2026-01-30 15:21:10 +07:00
Yoga Pangestu
ca912e5d6a feat: display partner media names as badges in the announcement table using custom state retrieval. 2026-01-30 14:39:10 +07:00
Yoga Pangestu
0c2784d82a Remove default status assignment from Company factory. 2026-01-30 14:29:49 +07:00
Yoga Pangestu
9005f9cbec feat: Implement company-based verification status for media and journalist data change requests, and refine admin verification UI/UX. 2026-01-30 13:26:43 +07:00
Yoga Pangestu
78246123c5 fix: Corrected typo in Journalist permissions within the Shield seeder. 2026-01-30 09:59:53 +07:00
Yoga Pangestu
902c4ad8cf fix: remove excessive Cooperation resource permissions from a role in the Shield seeder. 2026-01-29 21:55:03 +07:00
Yoga Pangestu
4529992dd2 feat: Add Classification and Location permissions to the Admin Monitoring role and reorder existing permissions. 2026-01-29 21:53:26 +07:00
Yoga Pangestu
3f2537af7d feat: Add Filament log viewer integration with new permissions and navigation. 2026-01-29 15:43:40 +07:00
Yoga Pangestu
69e3db9ce3 refactor: Consolidate journalist statistics into OverviewStats widget, removing dedicated JournalistMetricsStats and JournalistUkwChart widgets and their permissions. 2026-01-29 15:21:03 +07:00
Yoga Pangestu
98d30a80e6 feat: Implement granular access control and permissions for Filament widgets, pages, and data change requests using Filament Shield and a new policy. 2026-01-29 15:05:26 +07:00
Yoga Pangestu
a281e092bb feat: Add an administrator user, refactor user seeding to use RoleEnum, and remove the CompanySeeder call. 2026-01-29 13:39:03 +07:00
Yoga Pangestu
dec1cdbfe6 refcator(content recaps): change social media list 2026-01-29 11:20:23 +07:00
Yoga Pangestu
2626d890a4 feat: introduce a comprehensive data change request and review system with new Filament resources, models, migrations, and actions for managing data changes. 2026-01-29 09:44:52 +07:00
Yoga Pangestu
6574684f46 refactor: Update modal headings and descriptions for clarity, enhance date formatting, and improve user notifications in verification processes. 2026-01-19 09:40:46 +07:00
Yoga Pangestu
87b0275151 feat: Add CompanySeeder to populate partner media and journalists, and refactor company verification status to an enum. 2026-01-19 09:13:02 +07:00
Yoga Pangestu
ad7789dd3f feat: Add a console command to simulate cooperation time, improve date validation, and refine UI texts and report creation conditions. 2026-01-19 08:23:56 +07:00
Yoga Pangestu
1d52463286 feat(cooperation): refactor workflow and implement payment system
- Refactored cooperation workflow to include manual status transitions.
- Implemented payment tracking with CooperationPayment model and PayAction.
- Updated UpdateCooperationStatusCommand for automatic assignment and verification transitions.
- Removed deprecated date columns (assignment_deadline, verification_deadline).
- Enhanced Filament UI with new actions (Complete, Proceed to Payment, Pay).
- Added CooperationSeeder for testing purposes.
2026-01-14 15:41:23 +07:00
Yoga Pangestu
2d362b54dc feat: Remove custom page classes for login, registration, media, company, and verification management 2026-01-12 09:46:54 +07:00
Yoga Pangestu
1a3f0610a3 feat: Add notification system with BroadcastNotification class and database migration for notifications table 2026-01-09 10:43:16 +07:00
Yoga Pangestu
69c86e5d3c Refactor verification process and UI updates
- Updated JournalistResource to conditionally display actions based on user roles and verification status.
- Modified ManageJournalists page to hide header actions if verification request status is not NEED_REVISION.
- Changed CategoryResource navigation label from 'Kategori Berita' to 'Kategori'.
- Adjusted ManageCategories page to reflect the new category label and modal headings.
- Refactored Company model to change verificationRequest relationship from MorphOne to HasOne.
- Removed verificationRequest method from Journalist and PartnerMedia models.
- Updated VerificationRequest model to change verifiable relationship from MorphTo to BelongsTo.
- Introduced VerificationService to handle verification logic, including data completeness checks and submission processes.
- Created a new migration to adjust the verification_requests table structure.
- Enhanced admin verification view to display detailed verification progress and review history.
- Updated company and media forms to conditionally show the save button based on verification request status.
2026-01-08 13:55:37 +07:00
Yoga Pangestu
9742097d2b feat: Add visitor tracking functionality with Filament resource and footer statistics. 2026-01-06 12:01:50 +07:00
Yoga Pangestu
3577c8827a feat: Implement public announcements page with a new title field and rich text editor for content. 2026-01-06 11:07:13 +07:00
Yoga Pangestu
6dd0c26ac8 feat: Introduce announcement types (public/company) with conditional recipient selection in Filament forms and table views. 2026-01-06 10:16:25 +07:00
Yoga Pangestu
3ae2054ebd feat: Implement contact management system with email reply functionality and database migration 2026-01-06 09:37:55 +07:00
Yoga Pangestu
0382570c23 feat: Add site_email and site_phone fields to GeneralSettings and migration 2026-01-06 09:28:37 +07:00
Yoga Pangestu
0ffc7a1d92 feat: Implement Spatie Laravel Settings with Filament pages for general, SEO, and social media management. 2026-01-05 11:57:56 +07:00
Yoga Pangestu
861aff3c78 feat: Implement news listing page with search, filter, and pagination, and update news table schema. 2025-12-24 14:50:26 +07:00
Yoga Pangestu
19934bbe89 feat: Implement news categories and status management with a new category resource and updated news form fields for excerpt, categories, and status. 2025-12-24 08:56:11 +07:00
Yoga Pangestu
b4d2ae52f0 feat: Implement a comprehensive verification system with dedicated pages, models, and UI components for companies, media, and journalists. 2025-12-22 15:00:19 +07:00
Yoga Pangestu
904552bd68 feat: Restrict company user access to media and journalist management until company and partner media data is complete, and remove journalist permissions from seeders. 2025-12-19 15:33:10 +07:00
Yoga Pangestu
ab4b04b1d8 feat: Set email_verified_at for seeded user. 2025-12-19 14:33:08 +07:00
Yoga Pangestu
825c1b210c style: Apply minor formatting adjustments to anonymous function syntax and string concatenations. 2025-12-16 14:22:06 +07:00
Yoga Pangestu
1fb21e9a5b feat: Add comprehensive permissions for various new resources to the Shield seeder. 2025-12-16 13:26:02 +07:00
Yoga Pangestu
c7a72a169e feat: implement comprehensive cooperation management module with models, migrations, and Filament resources 2025-12-16 12:37:53 +07:00
Yoga Pangestu
b9a266d35a feat(announcement): create AnnouncementMedia model, factory, and migration
- Introduced the AnnouncementMedia model, removing soft deletes for a simplified structure.
- Added AnnouncementMediaFactory for generating test data with relationships to Announcement and PartnerMedia.
- Created migration for the announcement_media table without soft deletes.
2025-12-12 11:30:36 +07:00
Yoga Pangestu
8386ea0d93 feat(models): add relationships to PartnerMedia and User models
- Introduced a many-to-many relationship in PartnerMedia for announcements.
- Added a has-many relationship in User for news authored by the user.
- Implemented an active scope in User for filtering active users.
2025-12-12 10:06:18 +07:00
Yoga Pangestu
2c5b057958 feat(news): implement news resource with CRUD functionality
- Created NewsResource for managing news entries.
- Added pages for creating, editing, and listing news.
- Defined NewsForm schema for news entry forms.
- Configured NewsTable for displaying news records with actions.
- Implemented News model with relationships and soft deletes.
- Added factories for generating test data for news and tags.
- Created migrations for news and tags tables.
2025-12-12 09:48:34 +07:00