mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
parent
085aab24ff
commit
b6facb8701
24 changed files with 50 additions and 76 deletions
|
|
@ -765,6 +765,7 @@ describe('Core base tests', function() {
|
|||
OC.currentUser = 'dummy';
|
||||
clock = sinon.useFakeTimers();
|
||||
reloadStub = sinon.stub(OC, 'reload');
|
||||
document.head.dataset.user = 'dummy'
|
||||
notificationStub = sinon.stub(OC.Notification, 'show');
|
||||
// unstub the error processing method
|
||||
ajaxErrorStub = OC._processAjaxError;
|
||||
|
|
@ -778,47 +779,6 @@ describe('Core base tests', function() {
|
|||
clock.restore();
|
||||
});
|
||||
|
||||
it('reloads current page in case of auth error', function() {
|
||||
var dataProvider = [
|
||||
[200, false],
|
||||
[400, false],
|
||||
[0, false],
|
||||
[401, true],
|
||||
[302, true],
|
||||
[303, true],
|
||||
[307, true]
|
||||
];
|
||||
|
||||
for (var i = 0; i < dataProvider.length; i++) {
|
||||
var xhr = { status: dataProvider[i][0] };
|
||||
var expectedCall = dataProvider[i][1];
|
||||
|
||||
reloadStub.reset();
|
||||
OC._reloadCalled = false;
|
||||
|
||||
$(document).trigger(new $.Event('ajaxError'), xhr);
|
||||
|
||||
// trigger timers
|
||||
clock.tick(waitTimeMs);
|
||||
|
||||
if (expectedCall) {
|
||||
expect(reloadStub.calledOnce).toEqual(true);
|
||||
} else {
|
||||
expect(reloadStub.notCalled).toEqual(true);
|
||||
}
|
||||
}
|
||||
});
|
||||
it('reload only called once in case of auth error', function() {
|
||||
var xhr = { status: 401 };
|
||||
|
||||
$(document).trigger(new $.Event('ajaxError'), xhr);
|
||||
$(document).trigger(new $.Event('ajaxError'), xhr);
|
||||
|
||||
// trigger timers
|
||||
clock.tick(waitTimeMs);
|
||||
|
||||
expect(reloadStub.calledOnce).toEqual(true);
|
||||
});
|
||||
it('does not reload the page if the user was navigating away', function() {
|
||||
var xhr = { status: 0 };
|
||||
OC._userIsNavigatingAway = true;
|
||||
|
|
@ -829,16 +789,7 @@ describe('Core base tests', function() {
|
|||
clock.tick(waitTimeMs);
|
||||
expect(reloadStub.notCalled).toEqual(true);
|
||||
});
|
||||
it('displays notification', function() {
|
||||
var xhr = { status: 401 };
|
||||
|
||||
notificationUpdateStub = sinon.stub(OC.Notification, 'showUpdate');
|
||||
|
||||
$(document).trigger(new $.Event('ajaxError'), xhr);
|
||||
|
||||
clock.tick(waitTimeMs);
|
||||
expect(notificationUpdateStub.notCalled).toEqual(false);
|
||||
});
|
||||
it('shows a temporary notification if the connection is lost', function() {
|
||||
var xhr = { status: 0 };
|
||||
spyOn(OC, '_ajaxConnectionLostHandler');
|
||||
|
|
|
|||
2
dist/323-323.js
vendored
Normal file
2
dist/323-323.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -36,6 +36,7 @@ SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
|||
SPDX-FileCopyrightText: Jerry Bendy <jerry@icewingcc.com>
|
||||
SPDX-FileCopyrightText: Jeff Sagal <sagalbot@gmail.com>
|
||||
SPDX-FileCopyrightText: Jacob Clevenger<https://github.com/wheatjs>
|
||||
SPDX-FileCopyrightText: Iskren Ivov Chernev <iskren.chernev@gmail.com> (https://github.com/ichernev)
|
||||
SPDX-FileCopyrightText: Hypercontext
|
||||
SPDX-FileCopyrightText: Guillaume Chau <guillaume.b.chau@gmail.com>
|
||||
SPDX-FileCopyrightText: GitHub Inc.
|
||||
|
|
@ -44,6 +45,7 @@ SPDX-FileCopyrightText: Evan You
|
|||
SPDX-FileCopyrightText: Eugene Sharygin <eush77@gmail.com>
|
||||
SPDX-FileCopyrightText: Eric Norris (https://github.com/ericnorris)
|
||||
SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 <mario@cure53.de> (https://cure53.de/)
|
||||
SPDX-FileCopyrightText: Denis Pushkarev
|
||||
SPDX-FileCopyrightText: David Clark
|
||||
SPDX-FileCopyrightText: Christoph Wurst <christoph@winzerhof-wurst.at>
|
||||
SPDX-FileCopyrightText: Christoph Wurst
|
||||
|
|
@ -98,6 +100,12 @@ This file is generated from multiple sources. Included packages:
|
|||
- @nextcloud/logger
|
||||
- version: 3.0.2
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/router
|
||||
- version: 2.2.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/moment
|
||||
- version: 1.3.1
|
||||
- license: GPL-3.0-or-later
|
||||
- @nextcloud/paths
|
||||
- version: 2.2.1
|
||||
- license: GPL-3.0-or-later
|
||||
|
|
@ -146,6 +154,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- console-browserify
|
||||
- version: 1.2.0
|
||||
- license: MIT
|
||||
- core-js
|
||||
- version: 3.38.1
|
||||
- license: MIT
|
||||
- crypt
|
||||
- version: 0.0.2
|
||||
- license: BSD-3-Clause
|
||||
|
|
@ -245,6 +256,9 @@ This file is generated from multiple sources. Included packages:
|
|||
- md5
|
||||
- version: 2.3.0
|
||||
- license: BSD-3-Clause
|
||||
- moment
|
||||
- version: 2.30.1
|
||||
- license: MIT
|
||||
- nextcloud-vue-collections
|
||||
- version: 0.13.0
|
||||
- license: AGPL-3.0-or-later
|
||||
1
dist/323-323.js.map
vendored
Normal file
1
dist/323-323.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/323-323.js.map.license
vendored
Symbolic link
1
dist/323-323.js.map.license
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
323-323.js.license
|
||||
2
dist/6794-6794.js
vendored
2
dist/6794-6794.js
vendored
File diff suppressed because one or more lines are too long
1
dist/6794-6794.js.map
vendored
1
dist/6794-6794.js.map
vendored
File diff suppressed because one or more lines are too long
1
dist/6794-6794.js.map.license
vendored
1
dist/6794-6794.js.map.license
vendored
|
|
@ -1 +0,0 @@
|
|||
6794-6794.js.license
|
||||
4
dist/core-common.js
vendored
4
dist/core-common.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-common.js.map
vendored
2
dist/core-common.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/core-install.js.map
vendored
2
dist/core-install.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/core-login.js
vendored
4
dist/core-login.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-login.js.map
vendored
2
dist/core-login.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/core-main.js
vendored
4
dist/core-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-main.js.map
vendored
2
dist/core-main.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files_sharing-files_sharing_tab.js
vendored
4
dist/files_sharing-files_sharing_tab.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files_sharing-files_sharing_tab.js.map
vendored
2
dist/files_sharing-files_sharing_tab.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/settings-legacy-admin.js
vendored
4
dist/settings-legacy-admin.js
vendored
File diff suppressed because one or more lines are too long
9
dist/settings-legacy-admin.js.license
vendored
9
dist/settings-legacy-admin.js.license
vendored
|
|
@ -1,8 +1,17 @@
|
|||
SPDX-License-Identifier: MIT
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
SPDX-FileCopyrightText: Tobias Koppers @sokra
|
||||
SPDX-FileCopyrightText: OpenJS Foundation and other contributors
|
||||
SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||
|
||||
|
||||
This file is generated from multiple sources. Included packages:
|
||||
- jquery
|
||||
- version: 3.7.1
|
||||
- license: MIT
|
||||
- webpack
|
||||
- version: 5.94.0
|
||||
- license: MIT
|
||||
- nextcloud
|
||||
- version: 1.0.0
|
||||
- license: AGPL-3.0-or-later
|
||||
|
|
|
|||
2
dist/settings-legacy-admin.js.map
vendored
2
dist/settings-legacy-admin.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/settings-users-3239.js
vendored
4
dist/settings-users-3239.js
vendored
File diff suppressed because one or more lines are too long
2
dist/settings-users-3239.js.map
vendored
2
dist/settings-users-3239.js.map
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue