Commit Graph

297 Commits

Author SHA1 Message Date
373483b4eb Enhance refund display in mobile event management by introducing a collapsible summary panel for invoice details. This update improves user experience by providing bilingual labels for the transaction visibility toggle and a visually distinct layout for better clarity during the refund process. 2026-06-27 11:27:46 -04:00
95536edec5 Enhance refund process in mobile event management by integrating a summary of the invoice alongside the refund form. This update includes the addition of a resume display for the invoice, ensuring users can view the details of what they are refunding. The changes improve the user experience by providing clearer context during the refund request process. 2026-06-27 11:21:21 -04:00
e486c22bfc Refactor refund process by removing the inc_tableau_remboursement.php file and updating the refund handling logic in ajax_refund.php and inc_fx_paypal.php. The changes include enhanced authorization checks for promoters, improved session management for refund tokens, and better integration of user information in refund records. This update streamlines the refund workflow and enhances security and maintainability. 2026-06-27 11:14:41 -04:00
bc407a7c20 Add refund functionality to mobile event management
This commit introduces a new refund feature in the mobile event management system. It includes an AJAX-based refund form that allows users to request refunds directly from the event management interface. The refund button is conditionally displayed based on user permissions, and the form is dynamically loaded to enhance user experience. Additionally, the refund processing logic is integrated with existing PayPal functions to ensure seamless transaction handling. This update improves the overall usability and functionality of the event management system.
2026-06-26 14:45:09 -04:00
bc26c37315 Refactor refund form rendering in commandes.php to integrate author information directly into the display. The previous debug output has been removed and replaced with a structured information panel that includes the order number and the name of the person processing the refund. This change enhances the clarity and usability of the refund interface. 2026-06-26 14:34:47 -04:00
74ee34634e Refactor PayPal refund process by introducing a modular approach for refund context and rendering. This update consolidates refund logic into dedicated functions in inc_fx_paypal.php, enhancing maintainability and clarity. The commandes.php file is updated to utilize these new functions, improving the overall structure and readability of the refund handling code. 2026-06-26 14:26:06 -04:00
f1e43c911b Update access permissions from 'inscriptions_mobile' to 'inscriptions_gestion' across multiple files
This commit refactors the access control logic to replace references to 'inscriptions_mobile' with 'inscriptions_gestion', aligning the permission structure with the new management system. Changes include updates to SQL scripts, PHP functions, and documentation comments to ensure consistency in permission handling for event management. This enhances clarity and maintains the integrity of the access control system.
2026-06-26 14:16:09 -04:00
8570b73257 Refactor access control in documentation.php to restrict POST actions and display messages based on user login status. This change enhances security by ensuring only logged-in users can perform actions and receive appropriate feedback on the page. 2026-06-25 21:55:35 -04:00
c97478ba8a Add documentation section to inc_droite.php with navigation links 2026-06-25 20:15:38 -04:00
6f03e76540 Add WYSIWYG editor integration using Trumbowyg in doc_edition.php
This commit introduces the Trumbowyg WYSIWYG editor specifically for the `doc_edition.php` page, enhancing the document editing experience. It includes the necessary CSS and JavaScript files from CDN, along with custom styles and initialization scripts for the editor. This change does not affect other editors like TinyMCE or CKEditor used elsewhere on the site, ensuring a focused enhancement for this page.
2026-06-25 19:30:37 -04:00
365c51f6c8 Enhance event search functionality by prioritizing event ID matches
This commit updates the SQL query in `ajax_newpromoteur.php` to prioritize matches based on event IDs when searching for events. It introduces a new integer conversion for the search query to facilitate this matching. Additionally, the event name display in `inc_footer.php` is modified to include the event ID for better user context. These changes aim to improve the event search experience in the promoteur hub.
2026-06-25 18:29:51 -04:00
953775d9ca Refactor event access management by replacing SQL views with inline queries
This commit removes the deprecated SQL views `v_eve_acces_actif` and `v_eve_acces_permissions`, replacing them with inline SQL queries in the PHP code. This change avoids issues with non-copiable DEFINER attributes in views and enhances the flexibility of access management. The new functions `fxEveAccesActifBody`, `fxEveAccesActifSql`, and `fxEveAccesPermSql` are introduced to encapsulate the SQL logic directly within the application, improving maintainability and performance.
2026-06-25 18:24:39 -04:00
683e2d69d0 Update promoteur hub styles and enhance event section rendering
This commit modifies the CSS for the promoteur hub, introducing new styles for card elements, including updated colors, borders, and shadows for improved aesthetics. It also enhances the event section rendering by adding a specific class to the event title, ensuring consistent styling across the promoteur hub. Additionally, the version code is incremented to reflect these changes.
2026-06-25 17:15:37 -04:00
a45be35d6c Enhance promoteur hub card styling and update event card structure
This commit introduces new CSS styles for the promoteur hub card, including a background color, border, and shadow effects to improve visual presentation. It also updates the HTML structure of the event card, incorporating a new card icon and enhancing the event title styling for better readability. Additionally, it modifies the logic for displaying document triggers in the promoteur hub announcements section, ensuring a more cohesive user experience.
2026-06-25 17:06:21 -04:00
9a0ea70034 Refactor event modal to event panel and enhance UI interactions
This commit renames the `fxPromoteurHubRenderEventModal` function to `fxPromoteurHubRenderEventPanel`, transitioning from a modal to a collapsible panel for event details. It updates the HTML structure accordingly, improving user interaction with a toggle button and a rotating caret icon for better visual feedback. Additionally, the CSS is enhanced to support the new panel design, ensuring a more cohesive user experience in the promoteur hub.
2026-06-25 17:02:48 -04:00
d95f84bff7 Add event management links and enhance SQL entries
This commit introduces a new function, `fxPromoteurHubGetEventLinks`, to generate management and report links for events, improving the event management interface. It also updates the SQL script to include new entries for the 'Gestion' section in both French and English, enhancing the localization of the promoteur hub. These changes aim to streamline event management and improve user navigation within the promoteur hub.
2026-06-25 16:59:01 -04:00
7cee99e8e0 Add legacy event ID retrieval and merge with access events
This commit introduces a new function, `fxPromoteurHubGetLegacyEventIds`, to retrieve legacy event IDs for a given account. It updates the `fxPromoteurHubGetEvents` and `fxShowPromoteurHubMenuLink` functions to merge legacy event IDs with current access event IDs, ensuring comprehensive event access management. Additionally, it modifies SQL insert statements to update participant space labels for clarity. These changes aim to enhance the event management functionality and improve user experience.
2026-06-25 16:54:12 -04:00
ade9608e72 Refactor promoteur hub logic and introduce new checks
This commit refines the promoteur hub integration by replacing the existing function `fxPromoteurHubComUsesV2` with `fxPromoteurHubShouldUse`, which combines access checks and page existence validation. It updates the account management logic to ensure proper redirects based on the new checks, enhancing the user experience for promoteur hub accounts. Additionally, it introduces a new function to verify the existence of the promoteur hub page, streamlining the access management process.
2026-06-25 16:49:03 -04:00
0dcdcfc829 Implement promoteur hub integration and UI enhancements
This commit introduces the promoteur hub functionality by adding new checks and redirects based on the user's account type. It updates the account management logic to handle promoteur hub users, ensuring proper navigation and access. Additionally, it enhances the CSS for promoteur hub elements, improving the visual presentation. These changes aim to streamline user experience for promoteur hub accounts and ensure proper access management.
2026-06-25 16:45:03 -04:00
a5b680c273 Enhance JIRA integration with improved category handling and error logging
This commit refines the JIRA request handling by restructuring the `jira_resolve_categorie_interne` function to better manage the internal category based on the provided input. It introduces a new function, `jira_set_categorie_interne`, to update the category for JIRA issues, enhancing the integration's functionality. Additionally, it improves error logging for user creation and ticket submission processes, providing clearer feedback on failures. These changes aim to enhance the robustness and user experience of the JIRA integration.
2026-06-25 15:55:00 -04:00
2d8fe939a3 Update JIRA ticket creation and error handling in AJAX scripts
This commit modifies the JIRA ticket creation function to structure the 'categorie_interne' field as an associative array, improving data formatting. Additionally, it enhances error handling in the AJAX script by adding localized error messages for better user feedback during ticket submission failures. These changes aim to improve the robustness and user experience of the JIRA integration.
2026-06-25 15:43:07 -04:00
1f8616e4d6 Update event access management UI with enhanced table layout and styling
This commit improves the event access management interface by updating the table structure to include hover effects and a dark header for better visibility. It refines the display of role information, including icons and labels, and adjusts the layout for permissions, assignments, and status indicators to enhance clarity and usability. These changes aim to provide a more intuitive experience for managing event access.
2026-06-23 16:09:30 -04:00
5d686b28a4 Enhance event access management with email search functionality and URL adjustments
This commit introduces a new email search feature in the event access management interface, allowing users to find accounts by email for access assignment. It updates the `fxEveAccesCompteAdminUrl` function to include an optional event focus parameter, improving URL handling. Additionally, the AJAX endpoint is modified to return user names along with emails, enhancing the data available for selection. These changes aim to streamline the process of assigning event access and improve overall usability.
2026-06-23 15:18:43 -04:00
c047e36a62 Add event access management functions and UI integration
This commit introduces new functions for managing event access, including `fxEveAccesCompteAdminUrl` and `fxEveAccesEventFormGroupByCom`, which group active kits and extras by event ID. Additionally, it integrates the event access panel into the admin interface, enhancing the user experience with a structured display of access assignments and improved navigation for managing event permissions.
2026-06-23 15:15:48 -04:00
2855967e81 Enhance event access management with validation and UI improvements
This commit adds validation to ensure at least one kit is assigned before granting individual rights, improving the logic for event access management. It also updates the UI to provide clearer options for assigning kits and permissions, enhances the display of assigned kits and rights, and improves the overall layout for better usability.
2026-06-23 15:10:43 -04:00
439a52eb0f Refactor event access display and enhance UI layout
This commit updates the event access management interface by replacing the previous block layout with a structured table format for better clarity and usability. It simplifies the role selection process and improves the visual presentation of event kits. Additionally, it includes conditional messaging for cases with no access, ensuring a more intuitive user experience.
2026-06-23 15:05:05 -04:00
6a4d1761f3 Enhance event access management UI with improved layout and functionality
This commit updates the event access management interface by introducing a more user-friendly layout for displaying event access assignments. It adds dynamic role and permission selection options, enhances the visual presentation of event kits, and improves the overall usability of the form elements. Additionally, it includes conditional messaging for cases with no events or kits, ensuring a clearer user experience.
2026-06-23 15:01:05 -04:00
77a2508c71 Refactor event access management UI and logic
This commit enhances the event access management interface by updating the layout and improving the usability of form elements. It introduces a clearer display of event access assignments and refines the logic for handling active kits. Additionally, it conditionally displays the legacy promoter section based on the current context, ensuring a smoother transition towards the new access management system.
2026-06-23 14:43:58 -04:00
fd26c90098 Implement event access grouping and enhance UI for event management
This commit introduces a new function, `fxEveAccesCompteFormGroupByEvent`, to group active kits and extras by event ID for improved access management in the super admin interface. It also updates the UI to provide clearer information on event access, including a new section for legacy promoter events, and enhances the form elements for better usability. Additionally, the logic for retrieving promoter events is refined to handle empty cases more gracefully.
2026-06-23 14:41:03 -04:00
4e6eb3191b Add access management section to sidebar in admin interface
This commit introduces a new section in the admin sidebar for managing access, specifically adding a link for "Kits d'accès". The logic determines the active state based on the current script and query parameters, enhancing navigation for event access management.
2026-06-23 14:32:52 -04:00
2cf8f5e7ec restructurer les acces 2026-06-23 14:19:57 -04:00
bc8bc86b74 Refactor access control and UI elements for event management
This commit updates the event management access control logic in `inc_fx_eve_acces.php` to ensure proper permission checks for managing bibs. It also simplifies the UI in `inc_tableau_promoteur.php` by removing conditional rendering for the management link, ensuring it is always displayed. Additionally, the comment in `inc_tableau_gestion_epreuves.php` is updated for clarity.
2026-06-23 12:36:56 -04:00
0b39f08ec7 Update .htaccess for improved routing and PHP handler configuration
This commit modifies the .htaccess file to implement a redirect for non-www domains to www for production clients, while ensuring compatibility with development environments. It also refines the routing rules for CI4 and legacy routes, and adds a PHP handler configuration for version 8.1, enhancing server-side processing capabilities.
2026-06-23 11:44:52 -04:00
100accfe34 Remove unused 'variables' table definition from static synchronization configuration 2026-06-23 10:10:06 -04:00
b3b24b08c4 Refactor database connection settings and introduce profile management functions
This commit adds structured database connection profiles for client and CRM environments, enhancing the management of database connections in different environments (preprod and prod). It introduces new functions, `fxSettingsUseDbProfiles` and `fxSettingsUseCrmProfile`, to streamline the assignment of connection parameters, improving code maintainability and readability. Additionally, it removes hardcoded connection details from the main logic, promoting a more dynamic configuration approach.
2026-06-23 10:08:10 -04:00
74da043805 Remove unused static synchronization table definitions from configuration 2026-06-23 09:39:17 -04:00
8eda3d40c3 Refactor static database synchronization configuration and connection handling
This commit updates the static database synchronization logic by removing hardcoded connection details from the `fxStaticSyncClientDatabaseConfigs` function. It now relies on configurations defined in `inc_settings.php` for client connections. The `fxStaticSyncEnvironmentDefinitions` and `fxStaticSyncOpenConnections` functions are modified to utilize these new configurations, enhancing flexibility and maintainability in managing database connections for different environments.
2026-06-23 09:37:49 -04:00
d74d06a3b0 Enhance static database connection handling and synchronization logic
This commit updates the `fxStaticSyncClientDatabaseConfigs` function to return detailed database connection configurations for both preprod and prod clients. It introduces a new class, `clsMysqlStaticSync`, to manage MySQL connections with a short timeout, improving connection handling. The `fxStaticSyncConnect` function is refined to utilize this new class, and the synchronization UI is updated to reflect the new client configurations. These changes streamline database interactions and enhance the overall synchronization process.
2026-06-23 09:20:28 -04:00
1797e0c91e Refactor static database connection handling and update synchronization functions
This commit removes hardcoded database connection details from the `fxStaticSyncClientDatabaseConfigs` function, returning an empty array instead. It also refines the `fxStaticSyncConnect` function to utilize `mysqli_init` for improved connection management and introduces a new `fxStaticSyncOpenConnections` function to reuse existing connections. Additionally, the script execution time limit is increased in `sync_static_db.php` to accommodate longer operations.
2026-06-23 09:17:25 -04:00
a23f492621 Refactor static database synchronization access and update UI elements
This commit enhances the static database synchronization feature by refining the `fxSuperadmStaticSyncAllowed` function to improve access control. The UI is updated to conditionally display synchronization options in both the header and sidebar, ensuring that only authorized users can access these tools. This change streamlines the user experience while maintaining security in the admin interface.
2026-06-23 09:12:20 -04:00
02384d3404 Remove unused bib input focus handling in mobile registration and increment version code to 4.72.699 2026-06-22 15:45:11 -04:00
547390286b Enhance mobile registration feedback and fallback text handling
This commit improves the mobile registration module by refining the feedback messages displayed during the bib scanning process. It introduces additional conditions for fallback text to ensure users receive appropriate guidance based on their input. The version code is incremented to 4.72.698 to reflect these updates.
2026-06-22 15:43:48 -04:00
596f3a55c1 Enhance mobile registration UI and functionality for QR and bib scanning
This commit introduces improvements to the mobile registration module by adding a new parameter for QR scanning and enhancing the UI for bib input sections. It includes new functions for rendering collapsible sections in the mobile interface, improving user interaction and accessibility. The CSS is updated to accommodate new styles and layout adjustments, ensuring a better user experience. The version code is incremented to 4.72.697 to reflect these changes.
2026-06-22 15:42:22 -04:00
30b17be43e Refactor mobile bib scanning functionality and enhance UI feedback
This commit refines the mobile bib scanning process by introducing a new capture element and updating the UI to provide clearer feedback during scanning. It removes the unused OCR interval and enhances the event handling for capture actions. Additionally, new messages are added for user guidance, and the version code is incremented to 4.72.696 to reflect these changes. The SQL file is updated to include new translation keys for improved user instructions.
2026-06-22 15:12:34 -04:00
adcb663925 Enhance OCR functionality and UI feedback for mobile registration
This commit improves the Optical Character Recognition (OCR) process in the mobile registration module by introducing a global OCR worker for better management and performance. It updates the UI to include a new loading message during the initialization phase and refines the scanning process. The version code is incremented to 4.72.695 to reflect these enhancements. Additionally, the SQL file is updated to include the new loading message in multiple languages.
2026-06-22 15:07:01 -04:00
e8883cfbf8 Refactor mobile registration QR scanning and update UI elements
This commit streamlines the mobile registration module by removing unused QR mode functionalities and updating the UI for the bib scanning process. It introduces new feedback messages and adjusts the layout for improved user experience. The version code is updated to 4.72.694 to reflect these changes. Additionally, the SQL file is modified to align with the new bib scan terminology.
2026-06-22 15:02:54 -04:00
fd469bdc22 Enhance mobile registration with OCR for dossier scanning and update UI elements
This commit introduces Optical Character Recognition (OCR) functionality for scanning dossier numbers in the mobile registration module. New functions are added to manage the OCR process, including starting and stopping the camera, and updating the UI with relevant feedback messages. Additionally, the version code is updated to 4.72.693 to reflect these enhancements. Unused SQL files related to previous QR code modes have been removed to streamline the codebase.
2026-06-22 14:56:54 -04:00
22534b4cbf Implement OCR functionality for dossier scanning in mobile registration
This commit enhances the mobile registration module by introducing Optical Character Recognition (OCR) capabilities for scanning dossier numbers. New functions are added to manage the OCR process, including preloading the OCR worker, starting and stopping the OCR loop, and updating the UI with scanning status messages. Additionally, the UI is improved with new elements for photo input and feedback messages. The version code is updated to 4.72.692 to reflect these changes.
2026-06-22 14:50:34 -04:00
b5c979058f Enhance QR code scanning functionality and UI for mobile registration
This commit introduces significant updates to the QR code scanning feature in the mobile registration module. It adds new functions for managing QR modes (participant and dossier), improving user interaction with the QR scanner. The UI is enhanced with new elements for mode selection and feedback messages, ensuring a clearer user experience. Additionally, the version code is updated to 4.72.691 to reflect these changes.
2026-06-22 14:36:57 -04:00
6e751b552f Refactor static sync access control and update UI elements
This commit replaces the `fxAdminStaticSyncAllowed` function with `fxSuperadmStaticSyncAllowed` to streamline access control for static database synchronization tools. The UI is updated accordingly to reflect this change, ensuring that only authorized users in development and pre-production environments can access these tools. This enhancement improves the overall user experience and maintains security in the admin interface.
2026-06-22 14:10:24 -04:00