diff --git a/src/client/widgets/federation.vue b/src/client/widgets/federation.vue
new file mode 100644
index 0000000000..b99ef1b0aa
--- /dev/null
+++ b/src/client/widgets/federation.vue
@@ -0,0 +1,111 @@
+
+
+ {{ $t('_widgets.federation') }}
+
+
+
+
+
+
+
+
diff --git a/src/client/widgets/index.ts b/src/client/widgets/index.ts
index 3bedaaee05..b9561b59ab 100644
--- a/src/client/widgets/index.ts
+++ b/src/client/widgets/index.ts
@@ -12,6 +12,7 @@ export default function(app: App) {
app.component('mkw-activity', defineAsyncComponent(() => import('./activity.vue').then(m => m.default)));
app.component('mkw-photos', defineAsyncComponent(() => import('./photos.vue').then(m => m.default)));
app.component('mkw-digitalClock', defineAsyncComponent(() => import('./digital-clock.vue').then(m => m.default)));
+ app.component('mkw-federation', defineAsyncComponent(() => import('./federation.vue').then(m => m.default)));
}
export const widgets = [
@@ -25,4 +26,5 @@ export const widgets = [
'activity',
'photos',
'digitalClock',
+ 'federation',
];
diff --git a/test/get-file-info.ts b/test/get-file-info.ts
index 0c19fb2d7e..8af8493d7a 100644
--- a/test/get-file-info.ts
+++ b/test/get-file-info.ts
@@ -26,7 +26,7 @@ describe('Get file info', () => {
},
width: undefined,
height: undefined,
- blurhash: null
+ blurhash: undefined
});
}));
@@ -43,7 +43,7 @@ describe('Get file info', () => {
},
width: 512,
height: 512,
- blurhash: '' // TODO
+ blurhash: 'yFLxJjH[NE}@^PRiN_}Y=aVZNvFxxZ#SwIt7Eg%KIp-ospv~Nex[R6t3xZI:iwt6kWxDafoySgsAfR$*oyM|S2t7$iV[tQNbaKn%xt'
});
}));
@@ -60,7 +60,7 @@ describe('Get file info', () => {
},
width: 256,
height: 256,
- blurhash: '' // TODO
+ blurhash: 'y8S?Mr-;=~~Xs;%foL?bWVs;xbR%NFay^ms;I-InI-xbs;%gofj[I-s;-WxbI-WUayxb$,NFR*~Wa{R%xbayNFI.oMj[oMNFWB$,WU'
});
}));
@@ -77,7 +77,7 @@ describe('Get file info', () => {
},
width: 256,
height: 256,
- blurhash: '' // TODO
+ blurhash: 'y8S?Mr-;=~~Xs;%foL?bWVs;xbR%NFay^ms;I-InI-xbs;%gofj[I-s;-WxbI-WUayxb$,NFR*~Wa{R%xbayNFI.oMj[oMNFWB$,WU'
});
}));
@@ -94,7 +94,7 @@ describe('Get file info', () => {
},
width: 256,
height: 256,
- blurhash: '' // TODO
+ blurhash: 'y74P29kDpdp{k?VDZ#krkCaefkf6fQf5HXZ$krkqadaKaJkCaKkXfkkCf5fkQ8kXZ#VDaKk?krZ~kCf6kDf6f5f6U]krZ#Z#aekrkq'
});
}));
@@ -111,7 +111,7 @@ describe('Get file info', () => {
},
width: 256,
height: 256,
- blurhash: '' // TODO
+ blurhash: 'yMEKyd1U1?=nZN-2EwofR*oHnijYX6S50J=m]WEVl9JE$SR*xHR;XSX8nQxB-WS6Nts*aKskWnaxR%s*i_n~X6S5=#NgOAs*enoIWU'
});
}));
@@ -129,7 +129,7 @@ describe('Get file info', () => {
},
width: 256,
height: 256,
- blurhash: '' // TODO
+ blurhash: 'yMEKyd1U1?=nZN-2EwofR*oHnijYX6S50J=m]WEVl9JE$SR*xHR;XSX8nQxB-WS6Nts*aKskWnaxR%s*i_n~X6S5=#NgOAs*enoIWU'
});
}));
@@ -146,7 +146,7 @@ describe('Get file info', () => {
},
width: 25000,
height: 25000,
- blurhash: '' // TODO
+ blurhash: undefined
});
}));
});
diff --git a/yarn.lock b/yarn.lock
index 82372f4cc8..e3766223f1 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1312,9 +1312,9 @@ ajv-keywords@^3.1.0, ajv-keywords@^3.4.1:
integrity sha512-RO1ibKvd27e6FEShVFfPALuHI3WjSVNeK5FIsmme/LYRNxjKuNj+Dt7bucLa6NdSv3JcVTyMlm9kGR84z1XpaQ==
ajv@^6.1.0, ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.0, ajv@^6.12.2, ajv@^6.5.5:
- version "6.12.2"
- resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.2.tgz#c629c5eced17baf314437918d2da88c99d5958cd"
- integrity sha512-k+V+hzjm5q/Mr8ef/1Y9goCmlsK4I6Sm74teeyGvFk1XrOsbsKLjEdrvny42CZ+a8sXbk8KWpY/bDwS+FLL2UQ==
+ version "6.12.3"
+ resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.3.tgz#18c5af38a111ddeb4f2697bd78d68abc1cabd706"
+ integrity sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA==
dependencies:
fast-deep-equal "^3.1.1"
fast-json-stable-stringify "^2.0.0"