Git Komut Rehberi & Terminal Asistanı
Sıfırdan Yeni Bir Depo Başlatın:
Mevcut Bir Git Deposu veya Klasörü Gönderin:
Hataları Geri Alma, İptal & Temizlik:
Son commit'i geri al (yapılan değişiklikleri korur):
git reset --soft HEAD~1
Yapılan yerel değişiklikleri iptal et (çalışma ağacını temizler):
git restore .
Takip edilmeyen gereksiz dosyaları sil:
git clean -fd
Değişiklikleri geçici sakla ve geri getir (stash):
git stash git stash pop
Dal (Branch) ve Sürüm Etiketleri:
Yeni dal aç ve geçiş yap:
git checkout -b yeni-ozellik git push -u origin yeni-ozellik
Sürüm etiketi (tag) oluştur ve gönder:
git tag -a v1.0.0 -m "Sürüm 1.0.0" git push origin --tags
fix(a11y): improve player controls visibility, restore browser Alt+Left navigation, add back button, and filter successful import notifications (v1.7.3)
This commit is contained in:
@@ -178,9 +178,28 @@ function isContentBlocked(text, list = DEFAULT_BLOCKED_KEYWORDS) {
|
||||
return false;
|
||||
}
|
||||
|
||||
async function register({ getRouter, registerSetting, settingsManager, peertubeHelpers, logger }) {
|
||||
async function register({ registerHook, getRouter, registerSetting, settingsManager, peertubeHelpers, logger }) {
|
||||
const router = getRouter();
|
||||
|
||||
// YakTube Bildirim Filtresi: Başarılı video içe aktarımları (type 7) bildirim kutusunu doldurmasın,
|
||||
// Sadece başarısız olanlar (type 8 / MY_VIDEO_IMPORT_ERROR) bildirim olarak düşsün
|
||||
if (typeof registerHook === 'function') {
|
||||
registerHook({
|
||||
target: 'filter:notifier.notification.enabled.result',
|
||||
handler: async (result, { notification }) => {
|
||||
if (notification && (notification.type === 7 || notification.type === 'my-video-import-success')) {
|
||||
return {
|
||||
webNotificationEnabled: false,
|
||||
emailNotificationEnabled: false
|
||||
};
|
||||
}
|
||||
return result;
|
||||
}
|
||||
});
|
||||
if (logger) logger.info('[YakTube OnDemand] Registered filter:notifier.notification.enabled.result (suppressing successful import notifications).');
|
||||
}
|
||||
|
||||
|
||||
let guestImportLimit = 5;
|
||||
let maxDiskUsagePercent = 85;
|
||||
let customChannelId = '';
|
||||
|
||||
Reference in New Issue
Block a user