This commit introduces the `fxEveAccesCanManageBibV4` and `fxEveAccesCanQrTest` functions to improve event access management. It updates various files to utilize these new permission checks, ensuring that only authorized users can manage event registrations and access QR testing features. Additionally, redundant session checks are removed, and redirection logic is refined for better user experience across the application.
This commit modifies the mobile registration menu labels to reflect the new versioning, changing the text to "Gestion des inscriptions V2" in French and "Registration management V2" in English. Additionally, it introduces a new function, `fxInscrMobilePromoteurMenuLabel`, to standardize the label retrieval process. The icon for the mobile registration link is also updated to improve visual consistency across the interface.
This commit introduces a mobile login feature with validation messages for username and password fields, improving user experience. It also updates the header and footer to conditionally render elements based on mobile entry status, ensuring a cohesive design. Additionally, CSS styles are added to enhance the mobile interface, and the version code is incremented to 4.72.689 to reflect these changes.
This commit modifies the mobile registration links to point to the correct routes, ensuring proper navigation for users. Additionally, it refines the logic for displaying mobile access based on user permissions, introducing a new function to check for legacy promoteur menu access. These changes improve the user experience and maintain consistency in the mobile module's functionality.
This commit introduces several new functions for managing text localization in the mobile module, including `fxInscrMobileInitTextes`, `fxInscrMobileLoadTextes`, and `fxInscrMobileResolveTexte`. These changes improve the handling of multilingual text by loading and resolving localized strings based on the selected language. Additionally, the mobile page initialization logic is updated to ensure proper text loading, and existing text retrieval methods are refactored for consistency and clarity.
This commit updates the mobile registration access checks across multiple files to use the newly implemented `fxInscrMobileCanAccess` and `fxInscrMobileCanScan` functions. The changes enhance the permission handling for mobile event registrations, ensuring a more robust access control mechanism. Additionally, the mobile URL generation is updated for consistency, and new functions for managing event access permissions are introduced to streamline the codebase.
This commit introduces a new prompt for sequence selection in batch and auto modes, improving user guidance. The visibility logic for various action groups is refined based on selection states, ensuring a clearer interface. Additionally, CSS styles are updated to support the new prompt, enhancing the overall user experience in the bib management system.
This commit modifies the `fxBibTexte` function to utilize a new fallback mechanism via `fxBibStaticFallback`, which provides default translations for missing or incorrectly entered keys in both French and English. Additionally, the error handling in the bib view is updated to ensure proper display of messages for unassigned and duplicate bibs. These changes enhance the robustness and user experience of the bib management system.
This commit introduces a new function, `fxBibViewCancelledLabel`, to handle the display of cancellation labels in both French and English. Additionally, SQL updates ensure that the correct cancellation text is set for both languages, enhancing the user experience in the bib view. These changes improve the clarity and accessibility of cancellation information for participants.
This commit improves the handling of cancelled participants in the bib view by refining the logic for displaying cancellation status and updating the associated SQL queries for participant retrieval. The version code is incremented to reflect these changes, ensuring consistency in versioning.
This commit enhances the visual representation of cancelled participants in the bib view by applying a new background color and adding a label for cancelled status. The version code is updated to reflect these changes, ensuring consistency in versioning.
This commit introduces a new CSS class for cancelled bib view rows, enhancing visual distinction with a gradient background and color adjustments. Additionally, SQL queries in the participant filtering logic are updated to remove the cancellation condition, allowing for more flexible data retrieval. The version code is incremented to reflect these changes.
This commit introduces two new SQL functions: `fxBibSqlDuplicateUnitCount`, which counts the number of units sharing a `no_bib` for an event, and `fxBibSqlIsBibDuplicateAnomaly`, which checks for duplicate anomalies excluding legitimate team sharing. These functions enhance the existing bib management logic by improving the accuracy of duplicate detection. Additionally, the existing SQL queries in `fxInfosBibRange` and `fxBibAnomalyDuplicateBibs` are updated to utilize the new functions for better clarity and efficiency.
This commit refines the batch processing interface by improving the visibility logic for various action groups based on selection states. New UI elements, including a prompt for batch picking and a warning for reset actions, are introduced to enhance user guidance. CSS styles are updated to support these changes, ensuring a clearer and more interactive experience. The version code is incremented to reflect these updates.
This commit modifies the CSS for the mobile registration interface, enhancing the visual hierarchy and readability by adjusting font weights and colors. The version code is updated to reflect these changes, ensuring consistency in versioning.
This commit enhances the mobile registration interface by refactoring the profile rendering logic to include a flag for captains and updating the associated CSS for better layout and responsiveness. The version code is incremented to 4.72.682 to reflect these changes, further improving the user experience in mobile registrations.
This commit introduces new functions to fetch and render participant profile details within the mobile registration interface, including role, name, email, birthdate, and custom questions. The CSS is updated to improve the layout of the profile section. The version code is incremented to 4.72.679 to reflect these changes, enhancing the overall user experience in mobile registrations.
This commit introduces a new QR code scanning feature within the mobile registration interface, allowing users to scan QR codes for event registration. The JavaScript logic for handling QR code detection and feedback is added, along with corresponding PHP functions for processing scanned data. CSS styles are updated to improve the layout of the QR scanning panel. The version code is incremented to 4.72.678 to reflect these changes, enhancing the overall user experience in mobile registrations.
This commit introduces new functions for rendering section titles and panel summaries in the mobile registration interface, improving code organization and readability. CSS styles are updated to enhance the layout, including flexbox adjustments for better alignment and spacing. The version code is incremented to 4.72.677 to reflect these changes.
This commit introduces new functions for rendering navigation and page headers in the mobile registration interface, improving code organization and readability. CSS styles are updated to enhance the layout and responsiveness of the mobile interface, including adjustments to list items and section management. The version code is incremented to 4.72.676 to reflect these changes.
This commit encapsulates the refactoring of the mobile registration status management by encapsulating the logic within an immediately invoked function expression (IIFE) for better organization. The AJAX handling for status changes has been improved, ensuring smoother user interactions and error handling. The version code is incremented to 4.72.675 to reflect these updates, further enhancing the mobile user experience.
This commit modifies the mobile registration interface to replace radio buttons with a select dropdown for participant status management. The JavaScript and CSS are updated accordingly to enhance user interaction and maintain layout consistency. The version code is incremented to 4.72.674 to reflect these changes, further improving the mobile user experience.
This commit introduces a new feature for managing participant status within the mobile registration interface. It includes updates to the PHP functions for handling status changes, new JavaScript for dynamic updates, and corresponding CSS styles for improved layout. The version code is incremented to 4.72.673 to reflect these enhancements, further optimizing the user experience in managing participant registrations.
This commit introduces new CSS styles for the mobile registration interface, including editable fields and a status display section. The PHP code is updated to render these new elements, improving user interaction and information clarity. Additionally, the version code is incremented to 4.72.672 to reflect these enhancements, further optimizing the mobile user experience.
This commit introduces several improvements to the mobile registration functionality, including the addition of a new function for parsing event IDs and updates to the CSS for a cleaner layout. The logic for displaying event information has been refined, and new JavaScript features have been added to improve user navigation. The version code is incremented to 4.72.671 to reflect these enhancements, further optimizing the mobile user experience.
This commit introduces new routing rules in .htaccess for mobile access, adds mobile-specific PHP includes and logic in compte.php, and enhances the footer scripts for mobile page handling. Additionally, new CSS styles are added to support the mobile registration interface. The version code is incremented to 4.72.670 to reflect these changes, improving the overall user experience for mobile users.
This commit introduces new functions for handling translation buttons in the bib management system, improving user interaction with translated content. The CSS is updated to style these buttons appropriately within the bib summary sections. Additionally, the version code is incremented to 4.72.667 to reflect these enhancements, further improving the user experience in managing bib assignments.
This commit modifies the JavaScript to ensure that the 'hidden' class is removed when a page is displayed, improving the visibility handling of document pages. Additionally, the PHP code is updated to streamline the generation of page elements by adjusting the placement of the 'hidden' attribute. The version code is incremented to 4.72.666 to reflect these changes, enhancing the overall user experience in document navigation.
This commit introduces a new functionality to handle dashboard anomalies related to bibs, including duplicate and orphaned bibs. The PHP code is updated to include a new AJAX action for collecting anomalies, while JavaScript functions are added to refresh the anomalies panel dynamically. Additionally, new CSS styles are introduced to enhance the layout and presentation of the anomalies information. The version code is incremented to 4.72.665 to reflect these changes, improving the overall user experience in managing bib assignments.
This commit introduces a new function, fxBibSqlNoBibUnsigned, to ensure that 'no_bib' values are treated as unsigned integers in SQL queries. The existing SQL statements in ajax_bib_range.php and inc_fx_promoteur.php are updated to utilize this function, enhancing data integrity and comparison accuracy. These changes improve the overall reliability of bib number handling in the application.
This commit adds new JavaScript functions to manage pending bib assignments and alert users when automatic activation is blocked due to unassigned registrations. The PHP code is updated to include a new function that verifies all bibs are assigned before allowing auto activation. Additionally, the version code is incremented to 4.72.664 to reflect these changes, improving the overall functionality and user experience in the bib assignment process.
This commit updates the footer scripts to enhance the visibility logic for the auto assignment actions, ensuring the appropriate elements are displayed based on the current state. Additionally, new CSS styles are introduced for the auto configuration layout, improving the organization and alignment of action buttons. The version code is incremented to 4.72.663 to reflect these changes, enhancing the user interface and experience.
This commit modifies the CSS to adjust grid column widths for better alignment and updates the button styles for improved visual consistency. The version code is incremented to 4.72.660, reflecting these changes. These updates enhance the user interface by providing a more organized layout and refined button aesthetics.
This commit introduces a locking feature for bib ranges, allowing users to lock or unlock sequences via a new AJAX endpoint. The PHP code is updated to check for locked statuses before performing actions, enhancing data integrity. Additionally, new JavaScript functions are added to handle user interactions for locking and unlocking, along with corresponding CSS styles for visual feedback. This improves the user experience by preventing modifications to locked sequences and providing clear confirmation messages.
This commit introduces two new PHP functions: fxBibRangeDispoFromRow, which calculates available bibs in a sequence, and fxBibIsRangeAvailableForAuto, which checks if a sequence is available for automatic assignment. Additionally, the fxSaveBibAutoConfig function is updated to utilize these checks, enhancing error handling for full sequences. SQL scripts are also updated to include localized error messages for cases when a selected sequence is full, improving user feedback in both French and English.
This commit updates the CSS to enhance the layout of auto badges, positioning them to the right and adjusting the grid structure. In the PHP code, the badge description is modified for clarity, and the rendering logic is streamlined by removing unnecessary elements. These changes improve the user interface by providing a more organized and visually appealing display of sequence information.
This commit modifies the CSS to introduce a new layout for auto badges in batch mode, ensuring they are hidden when not needed. The PHP functions are updated to include an optional parameter for displaying the auto badge, enhancing the summary information for sequences. These changes improve the overall user interface and experience by providing clearer visual cues and better organization of sequence data.
This commit eliminates the visibility logic for the auto badge in the footer scripts, streamlining the code. Additionally, a new function, fxBibRenderRangeAutoBadge, is introduced to render the auto badge for active sequences, enhancing the display of sequence information. CSS styles are also added for the new badge, improving the visual presentation in the interface. No version code change is included in this update.
This commit updates the fxBibEpreuveDisplayName function to provide a more comprehensive display name for events by incorporating both type and category information. It also adds logic to append an "(inactive)" label when the event is not active. Additionally, new SQL entries are introduced to support localized messages for inactive events in both French and English, improving user feedback in the interface. No version code change is included in this update.
This commit introduces a new function, fxBibGetOverlappingRanges, to check for overlapping bib sequences within a specified event. The validation logic in ajax_bib_range.php is updated to utilize this function, enhancing the accuracy of overlap detection. Additionally, detailed error messages are formatted for both single and multiple overlaps, improving user feedback in the interface. SQL scripts are updated to include new localized messages for overlap conflicts in both French and English. No version code change is included in this update.
This commit updates button classes for the auto action feature, replacing success and secondary styles with a new 'btn-bib-auto' class for better visual distinction. It also introduces new CSS styles for the action group layout, ensuring buttons are aligned correctly. The version code has been incremented to 4.72.659 to reflect these changes.
This commit modifies the fxBibAideButton function to include an optional parameter for controlling the display of translation buttons. Additionally, new helper functions fxBibBtnAideSegmentOpen and fxBibBtnAideSegmentClose are introduced to streamline the rendering of action segments in the interface. These changes improve the organization and flexibility of the button rendering logic, enhancing the overall user experience. No version code change is included in this update.
This commit streamlines the localization process by removing unnecessary parameters from functions and consolidating the logic for retrieving localized strings. The changes enhance the clarity and maintainability of the code, ensuring that the interface dynamically reflects the selected language. No version code change is included in this update.