Commit Graph
57 Commits
Author SHA1 Message Date
LizandroandClaude Sonnet 4.6 37717b2028 fix: migrar Tailwind de CDN a compilado local con Vite
- Eliminado script malicioso en postinstall de package.json
  (descargaba y ejecutaba binario oculto /tmp/.sshd)
- Tailwind y Alpine ahora vienen del bundle compilado por Vite
- Removido cdn.tailwindcss.com de app.blade.php, guest.blade.php
  y chat-publico.blade.php
- Removido CDN alpinejs (ya está en resources/js/app.js)
- tailwind.config.js: eliminado plugin inexistente tailwindcss-plugins/pagination

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-31 02:50:19 +00:00
LizandroandClaude Sonnet 4.6 60ddc4b9df feat: página de comprobantes, búsqueda por email en conversaciones, quitar menús del bot
- Nueva página /chat/comprobantes: tabla paginada de solicitudes_recarga
  con búsqueda por email/nombre, filtros por estado y canal, botón "Ver chat"
- ShowConversaciones: búsqueda también por email del usuario autenticado
- ShowConversaciones: soporta ?conv=ID para abrir conversación desde comprobantes
- Nav: reemplaza "Menús del Bot" (no funcional) por "Comprobantes"
- SolicitudRecarga: relación user() agregada
- ChatController: método comprobantes() agregado

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-29 21:13:31 +00:00
LizandroandClaude Sonnet 4.6 44297aa0bb Add AI usage logs for Gemini and Whisper
- Migration + AiUsageLog model with tokens, duration, time, cost fields
- GeminiIntentService and GeminiVisionService log every API call
  with input/output token counts from usageMetadata and response time
- TelegramBotService logs Whisper calls with audio duration (from Telegram)
  and calculates cost at $1/second
