Commit Graph

265 Commits

Author SHA1 Message Date
0b39f08ec7 Update .htaccess for improved routing and PHP handler configuration
This commit modifies the .htaccess file to implement a redirect for non-www domains to www for production clients, while ensuring compatibility with development environments. It also refines the routing rules for CI4 and legacy routes, and adds a PHP handler configuration for version 8.1, enhancing server-side processing capabilities.
2026-06-23 11:44:52 -04:00
100accfe34 Remove unused 'variables' table definition from static synchronization configuration 2026-06-23 10:10:06 -04:00
b3b24b08c4 Refactor database connection settings and introduce profile management functions
This commit adds structured database connection profiles for client and CRM environments, enhancing the management of database connections in different environments (preprod and prod). It introduces new functions, `fxSettingsUseDbProfiles` and `fxSettingsUseCrmProfile`, to streamline the assignment of connection parameters, improving code maintainability and readability. Additionally, it removes hardcoded connection details from the main logic, promoting a more dynamic configuration approach.
2026-06-23 10:08:10 -04:00
74da043805 Remove unused static synchronization table definitions from configuration 2026-06-23 09:39:17 -04:00
8eda3d40c3 Refactor static database synchronization configuration and connection handling
This commit updates the static database synchronization logic by removing hardcoded connection details from the `fxStaticSyncClientDatabaseConfigs` function. It now relies on configurations defined in `inc_settings.php` for client connections. The `fxStaticSyncEnvironmentDefinitions` and `fxStaticSyncOpenConnections` functions are modified to utilize these new configurations, enhancing flexibility and maintainability in managing database connections for different environments.
2026-06-23 09:37:49 -04:00
d74d06a3b0 Enhance static database connection handling and synchronization logic
This commit updates the `fxStaticSyncClientDatabaseConfigs` function to return detailed database connection configurations for both preprod and prod clients. It introduces a new class, `clsMysqlStaticSync`, to manage MySQL connections with a short timeout, improving connection handling. The `fxStaticSyncConnect` function is refined to utilize this new class, and the synchronization UI is updated to reflect the new client configurations. These changes streamline database interactions and enhance the overall synchronization process.
2026-06-23 09:20:28 -04:00
1797e0c91e Refactor static database connection handling and update synchronization functions
This commit removes hardcoded database connection details from the `fxStaticSyncClientDatabaseConfigs` function, returning an empty array instead. It also refines the `fxStaticSyncConnect` function to utilize `mysqli_init` for improved connection management and introduces a new `fxStaticSyncOpenConnections` function to reuse existing connections. Additionally, the script execution time limit is increased in `sync_static_db.php` to accommodate longer operations.
2026-06-23 09:17:25 -04:00
a23f492621 Refactor static database synchronization access and update UI elements
This commit enhances the static database synchronization feature by refining the `fxSuperadmStaticSyncAllowed` function to improve access control. The UI is updated to conditionally display synchronization options in both the header and sidebar, ensuring that only authorized users can access these tools. This change streamlines the user experience while maintaining security in the admin interface.
2026-06-23 09:12:20 -04:00
02384d3404 Remove unused bib input focus handling in mobile registration and increment version code to 4.72.699 2026-06-22 15:45:11 -04:00
547390286b Enhance mobile registration feedback and fallback text handling
This commit improves the mobile registration module by refining the feedback messages displayed during the bib scanning process. It introduces additional conditions for fallback text to ensure users receive appropriate guidance based on their input. The version code is incremented to 4.72.698 to reflect these updates.
2026-06-22 15:43:48 -04:00
596f3a55c1 Enhance mobile registration UI and functionality for QR and bib scanning
This commit introduces improvements to the mobile registration module by adding a new parameter for QR scanning and enhancing the UI for bib input sections. It includes new functions for rendering collapsible sections in the mobile interface, improving user interaction and accessibility. The CSS is updated to accommodate new styles and layout adjustments, ensuring a better user experience. The version code is incremented to 4.72.697 to reflect these changes.
2026-06-22 15:42:22 -04:00
30b17be43e Refactor mobile bib scanning functionality and enhance UI feedback
This commit refines the mobile bib scanning process by introducing a new capture element and updating the UI to provide clearer feedback during scanning. It removes the unused OCR interval and enhances the event handling for capture actions. Additionally, new messages are added for user guidance, and the version code is incremented to 4.72.696 to reflect these changes. The SQL file is updated to include new translation keys for improved user instructions.
2026-06-22 15:12:34 -04:00
adcb663925 Enhance OCR functionality and UI feedback for mobile registration
This commit improves the Optical Character Recognition (OCR) process in the mobile registration module by introducing a global OCR worker for better management and performance. It updates the UI to include a new loading message during the initialization phase and refines the scanning process. The version code is incremented to 4.72.695 to reflect these enhancements. Additionally, the SQL file is updated to include the new loading message in multiple languages.
2026-06-22 15:07:01 -04:00
e8883cfbf8 Refactor mobile registration QR scanning and update UI elements
This commit streamlines the mobile registration module by removing unused QR mode functionalities and updating the UI for the bib scanning process. It introduces new feedback messages and adjusts the layout for improved user experience. The version code is updated to 4.72.694 to reflect these changes. Additionally, the SQL file is modified to align with the new bib scan terminology.
2026-06-22 15:02:54 -04:00
fd469bdc22 Enhance mobile registration with OCR for dossier scanning and update UI elements
This commit introduces Optical Character Recognition (OCR) functionality for scanning dossier numbers in the mobile registration module. New functions are added to manage the OCR process, including starting and stopping the camera, and updating the UI with relevant feedback messages. Additionally, the version code is updated to 4.72.693 to reflect these enhancements. Unused SQL files related to previous QR code modes have been removed to streamline the codebase.
2026-06-22 14:56:54 -04:00
22534b4cbf Implement OCR functionality for dossier scanning in mobile registration
This commit enhances the mobile registration module by introducing Optical Character Recognition (OCR) capabilities for scanning dossier numbers. New functions are added to manage the OCR process, including preloading the OCR worker, starting and stopping the OCR loop, and updating the UI with scanning status messages. Additionally, the UI is improved with new elements for photo input and feedback messages. The version code is updated to 4.72.692 to reflect these changes.
2026-06-22 14:50:34 -04:00
b5c979058f Enhance QR code scanning functionality and UI for mobile registration
This commit introduces significant updates to the QR code scanning feature in the mobile registration module. It adds new functions for managing QR modes (participant and dossier), improving user interaction with the QR scanner. The UI is enhanced with new elements for mode selection and feedback messages, ensuring a clearer user experience. Additionally, the version code is updated to 4.72.691 to reflect these changes.
2026-06-22 14:36:57 -04:00
6e751b552f Refactor static sync access control and update UI elements
This commit replaces the `fxAdminStaticSyncAllowed` function with `fxSuperadmStaticSyncAllowed` to streamline access control for static database synchronization tools. The UI is updated accordingly to reflect this change, ensuring that only authorized users in development and pre-production environments can access these tools. This enhancement improves the overall user experience and maintains security in the admin interface.
2026-06-22 14:10:24 -04:00
3e3a0f1de7 Add static sync functionality and update UI for development tools
This commit introduces the `fxAdminStaticSyncAllowed` function to control access to static database synchronization tools, ensuring only authorized users in development and pre-production environments can access them. The UI is updated to display a new section for these tools in the admin interface, enhancing the overall user experience and access management for development tasks. Additionally, the `.gitignore` file is updated to exclude the `/output/` directory from version control.
2026-06-22 14:08:16 -04:00
87783ad99c Add reactivation functions for event access and update UI for revoked permissions
This commit introduces new functions `fxEveAccesReactivate` and `fxEveAccesReactivateExtra` to handle the reactivation of revoked event access and extra permissions. It also enhances the UI to display a history of revoked permissions, allowing users to reactivate them easily. Additionally, the logic for checking active access has been streamlined, improving overall user experience and access management.
2026-06-19 19:46:45 -04:00
f881b42f7f Update text editing access control and enhance environment checks
This commit modifies the `fxAdminIsDevPreprod` function to improve environment validation for text editing tools, ensuring access is restricted to the appropriate development and pre-production environments. Additionally, it introduces a 403 Forbidden response in `traduction.php` for unauthorized access attempts, enhancing security and user feedback.
2026-06-19 14:37:08 -04:00
d118f5bce7 Add error handling for missing bib assignments and enhance anomaly reporting
This commit introduces new functions to manage errors related to missing bib assignments, specifically for the 'bib_auto_miss' type. It includes logic to resolve open errors when a bib is manually assigned and adds a new function to retrieve and display anomalies for registrations without assigned bibs. Additionally, the UI is updated to provide users with actionable links for resolving these anomalies, improving overall user experience and error management.
2026-06-19 13:39:39 -04:00
c12cca2de9 Enhance mobile registration search functionality and update version code
This commit introduces new functions for resetting search parameters and building search reset URLs in the mobile registration module. It improves the search logic by allowing for more flexible filtering options, including updates to the SQL query conditions for team names and order numbers. Additionally, the version code is incremented to 4.72.690 to reflect these changes.
2026-06-19 13:35:23 -04:00
9c290a66ca Update mobile registration access functions and enhance event permission checks
This commit modifies the mobile registration access logic to utilize the new `fxEveAccesHasInscrMobileWebAccess` function, improving permission handling for mobile event registrations. Additionally, it updates the `fxInscrMobileGetPromoteurEveIds` and `fxInscrMobileCanAccess` functions to streamline access checks. New functions for retrieving event IDs with mobile access permissions are introduced, enhancing overall access control and user experience.
2026-06-19 13:31:00 -04:00
5d99fef4ed Refactor event access functions and streamline mobile registration logic
This commit updates the `fxEveAccesCanQrTest` function to clarify permission handling for QR testing. It also simplifies the `fxInscrMobileCanScan` function by directly returning the permission check result. Additionally, redundant code related to rendering mobile registration fields is removed, enhancing the overall efficiency and readability of the mobile registration logic.
2026-06-19 13:26:49 -04:00
9310c12536 Add event access management functions and enhance mobile permissions
This commit introduces several new functions for managing event access, including `fxEveAccesComHasV2ForEvent`, `fxEveAccesGrantExtra`, and `fxEveAccesRevokeExtra`, which facilitate the granting and revocation of permissions for events. Additionally, the mobile registration logic is updated with the new `fxInscrMobileCanDo` function to streamline permission checks for various actions. These enhancements improve the overall access control and user experience across the application.
2026-06-19 13:20:52 -04:00
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