Commit Graph

184 Commits

Author SHA1 Message Date
e9ad3d8a92 Enhance event access control and integrate new permission checks
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.
2026-06-19 12:49:19 -04:00
d5fdb227dd Update mobile registration menu labels and enhance SQL entries for V2
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.
2026-06-19 12:43:54 -04:00
460d5df27f Implement mobile login enhancements and UI updates
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.
2026-06-19 12:39:47 -04:00
fb4f74d48f Update mobile registration links and enhance access logic
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.
2026-06-19 12:32:43 -04:00
52f9b632fb Enhance mobile text management and internationalization support
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.
2026-06-19 12:29:58 -04:00
af2b0a7faa Refactor mobile registration access logic to utilize new permission functions
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.
2026-06-19 11:55:00 -04:00
7de632d9fc gestion des droit 2026-06-19 11:45:53 -04:00
6403f371fe Enhance batch and auto selection UI with new prompts and visibility logic; increment version code to 4.72.688
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.
2026-06-19 11:43:57 -04:00
717f11e3d5 Refactor fxBibTexte function to include fallback for missing keys and add new fxBibStaticFallback function for bilingual support
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.
2026-06-19 11:32:09 -04:00
026473dd59 Implement cancellation label function and update SQL for bilingual support in bib view
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.
2026-06-19 11:12:20 -04:00
16b8637192 Enhance cancellation handling in bib view and update SQL queries for participant retrieval; increment version code to 4.72.687
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.
2026-06-19 11:09:47 -04:00
f9e1715de1 Update cancellation styling in bib view and increment version code to 4.72.686
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.
2026-06-19 11:04:56 -04:00
e045ff3f98 Implement cancellation styling in bib view and update SQL queries for participant filtering; increment version code to 4.72.685
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.
2026-06-19 11:03:28 -04:00
fd1d136842 Add SQL functions for duplicate unit count and anomaly detection in bib management
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.
2026-06-19 10:56:09 -04:00
a8bcd26cdd Update spacing in summary headers of fxBibEpreuveHeaderSummaries function for improved readability 2026-06-19 10:22:55 -04:00
9c4c11efc9 Enhance batch processing interface by updating visibility logic and adding new UI elements; increment version code to 4.72.684
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.
2026-06-19 10:17:00 -04:00
d405f2aa99 Update CSS styles for mobile registration interface and increment version code to 4.72.683
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.
2026-06-19 10:09:46 -04:00
09f57dcce0 Refactor mobile registration profile rendering and update CSS for improved layout
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.
2026-06-19 10:07:26 -04:00
3a3ebec2bf Enhance mobile registration interface by introducing key-value list rendering functions and updating CSS for improved layout. This commit adds new functions to render participant profile details in a structured format, enhancing readability and organization. The CSS is updated to support the new layout, including adjustments to padding and grid structure. The version code is incremented to 4.72.680 to reflect these changes, further improving the user experience in mobile registrations. 2026-06-19 10:03:01 -04:00
6bffbba726 Enhance mobile registration interface by adding profile details rendering functionality; update CSS for improved layout
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.
2026-06-19 09:59:10 -04:00
7bb57ded70 Fix bib display logic in mobile registration interface to remove unnecessary prefix; improve clarity of rendered output 2026-06-19 09:29:26 -04:00
36280f0235 Implement QR code scanning functionality in mobile registration interface; enhance backend processing and update styles
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.
2026-06-19 09:19:31 -04:00
b068157f87 Enhance mobile registration interface with new section title and panel summary rendering functions; update CSS for improved layout and styling
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.
2026-06-19 09:15:09 -04:00
164e26af91 Enhance mobile registration interface with new navigation and page head rendering functions; update styles for improved layout and responsiveness
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.
2026-06-19 09:12:09 -04:00
0157f34949 Refactor translation function calls in inc_fx_promoteur.php for improved readability; remove unnecessary echo statements 2026-06-19 09:00:26 -04:00
cdf4e5188a Refactor mobile registration status management; enhance AJAX handling and update version code
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.
2026-06-18 16:36:43 -04:00
d64b18c9fb Refactor mobile registration status management to use select elements; update version code
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.
2026-06-18 16:24:24 -04:00
2cb6a59c96 Implement participant status management in mobile registration; update version code
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.
2026-06-18 16:22:02 -04:00
c0b6f0c696 Enhance mobile registration interface with new editable fields and status display; update version code
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.
2026-06-18 16:16:14 -04:00
146f692a46 Enhance mobile registration interface and update version code
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.
2026-06-18 13:48:01 -04:00
b7fa26d1e9 Implement mobile registration functionality and update version code
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.
2026-06-18 13:35:36 -04:00
a1c8fc787e Enhance AJAX functionality for bib management by introducing a centralized access control function and updating existing actions to utilize it. The version code is incremented to 4.72.669 to reflect these changes, improving security and consistency in AJAX requests. 2026-06-18 13:04:06 -04:00
ef2275c54d Update CSS for improved layout and button styles; enhance PHP functions for translation handling; increment version code 2026-06-18 11:56:34 -04:00
0495ded5c2 Enhance bib management with translation buttons and CSS updates; increment version code
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.
2026-06-18 11:48:10 -04:00
1d86258926 Refactor page visibility logic and update version code
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.
2026-06-18 10:50:44 -04:00
8258e7ad29 Implement dashboard anomalies feature for bib management
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.
2026-06-18 10:42:27 -04:00
42bd7c36de Refactor SQL queries to handle 'no_bib' as unsigned integers
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.
2026-06-18 10:37:04 -04:00
0c1fc53331 Implement auto assignment checks and enhance footer scripts; increment version code
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.
2026-06-18 10:21:36 -04:00
2b117cdea4 Refactor footer scripts and CSS for auto assignment actions; increment version code
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.
2026-06-18 10:13:59 -04:00
77564c0f46 Update CSS styles for grid layout and button design; increment version code
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.
2026-06-18 09:59:06 -04:00
27e581c40a Implement locking mechanism for bib ranges with AJAX support
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.
2026-06-18 09:55:49 -04:00
33a5e0a410 Add functions for auto assignment availability checks and update SQL for error messaging
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.
2026-06-18 09:48:42 -04:00
2a9e38fdea Refactor CSS and PHP for badge layout and rendering improvements
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.
2026-06-18 09:41:22 -04:00
71d850531d Update CSS and PHP for badge rendering and layout adjustments in batch mode
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.
2026-06-18 09:38:44 -04:00
2fb6db9bd4 Remove unused auto badge visibility logic and introduce new badge rendering function for active sequences
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.
2026-06-18 09:33:26 -04:00
d0db73624e Enhance fxBibEpreuveDisplayName function to include inactive status and improve display logic
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.
2026-06-18 09:24:25 -04:00
b71d1c300b Implement overlap detection and detailed error messaging for bib sequences in AJAX responses
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.
2026-06-18 09:19:01 -04:00
bdb33801c9 Refactor button styles and enhance action group layout in event management interface
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.
2026-06-17 16:15:57 -04:00
7a3e9395e6 Enhance fxBibAideButton functionality and introduce segment helper functions
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.
2026-06-17 16:13:07 -04:00
8d78de304b Refactor localization handling in event management interface
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.
2026-06-17 16:08:03 -04:00