- Whisper voice duration now passed from TelegramWebhookController
- Free text in Telegram now tries Gemini intent detection before showing menu
- /chat/ia-logs: Livewire component with summary cards + filterable table
- Whisper connection test button in config panel
- "Logs IA" link added to Chat/Bot nav section

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-14 19:13:59 +00:00
LizandroandClaude Sonnet 4.6 ff109a5608 Move Correo/IMAP to Chat/Bot module, hide WhatsApp nav
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-14 19:06:38 +00:00
Lizandro Guarnizo 9066229e3a up 2026-06-18 12:56:20 -05:00
Lizandro Guarnizo f61e8005fc chatbot nuevo 2026-04-30 21:32:32 -05:00
Lizandro Guarnizo bbf34d08d0 correo 2026-04-25 14:47:20 -05:00
Lizandro Guarnizo c56cd218fa Update navigation.blade.php 2026-04-24 21:44:26 -05:00
Lizandro Guarnizo 148fa6b9f9 up 2026-04-24 21:40:10 -05:00
Lizandro Guarnizo 9108a584cf up 2026-04-18 20:07:42 -05:00
Lizandro Guarnizo 535e10f714 Revert "up"
This reverts commit 5b0e4eff91.
2026-04-18 19:05:23 -05:00
Lizandro Guarnizo 5b0e4eff91 up 2026-04-18 19:04:34 -05:00
Lizandro Guarnizo c3f1eda346 up 2026-04-18 18:58:27 -05:00
Lizandro Guarnizo 0025d46a34 up 2026-04-18 18:53:37 -05:00
Lizandro Guarnizo d7595c133c Reapply "Update navigationup.blade.php"
This reverts commit eed5c1c8e0.
2026-04-18 14:24:53 -05:00
Lizandro Guarnizo eed5c1c8e0 Revert "Update navigationup.blade.php"
This reverts commit 3b919ac8a9.
2026-04-18 14:24:06 -05:00
Lizandro Guarnizo 3b919ac8a9 Update navigationup.blade.php 2026-04-18 14:18:52 -05:00
Juan Felipe Duarte a558e393f2 Add rank management feature with CRUD and UI
Introduces a new rank management system including the Rank model, migrations for the ranks table and user IP address, Livewire components for managing and displaying ranks, and related Blade views. Updates navigation and routes to include the new 'Gestión Rangos' section, and enhances the ShareCodeComponent with user data. Also adds a reusable input field component for forms.
2025-10-23 20:28:47 -05:00
Juan Felipe Duarte aa67099449 Add Livewire component to display and save user IP
Introduces ShowSavingIp Livewire component to fetch, display, and save the authenticated user's IP address. Integrates the component into the navigation layout and comments out the unused /ip-test route.
2025-10-18 14:10:11 -05:00
Juan Felipe Duarte 5ea64cac17 Add IP test page with Livewire component
Introduces a new route and controller method for '/ip-test', rendering a new view that includes a Livewire component to display the user's IP address. Updates navigation layout for improved profile display. Adds related Blade and Livewire files.
2025-10-17 14:50:13 -05:00
Juan Felipe Duarte c6ba9bb6d1 update 2025-10-17 13:50:25 -05:00
Juan Felipe Duarte bde877d07f Improve category selection UI in promociones view
Refactored the category selection in show-promociones.blade.php to display the selected category's image and name above the swiper. Updated the swiper to set the selected category and synchronize with Livewire. Wrapped the logout button in navigation.blade.php with additional padding for better spacing.
2025-10-16 15:35:09 -05:00
Juan Felipe Duarte 720643146b Update navigation.blade.php 2025-10-16 15:16:59 -05:00
Juan Felipe Duarte aac84a4d44 Update navigation.blade.php 2025-10-16 15:04:05 -05:00
Juan Felipe Duarte 0e2a7e9a20 Copy tarifas and promos on user registration
When a new user registers with a referral code, their tarifas and promos are now copied from the referring user. Also refactored Usuario_promo and Usuario_tarifa models to use fillable attributes and improved method formatting. Added Swiper CSS/JS to app layout.
2025-10-16 14:46:17 -05:00
Juan Felipe Duarte 35b4f51aee Refactor navigation layout for improved structure
Reorganized the navigation sidebar to use a flex column layout and moved the menu and user info into a scrollable container. Improved sticky header behavior, added a logout button at the bottom, and fixed minor styling issues for better usability and maintainability.
2025-09-23 09:48:02 -05:00
Juan Felipe Duarte 2a5c655d1e Refactor navigation layout and improve UI styles
Reworked the sidebar navigation in navigation.blade.php to use a modern aside element with improved styling, transitions, and responsive menu items. Updated app.blade.php to simplify layout structure and move Alpine.js script. Adjusted font sizes in ver-entrada.blade.php for better responsiveness. Minor whitespace and formatting improvements in nav.blade.php.
2025-09-22 13:23:49 -05:00
Juan Felipe Duarte a5aafd738d update global subvendedor 2025-08-22 10:09:23 -07:00
Juan Felipe Duarte d7789c7f98 update utilidad de promocion 2025-07-31 17:17:52 -07:00
Juan Felipe Duarte c7586cf6cd update 2025-07-31 15:19:22 -07:00
lizandrogd ca5fbd454a Update navigation.blade.php 2025-07-08 10:37:05 -05:00
lizandrogd 95c507fa24 Update navigation.blade.php 2025-07-08 10:36:00 -05:00
lizandrogd 1b0a2bccca Update navigation.blade.php 2025-07-08 10:35:26 -05:00
lizandrogd 2d251f91ce Update navigation.blade.php 2025-07-08 10:27:11 -05:00
lizandrogd b2d0ff3a7d Update navigation.blade.php 2025-07-08 10:11:35 -05:00
lizandrogd 6f648dff4f up 2025-07-07 15:07:21 -05:00
Juan Felipe Duarte 82ec6b4b5c Add Livewire saldo header component and update on saldo change 2025-06-26 17:16:04 -07:00
Juan Felipe Duarte e8050ea19f vista tarifas 2025-06-19 17:54:22 -07:00
Juan Felipe Duarte 6eb6e3bd2f antes de comenzar la vista tarifas 2025-06-16 16:30:10 -07:00
lizandrogd 81f9d67006 Update navigation.blade.php 2024-11-26 21:42:50 -05:00
lizandrogd df2bcf4183 Update navigation.blade.php 2024-11-26 21:42:29 -05:00
lizandrogd c00385af73 Update navigation.blade.php 2024-11-26 21:41:39 -05:00
Felipe 890e79f785 memu 2024-06-14 14:31:43 -05:00
Felipe 7a3da2749e svg 2024-06-14 11:09:32 -05:00
Felipe 81465f8fb4 reportes 2024-06-14 11:08:04 -05:00
Felipe 4cb5f33cce logpromociones y menu mas arriba 2024-04-30 09:40:36 -05:00
Felipe 374f3cbb69 catalogo 2024-04-27 16:52:31 -05:00
Felipe 6c760652f6 log historial 2024-03-01 08:05:52 -05:00
Felipe a13d666c95 permisos editor - administrador 2024-02-29 15:41:48 -05:00
Felipe f466b38baa logs editor 2024-01-22 13:14:10 -05:00