Skip to content

Comments

Develop to Master for 26.02 release#1262

Closed
johnnyq wants to merge 128 commits intomasterfrom
develop
Closed

Develop to Master for 26.02 release#1262
johnnyq wants to merge 128 commits intomasterfrom
develop

Conversation

@johnnyq
Copy link
Collaborator

@johnnyq johnnyq commented Feb 6, 2026

Develop to Master for 26.02 release

johnnyq and others added 30 commits December 18, 2025 14:24
…ns, reduced url keys to 32 Characters for performance and easy copy and paste and compatibility while still mainitaining ubreakable cryptographic keys
…ut will not let them continue, also update some wording and button colors. Also dont show email password fields again after success and login as agent and client is shown.
…ting page. This will have a major query speed and memory optimization impact
…ory optimization. Add title for List View and Grid View
… a v2, delete old and rename once we're happy)
- Keep the selected view (kanban/list) when applying other filters
- Allow filtering tickets by project (main and kanban v2)
- Keep the selected view (kanban/list) when applying other filters
- Allow filtering tickets by project (main and kanban v2)
johnnyq and others added 21 commits February 4, 2026 11:11
…n role add nice blocker style radios buttons instead of select boxes
My bad, my changes were made previously using my installed version and not the latest changes in the dev branch, i have pulled the dev branch and merged my changes with the latest codebase.
My bad, my changes were made previously using my installed version and not the latest changes in the dev branch, i have pulled the dev branch and merged my changes with the latest codebase.
Rename multiple functions to conform to project naming rules (^[a-z][a-zA-Z0-9]*$). This is a non-functional refactor for style/CI compliance and consistency.
Removed two instances of unecessary double parentheses.
Defined a constant $settings_mail_path at the top of the file instead of duplicating "/admin/settings_mail.php" in the code multiple times.
Define a constant "MICROSOFT_OAUTH_BASE_URL" instead of duplicating "https://login.microsoftonline.com/" multiple times in the same file.
Remove duplicates of https://login.microsoftonline.com/ and make them use a constant.
Accidentally comitted an older file.
Add full Microsoft 365 and Google OAuth mail support
@johnnyq johnnyq requested a review from wrongecho February 6, 2026 18:26
Comment on lines +15 to +21
$sql_merge = mysqli_query($mysqli, "SELECT * FROM tickets
LEFT JOIN ticket_statuses ON ticket_status = ticket_status_id
LEFT JOIN clients ON client_id = ticket_client_id
WHERE ticket_closed_at IS NULL
$whereNotIn
ORDER BY ticket_status ASC, ticket_id DESC"
);

Check failure

Code scanning / SonarCloud

Database queries should not be vulnerable to injection attacks

<!--SONAR_ISSUE_KEY:AZw0NenjPzpS7TtNukhp-->Change this code to not construct SQL queries directly from user-controlled data. <p>See more on <a href="https://sonarcloud.io/project/issues?id=itflow-org_itflow&issues=AZw0NenjPzpS7TtNukhp&open=AZw0NenjPzpS7TtNukhp&pullRequest=1262">SonarQube Cloud</a></p>

// Move document
mysqli_query($mysqli,"UPDATE documents SET document_folder_id = $folder_id WHERE document_id = $document_id");
mysqli_query($mysqli,"UPDATE documents SET document_folder_id = $folder_id, document_updated_at = document_updated_at WHERE document_id = $document_id");

Check failure

Code scanning / SonarCloud

Database queries should not be vulnerable to injection attacks

<!--SONAR_ISSUE_KEY:AZw0Ne0HPzpS7TtNukhx-->Change this code to not construct SQL queries directly from user-controlled data. <p>See more on <a href="https://sonarcloud.io/project/issues?id=itflow-org_itflow&issues=AZw0Ne0HPzpS7TtNukhx&open=AZw0Ne0HPzpS7TtNukhx&pullRequest=1262">SonarQube Cloud</a></p>
Copy link
Collaborator

@wrongecho wrongecho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oauth code has reverted other changes.

@johnnyq
Copy link
Collaborator Author

johnnyq commented Feb 7, 2026

Cancelling to investigate code overlaps from the oauth2 merge

@johnnyq johnnyq closed this Feb 7, 2026
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 7, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
E Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants