This commit introduces improvements to session management by implementing a new check for super admin sessions, allowing them to bypass certain access restrictions. It updates the logout function to retain super admin session data and modifies event access functions to grant permissions based on super admin status. Additionally, the session timeout duration is adjusted for better alignment with site requirements. The version code is updated to reflect these changes.
This commit introduces a new function to generate a comprehensive report of legacy promoters, including details such as group, last connection, and migration date. The admin interface is updated to display migration statistics and legacy report data, enhancing the visibility of pending and completed migrations. The UI is refined for better user experience, ensuring clear presentation of account statuses. The version code is updated to reflect these changes.
This commit updates the access management functionality by ensuring role_id is updated on duplicate key entries and adds error handling for unregistered access attempts. Additionally, it introduces a new function to retrieve migration statistics for legacy accounts, providing insights into pending and completed migrations. The version code is updated to reflect these changes.
This commit introduces a new section for managing role assignments within the admin interface. It adds functionality to display active and historical assignments for roles, enhancing the user experience by allowing admins to view and filter assignments. Additionally, the sidebar is updated to include the new 'assignations' page, ensuring consistent navigation. The version code is updated to reflect these changes.
This commit introduces the ability to delete roles within the admin interface. It adds new functions to check if a role can be deleted based on active assignments and historical data. The UI is updated to include delete buttons with confirmation prompts, enhancing user interaction and management capabilities. The version code is updated to reflect these changes.
This commit enhances the sidebar menu item rendering by introducing a check for menu icons. If an icon is provided, it is displayed; otherwise, a default folder icon is shown. This improves the visual representation of menu items in the admin interface, ensuring a more consistent user experience. The version code is updated to reflect these changes.
This commit introduces new functions for displaying permission badges in various sections of the admin interface, improving visibility for super admins. It updates the sidebar and management sections to include these badges, ensuring that access rights are clearly indicated. Additionally, new CSS styles are added for better layout and alignment of the badges. The version code is updated to reflect these changes.
This commit introduces new functions for permission inspection, allowing super admins to toggle and manage access rights more effectively. It adds visual elements for permission badges in the admin interface and updates the sidebar navigation to include a migration section for legacy accounts. Additionally, CSS styles are enhanced for better user experience and clarity. The version code is updated to reflect these changes.
This commit updates the sidebar titles in the admin interface to use consistent heading levels and introduces new CSS styles for better visual hierarchy. The changes include the addition of classes for main titles and subtitles, enhancing the overall user experience and readability. The version code is updated to reflect these changes.
This commit enhances the sidebar navigation by consolidating sections for site management, access management, and documentation. It introduces a new help section for production deployment and streamlines the documentation links for better accessibility. Unused code related to module selection has been removed, improving maintainability. The version code is updated to reflect these changes.
This commit introduces a revamped sidebar navigation in the admin interface, adding new sections for site management, access management, and documentation. It improves user experience by providing clearer access to various functionalities, including a new hub for managing pages and modules. Additionally, the code structure is refined to ensure better organization and maintainability. The version code is updated to reflect these changes.
This commit introduces logic to automatically redirect users to a detailed view when a single result is returned from a search query in the registration management interface. It improves user experience by streamlining navigation after search submissions. Additionally, the code structure is refined to ensure that search results are fetched only when necessary, enhancing performance. The version code is updated to reflect these changes.
This commit introduces new JavaScript functions to handle search context detection and form submission within the registration management interface. It enhances the user experience by automatically submitting the search form when a number is detected in the BibScan session. Additionally, new CSS styles are added to improve the layout of the search fields, ensuring better alignment and spacing. The version code is incremented to 4.72.720 to reflect these changes.
This commit updates the refund success messaging to clarify the cancellation process, ensuring users understand how to proceed with cancellations in the registration system. It introduces an inline cancel button within the explanatory banner, enhancing user interaction and visibility. Additionally, the cancel button is now hidden to prevent duplication, improving the overall user experience during the refund process.
This commit refines the refund context handling by removing the unnecessary boolean parameter for Super Admin in the `fxRefundComputeContext` function, simplifying the logic. It ensures that refunds are consistently linked to the correct event context across various functions, enhancing authorization checks and calculations. The version code is incremented to 4.72.719 to reflect these changes.
This commit enhances the refund functionality by introducing event context handling for refunds. It updates the logic to ensure that refunds are linked to the correct event, improving authorization checks and refund calculations. Additionally, the refund context is now passed through various functions to ensure accurate processing. The version code is incremented to 4.72.718 to reflect these changes.
This commit introduces a new documentation panel for the refund process in the registration management interface. It adds a function to render the refund documentation aside from the main refund form, improving user guidance during the refund process. Additionally, CSS styles are added to ensure proper layout and responsiveness of the new panel. The version code is updated to 4.72.717 to reflect these changes.
This commit enhances the visual representation of cancellation badges in the UI by adding new CSS styles for better alignment and spacing. Additionally, the version code has been updated to reflect the latest changes. These updates improve the overall user experience in the registration management interface.
This commit introduces a new function, `fxGetAnnulationCause`, to determine the reason for a cancelled registration (e.g., transfer, modification, or true cancellation) without altering the database. Additionally, it adds CSS styles for displaying cancellation badges in the UI, enhancing the visual representation of registration statuses. The changes improve user experience by providing clear and informative feedback on registration cancellations throughout the management interface.
This commit adds a section title for the events grid in the promoteur hub, improving the visual structure and clarity of the displayed information. The title indicates the availability of events for sale, enhancing user engagement and overall experience within the interface.
This commit introduces new features for displaying products available for sale within the promoteur hub. It adds a function to retrieve product data, including quantities available, sold, and in carts, enhancing the event experience by providing users with relevant product information. Additionally, CSS styles are added to improve the visual presentation of the product tiles. The changes ensure that product availability is clearly communicated to users, improving overall engagement and usability in the event management interface.
This commit refines the logic for determining the captain role within the `fxInscrGestionFetchFicheProfile` function. It introduces a new condition to ensure that the captain title is only displayed for team events, improving the accuracy of role representation. The changes enhance the clarity of participant profiles by correctly reflecting the captain status based on event type, thereby improving the overall user experience in the registration management interface.
This commit improves the handling of PayPal refunds by ensuring that no summary is displayed when there are no refunds available. The logic now checks for empty refund details before rendering the summary section, preventing unnecessary display of empty elements. This change enhances the clarity of the user interface by only showing relevant information, thereby improving the overall user experience in the registration management interface.
This commit enhances the handling of PayPal refunds by refining the logic for retrieving currency and identifiers. It introduces new utility functions, `strFirst` and `floatFirst`, to ensure that fallback values are correctly utilized when the refunds section is empty or when API reporting fails. This change improves the robustness of the refund summary display, ensuring accurate information is presented to users.
This commit introduces a new function, `focusRefundPanel`, to improve user experience by automatically scrolling the refund panel into view and focusing on the amount input field when the panel is loaded. Additionally, the refund panel is repositioned above the transaction panel to ensure better visibility. The changes streamline the interaction process, making it easier for users to access and input refund details.
This commit introduces a new function, `renderPayPalRefundSummaryHtml`, to provide a concise overview of PayPal refunds within the registration management interface. The summary displays essential information such as status, captured amount, total refunded, and remaining balance, enhancing the user experience by presenting key details in a more accessible format. Additionally, the existing code is updated to utilize this new summary function, improving the overall clarity and usability of transaction information.
This commit improves the transaction resume functionality by adding detailed PayPal refund information to the transaction summary. The changes include a refined SQL query to retrieve complete command details and the integration of a new section displaying PayPal capture details if available. This enhancement provides users with a comprehensive view of their transactions, including refunds, directly within the management interface, thereby improving usability and transparency.
This commit adds a restore feature for bib numbers in the registration management interface. When a duplicate bib is detected, the previously entered value is restored, improving user experience by preventing accidental data loss. The changes include new functions to manage the restoration process and updates to the existing AJAX handling to ensure the correct bib value is maintained during interactions. This enhancement builds on the previously implemented duplicate check feature, further refining the registration workflow.
This commit introduces a new AJAX functionality to check for duplicate bib numbers during the registration process. It adds a case in `ajax_inscr_gestion.php` to handle duplicate checks, returning relevant participant information and policies for handling duplicates. The front-end script in `inc_footer_scripts.php` is updated to incorporate this check before saving a bib, enhancing user interaction with confirmation dialogs for duplicate assignments. Additionally, new functions are added in `inc_fx_inscriptions_gestion.php` to manage duplicate policies and retrieve existing participants with the same bib number, improving data integrity and user experience in the registration management interface.
This commit refines the AJAX functionality for toggling the "bib retrieved" status in the registration management interface. It introduces a confirmation dialog for removing the status, enhancing user interaction. The preloader display logic is also improved, ensuring a smoother user experience during the status update process. Additionally, the code structure is cleaned up for better readability and maintainability.
This commit introduces a new AJAX-based feature to display transaction details in the registration management interface. A button labeled "Afficher la transaction" is added, allowing users to toggle the visibility of transaction summaries independently from refunds. The transaction details are fetched dynamically, enhancing user experience by providing immediate access to relevant information. Additionally, corresponding labels for the button are defined in both French and English to support internationalization. The changes improve the overall usability and functionality of the management interface.
This commit modifies the labels for the confirmation button in both French and English to provide clearer instructions. The button is also repositioned to appear last in the management form for better user experience. Additionally, corresponding changes are made in the SQL file to reflect the updated labels in the database. These enhancements aim to improve clarity and usability in the registration management interface.
This commit introduces a new grid layout for the registration management list, adding column headers for better organization and clarity. The CSS has been updated to ensure proper alignment and styling of the headers, while also implementing responsive behavior to hide the header in mobile view. The version code has been updated to 4.72.713.
This commit updates the CSS for the OCR scanning interface, increasing the aspect ratio and adjusting dimensions for better usability. It also introduces a new function, `fxInscrGestionScanLabel`, to provide robust labels for scanner buttons, ensuring that users receive clear instructions regardless of language settings. The version code has been updated to 4.72.712.
This commit enhances the `BibScanSession` class by introducing a new function, `scanMsg`, to manage the retrieval of translated status messages. It replaces direct attribute access with this function to ensure that raw internationalization keys are not displayed to users. The changes improve the user experience by providing clearer and properly translated messages during the scanning process, including camera access and number detection feedback.
This commit introduces several CSS enhancements to the editable management form, increasing padding, font sizes, and button dimensions for better touch accessibility on mobile devices. Additionally, it sets the OCR scanning feature to always be available on the management form, ensuring a seamless user experience during data entry. The version code has been updated to 4.72.711.
This commit adds a required file inclusion for the `fxEveAccesResolveEveIdFromParId` function to ensure it is available during the execution of the 'par_statut_course' case. Additionally, it simplifies the error response for invalid actions by removing detailed diagnostic information, streamlining the error handling process while maintaining essential feedback for AJAX requests.
This commit enhances the error handling in the `ajax_inscr_gestion.php` file by introducing a shutdown function that captures fatal errors and returns a structured JSON response instead of a generic 500 error. Additionally, it adds diagnostic information for invalid actions, improving the debugging process. These changes aim to provide clearer feedback to users and developers when issues arise during AJAX requests.
This commit introduces a new constant, `PHUB_SEUIL_ILLIMITE`, to define the quantity threshold at which an event is considered "unlimited." The `fxPromoteurHubGetEpreuveStats` function has been updated to incorporate this threshold, allowing for better handling of event statistics and improving the accuracy of the sold tickets and remaining quantities display. These changes aim to enhance the clarity and functionality of the promoteur hub.
Le dossier vendor/ avait ete committe par accident (milliers de fichiers), ce qui faisait geler l'IDE. Ajoute au .gitignore et retire du suivi (fichiers conserves sur disque). composer.lock reste versionne.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit enhances the `fxPromoteurHubGetEpreuveStats` function to improve the aggregation and presentation of event statistics, including sold tickets and check-ins. Additionally, it refines the CSS styles for the promoteur hub, ensuring a more cohesive and visually appealing layout for statistics and event tiles. These updates aim to provide users with clearer insights and a more organized interface for event management.
This commit refines the rendering functions for the promoteur hub, introducing `fxPromoteurHubRenderFlash` and `fxPromoteurHubRenderEpreuvesGrid` to separate the display of the flash summary and the grid of event tiles. The CSS has been updated to enhance the layout, including new styles for the flash section and action buttons, ensuring a more organized and visually appealing interface. Additionally, the version code has been incremented to 4.72.710.
This commit introduces a new function, `fxPromoteurHubGetEpreuveStats`, to aggregate and return statistics for events, including sold tickets, check-ins, and waiting list details. Additionally, it adds extensive CSS styles for the promoteur hub, enhancing the layout and visual presentation of statistics, alerts, and event tiles. These changes improve the user experience by providing clearer information and a more organized interface for event management.
This commit introduces the `fxLegalLabelIsDraft` function, which checks if a given label is a draft based on its content. The function trims the label and evaluates conditions such as emptiness and the presence of underscores, enhancing the clarity and maintainability of the cookie consent management system. This addition supports better label handling in the context of legal page requirements.
This commit updates the CSS styles for the footer's social links, ensuring a more consistent and user-friendly layout. Changes include adjustments to the display properties and margins of social link elements, enhancing their alignment and visual appeal. Additionally, the font size of the cookie management icon has been refined for better integration within the footer design.
This commit updates the `fxEnsureLegalPage` function to utilize the `fxLegalLabelIsDraft` function for checking and updating French and English labels. This change enhances the clarity and maintainability of the code by ensuring that labels are only updated when they are in draft status, aligning with the overall improvements in cookie consent management.
This commit updates the cookie management interface in the footer by replacing the existing cookie icon with a new SVG representation, improving visual consistency. It also refines the associated CSS styles for better user interaction and accessibility. Additionally, the cookie consent text retrieval function has been simplified to ensure clearer language and compliance with privacy regulations. These changes collectively enhance the user experience and maintainability of the cookie consent system.