##// END OF EJS Templates
goto-switcher: optimized performance and query capabilities....
goto-switcher: optimized performance and query capabilities. - Previous implementation had on significant bug. The use of LIMIT 20 was limiting results BEFORE auth checks. In case of large ammount of similarly named repositories user didn't had access too, the result goto search was empty. This was becuase first 20 items fetched didn't pass permission checks and final auth list was empty. To fix this we now use proper filtering for auth using SQL. It means we first check user allowed repositories, and add this as a filter so end result from database is already to only the accessible repositories.

File last commit:

r883:ae526446 default
r2038:2bdf9d4d default
Show More
shared-components.html
9 lines | 626 B | text/html | HtmlLexer
/ rhodecode / public / js / src / components / shared-components.html
polymer: simplify shared components
r746 <!-- required for stamped out templates that might use common elements -->
frontend: wrap our legacy js code inside polymer element
r883 <link rel="import" href="rhodecode-legacy-js/rhodecode-legacy-js.html">
notifications: replace toggle button with actual toggle element - fixes #4171
r692 <link rel="import" href="../../../../../bower_components/iron-ajax/iron-ajax.html">
notifications: use rhodecode-toast for notifications instead of toastr jquery plugin
r699 <link rel="import" href="shared-styles.html">
frontend: introduce rhodecode-app for more complex cross element wiring
r787 <link rel="import" href="channelstream-connection/channelstream-connection.html">
components: reorganize build pipeline to have nice separation of html/js/css
r703 <link rel="import" href="rhodecode-toast/rhodecode-toast.html">
rhodecode-toggle: stub for new UI element
r715 <link rel="import" href="rhodecode-toggle/rhodecode-toggle.html">
components: reorganize build pipeline to have nice separation of html/js/css
r703 <link rel="import" href="rhodecode-unsafe-html/rhodecode-unsafe-html.html">
frontend: wrap our legacy js code inside polymer element
r883 <link rel="import" href="rhodecode-app/rhodecode-app.html">