Commit Graph

36 Commits

Author SHA1 Message Date
Yoga Pangestu
ab96ca6278 refactor: streamline media import process across migration commands by replacing S3 checks with direct database inserts and enhancing mime type handling 2026-04-22 11:10:09 +07:00
Yoga Pangestu
198e936798 refactor: split monolithic MigrateCooperationCommand into dedicated migration commands for media orders, media cooperation, and reports 2026-04-21 13:10:43 +07:00
Yoga Pangestu
bce5776696 feat: add migration commands for media cooperation and reports while removing obsolete cooperation migration. 2026-04-21 08:40:43 +07:00
Yoga Pangestu
4d1e956d39 refactor: add media orders and media cooperation migration commands to MigrateAllCommand 2026-04-21 08:34:56 +07:00
Yoga Pangestu
fb2e722d0a refactor: implement classification ID resolution in sub-classification migration process 2026-04-21 08:34:38 +07:00
Yoga Pangestu
6252831ac2 refactor: add 'cetak' channel to migration commands and update channel enum 2026-04-20 13:51:17 +07:00
Yoga Pangestu
516e6b3de5 refactor: enhance company migration command to include partner media document migration and optimize legacy data fetching 2026-04-15 09:05:33 +07:00
Yoga Pangestu
ce95dccaf2 refactor: reorder media monitoring and issue management migration tasks in MigrateAllCommand 2026-04-14 14:51:58 +07:00
Yoga Pangestu
83caa33768 refactor: optimize legacy data migration commands with chunking, progress tracking, and S3 media handling 2026-04-14 14:51:31 +07:00
Yoga Pangestu
28e01c6148 refactor: optimize news migration with chunking, media caching, and detailed CLI progress reporting 2026-04-14 13:48:56 +07:00
Yoga Pangestu
5b0588a367 refactor: modularize legacy cooperation migration logic and implement grouping by name to handle duplicates 2026-04-13 15:42:13 +07:00
Yoga Pangestu
535fe76197 fix: exclude deleted records when fetching companies from legacy database 2026-04-13 10:33:03 +07:00
Yoga Pangestu
15c76645e4 refactor: update user migration logic to filter deleted records and adjust role filtering in user table 2026-04-13 09:28:34 +07:00
Yoga Pangestu
4a1993a778 feat: implement automated media monitoring crawler with Python script and Laravel console command 2026-04-11 13:47:18 +07:00
Yoga Pangestu
43271a82a9 refactor: remove verification status from cooperation workflow and automate transition to payment 2026-04-10 14:42:28 +07:00
Yoga Pangestu
1977d08339 refactor: remove news crawler service, command, and associated UI actions 2026-04-09 14:06:12 +07:00
Yoga Pangestu
fbcbcfaec6 refactor: remove 'news_page' field from Media Monitoring resources for simplification 2026-04-07 14:24:00 +07:00
Yoga Pangestu
eaa8908663 feat: create default user settings for migrated users if none exist 2026-03-27 09:22:56 +07:00
Yoga Pangestu
01db1c4794 feat: Add many-to-many relationship for Issue Management with Departments, including migration, Filament UI updates, and a new department issue chart. 2026-03-26 10:24:03 +07:00
Yoga Pangestu
89b4793667 fix: Update MigrateNewsCommand to filter empty tags and make slug column nullable in tag migration 2026-03-26 10:20:07 +07:00
Yoga Pangestu
7766c9c9ac feat: Add verification review migration, display details in partner resource, and introduce a latest review relationship. 2026-03-17 12:31:00 +07:00
Yoga Pangestu
dfef159634 feat: Add phone number field to companies table, migration, and Filament forms/resources. 2026-03-16 16:31:11 +07:00
Yoga Pangestu
3cd6b39d3f refactor: Make content recap type field nullable in the database, migration command, and Filament form. 2026-03-16 15:10:30 +07:00
Yoga Pangestu
99e326ad51 refactor: Simplify user migration command by removing unnecessary variable assignments and streamlining role assignment logic. 2026-03-16 13:45:48 +07:00
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
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
30f0a09c84 feat: Introduce data migration commands for various core entities including company, location, theme, and other 2026-02-04 14:04:21 +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
7915e1ce38 feat(cooperation): auto reject when media not responding 2026-01-14 10:41:08 +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
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