Commit Graph

358 Commits

Author SHA1 Message Date
abb63c293f Enhance session management and access control for super admins
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.
2026-07-01 13:48:43 -04:00
b1699cd10c Add legacy report functionality and update migration statistics display
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.
2026-07-01 13:42:44 -04:00
048c4a398f Add access management enhancements and migration statistics retrieval
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.
2026-07-01 12:57:01 -04:00
57143d538e Add role assignment management features in admin interface
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.
2026-07-01 12:48:54 -04:00
4d3260b2ca Add role deletion functionality in admin interface
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.
2026-07-01 12:41:10 -04:00
0b3ea4811a Update sidebar menu item rendering to include icon handling
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.
2026-07-01 12:38:43 -04:00
30c4103212 Enhance permission inspection features in admin interface
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.
2026-07-01 12:35:52 -04:00
080ba99b2f Remove unused permission inspection functions to streamline codebase 2026-07-01 12:03:11 -04:00
7bd586b619 Implement permission inspection features and enhance admin interface
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.
2026-07-01 12:00:22 -04:00
2a5c81ecc3 Refactor sidebar titles and enhance CSS styles for improved navigation in admin interface
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.
2026-07-01 11:00:35 -04:00
63b0a1d4c5 Refactor sidebar navigation and improve documentation management in admin interface
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.
2026-07-01 10:58:23 -04:00
885a5b652b Enhance sidebar navigation and documentation management in admin interface
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.
2026-07-01 10:47:22 -04:00
c19f70031c Enhance search functionality in registration management with single result redirection
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.
2026-06-30 15:46:48 -04:00
7c9968063a Implement search form submission and UI enhancements for registration management
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.
2026-06-30 15:40:06 -04:00
a955932086 Refine refund success messaging and UI for cancellation in registration management
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.
2026-06-30 15:36:15 -04:00
8933753fe0 MSIN-4417 Update refund context handling in registration management
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.
2026-06-30 15:33:40 -04:00
797e66fec3 MSIN-4417 Refactor refund handling in registration management to support event context
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.
2026-06-30 15:13:06 -04:00
0d042deaf2 MSIN-4416 Enhance refund functionality in registration management with new documentation panel
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.
2026-06-30 14:40:48 -04:00
5e767e77a9 Update CSS styles for cancellation badges and increment version code to 4.72.716
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.
2026-06-29 13:47:24 -04:00
afff43abd6 MSIN-4405 Implement cancellation cause logic and UI enhancements
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.
2026-06-29 13:31:28 -04:00
bcc7d7974e MSIN-4415 Enhance event display in promoteur hub with section title
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.
2026-06-29 12:01:32 -04:00
50e8fea3e9 MSIN-4415 Add product display functionality in promoteur hub
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.
2026-06-29 11:59:20 -04:00
377f4993f8 MSIN-4413 Enhance captain role logic in profile fetching function
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.
2026-06-29 11:51:15 -04:00
8be4bafce1 Refine PayPal refund display logic to enhance user experience
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.
2026-06-29 11:47:48 -04:00
bdd0454240 Refactor PayPal refund handling to improve currency and ID retrieval logic
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.
2026-06-29 11:43:58 -04:00
f52816da32 Enhance refund panel functionality in registration management
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.
2026-06-29 11:36:08 -04:00
7c88dd595d Implement compact PayPal refund summary feature in registration management
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.
2026-06-29 11:33:07 -04:00
028a9af4aa MSIN-4412 Enhance transaction resume feature in registration management with detailed PayPal refund 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.
2026-06-29 11:24:02 -04:00
b5daa5a4ba Enhance bib management with restore functionality on duplicate check
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.
2026-06-29 11:12:14 -04:00
811cf02f16 MSIN-4406 Implement duplicate bib check feature in registration management
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.
2026-06-29 11:09:10 -04:00
3b007261d6 MSIN-4404 Refactor AJAX handling for "bib retrieved" status toggle in registration management
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.
2026-06-29 10:58:31 -04:00
dfc5b8866a Implement transaction resume feature in registration management
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.
2026-06-29 10:52:36 -04:00
d8252fd77f Update confirmation button labels and reposition in registration management
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.
2026-06-29 10:46:32 -04:00
2d518e54ce Enhance registration management display with new column headers and responsive design
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.
2026-06-29 10:41:48 -04:00
46c75f14b6 Enhance OCR scanning interface and improve internationalization handling
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.
2026-06-29 10:37:09 -04:00
10d800959f Refactor BibScanSession to improve internationalization handling in status messages
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.
2026-06-29 10:28:21 -04:00
0b5da05d42 Enhance management form usability with improved CSS styles and enable OCR scanning
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.
2026-06-29 10:00:30 -04:00
8f04833b6a Update ajax_inscr_gestion.php to improve error handling and include necessary function dependencies
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.
2026-06-29 09:47:57 -04:00
61bf838108 Implement error handling and JSON response for ajax_inscr_gestion.php
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.
2026-06-29 09:46:05 -04:00
6ab8c8c61f Enhance promoteur hub functionality by defining a threshold for unlimited events
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.
2026-06-27 17:41:30 -04:00
bedc53df7f chore: stop tracking v3_ci4/vendor (Composer artifacts)
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>
2026-06-27 17:38:03 -04:00
91bf29089e Add Composer artifacts to .gitignore to prevent vendor directory commits 2026-06-27 17:37:45 -04:00
ca452f9ade Update promoteur hub statistics display and refine CSS for better user experience
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.
2026-06-27 17:35:37 -04:00
c47d826f8e Refactor promoteur hub rendering and update CSS for improved layout
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.
2026-06-27 17:12:59 -04:00
3e8112ec0b Implement statistics and layout enhancements for promoteur hub
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.
2026-06-27 17:03:26 -04:00
67d7675e11 Add fxLegalLabelIsDraft function to improve label validation
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.
2026-06-27 15:00:03 -04:00
f32a4300f0 Enhance footer social links styling for improved layout and accessibility
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.
2026-06-27 14:58:07 -04:00
1b30f7e0ea Refactor cookie consent management to improve label handling
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.
2026-06-27 14:57:01 -04:00
33f5c3d0dd Update version code to 4.72.708 in inc_settings.php 2026-06-27 14:55:13 -04:00
58342532cd Enhance cookie management UI and functionality
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.
2026-06-27 14:54:52 -04:00