Browse Source
Properly query files
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
pull/18213/head
John Molakvoæ (skjnldsv)
6 years ago
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
6 changed files with
12 additions and
11 deletions
-
apps/files/appinfo/app.php
-
apps/files/js/dist/sidebar.js.map
-
apps/files/src/sidebar.js
-
apps/files_sharing/js/dist/files_sharing_tab.js
-
apps/files_sharing/js/dist/files_sharing_tab.js.map
-
apps/files_sharing/src/files_sharing_tab.js
|
|
|
@ -26,6 +26,9 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
use OC\Search\Provider\File; |
|
|
|
use OCA\Files\AppInfo\Application; |
|
|
|
|
|
|
|
$app = \OC::$server->query(Application::class); |
|
|
|
|
|
|
|
// required for translation purpose
|
|
|
|
// t('Files')
|
|
|
|
|
|
|
|
@ -31,11 +31,11 @@ Vue.use(VueClipboard) |
|
|
|
Vue.prototype.t = t |
|
|
|
|
|
|
|
window.addEventListener('DOMContentLoaded', () => { |
|
|
|
|
|
|
|
// Init Sidebar Service
|
|
|
|
if (!window.OCA.Files) { |
|
|
|
window.OCA.Files = {} |
|
|
|
} |
|
|
|
|
|
|
|
Object.assign(window.OCA.Files, { Sidebar: new Sidebar() }) |
|
|
|
Object.assign(window.OCA.Files.Sidebar, { Tab }) |
|
|
|
|
|
|
|
|
|
|
|
@ -1096,5 +1096,5 @@ var kt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new Typ |
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
* |
|
|
|
*/ |
|
|
|
window.OCA&&window.OCA.Sharing&&Object.assign(window.OCA.Sharing,{ShareSearch:new wt}),window.OCA&&window.OCA.Sharing&&Object.assign(window.OCA.Sharing,{ExternalLinkActions:new Mt}),Object.assign(window.OCA.Sharing,{ShareTabSections:new kt}),window.addEventListener("DOMContentLoaded",(function(){OCA.Files&&OCA.Files.Sidebar&&OCA.Files.Sidebar.registerTab(new OCA.Files.Sidebar.Tab("sharing",gt))}))}]); |
|
|
|
window.OCA.Sharing||(window.OCA.Sharing={}),Object.assign(window.OCA.Sharing,{ShareSearch:new wt}),Object.assign(window.OCA.Sharing,{ExternalLinkActions:new Mt}),Object.assign(window.OCA.Sharing,{ShareTabSections:new kt}),window.addEventListener("DOMContentLoaded",(function(){OCA.Files&&OCA.Files.Sidebar&&OCA.Files.Sidebar.registerTab(new OCA.Files.Sidebar.Tab("sharing",gt))}))}]); |
|
|
|
//# sourceMappingURL=files_sharing_tab.js.map
|
|
|
|
@ -26,14 +26,12 @@ import ExternalLinkActions from './services/ExternalLinkActions' |
|
|
|
|
|
|
|
import TabSections from './services/TabSections' |
|
|
|
|
|
|
|
if (window.OCA && window.OCA.Sharing) { |
|
|
|
Object.assign(window.OCA.Sharing, { ShareSearch: new ShareSearch() }) |
|
|
|
// Init Sharing Tab Service
|
|
|
|
if (!window.OCA.Sharing) { |
|
|
|
window.OCA.Sharing = {} |
|
|
|
} |
|
|
|
|
|
|
|
if (window.OCA && window.OCA.Sharing) { |
|
|
|
Object.assign(window.OCA.Sharing, { ExternalLinkActions: new ExternalLinkActions() }) |
|
|
|
} |
|
|
|
|
|
|
|
Object.assign(window.OCA.Sharing, { ShareSearch: new ShareSearch() }) |
|
|
|
Object.assign(window.OCA.Sharing, { ExternalLinkActions: new ExternalLinkActions() }) |
|
|
|
Object.assign(window.OCA.Sharing, { ShareTabSections: new TabSections() }) |
|
|
|
|
|
|
|
window.addEventListener('DOMContentLoaded', () => { |
|
|
|
|