Compare commits
18
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ebb74bc8a0 | ||
|
|
0e8fbe73b1 | ||
|
|
750864d951 | ||
|
|
d057d48a89 | ||
|
|
a8feb7bb66 | ||
|
|
b7f1ebd74b | ||
|
|
fe28ce3190 | ||
|
|
dc6ea6cd0e | ||
|
|
4c44d469e0 | ||
|
|
22367838ab | ||
|
|
2476be69ba | ||
|
|
1a735f1840 | ||
|
|
c45dd9f5ff | ||
|
|
63c780999d | ||
|
|
6a45a90019 | ||
|
|
93f973cdc2 | ||
|
|
dd94e20045 | ||
|
|
f0ea41a56b |
No files matched your search
@@ -3,6 +3,8 @@ name: "Analysis"
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master, stable-* ]
|
||||
push:
|
||||
branches: [ master, stable-* ]
|
||||
|
||||
jobs:
|
||||
analysis:
|
||||
@@ -14,8 +16,25 @@ jobs:
|
||||
with:
|
||||
distribution: "temurin"
|
||||
java-version: 11
|
||||
- name: Setup variables
|
||||
id: get-vars
|
||||
run: |
|
||||
if [ -z "$GITHUB_HEAD_REF" ]; then
|
||||
# push
|
||||
echo "::set-output name=branch::$GITHUB_REF_NAME"
|
||||
echo "::set-output name=pr::$GITHUB_RUN_ID"
|
||||
else
|
||||
# pull request
|
||||
echo "::set-output name=branch::$GITHUB_HEAD_REF"
|
||||
echo "::set-output name=pr::${{ github.event.pull_request.number }}"
|
||||
fi
|
||||
- name: Show variables
|
||||
run: |
|
||||
echo "BRANCH: ${{ steps.get-vars.outputs.branch }}"
|
||||
echo "PR: ${{ steps.get-vars.outputs.pr }}"
|
||||
echo "RUN NUMBER: $GITHUB_RUN_NUMBER"
|
||||
- name: Run analysis wrapper
|
||||
run: |
|
||||
mkdir -p $HOME/.gradle
|
||||
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
|
||||
scripts/analysis/analysis-wrapper.sh ${{ secrets.GIT_USERNAME }} ${{ secrets.GIT_TOKEN }} ${{ github.head_ref }} ${{ secrets.LOG_USERNAME }} ${{ secrets.LOG_PASSWORD }} $GITHUB_RUN_NUMBER ${{ github.event.pull_request.number }}
|
||||
scripts/analysis/analysis-wrapper.sh ${{ secrets.GIT_USERNAME }} ${{ secrets.GIT_TOKEN }} ${{ steps.get-vars.outputs.branch }} ${{ secrets.LOG_USERNAME }} ${{ secrets.LOG_PASSWORD }} $GITHUB_RUN_NUMBER ${{ steps.get-vars.outputs.pr }}
|
||||
+26
-22
@@ -8,23 +8,23 @@ GEM
|
||||
artifactory (3.0.15)
|
||||
atomos (0.1.3)
|
||||
aws-eventstream (1.2.0)
|
||||
aws-partitions (1.541.0)
|
||||
aws-sdk-core (3.124.0)
|
||||
aws-partitions (1.549.0)
|
||||
aws-sdk-core (3.125.5)
|
||||
aws-eventstream (~> 1, >= 1.0.2)
|
||||
aws-partitions (~> 1, >= 1.525.0)
|
||||
aws-sigv4 (~> 1.1)
|
||||
jmespath (~> 1.0)
|
||||
aws-sdk-kms (1.52.0)
|
||||
aws-sdk-core (~> 3, >= 3.122.0)
|
||||
aws-sdk-kms (1.53.0)
|
||||
aws-sdk-core (~> 3, >= 3.125.0)
|
||||
aws-sigv4 (~> 1.1)
|
||||
aws-sdk-s3 (1.109.0)
|
||||
aws-sdk-core (~> 3, >= 3.122.0)
|
||||
aws-sdk-s3 (1.111.2)
|
||||
aws-sdk-core (~> 3, >= 3.125.0)
|
||||
aws-sdk-kms (~> 1)
|
||||
aws-sigv4 (~> 1.4)
|
||||
aws-sigv4 (1.4.0)
|
||||
aws-eventstream (~> 1, >= 1.0.2)
|
||||
babosa (1.0.4)
|
||||
claide (1.0.3)
|
||||
claide (1.1.0)
|
||||
colored (1.2)
|
||||
colored2 (3.1.2)
|
||||
commander (4.6.0)
|
||||
@@ -36,17 +36,18 @@ GEM
|
||||
unf (>= 0.0.5, < 1.0.0)
|
||||
dotenv (2.7.6)
|
||||
emoji_regex (3.2.3)
|
||||
excon (0.89.0)
|
||||
faraday (1.8.0)
|
||||
excon (0.90.0)
|
||||
faraday (1.9.3)
|
||||
faraday-em_http (~> 1.0)
|
||||
faraday-em_synchrony (~> 1.0)
|
||||
faraday-excon (~> 1.1)
|
||||
faraday-httpclient (~> 1.0.1)
|
||||
faraday-httpclient (~> 1.0)
|
||||
faraday-multipart (~> 1.0)
|
||||
faraday-net_http (~> 1.0)
|
||||
faraday-net_http_persistent (~> 1.1)
|
||||
faraday-net_http_persistent (~> 1.0)
|
||||
faraday-patron (~> 1.0)
|
||||
faraday-rack (~> 1.0)
|
||||
multipart-post (>= 1.2, < 3)
|
||||
faraday-retry (~> 1.0)
|
||||
ruby2_keywords (>= 0.0.4)
|
||||
faraday-cookie_jar (0.0.7)
|
||||
faraday (>= 0.8.0)
|
||||
@@ -55,14 +56,17 @@ GEM
|
||||
faraday-em_synchrony (1.0.0)
|
||||
faraday-excon (1.1.0)
|
||||
faraday-httpclient (1.0.1)
|
||||
faraday-multipart (1.0.3)
|
||||
multipart-post (>= 1.2, < 3)
|
||||
faraday-net_http (1.0.1)
|
||||
faraday-net_http_persistent (1.2.0)
|
||||
faraday-patron (1.0.0)
|
||||
faraday-rack (1.0.0)
|
||||
faraday-retry (1.0.3)
|
||||
faraday_middleware (1.2.0)
|
||||
faraday (~> 1.0)
|
||||
fastimage (2.2.5)
|
||||
fastlane (2.199.0)
|
||||
fastimage (2.2.6)
|
||||
fastlane (2.201.1)
|
||||
CFPropertyList (>= 2.3, < 4.0.0)
|
||||
addressable (>= 2.8, < 3.0.0)
|
||||
artifactory (~> 3.0)
|
||||
@@ -101,11 +105,11 @@ GEM
|
||||
xcodeproj (>= 1.13.0, < 2.0.0)
|
||||
xcpretty (~> 0.3.0)
|
||||
xcpretty-travis-formatter (>= 0.0.3)
|
||||
fastlane-plugin-huawei_appgallery_connect (1.0.17)
|
||||
fastlane-plugin-huawei_appgallery_connect (1.0.18)
|
||||
gh_inspector (1.1.3)
|
||||
google-apis-androidpublisher_v3 (0.14.0)
|
||||
google-apis-androidpublisher_v3 (0.15.0)
|
||||
google-apis-core (>= 0.4, < 2.a)
|
||||
google-apis-core (0.4.1)
|
||||
google-apis-core (0.4.2)
|
||||
addressable (~> 2.5, >= 2.5.1)
|
||||
googleauth (>= 0.16.2, < 2.a)
|
||||
httpclient (>= 2.8.1, < 3.a)
|
||||
@@ -114,11 +118,11 @@ GEM
|
||||
retriable (>= 2.0, < 4.a)
|
||||
rexml
|
||||
webrick
|
||||
google-apis-iamcredentials_v1 (0.9.0)
|
||||
google-apis-iamcredentials_v1 (0.10.0)
|
||||
google-apis-core (>= 0.4, < 2.a)
|
||||
google-apis-playcustomapp_v1 (0.6.0)
|
||||
google-apis-playcustomapp_v1 (0.7.0)
|
||||
google-apis-core (>= 0.4, < 2.a)
|
||||
google-apis-storage_v1 (0.10.0)
|
||||
google-apis-storage_v1 (0.11.0)
|
||||
google-apis-core (>= 0.4, < 2.a)
|
||||
google-cloud-core (1.6.0)
|
||||
google-cloud-env (~> 1.0)
|
||||
@@ -126,7 +130,7 @@ GEM
|
||||
google-cloud-env (1.5.0)
|
||||
faraday (>= 0.17.3, < 2.0)
|
||||
google-cloud-errors (1.2.0)
|
||||
google-cloud-storage (1.35.0)
|
||||
google-cloud-storage (1.36.0)
|
||||
addressable (~> 2.8)
|
||||
digest-crc (~> 0.4)
|
||||
google-apis-iamcredentials_v1 (~> 0.1)
|
||||
@@ -145,7 +149,7 @@ GEM
|
||||
http-cookie (1.0.4)
|
||||
domain_name (~> 0.5)
|
||||
httpclient (2.8.3)
|
||||
jmespath (1.4.0)
|
||||
jmespath (1.5.0)
|
||||
json (2.6.1)
|
||||
jwt (2.3.0)
|
||||
memoist (0.16.2)
|
||||
|
||||
+5
-5
@@ -21,7 +21,7 @@ buildscript {
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:7.0.4'
|
||||
classpath 'com.hiya:jacoco-android:0.2'
|
||||
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.4'
|
||||
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.5'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.19.0"
|
||||
classpath "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
|
||||
@@ -64,8 +64,8 @@ ext {
|
||||
daggerVersion = "2.40.5"
|
||||
markwonVersion = "4.6.2"
|
||||
prismVersion = "2.0.0"
|
||||
androidLibraryVersion ="f1d20bb452a17f0ecd2f9ac5a51b9786631ea50d"
|
||||
mockitoVersion = "4.2.0"
|
||||
androidLibraryVersion ="c5f144ebab033789996dbfe4cd12c65175b6835f"
|
||||
mockitoVersion = "4.3.0"
|
||||
mockkVersion = "1.12.2"
|
||||
powermockVersion = "2.0.9"
|
||||
byteBuddyVersion = "1.12.7"
|
||||
@@ -173,8 +173,8 @@ android {
|
||||
versionDev {
|
||||
applicationId "com.nextcloud.android.beta"
|
||||
dimension "default"
|
||||
versionCode 20220124
|
||||
versionName "20220124"
|
||||
versionCode 20220126
|
||||
versionName "20220126"
|
||||
}
|
||||
|
||||
qa {
|
||||
|
||||
@@ -153,7 +153,6 @@ public class ExtendedListFragment extends Fragment implements
|
||||
FAVORITE_SEARCH,
|
||||
GALLERY_SEARCH,
|
||||
RECENTLY_MODIFIED_SEARCH,
|
||||
RECENTLY_ADDED_SEARCH,
|
||||
// not a real filter, but nevertheless
|
||||
SHARED_FILTER
|
||||
}
|
||||
@@ -673,10 +672,6 @@ public class ExtendedListFragment extends Fragment implements
|
||||
setMessageForEmptyList(R.string.file_list_empty_headline_server_search,
|
||||
R.string.file_list_empty_recently_modified,
|
||||
R.drawable.ic_list_empty_recent);
|
||||
} else if (searchType == SearchType.RECENTLY_ADDED_SEARCH) {
|
||||
setMessageForEmptyList(R.string.file_list_empty_headline_server_search,
|
||||
R.string.file_list_empty_recently_added,
|
||||
R.drawable.ic_list_empty_recent);
|
||||
} else if (searchType == SearchType.REGULAR_FILTER) {
|
||||
setMessageForEmptyList(R.string.file_list_empty_headline_search,
|
||||
R.string.file_list_empty_search,
|
||||
|
||||
@@ -54,6 +54,7 @@ import com.nextcloud.client.device.DeviceInfo;
|
||||
import com.nextcloud.client.di.Injectable;
|
||||
import com.nextcloud.client.network.ClientFactory;
|
||||
import com.nextcloud.client.preferences.AppPreferences;
|
||||
import com.nextcloud.client.utils.Throttler;
|
||||
import com.owncloud.android.MainApp;
|
||||
import com.owncloud.android.R;
|
||||
import com.owncloud.android.datamodel.ArbitraryDataProvider;
|
||||
@@ -101,7 +102,6 @@ import com.owncloud.android.utils.EncryptionUtils;
|
||||
import com.owncloud.android.utils.FileSortOrder;
|
||||
import com.owncloud.android.utils.FileStorageUtils;
|
||||
import com.owncloud.android.utils.MimeTypeUtil;
|
||||
import com.nextcloud.client.utils.Throttler;
|
||||
import com.owncloud.android.utils.theme.ThemeColorUtils;
|
||||
import com.owncloud.android.utils.theme.ThemeFabUtils;
|
||||
import com.owncloud.android.utils.theme.ThemeToolbarUtils;
|
||||
@@ -240,6 +240,9 @@ public class OCFileListFragment extends ExtendedListFragment implements
|
||||
|
||||
if (intent.getParcelableExtra(OCFileListFragment.SEARCH_EVENT) != null) {
|
||||
searchEvent = Parcels.unwrap(intent.getParcelableExtra(OCFileListFragment.SEARCH_EVENT));
|
||||
}
|
||||
|
||||
if (isSearchEventSet(searchEvent)) {
|
||||
handleSearchEvent(searchEvent);
|
||||
}
|
||||
|
||||
@@ -1376,9 +1379,6 @@ public class OCFileListFragment extends ExtendedListFragment implements
|
||||
case GALLERY_SEARCH:
|
||||
setTitle(R.string.drawer_item_gallery);
|
||||
break;
|
||||
case RECENTLY_ADDED_SEARCH:
|
||||
setTitle(R.string.drawer_item_recently_added);
|
||||
break;
|
||||
case RECENTLY_MODIFIED_SEARCH:
|
||||
setTitle(R.string.drawer_item_recently_modified);
|
||||
break;
|
||||
@@ -1397,9 +1397,6 @@ public class OCFileListFragment extends ExtendedListFragment implements
|
||||
if (event != null) {
|
||||
switch (event.getSearchType()) {
|
||||
case FAVORITE_SEARCH:
|
||||
menuItemAddRemoveValue = MenuItemAddRemove.REMOVE_SORT;
|
||||
break;
|
||||
|
||||
case RECENTLY_MODIFIED_SEARCH:
|
||||
menuItemAddRemoveValue = MenuItemAddRemove.REMOVE_SORT;
|
||||
break;
|
||||
@@ -1479,6 +1476,15 @@ public class OCFileListFragment extends ExtendedListFragment implements
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onViewStateRestored(@Nullable Bundle savedInstanceState) {
|
||||
super.onViewStateRestored(savedInstanceState);
|
||||
|
||||
if (savedInstanceState != null) {
|
||||
searchEvent = Parcels.unwrap(savedInstanceState.getParcelable(SEARCH_EVENT));
|
||||
}
|
||||
}
|
||||
|
||||
@Subscribe(threadMode = ThreadMode.BACKGROUND)
|
||||
public void onMessageEvent(final SearchEvent event) {
|
||||
handleSearchEvent(event);
|
||||
@@ -1717,7 +1723,8 @@ public class OCFileListFragment extends ExtendedListFragment implements
|
||||
(!TextUtils.isEmpty(event.getSearchQuery()) ||
|
||||
event.searchType == SearchRemoteOperation.SearchType.SHARED_SEARCH ||
|
||||
event.searchType == SearchRemoteOperation.SearchType.SHARED_FILTER ||
|
||||
event.searchType == SearchRemoteOperation.SearchType.FAVORITE_SEARCH);
|
||||
event.searchType == SearchRemoteOperation.SearchType.FAVORITE_SEARCH ||
|
||||
event.searchType == SearchRemoteOperation.SearchType.RECENTLY_MODIFIED_SEARCH);
|
||||
}
|
||||
|
||||
private void syncAndCheckFiles(Collection<OCFile> files) {
|
||||
|
||||
@@ -46,10 +46,6 @@ public final class DrawerMenuUtil {
|
||||
filterMenuItems(menu, R.id.nav_gallery, R.id.nav_favorites);
|
||||
}
|
||||
|
||||
if (!resources.getBoolean(R.bool.recently_added_enabled)) {
|
||||
menu.removeItem(R.id.nav_recently_added);
|
||||
}
|
||||
|
||||
if (!resources.getBoolean(R.bool.recently_modified_enabled)) {
|
||||
menu.removeItem(R.id.nav_recently_modified);
|
||||
}
|
||||
|
||||
@@ -53,18 +53,12 @@
|
||||
android:icon="@drawable/nav_on_device"
|
||||
android:orderInCategory="0"
|
||||
android:title="@string/drawer_item_on_device"/>
|
||||
<item
|
||||
android:id="@+id/nav_recently_added"
|
||||
android:icon="@drawable/nav_recently"
|
||||
android:orderInCategory="0"
|
||||
android:title="@string/drawer_item_recently_added"
|
||||
android:visible="false"/>
|
||||
<item
|
||||
android:id="@+id/nav_recently_modified"
|
||||
android:icon="@drawable/nav_recently"
|
||||
android:orderInCategory="0"
|
||||
android:title="@string/drawer_item_recently_modified"
|
||||
android:visible="false"/>
|
||||
android:visible="true"/>
|
||||
<item
|
||||
android:orderInCategory="0"
|
||||
android:id="@+id/nav_notifications"
|
||||
|
||||
@@ -218,7 +218,7 @@
|
||||
<string name="drawer_close">Zamknij pasek boczny</string>
|
||||
<string name="drawer_community">Społeczność</string>
|
||||
<string name="drawer_header_background">Tło nagłówka menu rozwijanego</string>
|
||||
<string name="drawer_item_activities">Aktywności</string>
|
||||
<string name="drawer_item_activities">Aktywność</string>
|
||||
<string name="drawer_item_all_files">Wszystkie pliki</string>
|
||||
<string name="drawer_item_favorites">Ulubione</string>
|
||||
<string name="drawer_item_gallery">Media</string>
|
||||
|
||||
@@ -53,7 +53,6 @@
|
||||
<bool name="multiaccount_support">true</bool>
|
||||
|
||||
<!-- Drawer options -->
|
||||
<bool name="recently_added_enabled">false</bool>
|
||||
<bool name="recently_modified_enabled">false</bool>
|
||||
<bool name="shared_enabled">true</bool>
|
||||
<bool name="show_drawer_logout">false</bool>
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
<string name="drawer_item_home">Home</string>
|
||||
<string name="drawer_item_favorites">Favorites</string>
|
||||
<string name="drawer_item_on_device">On device</string>
|
||||
<string name="drawer_item_recently_added">Recently added</string>
|
||||
<string name="drawer_item_recently_modified">Recently modified</string>
|
||||
<string name="drawer_item_shared">Shared</string>
|
||||
<string name="drawer_item_uploads_list">Uploads</string>
|
||||
@@ -100,7 +99,6 @@
|
||||
<string name="file_list_empty_shared">Files and folders you share will show up here.</string>
|
||||
<string name="file_list_empty_search">Maybe it is in a different folder?</string>
|
||||
<string name="file_list_empty_recently_modified">Found no files modified within the last 7 days</string>
|
||||
<string name="file_list_empty_recently_added">Found no recently added files</string>
|
||||
<string name="trashbin_empty_headline">No deleted files</string>
|
||||
<string name="trashbin_empty_message">You will be able to recover deleted files from here.</string>
|
||||
<string name="upload_list_empty_headline">No uploads available</string>
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
Bump versions for fastlane and plugins
|
||||
Update Nextcloud Android library
|
||||
Update 3rd-party dependencies
|
||||
@@ -0,0 +1,7 @@
|
||||
Fix default visibility of recently modified
|
||||
Remove recently added search
|
||||
OCFileListFragment: restore search event on view restored
|
||||
OCFileListFragment: add recently modified to the list of valid search events
|
||||
Update translations
|
||||
Update Nextcloud Android library
|
||||
Update 3rd-party dependencies
|
||||
Reference in new issue
Block a user