Skip to content

Commit 45b9970

Browse files
authored
Merge pull request #2312 from nextcloud/enh/migrate-to-webdav-v5
2 parents 7825af0 + 3edaf55 commit 45b9970

142 files changed

Lines changed: 2072 additions & 6021 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module.exports = {
22
extends: [
3-
'@nextcloud'
3+
'@nextcloud/eslint-config/typescript',
44
],
55
globals: {
6-
appName: true
6+
appName: true,
77
}
8-
};
8+
}

cypress/e2e/albums.cy.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ describe('Manage albums', () => {
9797
it('Edit an album\'s name', () => {
9898
cy.get('[aria-label="Open actions menu"]').click()
9999
cy.contains('Edit album details').click()
100-
cy.get('form [name="name"]').clear().type('New name')
100+
cy.get('form [name="name"]').clear()
101+
cy.get('form [name="name"]').type('New name')
101102
cy.contains('Save').click()
102103

103104
cy.contains('New name')
@@ -108,15 +109,19 @@ describe('Manage albums', () => {
108109

109110
cy.get('[aria-label="Open actions menu"]').click()
110111
cy.contains('Edit album details').click()
111-
cy.get('form [name="name"]').clear().type('albums_test')
112+
cy.get('form [name="name"]').clear()
113+
cy.get('form [name="name"]').type('albums_test')
112114
cy.contains('Save').click()
113115
})
114116

115117
it('Edit an album\'s location', () => {
116118
cy.get('[aria-label="Open actions menu"]').click()
117119
cy.contains('Edit album details').click()
118-
cy.get('form [name="location"]').clear().type('New location')
120+
cy.get('form [name="location"]').clear()
121+
cy.get('form [name="location"]').type('New location')
122+
cy.intercept({ times: 1, method: 'PROPPATCH', url: '/remote.php/dav/photos/*/albums/*' }).as('propPatchAlbum')
119123
cy.contains('Save').click()
124+
cy.wait('@propPatchAlbum')
120125

121126
cy.contains('New location')
122127

cypress/tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"extends": "../tsconfig.json",
3-
"include": ["../*.ts", "."],
3+
"include": [
4+
"../*.ts",
5+
"."
6+
],
47
"compilerOptions": {
58
"rootDir": "..",
69
"types": [

js/photos-dashboard.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.

0 commit comments

Comments
 (0)