Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
/** @template-implements IEventListener<LoadSettingsScriptsEvent> */
class LoadAdditionalSettingsScriptsListener implements IEventListener {
public function handle(Event $event): void {
Util::addScript('core', 'files_fileinfo');
Util::addScript('core', 'files_client');
Util::addScript('core', 'systemtags');
Util::addScript(Application::APP_ID, 'workflowengine');
}
Expand Down
57 changes: 0 additions & 57 deletions build/frontend-legacy/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions build/frontend-legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"@vueuse/components": "^11.3.0",
"@vueuse/core": "^11.3.0",
"@vueuse/integrations": "^11.3.0",
"backbone": "^1.6.1",
"blurhash": "^2.0.5",
"browserslist-useragent-regexp": "^4.1.3",
"camelcase": "^9.0.0",
Expand All @@ -67,9 +66,6 @@
"focus-trap": "^7.6.5",
"handlebars": "^4.7.8",
"is-svg": "^6.1.0",
"jquery": "~3.7",
"jquery-ui": "1.14.1",
"jquery-ui-dist": "^1.13.3",
"libphonenumber-js": "^1.12.34",
"lodash": "^4.17.21",
"marked": "^17.0.1",
Expand All @@ -81,9 +77,6 @@
"pinia": "^2.3.1",
"query-string": "^9.3.1",
"regenerator-runtime": "^0.14.1",
"select2": "3.5.1",
"snap.js": "^2.0.9",
"strengthify": "github:nextcloud/strengthify#0.5.9",
"throttle-debounce": "^5.0.2",
"underscore": "1.13.7",
"url-search-params-polyfill": "^8.2.5",
Expand Down
6 changes: 0 additions & 6 deletions build/frontend-legacy/webpack.common.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,6 @@ const config = {
new NodePolyfillPlugin({
additionalAliases: ['process'],
}),
new webpack.ProvidePlugin({
// Provide jQuery to jquery plugins as some are loaded before $ is exposed globally.
// We need to provide the path to node_moduels as otherwise npm link will fail due
// to tribute.js checking for jQuery in @nextcloud/vue
jQuery: require.resolve('jquery'),
}),

new WorkboxPlugin.GenerateSW({
swDest: 'preview-service-worker.js',
Expand Down
2 changes: 0 additions & 2 deletions build/frontend-legacy/webpack.modules.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ module.exports = {
},
core: {
'ajax-cron': path.join(__dirname, 'core/src', 'ajax-cron.ts'),
files_client: path.join(__dirname, 'core/src', 'files/client.js'),
files_fileinfo: path.join(__dirname, 'core/src', 'files/fileinfo.js'),
install: path.join(__dirname, 'core/src', 'install.ts'),
login: path.join(__dirname, 'core/src', 'login.js'),
login_flow: path.join(__dirname, 'core/src', 'login-flow.ts'),
Expand Down
3 changes: 0 additions & 3 deletions core/Listener/BeforeTemplateRenderedListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ public function handle(Event $event): void {

if ($event->getResponse()->getRenderAs() !== TemplateResponse::RENDER_AS_ERROR) {
Util::addScript('core', 'merged-template-prepend', 'core', true);
Util::addScript('core', 'files_client', 'core', true);
Util::addScript('core', 'files_fileinfo', 'core', true);


// If installed and background job is set to ajax, add dedicated script
if ($this->appConfig->getValueString('core', 'backgroundjobs_mode', 'ajax') === 'ajax') {
Expand Down
2 changes: 1 addition & 1 deletion core/css/apps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ $min-content-width: variables.$breakpoint-mobile - variables.$navigation-width -
background: var(--color-main-background);
border-inline-start: 1px solid var(--color-border);
flex-shrink: 0;
// no animations possible, use OC.Apps.showAppSidebar
// no animations possible
&.disappear {
display: none;
}
Expand Down
78 changes: 0 additions & 78 deletions core/css/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,84 +122,6 @@
flex-shrink: 1;
// Add some spacing so the last entry looks ok
margin-inline-end: calc(3 * var(--default-grid-baseline));

// legacy JQuery header menus
// TODO: we already migrated our own code and deprecated it - can be removed together with global jQuery
> div,
> form {
height: 100%;
position: relative;
> .menutoggle {
display: flex;
justify-content: center;
align-items: center;
width: var(--header-height);
height: var(--header-menu-item-height);
cursor: pointer;
opacity: 0.85;
padding: 0;
margin: 2px 0;

&:focus {
opacity: 1;
}

&:focus-visible {
outline: none;
}
}

> .menu {
background-color: var(--color-main-background);
filter: drop-shadow(0 1px 5px var(--color-box-shadow));
border-radius: var(--border-radius-large);
box-sizing: border-box;
z-index: 2000;
position: absolute;
max-width: 350px;
@include header-menu-height();
inset-inline-end: 8px; // relative to parent
top: var(--header-height);
margin: 0;
overflow-y: auto;

&:not(.popovermenu) {
display: none;
}

/* Dropdown arrow */
&:after {
border: 10px solid transparent;
border-bottom-color: var(--color-main-background);
bottom: 100%;
content: ' ';
height: 0;
width: 0;
position: absolute;
pointer-events: none;
inset-inline-end: 10px;
}

& > div,
& > ul {
-webkit-overflow-scrolling: touch;
@include header-menu-height();
}
}

.emptycontent {
h2 {
font-weight: normal;
font-size: 16px;
}
[class^='icon-'],
[class*='icon-'] {
background-size: 48px;
height: 48px;
width: 48px;
}
}
}
}

// Public layout related headers
Expand Down
Loading
Loading