Commit Graph

265 Commits

Author SHA1 Message Date
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
b64cee25d6 Refactor visibility logic for reset actions in footer scripts; improve user interaction in mobile registration
This commit updates the visibility logic for the reset action group in the mobile registration interface. The new implementation consolidates conditions into a single variable, enhancing readability and maintainability. This change aims to improve user interaction by ensuring the correct display of reset options based on the current state of the registration process.
2026-06-19 08:54:47 -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
514fae950c Update SQL query in inc_manager.php to include participant status; enhance data retrieval for mobile registration 2026-06-18 16:31:45 -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
9c105565d1 Implement localization for JavaScript messages in the event management interface
This commit introduces a new function to inject data attributes for JavaScript localization in the #module-bib element. It also updates various text strings used in the interface to utilize localized messages, enhancing user experience by providing contextually relevant feedback in both French and English. Additionally, a new SQL script is added to populate the database with these localized strings, ensuring they are available for dynamic use. No version code change is included in this update.
2026-06-17 15:54:35 -04:00
69f360eae8 Implement dynamic language handling and improve error messaging in AJAX responses
This commit enhances the AJAX functionality by introducing a new language handling mechanism, allowing for dynamic language selection based on user input. Additionally, error messages throughout the AJAX responses have been updated to utilize the new fxBibMsg function for better localization and clarity. This improves user experience by providing contextually relevant messages in the selected language. No version code change is included in this update.
2026-06-17 15:49:47 -04:00
5e31ea1129 Enhance tooltip functionality in event management interface with new fxBibAideTippyAttr function
This commit introduces the fxBibAideTippyAttr function to provide dynamic tooltips for buttons in the event management interface. The function retrieves contextual help text, improving user experience by offering additional information on hover. Updates to button elements ensure tooltips are displayed where relevant, enhancing clarity and usability. No version code change is included in this update.
2026-06-17 15:45:51 -04:00
8a13fbfc0d Update event management interface for improved localization and error handling
This commit enhances the event management interface by replacing static text with localized strings using the fxBibTexte function. Changes include updates to button labels, error messages, and section headers to ensure better language support and clarity for users. No version code change is included in this update.
2026-06-17 15:41:17 -04:00
5e64d0ecf6 Refactor team mode labels and improve language handling in event management interface
This commit updates the team mode option labels to utilize the fxBibTexte function for better localization support. The changes enhance the clarity of the interface by ensuring that the labels are dynamically generated based on the selected language. No version code change is included in this update.
2026-06-17 15:37:38 -04:00
3b8c867c72 Fix URL formatting in event management navigation link for better readability 2026-06-17 15:11:15 -04:00
e55d30d61b Enhance event management interface with new quantity input feature and update version code to 4.72.657
This commit introduces a new compact quantity input feature for managing event quantities, improving user interaction. Additionally, CSS styles have been refined for better layout consistency across the interface. The version code has been incremented to reflect these updates.
2026-06-17 15:01:05 -04:00
57bceba425 Remove diagnostic script and update version code to 4.72.656
This commit deletes the temporary diagnostic script used for troubleshooting includes and connections, as it is no longer needed. Additionally, the version code has been incremented to reflect this change.
2026-06-17 14:56:19 -04:00
04925de3dc Refactor CSS layout for identity blocks and update version code to 4.72.655
This commit enhances the CSS styles for the event management interface, specifically refining the layout of identity blocks with improved grid settings, padding, and border styles. Additionally, the version code has been incremented to reflect these updates.
2026-06-17 14:51:03 -04:00
8fa390a5e6 Update CSS styles for improved layout and increment version code to 4.72.654
This commit modifies the CSS styles to enhance the layout of the event management interface, including adjustments to flex properties and padding for better responsiveness. The version code has been updated to reflect these changes.
2026-06-17 14:46:07 -04:00
a26de022e2 Enhance event management interface with new identity header and summary features
This commit introduces new CSS styles and PHP functions to improve the event management interface. It adds a visually cohesive identity header for events, displaying relevant summaries such as team/individual status and registration counts. The version code has been incremented to 4.72.653 to reflect these updates.
2026-06-17 14:41:33 -04:00
05fd4d35ff Add new header summary features for event management interface
This commit introduces new CSS styles and PHP functions to enhance the event management interface with summary badges for available quantities and sequence counts. The collapsible blocks now display relevant summaries, improving user navigation and information visibility. The version code has been incremented to 4.72.652 to reflect these updates.
2026-06-17 14:35:58 -04:00
b44a100bad Add collapsible functionality for management blocks in event interface
This commit introduces a collapsible feature for the management blocks in the event interface, allowing users to expand or collapse sections for better navigation. New CSS styles have been added to support this functionality, and a button for toggling the visibility of the content has been implemented. The version code has been incremented to 4.72.651 to reflect these changes.
2026-06-17 14:32:49 -04:00
ff5533bee1 Add session handling for navigation context in waiting list management
This commit enhances the waiting list management functionality by preserving the original navigation context through session variables. It introduces logic to store and retrieve the 'from' parameter, ensuring users return to the correct page after actions. Additionally, the back navigation URL generation has been updated to utilize the new context-aware functions, improving user experience and code maintainability.
2026-06-17 14:27:09 -04:00
af07182682 Refactor back navigation URL handling in event management interface
This commit introduces a new function, fxGetPromoteurBackUrl, to streamline the generation of back navigation URLs based on the event ID and the 'from' parameter. The event management interface has been updated to utilize this function, improving code maintainability and enhancing user navigation experience. The changes ensure that the correct return URL is generated based on the context of the user's navigation.
2026-06-17 14:20:15 -04:00
3f04015669 Add conditional navigation item for managing event epreuves based on quantity modifiability
This commit introduces a new navigation item in the promoteur panel that appears only if the event's quantity is modifiable. The SQL query to check the modifiability has been added, and the corresponding UI element is displayed conditionally. Additionally, the icon for the existing management link has been updated for consistency. These changes enhance the user experience by providing relevant options based on event settings.
2026-06-17 14:16:27 -04:00
b773f767b7 Refactor event management interface by replacing V2 with new gestion epreuves functionality
This commit updates the event management interface by replacing the previous V2 implementation with a new gestion epreuves section. The associated PHP files have been modified to include the new functionality, and the old V2 files have been removed. CSS styles have been cleaned up to reflect these changes. The version code has been incremented to 4.72.650 to signify the updates made.
2026-06-17 14:13:08 -04:00
8f49173141 Add new functionality for managing event V2 in promoteur panel
This commit introduces a new section in the promoteur panel for managing event V2, including a dedicated function to display event details and readonly quantities. The UI has been updated with new CSS styles for better layout and presentation. Additionally, a new navigation item has been added for accessing the V2 management interface. The version code has been incremented to 4.72.649 to reflect these changes.
2026-06-17 14:03:58 -04:00
6e2f357f14 Update readonly notice text in event management panel for improved clarity and increment version code to 4.72.648 in inc_settings.php. 2026-06-17 13:38:19 -04:00
be68e4f21e Add MySQL connection diagnostics to diag.php
This commit introduces a new section in diag.php to test MySQL connections for different environments (Main, Prod, PreProd) and outputs the connection status along with error messages if applicable. Additionally, it removes the previous promoteur file check and enhances the overall diagnostic output for better clarity. This aims to improve troubleshooting capabilities for database connectivity issues.
2026-06-17 13:36:39 -04:00
d532b767fb Refactor event management panel to improve layout and enhance user experience with updated CSS styles and functionality. Increment version code to 4.72.648 to reflect these changes. 2026-06-17 13:32:00 -04:00
2c6bf1ad5c Implement event management panel with new readonly statistics and waiting list display
This commit introduces a new function to render the event management panel, showcasing readonly quantities and waiting list statistics. The associated CSS styles have been added to enhance the layout and presentation of the panel. The version code has been updated to 4.72.647 to reflect these changes, aiming to improve user experience in managing event parameters.
2026-06-17 13:21:23 -04:00