Commit Graph

37 Commits

Author SHA1 Message Date
936f789ac8 feat: Persian panel/API fixes and structural-model tweaks
- lang/fa: add validation/auth/passwords/pagination translations so admin
  and API validation errors are in Persian
- templates: soft-delete instead of cascade-deleting their generations;
  keep resolving trashed template on generations (labels/downloads)
- templates: add TemplateInfolist with a real thumbnail ImageEntry
- generations: auto-name template-based generations and use that name
  for the download file and as a searchable column
- admin: show all dates as Jalali via ->jalaliDate()/->jalaliDateTime()
  Filament macros (App\Support\Jalali)
- wallets: harden the deposit/withdraw action to surface the exact error
  instead of a 500
- profile: normalize Iranian mobile numbers (App\Support\Mobile),
  add social_links, coerce notification-preference booleans, require the
  current password to delete an account

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013P66ea1dC5CVM9t29496t5
2026-09-07 01:00:09 +03:30
46ae711a20 feat(api): add AI text-to-deck generation, wallet deposit structure, and profile/notification endpoints
Fills the gaps between the admin panel screens and the backend: a full
free-text + slide-count + language -> AI-generated presentation flow with
new slide-cloning logic in TemplateFillService, a "my presentations" list
endpoint, a swappable payment-gateway structure for wallet top-ups (fake
driver for now), and avatar upload / public-profile toggle / account
deletion / password change / notification preference endpoints.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-29 01:36:17 +03:30
fe2090a5af feat(generation): add retry action for failed template generations and update related schemas 2026-08-21 14:53:19 +03:30
e58dcd8581 fix(templates): fill pptx via direct zip/XML editing instead of PhpPresentation
Round-tripping real-world .pptx files through PhpPresentation's object model
was silently corrupting/losing content it doesn't fully model (themes, masters,
layouts, fonts), so placeholder replacement wasn't reliable. Now the service
edits the .pptx as a zip archive directly: only the touched slide XML text runs
and swapped image bytes change, everything else stays byte-identical to the
source file. Drops the now-unused phpoffice/phppresentation dependency.
2026-07-23 00:32:47 +03:30
0a7b7fea17 Merge branch 'main' of https://git.geekgrove.ir/soheilkhaledabadi/hoshpoint-backend 2026-07-22 08:10:39 +03:30
4a3c109bf3 feat(AI): add ai manager admin and create powerpoint with ai 2026-07-22 08:06:48 +03:30
774e1cd887 fix(dockerFile): fix bug gd php package 2026-07-07 09:26:39 +03:30
e4fe203d44 fix(dockerFile): fix bug gd php package 2026-07-07 09:16:53 +03:30
ae974c2afa feat: add ApiResponse trait for standardized API responses
chore: update composer dependencies to include phppresentation

chore: update composer.lock after adding phppresentation

feat: create categories migration for category management

feat: create templates migration for template storage

feat: create template generations migration for tracking template usage

feat: create template keys migration for template customization

feat: create notifications migration for user notifications

feat: update API routes for categories, templates, and user profile management

docs: update API documentation to include new endpoints for profile and wallet
2026-07-07 01:03:12 +03:30
cf0e6f82fd chore(nginx): enhance proxy handling by adding forwarded headers mapping in Nginx configuration 2026-06-12 18:38:28 +03:30
ca43502ffb chore(env): update production environment variables and enhance proxy handling in Nginx configuration 2026-06-07 22:20:03 +03:30
d1d42b38d1 feat(wallets): implement wallet and transaction management with associated models, policies, and resources 2026-06-07 00:18:32 +03:30
c2319a55cb fix(docker): bind HTTP port to localhost in docker-compose for enhanced security 2026-06-07 00:10:18 +03:30
12d149e5d9 chore(docker): add vendor to .dockerignore, update Composer installation in Dockerfile, and clean up README instructions 2026-06-06 23:26:21 +03:30
3029f80d16 chore(docker): remove Composer process timeout and git installation, update README for vendor folder setup 2026-06-06 23:15:18 +03:30
97fc7855ca chore(docker): increase Composer process timeout and add git installation for improved build reliability 2026-06-06 22:34:24 +03:30
f8de292f12 chore(docker): mark libzip4 and libicu72 as manually installed to prevent automatic removal 2026-06-06 22:12:03 +03:30
c57cf9bcb9 chore(docker): replace Composer installation command with a pre-packaged composer.phar for improved build efficiency 2026-06-06 22:09:08 +03:30
0607b45491 chore(docker): pin libssl3, openssl, and libssl-dev versions for compatibility 2026-06-06 21:35:53 +03:30
34ce6d810f chore(docker): add custom APT source and install libssl3 for compatibility 2026-06-06 21:34:36 +03:30
8ddce5e792 refactor(docker): simplify Dockerfile by removing custom APT source and unnecessary dependencies 2026-06-06 21:32:20 +03:30
e2a6d50cb6 refactor(docker): replace install-php-extensions script with direct docker-php-ext-install commands in Dockerfile 2026-06-06 21:31:28 +03:30
12b10db063 refactor(docker): remove unused PHP extensions from Dockerfile to streamline image size 2026-06-06 21:29:44 +03:30
e34744ad99 chore(docker): update Docker and docker-compose configurations for Arvan Cloud integration and add mirror settings 2026-06-06 21:24:20 +03:30
10a63b46bf refactor(docker): remove DOCKER_REGISTRY argument from Dockerfile and docker-compose.yml for simplification 2026-06-06 21:20:17 +03:30
6fff2d0285 refactor(docker): comment out asset build steps in Dockerfile for clarity 2026-06-06 21:16:01 +03:30
ca44e5b0db refactor(docker): clean up Docker and environment configurations, remove unused proxy settings and files 2026-06-06 21:08:46 +03:30
dee1c3ab16 feat(proxy): add VLESS/Xray proxy configuration and update Docker setup 2026-06-06 19:30:25 +03:30
7cb4459fd4 fix(docker): try to fix bug with set timeout 2026-06-06 12:01:00 +03:30
0ddd54dc66 feat(auth): implement authentication endpoints with registration and login functionality 2026-06-05 19:19:03 +03:30
802326336a feat(dependencies): add darkaonline/l5-swagger and laravel/sanctum to composer.json 2026-06-05 19:18:52 +03:30
07d80b8740 feat(api-docs): add OpenAPI documentation for authentication endpoints 2026-06-05 19:18:42 +03:30
0b99ab2119 feat(docker): update Docker configuration for Arvan Cloud registry and add API documentation generation 2026-06-05 19:18:31 +03:30
6eae917540 feat(docker): add Docker configuration and production environment setup 2026-06-05 17:19:39 +03:30
1c408130d0 feat(User,Role): add users and role , permssion , filament panel | [USER , ROLE] 2026-05-29 15:28:56 +03:30
d923019dc5 chore: remove legacy changelog and GitHub workflows 2026-05-29 13:22:20 +03:30
6a01e59445 Init: add project 2026-05-29 12:29:44 +03:30