mirror of
https://github.com/nextcloud/android.git
synced 2024-12-19 15:33:00 +03:00
Merge remote-tracking branch 'origin/master' into dev
This commit is contained in:
commit
34943090ab
12 changed files with 42 additions and 16 deletions
2
.github/workflows/analysis.yml
vendored
2
.github/workflows/analysis.yml
vendored
|
@ -44,7 +44,7 @@ jobs:
|
|||
echo "repo=${{ github.event.pull_request.head.repo.full_name }}"
|
||||
} >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
|
||||
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
|
||||
with:
|
||||
repository: ${{ steps.get-vars.outputs.repo }}
|
||||
ref: ${{ steps.get-vars.outputs.branch }}
|
||||
|
|
6
.github/workflows/codeql.yml
vendored
6
.github/workflows/codeql.yml
vendored
|
@ -33,13 +33,13 @@ jobs:
|
|||
language: [ 'java' ]
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
|
||||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
|
||||
- name: Set Swap Space
|
||||
uses: pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c # v1.0
|
||||
with:
|
||||
swap-size-gb: 10
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@8f596b4ae3cb3c588a5c46780b86dd53fef16c52 # v3.25.2
|
||||
uses: github/codeql-action/init@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
- name: Set up JDK 17
|
||||
|
@ -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@8f596b4ae3cb3c588a5c46780b86dd53fef16c52 # v3.25.2
|
||||
uses: github/codeql-action/analyze@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3
|
||||
|
|
|
@ -25,5 +25,5 @@ jobs:
|
|||
name: "Validation"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
|
||||
- uses: gradle/wrapper-validation-action@5188e9b5527a0a094cee21e2fe9a8ca44b4629af # v3.3.1
|
||||
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
|
||||
- uses: gradle/wrapper-validation-action@216d1ad2b3710bf005dc39237337b9673fd8fcd5 # v3.3.2
|
||||
|
|
2
.github/workflows/pr-feedback.yml
vendored
2
.github/workflows/pr-feedback.yml
vendored
|
@ -3,7 +3,7 @@
|
|||
# https://github.com/nextcloud/.github
|
||||
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
|
||||
|
||||
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
|
||||
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
|
||||
# SPDX-FileCopyrightText: 2023 Marcel Klehr <mklehr@gmx.net>
|
||||
# SPDX-FileCopyrightText: 2023 Joas Schilling <213943+nickvergessen@users.noreply.github.com>
|
||||
# SPDX-FileCopyrightText: 2023 Daniel Kesselberg <mail@danielkesselberg.de>
|
||||
|
|
9
.github/workflows/reuse.yml
vendored
9
.github/workflows/reuse.yml
vendored
|
@ -1,4 +1,7 @@
|
|||
# synced from @nextcloud/android-config
|
||||
# This workflow is provided via the organization template repository
|
||||
#
|
||||
# https://github.com/nextcloud/.github
|
||||
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
|
||||
|
||||
# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. <https://fsfe.org>
|
||||
#
|
||||
|
@ -6,12 +9,12 @@
|
|||
|
||||
name: REUSE Compliance Check
|
||||
|
||||
on: [push, pull_request]
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
|
||||
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
|
||||
- name: REUSE Compliance Check
|
||||
uses: fsfe/reuse-action@a46482ca367aef4454a87620aa37c2be4b2f8106 # v3.0.0
|
||||
|
|
4
.github/workflows/scorecard.yml
vendored
4
.github/workflows/scorecard.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: "Checkout code"
|
||||
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
|
||||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
|
@ -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@8f596b4ae3cb3c588a5c46780b86dd53fef16c52 # v3.25.2
|
||||
uses: github/codeql-action/upload-sarif@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3
|
||||
with:
|
||||
sarif_file: results.sarif
|
||||
|
|
8
.github/workflows/screenShotTest.yml
vendored
8
.github/workflows/screenShotTest.yml
vendored
|
@ -17,7 +17,7 @@ concurrency:
|
|||
|
||||
jobs:
|
||||
screenshot:
|
||||
runs-on: macOS-latest
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
@ -48,6 +48,12 @@ jobs:
|
|||
distribution: "temurin"
|
||||
java-version: 17
|
||||
|
||||
- name: Enable KVM group perms
|
||||
run: |
|
||||
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
|
||||
sudo udevadm control --reload-rules
|
||||
sudo udevadm trigger --name-match=kvm
|
||||
|
||||
- name: create AVD and generate snapshot for caching
|
||||
if: steps.avd-cache.outputs.cache-hit != 'true'
|
||||
uses: reactivecircus/android-emulator-runner@6b0df4b0efb23bb0ec63d881db79aefbc976e4b2 # v2.30.1
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 31 KiB |
Binary file not shown.
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
@ -650,10 +650,22 @@ public final class DisplayUtils {
|
|||
*/
|
||||
public static Snackbar showSnackMessage(Activity activity, String message) {
|
||||
final Snackbar snackbar = Snackbar.make(activity.findViewById(android.R.id.content), message, Snackbar.LENGTH_LONG);
|
||||
var fab = findFABView(activity);
|
||||
if (fab != null && fab.getVisibility() == View.VISIBLE) {
|
||||
snackbar.setAnchorView(fab);
|
||||
}
|
||||
snackbar.show();
|
||||
return snackbar;
|
||||
}
|
||||
|
||||
private static View findFABView(Activity activity) {
|
||||
return activity.findViewById(R.id.fab_main);
|
||||
}
|
||||
|
||||
private static View findFABView(View view) {
|
||||
return view.findViewById(R.id.fab_main);
|
||||
}
|
||||
|
||||
/**
|
||||
* Show a temporary message in a {@link Snackbar} bound to the given view.
|
||||
*
|
||||
|
@ -663,6 +675,10 @@ public final class DisplayUtils {
|
|||
*/
|
||||
public static Snackbar showSnackMessage(View view, @StringRes int messageResource) {
|
||||
final Snackbar snackbar = Snackbar.make(view, messageResource, Snackbar.LENGTH_LONG);
|
||||
var fab = findFABView(view.getRootView());
|
||||
if (fab != null && fab.getVisibility() == View.VISIBLE) {
|
||||
snackbar.setAnchorView(fab);
|
||||
}
|
||||
snackbar.show();
|
||||
return snackbar;
|
||||
}
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
<string name="assistant_screen_top_bar_title">Yardımcı</string>
|
||||
<string name="assistant_screen_unknown_task_status_text">Bilinmiyor</string>
|
||||
<string name="assistant_task_detail_screen_input_button_title">Giriş</string>
|
||||
<string name="assistant_task_detail_screen_output_button_title">Çıktı</string>
|
||||
<string name="assistant_task_detail_screen_output_button_title">Çıkış</string>
|
||||
<string name="associated_account_not_found">İlişkili hesap bulunamadı!</string>
|
||||
<string name="auth_access_failed">Erişilemedi: %1$s</string>
|
||||
<string name="auth_account_does_not_exist">Aygıt üzerinde henüz bu hesap açılmamış</string>
|
||||
|
@ -172,6 +172,7 @@
|
|||
<string name="confirmation_remove_folder_alert">%1$s klasörünü ve içindekileri silmek istediğinize emin misiniz?</string>
|
||||
<string name="confirmation_remove_folders_alert">Seçilmiş ögeleri ve içindekileri silmek istediğinize emin misiniz?</string>
|
||||
<string name="confirmation_remove_local">Yalnızca yerel</string>
|
||||
<string name="conflict_dialog_error">Çakışma çözümleme penceresi oluşturulamadı</string>
|
||||
<string name="conflict_file_headline">%1$s dosyası çakışıyor</string>
|
||||
<string name="conflict_local_file">Yerel dosya</string>
|
||||
<string name="conflict_message_description">İki sürümü de saklamayı seçerseniz, yerel dosyanın adına bir numara eklenecek.</string>
|
||||
|
|
|
@ -254,7 +254,7 @@
|
|||
<string name="drawer_community">Спільнота</string>
|
||||
<string name="drawer_header_background">Зображення тла верхньої панелі</string>
|
||||
<string name="drawer_item_activities">Події</string>
|
||||
<string name="drawer_item_all_files">Усі файли</string>
|
||||
<string name="drawer_item_all_files">Усі документи</string>
|
||||
<string name="drawer_item_assistant">Помічник</string>
|
||||
<string name="drawer_item_favorites">Із зірочкою</string>
|
||||
<string name="drawer_item_gallery">Зображення та відео</string>
|
||||
|
@ -354,7 +354,7 @@
|
|||
<string name="file_list_empty_favorite_headline">Поки що ви нічого не позначили зірочкою</string>
|
||||
<string name="file_list_empty_favorites_filter_list">Тут можна буде знайти файли та каталоги, які ви позначити зірочкою.</string>
|
||||
<string name="file_list_empty_gallery">Не знайдено ані зображень, ані відео</string>
|
||||
<string name="file_list_empty_headline">Тут немає файлів</string>
|
||||
<string name="file_list_empty_headline">Тут відсутні файли</string>
|
||||
<string name="file_list_empty_headline_search">Жодного збігу у цьому каталозі</string>
|
||||
<string name="file_list_empty_headline_server_search">Жодного збігу</string>
|
||||
<string name="file_list_empty_moving">Тут нічого немає. Ви можете створити каталог.</string>
|
||||
|
|
Loading…
Reference in a new issue