Skip to content

Commit

Permalink
Fedired v1.2.2-nvus.1 (#9)
Browse files Browse the repository at this point in the history
* “declaracion”

* fedired-dev

* cambios-beta

* nvus
  • Loading branch information
srnovus authored Oct 24, 2024
1 parent f4d7e02 commit 81c6102
Show file tree
Hide file tree
Showing 28 changed files with 43 additions and 33 deletions.
2 changes: 1 addition & 1 deletion locales/ar-SA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ hashtags: "الوسوم"
troubleshooting: "استكشاف الأخطاء وإصلاحها"
useBlurEffect: "استخدم تأثير الطمس في الواجهة"
learnMore: "راجع المزيد"
misskeyUpdated: "حُدث ميسكي!"
fediredUpdated: "حُدث ميسكي!"
whatIsNew: "اعرض التغييرات"
translate: "ترجم"
translatedFrom: "تُرجم من {x}"
Expand Down
2 changes: 1 addition & 1 deletion locales/bg-BG.yml
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ autoAcceptFollowed: Автоматично одобряване на заявк
expandOnNoteClick: Отваряне на публикацията при кликване
enableInfiniteScroll: Автоматично зареждане на повече
noCrawle: Предотвратяване на индексирането от търсачки
misskeyUpdated: fedired бе обновен!
fediredUpdated: fedired бе обновен!
emailNotConfiguredWarning: Адресът за ел. поща не е зададен.
notificationSetting: Настройки за известията
emailNotification: Известия по ел. поща
Expand Down
2 changes: 1 addition & 1 deletion locales/bn-BD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ hashtags: "হ্যাশট্যাগ"
troubleshooting: "ট্রাবলশুটিং"
useBlurEffect: "UI তে ব্লার ইফেক্ট ব্যাবহার করুন"
learnMore: "আরও জানুন"
misskeyUpdated: "fedired আপডেট করা হয়েছে!"
fediredUpdated: "fedired আপডেট করা হয়েছে!"
whatIsNew: "পরিবর্তনগুলি দেখান"
translate: "অনুবাদ"
translatedFrom: "{x} হতে অনুবাদ করা"
Expand Down
2 changes: 1 addition & 1 deletion locales/ca-ES.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1539,7 +1539,7 @@ searchResult: Resultats de la cerca
hashtags: Etiquetes
troubleshooting: Resolució de problemes
learnMore: Més informació
misskeyUpdated: fedired s'ha actualitzat!
fediredUpdated: fedired s'ha actualitzat!
translate: Tradueix
translatedFrom: Traduït del {x}
aiChanMode: Ai-chan a la interfície d'usuari clàssica
Expand Down
2 changes: 1 addition & 1 deletion locales/de-DE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ hashtags: "Hashtags"
troubleshooting: "Problembehandlung"
useBlurEffect: "Weichzeichnungseffekt in der Benutzeroberfläche verwenden"
learnMore: "Mehr erfahren"
misskeyUpdated: "fedired wurde aktualisiert!"
fediredUpdated: "fedired wurde aktualisiert!"
whatIsNew: "Änderungen anzeigen"
translate: "Übersetzen"
translatedFrom: "Aus {x} übersetzt"
Expand Down
3 changes: 2 additions & 1 deletion locales/en-US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,8 @@ hashtags: "Hashtags"
troubleshooting: "Troubleshooting"
useBlurEffect: "Use blur effects in the UI"
learnMore: "Learn more"
misskeyUpdated: "fedired has been updated!"
fediredUpdated: "Fedired has been updated!"
viewRelease: "View Release"
whatIsNew: "Show changes"
translate: "Translate"
translatedFrom: "Translated from {x}"
Expand Down
3 changes: 2 additions & 1 deletion locales/es-ES.yml
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,8 @@ hashtags: "Hashtag"
troubleshooting: "Solución de problemas"
useBlurEffect: "Utilizar efecto de desenfoque en la interfaz de usuario"
learnMore: "Ver más"
misskeyUpdated: "¡Fedired ha sido actualizado!"
fediredUpdated: "¡Fedired ha sido actualizado!"
viewRelease: "Ver Cambios"
whatIsNew: "Mostrar cambios"
translate: "Traducir"
translatedFrom: "Traducido de {x}"
Expand Down
2 changes: 1 addition & 1 deletion locales/fi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ squareAvatars: Näytä neliön malliset kuvakkeet
seperateRenoteQuote: Erilliset buustaa ja lainaa -napit
sent: Lähetetty
useBlurEffect: Käytä blur-efektejä käyttöliittymässä
misskeyUpdated: fedired on päivitetty!
fediredUpdated: fedired on päivitetty!
whatIsNew: Näytä muutokset
translate: Käännä
translatedFrom: Käännetty kielestä {x}
Expand Down
2 changes: 1 addition & 1 deletion locales/fr-FR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ hashtags: "Hashtags"
troubleshooting: "Résolution de problèmes"
useBlurEffect: "Utiliser des effets de flou dans l'interface"
learnMore: "Plus d'informations"
misskeyUpdated: "fedired a été mis à jour !"
fediredUpdated: "fedired a été mis à jour !"
whatIsNew: "Voir les derniers changements"
translate: "Traduire"
translatedFrom: "Traduit depuis {x}"
Expand Down
2 changes: 1 addition & 1 deletion locales/id-ID.yml
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ hashtags: "Tagar"
troubleshooting: "Penyelesaian Masalah"
useBlurEffect: "Gunakan efek blur pada antarmuka"
learnMore: "Pelajari lebih lanjut"
misskeyUpdated: "fedired telah dimutakhirkan!"
fediredUpdated: "fedired telah dimutakhirkan!"
whatIsNew: "Lihat perubahan pemutakhiran"
translate: "Terjemahkan"
translatedFrom: "Terjemahkan dari {x}"
Expand Down
2 changes: 1 addition & 1 deletion locales/it-IT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ hashtags: "Hashtag"
troubleshooting: "Risoluzione problemi"
useBlurEffect: "Utilizza effetto sfocatura per l'interfaccia utente"
learnMore: "Maggiori informazioni"
misskeyUpdated: "fedired è stato aggiornato!"
fediredUpdated: "fedired è stato aggiornato!"
whatIsNew: "Mostra le informazioni sull'aggiornamento"
translate: "Traduzione"
translatedFrom: "Tradotto da {x}"
Expand Down
2 changes: 1 addition & 1 deletion locales/ja-JP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ hashtags: "ハッシュタグ"
troubleshooting: "トラブルシューティング"
useBlurEffect: "UIにぼかし効果を使用"
learnMore: "詳しく"
misskeyUpdated: "fediredが更新されました!"
fediredUpdated: "fediredが更新されました!"
whatIsNew: "更新情報を見る"
translate: "翻訳"
translatedFrom: "{x}から翻訳"
Expand Down
2 changes: 1 addition & 1 deletion locales/ja-KS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ hashtags: "ハッシュタグ"
troubleshooting: "トラブルシューティング"
useBlurEffect: "UIにぼかし効果を使うで"
learnMore: "詳しく"
misskeyUpdated: "fediredが更新されたで!\nモデレーターの人らに感謝やね"
fediredUpdated: "fediredが更新されたで!\nモデレーターの人らに感謝やね"
whatIsNew: "更新情報を見るで"
translate: "翻訳"
translatedFrom: "{x}から翻訳するで"
Expand Down
2 changes: 1 addition & 1 deletion locales/ko-KR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ hashtags: "해시태그"
troubleshooting: "문제 해결"
useBlurEffect: "UI에 흐림 효과 사용"
learnMore: "자세히"
misskeyUpdated: "fedired가 업데이트 되었습니다!"
fediredUpdated: "fedired가 업데이트 되었습니다!"
whatIsNew: "패치 정보 보기"
translate: "번역"
translatedFrom: "{x}에서 번역"
Expand Down
2 changes: 1 addition & 1 deletion locales/no-NO.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ received: Mottatt
searchResult: Søkeresultater
hashtags: Emneknagger
keepCw: Behold innholdsadvarsler
misskeyUpdated: fedired er oppdatert!
fediredUpdated: fedired er oppdatert!
whatIsNew: Vis endringer
translate: Oversett
translatedFrom: Oversatt fra {x}
Expand Down
2 changes: 1 addition & 1 deletion locales/pl-PL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ hashtags: "Hashtag"
troubleshooting: "Rozwiązywanie problemów"
useBlurEffect: "Użyj efektów rozmycia w UI"
learnMore: "Dowiedz się więcej"
misskeyUpdated: "fedired zostało zaktualizowane!"
fediredUpdated: "fedired zostało zaktualizowane!"
whatIsNew: "Pokaż zmiany"
translate: "Przetłumacz"
translatedFrom: "Przetłumaczone z {x}"
Expand Down
2 changes: 1 addition & 1 deletion locales/ru-RU.yml
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ hashtags: "Хэштеги"
troubleshooting: "Разрешение проблем"
useBlurEffect: "Размытие в интерфейсе"
learnMore: "Подробнее"
misskeyUpdated: "fedired обновился!"
fediredUpdated: "fedired обновился!"
whatIsNew: "Показать изменения"
translate: "Перевод"
translatedFrom: "Перевод. Язык оригинала — {x}"
Expand Down
2 changes: 1 addition & 1 deletion locales/sk-SK.yml
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ hashtags: "Hashtagy"
troubleshooting: "Riešenie problémov"
useBlurEffect: "Používať efekty rozmazania v UI"
learnMore: "Zistiť viac"
misskeyUpdated: "fedired sa aktualizoval!"
fediredUpdated: "fedired sa aktualizoval!"
whatIsNew: "Čo je nové?"
translate: "Preložiť"
translatedFrom: "Preložené z {x}"
Expand Down
2 changes: 1 addition & 1 deletion locales/th-TH.yml
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ hashtags: "แฮชแท็ก"
troubleshooting: "แก้ปัญหา"
useBlurEffect: "ใช้เอฟเฟกต์เบลอใน UI"
learnMore: "แสดงให้ดูหน่อย"
misskeyUpdated: "fedired ได้รับการอัปเดตแล้ว!"
fediredUpdated: "fedired ได้รับการอัปเดตแล้ว!"
whatIsNew: "แสดงการเปลี่ยนแปลง"
translate: "แปลภาษา"
translatedFrom: "แปลมาจาก {x}"
Expand Down
2 changes: 1 addition & 1 deletion locales/tr-TR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ invalidValue: Geçersiz değer.
instanceSecurity: Sunucu Güvenliği
searchResult: Arama sonuçları
useBlurEffect: Kullanıcı arayüzünde bulanıklaştırma efektleri kullanın
misskeyUpdated: fedired güncellendi!
fediredUpdated: fedired güncellendi!
lastCommunication: Son iletişim
itsOn: Etkinleştirilmiş
emailRequiredForSignup: Kayıt olmak için mail gerekiyor
Expand Down
2 changes: 1 addition & 1 deletion locales/uk-UA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1744,7 +1744,7 @@ ads: Рекламні оголошення
cw: Попередження про вміст
hiddenTags: Приховані хештеги
noInstances: Немає серверів
misskeyUpdated: fedired оновлено!
fediredUpdated: fedired оновлено!
received: Отримане
xl: Надвеликий
searchResult: Результати пошуку
Expand Down
2 changes: 1 addition & 1 deletion locales/vi-VN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ hashtags: "Hashtag"
troubleshooting: "Khắc phục sự cố"
useBlurEffect: "Dùng hiệu ứng làm mờ trong giao diện"
learnMore: "Tìm hiểu thêm"
misskeyUpdated: "fedired vừa được cập nhật!"
fediredUpdated: "fedired vừa được cập nhật!"
whatIsNew: "Hiện những thay đổi"
translate: "Dịch"
translatedFrom: "Dịch từ {x}"
Expand Down
2 changes: 1 addition & 1 deletion locales/zh-CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ hashtags: "话题标签"
troubleshooting: "故障排除"
useBlurEffect: "在 UI 上使用模糊效果"
learnMore: "更多信息"
misskeyUpdated: "fedired 更新完成!"
fediredUpdated: "fedired 更新完成!"
whatIsNew: "显示更新信息"
translate: "翻译"
translatedFrom: "从 {x} 翻译"
Expand Down
2 changes: 1 addition & 1 deletion locales/zh-TW.yml
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ hashtags: "#tag"
troubleshooting: "故障排除"
useBlurEffect: "在 UI 上使用模糊效果"
learnMore: "更多資訊"
misskeyUpdated: "fedired 更新完成!"
fediredUpdated: "fedired 更新完成!"
whatIsNew: "顯示更新資訊"
translate: "翻譯"
translatedFrom: "從 {x} 翻譯"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fedired",
"version": "1.2.1-nvus.1",
"version": "1.2.2-nvus.1",
"repository": {
"type": "git",
"url": "https://github.com/fedired-dev/fedired.git"
Expand Down
4 changes: 2 additions & 2 deletions packages/backend-rs/src/federation/nodeinfo/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,14 +265,14 @@ mod unit_test {
assert_eq!(parsed_2.software.name, "meisskey");
assert_eq!(parsed_2.software.version, "10.102.699-m544");

let json_str_3 = r##"{"metadata":{"enableGlobalTimeline":true,"enableGuestTimeline":false,"enableLocalTimeline":true,"enableRecommendedTimeline":false,"maintainer":{"name":"Javier Caceres"},"nodeDescription":"","nodeName":"Fedired","repositoryUrl":"https://github.com/fedired-dev/fedired","themeColor":"#F25A85"},"openRegistrations":false,"protocols":["activitypub"],"services":{"inbound":[],"outbound":["atom1.0","rss2.0"]},"software":{"homepage":"https://joinfedired.org","name":"fedired","repository":"https://github.com/fedired/fedired","version":"1.2.1"},"usage":{"localPosts":23857,"users":{"activeHalfyear":7,"activeMonth":7,"total":9}},"version":"2.1"}"##;
let json_str_3 = r##"{"metadata":{"enableGlobalTimeline":true,"enableGuestTimeline":false,"enableLocalTimeline":true,"enableRecommendedTimeline":false,"maintainer":{"name":"Javier Caceres"},"nodeDescription":"","nodeName":"Fedired","repositoryUrl":"https://github.com/fedired-dev/fedired","themeColor":"#F25A85"},"openRegistrations":false,"protocols":["activitypub"],"services":{"inbound":[],"outbound":["atom1.0","rss2.0"]},"software":{"homepage":"https://joinfedired.org","name":"fedired","repository":"https://github.com/fedired/fedired","version":"1.2.2"},"usage":{"localPosts":23857,"users":{"activeHalfyear":7,"activeMonth":7,"total":9}},"version":"2.1"}"##;
let parsed_3: Nodeinfo21 = serde_json::from_str(json_str_3).unwrap();
let serialized_3 = serde_json::to_string(&parsed_3).unwrap();
let reparsed_3: Nodeinfo21 = serde_json::from_str(&serialized_3).unwrap();

assert_eq!(parsed_3, reparsed_3);
assert_eq!(parsed_3.software.name, "fedired");
assert_eq!(parsed_3.software.version, "1.2.1-nvus.1");
assert_eq!(parsed_3.software.version, "1.2.2-nvus.1");

let json_str_4 = r#"{"version":"2.1","software":{"name":"activity-relay","version":"2.0.5","repository":"https://github.com/yukimochi/Activity-Relay"},"protocols":["activitypub"],"services":{"inbound":[],"outbound":[]},"openRegistrations":true,"usage":{"users":{"total":1,"activeMonth":1,"activeHalfyear":1}},"metadata":{}}"#;
let parsed_4: Nodeinfo21 = serde_json::from_str(json_str_4).unwrap();
Expand Down
4 changes: 1 addition & 3 deletions packages/backend/src/misc/download-url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ import PrivateIp from "private-ip";
import { isSafeUrl } from "backend-rs";

export async function downloadUrl(url: string, path: string): Promise<void> {
const allowedHostnames = ["fedired.com", "example.com", "another-trusted-site.com"];
const { hostname } = new URL(url);
if (!isSafeUrl(url) || !allowedHostnames.includes(hostname)) {
if (!isSafeUrl(url)) {
throw new StatusError("Invalid URL", 400);
}

Expand Down
16 changes: 13 additions & 3 deletions packages/client/src/components/MkUpdated.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,21 @@
>
<div :class="$style.root">
<div :class="$style.title">
<MkSparkle>{{ i18n.ts.misskeyUpdated }}</MkSparkle>
<MkSparkle>{{ i18n.ts.fediredUpdated }}</MkSparkle>
</div>
<div :class="$style.version"> {{ version }} 🚀</div>
<div :class="$style.version"> {{ version }} </div>
<MkButton
:class="$style.gotIt"
primary
full
@click="modal!.close()"
>{{ i18n.ts.gotIt }}</MkButton
>
<a :href="releaseUrl" target="_blank" rel="noopener noreferrer">
<MkButton :class="$style.releaseButton" secondary full>
{{ i18n.ts.viewRelease }}
</MkButton>
</a>
</div>
</MkModal>
</template>
Expand All @@ -30,6 +35,7 @@ import { version } from "@/config";
import { i18n } from "@/i18n";
const modal = shallowRef<InstanceType<typeof MkModal>>();
const releaseUrl = 'https://github.com/fedired-dev/fedired/releases/latest';
</script>

<style lang="scss" module>
Expand Down Expand Up @@ -60,4 +66,8 @@ const modal = shallowRef<InstanceType<typeof MkModal>>();
margin-block-end: 0;
margin-inline-start: 0;
}
</style>
.releaseButton {
margin-top: 8px;
}
</style>

0 comments on commit 81c6102

Please sign in to comment.