Commit Graph

189 Commits

Author SHA1 Message Date
Yoga Pangestu
a847b6e1fc Refactor model relationships by converting multiple HasOne relationships to HasMany and pluralizing method names for consistency. 2026-01-27 21:04:49 +07:00
Yoga Pangestu
3f0529a53e refactor: Reorder static properties and adjust function syntax in Filament resources and pages for consistency. 2026-01-27 20:47:04 +07:00
Yoga Pangestu
337238b518 feat: Add a reset password action to user records with a new password input and notification. 2026-01-27 15:49:56 +07:00
Yoga Pangestu
bf59f1afc6 refactor: Remove recordTitleAttribute from all Filament resource tables. 2026-01-27 15:29:28 +07:00
Yoga Pangestu
f1d1058868 feat: Auto-verify new user emails upon creation and remove recordTitleAttribute and autocomplete(false) from the user resource. 2026-01-27 15:28:14 +07:00
Yoga Pangestu
974d8ac92b feat: Restrict TrashedFilter visibility to the Developer role across multiple Filament resources and apply minor code formatting adjustments. 2026-01-27 15:16:37 +07:00
Yoga Pangestu
2d3d001ea4 feat: Dynamically load site logo and favicon from general settings. 2026-01-27 15:13:02 +07:00
Yoga Pangestu
24c95ceb87 feat: Integrate Swindon\FilamentHashids trait into multiple models for enhanced ID encoding 2026-01-19 11:03:33 +07:00
Yoga Pangestu
0dad32aa12 feat: Add Swindon\FilamentHashids middleware and update composer dependencies for enhanced ID encoding 2026-01-19 10:57:09 +07:00
Yoga Pangestu
b4c6ed7229 refactor: Remove commented-out sendEmailVerificationNotification method for cleaner code 2026-01-19 10:56:36 +07:00
Yoga Pangestu
3ba104c1a1 refactor: Replace hardcoded role checks with RoleEnum for consistency across cooperation and journalist actions 2026-01-19 10:48:44 +07:00
Yoga Pangestu
b522b4ff6f feat: Implement CheerfulNotification for login, registration, and email verification processes to enhance user experience and feedback. 2026-01-19 10:34:07 +07:00
Yoga Pangestu
8ddad47c01 refactor: Replace Notification with CheerfulNotification for improved user feedback and enhance error logging in various services 2026-01-19 09:52:32 +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
ee39b1f33a feat: Send cheerful notification to super admins upon new user registration. 2026-01-19 09:01:10 +07:00
Yoga Pangestu
098d3d0df2 refactor: move Filament login and registration pages to an Auth subdirectory. 2026-01-19 08:37:22 +07:00
Yoga Pangestu
fa9af59624 feat: Add favicon to the Filament dashboard panel 2026-01-19 08:27:25 +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
416905af9f fix(task assigmnet): delete locale 2026-01-14 15:47:15 +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
ad6335542e fix(report): add success notification after report submission 2026-01-14 11:11:24 +07:00
Yoga Pangestu
0055761ab3 refactor: translated format date 2026-01-14 10:47:59 +07:00
Yoga Pangestu
969fc0c4a0 refactor: change display format for date input 2026-01-14 10:42:31 +07:00
Yoga Pangestu
7915e1ce38 feat(cooperation): auto reject when media not responding 2026-01-14 10:41:08 +07:00
Yoga Pangestu
f038da6735 refactor(cooperation): change relation to task assignment from has many to has one and adjust related logic 2026-01-14 10:23:30 +07:00
Yoga Pangestu
627cd694d7 fic(cooperation): change validation date for final_submission_date 2026-01-14 10:20:11 +07:00
Yoga Pangestu
7703aa2b5c fix(dashboard): remove spa mode 2026-01-14 10:17:19 +07:00
Yoga Pangestu
61238444c1 fix: change default action to cheerful action 2026-01-14 10:16:40 +07:00
Yoga Pangestu
6d5479b9f7 fix(cooperation): change validation for final_submission_date 2026-01-14 10:10:55 +07:00
Yoga Pangestu
c3948c7775 feat: add spa mode 2026-01-14 10:00:13 +07:00
Yoga Pangestu
5ef72831c3 feat(category): use BackedEnum 2026-01-14 09:59:23 +07:00
Yoga Pangestu
95562c87fb refactor: change Auth:: to auth()-> and remove comment /** @var \App\Models\User $user */ 2026-01-14 09:55:52 +07:00
Yoga Pangestu
2983cd243f refactor: centralize cheerful notifications and cleanup auth calls
- Introduce `CheerfulNotification` utility class to standardize cheerful and expressive notifications across the application.
- Refactor custom "Cheerful" actions (Create, Edit, Delete, etc.) and `DefaultBulkActions` to utilize the new utility class.
- Update all `ToggleColumn` status updates in Master Data modules to use `CheerfulNotification::statusUpdated()`.
- Replace inline `Notification::make()` calls in custom actions (Reply, Crawl News, Cooperation actions) and Resource Pages with `CheerfulNotification` methods.
- Address various lint errors by standardizing the use of the `Auth` facade and improving type hinting for the authenticated `User` model.
2026-01-14 09:54:46 +07:00
Yoga Pangestu
ab318a030b feat(notification): enhance user notifications for cooperation and verification processes
- Added detailed notifications for users and admins upon acceptance, rejection, and submission of proposals, verifications, and reports.
- Improved user experience with personalized messages and actionable links in notifications.
- Refactored notification logic across various actions to ensure consistent messaging and clarity.
- Introduced new notification titles and bodies to better reflect the status of actions taken.
2026-01-13 15:53:07 +07:00
Yoga Pangestu
a05e46fd12 fix(announcement): move namespace to top 2026-01-13 08:35:28 +07:00
Yoga Pangestu
283f5de065 feat(partner): add status to table 2026-01-13 08:30:37 +07:00
Yoga Pangestu
c397ff3c55 fix: change name action to camel case 2026-01-13 08:22:33 +07:00
Yoga Pangestu
74122961f8 refactor: remove autocomplete from date pickers in task assignment and cooperation forms
- Removed the autocomplete option from date picker components in CreateTaskAssignmentAction and CooperationForm to enhance user experience and ensure consistent behavior across forms.
- Added type hinting for the Set utility in CooperationForm for improved clarity and type safety.
2026-01-12 15:52:27 +07:00
Yoga Pangestu
fefa67cb11 fix(company and media): change return type in attachment 2026-01-12 15:23:27 +07:00
Yoga Pangestu
6fe5e81717 refactor: add type hinting to closures and fix logic errors in Filament codebase
- Added comprehensive parameter and return type hinting to closures across various Filament resources, actions, and relation managers to improve type safety and static analysis.
- Fixed logic in ReportRelationManager where report count was incorrectly compared, preventing the 'Buat Laporan' button from showing correctly.
- Corrected namespaces for RepeatableEntry and TextEntry in ViewCooperation (changed from Filament\Schemas to Filament\Infolists).
- Fixed component rendering in JournalistResource form by ensuring sections are correctly returned in the mapping.
- Added @var docblocks to resolve lint errors related to auth()->user() and verified query builder return types.
- Standardized file retrieval logic in PartnerResource and improved overall code reliability."
2026-01-12 15:17:21 +07:00
Yoga Pangestu
95dbcb1c75 refator(partner): change back url in show 2026-01-12 13:25:31 +07:00
Yoga Pangestu
c793c8e67a refactor: standardize action naming conventions and organization
- Refactor custom Filament actions into resource-specific subfolders (Cooperation, Proposal, Report).
- Standardize all action identifiers to snake_case for consistency.
- Move action identifiers directly into ::make('name') calls.
- Remove getDefaultName() from custom action classes to favor explicit naming.
- Update relation managers and resources to use the new namespaced action classes.
- Standardize closure syntax (fn) and string formatting across schemas and actions.
2026-01-12 13:20:56 +07:00
Yoga Pangestu
aa5eede978 feat(cooperation): add grid to view 2026-01-12 11:19:52 +07:00
Yoga Pangestu
9ca4e68de9 refactor: implement local scopes for enums with #[Scope] attribute across models
- Added local scopes for Enum-based fields (status, type, decision) in models: Cooperation, VerificationRequest, PartnerMedia, CooperationProposal, CooperationMedia, and VerificationReview.
- Refactored query logic in Commands, Services, and Filament Resources to use the new scopes for better readability and maintainability.
- Added specific pivot status scopes in PartnerMedia model for cleaner relationship filtering.
- Fixed incorrect Enum usage in ViewCooperation.php during the refactoring process.
- Standardized code style for closures and string concatenation in the modified files.
2026-01-12 11:14:22 +07:00
Yoga Pangestu
0b15d95395 feat: Update console commands for scheduled tasks
- Removed the 'inspire' command and its dependencies.
- Added a new daily scheduled command for updating cooperation status.
2026-01-12 11:05:44 +07:00
Yoga Pangestu
2b49688f8f feat: Enhance cooperation proposal management with media handling and improved infolist display
- Removed debug statement from CreateCooperation.php.
- Updated CooperationProposalRelationManager to include a detailed infolist schema with media and status information.
- Improved proposal creation logic in CooperationsTable to handle proposal attachments and store them in the media library.
- Implemented media handling in CooperationProposal model for better integration with file uploads.
2026-01-12 10:33:47 +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
6265410fb0 feat: Refactor media handling and improve file upload configurations in Cooperation and Journalist resources 2026-01-09 15:00:36 +07:00
Yoga Pangestu
b97b8a3708 feat: Add payment information fields and media handling for proposal template and banner in CooperationResource 2026-01-09 13:09:58 +07:00
Yoga Pangestu
7e1c688c78 feat: Enhance cooperation management with proposal template handling and media uploads 2026-01-09 12:40:50 +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
8aa5897c85 feat: Update placeholders and add autocomplete for title input in AnnouncementResource form 2026-01-08 14:43:11 +07:00
Yoga Pangestu
aab02b44fe feat: Implement verified scope for PartnerMedia and update relationships in CooperationForm and AnnouncementResource 2026-01-08 14:38:37 +07:00
Yoga Pangestu
57eece15db feat: Add navigationSort property to various resources for improved navigation order 2026-01-08 14:14:23 +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
bd122f77b9 feat: Add navigation badge for pending verification requests and implement pending scope in VerificationRequest model 2026-01-08 09:42:40 +07:00
Yoga Pangestu
57ed5e3cda feat: Implement policy classes for Category, Contact, and Visitor with authorization methods 2026-01-08 09:11:30 +07:00
Yoga Pangestu
926d25d6cf refactor: Remove navigationSort property from various Filament resource classes for cleaner code 2026-01-08 08:40:18 +07:00
Yoga Pangestu
cb8dac63fe fix(news): Update category placeholder text in news table
- Change placeholder text from 'Tidak ada tag' to 'Tidak ada kategori' for the categories column
2026-01-08 08:31:44 +07:00
Yoga Pangestu
dd100d1704 feat: Add news crawling service and command with a UI action to the media monitoring table. 2026-01-06 15:19:53 +07:00
Yoga Pangestu
01e95e05ef feat: Add new Livewire contact us page with corresponding route, view, and styling updates. 2026-01-06 14:21:33 +07:00
Yoga Pangestu
b5d27c6931 feat: Add dynamic news and announcements to homepage, redesign announcement cards, and update header/footer UI. 2026-01-06 13:53:19 +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
161906731a feat: add 'About Us' page with Livewire component and update navigation links in header and footer. 2026-01-05 15:24:58 +07:00
Yoga Pangestu
20804431c5 feat: Redirect to resource index page after create and edit operations. 2026-01-05 15:06:59 +07:00
Yoga Pangestu
a0da450e52 feat: Enhance form fields with autofocus, disabled autocomplete, and placeholders for better UX. 2026-01-05 15:03:09 +07:00
Yoga Pangestu
4bfa39d14e feat: Add Livewire-powered news section with dedicated routes and centralize header/footer in the app layout. 2026-01-05 14:59:18 +07:00
Yoga Pangestu
5b4efc8a5d refactor: Remove PHP view components and Sass/Bootstrap dependencies, introduce ViewServiceProvider, and update UI content. 2026-01-05 13:34:38 +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
492a56504d feat: implement initial home page with new frontend assets and Livewire components 2026-01-05 10:44:28 +07:00
Yoga Pangestu
3760eeb00d fix: Improve Filament component behavior, update dependencies, and adjust styling. 2026-01-05 09:29:57 +07:00
Yoga Pangestu
f97531e355 feat: Remove public homepage and news sections, including associated frontend components and controllers, and update routing to redirect to dashboard with a new frontend entry point. 2026-01-05 09:24:47 +07:00
Yoga Pangestu
eb72bac3cb refactor: update internal Filament navigation to use getUrl() methods and remove redundant getRedirectUrl() implementations. 2026-01-05 09:18:10 +07:00
Yoga Pangestu
38533fa246 feat: Add a 'Kembali' action button to the ViewPartner header. 2026-01-05 09:02:51 +07:00
Yoga Pangestu
03bf59e11e feat: Disable and hide user management actions for the PERUSAHAAN role. 2026-01-05 08:43:33 +07:00
Yoga Pangestu
fa6e2ef92d refactor: rename cooperation resource navigation group to 'Kelola' 2026-01-05 08:41:57 +07:00
Yoga Pangestu
0dcb798894 feat: Add news detail page with view increment and media loading 2026-01-02 23:02:30 +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
4faaebdc59 feat: Implement Inertia.js with React for a new frontend architecture, including home, posts, and profile pages, along with theme customizations. 2025-12-23 14:27:57 +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
7637bcc8b5 feat: install custom themes 2025-12-22 14:57:21 +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
25b856acde feat: Implement resource locking and add role-based journalist filtering. 2025-12-19 14:54:58 +07:00
Yoga Pangestu
ccc5d36c0e feat: Implement email verification for user registration. 2025-12-19 14:31:54 +07:00
Yoga Pangestu
fcc09599e8 feat: add partner view page with detailed infolist and link from cooperation media manager 2025-12-19 14:14:34 +07:00
Yoga Pangestu
ee7192a087 feat: Add role-based navigation badge count for cooperations and update arrow function syntax. 2025-12-16 14:51:57 +07:00
Yoga Pangestu
79893f0177 fix: Corrected accepted file types for image uploads from images/* to image/* and adjusted minor code formatting. 2025-12-16 14:30:29 +07:00
Yoga Pangestu
630cbe8893 feat: Make director NIK upload field required. 2025-12-16 14:27:22 +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
32afed7f7b feat: Add View:CustomCompany and View:CustomMedia permissions to the "Perusahaan" role. 2025-12-16 14:21:53 +07:00
Yoga Pangestu
cbd36d29e8 feat: Add HasPageShield trait to CustomMedia and CustomCompany pages. 2025-12-16 14:13:24 +07:00
Yoga Pangestu
b88660b8c8 feat: Add force delete and restore actions to Partner and Announcement resources, and apply minor formatting adjustments across several Filament resources and relation managers. 2025-12-16 14:05:04 +07:00
Yoga Pangestu
ff54d97d98 refactor: Standardize anonymous function syntax and update modal width definitions to use Filament's Width enum. 2025-12-16 13:59:46 +07:00
Yoga Pangestu
89f0d511e4 feat: Organize Filament resources with navigation groups, update modal width enum usage, and add clean code documentation. 2025-12-16 13:53:59 +07:00
Yoga Pangestu
2603d90271 feat: Introduce RoleEnum and update user role selection to exclude developer and company roles. 2025-12-16 13:34:16 +07:00