This commit introduces a new function, `fxSuperadmRedirectToLoginIfNeeded`, to streamline the login redirection process for superadmin users. It enhances session management by checking for user authentication and allowing legacy account access under specific conditions. Additionally, the login flow is updated to ensure users are redirected appropriately after login, improving the overall security and user experience in the superadmin interface. These changes aim to enhance maintainability and clarity in session handling across various superadmin pages.
This commit updates the promoteur hub functionality by introducing a new function, `fxPromoteurHubIsAvailable`, to streamline the logic for determining hub access. The existing `fxPromoteurHubShouldUse` function is modified to incorporate this new check, improving clarity and maintainability. Additionally, comments are added to clarify session handling in the `fxLoginCompte` function, ensuring better understanding of public login behavior. These changes aim to enhance the robustness of the promoteur hub interface and improve code readability.
This commit updates the authentication process in `index.php` and `rapport_new.php` by introducing new functions for checking user permissions, specifically `fxSuperadmIsLoggedIn` and `fxSuperadmReportsAllowed`. The session handling is simplified, removing redundant checks and enhancing clarity. Additionally, the memory limit setting in `rapport_new.php` is adjusted for consistency. These changes aim to improve the security and maintainability of the superadmin interface.
This commit introduces a new variable for sidebar static synchronization based on the HTTP_HOST, enhancing the conditions under which static database synchronization is allowed. Additionally, the documentation for the sync function is updated to reflect alignment with the new logic, improving clarity on its operational context. These changes aim to streamline the synchronization process and enhance the overall functionality of the superadmin interface.
This commit introduces new features for handling orphan entries within the ChronoTrack API. It adds a new endpoint for syncing orphan entries, enhancing the ability to identify and manage entries that are present in the system but not eligible for transfer. The user interface is updated to include a dedicated section for displaying orphan entries, improving clarity and user interaction. Additionally, the synchronization logic is refined to compute and report orphan entries effectively, aiming to enhance overall data management and user experience in the API.
This commit introduces a new UI structure for the superadmin interface by implementing the fxSuperadmV2Panel functions, which improve the organization and presentation of event access and ChronoTrack API sections. The changes include the addition of collapsible panels for better user interaction and visual clarity. Additionally, the versioning in the settings file is updated to reflect the latest changes. These enhancements aim to streamline the user experience and improve the overall functionality of the superadmin interface.
This commit improves session management within the superadmin interface by introducing a new session validation function that ensures active sessions are maintained and provides JSON responses for session expiration. Additionally, the session timeout duration is standardized, and user feedback is enhanced with alerts for expired sessions. The codebase is streamlined by removing deprecated session handling logic, improving overall clarity and maintainability. These changes aim to enhance user experience and ensure robust session handling across the application.
This commit streamlines the entry management process within the ChronoTrack API by removing deprecated functions related to entry withdrawal and deletion. The admin interface is updated to eliminate unused actions, enhancing clarity and usability. Additionally, comments are refined to improve code readability. These changes aim to simplify the codebase and improve the overall user experience in managing entries.
This commit introduces new functions for managing entry withdrawal within the ChronoTrack API, including the ability to probe and withdraw entries based on their status. The admin interface is updated to include buttons for testing withdrawal actions, providing clearer user feedback. Additionally, the synchronization logic is enhanced to summarize entry statuses and handle batch withdrawals more effectively. These changes aim to improve the overall management of entries and enhance user experience in the API.
This commit improves the entry deletion process within the ChronoTrack API by introducing a new function to handle deletion attempts with context requirements. It also enhances session management by implementing a session validation function that provides JSON responses for session expiration, improving user feedback during AJAX calls. Additionally, the synchronization logic is updated to utilize the new deletion function, ensuring better error handling and reporting. These changes aim to streamline entry management and enhance the overall user experience within the API.
This commit introduces a new feature to wipe all entries from ChronoTrack Live for a specific event, including user confirmation prompts and error handling. Additionally, it enhances the participant synchronization process by refining the handling of entry data and improving the reporting of synchronization results. The admin interface is updated to include a new button for the wipe action, providing clearer user feedback and control over event data management. These changes aim to streamline the management of ChronoTrack entries and improve the overall user experience within the API.
This commit introduces a new 'sync_probe_push' action to the ChronoTrack API, allowing for the probing of participant data synchronization. It includes a new button in the admin interface for initiating probe pushes, along with improved error handling in the API response messages. Additionally, the batch size for synchronization is adjusted, and the entry payload building process is refined to include event IDs and registration choices, enhancing the overall synchronization capabilities and user experience.
This commit introduces new synchronization features to the ChronoTrack API, including the ability to preview and push participant data to ChronoTrack. A new push panel is added to the admin interface, allowing users to view eligible participants and initiate synchronization. Additionally, backend functions are implemented to handle synchronization requests, enhancing the overall data management capabilities of the API. These changes aim to streamline the process of updating participant information within the ChronoTrack system.
This commit introduces a new diagnostic feature in the ChronoTrack API, allowing users to run diagnostics on events and retrieve detailed reports. The functionality includes a new diagnostic panel in the admin interface, which displays API diagnostic results, including OAuth status and endpoint responses. Additionally, the backend is updated to handle diagnostic requests, ensuring comprehensive error handling and reporting. This enhancement aims to improve troubleshooting and support for event management within the ChronoTrack system.
This commit increments the version code to 4.72.726 and introduces structural improvements to the superadmin sidebar. The HTML layout is refined with the addition of a dedicated body section for the V2 panel, while CSS adjustments enhance padding, margins, and overall styling for a more cohesive user experience. These changes aim to improve accessibility and visual organization within the sidebar.
This commit updates the superadmin sidebar by restructuring the HTML layout and enhancing the CSS styles. The sidebar now features a dedicated legacy section and a new V2 panel with improved visual hierarchy and organization. Key changes include updated padding, margins, and background styles to create a cohesive and user-friendly interface. Additionally, the sidebar navigation has been refined for better accessibility and interaction.
This commit introduces a new V2 sidebar panel in the superadmin interface, featuring improved layout and organization for access management tools. The panel includes sections for production synchronization and legacy access controls, with updated styling for better user experience. Additionally, the CSS is enhanced to support the new sidebar design, ensuring a cohesive look and feel across the application.
This commit updates the event modification form to conditionally display the ChronoTrack API section with a toggle button for better user interaction. The rendering function is adjusted to improve layout and heading levels, ensuring a consistent and user-friendly experience. Additionally, the inline rendering logic is refined to enhance the overall integration of ChronoTrack features.
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.
This commit introduces a new section in the event modification form for configuring the MSIN API ChronoTrack. It includes a card layout with a title, description, and a button linking to the ChronoTrack configuration page. Additionally, a button is added in the sidebar for quick access to the ChronoTrack section, enhancing user navigation and integration of ChronoTrack features within the application.
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.
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.
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.
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.
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.
This commit introduces a new section for managing role assignments within the admin interface. It adds functionality to display active and historical assignments for roles, enhancing the user experience by allowing admins to view and filter assignments. Additionally, the sidebar is updated to include the new 'assignations' page, ensuring consistent navigation. The version code is updated to reflect these changes.
This commit introduces the ability to delete roles within the admin interface. It adds new functions to check if a role can be deleted based on active assignments and historical data. The UI is updated to include delete buttons with confirmation prompts, enhancing user interaction and management capabilities. The version code is updated to reflect these changes.
This commit enhances the sidebar menu item rendering by introducing a check for menu icons. If an icon is provided, it is displayed; otherwise, a default folder icon is shown. This improves the visual representation of menu items in the admin interface, ensuring a more consistent user experience. The version code is updated to reflect these changes.
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.
This commit updates the sidebar titles in the admin interface to use consistent heading levels and introduces new CSS styles for better visual hierarchy. The changes include the addition of classes for main titles and subtitles, enhancing the overall user experience and readability. The version code is updated to reflect these changes.
This commit enhances the sidebar navigation by consolidating sections for site management, access management, and documentation. It introduces a new help section for production deployment and streamlines the documentation links for better accessibility. Unused code related to module selection has been removed, improving maintainability. The version code is updated to reflect these changes.
This commit introduces a revamped sidebar navigation in the admin interface, adding new sections for site management, access management, and documentation. It improves user experience by providing clearer access to various functionalities, including a new hub for managing pages and modules. Additionally, the code structure is refined to ensure better organization and maintainability. The version code is updated to reflect these changes.
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.
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.
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.
This commit improves the handling of PayPal refunds by ensuring that no summary is displayed when there are no refunds available. The logic now checks for empty refund details before rendering the summary section, preventing unnecessary display of empty elements. This change enhances the clarity of the user interface by only showing relevant information, thereby improving the overall user experience in the registration management interface.
This commit enhances the handling of PayPal refunds by refining the logic for retrieving currency and identifiers. It introduces new utility functions, `strFirst` and `floatFirst`, to ensure that fallback values are correctly utilized when the refunds section is empty or when API reporting fails. This change improves the robustness of the refund summary display, ensuring accurate information is presented to users.
This commit introduces a new function, `renderPayPalRefundSummaryHtml`, to provide a concise overview of PayPal refunds within the registration management interface. The summary displays essential information such as status, captured amount, total refunded, and remaining balance, enhancing the user experience by presenting key details in a more accessible format. Additionally, the existing code is updated to utilize this new summary function, improving the overall clarity and usability of transaction information.
This commit introduces a new refund feature in the mobile event management system. It includes an AJAX-based refund form that allows users to request refunds directly from the event management interface. The refund button is conditionally displayed based on user permissions, and the form is dynamically loaded to enhance user experience. Additionally, the refund processing logic is integrated with existing PayPal functions to ensure seamless transaction handling. This update improves the overall usability and functionality of the event management system.
This commit refactors the access control logic to replace references to 'inscriptions_mobile' with 'inscriptions_gestion', aligning the permission structure with the new management system. Changes include updates to SQL scripts, PHP functions, and documentation comments to ensure consistency in permission handling for event management. This enhances clarity and maintains the integrity of the access control system.
This commit updates the SQL query in `ajax_newpromoteur.php` to prioritize matches based on event IDs when searching for events. It introduces a new integer conversion for the search query to facilitate this matching. Additionally, the event name display in `inc_footer.php` is modified to include the event ID for better user context. These changes aim to improve the event search experience in the promoteur hub.
This commit improves the event access management interface by updating the table structure to include hover effects and a dark header for better visibility. It refines the display of role information, including icons and labels, and adjusts the layout for permissions, assignments, and status indicators to enhance clarity and usability. These changes aim to provide a more intuitive experience for managing event access.
This commit introduces a new email search feature in the event access management interface, allowing users to find accounts by email for access assignment. It updates the `fxEveAccesCompteAdminUrl` function to include an optional event focus parameter, improving URL handling. Additionally, the AJAX endpoint is modified to return user names along with emails, enhancing the data available for selection. These changes aim to streamline the process of assigning event access and improve overall usability.
This commit introduces new functions for managing event access, including `fxEveAccesCompteAdminUrl` and `fxEveAccesEventFormGroupByCom`, which group active kits and extras by event ID. Additionally, it integrates the event access panel into the admin interface, enhancing the user experience with a structured display of access assignments and improved navigation for managing event permissions.
This commit enhances the event access management interface by updating the layout and improving the usability of form elements. It introduces a clearer display of event access assignments and refines the logic for handling active kits. Additionally, it conditionally displays the legacy promoter section based on the current context, ensuring a smoother transition towards the new access management system.