Skip to content

Commit b6facb8

Browse files
nextcloud-commandsusnux
authored andcommitted
chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
1 parent 085aab2 commit b6facb8

24 files changed

+50
-76
lines changed

core/js/tests/specs/coreSpec.js

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,7 @@ describe('Core base tests', function() {
765765
OC.currentUser = 'dummy';
766766
clock = sinon.useFakeTimers();
767767
reloadStub = sinon.stub(OC, 'reload');
768+
document.head.dataset.user = 'dummy'
768769
notificationStub = sinon.stub(OC.Notification, 'show');
769770
// unstub the error processing method
770771
ajaxErrorStub = OC._processAjaxError;
@@ -778,47 +779,6 @@ describe('Core base tests', function() {
778779
clock.restore();
779780
});
780781

781-
it('reloads current page in case of auth error', function() {
782-
var dataProvider = [
783-
[200, false],
784-
[400, false],
785-
[0, false],
786-
[401, true],
787-
[302, true],
788-
[303, true],
789-
[307, true]
790-
];
791-
792-
for (var i = 0; i < dataProvider.length; i++) {
793-
var xhr = { status: dataProvider[i][0] };
794-
var expectedCall = dataProvider[i][1];
795-
796-
reloadStub.reset();
797-
OC._reloadCalled = false;
798-
799-
$(document).trigger(new $.Event('ajaxError'), xhr);
800-
801-
// trigger timers
802-
clock.tick(waitTimeMs);
803-
804-
if (expectedCall) {
805-
expect(reloadStub.calledOnce).toEqual(true);
806-
} else {
807-
expect(reloadStub.notCalled).toEqual(true);
808-
}
809-
}
810-
});
811-
it('reload only called once in case of auth error', function() {
812-
var xhr = { status: 401 };
813-
814-
$(document).trigger(new $.Event('ajaxError'), xhr);
815-
$(document).trigger(new $.Event('ajaxError'), xhr);
816-
817-
// trigger timers
818-
clock.tick(waitTimeMs);
819-
820-
expect(reloadStub.calledOnce).toEqual(true);
821-
});
822782
it('does not reload the page if the user was navigating away', function() {
823783
var xhr = { status: 0 };
824784
OC._userIsNavigatingAway = true;
@@ -829,16 +789,7 @@ describe('Core base tests', function() {
829789
clock.tick(waitTimeMs);
830790
expect(reloadStub.notCalled).toEqual(true);
831791
});
832-
it('displays notification', function() {
833-
var xhr = { status: 401 };
834792

835-
notificationUpdateStub = sinon.stub(OC.Notification, 'showUpdate');
836-
837-
$(document).trigger(new $.Event('ajaxError'), xhr);
838-
839-
clock.tick(waitTimeMs);
840-
expect(notificationUpdateStub.notCalled).toEqual(false);
841-
});
842793
it('shows a temporary notification if the connection is lost', function() {
843794
var xhr = { status: 0 };
844795
spyOn(OC, '_ajaxConnectionLostHandler');

dist/323-323.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3636
SPDX-FileCopyrightText: Jerry Bendy <jerry@icewingcc.com>
3737
SPDX-FileCopyrightText: Jeff Sagal <sagalbot@gmail.com>
3838
SPDX-FileCopyrightText: Jacob Clevenger<https://github.com/wheatjs>
39+
SPDX-FileCopyrightText: Iskren Ivov Chernev <iskren.chernev@gmail.com> (https://github.com/ichernev)
3940
SPDX-FileCopyrightText: Hypercontext
4041
SPDX-FileCopyrightText: Guillaume Chau <guillaume.b.chau@gmail.com>
4142
SPDX-FileCopyrightText: GitHub Inc.
@@ -44,6 +45,7 @@ SPDX-FileCopyrightText: Evan You
4445
SPDX-FileCopyrightText: Eugene Sharygin <eush77@gmail.com>
4546
SPDX-FileCopyrightText: Eric Norris (https://github.com/ericnorris)
4647
SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 <mario@cure53.de> (https://cure53.de/)
48+
SPDX-FileCopyrightText: Denis Pushkarev
4749
SPDX-FileCopyrightText: David Clark
4850
SPDX-FileCopyrightText: Christoph Wurst <christoph@winzerhof-wurst.at>
4951
SPDX-FileCopyrightText: Christoph Wurst
@@ -98,6 +100,12 @@ This file is generated from multiple sources. Included packages:
98100
- @nextcloud/logger
99101
- version: 3.0.2
100102
- license: GPL-3.0-or-later
103+
- @nextcloud/router
104+
- version: 2.2.1
105+
- license: GPL-3.0-or-later
106+
- @nextcloud/moment
107+
- version: 1.3.1
108+
- license: GPL-3.0-or-later
101109
- @nextcloud/paths
102110
- version: 2.2.1
103111
- license: GPL-3.0-or-later
@@ -146,6 +154,9 @@ This file is generated from multiple sources. Included packages:
146154
- console-browserify
147155
- version: 1.2.0
148156
- license: MIT
157+
- core-js
158+
- version: 3.38.1
159+
- license: MIT
149160
- crypt
150161
- version: 0.0.2
151162
- license: BSD-3-Clause
@@ -245,6 +256,9 @@ This file is generated from multiple sources. Included packages:
245256
- md5
246257
- version: 2.3.0
247258
- license: BSD-3-Clause
259+
- moment
260+
- version: 2.30.1
261+
- license: MIT
248262
- nextcloud-vue-collections
249263
- version: 0.13.0
250264
- license: AGPL-3.0-or-later

dist/323-323.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/323-323.js.map.license

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
323-323.js.license

dist/6794-6794.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

dist/6794-6794.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/6794-6794.js.map.license

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/core-common.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/core-common.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)