[jira] [Work logged] (KNOX-3025) Use newer browser features in knoxauth.js + Removal of used variables
[ https://issues.apache.org/jira/browse/KNOX-3025?focusedWorklogId=913124=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-913124 ] ASF GitHub Bot logged work on KNOX-3025: Author: ASF GitHub Bot Created on: 05/Apr/24 02:08 Start Date: 05/Apr/24 02:08 Worklog Time Spent: 10m Work Description: RedYetiDev closed pull request #892: KNOX-3025 - Optimize knoxauth.js URL: https://github.com/apache/knox/pull/892 Issue Time Tracking --- Worklog Id: (was: 913124) Time Spent: 20m (was: 10m) > Use newer browser features in knoxauth.js + Removal of used variables > - > > Key: KNOX-3025 > URL: https://issues.apache.org/jira/browse/KNOX-3025 > Project: Apache Knox > Issue Type: Improvement >Reporter: Aviv Keller >Priority: Minor > Time Spent: 20m > Remaining Estimate: 0h > > The knoxauth.js file currently utilizes outdated and inefficient browser > features. It could be optimized by leveraging newer, more efficient > alternatives. > Details: > - Rename the 'get' function to 'getQueryParam' and implement it using > URLSearchParams for clarity and efficiency. > - Update the 'isSameOrigin' function to utilize URL instead of > document.create("a") for improved performance. > - Fully rely on window.location.replace for redirect operations to enhance > efficiency and reliability. > - Implement newer techniques in the 'login' function to achieve the desired > outcome more efficiently. > - Replace jQuery usage with native features to improve speed and reduce > complexity in the codebase. > - And more > [https://github.com/apache/knox/pull/892/] -- This message was sent by Atlassian Jira (v8.20.10#820010)
Re: [PR] KNOX-3025 - Optimize knoxauth.js [knox]
RedYetiDev closed pull request #892: KNOX-3025 - Optimize knoxauth.js URL: https://github.com/apache/knox/pull/892 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org