Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasKaminsky committed Oct 23, 2024
2 parents 1754901 + 26c2ffd commit 93602fd
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
with:
swap-size-gb: 10
- name: Initialize CodeQL
uses: github/codeql-action/init@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
uses: github/codeql-action/init@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
with:
languages: ${{ matrix.language }}
- name: Set up JDK 17
Expand All @@ -53,4 +53,4 @@ jobs:
echo "org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
./gradlew assembleDebug
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
uses: github/codeql-action/analyze@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
with:
sarif_file: results.sarif
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 3.30.3 (October 22, 2024)

- Bugfix for two way sync: sync only on wifi

## 3.30.2 (October 21, 2024)

- Bugfix for two way sync. Please check listed folders in settings -> internal two way sync

Minimum: NC 16 Server, Android 7.0 Nougat

For a full list, please see https://github.com/nextcloud/android/milestone/99

## 3.30.1 (October 11, 2024)

- Bugfixes
Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ plugins {
id "org.jetbrains.kotlin.plugin.compose" version "2.0.20"
id "com.diffplug.spotless" version "6.25.0"
id "org.jetbrains.kotlin.kapt" version "2.0.20"
id 'com.google.devtools.ksp' version '2.0.20-1.0.25' apply false
id 'com.google.devtools.ksp' version '2.0.21-1.0.25' apply false
}

apply plugin: 'com.android.application'
Expand Down Expand Up @@ -310,7 +310,7 @@ dependencies {
exclude group: "com.android.support"
}
implementation 'com.caverock:androidsvg:1.4'
implementation 'androidx.annotation:annotation:1.8.2'
implementation 'androidx.annotation:annotation:1.9.0'
implementation 'com.vanniktech:emoji-google:0.21.0'

