Commit Graph

278 Commits

Author SHA1 Message Date
2b4060770a Enhance ChronoTrack API event page rendering and form integration
This commit updates the `fxChronotrackApiAdminRenderEventPage` function to include an optional parameter for inline rendering, allowing for a more flexible display of the ChronoTrack API section. The event modification form is also adjusted to conditionally render the ChronoTrack API section based on the event ID, improving user experience and navigation. Additionally, the layout is refined to ensure proper heading levels based on the inline status.
2026-07-02 18:20:34 -04:00
121186a0b9 Update version code and integrate MSIN API ChronoTrack functionality
This commit updates the version code to 4.72.725 and introduces the `fxSettingsApplyChronotrackApi` function to manage ChronoTrack API credentials based on the environment. It also adds relevant UI elements in the sidebar and form sections for ChronoTrack configuration, enhancing the integration of ChronoTrack features within the application.
2026-07-02 18:10:51 -04:00
841fea5103 Add bib anomaly detection for unconfigured sequences
This commit introduces a new function, `fxBibSqlEpreuveHasBibRanges`, to check for the presence of bib ranges in events. It enhances the existing anomaly detection by adding support for cases where no bib ranges are configured, allowing for better reporting of duplicate bibs. Additionally, relevant language strings are added for both French and English to support multilingual reporting. The version code is incremented to reflect these changes.
2026-07-02 12:46:21 -04:00
81e55ea0ec Add out-of-range bib anomaly detection and reporting
This commit introduces a new function, `fxBibAnomalyOutOfRangeBibs`, to identify and report bibs assigned outside of configured sequences for events. It enhances the existing anomaly collection by including this new category and updates the rendering logic to display out-of-range anomalies in the user interface. Additionally, relevant language strings are added for multilingual support. The version code is incremented to reflect these changes.
2026-07-02 12:34:45 -04:00
3ee8ec05be Implement loader functionality for AJAX calls and enhance user feedback
This commit introduces a new loader mechanism for AJAX requests, improving user experience by providing visual feedback during data fetching processes. The `bibFetch` function is created to manage loader visibility, ensuring a consistent loading experience across various AJAX calls. Additionally, a new language string for the loading message is added to support multilingual feedback. The version code is incremented to reflect these changes.
2026-07-02 11:47:47 -04:00
a5ad7a0ec6 Refactor gestion fiche card layout and update rendering functions
This commit enhances the CSS styles for the gestion fiche card layout, transitioning from a rolodex to a grid format for improved organization and readability. The PHP rendering functions are updated to support this new layout, including logic for full-width value display. The version code is incremented to reflect these changes.
2026-07-02 10:27:57 -04:00
011aa65d19 Refactor gestion fiche styling and update PHP rendering logic
This commit refines the CSS styles for gestion fiche sections, introducing a new rolodex layout for improved visual presentation and mobile responsiveness. The PHP function for rendering key-value lists is updated to support the new layout. Additionally, the version code is incremented to reflect these changes.
2026-07-02 10:14:14 -04:00
6e386d95ee Enhance styling and functionality for gestion fiche sections
This commit introduces new CSS styles for the gestion fiche sections, improving the layout and visual presentation of details. It adds background colors and flexbox layouts for better readability on mobile devices. Additionally, the PHP file is updated to ensure specific sections are collapsed or expanded based on user interactions, enhancing the user experience. The version code is incremented to reflect these changes.
2026-07-02 10:09:37 -04:00
d7f3b0156b Implement MS1 loader functionality and update preloader UI
This commit introduces the MS1 loader functionality across various scripts, enhancing the user experience during loading processes. It integrates the loader into form submissions and AJAX calls, ensuring consistent feedback for users. Additionally, the preloader UI is updated to utilize the new loader design, improving visual consistency. The version code is incremented to reflect these changes.
2026-07-02 09:14:34 -04:00
5936cdb61c Add legacy promoteur functionality and migration enhancements
This commit introduces several enhancements related to the legacy promoteur system. It adds a new function to check if the legacy promoteur site is enabled and updates various functions to utilize this check, ensuring that legacy features are only accessible when appropriate. Additionally, it refines the migration process for legacy accounts, including improved handling of migration statistics and event access. The admin interface is updated to reflect these changes, enhancing the overall management of legacy promoteur accounts. The version code is updated to reflect these changes.
2026-07-01 14:14:25 -04:00
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
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
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
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
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
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
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
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
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
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
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
06d8a065dc Update cookie consent language and policy details for clarity and compliance
This commit enhances the cookie consent management by updating the language used in the consent messages and policy sections. The changes provide clearer explanations of cookie usage, including essential, analytics, and marketing cookies. Additionally, the policy now includes details on managing cookie preferences, cross-border data transfers, and user rights under Quebec Law 25, ensuring better compliance with privacy regulations and improving user understanding.
2026-06-27 14:49:52 -04:00
ce7c430046 Enhance cookie consent management and UI improvements
This commit refines the cookie consent management system by introducing a new function for handling cookie preferences and updating the UI elements in `inc_footer.php` and `inc_header.php`. It ensures that analytics and marketing scripts are executed based on user consent, improving compliance with privacy regulations. Additionally, it enhances the cookie consent interface, providing users with clearer options for managing their cookie preferences, and updates related functions for better maintainability.
2026-06-27 14:48:48 -04:00
19679875df Implement cookie consent management across various scripts
This commit introduces a comprehensive cookie consent management system by integrating the `fxCookiesAllowMarketing()` function across multiple files. It ensures that marketing-related scripts, such as Facebook Pixel and Google Analytics, are only executed if the user has consented to cookies. Additionally, it enhances the cookie consent UI in `inc_footer.php` and `inc_header.php`, improving user experience and compliance with privacy regulations. The changes also include refactoring of cookie handling functions for better maintainability.
2026-06-27 14:44:44 -04:00
4c08938403 Update promoteur hub layout and SQL for gestion integration
This commit modifies the layout of the promoteur hub by swapping the content of the left and right columns, ensuring that the management section is displayed correctly alongside the reports. Additionally, it updates the SQL script to include safety measures for missing labels and redefines the "Gestion" header in the promoteur hub, ensuring a consistent user experience across the interface.
2026-06-27 12:30:43 -04:00
8f428a5c18 Refactor event management system to transition from mobile to gestion
This commit updates the event management system by replacing references to mobile inscriptions with gestion inscriptions. It includes changes to AJAX endpoints, helper functions, and UI elements to reflect this transition. The updates enhance the overall structure and maintainability of the codebase while ensuring that user access and permissions are properly managed for the new gestion interface.
2026-06-27 12:10:19 -04:00
9acc8102e8 Add AJAX functionality for event registration management and QR code scanning
This commit introduces new AJAX endpoints for managing event registrations, including a dedicated script for handling QR code scans. The new functionality validates user sessions and event access, providing JSON responses for both successful and error states. Additionally, it enhances the overall structure of the event management system by integrating various helper functions for improved maintainability and user experience.
2026-06-27 12:09:56 -04:00
116347036f Enhance mobile event registration search functionality with new prompts and criteria handling
This commit introduces a search prompt for the mobile event registration interface, guiding users on how to display registrations. It also implements logic to manage search criteria, ensuring that the search state is preserved during pagination and navigation. These improvements enhance user experience by providing clearer instructions and maintaining context during searches.
2026-06-27 11:54:40 -04:00
c4199c5557 Enhance mobile event management interface with new labels and version update
This commit introduces new labels for displaying invoice and participant modification actions in the mobile event management interface, improving clarity for users. Additionally, the version code has been updated to reflect these changes. These enhancements contribute to a more user-friendly experience in managing event registrations.
2026-06-27 11:47:41 -04:00
98ed9f6f8e Refactor mobile event management actions and update version code
This commit removes the visual grouping for event management actions on mobile and simplifies the button layout. The buttons for editing, refunding, canceling, and restoring registrations have been streamlined for better usability. Additionally, the version code has been updated to reflect the latest changes. These modifications enhance the overall clarity and functionality of the mobile event management interface.
2026-06-27 11:40:53 -04:00