// document scanner not available on FDroid (generic) due to OpenCV binaries
Expand Down Expand Up @@ -413,7 +413,7 @@ dependencies {
// upon each update first test: new registration, receive push
gplayImplementation "com.google.firebase:firebase-messaging:24.0.2"
gplayImplementation 'com.google.android.gms:play-services-base:18.5.0'
gplayImplementation 'com.google.android.play:review-ktx:2.0.1'
gplayImplementation 'com.google.android.play:review-ktx:2.0.2'

implementation 'com.github.nextcloud.android-common:ui:0.17.0'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ class InternalTwoWaySyncWork(
var result = true

if (powerManagementService.isPowerSavingEnabled ||
!connectivityService.isConnected || connectivityService.isInternetWalled
!connectivityService.isConnected ||
connectivityService.isInternetWalled ||
!connectivityService.connectivity.isWifi
) {
Log_OC.d(TAG, "Not starting due to constraints!")
return Result.success()
Expand Down
16 changes: 16 additions & 0 deletions app/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
<string name="assistant_screen_task_delete_success_message">Tâche supprimée avec succès</string>
<string name="assistant_screen_task_list_error_state_message">Impossible de récupérer la liste des tâches, veuillez vérifier votre connexion Internet.</string>
<string name="assistant_screen_task_more_actions_bottom_sheet_delete_action">Supprimer la tâche</string>
<string name="assistant_screen_task_output_empty_text">Le résultat de la tâche n\'est pas encore prêt.</string>
<string name="assistant_screen_task_types_error_state_message">Impossible de récupérer les types des tâches, veuillez vérifier votre connexion Internet.</string>
<string name="assistant_screen_top_bar_title">Assistant</string>
<string name="assistant_screen_unknown_task_status_text">Inconnu</string>
Expand Down Expand Up @@ -281,8 +282,11 @@
<string name="drawer_quota">%1$s utilisés sur %2$s</string>
<string name="drawer_quota_unlimited">%1$s utilisé</string>
<string name="drawer_synced_folders">Téléversement automatique</string>
<string name="e2e_counter_too_old">Le compteur est trop vieux</string>
<string name="e2e_hash_not_found">Hachage non trouvé</string>
<string name="e2e_not_yet_setup">E2E pas encore configuré</string>
<string name="e2e_offline">Impossible sans connexion internet</string>
<string name="e2e_signature_does_not_match">La signature ne correspond pas</string>
<string name="ecosystem_apps_display_assistant">Assistant</string>
<string name="ecosystem_apps_display_more">Plus</string>
<string name="ecosystem_apps_display_notes">Notes</string>
Expand Down Expand Up @@ -408,8 +412,14 @@
<string name="file_migration_updating_index">Mise à jour de l\'index…</string>
<string name="file_migration_use_data_folder">Conserver le dossier actuel</string>
<string name="file_migration_waiting_for_unfinished_sync">En attente de la synchronisation complète…</string>
<string name="file_name_validator_current_path_is_invalid">Le nom du dossier actuellement invalide, veuillez renommer le dossier. Redirection vers la page d\'accueil…</string>
<string name="file_name_validator_error_contains_reserved_names_or_invalid_characters">Le chemin du dossier contient des noms réservés ou des caractères non valides</string>
<string name="file_name_validator_error_forbidden_file_extensions">%s est une extension de fichier interdite</string>
<string name="file_name_validator_error_forbidden_space_character_extensions">Les noms de fichiers ne doivent pas contenir d\'espaces au début ou à la fin</string>
<string name="file_name_validator_error_invalid_character">Le nom contient des caractères invalides: %s</string>
<string name="file_name_validator_error_reserved_names">%s est un nom interdit</string>
<string name="file_name_validator_rename_before_move_or_copy">%s. Veuillez renommer le fichier avant de le déplacer ou de le copier</string>
<string name="file_name_validator_upload_content_error">Certains contenus ne peuvent pas être téléversé car ils contiennent des noms réservés ou des caractères invalides</string>
<string name="file_not_found">Fichier non trouvé</string>
<string name="file_not_synced">Le fichier ne peut pas être synchronisé. Affichage de la dernière version disponible. </string>
<string name="file_rename">Renommer</string>
Expand Down Expand Up @@ -482,6 +492,7 @@
<string name="instant_upload_path">/InstantUpload</string>
<string name="internal_two_way_sync">Synchronisation interne bidirectionnelle</string>
<string name="internal_two_way_sync_not_yet">Pas encore, bientôt synchronisé</string>
<string name="internet_connection_required_for_encrypted_folder_setup">Une connexion Internet est requise pour configurer le dossier chiffré</string>
<string name="invalid_url">URL invalide</string>
<string name="invisible">Invisible</string>
<string name="label_empty">Le libellé ne peut pas être vide</string>
Expand Down Expand Up @@ -581,10 +592,14 @@
<string name="notification_channel_upload_description">Afficher la progression du téléversement</string>
<string name="notification_channel_upload_name_short">Téléversements</string>
<string name="notification_icon">Icône de notification</string>
<string name="notification_icon_description">Des notifications non lues existent</string>
<string name="notifications_no_results_headline">Aucune notification</string>
<string name="notifications_no_results_message">Veuillez revenir plus tard.</string>
<string name="oc_file_list_adapter_offline_operation_description_text">Opération en attente</string>
<string name="offline_mode">Aucune connexion Internet</string>
<string name="offline_mode_info_description">Même sans connexion Internet, vous pouvez organiser vos dossiers, créer des fichiers. Dès que vous êtes de nouveau en ligne, vos actions en cours sont automatiquement synchronisées.</string>
<string name="offline_mode_info_title">Vous êtes hors ligne, mais le travail continue</string>
<string name="offline_operations_file_does_not_exists_yet">Le fichier n\'existe pas encore. Veuillez d\'abord téléverser le fichier.</string>
<string name="offline_operations_worker_notification_conflict_text">Dossier en conflit : %s</string>
<string name="offline_operations_worker_notification_delete_offline_folder">Supprimer le dossier hors ligne</string>
<string name="offline_operations_worker_notification_error_text">L\'opération hors ligne ne peut être achevée. %s</string>
Expand Down Expand Up @@ -619,6 +634,7 @@
<string name="placeholder_timestamp">18/05/2012 12:23 PM</string>
<string name="player_stop">arrêter</string>
<string name="player_toggle">inverser</string>
<string name="please_select_a_server">Veuillez sélectionner un serveur…</string>
<string name="power_save_check_dialog_message">Désactiver l\'économie de batterie peut entraîner le téléversement de fichiers même avec un faible niveau de batterie !</string>
<string name="pref_behaviour_entries_delete_file">supprimé</string>
<string name="pref_behaviour_entries_keep_file">conservé dans le dossier original</string>
Expand Down
19 changes: 19 additions & 0 deletions app/src/main/res/values-pl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,10 @@
<string name="confirmation_remove_local">Tylko lokalnie</string>
<string name="conflict_dialog_error">Nie można utworzyć okna dialogowego rozwiązywania konfliktów</string>
<string name="conflict_file_headline">Plik powodujący konflikt %1$s</string>
<string name="conflict_folder_headline">Konflikt folderów</string>
<string name="conflict_local_file">Plik lokalny</string>
<string name="conflict_message_description">Jeśli wybierzesz obie wersje, to do nazwy pliku lokalnego zostanie dodany numer.</string>
<string name="conflict_message_description_for_folder">Jeżeli wybierzesz obie wersje, to do nazwy folderu lokalnego zostanie dodany numer</string>
<string name="conflict_server_file">Plik z serwera</string>
<string name="contact_backup_title">Kopia zapasowa kontaktów</string>
<string name="contact_no_permission">Wymagane jest pozwolenie na lokalizację</string>
Expand Down Expand Up @@ -209,6 +211,7 @@
<string name="create_new_presentation">Nowa prezentacja</string>
<string name="create_new_spreadsheet">Nowy arkusz kalkulacyjny</string>
<string name="create_rich_workspace">Dodaj opis folderu</string>
<string name="creates_rich_workspace">Dodaj opis folderu</string>
<string name="credentials_disabled">Poświadczenia wyłączone</string>
<string name="daily_backup">Codzienna kopia zapasowa</string>
<string name="data_to_back_up">Dane dla kopii zapasowej</string>
Expand Down Expand Up @@ -350,6 +353,7 @@
<string name="failed_update_ui">Nie udało się zaktualizować UI</string>
<string name="favorite">Dodaj do ulubionych</string>
<string name="favorite_icon">Ulubiony</string>
<string name="file_activity_shared_file_cannot_be_updated">Udostępniony plik nie może zostać uaktualniony</string>
<string name="file_already_exists">Nazwa pliku już istnieje</string>
<string name="file_delete">Usuń</string>
<string name="file_detail_activity_error">Błąd podczas pobierania aktywności dla pliku</string>
Expand All @@ -363,6 +367,7 @@
<string name="file_list_empty_headline">Brak plików</string>
<string name="file_list_empty_headline_search">Brak wyników w tym katalogu</string>
<string name="file_list_empty_headline_server_search">Brak wyników</string>
<string name="file_list_empty_local_search">Brak plików lub folderów spełniających kryteria wyszukiwania</string>
<string name="file_list_empty_moving">Pusto. Możesz dodać katalog.</string>
<string name="file_list_empty_on_device">Tutaj pojawią się pobrane pliki i katalogi.</string>
<string name="file_list_empty_recently_modified">Nie znaleziono żadnych plików modyfikowanych w ciągu ostatnich 7 dni</string>
Expand Down Expand Up @@ -400,6 +405,14 @@
<string name="file_migration_updating_index">Aktualizacja indeksu…</string>
<string name="file_migration_use_data_folder">Użyj</string>
<string name="file_migration_waiting_for_unfinished_sync">Oczekuje na pełną synchronizację…</string>
<string name="file_name_validator_current_path_is_invalid">Nazwa folderu jest niewłaściwa, zmień nazwę folderu. Przekierowuję na stronę główną</string>
<string name="file_name_validator_error_contains_reserved_names_or_invalid_characters">Ścieżka folderu zawiera zarezerwowane nazwy albo nieprawidłowy znak</string>
<string name="file_name_validator_error_forbidden_file_extensions">%s jest zabronionym rozszerzeniem pliku</string>
<string name="file_name_validator_error_forbidden_space_character_extensions">Nazwy plików nie mogą zawierać spacji na początku i końcu nazwy</string>
<string name="file_name_validator_error_invalid_character">Nazwa zawiera niedozwolone znaki %s</string>
<string name="file_name_validator_error_reserved_names">%sjest zabronioną nazwą</string>
<string name="file_name_validator_rename_before_move_or_copy">%s. Zmień nazwę pliku przed przeniesieniem lub skopiowaniem</string>
<string name="file_name_validator_upload_content_error">Część zawartości nie może zostać uploadowana ponieważ zawiera niewłaściwe nazwy lub znaki</string>
<string name="file_not_found">Nie znaleziono pliku</string>
<string name="file_not_synced">Nie można zsynchronizować pliku. Pokazana jest najnowsza dostępna wersja.</string>
<string name="file_rename">Zmień nazwę</string>
Expand All @@ -423,6 +436,7 @@
<string name="folder_already_exists">Katalog już istnieje</string>
<string name="folder_confirm_create">Utwórz</string>
<string name="folder_list_empty_headline">Brak katalogów</string>
<string name="folder_name_empty">Nazwa folderu nie może być pusta</string>
<string name="folder_picker_choose_button_text">Wybierz</string>
<string name="folder_picker_choose_caption_text">Wybierz katalog docelowy</string>
<string name="folder_picker_copy_button_text">Skopiuj</string>
Expand Down Expand Up @@ -468,6 +482,7 @@
<string name="instant_upload_existing">Wyślij również istniejące pliki</string>
<string name="instant_upload_on_charging">Wysyłaj tylko podczas ładowania</string>
<string name="instant_upload_path">/InstantUpload</string>
<string name="internet_connection_required_for_encrypted_folder_setup">Aby ustawić szyfrowany folder wymagane jest połączenie z intenetem</string>
<string name="invalid_url">Nieprawidłowy adres URL</string>
<string name="invisible">Niewidoczny</string>
<string name="label_empty">Etykieta nie może być pusta</string>
Expand Down Expand Up @@ -506,6 +521,7 @@
<string name="manage_space_clear_data">Wyczyść dane</string>
<string name="manage_space_description">Ustawienia, bazy danych i certyfikaty serwera %1$s zostaną trwale usunięte.\n\nPobrane pliki pozostaną na swoich miejscach.\n\nTen proces może trochę potrwać.</string>
<string name="manage_space_title">Zarządzaj przestrzenią</string>
<string name="max_file_count_warning_message">Osiągnięto maksymalny limit upload. Proszę uploadować mniej niż 500 plików w jednym czasie</string>
<string name="media_err_invalid_progressive_playback">Plik multimedialny nie może być przesyłany strumieniowo</string>
<string name="media_err_io">Nie można odczytać pliku</string>
<string name="media_err_malformed">Nieprawidłowe kodowanie pliku multimedialnego</string>
Expand Down Expand Up @@ -551,6 +567,7 @@
<string name="note_could_not_sent">Nie można wysłać notatki</string>
<string name="note_icon_hint">Ikona notatki</string>
<string name="notification_action_failed">Wykonanie akcji nie powiodło się.</string>
<string name="notification_channel_background_operations_name">Operacje w tle</string>
<string name="notification_channel_download_description">Pokazuje postęp pobierania</string>
<string name="notification_channel_download_name_short">Pobrane</string>
<string name="notification_channel_file_sync_description">Pokazuje postęp synchronizacji plików i jej wynik</string>
Expand All @@ -564,8 +581,10 @@
<string name="notification_channel_upload_description">Pokazuje postęp wysyłania</string>
<string name="notification_channel_upload_name_short">Wysłane</string>
<string name="notification_icon">Ikona powiadomień</string>
<string name="notification_icon_description">Nieprzeczytane powiadomienia</string>
<string name="notifications_no_results_headline">Brak powiadomień</string>
<string name="notifications_no_results_message">Sprawdź później.</string>
<string name="oc_file_list_adapter_offline_operation_description_text">Trwające działania</string>
<string name="offline_mode">Brak połączenia z Internetem</string>
<string name="oneHour">1 godzina</string>
<string name="online">Online</string>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-vi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,7 @@
<string name="upload_local_storage_full">Bộ nhớ máy đã đầy</string>
<string name="upload_local_storage_not_copied">Không thể sao chép tệp vào bộ nhớ máy</string>
<string name="upload_lock_failed">Không khóa được thư mục</string>
<string name="upload_manually_cancelled">Upload was cancelled by user</string>
<string name="upload_old_android">Mã hóa chỉ khả dụng với &gt;= Android 5.0</string>
<string name="upload_query_move_foreign_files">Không đủ dung lượng ngăn việc sao chép các tệp đã chọn vào thư mục %1$s. Bạn có muốn chuyển chúng đến đó không?</string>
<string name="upload_scan_doc_upload">Quét tài liệu từ máy ảnh</string>
Expand Down
Loading

0 comments on commit 93602fd

Please sign in to comment.