Compare commits

..
Author SHA1 Message Date
Tobias Kaminsky dd1ee0e13d daily dev 20170716 2017-07-16 00:41:55 +02:00
Tobias Kaminsky c120bcc40e update dev 2017-07-16 2017-07-16 00:31:58 +02:00
AndyScherzinger f8ffe99212 Merge branch 'new_details_view_animations' of https://github.com/nextcloud/android into dev
# Conflicts:
#	src/main/res/layout/file_details_share_user_item.xml
2017-07-15 12:47:41 +02:00
AndyScherzinger 06898aa8f7 Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	scripts/lint/lint-results.txt
#	src/main/java/com/owncloud/android/ui/adapter/FileListListAdapter.java
#	src/main/res/values-es-rMX/strings.xml
2017-07-15 12:46:32 +02:00
nextcloud-android-bot 37503b1b59 Drone: update Lint results to reflect reduced error/warning count [skip ci] 2017-07-15 12:29:12 +02:00
AndyScherzinger ded5026866 replace deprecated android:singleLine with android:maxLines=1 2017-07-15 12:29:12 +02:00
AndyScherzinger 6cc518d0d8 raising padding on headline 2017-07-15 12:29:12 +02:00
AndyScherzinger 393d9aaea8 theming for zip icon 2017-07-15 12:29:11 +02:00
AndyScherzinger ee44c8da7f theme new details screen 2017-07-15 12:29:11 +02:00
AndyScherzinger 95072a5b3a theming fixes for ProgressBar elements 2017-07-15 12:29:10 +02:00
AndyScherzinger c7e1fe7b28 re-use existing view for better performance 2017-07-15 12:29:10 +02:00
AndyScherzinger 58e9010e9a use proper mini headline styling using material body2 definition 2017-07-15 12:29:10 +02:00
AndyScherzinger 4857af7aa4 avoid re-assigning of var 2017-07-15 12:29:09 +02:00
AndyScherzinger 9b528cf6fa codacy 2017-07-15 12:29:09 +02:00
AndyScherzinger 55d0570669 Fix headline coloring 2017-07-15 12:29:09 +02:00
AndyScherzinger 8a77916265 fixed cherry picked new details 2017-07-15 12:29:08 +02:00
AndyScherzinger 819c2ecfcb adapt to cherry pick 2017-07-15 12:29:08 +02:00
masensio ef2b7adc85 Review some text sizes in details view 2017-07-15 12:29:07 +02:00
masensio 889a587cf6 Review some margins in details view. Add method to show more than one item in share users list view (details view) 2017-07-15 12:29:07 +02:00
masensio 65774dd435 Fix favourite feature from details view 2017-07-15 12:29:07 +02:00
masensio 98992f8fca Add share users to details view 2017-07-15 12:29:06 +02:00
masensio fabaa22eae Remove old file_details_fragment.xml
# Conflicts:
#	res/layout/file_details_fragment.xml
2017-07-15 12:29:06 +02:00
masensio 4c9efdeefb Add share data to details view layout
# Conflicts:
#	owncloud-android-library
#	res/layout/file_details_fragment_new.xml
#	res/values/strings.xml
#	src/com/owncloud/android/ui/fragment/FileDetailFragment.java
2017-07-15 12:28:57 +02:00
Tobias Kaminsky 3016787717 update dev 2017-07-15 2017-07-15 00:30:57 +02:00
Tobias Kaminsky 07850390e2 daily dev 20170714 2017-07-14 00:40:57 +02:00
Tobias Kaminsky de647c6c9e update dev 2017-07-14 2017-07-14 00:30:54 +02:00
Tobias Kaminsky 8e8a95ed29 Merge remote-tracking branch 'nextcloud/resizedImages' into dev 2017-07-14 00:30:52 +02:00
Tobias Kaminsky b382bcff28 Merge remote-tracking branch 'nextcloud/new_details_view_animations' into dev 2017-07-14 00:30:40 +02:00
AndyScherzinger 43ed561ec9 theming for zip icon 2017-07-13 18:15:41 +02:00
AndyScherzinger 32fc0750e6 theme new details screen 2017-07-13 17:47:52 +02:00
AndyScherzinger 17a53a948b theming fixes for ProgressBar elements 2017-07-13 17:47:33 +02:00
tobiasKaminsky 3314afbd81 merge 2017-07-13 15:40:59 +02:00
tobiasKaminsky 162473a025 Merge remote-tracking branch 'remotes/origin/master' into resizedImages
# Conflicts:
#	src/main/java/com/owncloud/android/ui/adapter/UploaderAdapter.java
#	src/main/java/third_parties/michaelOrtiz/TouchImageViewCustom.java
2017-07-13 15:39:55 +02:00
tobiasKaminsky 61a71d33d0 downloading is working if set in preferences 2017-07-13 15:26:10 +02:00
AndyScherzinger 73f59188d1 re-use existing view for better performance 2017-07-13 12:13:08 +02:00
AndyScherzinger 825f5aae69 use proper mini headline styling using material body2 definition 2017-07-13 12:13:08 +02:00
AndyScherzinger f1285579ce avoid re-assigning of var 2017-07-13 12:13:08 +02:00
AndyScherzinger 306401772b codacy 2017-07-13 12:13:07 +02:00
AndyScherzinger ef91e7fd57 Fix headline coloring 2017-07-13 12:13:07 +02:00
AndyScherzinger 3edb8416fa fixed cherry picked new details 2017-07-13 12:13:06 +02:00
AndyScherzinger e5b09d1433 adapt to cherry pick 2017-07-13 12:12:28 +02:00
masensio 7166163b03 Review some text sizes in details view 2017-07-13 12:12:28 +02:00
masensio 8af1976acb Review some margins in details view. Add method to show more than one item in share users list view (details view) 2017-07-13 12:12:27 +02:00
masensio 993e684a95 Fix favourite feature from details view 2017-07-13 12:12:27 +02:00
masensio 5c4036f6a2 Add share users to details view 2017-07-13 12:12:26 +02:00
masensio 7ca94042f4 Remove old file_details_fragment.xml
# Conflicts:
#	res/layout/file_details_fragment.xml
2017-07-13 12:12:26 +02:00
masensio cb03506b90 Add share data to details view layout
# Conflicts:
#	owncloud-android-library
#	res/layout/file_details_fragment_new.xml
#	res/values/strings.xml
#	src/com/owncloud/android/ui/fragment/FileDetailFragment.java
2017-07-13 12:12:23 +02:00
tobiasKaminsky 14eed9f5f1 Merge remote-tracking branch 'remotes/origin/master' into resizedImages
# Conflicts:
#	src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
#	src/main/java/com/owncloud/android/ui/adapter/FileListListAdapter.java
#	src/main/res/values/strings.xml
2017-07-13 11:25:38 +02:00
tobiasKaminsky b42ceec141 Merge remote-tracking branch 'remotes/origin/master' into resizedImages
# Conflicts:
#	src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
#	src/main/java/com/owncloud/android/ui/adapter/FileListListAdapter.java
#	src/main/res/values/strings.xml
2017-07-13 11:13:42 +02:00
tobiasKaminsky 2ae68242e1 preference setting: download or preview 2017-07-13 11:04:53 +02:00
Tobias Kaminsky a43978c797 daily dev 20170713 2017-07-13 00:40:20 +02:00
Tobias Kaminsky 0bebf0f20f update dev 2017-07-13 2017-07-13 00:31:46 +02:00
Tobias Kaminsky 2fa4f35afd Merge remote-tracking branch 'nextcloud/master' into dev 2017-07-13 00:31:38 +02:00
tobiasKaminsky 416db99d33 further work: image can now be download via snack 2017-07-12 17:05:06 +02:00
Tobias Kaminsky fed13409ca daily dev 20170712 2017-07-12 00:41:20 +02:00
Tobias Kaminsky 2da61fa0e7 update dev 2017-07-12 2017-07-12 00:31:06 +02:00
Tobias Kaminsky 5d130a2d6f Merge remote-tracking branch 'nextcloud/master' into dev 2017-07-12 00:31:05 +02:00
Tobias Kaminsky 5e7e216d65 Merge remote-tracking branch 'nextcloud/userTheming' into dev 2017-07-12 00:30:59 +02:00
Tobias Kaminsky 6bc2024c39 Merge remote-tracking branch 'nextcloud/ErrorInActivityListAdapter' into dev 2017-07-12 00:30:44 +02:00
tobiasKaminsky 2f2c0cfa28 renamed tag 2017-07-11 16:23:37 +02:00
tobiasKaminsky e49ef434a1 catch a rare exception while setting activity list adapter 2017-07-11 15:04:15 +02:00
Tobias Kaminsky ab77f4bfcf daily dev 20170711 2017-07-11 00:42:03 +02:00
Tobias Kaminsky 345d91c992 update dev 2017-07-11 2017-07-11 00:30:55 +02:00
Tobias Kaminsky 656306bac7 Merge remote-tracking branch 'nextcloud/userTheming' into dev 2017-07-11 00:30:44 +02:00
Tobias Kaminsky 5128498089 daily dev 20170710 2017-07-10 00:39:27 +02:00
Tobias Kaminsky 72acdd3def update dev 2017-07-10 2017-07-10 00:31:05 +02:00
Tobias Kaminsky b21cda7af4 Merge remote-tracking branch 'nextcloud/master' into dev 2017-07-10 00:30:58 +02:00
Tobias Kaminsky 9790941cbe daily dev 20170709 2017-07-09 00:40:07 +02:00
Tobias Kaminsky 0ce657f9d0 update dev 2017-07-09 2017-07-09 00:31:27 +02:00
Tobias Kaminsky 12fb16f294 Merge remote-tracking branch 'nextcloud/master' into dev 2017-07-09 00:31:26 +02:00
Tobias Kaminsky d22f5fe92c update dev 2017-07-08 2017-07-08 00:30:56 +02:00
Tobias Kaminsky 7a143d7d9e daily dev 20170707 2017-07-07 00:40:19 +02:00
Tobias Kaminsky d9cdcf224f update dev 2017-07-07 2017-07-07 00:30:50 +02:00
Tobias Kaminsky 47dec7d142 Merge remote-tracking branch 'nextcloud/master' into dev 2017-07-07 00:30:48 +02:00
Tobias Kaminsky 35c388d652 Merge remote-tracking branch 'nextcloud/userTheming' into dev 2017-07-07 00:30:43 +02:00
Tobias Kaminsky a27209c6ad daily dev 20170706 2017-07-06 00:41:07 +02:00
Tobias Kaminsky 4cc80785c2 update dev 2017-07-06 2017-07-06 00:30:49 +02:00
Tobias Kaminsky 846dacabf0 Merge remote-tracking branch 'nextcloud/sharedFolderMissing' into dev 2017-07-06 00:30:29 +02:00
tobiaskaminsky 888acbb701 fix no showing shares after "shared" view 2017-07-05 14:55:11 +02:00
Tobias Kaminsky 579d797c71 daily dev 20170705 2017-07-05 00:48:39 +02:00
Tobias Kaminsky ff4f506dc7 update dev 2017-07-05 2017-07-05 00:31:46 +02:00
tobiaskaminsky ed5fc8edc5 Merge remote-tracking branch 'remotes/origin/userTheming' into dev 2017-07-04 13:12:17 +02:00
Tobias Kaminsky f532d081ba update dev 2017-07-04 2017-07-04 00:31:07 +02:00
Tobias Kaminsky 5d26fd1788 update dev 2017-07-03 2017-07-03 00:31:28 +02:00
Tobias Kaminsky 262a1707b7 update dev 2017-07-02 2017-07-02 00:30:51 +02:00
Tobias Kaminsky db7ca579c3 daily dev 20170701 2017-07-01 00:41:02 +02:00
Tobias Kaminsky 0e97346535 update dev 2017-07-01 2017-07-01 00:30:58 +02:00
Tobias Kaminsky 5c99a3e976 Merge remote-tracking branch 'nextcloud/folderObserver' into dev 2017-07-01 00:30:41 +02:00
tobiasKaminsky 2d2e4501a0 resolved update conflicts, adapted to current system 2017-06-30 17:01:04 +02:00
tobiaskaminsky 790e12d6c9 comment out adding new downloadedf files to folder observer 2017-06-30 15:25:26 +02:00
Tobias Kaminsky a5f5d5cb34 daily dev 20170630 2017-06-30 00:41:49 +02:00
Tobias Kaminsky dccf68065f update dev 2017-06-30 2017-06-30 00:32:09 +02:00
Tobias Kaminsky 2d255030dc Merge remote-tracking branch 'nextcloud/1089_sharing_with_password_rule' into dev 2017-06-30 00:30:59 +02:00
tobiasKaminsky e758738f5a Merge remote-tracking branch 'remotes/origin/master' into resizedImages 2017-06-29 16:05:32 +02:00
nextcloud-android-bot 9daced6535 Drone: update Lint results to reflect reduced error/warning count [skip ci] 2017-06-29 11:38:59 +02:00
tobiasKaminsky cb7388bc3a comment licence correctly 2017-06-29 11:38:59 +02:00
tobiasKaminsky 9906cec46b extract string resource, remove obsolete string 2017-06-29 11:38:58 +02:00
nextcloud-android-bot 7a7e2be550 Drone: update Lint results to reflect reduced error/warning count [skip ci] 2017-06-29 11:38:58 +02:00
AndyScherzinger c3395d671e dp -> sp for text 2017-06-29 11:38:58 +02:00
AndyScherzinger 122ded3468 remove unused static and fix string format call 2017-06-29 11:38:57 +02:00
Augustin 75c90bbfc1 test commit for github build 2017-06-29 11:38:57 +02:00
augustin 6a263fdd11 1089_sharing_with_password_rule: don't ask for authentification when trying to share with too short password but ask for a new 2017-06-29 11:38:57 +02:00
Tobias Kaminsky fd40f8c624 daily dev 20170629 2017-06-29 00:40:44 +02:00
Tobias Kaminsky e07dec0e4f update dev 2017-06-29 2017-06-29 00:32:07 +02:00
Tobias Kaminsky f9d2776c0f Merge remote-tracking branch 'nextcloud/stopAsyncTasks' into dev 2017-06-29 00:30:53 +02:00
Tobias Kaminsky 0eeccd522f daily dev 20170628 2017-06-28 00:41:32 +02:00
Tobias Kaminsky d46917bc35 update dev 2017-06-28 2017-06-28 00:32:52 +02:00
Tobias Kaminsky d8d1bae404 Merge remote-tracking branch 'nextcloud/1089_sharing_with_password_rule' into dev 2017-06-28 00:31:52 +02:00
Tobias Kaminsky 6d93e85297 Merge remote-tracking branch 'nextcloud/settingsOn4x' into dev 2017-06-28 00:31:48 +02:00
nextcloud-android-bot d233585663 Drone: update Lint results to reflect reduced error/warning count [skip ci] 2017-06-27 11:25:29 +00:00
Tobias Kaminsky 9a985c3518 Merge 2cb1991199 into f9ec3574c1 2017-06-27 11:13:14 +00:00
tobiasKaminsky 2cb1991199 comment licence correctly 2017-06-27 13:13:08 +02:00
tobiasKaminsky b8b283cf86 extract string resource, remove obsolete string 2017-06-27 13:12:37 +02:00
tobiasKaminsky d7b7db5fb2 Merge remote-tracking branch 'origin/dev' into dev 2017-06-27 08:23:28 +02:00
tobiasKaminsky 299368a62a move to fastlane directory structure 2017-06-27 08:23:13 +02:00
Tobias Kaminsky ce329ebe23 daily dev 20170627 2017-06-27 00:42:05 +02:00
Tobias Kaminsky 616a84c230 update dev 2017-06-27 2017-06-27 00:31:48 +02:00
Tobias Kaminsky 2b55c309d8 Merge remote-tracking branch 'nextcloud/contactsBackupUI' into dev 2017-06-27 00:31:30 +02:00
Tobias Kaminsky 2c00e2ef6b Merge remote-tracking branch 'nextcloud/1089_sharing_with_password_rule' into dev 2017-06-27 00:31:18 +02:00
Tobias Kaminsky 97ca58f6f3 Merge remote-tracking branch 'nextcloud/settingsOn4x' into dev 2017-06-27 00:30:59 +02:00
Tobias Kaminsky b2c6dc4eae Merge remote-tracking branch 'nextcloud/shareDialog' into dev 2017-06-27 00:30:56 +02:00
Tobias Kaminsky f5cafc83ae Merge remote-tracking branch 'nextcloud/autoUploadRotationBug' into dev 2017-06-27 00:30:53 +02:00
Tobias Kaminsky a6377539a2 Merge remote-tracking branch 'nextcloud/autoUploadWithoutStoragePermission' into dev 2017-06-27 00:30:48 +02:00
nextcloud-android-bot 1cbe35259d Drone: update Lint results to reflect reduced error/warning count [skip ci] 2017-06-26 12:55:14 +00:00
tobiasKaminsky ea272cf862 remove obsolete strings 2017-06-26 14:37:07 +02:00
Tobias Kaminsky 83ce4e70f6 Merge 958f9e218d into 88e58e9c0c 2017-06-26 12:36:04 +00:00
AndyScherzinger 958f9e218d dp -> sp for text 2017-06-26 14:35:53 +02:00
tobiasKaminsky 5692f3e4c2 fix comment 2017-06-26 13:43:05 +02:00
tobiasKaminsky 0ab1fdc9dd fix dismissing dialog on rotation 2017-06-26 13:42:27 +02:00
AndyScherzinger e48d385aa5 remove unused static and fix string format call 2017-06-26 10:09:40 +02:00
tobiasKaminsky 773fbcddf9 click on shared/linked icon opens share dialog 2017-06-26 09:53:09 +02:00
Tobias Kaminsky 44a88f4543 daily dev 20170626 2017-06-26 00:40:15 +02:00
Tobias Kaminsky 022f741da7 update dev 2017-06-26 2017-06-26 00:31:08 +02:00
Tobias Kaminsky c81f07795f Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-26 00:30:58 +02:00
Tobias Kaminsky 8272678a2d update dev 2017-06-25 2017-06-25 00:30:59 +02:00
Tobias Kaminsky 151f72a886 daily dev 20170624 2017-06-24 00:40:08 +02:00
Tobias Kaminsky 2074e2f362 update dev 2017-06-24 2017-06-24 00:31:29 +02:00
Tobias Kaminsky 65593dabcb Merge remote-tracking branch 'nextcloud/deleteFilesOnAccountRemoval' into dev 2017-06-24 00:30:47 +02:00
Tobias Kaminsky ce2fac33bf Merge remote-tracking branch 'nextcloud/removedSDcard' into dev 2017-06-24 00:30:43 +02:00
tobiasKaminsky 8b1ed6d18c delete all local files on account removal 2017-06-23 14:00:06 +02:00
Augustin c41cce2f04 test commit for github build 2017-06-23 08:25:51 +02:00
augustin da996aefc7 Merge branch 'master' into 1089_sharing_with_password_rule 2017-06-23 08:22:11 +02:00
Tobias Kaminsky a99b9c2845 daily dev 20170623 2017-06-23 00:45:31 +02:00
Tobias Kaminsky 198f829eef update dev 2017-06-23 2017-06-23 00:31:54 +02:00
Tobias Kaminsky 56ebf988c1 Merge remote-tracking branch 'nextcloud/transactionTooLarge' into dev 2017-06-23 00:31:02 +02:00
tobiasKaminsky 501830d67b debug code for https://github.com/nextcloud/android/issues/808 2017-06-22 12:36:45 +02:00
tobiasKaminsky ba092cee7b bump to evernote 1.1.10 2017-06-22 09:36:51 +02:00
tobiasKaminsky c4b1382bbf Merge remote-tracking branch 'origin/dev' into dev 2017-06-22 07:31:07 +02:00
tobiasKaminsky 15b47c2025 Merge remote-tracking branch 'remotes/origin/bruteforce' into dev 2017-06-22 07:30:56 +02:00
Tobias Kaminsky 522427427b daily dev 20170622 2017-06-22 00:43:45 +02:00
Tobias Kaminsky 77d22fd9bb update dev 2017-06-22 2017-06-22 00:31:47 +02:00
tobiasKaminsky 343f9bd3da Merge remote-tracking branch 'remotes/origin/contactsBackupUI' into dev 2017-06-21 16:47:08 +02:00
tobiasKaminsky 5a7a6667e7 fix npe if folder on server does not exist 2017-06-21 16:39:13 +02:00
tobiasKaminsky 515297e259 use snapshot 2017-06-21 11:31:43 +02:00
tobiasKaminsky 38d8175cdd use lib branch 2017-06-21 11:09:49 +02:00
tobiasKaminsky 13ac8c6dbf remove version dependency as NC can this in all supported version 2017-06-21 11:08:37 +02:00
tobiasKaminsky 7e909ea6b9 use grey theme if no theming of elements is possible 2017-06-21 10:52:02 +02:00
tobiasKaminsky 8c0e39c66c change ui for public release 2017-06-21 10:01:19 +02:00
tobiasKaminsky 400fc6ac5a show "contacts backup" eithen in drawer or settings 2017-06-21 10:01:18 +02:00
AndyScherzinger 6dd6c989e4 Merge branch 'master' of https://github.com/nextcloud/android into dev 2017-06-21 09:43:25 +02:00
Tobias Kaminsky 69a4d453a6 daily dev 20170621 2017-06-21 00:39:14 +02:00
Tobias Kaminsky bb8ae4e4c8 update dev 2017-06-21 2017-06-21 00:31:05 +02:00
Tobias Kaminsky 41e18d4129 Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-21 00:31:04 +02:00
augustin d43bc03d0b 1089_sharing_with_password_rule: don't ask for authentification when trying to share with too short password but ask for a new 2017-06-19 20:07:26 +02:00
tobiaskaminsky bcc70fda0d set Cache size to 200mb 2017-06-19 16:51:12 +02:00
AndyScherzinger 524f9afaf8 Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	src/main/java/com/owncloud/android/ui/fragment/ExtendedListFragment.java
2017-06-19 13:29:47 +02:00
Tobias Kaminsky 21748b4899 daily dev 20170618 2017-06-18 00:39:16 +02:00
Tobias Kaminsky 28abcad91a update dev 2017-06-18 2017-06-18 00:30:38 +02:00
Tobias Kaminsky c632f3f453 Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-18 00:30:37 +02:00
Tobias Kaminsky ecf148033b daily dev 20170617 2017-06-17 00:40:08 +02:00
Tobias Kaminsky 56bab2e418 update dev 2017-06-17 2017-06-17 00:31:09 +02:00
Tobias Kaminsky f17c0ef04b Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-17 00:31:05 +02:00
tobiasKaminsky 76096d2e64 add image for fdroid 2017-06-16 16:39:26 +02:00
tobiasKaminsky 0d03ed96c0 try for fdroid 2017-06-16 15:07:20 +02:00
Tobias Kaminsky 810559126a daily dev 20170616 2017-06-16 00:39:54 +02:00
Tobias Kaminsky d9bff2a631 update dev 2017-06-16 2017-06-16 00:31:01 +02:00
Tobias Kaminsky fa9add4217 Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-16 00:30:57 +02:00
Tobias Kaminsky 780592fbc6 daily dev 20170615 2017-06-15 00:39:48 +02:00
Tobias Kaminsky 7121523442 update dev 2017-06-15 2017-06-15 00:31:03 +02:00
Tobias Kaminsky 36ce0fd69b Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-15 00:31:01 +02:00
AndyScherzinger a2e5c86db3 Merge branch 'tintingFix' of https://github.com/nextcloud/android into dev 2017-06-14 11:42:17 +02:00
AndyScherzinger 02ab0852e4 Merge branch 'master' of https://github.com/nextcloud/android into dev 2017-06-14 11:42:03 +02:00
Tobias Kaminsky 3b42f3b39d daily dev 20170614 2017-06-14 00:41:10 +02:00
Tobias Kaminsky 672c769790 update dev 2017-06-14 2017-06-14 00:30:55 +02:00
Tobias Kaminsky f6d15dbcd8 Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-14 00:30:51 +02:00
Tobias Kaminsky d898829af2 daily dev 20170613 2017-06-13 00:39:28 +02:00
Tobias Kaminsky 741791f7ef update dev 2017-06-13 2017-06-13 00:30:55 +02:00
Tobias Kaminsky 89d9893434 Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-13 00:30:47 +02:00
Tobias Kaminsky 938cf8c720 update dev 2017-06-12 2017-06-12 00:31:00 +02:00
Tobias Kaminsky 5d0c59593e update dev 2017-06-11 2017-06-11 00:31:18 +02:00
Tobias Kaminsky 8022ea5064 update dev 2017-06-10 2017-06-10 00:31:49 +02:00
Tobias Kaminsky 46631569e9 daily dev 20170609 2017-06-09 00:39:35 +02:00
Tobias Kaminsky a1819de1ee update dev 2017-06-09 2017-06-09 00:30:43 +02:00
Tobias Kaminsky 1bbfd6001f Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-09 00:30:36 +02:00
Tobias Kaminsky 46fab4f07a daily dev 20170608 2017-06-08 00:39:35 +02:00
Tobias Kaminsky 4dec99d87d update dev 2017-06-08 2017-06-08 00:31:18 +02:00
AndyScherzinger eb9337d06e Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	src/main/java/com/owncloud/android/ui/activity/Preferences.java
2017-06-07 13:28:13 +02:00
Tobias Kaminsky fe855d651e update dev 2017-06-07 2017-06-07 00:31:12 +02:00
Tobias Kaminsky 19cebd610b daily dev 20170606 2017-06-06 00:39:08 +02:00
Tobias Kaminsky bd6fae8ff3 update dev 2017-06-06 2017-06-06 00:31:07 +02:00
Tobias Kaminsky 4f9389924e Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-06 00:31:02 +02:00
Tobias Kaminsky 1dd48fc51c daily dev 20170605 2017-06-05 00:41:15 +02:00
Tobias Kaminsky 9d5b55e0a2 update dev 2017-06-05 2017-06-05 00:30:57 +02:00
Tobias Kaminsky b3d3c5b3bc Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-05 00:30:52 +02:00
Tobias Kaminsky c773cbe777 daily dev 20170604 2017-06-04 00:38:38 +02:00
Tobias Kaminsky 72e19b55ad update dev 2017-06-04 2017-06-04 00:30:29 +02:00
Tobias Kaminsky a904dd4dc3 Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-04 00:30:25 +02:00
Tobias Kaminsky c517ca339b daily dev 20170603 2017-06-03 00:40:40 +02:00
Tobias Kaminsky 425cac602c update dev 2017-06-03 2017-06-03 00:30:33 +02:00
Tobias Kaminsky 9b3f1acf89 Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-03 00:30:29 +02:00
Tobias Kaminsky da7cf3a853 daily dev 20170602 2017-06-02 00:38:48 +02:00
Tobias Kaminsky 8c3639762a update dev 2017-06-02 2017-06-02 00:30:44 +02:00
Tobias Kaminsky dd78be073a Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-02 00:30:38 +02:00
Tobias Kaminsky a1db7187f7 daily dev 20170601 2017-06-01 00:45:44 +02:00
Tobias Kaminsky a6d89a97e5 update dev 2017-06-01 2017-06-01 00:31:25 +02:00
Mario Danic 85490f7d44 Merge branch 'master' into dev
Signed-off-by: Mario Danic <[email protected]>

# Conflicts:
#	build.gradle
#	src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java
#	src/main/java/com/owncloud/android/ui/fragment/ExtendedListFragment.java
2017-05-31 22:34:33 +02:00
Tobias Kaminsky 0188e2e33d update dev 2017-05-31 2017-05-31 00:30:39 +02:00
Tobias Kaminsky ff1d344782 update dev 2017-05-30 2017-05-30 00:30:51 +02:00
Tobias Kaminsky fcfaf2bace daily dev 20170529 2017-05-29 00:40:38 +02:00
Tobias Kaminsky cf19728063 update dev 2017-05-29 2017-05-29 00:31:42 +02:00
Tobias Kaminsky f27605dc13 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-29 00:31:33 +02:00
Tobias Kaminsky 617f6e74b6 daily dev 20170528 2017-05-28 00:39:03 +02:00
Tobias Kaminsky cedf0be331 update dev 2017-05-28 2017-05-28 00:30:51 +02:00
Tobias Kaminsky 0e486d84e7 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-28 00:30:45 +02:00
Tobias Kaminsky 6e2cc8f38c daily dev 20170527 2017-05-27 00:39:50 +02:00
Tobias Kaminsky db5ac0206b update dev 2017-05-27 2017-05-27 00:30:36 +02:00
AndyScherzinger 14936b3c45 Merge branch 'master' of https://github.com/nextcloud/android into dev 2017-05-26 17:37:01 +02:00
Tobias Kaminsky a0780b7154 daily dev 20170526 2017-05-26 00:39:53 +02:00
Tobias Kaminsky 3b91dbb335 update dev 2017-05-26 2017-05-26 00:30:57 +02:00
Tobias Kaminsky 4789809df2 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-26 00:30:37 +02:00
Tobias Kaminsky 61178f3532 daily dev 20170525 2017-05-25 00:41:29 +02:00
Tobias Kaminsky d50d8c34c6 update dev 2017-05-25 2017-05-25 00:31:03 +02:00
Tobias Kaminsky 61db8db122 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-25 00:30:52 +02:00
AndyScherzinger 6276e743e2 Merge branch 'master' of https://github.com/nextcloud/android into dev 2017-05-24 15:21:18 +02:00
Tobias Kaminsky f6a2a8def2 daily dev 20170524 2017-05-24 00:42:09 +02:00
Tobias Kaminsky 25d4b54e5c update dev 2017-05-24 2017-05-24 00:32:01 +02:00
AndyScherzinger 940da7325d Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java
#	src/main/java/com/owncloud/android/ui/fragment/ExtendedListFragment.java
2017-05-24 00:16:14 +02:00
AndyScherzinger 39620c105d Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	CHANGELOG.md
#	src/main/AndroidManifest.xml
2017-05-23 23:55:35 +02:00
Tobias Kaminsky cda7b00e84 update dev 2017-05-23 2017-05-23 00:31:04 +02:00
Tobias Kaminsky bfcf6b919b daily dev 20170522 2017-05-22 00:38:44 +02:00
Tobias Kaminsky 134ed43d34 update dev 2017-05-22 2017-05-22 00:31:14 +02:00
Tobias Kaminsky 5a8cd879f1 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-22 00:31:11 +02:00
Tobias Kaminsky 33478d2f7d daily dev 20170521 2017-05-21 00:41:20 +02:00
Tobias Kaminsky 2494c13a66 update dev 2017-05-21 2017-05-21 00:32:16 +02:00
Tobias Kaminsky edd4f7cae5 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-21 00:32:14 +02:00
Tobias Kaminsky 1339acd035 daily dev 20170520 2017-05-20 00:40:38 +02:00
Tobias Kaminsky 32a66b96c2 update dev 2017-05-20 2017-05-20 00:31:20 +02:00
Tobias Kaminsky 7d86c5282d Merge remote-tracking branch 'nextcloud/pinchZoom' into dev 2017-05-20 00:31:07 +02:00
Tobias Kaminsky e2c9dddda8 Merge remote-tracking branch 'nextcloud/searchViewWrongFiles' into dev 2017-05-20 00:30:59 +02:00
AndyScherzinger fffa235b79 Merge branch 'master' of https://github.com/nextcloud/android into dev 2017-05-19 18:42:54 +02:00
Tobias Kaminsky 532b65a66d daily dev 20170519 2017-05-19 00:40:37 +02:00
Tobias Kaminsky 52e91cb72a update dev 2017-05-19 2017-05-19 00:31:04 +02:00
Tobias Kaminsky e43c1b5fec Merge remote-tracking branch 'nextcloud/crashDueToEmptyString' into dev 2017-05-19 00:30:43 +02:00
Tobias Kaminsky 058bb9704a daily dev 20170518 2017-05-18 00:38:39 +02:00
Tobias Kaminsky d747efa134 update dev 2017-05-18 2017-05-18 00:30:46 +02:00
Tobias Kaminsky 8bf2cf8355 Merge remote-tracking branch 'nextcloud/crashDueToEmptyString' into dev 2017-05-18 00:30:31 +02:00
Tobias Kaminsky dbb6d997be update dev 2017-05-17 2017-05-17 15:07:54 +02:00
Tobias Kaminsky 4a8611738c Merge remote-tracking branch 'nextcloud/crashDueToEmptyString' into dev 2017-05-17 15:06:44 +02:00
tobiaskaminsky 55b80312f4 always enable logging on dev 2017-05-17 15:04:02 +02:00
Tobias Kaminsky b76e64b294 daily dev 20170517 2017-05-17 00:44:54 +02:00
Tobias Kaminsky 408646db01 update dev 2017-05-17 2017-05-17 00:32:16 +02:00
AndyScherzinger 7be1cdc2d5 Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	scripts/lint/lint-results.txt
2017-05-16 23:28:00 +02:00
Tobias Kaminsky 39bf645f1c update dev 2017-05-16 2017-05-16 14:27:25 +02:00
tobiaskaminsky 0239d3b955 Merge remote-tracking branch 'remotes/origin/crashDueToEmptyString' into dev 2017-05-16 14:19:58 +02:00
Tobias Kaminsky 702316c444 update dev 2017-05-16 2017-05-16 13:43:26 +02:00
Tobias Kaminsky 88cc730c0e daily dev 20170516 2017-05-16 00:41:06 +02:00
Tobias Kaminsky eb07297f91 update dev 2017-05-16 2017-05-16 00:32:19 +02:00
tobiasKaminsky bbbf55765d fix line wrap 2017-05-15 10:44:02 +02:00
tobiasKaminsky dda2439393 Merge remote-tracking branch 'remotes/origin/logFolder' into dev 2017-05-15 09:12:51 +02:00
Tobias Kaminsky 96cda366cb daily dev 20170515 2017-05-15 00:40:44 +02:00
Tobias Kaminsky 944647dc72 update dev 2017-05-15 2017-05-15 00:32:06 +02:00
Tobias Kaminsky 6f6fe94218 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-15 00:31:58 +02:00
Tobias Kaminsky a04abec2f1 Merge branch 'dev' of github.com:/nextcloud/android into dev 2017-05-15 00:30:09 +02:00
Tobias Kaminsky 0145deb320 daily dev 20170514 2017-05-14 17:59:39 +02:00
AndyScherzinger ac8860e8fd Merge branch 'master' of https://github.com/nextcloud/android into dev 2017-05-13 23:32:14 +02:00
AndyScherzinger 34776e1125 Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	build.gradle
#	src/main/java/com/owncloud/android/ui/activity/ShareActivity.java
#	src/main/java/com/owncloud/android/ui/fragment/EditShareFragment.java
#	src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java
#	src/main/res/values/setup.xml
2017-05-13 16:05:12 +02:00
Tobias Kaminsky 0a2346491b update dev 2017-05-13 2017-05-13 09:04:31 +02:00
Tobias Kaminsky a7fb57daff Merge remote-tracking branch 'nextcloud/audioRotationBug' into dev 2017-05-13 09:04:08 +02:00
Tobias Kaminsky 5e9ba17298 update dev 2017-05-13 2017-05-13 00:31:05 +02:00
Tobias Kaminsky ed5093914d daily dev 20170512 2017-05-12 00:40:21 +02:00
Tobias Kaminsky 744bbe93bc update dev 2017-05-12 2017-05-12 00:31:03 +02:00
Tobias Kaminsky a6d6f88a79 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-12 00:30:41 +02:00
Tobias Kaminsky 28c8dc1613 daily dev 20170511 2017-05-11 00:39:20 +02:00
Tobias Kaminsky b3b8b4c9e1 update dev 2017-05-11 2017-05-11 00:31:09 +02:00
Tobias Kaminsky 5fa5175698 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-11 00:31:07 +02:00
Tobias Kaminsky 919dd1fef8 daily dev 20170510 2017-05-10 00:39:24 +02:00
Tobias Kaminsky af099f17c4 update dev 2017-05-10 2017-05-10 00:31:06 +02:00
Tobias Kaminsky ba9baafbe6 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-10 00:31:02 +02:00
Tobias Kaminsky c450bf1e1a daily dev 20170509 2017-05-09 00:39:29 +02:00
Tobias Kaminsky 94cc2fb38d update dev 2017-05-09 2017-05-09 00:31:01 +02:00
Tobias Kaminsky 31c0bc5cf8 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-09 00:30:57 +02:00
Tobias Kaminsky d89116d7ff daily dev 20170508 2017-05-08 00:40:48 +02:00
Tobias Kaminsky ba0452bb06 update dev 2017-05-08 2017-05-08 00:31:10 +02:00
Tobias Kaminsky baf36f4473 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-08 00:31:09 +02:00
Tobias Kaminsky 52ff0290e6 daily dev 20170507 2017-05-07 00:40:25 +02:00
Tobias Kaminsky aa83e6b41b update dev 2017-05-07 2017-05-07 00:31:24 +02:00
Tobias Kaminsky a0151fee46 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-07 00:31:21 +02:00
Tobias Kaminsky 1b39f35af6 daily dev 20170506 2017-05-06 00:40:14 +02:00
Tobias Kaminsky c6a317cd78 update dev 2017-05-06 2017-05-06 00:30:50 +02:00
Tobias Kaminsky 24417af511 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-06 00:30:46 +02:00
Tobias Kaminsky 0ed4459eac daily dev 20170505 2017-05-05 00:40:40 +02:00
Tobias Kaminsky 89efc52a6b update dev 2017-05-05 2017-05-05 00:31:16 +02:00
Tobias Kaminsky 4bdc3a1667 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-05 00:31:15 +02:00
AndyScherzinger 760c8c5d8f Merge branch 'master' of https://github.com/nextcloud/android into dev 2017-05-04 14:35:04 +02:00
Tobias Kaminsky c63cdcf6ef daily dev 20170504 2017-05-04 00:41:46 +02:00
Tobias Kaminsky 5d0b3559ca update dev 2017-05-04 2017-05-04 00:31:55 +02:00
Tobias Kaminsky 99e8bd3f71 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-04 00:31:49 +02:00
AndyScherzinger 219058770b Merge branch 'federated_sharing_edit_options' of https://github.com/nextcloud/android into dev
# Conflicts:
#	build.gradle
2017-05-03 18:27:09 +02:00
tobiasKaminsky f8dcfefea5 update dev 2017-05-03 2017-05-03 16:26:30 +02:00
tobiasKaminsky f07d88e197 Merge remote-tracking branch 'nextcloud/externalStorage' into dev 2017-05-03 16:25:26 +02:00
AndyScherzinger abb201c1c4 fix codacy warning 2017-05-03 15:00:34 +02:00
AndyScherzinger 1fb07f6692 fix import 2017-05-03 15:00:34 +02:00
AndyScherzinger 74eb71aded adaptes federated shares permission computation 2017-05-03 15:00:33 +02:00
AndyScherzinger acca3b5e08 fix compile error after lib merges
# Conflicts:
#	src/com/owncloud/android/ui/activity/ShareActivity.java
2017-05-03 15:00:33 +02:00
David A. Velasco d14657e493 Remove always-true component in condition, from CR 2017-05-03 15:00:33 +02:00
jabarros ab356b356a Fix var name in comment 2017-05-03 15:00:32 +02:00
jabarros eb581bdda5 Handle create, change and delete options in federated sharing in servers 9.1 or up
# Conflicts:
#	src/com/owncloud/android/ui/fragment/EditShareFragment.java
2017-05-03 15:00:32 +02:00
AndyScherzinger 25eb96ed0f fix codacy warning 2017-05-03 15:00:32 +02:00
AndyScherzinger c1baee06f6 reintroduce account for federated sharing permission 2017-05-03 15:00:31 +02:00
AndyScherzinger 4c3ebdf19f fix import 2017-05-03 15:00:31 +02:00
AndyScherzinger 243e940b22 adaptes federated shares permission computation 2017-05-03 15:00:30 +02:00
AndyScherzinger 86ef6701d3 fix compile error after lib merges
# Conflicts:
#	src/com/owncloud/android/ui/activity/ShareActivity.java
2017-05-03 15:00:30 +02:00
AndyScherzinger 742b803ea8 temp gradle dependency to library PR 2017-05-03 15:00:30 +02:00
AndyScherzinger 3ebef317ad add missing code fragments 2017-05-03 15:00:29 +02:00
David A. Velasco ac5a957ca1 Remove always-true component in condition, from CR 2017-05-03 15:00:29 +02:00
jabarros 0332ce4475 Fix var name in comment 2017-05-03 15:00:29 +02:00
jabarros c85c9904d7 Handle create, change and delete options in federated sharing in servers 9.1 or up
# Conflicts:
#	src/com/owncloud/android/ui/fragment/EditShareFragment.java
2017-05-03 15:00:26 +02:00
AndyScherzinger 55a55940f5 Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	src/main/res/values-fr/strings.xml
2017-05-03 14:45:56 +02:00
Tobias Kaminsky 8da05f4559 update dev 2017-05-03 2017-05-03 00:30:59 +02:00
Tobias Kaminsky dbe750d368 daily dev 20170502 2017-05-02 00:41:13 +02:00
Tobias Kaminsky a3b8019f0a update dev 2017-05-02 2017-05-02 00:31:47 +02:00
AndyScherzinger 7b74ed53ef Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	src/main/res/values/strings.xml
2017-05-01 18:39:17 +02:00
Tobias Kaminsky d45bb6b848 update dev 2017-05-01 2017-05-01 00:31:20 +02:00
Tobias Kaminsky c6c5ad5176 daily dev 20170430 2017-04-30 00:39:46 +02:00
Tobias Kaminsky 92600904a1 update dev 2017-04-30 2017-04-30 00:30:38 +02:00
Tobias Kaminsky 6428ed7c02 Merge remote-tracking branch 'nextcloud/master' into dev 2017-04-30 00:30:34 +02:00
Tobias Kaminsky 78775f143d daily dev 20170429 2017-04-29 00:46:36 +02:00
Tobias Kaminsky b6f0222caa update dev 2017-04-29 2017-04-29 00:32:27 +02:00
Tobias Kaminsky 2fe5a7d284 Merge remote-tracking branch 'nextcloud/master' into dev 2017-04-29 00:32:21 +02:00
AndyScherzinger b321407b77 Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	build.gradle
#	src/main/res/values/strings.xml
2017-04-28 10:37:36 +02:00
Tobias Kaminsky b81c60cbe7 update dev 2017-04-28 2017-04-28 00:30:56 +02:00
Tobias Kaminsky 7431ea337c daily dev 20170427 2017-04-27 00:41:44 +02:00
Tobias Kaminsky 6a715b5a42 update dev 2017-04-27 2017-04-27 00:32:06 +02:00
Tobias Kaminsky 59353923c6 Merge remote-tracking branch 'nextcloud/master' into dev 2017-04-27 00:31:00 +02:00
Tobias Kaminsky 9121d12699 daily dev 20170426 2017-04-26 00:40:21 +02:00
Tobias Kaminsky 88dcd1f244 update dev 2017-04-26 2017-04-26 00:30:58 +02:00
Tobias Kaminsky 88e755f560 Merge remote-tracking branch 'nextcloud/master' into dev 2017-04-26 00:30:58 +02:00
Tobias Kaminsky 870cb1f794 daily dev 20170425 2017-04-25 00:48:21 +02:00
Tobias Kaminsky cbcef968e3 update dev 2017-04-25 2017-04-25 00:31:31 +02:00
AndyScherzinger 40edf50f86 Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	src/main/res/values-de-rDE/strings.xml
2017-04-24 08:47:37 +02:00
AndyScherzinger 0e9193594b Merge branch 'dev' of https://github.com/nextcloud/android into dev 2017-04-24 08:46:58 +02:00
Tobias Kaminsky c2c44c4bdf update dev 2017-04-24 2017-04-24 00:30:53 +02:00
Tobias Kaminsky 25ade84d89 update dev 2017-04-23 2017-04-23 00:32:00 +02:00
Tobias Kaminsky 3a9f25f496 update dev 2017-04-22 2017-04-22 00:40:32 +02:00
AndyScherzinger 1d50abafd4 remove unused image 2017-04-21 20:18:39 +02:00
AndyScherzinger ffdd318c5f Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	build.gradle
2017-04-21 20:08:58 +02:00
AndyScherzinger 82cec264f0 Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	build.gradle
#	src/main/AndroidManifest.xml
#	src/main/java/com/owncloud/android/authentication/PassCodeManager.java
#	src/main/java/com/owncloud/android/ui/activity/FingerprintActivity.java
#	src/main/java/com/owncloud/android/ui/activity/Preferences.java
#	src/main/res/layout/fingerprintlock.xml
#	src/main/res/values/setup.xml
#	src/main/res/values/strings.xml
2017-04-21 00:50:39 +02:00
Tobias Kaminsky f8f495d7fd update dev 2017-04-21 2017-04-21 00:32:05 +02:00
Tobias Kaminsky 3f9ccf96b0 update dev 2017-04-20 2017-04-20 00:31:17 +02:00
Tobias Kaminsky 9dc0271b99 daily dev 20170419 2017-04-19 00:38:19 +02:00
Tobias Kaminsky f5a9c4067e update dev 2017-04-19 2017-04-19 00:31:01 +02:00
Tobias Kaminsky aac405c430 Merge remote-tracking branch 'nextcloud/master' into dev 2017-04-19 00:30:56 +02:00
Tobias Kaminsky e93f404eb0 daily dev 20170418 2017-04-18 16:51:34 +02:00
Tobias Kaminsky fa0c0a4edb update dev 2017-04-18 2017-04-18 16:42:11 +02:00
Tobias Kaminsky bc94b966fd Merge remote-tracking branch 'nextcloud/master' into dev 2017-04-18 16:42:04 +02:00
Tobias Kaminsky 9b95160214 Merge remote-tracking branch 'nextcloud/master' into dev 2017-04-18 00:31:03 +02:00
Tobias Kaminsky 62e1aeba2c Merge remote-tracking branch 'nextcloud/master' into dev 2017-04-17 00:37:27 +02:00
Tobias Kaminsky 17c0322715 daily dev 20170415 2017-04-15 00:37:34 +02:00
Tobias Kaminsky c1871306f3 update dev 2017-04-15 2017-04-15 00:30:49 +02:00
Tobias Kaminsky bd8ad58cfc Merge remote-tracking branch 'nextcloud/master' into dev 2017-04-15 00:30:35 +02:00
Tobias Kaminsky b020cc51b7 daily dev 20170414 2017-04-14 00:37:03 +02:00
Tobias Kaminsky c77ffe2afb update dev 2017-04-14 2017-04-14 00:31:21 +02:00
tobiasKaminsky 50ba869b91 Merge remote-tracking branch 'remotes/origin/dev-base' into dev 2017-04-13 15:10:39 +02:00
tobiasKaminsky 991a84ad5e reverting app id to beta as fdroid needs this 2017-04-13 15:09:07 +02:00
Tobias Kaminsky af889a40ee update dev 2017-04-13 2017-04-13 14:50:21 +02:00
Tobias Kaminsky 7b4c1a9338 Merge remote-tracking branch 'nextcloud/dev-base' into dev 2017-04-13 14:49:06 +02:00
tobiasKaminsky 34bf82e59c enable logger 2017-04-13 14:48:06 +02:00
tobiasKaminsky ff67766cb6 build and use only generic release 2017-04-13 14:38:18 +02:00
Tobias Kaminsky a4e5a6f0e5 daily dev build 2017-04-13 14:29:46 +02:00
tobiasKaminsky 78afffb0c4 add date to commit messages 2017-04-13 14:25:48 +02:00
Tobias Kaminsky 9e5f3b8ca5 update dev 2017-04-13 14:18:52 +02:00
Tobias Kaminsky 111ebaf4bd Merge remote-tracking branch 'nextcloud/dev-base' into dev 2017-04-13 14:17:25 +02:00
tobiasKaminsky 2656b810f3 improved changelog output 2017-04-13 14:14:02 +02:00
Tobias Kaminsky 00f9ec9451 Merge remote-tracking branch 'nextcloud/dev-base' into dev 2017-04-13 10:04:21 +02:00
tobiasKaminsky 9cebde80af add dev-base to check 2017-04-13 10:02:16 +02:00
tobiasKaminsky d9362b73c1 new location of androidManifest 2017-04-13 09:59:33 +02:00
Tobias Kaminsky 2744da47b8 update dev 2017-04-13 09:56:01 +02:00
tobiasKaminsky 793c516f1f update dev 2017-04-13 09:27:52 +02:00
tobiasKaminsky 59f33abf53 Merge remote-tracking branch 'nextcloud/fix_file_modification_date_on_upload' into dev 2017-04-13 09:27:49 +02:00
tobiasKaminsky fe3746b61f Merge remote-tracking branch 'Flole998/master' into dev 2017-04-13 09:27:47 +02:00
tobiasKaminsky 0b6fbbc79f inital state of dev base 2017-04-13 09:14:19 +02:00
AndyScherzinger 836d7f670b fixes after rebase due to project structure changes 2017-04-05 19:21:02 +02:00
Flole de78b22e66 Fixed crashes when OEM removes Fingerprintmanager from system 2017-04-05 19:09:28 +02:00
Flole a287f8ecaf Removed useless check and double inverse 2017-04-05 19:09:26 +02:00
Flole998 4b21bf3687 Update strings.xml 2017-04-05 19:09:25 +02:00
Flole998 efb29b0fe9 Update strings.xml 2017-04-05 19:09:16 +02:00
Flole 9cfa1dafbe Fixing issues mentioned in review. 2017-04-05 19:09:14 +02:00
Flole def417dbd5 Made fingerprintmanager private 2017-04-05 19:08:59 +02:00
Flole f6fb0a5cf0 Fixed some issues 2017-04-05 19:08:58 +02:00
Flole 072a45bdd6 Fixed some issues 2017-04-05 19:08:56 +02:00
Flole 2c32f1dc37 Fixed some issues 2017-04-05 19:08:55 +02:00
Flole efedc11aaa Added Fingerprint Support 2017-04-05 19:08:54 +02:00
Flole 8c9bc8e595 Added Fingerprint Support 2017-04-05 19:08:16 +02:00
AndyScherzinger 638df22080 fix rebase 2017-04-05 11:28:19 +02:00
AndyScherzinger 9b60ca7798 use lib master since lib pr got merged 2017-04-05 11:28:19 +02:00
davigonz 03d0c9fa4a update to snapshot of lib version 2017-04-05 11:28:18 +02:00
davigonz 1d7a427bd4 Read modification time from the file in local filesystem and set it to the file
# Conflicts:
#	src/com/owncloud/android/operations/UploadFileOperation.java
2017-04-05 11:28:18 +02:00
tobiasKaminsky 46f7e0af4e setting / snackbar is working 2017-03-19 10:24:12 +01:00
tobiasKaminsky 1e653d5eaf wip snackbar 2017-03-18 07:14:36 +01:00
tobiasKaminsky 8f291127ba wip saving behaviour 2017-03-05 08:38:27 +01:00
tobiasKaminsky f862099e20 Merge remote-tracking branch 'remotes/origin/master' into resizedImages 2017-03-04 12:22:55 +01:00
tobiasKaminsky b25fe94af0 wip snackbars 2017-03-04 12:13:08 +01:00
tobiasKaminsky 18a35a2586 fix some codacy issues 2017-02-13 12:55:02 +01:00
tobiasKaminsky 2d76982d47 Merge remote-tracking branch 'remotes/origin/master' into resizedImages 2017-02-13 12:48:55 +01:00
AndyScherzinger e8a92a0031 Merge branch 'master' of https://github.com/nextcloud/android into resizedImages 2017-01-21 14:36:10 +01:00
AndyScherzinger 816f532417 Merge branch 'master' of https://github.com/nextcloud/android into resizedImages 2017-01-10 22:26:51 +01:00
AndyScherzinger 65be7efa2d Merge branch 'master' of https://github.com/nextcloud/android into resizedImages 2017-01-04 18:24:32 +01:00
tobiasKaminsky d6115cbf85 Merge remote-tracking branch 'remotes/origin/master' into resizedImages
# Conflicts:
#	src/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
2016-12-29 14:37:53 +01:00
tobiasKaminsky d1d99c5e3f send resized image also on filelist 2016-12-28 07:55:48 +01:00
tobiasKaminsky b203c48c51 Merge remote-tracking branch 'remotes/origin/master' into resizedImages 2016-11-16 12:29:26 +01:00
tobiasKaminsky cbc44a6014 Merge remote-tracking branch 'remotes/origin/master' into resizedImages 2016-09-18 09:13:16 +02:00
tobiasKaminsky 69661e6951 Merge remote-tracking branch 'remotes/origin/master' into resizedImages 2016-09-17 16:25:39 +02:00
tobiasKaminsky 9a2ae6cb0b fix bug: resized image was always used indepentent of download state 2016-09-03 12:15:06 +02:00
tobiasKaminsky 9f86064b81 Merge remote-tracking branch 'origin/resizedImages' into resizedImages 2016-08-01 21:56:21 +02:00
tobiasKaminsky 73da2a1d14 added second parameter to thumbnail generation task 2016-08-01 21:43:18 +02:00
Andy Scherzinger 93bb169c6c GPLv3 2016-08-01 11:31:37 +02:00
tobiasKaminsky cf1e7013f4 minor code enhancements 2016-07-23 10:23:54 +02:00
tobiasKaminsky 8258843ae1 Merge remote-tracking branch 'remotes/origin/resizedImages' into resizedImages2 2016-07-23 10:15:50 +02:00
tobiasKaminsky 67baae4441 Merge remote-tracking branch 'remotes/origin/master' into resizedImages2 2016-07-23 10:12:39 +02:00
tobiasKaminsky a5509797bc resized images are now fetched via gallery app 2016-07-23 09:46:59 +02:00
tobiasKaminsky 3ff2d58a25 Merge remote-tracking branch 'remotes/origin/master' into storeResizedImagesOnDeletion 2016-07-21 20:25:31 +02:00
tobiasKaminsky e3d43e754d wip 2016-06-25 13:38:55 +02:00
tobiasKaminsky bcb55a0e4c Merge remote-tracking branch 'remotes/origin/master' into resizedImages 2016-06-25 13:30:23 +02:00
tobiasKaminsky a9fbec2934 revert wip 2016-05-13 18:17:49 +02:00
tobiasKaminsky 140e923982 update build gradle 2016-05-13 18:16:10 +02:00
tobiasKaminsky 680cf56746 correct indentation 2016-05-13 18:15:12 +02:00
tobiasKaminsky 7162aa65f4 revert exporting FileContentProvider 2016-05-13 18:14:32 +02:00
tobiasKaminsky a6e16a4e71 wip 2016-04-10 18:54:28 +02:00
tobiasKaminsky eac4e49ceb fixed showing thumbnails in local file list (uploader) 2016-01-03 13:36:29 +01:00
tobiasKaminsky 90382c5889 show thumbnail while waiting for resized image 2015-11-13 16:41:05 +01:00
tobiasKaminsky ce841a3c4f Merge remote-tracking branch 'remotes/upstream/master' into resizedImagesMaster 2015-11-05 22:04:57 +01:00
tobiasKaminsky d5ee0ef158 fixed #1244 2015-11-05 21:58:02 +01:00
tobiasKaminsky d06a4b155d updated for future use with later PRs 2015-11-02 22:09:29 +01:00
tobiasKaminsky 3ddb48b647 exported must be set to true 2015-11-02 10:24:01 +01:00
tobiasKaminsky 957484588e fix #1230 2015-10-31 11:03:15 +01:00
tobiasKaminsky cf22541dd5 fixed storing thumbnails by correct imageKey 2015-10-31 08:30:13 +01:00
tobiasKaminsky 61338bbb0c fixed rotating resized image 2015-10-31 08:09:49 +01:00
tobiasKaminsky 788ebbcdab reverted library 2015-07-01 20:13:02 +02:00
tobiasKaminsky ce35d6448e Merge remote-tracking branch 'upstream/develop' into resizedImages 2015-07-01 19:16:42 +02:00
tobiasKaminsky a1bc147849 resized image is loaded instead of full sized image. 2015-05-18 21:01:17 +02:00
3648 changed files with 111378 additions and 236384 deletions

No files matched your search

-28
View File
@@ -1,28 +0,0 @@
codecov:
branch: master
ci:
- drone.nextcloud.com
notify:
after_n_builds: 2
coverage:
precision: 2
round: down
range: "70...100"
status:
project:
default:
threshold: 0.5
comment:
layout: "header, diff, changes, uncovered, tree"
behavior: default
require_changes: true
after_n_builds: 2
github_checks:
annotations: false
ignore:
- "app/src/main/res/values*/*"
-16
View File
@@ -1,16 +0,0 @@
FROM ubuntu:focal
ARG DEBIAN_FRONTEND=noninteractive
ENV ANDROID_HOME=/usr/lib/android-sdk
RUN apt-get update -y
RUN apt-get install -y unzip wget openjdk-11-jdk vim
RUN wget https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip -O /tmp/commandlinetools.zip
RUN cd /tmp && unzip commandlinetools.zip
RUN mkdir -p /usr/lib/android-sdk/cmdline-tools/
RUN cd /tmp/ && mv cmdline-tools/ latest/ && mv latest/ /usr/lib/android-sdk/cmdline-tools/
RUN mkdir /usr/lib/android-sdk/licenses/
RUN chmod -R 755 /usr/lib/android-sdk/
RUN mkdir -p $HOME/.gradle
RUN echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
-5
View File
@@ -1,5 +0,0 @@
# Instructions
1. Start a DevContainer either on GitHub Codespaces or locally in VSCode.
2. Accept all licenses by running `yes | /usr/lib/android-sdk/cmdline-tools/latest/bin/sdkmanager --licenses`.
3. You can now build the app using `./gradlew clean build`.
-3
View File
@@ -1,3 +0,0 @@
ANDROID_HOME=/usr/lib/android-sdk
JAVA_OPTS="-Xmx8192M"
GRADLE_OPTS="-Dorg.gradle.daemon=true"
-4
View File
@@ -1,4 +0,0 @@
{
"name": "NextcloudAndroid",
"dockerFile": "Dockerfile",
}
+43 -161
View File
@@ -1,167 +1,49 @@
---
kind: pipeline
type: docker
name: tests-stable
steps:
- name: gplay
image: ghcr.io/nextcloud/continuous-integration-android8:3
privileged: true
environment:
LOG_USERNAME:
from_secret: LOG_USERNAME
LOG_PASSWORD:
from_secret: LOG_PASSWORD
GIT_USERNAME:
from_secret: GIT_USERNAME
GITHUB_TOKEN:
from_secret: GIT_TOKEN
pipeline:
test:
image: nextcloudci/android:android-18
commands:
- scripts/checkIfRunDrone.sh $DRONE_PULL_REQUEST || exit 0
- emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g app/src/main/res/values/setup.xml
- ./gradlew assembleGplayDebugAndroidTest
- scripts/wait_for_emulator.sh
- ./gradlew installGplayDebugAndroidTest
- scripts/wait_for_server.sh "server"
- scripts/deleteOldComments.sh "stable" "IT" $DRONE_PULL_REQUEST
- ./gradlew createGplayDebugCoverageReport -Pcoverage -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.owncloud.android.utils.ScreenshotTest || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable" "IT" $DRONE_PULL_REQUEST
# uncomment gplay for Gplay, Modified only
- sh -c "if [ '$FLAVOUR' != 'Generic' ]; then sed -i '/com.google.*.gms/s/^.*\\/\\///g' build.gradle; fi"
# - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 20M
# - emulator -avd test -no-window &
# - ./wait_for_emulator.sh
# build app and assemble APK, in debug mode
- ./gradlew assemble${FLAVOUR}
# run all the instrumented tests of app module - DISABLED until we get an stable setup for Espresso in Travis
# - ./gradlew connectedDebugAndroidTest --info
# install app, then assemble and install instrumented tests of app module
# - ./gradlew :install${FLAVOUR}Debug
# - ./gradlew :install${FLAVOUR}DebugAndroidTest
# run sample instrumented unit test
# TODO fails because test runner is not available
#- adb shell am instrument -w -e debug false -e class com.owncloud.android.datamodel.OCFileUnitTest com.owncloud.android.test/android.support.test.runner.AndroidJUnitRunner
services:
- name: server
image: ghcr.io/nextcloud/continuous-integration-shallow-server:latest # also change in updateScreenshots.sh
environment:
EVAL: true
SERVER_VERSION: 'stable25'
commands:
- BRANCH="$SERVER_VERSION" /usr/local/bin/initnc.sh
- echo 127.0.0.1 server >> /etc/hosts
- su www-data -c "OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1"
- su www-data -c "OC_PASS=user2 php /var/www/html/occ user:add --password-from-env --display-name='User Two' user2"
- su www-data -c "OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3"
- su www-data -c "php /var/www/html/occ user:setting user2 files quota 1G"
- su www-data -c "php /var/www/html/occ group:add users"
- su www-data -c "php /var/www/html/occ group:adduser users user1"
- su www-data -c "php /var/www/html/occ group:adduser users user2"
- su www-data -c "git clone -b $SERVER_VERSION https://github.com/nextcloud/activity.git /var/www/html/apps/activity/"
- su www-data -c "php /var/www/html/occ app:enable activity"
- su www-data -c "git clone -b $SERVER_VERSION https://github.com/nextcloud/text.git /var/www/html/apps/text/"
- su www-data -c "php /var/www/html/occ app:enable text"
- su www-data -c "git clone -b $SERVER_VERSION https://github.com/nextcloud/end_to_end_encryption.git /var/www/html/apps/end_to_end_encryption/"
- su www-data -c "php /var/www/html/occ app:enable end_to_end_encryption"
- /usr/local/bin/run.sh
- ANDROID_TARGET=android-24
- ANDROID_ABI=armeabi-v7a
- LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:/opt/android-sdk-linux/tools/lib64/gles_mesa/
trigger:
branch:
- master
- stable-*
event:
- push
- pull_request
---
kind: pipeline
type: docker
name: tests-master
lint:
image: nextcloudci/android:android-18
commands:
# needs gplay
- sed -i '/com.google.*.gms/s/^.*\\/\\///g' build.gradle
- export BRANCH=$(scripts/lint/getBranchName.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST)
- scripts/lint/lint-up-wrapper.sh $GIT_USERNAME $GIT_TOKEN $BRANCH $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER
secrets: [ GIT_USERNAME, GIT_TOKEN, LOG_USERNAME, LOG_PASSWORD ]
when:
matrix:
FLAVOUR: Modified
steps:
- name: gplay
image: ghcr.io/nextcloud/continuous-integration-android8:3
privileged: true
environment:
LOG_USERNAME:
from_secret: LOG_USERNAME
LOG_PASSWORD:
from_secret: LOG_PASSWORD
GIT_USERNAME:
from_secret: GIT_USERNAME
GITHUB_TOKEN:
from_secret: GIT_TOKEN
commands:
- scripts/checkIfRunDrone.sh $DRONE_PULL_REQUEST || exit 0
- emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g app/src/main/res/values/setup.xml
- scripts/runCombinedTest.sh $DRONE_PULL_REQUEST $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER
matrix:
FLAVOUR:
- Generic
- Gplay
- Modified
services:
- name: server
image: ghcr.io/nextcloud/continuous-integration-shallow-server:latest # also change in updateScreenshots.sh
environment:
EVAL: true
commands:
- /usr/local/bin/initnc.sh
- echo 127.0.0.1 server >> /etc/hosts
- su www-data -c "OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1"
- su www-data -c "OC_PASS=user2 php /var/www/html/occ user:add --password-from-env --display-name='User Two' user2"
- su www-data -c "OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3"
- su www-data -c "php /var/www/html/occ user:setting user2 files quota 1G"
- su www-data -c "php /var/www/html/occ group:add users"
- su www-data -c "php /var/www/html/occ group:adduser users user1"
- su www-data -c "php /var/www/html/occ group:adduser users user2"
- su www-data -c "git clone -b master https://github.com/nextcloud/activity.git /var/www/html/apps/activity/"
- su www-data -c "php /var/www/html/occ app:enable activity"
- su www-data -c "git clone -b main https://github.com/nextcloud/text.git /var/www/html/apps/text/"
- su www-data -c "php /var/www/html/occ app:enable text"
- su www-data -c "git clone -b master https://github.com/nextcloud/end_to_end_encryption/ /var/www/html/apps/end_to_end_encryption/"
- su www-data -c "php /var/www/html/occ app:enable end_to_end_encryption"
- /usr/local/bin/run.sh
trigger:
branch:
- master
- stable-*
event:
- push
- pull_request
---
kind: pipeline
type: docker
name: allScreenshots
steps:
- name: runAllScreenshots
image: ghcr.io/nextcloud/continuous-integration-android8:3
privileged: true
environment:
GIT_USERNAME:
from_secret: GIT_USERNAME
GITHUB_TOKEN:
from_secret: GIT_TOKEN
LOG_USERNAME:
from_secret: LOG_USERNAME
LOG_PASSWORD:
from_secret: LOG_PASSWORD
commands:
- emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g app/src/main/res/values/setup.xml
- sed -i s'#showOnlyFailingTestsInReports = ciBuild#showOnlyFailingTestsInReports = false#' build.gradle
- scripts/wait_for_emulator.sh
- scripts/runAllScreenshotCombinations noCI false
- scripts/screenshotSummary.sh
- name: notify
image: drillster/drone-email
settings:
port: 587
from: [email protected]
recipients_only: true
username:
from_secret: EMAIL_USERNAME
password:
from_secret: EMAIL_PASSWORD
recipients:
from_secret: EMAIL_RECIPIENTS
host:
from_secret: EMAIL_HOST
when:
event:
- push
status:
- failure
branch:
- master
- stable-*
trigger:
event:
- cron
cron:
- allscreenshots
branches: master
-45
View File
@@ -1,45 +0,0 @@
# .editorconfig
# see http://EditorConfig.org
# This is the file in the root of the project.
# For sub folders you can have other files that override only some settings.
# For these, this settings should be false.
root=true
[*]
max_line_length=120
# use spaces, not tabs.
indent_style=space
indent_size=4
[*.yml]
max_line_length=150
charset=utf-8
# Trimming is good for consistency
trim_trailing_whitespace=true
# I've seen cases where a missing new_line was ignored on *nix systems.
# Never again with this setting!
insert_final_newline=true
[*.properties]
# Exception for Java properties files should be encoded latin1 (aka iso8859-1)
charset=latin1
[*.{cmd,bat}]
# batch files on Windows should stay with CRLF
end_of_line=crlf
[*.md]
trim_trailing_whitespace=false
[.drone.yml]
indent_size=2
[*.{kt,kts}]
# IDE does not follow this Ktlint rule strictly, but the default ordering is pretty good anyway, so let's ditch it
ktlint_standard_import-ordering = disabled
ij_kotlin_allow_trailing_comma = false
ij_kotlin_allow_trailing_comma_on_call_site = false
-3
View File
@@ -1,3 +0,0 @@
firstPRMergeComment: >
Thanks for your first pull request and welcome to the community!
Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/android/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22
-2
View File
@@ -1,2 +0,0 @@
# You can add one username per supported platform and one custom link
custom: https://nextcloud.com/include/
-132
View File
@@ -1,132 +0,0 @@
name: Bug report
description: Create a report to help us improve
labels: [ "bug" ]
body:
- type: checkboxes
id: before-posting
attributes:
label: "⚠️ Before posting ⚠️"
description: All conditions are **required**. Your issue can be closed if these are checked incorrectly.
options:
- label: This is a **bug**, not a question or an enhancement.
required: true
- label: I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
required: true
- label: I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
required: true
- label: I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
required: true
- type: textarea
id: repro-steps
attributes:
label: Steps to reproduce
description: |
What are the steps to reproduce this issue? Please be as specific as possible.
If you can't reproduce it, please add an explanation.
placeholder: |
1.
2.
3.
validations:
required: true
- type: textarea
id: expected-behaviour
attributes:
label: Expected behaviour
description: Tell us what should happen.
validations:
required: true
- type: textarea
id: actual-behaviour
attributes:
label: Actual behaviour
description: Tell us what happens instead, as detailed as possible.
validations:
required: true
# disabled because try.nextcloud.com is not working
# - type: dropdown
# id: repro-on-try
# attributes:
# label: Can you reproduce this problem on try.nextcloud.com?
# description: |
# 1. Create a demo account in [try.nextcloud.com](https://try.nextcloud.com). You'll be logged in automatically.
# 2. Got to Settings -> Security and create a new app password
# 3. Log in to this account with this app password by choosing "Alternative login with app token" during the login process.
# options:
# - "Yes"
# - "No"
# - Not applicable (explain in "additional information")
# validations:
# required: true
- type: markdown
attributes:
value: "## Environment information"
- type: input
id: android-version
attributes:
label: Android version
validations:
required: true
- type: input
id: device-model
attributes:
label: Device brand and model
validations:
required: true
- type: dropdown
id: stock-or-custom
attributes:
label: Stock or custom OS?
options:
- Stock
- Custom (explain in "additional information")
validations:
required: true
- type: input
id: app-version
attributes:
label: Nextcloud android app version
description: Check the _About_ section in the Settings screen
validations:
required: true
- type: input
id: server-version
attributes:
label: Nextcloud server version
description: Check _About_ in the top web menu (top right corner)
validations:
required: true
- type: dropdown
id: reverse-proxy
attributes:
label: Using a reverse proxy?
options:
- "I don't know"
- "Yes"
- "No"
validations:
required: true
- type: markdown
attributes:
value: "## Logs"
- type: textarea
id: android-logs
attributes:
label: Android logs
description: |
Please **drop a log file** here.
Log file can be obtained:
- At `storage/emulated/0/data/nextcloud.log` on beta or dev versions
- By using [`logcat`](https://github.com/nextcloud/android#getting-debug-info-via-logcat-mag) otherwise
If you are unable to post logs, explain why in "Additional information"
- type: textarea
id: server-logs
attributes:
label: Server error logs
description: Paste your server error logs here if available. Will be automatically formatted.
render: bash
- type: textarea
id: additional-info
attributes:
label: Additional information
description: Enter any additional information here
-5
View File
@@ -1,5 +0,0 @@
blank_issues_enabled: false
contact_links:
- name: Community Support and Help
url: https://help.nextcloud.com/
about: For questions and general help
-20
View File
@@ -1,20 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
labels: enhancement
---
### Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
### Describe the solution you'd like
A clear and concise description of what you want to happen.
### Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
### Additional context
Add any other context or screenshots about the feature request here.
**NOTE:** Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate
-18
View File
@@ -1,18 +0,0 @@
# synced from @nextcloud/android-config
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: gradle
directory: "/"
schedule:
interval: daily
time: "03:00"
timezone: Europe/Paris
rebase-strategy: "disabled"
open-pull-requests-limit: 10
labels:
- 3. to review
- dependencies
-11
View File
@@ -1,11 +0,0 @@
<!--
TESTING
Writing tests is very important. Please try to write some tests for your PR.
If you need help, please do not hesitate to ask in this PR for help.
Unit tests: https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md#unit-tests
Instrumented tests: https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md#instrumented-tests
UI tests: https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md#ui-tests
-->
- [ ] Tests written, or not not needed
-53
View File
@@ -1,53 +0,0 @@
name: "Analysis"
on:
pull_request:
branches: [ master, stable-* ]
push:
branches: [ master, stable-* ]
permissions:
pull-requests: write
contents: write
concurrency:
group: analysis-wrapper-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
analysis:
runs-on: ubuntu-latest
steps:
- name: Setup variables
id: get-vars
run: |
if [ -z "$GITHUB_HEAD_REF" ]; then
# push
echo "branch=$GITHUB_REF_NAME" >> "$GITHUB_OUTPUT"
echo "pr=$GITHUB_RUN_ID" >> "$GITHUB_OUTPUT"
echo "repo=${{ github.repository }}" >> "$GITHUB_OUTPUT"
else
# pull request
echo "branch=$GITHUB_HEAD_REF" >> "$GITHUB_OUTPUT"
echo "pr=${{ github.event.pull_request.number }}" >> "$GITHUB_OUTPUT"
echo "repo=${{ github.event.pull_request.head.repo.full_name }}" >> "$GITHUB_OUTPUT"
fi
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
repository: ${{ steps.get-vars.outputs.repo }}
ref: ${{ steps.get-vars.outputs.branch }}
- name: Set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
with:
distribution: "temurin"
java-version: 17
- name: Install dependencies
run: |
python3 -m pip install defusedxml
- name: Run analysis wrapper
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
scripts/analysis/analysis-wrapper.sh ${{ steps.get-vars.outputs.branch }} ${{ secrets.LOG_USERNAME }} ${{ secrets.LOG_PASSWORD }} $GITHUB_RUN_NUMBER ${{ steps.get-vars.outputs.pr }}
-31
View File
@@ -1,31 +0,0 @@
name: "Assemble"
on:
pull_request:
branches: [ master, stable-* ]
# Declare default permissions as read only.
permissions: read-all
concurrency:
group: assemble-flavors-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
flavor:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
flavor: [ Generic, Gplay, Huawei ]
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
- name: set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3
with:
distribution: "temurin"
java-version: 17
- name: Build ${{ matrix.flavor }}
run: |
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" >> gradle.properties
./gradlew assemble${{ matrix.flavor }}
@@ -1,30 +0,0 @@
# synced from @nextcloud/android-config
name: Auto approve dependabot
on:
pull_request_target:
branches:
- main
- master
- stable-*
permissions:
contents: read
concurrency:
group: dependabot-approve-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
auto-approve:
name: Auto approve dependabot
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
permissions:
# needed to approve the PR
pull-requests: write
steps:
- uses: hmarr/auto-approve-action@44888193675f29a83e04faf4002fa8c0b537b1e4 # v3.2.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
-29
View File
@@ -1,29 +0,0 @@
# synced from @nextcloud/android-config
name: Auto approve sync
on:
pull_request_target:
branches:
- master
- main
types:
- opened
- reopened
- synchronize
- labeled
concurrency:
group: sync-approve-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
pull-requests: write
jobs:
auto-approve:
name: Auto approve sync
runs-on: ubuntu-latest
if: ${{ contains(github.event.pull_request.labels.*.name, 'sync') && github.actor == 'nextcloud-android-bot' }}
steps:
- uses: hmarr/auto-approve-action@44888193675f29a83e04faf4002fa8c0b537b1e4 # v3.2.1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
-29
View File
@@ -1,29 +0,0 @@
name: Check
on:
pull_request:
branches: [ master, stable-* ]
# Declare default permissions as read only.
permissions: read-all
concurrency:
group: check-kotlin-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
task: [ detekt, spotlessKotlinCheck ]
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
- name: Set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3
with:
distribution: "temurin"
java-version: 17
- name: Check ${{ matrix.task }}
run: ./gradlew ${{ matrix.task }}
-49
View File
@@ -1,49 +0,0 @@
# synced from @nextcloud/android-config
name: "CodeQL"
on:
push:
branches: [ "master", "main", "stable-*" ]
pull_request:
branches: [ "master", "main" ]
schedule:
- cron: '24 18 * * 3'
permissions:
contents: read
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'java' ]
steps:
- name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- 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@83f0fe6c4988d98a455712a27f0255212bba9bd4 # v2.3.6
with:
languages: ${{ matrix.language }}
- name: Set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
with:
distribution: "temurin"
java-version: 17
- name: Assemble
run: |
mkdir -p "$HOME/.gradle"
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
./gradlew assembleDebug
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@83f0fe6c4988d98a455712a27f0255212bba9bd4 # v2.3.6
-51
View File
@@ -1,51 +0,0 @@
# 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
name: Rebase command
on:
issue_comment:
types: created
permissions:
contents: read
jobs:
rebase:
runs-on: ubuntu-latest
permissions:
contents: none
# On pull requests and if the comment starts with `/rebase`
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@ca08ebd5dc95aa0cd97021e9708fcd6b87138c9b # v3.0.1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "+1"
- name: Checkout the latest code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
- name: Automatic Rebase
uses: cirrus-actions/rebase@b87d48154a87a85666003575337e27b8cd65f691 # 1.8
env:
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@ca08ebd5dc95aa0cd97021e9708fcd6b87138c9b # v3.0.1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "-1"
-36
View File
@@ -1,36 +0,0 @@
# synced from @nextcloud/android-config
name: "Detect new java files"
on:
pull_request:
branches: [ master, main, stable-* ]
permissions: read-all
concurrency:
group: detect-new-java-files-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
detectNewJavaFiles:
runs-on: ubuntu-latest
steps:
- id: file_changes
uses: trilom/file-changes-action@a6ca26c14274c33b15e6499323aac178af06ad4b # v1.2.4
with:
output: ','
- name: Detect new java files
run: |
if [ -z '${{ steps.file_changes.outputs.files_added }}' ]; then
echo "No new files added"
exit 0
fi
new_java=$(echo '${{ steps.file_changes.outputs.files_added }}' | tr ',' '\n' | grep '\.java$' | cat)
if [ -n "$new_java" ]; then
# shellcheck disable=SC2016
printf 'New java files detected:\n```\n%s\n```\n' "$new_java" | tee "$GITHUB_STEP_SUMMARY"
exit 1
else
echo "No new java files detected"
exit 0
fi
-21
View File
@@ -1,21 +0,0 @@
name: "Detect snapshot"
on:
pull_request:
branches: [ master, stable-* ]
# Declare default permissions as read only.
permissions: read-all
concurrency:
group: detect-snapshot-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
detectSnapshot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
- name: Detect SNAPSHOT
run: scripts/analysis/detectSNAPSHOT.sh
@@ -1,22 +0,0 @@
# synced from @nextcloud/android-config
name: "Validate Gradle Wrapper"
on:
pull_request:
branches: [ master, stable-* ]
push:
branches: [ master, stable-* ]
# Declare default permissions as read only.
permissions: read-all
concurrency:
group: validate-gradle-wrapper-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- uses: gradle/wrapper-validation-action@8d49e559aae34d3e0eb16cde532684bc9702762b # v1.0.6
-50
View File
@@ -1,50 +0,0 @@
name: "QA"
on:
pull_request:
branches: [ master, stable-* ]
permissions:
pull-requests: write
contents: read
concurrency:
group: qa-build-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
qa:
runs-on: ubuntu-latest
steps:
- name: Check if secrets are available
run: echo "::set-output name=ok::${{ secrets.KS_PASS != '' }}"
id: check-secrets
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
- name: set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
with:
distribution: "temurin"
java-version: 17
- name: Install NDK and cmake
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
run: |
source ndk.env
/usr/local/lib/android/sdk/tools/bin/sdkmanager "ndk;${NDK_VERSION}" "cmake;${CMAKE_VERSION}"
- name: Build QA
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
env:
KS_PASS: ${{ secrets.KS_PASS }}
KEY_PASS: ${{ secrets.KEY_PASS }}
LOG_USERNAME: ${{ secrets.LOG_USERNAME }}
LOG_PASSWORD: ${{ secrets.LOG_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
sed -i "/qa/,/\}/ s/versionCode .*/versionCode ${{github.event.number}} /" app/build.gradle
sed -i "/qa/,/\}/ s/versionName .*/versionName \"${{github.event.number}}\"/" app/build.gradle
./gradlew assembleQaDebug
$(find /usr/local/lib/android/sdk/build-tools/*/apksigner | sort | tail -n1) sign --ks-pass pass:$KS_PASS --key-pass pass:$KEY_PASS --ks-key-alias key0 --ks scripts/QA_keystore.jks app/build/outputs/apk/qa/debug/qa-debug-*.apk
scripts/uploadArtifact.sh $LOG_USERNAME $LOG_PASSWORD ${{github.event.number}} ${{github.event.number}}
-42
View File
@@ -1,42 +0,0 @@
# synced from @nextcloud/android-config
name: Scorecard supply-chain security
on:
branch_protection_rule:
schedule:
- cron: '32 23 * * 4'
push:
branches: [ "main", "master" ]
# Declare default permissions as read only.
permissions: read-all
concurrency:
group: scorecard-supply-chain-security-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
steps:
- name: "Checkout code"
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@80e868c13c90f172d68d1f4501dee99e2479f7af # v2.1.3
with:
results_file: results.sarif
results_format: sarif
publish_results: false
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@83f0fe6c4988d98a455712a27f0255212bba9bd4 # v2.3.6
with:
sarif_file: results.sarif
-96
View File
@@ -1,96 +0,0 @@
name: "Screenshot Test"
on:
pull_request:
branches: [ master, stable-* ]
permissions:
contents: read
pull-requests: write
concurrency:
group: screenshot-test-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
screenshot:
runs-on: macOS-latest
strategy:
fail-fast: false
matrix:
scheme: [ Light ]
color: [ blue ]
api-level: [ 27 ]
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
- name: Gradle cache
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
- name: AVD cache
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-${{ matrix.api-level }}
- uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3
with:
distribution: "temurin"
java-version: 17
- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b # v2
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
arch: x86
sdcard-path-or-size: 100M
target: google_apis
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -skin 500x833
script: echo "Generated AVD snapshot for caching."
- name: Configure gradle daemon
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
echo "org.gradle.caching=true" >> $HOME/.gradle/gradle.properties
- name: Build gplay
run: ./gradlew assembleGplayDebug
- name: Delete old comments
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ always() }}
run: scripts/deleteOldComments.sh "${{ matrix.color }}-${{ matrix.scheme }}" "Screenshot" ${{github.event.number}}
- name: Run screenshot tests
uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b # v2
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
arch: x86
sdcard-path-or-size: 100M
target: google_apis
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -skin 500x833
script: ./gradlew uninstallAll gplayDebugExecuteScreenshotTests -Dorg.gradle.jvmargs="--add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.nio.channels=ALL-UNNAMED --add-exports java.base/sun.nio.ch=ALL-UNNAMED" -Pandroid.testInstrumentationRunnerArguments.annotation=com.owncloud.android.utils.ScreenshotTest -Pandroid.testInstrumentationRunnerArguments.COLOR=${{ matrix.color }} -Pandroid.testInstrumentationRunnerArguments.DARKMODE=${{ matrix.scheme }}
- name: upload failing results
if: ${{ failure() }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} "${{ matrix.color }}-${{ matrix.scheme }}" "Screenshot" ${{github.event.number}}
- name: Archive Espresso results
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
if: ${{ always() }}
with:
name: Report-${{ matrix.color }}-${{ matrix.scheme }}
path: app/build/reports
retention-days: 4
-28
View File
@@ -1,28 +0,0 @@
# synced from @nextcloud/android-config
name: 'Close stale issues'
on:
schedule:
- cron: '0 0 * * *'
# Declare default permissions as read only.
permissions: read-all
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0
with:
days-before-stale: 28
days-before-close: 14
days-before-pr-close: -1
only-labels: 'bug,needs info'
exempt-issue-labels: 'no-stale'
stale-issue-message: >-
This bug report did not receive an update in the last 4 weeks.
Please take a look again and update the issue with new details,
otherwise the issue will be automatically closed in 2 weeks. Thank you!
exempt-all-pr-milestones: true
-52
View File
@@ -1,52 +0,0 @@
name: Unit tests
on:
pull_request:
branches: [ master, stable-* ]
push:
branches: [ master, stable-* ]
permissions:
contents: read
pull-requests: write
concurrency:
group: unit-tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
with:
distribution: "temurin"
java-version: 17
- name: Delete old comments
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ always() }}
run: scripts/deleteOldComments.sh "test" "Unit" ${{github.event.number}}
- name: Run unit tests with coverage
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
with:
arguments: jacocoTestGplayDebugUnitTest
- name: Upload failing results
if: ${{ failure() }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} "test" "Unit" ${{github.event.number}}
- name: Upload coverage to codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unit
fail_ci_if_error: true
- name: Upload jacoco artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
with:
name: test-results
path: app/build/reports/tests/testGplayDebugUnitTest/
+3 -23
View File
@@ -1,7 +1,6 @@
# built application files
*.apk
*.ap_
*.aab
# files for the dex VM
*.dex
@@ -19,6 +18,7 @@ target/
# Local configuration files (sdk path, etc)
local.properties
tests/local.properties
lint.xml
# Mac .DS_Store files
.DS_Store
@@ -29,28 +29,8 @@ tests/proguard-project.txt
# Android Studio and Gradle specific entries
.gradle
.idea/*
!.idea/codeStyles/
.idea
*.iml
build
/gradle.properties
.attach_pid*
fastlane/Fastfile
*.hprof
# fastlane specific
**/fastlane/report.xml
# deliver temporary files
**/fastlane/Preview.html
# snapshot generated screenshots
**/fastlane/screenshots
# scan temporary files
**/fastlane/test_output
/fastlane/vendor/
/.bundle/
/fastlane/.bundle
# python
**/__pycache__/
+4
View File
@@ -0,0 +1,4 @@
[submodule "ocdoc"]
path = user_manual/ocdoc
url = https://github.com/nextcloud/documentation
branch = master
-204
View File
@@ -1,204 +0,0 @@
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="99" />
<option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="99" />
<option name="PACKAGES_TO_USE_IMPORT_ON_DEMAND">
<value />
</option>
<option name="IMPORT_LAYOUT_TABLE">
<value>
<package name="android" withSubpackages="true" static="false" />
<emptyLine />
<package name="com" withSubpackages="true" static="false" />
<emptyLine />
<package name="junit" withSubpackages="true" static="false" />
<emptyLine />
<package name="net" withSubpackages="true" static="false" />
<emptyLine />
<package name="org" withSubpackages="true" static="false" />
<emptyLine />
<package name="java" withSubpackages="true" static="false" />
<emptyLine />
<package name="javax" withSubpackages="true" static="false" />
<emptyLine />
<package name="" withSubpackages="true" static="false" />
<emptyLine />
<package name="" withSubpackages="true" static="true" />
<emptyLine />
</value>
</option>
<option name="RIGHT_MARGIN" value="120" />
<JavaCodeStyleSettings>
<option name="IMPORT_LAYOUT_TABLE">
<value>
<package name="android" withSubpackages="true" static="false" />
<emptyLine />
<package name="com" withSubpackages="true" static="false" />
<emptyLine />
<package name="junit" withSubpackages="true" static="false" />
<emptyLine />
<package name="net" withSubpackages="true" static="false" />
<emptyLine />
<package name="org" withSubpackages="true" static="false" />
<emptyLine />
<package name="java" withSubpackages="true" static="false" />
<emptyLine />
<package name="javax" withSubpackages="true" static="false" />
<emptyLine />
<package name="" withSubpackages="true" static="false" />
<emptyLine />
<package name="" withSubpackages="true" static="true" />
<emptyLine />
</value>
</option>
</JavaCodeStyleSettings>
<JetCodeStyleSettings>
<option name="PACKAGES_TO_USE_STAR_IMPORTS">
<value>
<package name="kotlinx.android.synthetic" alias="false" withSubpackages="true" />
</value>
</option>
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</JetCodeStyleSettings>
<MarkdownNavigatorCodeStyleSettings>
<option name="RIGHT_MARGIN" value="120" />
</MarkdownNavigatorCodeStyleSettings>
<codeStyleSettings language="JAVA">
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
<option name="ALIGN_MULTILINE_METHOD_BRACKETS" value="true" />
<option name="WRAP_COMMENTS" value="true" />
<option name="IF_BRACE_FORCE" value="3" />
<option name="DOWHILE_BRACE_FORCE" value="3" />
<option name="WHILE_BRACE_FORCE" value="3" />
<option name="FOR_BRACE_FORCE" value="3" />
<option name="FIELD_ANNOTATION_WRAP" value="0" />
</codeStyleSettings>
<codeStyleSettings language="Markdown">
<option name="RIGHT_MARGIN" value="120" />
</codeStyleSettings>
<codeStyleSettings language="XML">
<indentOptions>
<option name="CONTINUATION_INDENT_SIZE" value="4" />
</indentOptions>
<arrangement>
<rules>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:android</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:id</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:name</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>name</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>style</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
<order>ANDROID_ATTRIBUTE_ORDER</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>.*</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
</rules>
</arrangement>
</codeStyleSettings>
<codeStyleSettings language="kotlin">
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
<option name="LINE_COMMENT_AT_FIRST_COLUMN" value="false" />
<option name="LINE_COMMENT_ADD_SPACE" value="true" />
<option name="KEEP_BLANK_LINES_IN_DECLARATIONS" value="1" />
<option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="0" />
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
<indentOptions>
<option name="CONTINUATION_INDENT_SIZE" value="4" />
</indentOptions>
</codeStyleSettings>
</code_scheme>
</component>
-5
View File
@@ -1,5 +0,0 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
</state>
</component>
-7
View File
@@ -1,7 +0,0 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="ktlint" />
<inspection_tool class="KotlinUnusedImport" enabled="true" level="ERROR" enabled_by_default="true" />
<inspection_tool class="RedundantSemicolon" enabled="true" level="ERROR" enabled_by_default="true" />
</profile>
</component>
-6
View File
@@ -1,6 +0,0 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="PROJECT_PROFILE" value="ktlint" />
<version value="1.0" />
</settings>
</component>
+7 -11
View File
@@ -4,7 +4,8 @@ version: 2
always_pending:
title_regex: '(WIP|wip)'
labels:
- 1. developing
- 1. to develop
- 2. developing
# custom message that will be used for the GitHub status
explanation: 'This PR is a work in progress...'
@@ -14,27 +15,22 @@ group_defaults:
ignored: true
approve_by_comment:
enabled: true
approve_regex: '^(Approved|:shipit:|:\+1:|LGTM|Merge)'
approve_regex: '^(Approved|:shipit:|:\+1:|LGTM)'
reject_regex: '^(Rejected|:-1:)'
reset_on_push:
enabled: false
enabled: true
reset_on_reopened:
enabled: true
conditions:
labels:
exclude:
- dependencies
groups:
code-review:
required: 1
required: 2
reject_value: -99
users:
- AndyScherzinger
- tobiasKaminsky
- mario
- przybylski
- ardevd
- przybylski
design-review:
conditions:
@@ -45,5 +41,5 @@ groups:
required: 1
reject_value: -99
users:
- jancborchardt
- jancborchardt
- eppfel
+5 -6
View File
@@ -1,10 +1,9 @@
[main]
host = https://www.transifex.com
[o:nextcloud:p:nextcloud:r:android]
file_filter = app/src/main/res/values-<lang>/strings.xml
source_file = app/src/main/res/values/strings.xml
[nextcloud.android]
file_filter = src/main/res/values-<lang>/strings.xml
source_file = src/main/res/values/strings.xml
type = ANDROID
source_lang = en
type = ANDROID
lang_map = en_SG: en-rSG, es_PA: es-rPA, mr_IN: mr-rIN, cs_CZ: cs-rCZ, vi_VN: vi-rVN, fr_MC: fr-rMC, it_CH: it-rCH, ta_LK: ta-rLK, kk_KZ: kk-rKZ, mn_CN: mn-rCN, mt_MT: mt-rMT, sma_SE: sma-rSE, si_LK: si-rLK, pl_PL: pl-rPL, de_AT: de-rAT, ii_CN: ii-rCN, hi_IN: hi-rIN, ar_BH: ar-rBH, ar_JO: ar-rJO, es_NI: es-rNI, quz_BO: quz-rBO, sr_CS: sr-rCS, es_CO: es-rCO, es_GT: es-rGT, ml_IN: ml-rIN, rm_CH: rm-rCH, zh_CN.GB2312: zh-rBG, hr_BA: hr-rBA, se_FI: se-rFI, tn_ZA: tn-rZA, tzm_DZ: tzm-rDZ, en_ZA: en-rZA, es_419: b+es+419, en_IN: en-rIN, my_MM: my, se_NO: se-rNO, am_ET: am-rET, arn_CL: arn-rCL, en_MY: en-rMY, es_HN: es-rHN, es_UY: es-rUY, en_AU: en-rAU, id: in, ku_IQ: ku-rIQ, pt_BR: pt-rBR, xh_ZA: xh-rZA, co_FR: co-rFR, en_BZ: en-rBZ, ha_NG: ha-rNG, or_IN: or-rIN, dsb_DE: dsb-rDE, fo_FO: fo-rFO, fr_CA: fr-rCA, ky_KG: ky-rKG, ar_LB: ar-rLB, es_AR: es-rAR, is_IS: is-rIS, ar_KW: ar-rKW, en_GB: b+en+001, fy_NL: fy-rNL, ar_QA: ar-rQA, hy_AM: hy-rAM, mn_MN: mn-rMN, nl_BE: nl-rBE, ar_OM: ar-rOM, as_IN: as-rIN, cy_GB: cy-rGB, he: iw, it_IT: it-rIT, nso_ZA: nso-rZA, ba_RU: ba-rRU, wo_SN: wo-rSN, lb_LU: lb-rLU, quz_EC: quz-rEC, uz_UZ: uz-rUZ, zh_TW: zh-rTW, ar_MA: ar-rMA, es_CL: es-rCL, es_VE: es-rVE, da_DK: da-rDK, et_EE: et-rEE, af_ZA: af-rZA, en@pirate: en-rpirate, ga_IE: ga-rIE, kok_IN: kok-rIN, ur_PK: ur-rPK, tg_TJ: tg-rTJ, ne_NP: ne-rNP, es_CR: es-rCR, fil_PH: fil-rPH, fr_CH: fr-rCH, gl_ES: gl-rES, se_SE: se-rSE, sr_BA: sr-rBA, es_DO: es-rDO, ms_MY: ms-rMY, oc_FR: oc-rFR, syr_SY: syr-rSY, ug_CN: ug-rCN, en_CA: en-rCA, en_JM: en-rJM, ko_KR: ko-rKR, be_BY: be-rBY, zh_HK: zh-rHK, nb_NO: nb-rNO, fi_FI: fi-rFI, fr_FR: fr-rFR, ar_SA: ar-rSA, az_AZ: az-rAZ, he_IL: he-rIL, zh_CN: zh-rCN, bn_BD: bn-rBD, el_GR: el-rGR, en_PH: en-rPH, sr@latin: sr-rSP, br_FR: br-rFR, ta_IN: ta-rIN, hu_HU: hu-rHU, lt_LT: lt-rLT, ar_AE: ar-rAE, en_ZW: en-rZW, ar_TN: ar-rTN, ka_GE: ka-rGE, en_TT: en-rTT, mi_NZ: mi-rNZ, zu_ZA: zu-rZA, fa_IR: fa-rIR, fr_LU: fr-rLU, lo_LA: lo-rLA, ms_BN: ms-rBN, rw_RW: rw-rRW, sl_SI: sl-rSI, tt_RU: tt-rRU, de_LI: de-rLI, es_EC: es-rEC, ps_AF: ps-rAF, id_ID: id-rID, smn_FI: smn-rFI, bg_BG: bg-rBG, lv_LV: lv-rLV, te_IN: te-rIN, iu_CA: iu-rCA, sms_FI: sms-rFI, es_PE: es-rPE, gd_GB: gd-rGB, hr_HR: hr-rHR, moh_CA: moh-rCA, smj_SE: smj-rSE, ar_LY: ar-rLY, de_LU: de-rLU, es_BO: es-rBO, sq_AL: sq-rAL, ar_SY: ar-rSY, tr_TR: tr-rTR, sr_RS: sr-rRS, sv_SE: sv-rSE, kl_GL: kl-rGL, quz_PE: quz-rPE, de_DE: de-rDE, sv_FI: sv-rFI, tk_TM: tk-rTM, bo_CN: bo-rCN, gsw_FR: gsw-rFR, pt_PT: pt-rPT, dv_MV: dv-rMV, uk_UA: uk-rUA, ar_YE: ar-rYE, zh_SG: zh-rSG, sw_KE: sw-rKE, en_IE: en-rIE, en_US: en-rUS, es_SV: es-rSV, qut_GT: qut-rGT, th_TH: th-rTH, ar_DZ: ar-rDZ, gu_IN: gu-rIN, kn_IN: kn-rIN, mk_MK: mk-rMK, es_MX: es-rMX, ig_NG: ig-rNG, smj_NO: smj-rNO, bn_IN: bn-rIN, de_CH: de-rCH, sk_SK: sk-rSK, es_PR: es-rPR, yo_NG: yo-rNG, sma_NO: sma-rNO, sa_IN: sa-rIN, en_NZ: en-rNZ, ja_JP: ja-rJP, pa_IN: pa-rIN, es_PY: es-rPY, nn_NO: nn-rNO, ar_EG: ar-rEG, bs_BA: bs-rBA, eu_ES: eu-rES, fr_BE: fr-rBE, km_KH: km-rKH, ru_RU: ru-rRU, sah_RU: sah-rRU, ca_ES: ca-rES, sr_ME: sr-rME, ro_RO: ro-rRO, prs_AF: prs-rAF, zh_MO: zh-rMO, es_ES: es-rES, hsb_DE: hsb-rDE, nl_NL: nl-rNL, ar_IQ: ar-rIQ
lang_map = af_ZA: af-rZA, am_ET: am-rET, ar_AE: ar-rAE, ar_BH: ar-rBH, ar_DZ: ar-rDZ, ar_EG: ar-rEG, ar_IQ: ar-rIQ, ar_JO: ar-rJO, ar_KW: ar-rKW, ar_LB: ar-rLB, ar_LY: ar-rLY, ar_MA: ar-rMA, ar_OM: ar-rOM, ar_QA: ar-rQA, ar_SA: ar-rSA, ar_SY: ar-rSY, ar_TN: ar-rTN, ar_YE: ar-rYE, arn_CL: arn-rCL, as_IN: as-rIN, az_AZ: az-rAZ, ba_RU: ba-rRU, be_BY: be-rBY, bg_BG: bg-rBG, bn_BD: bn-rBD, bn_IN: bn-rIN, bo_CN: bo-rCN, br_FR: br-rFR, bs_BA: bs-rBA, ca_ES: ca-rES, co_FR: co-rFR, cs_CZ: cs-rCZ, cy_GB: cy-rGB, da_DK: da-rDK, de_AT: de-rAT, de_CH: de-rCH, de_DE: de-rDE, de_LI: de-rLI, de_LU: de-rLU, dsb_DE: dsb-rDE, dv_MV: dv-rMV, el_GR: el-rGR, en_AU: en-rAU, en_BZ: en-rBZ, en_CA: en-rCA, en_GB: en-rGB, en_IE: en-rIE, en_IN: en-rIN, en_JM: en-rJM, en_MY: en-rMY, en_NZ: en-rNZ, en_PH: en-rPH, en_SG: en-rSG, en_TT: en-rTT, en_US: en-rUS, en_ZA: en-rZA, en_ZW: en-rZW, en@pirate: en-rpirate, es_AR: es-rAR, es_BO: es-rBO, es_CL: es-rCL, es_CO: es-rCO, es_CR: es-rCR, es_DO: es-rDO, es_EC: es-rEC, es_ES: es-rES, es_GT: es-rGT, es_HN: es-rHN, es_MX: es-rMX, es_NI: es-rNI, es_PA: es-rPA, es_PE: es-rPE, es_PR: es-rPR, es_PY: es-rPY, es_SV: es-rSV, es_US: es-rUS, es_UY: es-rUY, es_VE: es-rVE, et_EE: et-rEE, eu_ES: eu-rES, fa_IR: fa-rIR, fi_FI: fi-rFI, fil_PH: fil-rPH, fo_FO: fo-rFO, fr_BE: fr-rBE, fr_CA: fr-rCA, fr_CH: fr-rCH, fr_FR: fr-rFR, fr_LU: fr-rLU, fr_MC: fr-rMC, fy_NL: fy-rNL, ga_IE: ga-rIE, gd_GB: gd-rGB, gl_ES: gl-rES, gsw_FR: gsw-rFR, gu_IN: gu-rIN, ha_NG: ha-rNG, he_IL: he-rIL, hi_IN: hi-rIN, hr_BA: hr-rBA, hr_HR: hr-rHR, hsb_DE: hsb-rDE, hu_HU: hu-rHU, hy_AM: hy-rAM, id_ID: id-rID, ig_NG: ig-rNG, ii_CN: ii-rCN, is_IS: is-rIS, it_CH: it-rCH, it_IT: it-rIT, iu_CA: iu-rCA, ja_JP: ja-rJP, ka_GE: ka-rGE, kk_KZ: kk-rKZ, kl_GL: kl-rGL, km_KH: km-rKH, kn_IN: kn-rIN, ko_KR: ko-rKR, kok_IN: kok-rIN, ku_IQ: ku-rIQ, ky_KG: ky-rKG, lb_LU: lb-rLU, lo_LA: lo-rLA, lt_LT: lt-rLT, lv_LV: lv-rLV, mi_NZ: mi-rNZ, mk_MK: mk-rMK, ml_IN: ml-rIN, mn_CN: mn-rCN, mn_MN: mn-rMN, moh_CA: moh-rCA, mr_IN: mr-rIN, ms_BN: ms-rBN, ms_MY: ms-rMY, my_MM: my, mt_MT: mt-rMT, nb_NO: nb-rNO, ne_NP: ne-rNP, nl_BE: nl-rBE, nl_NL: nl-rNL, nn_NO: nn-rNO, nso_ZA: nso-rZA, oc_FR: oc-rFR, or_IN: or-rIN, pa_IN: pa-rIN, pl_PL: pl-rPL, prs_AF: prs-rAF, ps_AF: ps-rAF, pt_BR: pt-rBR, pt_PT: pt-rPT, qut_GT: qut-rGT, quz_BO: quz-rBO, quz_EC: quz-rEC, quz_PE: quz-rPE, rm_CH: rm-rCH, ro_RO: ro-rRO, ru_RU: ru-rRU, rw_RW: rw-rRW, sa_IN: sa-rIN, sah_RU: sah-rRU, se_FI: se-rFI, se_NO: se-rNO, se_SE: se-rSE, si_LK: si-rLK, sk_SK: sk-rSK, sl_SI: sl-rSI, sma_NO: sma-rNO, sma_SE: sma-rSE, smj_NO: smj-rNO, smj_SE: smj-rSE, smn_FI: smn-rFI, sms_FI: sms-rFI, sq_AL: sq-rAL, sr_BA: sr-rBA, sr_CS: sr-rCS, sr_ME: sr-rME, sr_RS: sr-rRS, sr@latin: sr-rSP, sv_FI: sv-rFI, sv_SE: sv-rSE, sw_KE: sw-rKE, syr_SY: syr-rSY, ta_IN: ta-rIN, ta_LK: ta-rLK, te_IN: te-rIN, tg_TJ: tg-rTJ, th_TH: th-rTH, tk_TM: tk-rTM, tn_ZA: tn-rZA, tr_TR: tr-rTR, tt_RU: tt-rRU, tzm_DZ: tzm-rDZ, ug_CN: ug-rCN, uk_UA: uk-rUA, ur_PK: ur-rPK, uz_UZ: uz-rUZ, vi_VN: vi-rVN, wo_SN: wo-rSN, xh_ZA: xh-rZA, yo_NG: yo-rNG, zh_CN: zh-rCN, zh_CN.GB2312:zh-rBG, zh_HK: zh-rHK, zh_MO: zh-rMO, zh_SG: zh-rSG, zh_TW: zh-rTW, zu_ZA: zu-rZA
+380 -491
View File
File diff suppressed because it is too large. Load diff
-9
View File
@@ -1,9 +0,0 @@
In the Nextcloud community, participants from all over the world come together to create Free Software for a free internet. This is made possible by the support, hard work and enthusiasm of thousands of people, including those who create and use Nextcloud software.
Our code of conduct offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.
The Code of Conduct is shared by all contributors and users who engage with the Nextcloud team and its community services. It presents a summary of the shared values and “common sense” thinking in our community.
You can find our full code of conduct on our website: https://nextcloud.com/code-of-conduct/
Please, keep our CoC in mind when you contribute! That way, everyone can be a part of our community in a productive, positive, creative and fun way.
+48 -353
View File
@@ -1,53 +1,40 @@
# [Nextcloud](https://nextcloud.com) Android app
[![irc](https://img.shields.io/badge/IRC-%23nextcloud%20on%20freenode-orange.svg)](https://webchat.freenode.net/?channels=nextcloud)
[![irc](https://img.shields.io/badge/IRC-%23nextcloud--mobile%20on%20freenode-blue.svg)](https://webchat.freenode.net/?channels=nextcloud-mobile)
# Index
1. [Guidelines](#guidelines)
1. [Issue reporting](#issue-reporting)
1. [Labels](#labels)
1. [Pull request](#pull-request)
1. [Issue](#issue)
1. [Bug workflow](#bug-workflow)
1. [Contributing to Source Code](#contributing-to-source-code)
1. [Developing process](#developing-process)
1. [Branching model](#branching-model)
1. [Android Studio formatter setup](#android-studio-formatter-setup)
1. [Build variants](#build-variants)
1. [Git hooks](#git-hooks)
1. [Contribution process](#contribution-process)
1. [Fork and download android repository](#fork-and-download-android-repository)
1. [Create pull request](#create-pull-request)
1. [Create another pull request](#create-another-pull-request)
1. [Backport pull request](#backport-pull-request)
1. [Pull requests that also need changes on library](#pull-requests-that-also-need-changes-on-library)
1. [Adding new files](#adding-new-files)
1. [Testing](#testing)
1. [File naming](#file-naming)
1. [Menu files](#menu-files)
1. [Translations](#translations)
1. [Engineering practices](#engineering-practices)
1. [Approach to technical debt](#approach-to-technical-debt)
1. [Dependency injection](#dependency-injection)
1. [Custom platform APIs](#custom-platform-apis)
1. [Testing](#testing)
1. [Releases](#releases)
1. [Types](#types)
1. [Stable](#stable)
1. [Release Candidate](#release-candidate)
1. [Dev](#dev)
1. [Version Name and number](#version-name-and-number)
1. [Stable / Release candidate](#stable-release-candidate)
1. [Dev](#dev)
1. [Release cycle](#release-cycle)
1. [Release Process](#release-process)
1. [Stable Release](#stable-release)
1. [Release Candidate Release](#release-candidate-release)
1. [Development Dev](#development-dev)
1. Guidelines
1. Issue reporting
1. Labels
1. PR
1. Issue
1. Contributing to Source Code
1. Developing process
1. Android Studio formatter setup
1. Contribution process
1. Fork and download android/master repository
1. Create pull request
1. Create another pull request
1. Translations
1. Releases
1. Types
1. Stable
1. Release Candidate
1. Dev
1. Version Name and number
1. Release cycle
1. Release Process
1. Stable
1. Release Candidate
1. Development Dev
# Guidelines
## Issue reporting
* [Report the issue](https://github.com/nextcloud/android/issues/new/choose) and choose bug report or feature request. The template includes all the information we need to track down the issue.
* [Report the issue](https://github.com/nextcloud/android/issues/new) using our [template][template], it includes all the information we need to track down the issue.
* This repository is *only* for issues within the Nextcloud Android app code. Issues in other components should be reported in their own repositories, e.g. [Nextcloud core](https://github.com/nextcloud/core/issues)
* Search the [existing issues](https://github.com/nextcloud/android/issues) first, it's likely that your issue was already reported.
If your issue appears to be a bug, and hasn't been reported, open a new issue.
@@ -69,7 +56,6 @@ If your issue appears to be a bug, and hasn't been reported, open a new issue.
### Bug workflow
Every bug should be triaged in approved/needs info in a given time.
* approved: at least one other is able to reproduce it
* needs info: something unclear, or not able to reproduce
* if no response within 1 months, bug will be closed
@@ -85,23 +71,13 @@ New contributions are added under AGPL version 3.
We are all about quality while not sacrificing speed so we use a very pragmatic workflow.
* create an issue with feature request
* discuss it with other developers
* discuss it with other developers
* create mockup if necessary
* must be approved --> label approved
* after that no conceptual changes!
* develop code
* create [pull request](https://github.com/nextcloud/android/pulls)
* to assure the quality of the app, any PR gets reviewed, approved and tested by [two developers](https://github.com/nextcloud/android/blob/master/.pullapprove.yml#L29) before it will be merged to master
### Branching model
![branching model](/doc/branching.png "Branching Model")
* All contributions bug fix or feature PRs target the ```master``` branch
* Feature releases will always be based on ```master```
* Bug fix releases will always be based on their respective feature-release-bug-fix-branches
* Bug fixes relevant for the most recent _and_ released feature (e.g. ```2.0.0```) or bugfix (e.g. ```2.0.1```) release will be backported to the respective bugfix branch (e.g. ```2.0.x``` or ```2.1.x```)
* Hot fixes not relevant for an upcoming feature release but the latest release can target the bug fix branch directly
* to assure the quality of the app, any PR gets reviewed, approved and tested by [two developers](https://github.com/nextcloud/android/blob/master/MAINTAINERS) before it will be merged to master
### Android Studio formatter setup
Our formatter setup is rather simple:
@@ -113,33 +89,26 @@ Our formatter setup is rather simple:
### Build variants
There are three build variants
* generic: no Google Stuff, used for FDroid
* gplay: with Google Stuff (Push notification), used for Google Play Store
* versionDev: based on master and library master, available as direct download and FDroid
### Git hooks
We provide git hooks to make development process easier for both the developer and the reviewers.
To install them, just run:
```bash
./gradlew installGitHooks
```
* gplay: with Google Stuff (Push notification) and Analytics disabled, used for Google Play Store
* modified: custom, with Google Stuff and Analytics enabled, used for branded releases
## Contribution process
* Contribute your code in the branch 'master'. It will give us a better chance to test your code before merging it with stable code.
* For your first contribution start a pull request on master.
### Fork and download android repository:
### 1. Fork and download android/master repository:
* Please follow [SETUP.md](https://github.com/nextcloud/android/blob/master/SETUP.md) to setup Nextcloud Android app work environment.
### Create pull request:
* Commit your changes locally. Remember to sign off your commits (`git commit -sm 'Your commit message'`).
### 2. Create pull request:
* Commit your changes locally: ```git commit -a```
* Push your changes to your GitHub repo: ```git push```
* Browse to <https://github.com/YOURGITHUBNAME/android/pulls> and issue pull request
* Browse to https://github.com/YOURGITHUBNAME/android/pulls and issue pull request
* Enter description and send pull request.
### Create another pull request:
### 3. Create another pull request:
To make sure your new pull request does not contain commits which are already contained in previous PRs, create a new branch which is a clone of upstream/master.
* ```git fetch upstream```
@@ -148,281 +117,9 @@ To make sure your new pull request does not contain commits which are already co
* Push branch to server: ```git push -u origin name_of_local_master_branch```
* Use GitHub to issue PR
### Backport pull request:
Use backport-bot via "/backport to stable-version", e.g. "/backport to stable-3.7".
This will automatically add "backport-request" label to PR and bot will create a new PR to targeted branch once the base PR is merged.
If automatic backport fails, it will create a comment.
### Pull requests that also need changes on library
For speeding up developing, we do use a master snapshot of nextcloud-library, provided by jitpack.io.
This means that if a breaking change is merged on library, master branch of the app will fail.
To limit this risk please follow this approach:
- on app PR: first use a reference to your library branch in build.gradle: ext -> androidLibraryVersion, e.g. androidLibraryVersion = "changeSearch-SNAPSHOT"
- on library PR: use label "client change required" to indicate that this is breaking change. This will prevent GitHub from merging it.
Once both PRs are reviewed and ready to merge:
- on library PR: remove label and merge it (for a short time now master cannot be built!)
- on app PR: change androidLibraryVersion back to "master-SNAPSHOT"
- wait for CI and then merge
With this approach the "downtime" of not building master is limited to the timestamp between merge lib PR and merging app PR, which is only limited by CI.
### Adding new files
If you create a new file it needs to contain a license header. We encourage you to use the same license (AGPL3+) as we do.
Copyright of Nextcloud GmbH is optional.
Source code of library:
```java
/* Nextcloud Android Library is available under MIT license
*
* @author Your Name
* Copyright (C) 2019 Your Name
* Copyright (C) 2019 Nextcloud GmbH
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
*/
```
Source code of app:
```java
/*
* Nextcloud Android client application
*
* @author Your Name
* Copyright (C) 2019 Your Name
* Copyright (C) 2019 Nextcloud GmbH
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
```
XML (layout) file:
```xml
<!--
Nextcloud Android client application
@author Your Name
Copyright (C) 2019 Your Name
Copyright (C) 2019 Nextcloud GmbH
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
```
### Testing
- testing is very important, but is lacking a lot on this project. Starting with 2020 we aim to write tests for every
new pull request.
- Code coverage can be found [here](https://codecov.io/gh/nextcloud/android).
#### Unit tests
- small, isolated tests, with no need of Android SDK
- code coverage can be directly shown via right click on test and select "Run Test with Coverage"
#### Instrumented tests
- tests to see larger code working in correct way
- tests that require parts of Android SDK
- best to avoid server communication, see https://github.com/nextcloud/android/pull/3624
- run all tests ```./gradlew createGplayDebugCoverageReport -Pcoverage=true```
- run selective test class: ```./gradlew createGplayDebugCoverageReport -Pcoverage=true
-Pandroid.testInstrumentationRunnerArguments.class=com.owncloud.android.datamodel.FileDataStorageManagerTest```
- run multiple test classes:
- separate by ","
- ```./gradlew createGplayDebugCoverageReport -Pcoverage=true -Pandroid.testInstrumentationRunnerArguments.class=com.owncloud.android.datamodel.FileDataStorageManagerTest,com.nextcloud.client.FileDisplayActivityIT```
- run one test in class: ```./gradlew createGplayDebugCoverageReport -Pcoverage=true
-Pandroid.testInstrumentationRunnerArguments.class=com.owncloud.android.datamodel.FileDataStorageManagerTest#saveNewFile```
- JaCoCo results are shown as html: firefox ./build/reports/coverage/gplay/debug/index.html
#### UI tests
We use [shot](https://github.com/Karumi/Shot) for taking screenshots and compare them
- check screenshots: ```./gradlew gplayDebugExecuteScreenshotTests ```
- update/generate new screenshots: ```scripts/updateScreenshots.sh ```
- in this script are samples how to only execute a given class/test
- this will fire up docker & emulator to ensure that screenshots look the same
- creating own UI comparison tests:
- add IntentsTestRule for launching activity directly:
```java
@Rule public IntentsTestRule<SettingsActivity> activityRule = new IntentsTestRule<>(SettingsActivity.class,
true,
false);
```
- in test method:
```java
Activity activity = activityRule.launchActivity(null);
…do something, e.g. navigate, create folder, etc. …
Screenshot.snapActivity(activity).record();
```
- best practise is to first create test with emulator too see behaviour and then create screenshots
## File naming
The file naming patterns are inspired and based on [Ribot's Android Project And Code Guidelines](https://github.com/ribot/android-guidelines/blob/c1d8c9c904eb31bf01fe24aadb963b74281fe79a/project_and_code_guidelines.md).
### Menu files
Similar to layout files, menu files should match the name of the component. For example, if we are defining a menu file that is going to be used in the `UserProfileActivity`, then the name of the file should be `activity_user_profile.xml`. Same pattern applies for menus used in adapter view items, dialogs, etc.
| Component | Class Name | Menu Name |
| ---------------- | ---------------------- | ----------------------------- |
| Activity | `UserProfileActivity` | `activity_user_profile.xml` |
| Fragment | `SignUpFragment` | `fragment_sign_up.xml` |
| Dialog | `ChangePasswordDialog` | `dialog_change_password.xml` |
| AdapterView item | --- | `item_person.xml` |
| Partial layout | --- | `partial_stats_bar.xml` |
A good practice is to not include the word `menu` as part of the name because these files are already located in the `menu` directory. In case a component uses several menus in different places (via popup menus) then the resource name would be extended. For example, if the user profile activity has two popup menus for configuring the users settings and one for the handling group assignments then the file names for the menus would be: `activity_user_profile_user_settings.xml` and `activity_user_profile_group_assignments.xml`.
## Translations
We manage translations via [Transifex](https://app.transifex.com/nextcloud/nextcloud/android/). So just request joining the translation team for Android on the site and start translating. All translations will then be automatically pushed to this repository, there is no need for any pull request for translations.
If you need to change a translation, do not change it, but give it new key. This way the translation stays backward compatible as we automatically backport translated strings to last versions.
When submitting PRs with changed translations, please only submit changes to values/strings.xml and not changes to translated files. These will be overwritten by next merge of transifex-bot and increase PR review.
## Engineering practices
This section contains some general guidelines for new contributors, based on common issues flagged during code review.
### Approach to technical debt
TL;DR Non-Stop Litter Picking Party!
We recognize the importance of technical debt that can slow down development, make bug fixing difficult and
discourage future contributors.
We are mindful of the [Broken Windows Theory](https://en.wikipedia.org/wiki/Broken_windows_theory) and we'd like
actively promote and encourage contributors to apply The Scout's Rule: *"Always leave the campground cleaner than
you found it"*. Simple, little improvements will sum up and will be very appreciated by Nextcloud team.
We also promise to actively support and mentor contributors that help us to improve code quality, as we understand
that this process is challenging and requires deep understanding of the application codebase.
### Dependency injection
TL;DR Avoid calling constructors inside constructors.
In effort to modernize the codebase we are applying [Dependency Injection](https://en.wikipedia.org/wiki/Dependency_injection)
whenever possible. We use 2 approaches: automatic and manual.
We are using [Dagger 2](https://dagger.dev/) to inject dependencies into major Android components only:
* `Activity`
* `Fragment`
* `Service`
* `BroadcastReceiver`
* `ContentProvider`
This process is fairly automatic, with `@Inject` annotation being sufficient to supply properly initialized
objects. Android lifecycle callbacks allow us to do most of the work without effort.
For other application sub-components we prefer to use constructor injection and manually provide required dependencies.
This combination allows us to benefit from automation when it provides most value, does not tie rest of the code
to any specific framework and stimulates continuous code modernization through iterative refactoring of all minor
elements.
### Custom platform APIs
TL;DR Avoid Android platform APIs.
Nextcloud Android application provides some replacements for native Android APIs to facilitate testing
and expose higher-level, business-specific APIs.
Generally, whenever you need:
* account management
* application preferences
* background task scheduling
* device hardware information
* media playback
* networking
* logging
* notifications management
we have something more suitable.
Our transition to new APIs is a continuous process. Contributors might be asked by code reviewers to
refrain from using specific Android APIs considered problematic and to use Nextcloud APIs instead.
In extreme cases we might decide to put specific features on hold until we provide platform API
replacement.
If in doubt, ask Nextcloud developers. App undergoes a process of intense refactoring and situation
changes frequently.
### Testing
TL;DR If we can't write a test for it, it's not good.
Test automation is challenging in mobile applications in general. We try to improve in this area
and thereof we'd ask contributors to be mindful of their code testability:
1. new code submitted to Nextcloud project should be provided with automatic tests
2. contributions to existing code that is currently not covered by automatic tests
should at least not make future efforts more challenging
3. whenever possible, testability should be improved even if the code is not covered by tests
### Performance
If you're interested in improving the app's performance, please check the [official documentation](https://developer.android.com/topic/performance)
for ways you can inspect and improve performance.
For additional analysis, set the `perfAnalysis` property
in your Gradle build:
```shell
./gradlew installGplayDebug -P perfAnalysis
```
This will install the app with [LeakCanary](https://square.github.io/leakcanary/) and
[StrictMode](https://developer.android.com/reference/android/os/StrictMode) enabled and configured.
These tools can help find memory leaks, foreground operations that should be in background, and other performance
problems.
We manage translations via [Transifex](https://www.transifex.com/nextcloud/nextcloud/android/). So just request joining the translation team for Android on the site and start translating. All translations will then be automatically pushed to this repository, there is no need for any pull request for translations.
# Releases
At the moment we are releasing the app in two app stores:
@@ -436,17 +133,17 @@ We do differentiate between three different kinds of releases:
### Stable
Play store and f-droid releases for the masses.
Pull Requests that have been tested and reviewed can go to master. After the last release candidate is out in the wild for ~2 weeks and no errors get reported (by users or in the developer console) the master branch is ready for the stable release.
Pull Requests that have been tested and reviewed can go to master. After the last release candidate is out in the wild for ~2 weeks and no errors get reported (by users or in the developer console) the master branch is ready for the stable release.
So when we decide to go for a new release we freeze the master feature wise.
### Release Candidate
_stable beta_ releases done via the Beta program of the Google Play store and f-droid.
Whenever a PR is reviewed/approved we put it on master.
Before releasing a new stable version there is at least one release candidate. It is based on the current master and during this phase the master is feature freezed. After ~2 weeks with no error a stable version will be released, which is identical to the latest release candidate.
Before releasing a new stable version there is at least one release candidate. It is based on the current master and during this phase the master is feature freezed. After ~2 weeks with no error a stable version will be releaded, which is identically to the latest release candidate.
### Dev
Done as a standalone app that can be installed in parallel to the stable app.
Any PR which is labelled "ready for dev" will be automatically included in the dev app. This label should only set by the main developers.
Any PR which is labelled "ready for dev" will be automatically included in the dev app. This label should only set by the main developers.
Same applies for the android-library. This repository also has a branch called dev which includes all upcoming features. The dev branch on this repository must always use the android-library dev branch.
## Version Name and number
@@ -465,19 +162,17 @@ Examples for different versions:
* 8.12.2 ```80120200```
* 9.8.4-rc18 ```90080418```
beware, that beta releases for an upcoming version will always use the minor and hotfix version of the release they are targeting. So to make sure the version code of the upcoming stable release will always be higher stable releases set the 2 beta digits to '99' as seen above in the examples. For major versions, as we're not a library and thus 'incompatible API changes' is not something that happens, decisions are essentially marketing-based. If we deem a release to be very impactful, we might increase the major version number.
beware, that beta releases for an upcoming version will always use the minor and hotfix version of the release they are targeting. So to make sure the version code of the upcoming stable release will always be higher stable releases set the 2 beta digits to '99' as seen above in the examples.
### Dev
For dev the version name is in format YYYYMMDD. It is mainly as a reference for reporting bugs and is not related to stable/release candidates as it is an independent app.
## Release cycle
* Releases are planned every ~2 months, with 6 weeks of developing and 2 weeks of stabilising
* for each release we choose several PRs that will be included in the next release. Currently there are many open PRs from ownCloud, but after merging them, the intention is to choose the PRs that are ready (reviewed, tested) to get them merged very soon.
* these will be merged into master, tested heavily, maybe automatic testing
* after feature freeze a public release candidate on play store and f-droid is released
* ~2 weeks testing, bug fixing
* release final version on f-droid and play store
* Bugfix releases (dot releases, e.g. 3.2.1) are released 4 weeks after stable version from the branch created with first stable release (stable-3.2.x). If changes to the library are required, we do the same: create a branch from the version used in stable release (e.g. 1.1.0) and then release a dot release (1.1.1).
> Hotfixes as well as security fixes are released via bugfix releases (dot releases) but are released on demand in contrast to regular, scheduled bugfix releases.
To get an idea which PRs and issues will be part of the next release simply check our [milestone plan](https://github.com/nextcloud/android/milestones)
@@ -498,7 +193,7 @@ Release Candidate releases are based on the git [master](https://github.com/next
2. Create a [release/tag](https://github.com/nextcloud/android/releases) in git. Tag name following the naming schema: ```rc-Mayor.Minor.Hotfix-betaIncrement``` (e.g. rc-1.2.0-12) naming the version number following the [semantic versioning schema](http://semver.org/)
### Developement Release
Dev releases are based on the [master](https://github.com/nextcloud/android/tree/master) branch and are done independently from stable releases for people willing to test new features and provide valuable feedback on new features to be incorporated before a feature gets released in the stable app.
### Dev Release
Dev releases are based on the [dev](https://github.com/nextcloud/android/tree/dev) branch and are done independently from stable releases and integrate open PRs that might not be production ready or heavily tested but being put out there for people willing to test new features and provide valuable feedback on new features to be incorporated before a feature gets released in the stable app.
The deployment/build is done once a day automatically. If code has changed a new apk will be published [here](https://download.nextcloud.com/android/dev) and it will, with a little delay, be available on [Fdroid](https://f-droid.org/repository/browse/?fdfilter=nextcloud&fdid=com.nextcloud.android.beta).
-10
View File
@@ -1,10 +0,0 @@
# Autogenerated by fastlane
#
# Ensure this file is checked in to source control!
source "https://rubygems.org"
gem 'fastlane'
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)
-220
View File
@@ -1,220 +0,0 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.5)
rexml
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
artifactory (3.0.15)
atomos (0.1.3)
aws-eventstream (1.2.0)
aws-partitions (1.604.0)
aws-sdk-core (3.131.2)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.525.0)
aws-sigv4 (~> 1.1)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.57.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.114.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.4)
aws-sigv4 (1.5.0)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4)
claide (1.1.0)
colored (1.2)
colored2 (3.1.2)
commander (4.6.0)
highline (~> 2.0.0)
declarative (0.0.20)
digest-crc (0.6.4)
rake (>= 12.0.0, < 14.0.0)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.7.6)
emoji_regex (3.2.3)
excon (0.92.3)
faraday (1.10.0)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0)
faraday-multipart (~> 1.0)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.0)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
faraday-retry (~> 1.0)
ruby2_keywords (>= 0.0.4)
faraday-cookie_jar (0.0.7)
faraday (>= 0.8.0)
http-cookie (~> 1.0.0)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
faraday-multipart (1.0.4)
multipart-post (~> 2)
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.6)
fastlane (2.207.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.8, < 3.0.0)
artifactory (~> 3.0)
aws-sdk-s3 (~> 1.0)
babosa (>= 1.0.3, < 2.0.0)
bundler (>= 1.12.0, < 3.0.0)
colored
commander (~> 4.6)
dotenv (>= 2.1.1, < 3.0.0)
emoji_regex (>= 0.1, < 4.0)
excon (>= 0.71.0, < 1.0.0)
faraday (~> 1.0)
faraday-cookie_jar (~> 0.0.6)
faraday_middleware (~> 1.0)
fastimage (>= 2.1.0, < 3.0.0)
gh_inspector (>= 1.1.2, < 2.0.0)
google-apis-androidpublisher_v3 (~> 0.3)
google-apis-playcustomapp_v1 (~> 0.1)
google-cloud-storage (~> 1.31)
highline (~> 2.0)
json (< 3.0.0)
jwt (>= 2.1.0, < 3)
mini_magick (>= 4.9.4, < 5.0.0)
multipart-post (~> 2.0.0)
naturally (~> 2.2)
optparse (~> 0.1.1)
plist (>= 3.1.0, < 4.0.0)
rubyzip (>= 2.0.0, < 3.0.0)
security (= 0.1.3)
simctl (~> 1.6.3)
terminal-notifier (>= 2.0.0, < 3.0.0)
terminal-table (>= 1.4.5, < 2.0.0)
tty-screen (>= 0.6.3, < 1.0.0)
tty-spinner (>= 0.8.0, < 1.0.0)
word_wrap (~> 1.0.0)
xcodeproj (>= 1.13.0, < 2.0.0)
xcpretty (~> 0.3.0)
xcpretty-travis-formatter (>= 0.0.3)
fastlane-plugin-huawei_appgallery_connect (1.0.23)
gh_inspector (1.1.3)
google-apis-androidpublisher_v3 (0.25.0)
google-apis-core (>= 0.7, < 2.a)
google-apis-core (0.7.0)
addressable (~> 2.5, >= 2.5.1)
googleauth (>= 0.16.2, < 2.a)
httpclient (>= 2.8.1, < 3.a)
mini_mime (~> 1.0)
representable (~> 3.0)
retriable (>= 2.0, < 4.a)
rexml
webrick
google-apis-iamcredentials_v1 (0.13.0)
google-apis-core (>= 0.7, < 2.a)
google-apis-playcustomapp_v1 (0.10.0)
google-apis-core (>= 0.7, < 2.a)
google-apis-storage_v1 (0.18.0)
google-apis-core (>= 0.7, < 2.a)
google-cloud-core (1.6.0)
google-cloud-env (~> 1.0)
google-cloud-errors (~> 1.0)
google-cloud-env (1.6.0)
faraday (>= 0.17.3, < 3.0)
google-cloud-errors (1.2.0)
google-cloud-storage (1.37.0)
addressable (~> 2.8)
digest-crc (~> 0.4)
google-apis-iamcredentials_v1 (~> 0.1)
google-apis-storage_v1 (~> 0.1)
google-cloud-core (~> 1.6)
googleauth (>= 0.16.2, < 2.a)
mini_mime (~> 1.0)
googleauth (1.2.0)
faraday (>= 0.17.3, < 3.a)
jwt (>= 1.4, < 3.0)
memoist (~> 0.16)
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
signet (>= 0.16, < 2.a)
highline (2.0.3)
http-cookie (1.0.5)
domain_name (~> 0.5)
httpclient (2.8.3)
jmespath (1.6.1)
json (2.6.2)
jwt (2.4.1)
memoist (0.16.2)
mini_magick (4.11.0)
mini_mime (1.1.2)
multi_json (1.15.0)
multipart-post (2.0.0)
nanaimo (0.3.0)
naturally (2.2.1)
optparse (0.1.1)
os (1.1.4)
plist (3.6.0)
public_suffix (4.0.7)
rake (13.0.6)
representable (3.2.0)
declarative (< 0.1.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
retriable (3.1.2)
rexml (3.2.5)
rouge (2.0.7)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
security (0.1.3)
signet (0.17.0)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.a)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
simctl (1.6.8)
CFPropertyList
naturally
terminal-notifier (2.0.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
trailblazer-option (0.1.2)
tty-cursor (0.7.1)
tty-screen (0.8.1)
tty-spinner (0.9.3)
tty-cursor (~> 0.7)
uber (0.1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.8.2)
unicode-display_width (1.8.0)
webrick (1.7.0)
word_wrap (1.0.0)
xcodeproj (1.22.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.3.0)
rexml (~> 3.2.4)
xcpretty (0.3.0)
rouge (~> 2.0.7)
xcpretty-travis-formatter (1.0.1)
xcpretty (~> 0.2, >= 0.0.7)
PLATFORMS
x86_64-linux
DEPENDENCIES
fastlane
fastlane-plugin-huawei_appgallery_connect
BUNDLED WITH
2.2.26
+20 -70
View File
@@ -1,86 +1,36 @@
# [Nextcloud](https://nextcloud.com) Android app :iphone:
[![Build Status](https://drone.nextcloud.com/api/badges/nextcloud/android/status.svg)](https://drone.nextcloud.com/nextcloud/android) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/80401cb343854343b4d94acbfb72d3ec)](https://www.codacy.com/app/Nextcloud/android?utm_source=github.com\&utm_medium=referral\&utm_content=nextcloud/android\&utm_campaign=Badge_Grade) [![Releases](https://img.shields.io/github/release/nextcloud/android.svg)](https://github.com/nextcloud/android/releases/latest)
# [Nextcloud](https://nextcloud.com) Android app [![Build Status](https://drone.nextcloud.com/api/badges/nextcloud/android/status.svg)](https://drone.nextcloud.com/nextcloud/android) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/80401cb343854343b4d94acbfb72d3ec)](https://www.codacy.com/app/Nextcloud/android?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=nextcloud/android&amp;utm_campaign=Badge_Grade)
[<img src="https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png"
alt="Download from Google Play"
height="80">](https://play.google.com/store/apps/details?id=com.nextcloud.client)
alt="Download from Google Play"
height="80">](https://play.google.com/store/apps/details?id=com.nextcloud.client)
[<img src="https://f-droid.org/badge/get-it-on.png"
alt="Get it on F-Droid"
height="80">](https://f-droid.org/packages/com.nextcloud.client/)
alt="Get it on F-Droid"
height="80">](https://f-droid.org/repository/browse/?fdfilter=com.nextcloud)
**The Android client for [Nextcloud](https://nextcloud.com). Easily work with your data on your Nextcloud.**
[![irc](https://img.shields.io/badge/IRC-%23nextcloud%20on%20freenode-orange.svg)](https://webchat.freenode.net/?channels=nextcloud)
[![irc](https://img.shields.io/badge/IRC-%23nextcloud--mobile%20on%20freenode-blue.svg)](https://webchat.freenode.net/?channels=nextcloud-mobile)
![App screenshots](/doc/Nextcloud_Android_Screenshots.png "App screenshots")
Please stay tuned while we get all the repositories up.
## How to contribute :rocket:
Meanwhile check out https://nextcloud.com and follow us on https://twitter.com/nextclouders
If you want to [contribute](https://nextcloud.com/contribute/) to Nextcloud, you are very welcome:
If you want to [contribute](https://nextcloud.com/contribute/), you are very welcome:
* our forum at https://help.nextcloud.com
* for translations of the app on [Transifex](https://app.transifex.com/nextcloud/nextcloud/android/)
* opening issues and PRs (including a corresponding issue)
## Contribution Guidelines & License :scroll:
[GPLv2](https://github.com/nextcloud/android/blob/master/LICENSE.txt). All contributions to this repository from June, 16 2016 on are considered to be licensed under the AGPLv3 or any later version.
Nextcloud doesn't require a CLA (Contributor License Agreement). The copyright belongs to all the individual contributors. Therefore we recommend that every contributor adds following line to the header of a file, if they changed it substantially:
@copyright Copyright (c) <year>, <your name> (<your email address>)
- on our IRC channels #nextcloud & #nextcloud-mobile irc://#nextcloud-mobile@freenode.net (on freenode) and
- our forum at https://help.nextcloud.com
Please read the [Code of Conduct](https://nextcloud.com/community/code-of-conduct/). This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.
Please review the [guidelines for contributing](https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md) to this repository.
if you want to join the Github organization just let us know and we’ll add you! :)
More information on how to contribute: <https://nextcloud.com/contribute/>
*This is by the community, for the community. Everyone is welcome! :)*
## Start contributing :hammer\_and\_wrench:
## Start contributing
Make sure you read [SETUP.md](https://github.com/nextcloud/android/blob/master/SETUP.md) and [CONTRIBUTING.md](https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md) when you start working on this project. Basically: Fork this repository and contribute back using pull requests to the master branch.
Easy starting points are also reviewing [pull requests](https://github.com/nextcloud/android/pulls) and working on [starter issue](https://github.com/nextcloud/android/issues?q=is%3Aopen+is%3Aissue+label%3A%22starter+issue%22).
Make sure you read [SETUP.md](https://github.com/nextcloud/android/blob/master/SETUP.md) and [CONTRIBUTING.md](https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md) before you start working on this project. But basically: fork this repository and contribute back using pull requests to the master branch.
Easy starting points are also reviewing [pull requests](https://github.com/nextcloud/android/pulls) and working on [starter issues](https://github.com/nextcloud/android/issues?q=is%3Aopen+is%3Aissue+label%3A%22starter+issue%22).
**Dev version:** [direct download](https://download.nextcloud.com/android/dev/latest.apk) or via [Fdroid](https://f-droid.org/repository/browse/?fdfilter=nextcloud&fdid=com.nextcloud.android.beta)
### Getting debug info via logcat :mag:
**License:** [GPLv2](https://github.com/nextcloud/android/blob/master/LICENSE.txt)
#### With a linux computer:
* enable USB-Debugging in your smartphones developer settings and connect it via USB
* open command prompt/terminal
* enter `adb logcat --pid=$(adb shell pidof -s 'com.nextcloud.client') > logcatOutput.txt` to save the output to this file
**Note:** You must have [adb](https://developer.android.com/studio/releases/platform-tools.html) installed first!
#### On Windows:
* download and install [Minimal ADB and fastboot](https://forum.xda-developers.com/t/tool-minimal-adb-and-fastboot-2-9-18.2317790/#post-42407269)
* enable USB-Debugging in your smartphones developer settings and connect it via USB
* launch Minimal ADB and fastboot
* enter `adb shell pidof -s 'com.nextcloud.client'` and use the output as `<processID>` in the following command:
* `adb logcat --pid=<processID> > "%USERPROFILE%\Downloads\logcatOutput.txt"` (This will produce a `logcatOutput.txt` file in your downloads)
* if the processID is `18841`, an example command is: `adb logcat --pid=18841 > "%USERPROFILE%\Downloads\logcatOutput.txt"` (You might cancel the process after a while manually: it will not be exited automatically.)
* For a PowerShell terminal, replace `%USERPROFILE%` with `$env:USERPROFILE` in the commands above.
#### On a device (with root) :wrench:
* open terminal app *(can be enabled in developer options)*
* get root access via "su"
* enter `logcat -d --pid $(pidof -s com.nextcloud.client) -f /sdcard/logcatOutput.txt`
or
* use [CatLog](https://play.google.com/store/apps/details?id=com.nolanlawson.logcat) or [aLogcat](https://play.google.com/store/apps/details?id=org.jtb.alogcat)
**Note:** Your device needs to be rooted for this approach!
## Development version :hammer:
* [APK (direct download)](https://download.nextcloud.com/android/dev/latest.apk)
* [F-Droid](https://f-droid.org/en/packages/com.nextcloud.android.beta/)
## Support :rescue\_worker\_helmet:
If you need assistance or want to ask a question about the Android app, you are welcome to [ask for support](https://help.nextcloud.com/c/clients/android) in our Forums. If you have found a bug, feel free to [open a new Issue on GitHub](https://github.com/nextcloud/android/issues). Keep in mind, that this repository only manages the Android app. If you find bugs or have problems with the server/backend, you should ask the [Nextcloud server team](https://github.com/nextcloud/server) for help!
## Remarks :scroll:
Google Play and the Google Play logo are trademarks of Google Inc.
New contributions are added under [AGPLv3](https://www.gnu.org/licenses/agpl.txt).
-24
View File
@@ -1,24 +0,0 @@
# Security Policy
## Supported Versions
Only the latest version is supported. We release every second month a feature release (currently 3.x) and inbetween a bug fix release (3.x.y).
## Reporting a Vulnerability
Security is very important to us. If you have discovered a security issue with Nextcloud,
please read our responsible disclosure guidelines and contact us at [hackerone.com/nextcloud](https://hackerone.com/nextcloud).
Your report should include:
- Product version
- A vulnerability description
- Reproduction steps
A member of the security team will confirm the vulnerability, determine its impact, and develop a fix.
The fix will be applied to the master branch, tested, and packaged in the next bug fix release.
The vulnerability will be publicly announced after the release. Finally, your name will be added
to the [hall of fame](https://hackerone.com/nextcloud/thanks) as a thank you from the entire Nextcloud community. Note our
[threat model](https://nextcloud.com/security/threat-model) to know what is expected behavior.
Please visit https://nextcloud.com/security/ for further information about security.
+18 -41
View File
@@ -26,16 +26,16 @@ For other software dependencies check the details in the section corresponding t
### 1. Fork and download the nextcloud/android repository.
You will need [git][1] to access to the different versions of the Nextcloud's source code. The source code is hosted on GitHub and may be read by anybody, without a GitHub account. You will need one if you want to contribute to the development of the app with your own code.
You will need [git][1] to access to the different versions of the Nextcloud's source code. The source code is hosted in Github and may be read by anybody without needing a Github account. You will need a Github account if you want to contribute to the development of the app with your own code.
The next steps will assume you have a GitHub account and that you will get the code from your own fork.
Next steps will assume you have a Github account and that you will get the code from your own fork.
* In a web browser, go to https://github.com/nextcloud/android, and click the 'Fork' button near the top right corner.
* Open a terminal and go on with the next steps in it.
* Clone your forked repository: ```git clone https://github.com/YOURGITHUBNAME/android.git```.
* Clone your forked repository: ```git clone --recursive git@github.com:YOURGITHUBNAME/android.git```.
* Move to the project folder with ```cd android```.
* Pull any changes from your remote branch 'master': ```git pull origin master```
* Make official Nextcloud repo known as upstream: ```git remote add upstream https://github.com/nextcloud/android.git```
* Make official Nextcloud repo known as upstream: ```git remote add upstream git@github.com:nextcloud/android.git```
* Make sure to get the latest changes from official android/master branch: ```git pull upstream master```
At this point you can continue using different tools to build the project. Section 2 and 3 describe the existing alternatives.
@@ -45,34 +45,38 @@ At this point you can continue using different tools to build the project. Secti
[Android Studio][5] is currently the official Android IDE. Due to this, we recommend it as the IDE to use in your development environment. Follow the installation instructions [here][6].
We recommend to use the last version available in the stable channel of Android Studio updates. See what update channel is your Android Studio checking for updates in the menu path 'Help'/'Check for Update…'/link 'Updates' in the dialog.
We recommend to use the last version available in the stable channel of Android Studio updates. See what update channel is your Android Studio checking for updates in the menu path 'Help'/'Check for Update...'/link 'Updates' in the dialog.
To set up the project in Android Studio follow the next steps:
* Open Android Studio and select 'Import Project (Eclipse ADT, Gradle, etc)'. Browse through your file system to the folder 'android' where the project is located. Android Studio will then create the '.iml' files it needs. If you ever close the project but the files are still there, you just select 'Open Project…'. The file chooser will show an Android face as the folder icon, which you can select to reopen the project.
* Android Studio will try to build the project directly after importing it. To build it manually, follow the menu path 'Build'/'Make Project', or just click the 'Play' button in the toolbar to build and run it in a mobile device or an emulator. The resulting APK file will be saved in the 'build/outputs/apk/' subdirectory in the project folder.
* Setup Android Studio editor configurtation for the project: ```Settings``` → ```Editor``` → ```Code Style``` → ```Scheme: Project``` and ```Enable EditorConfig support```
* Make sure you have called ```git submodule update``` whenever you switched branches
* Open Android Studio and select 'Import Project (Eclipse ADT, Gradle, etc)'. Browse through your file system to the folder 'android' where the project is located. Android Studio will then create the '.iml' files it needs. If you ever close the project but the files are still there, you just select 'Open Project...'. The file chooser will show an Android face as the folder icon, which you can select to reopen the project.
* Android Studio will try to build the project directly after importing it. To build it manually, follow the menu path 'Build'/'Make Project', or just click the 'Play' button in the tool bar to build and run it in a mobile device or an emulator. The resulting APK file will be saved in the 'build/outputs/apk/' subdirectory in the project folder.
### 3. Working in a terminal with Gradle:
[Gradle][7] is the build system used by Android Studio to manage the building operations on Android apps. You do not need to install Gradle in your system, and Google recommends not to do it, but instead trusting on the [Gradle wrapper][8] included in the project.
[Gradle][7] is the build system used by Android Studio to manage the building operations on Android apps. You do not need to install Gradle in your system, and Google recommends not to do it, but instead trusting on the [Graddle wrapper][8] included in the project.
* Open a terminal and go to the 'android' directory that contains the repository.
* Make sure you have called ```git submodule update``` whenever you switched branches
* Run the 'clean' and 'build' tasks using the Gradle wrapper provided
- Windows: ```gradlew.bat clean build```
- Mac OS/Linux: ```./gradlew clean build```
The first time the Gradle wrapper is called, the correct Gradle version will be downloaded automatically. This requires a working Internet connection.
The first time the Gradle wrapper is called, the correct Gradle version will be downloaded automatically. An Internet connection is needed for it works.
The generated APK file is saved in android/build/outputs/apk as android-debug.apk
### 4. App flavours
The app is currently equipped to be built with three flavours:
* generic - the regular build, released as Nextcloud Android app on FDroid
* gplay - with Google Stuff (Push notification), used for Google Play Store
* versionDev - based on master and library master, available as direct download and FDroid
The app is currently equipped to be built with two flavours:
* generic - the regular build, released as a Nextcloud Android app on the Play store
* custom - a customized build, to be used by people who need features we can't or
won't include into the traditional build (like Firebase Analytics)
When building the *generic*, you will *not* get the dependencies imposed by the *custom*
build.
[0]: https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md
[1]: https://git-scm.com/
@@ -83,30 +87,3 @@ The app is currently equipped to be built with three flavours:
[6]: https://developer.android.com/sdk/installing/index.html?pkg=studio
[7]: https://gradle.org/
[8]: https://docs.gradle.org/current/userguide/gradle_wrapper.html
### 5. How-To
#### 1. Direct usage of library project
This is handy if one wants to make changes both to files app and library:
- Add the following to `settings.gradle`:
```groovy
includeBuild('[path to library clone]') {
dependencySubstitution {
substitute module('com.github.nextcloud:android-library') using project(':library')
}
}
```
- Sync project with gradle files
Now every change in library can be directly used in files app.
### 6. Troubleshooting
#### 1. Compilation fails with "java.lang.OutOfMemoryError: Java heap space" error
The default settings for Gradle is to limit the compilation to 1GB of heap.
You can increase that value by :
- adding `org.gradle.jvmargs=-Xmx4G` to `gradle.properties`
- running gradlew(.bat) with this command line : `GRADLE_OPTS="-Xmx4G" ./gradlew clean build"
+28 -5
View File
@@ -37,20 +37,43 @@ that govern this software, for the purposes they are being used.
The third party software included and used by this project is:
* Apache JackRabbit 2.12.4. (included by the android-library project)
* Apache JackRabbit 2.12.4.
Copyright (C) 2004-2016 The Apache Software Foundation.
Licensed under Apache License, Version 2.0.
The library is included in the Nextcloud client APK.
The jar file must be included in the Nextcloud client APK.
See http://jackrabbit.apache.org/
* Transifex client.
Copyright (C) Transifex.
Licensed under GNU General Public License.
Placed at third_party/transifex-client.
Used as a helper tool, not included in the Nextcloud client APK.
Original license document included at third_party/transifex-client/LICENSE.
See http://help.transifex.com/features/client/
* TouchImageView, 1.2.0. commit 6dbeac4f11936185ba374c73144ac431c23c9aab
Copyright (c) 2014 Michael Ortiz
Licensed under MIT License
JAR file libs/touch-image-view.jar has been generated by ownCloud Inc., including without
modifications com.ortiz.touch.ExtendedViewPager and com.ortiz.touch.TouchImageView classes.
See https://github.com/MikeOrtiz/TouchImageView
* floatingactionbutton 1.10.1.
Copyright (c) 2014 Jerzy Chalupski
Licensed under Apache License, Version 2.0.
The jar file must be included in the Nextcloud client APK.
See https://github.com/futuresimple/android-floating-action-button
* AndroidSVG 1.2.1.
Copyright (c) 2014 Paul LeBeau
Licensed under Apache License, Version 2.0.
The library is included in the Nextcloud client APK.
placed at libs/androidsvg-1.2.1.jar
The jar file must be included in the Nextcloud client APK.
See https://github.com/BigBadaboom/androidsvg
* Disk LRU Cache 2.0.2.
Copyright (c) 2013 Jake Wharton
Licensed under Apache License, Version 2.0.
The library is be included in the Nextcloud client APK.
See https://github.com/JakeWharton/DiskLruCache
placed at libs/disklrucache-2.0.2.jar
The jar file must be included in the Nextcloud client APK.
See https://github.com/JakeWharton/DiskLruCache
+32
View File
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
ownCloud Android client application
Copyright (C) 2012-2016 ownCloud Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2,
as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<!--
UI Automator requires Android 4.3 (API level 18) or higher.
So this AndroidManifest will be merged with the normal one
(not requiring to change the minSdk) and used for UI Automator tests, and does not affect
the normal release/debug builds.
-->
<manifest
package="${applicationId}.test"
xmlns:tools="http://schemas.android.com/tools">
<uses-sdk tools:overrideLibrary="android.support.test.uiautomator.v18"/>
</manifest>
@@ -0,0 +1,139 @@
/**
* ownCloud Android client application
*
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.authentication;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.RemoteException;
import android.support.test.InstrumentationRegistry;
import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4;
import android.support.test.uiautomator.UiDevice;
import android.test.suitebuilder.annotation.LargeTest;
import static org.junit.Assert.assertTrue;
import com.owncloud.android.R;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import java.lang.reflect.Field;
import android.app.Activity;
import static android.support.test.espresso.Espresso.onView;
import static android.support.test.espresso.action.ViewActions.click;
import static android.support.test.espresso.action.ViewActions.closeSoftKeyboard;
import static android.support.test.espresso.action.ViewActions.typeText;
import static android.support.test.espresso.matcher.ViewMatchers.isEnabled;
import static android.support.test.espresso.matcher.ViewMatchers.withId;
import static android.support.test.espresso.assertion.ViewAssertions.matches;
import static org.hamcrest.Matchers.not;
@RunWith(AndroidJUnit4.class)
@LargeTest
public class AuthenticatorActivityTest {
public static final String EXTRA_ACTION = "ACTION";
public static final String EXTRA_ACCOUNT = "ACCOUNT";
private static final int WAIT_LOGIN = 5000;
private static final String ERROR_MESSAGE = "Activity not finished";
private static final String RESULT_CODE = "mResultCode";
@Rule
public ActivityTestRule<AuthenticatorActivity> mActivityRule = new ActivityTestRule<AuthenticatorActivity>(
AuthenticatorActivity.class){
@Override
protected Intent getActivityIntent() {
Context targetContext = InstrumentationRegistry.getInstrumentation()
.getTargetContext();
Intent result = new Intent(targetContext, AuthenticatorActivity.class);
result.putExtra(EXTRA_ACTION, AuthenticatorActivity.ACTION_CREATE);
result.putExtra(EXTRA_ACCOUNT, "");
return result;
}
};
@Before
public void init(){
UiDevice uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation());
/*Point[] coordinates = new Point[4];
coordinates[0] = new Point(248, 1020);
coordinates[1] = new Point(248, 429);
coordinates[2] = new Point(796, 1020);
coordinates[3] = new Point(796, 429);*/
try {
if (!uiDevice.isScreenOn()) {
uiDevice.wakeUp();
//uiDevice.swipe(coordinates, 10);
}
} catch (RemoteException e) {
e.printStackTrace();
}
}
@Test
public void check_login()
throws InterruptedException, NoSuchFieldException, IllegalArgumentException, IllegalAccessException {
Bundle arguments = InstrumentationRegistry.getArguments();
// Get values passed
String testUser = arguments.getString("TEST_USER");
String testPassword = arguments.getString("TEST_PASSWORD");
String testServerURL = arguments.getString("TEST_SERVER_URL");
// Check that login button is disabled
onView(withId(R.id.buttonOK))
.check(matches(not(isEnabled())));
// Type server url
onView(withId(R.id.hostUrlInput))
.perform(typeText(testServerURL), closeSoftKeyboard());
onView(withId(R.id.account_username)).perform(click());
// Type user
onView(withId(R.id.account_username))
.perform(typeText(testUser), closeSoftKeyboard());
// Type user pass
onView(withId(R.id.account_password))
.perform(typeText(testPassword), closeSoftKeyboard());
onView(withId(R.id.buttonOK)).perform(click());
// Check that the Activity ends after clicking
Thread.sleep(WAIT_LOGIN);
Field f = Activity.class.getDeclaredField(RESULT_CODE);
f.setAccessible(true);
int mResultCode = f.getInt(mActivityRule.getActivity());
assertTrue(ERROR_MESSAGE, mResultCode == Activity.RESULT_OK);
}
}
@@ -0,0 +1,135 @@
/**
* ownCloud Android client application
*
* @author David A. Velasco
* Copyright (C) 2016 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.owncloud.android.datamodel;
import android.os.Parcel;
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
/**
* Instrumented unit test, to be run in an Android emulator or device.
*
* At the moment, it's a sample to validate the automatic test environment, in the scope of instrumented unit tests.
*
* Don't take it as an example of completeness.
*
* See http://developer.android.com/intl/es/training/testing/unit-testing/instrumented-unit-tests.html .
*/
@RunWith(AndroidJUnit4.class)
@SmallTest
public class OCFileUnitTest {
private final static String PATH = "/path/to/a/file.txt";
private static final long ID = 12345L;
private static final long PARENT_ID = 567890L;
private static final String STORAGE_PATH = "/mnt/sd/localpath/to/a/file.txt";
private static final String MIME_TYPE = "text/plain";
private static final long FILE_LENGTH = 9876543210L;
private static final long CREATION_TIMESTAMP = 8765432109L;
private static final long MODIFICATION_TIMESTAMP = 7654321098L;
private static final long MODIFICATION_TIMESTAMP_AT_LAST_SYNC_FOR_DATA = 6543210987L;
private static final long LAST_SYNC_DATE_FOR_PROPERTIES = 5432109876L;
private static final long LAST_SYNC_DATE_FOR_DATA = 4321098765L;
private static final String ETAG = "adshfas98ferqw8f9yu2";
private static final String PUBLIC_LINK = "https://fake.url.net/owncloud/987427448712984sdas29";
private static final String PERMISSIONS = "SRKNVD";
private static final String REMOTE_ID = "jadñgiadf8203:9jrp98v2mn3er2089fh";
private static final String ETAG_IN_CONFLICT = "2adshfas98ferqw8f9yu";
private OCFile mFile;
@Before
public void createDefaultOCFile() {
mFile = new OCFile(PATH);
}
@Test
public void writeThenReadAsParcelable() {
// Set up mFile with not-default values
mFile.setFileId(ID);
mFile.setParentId(PARENT_ID);
mFile.setStoragePath(STORAGE_PATH);
mFile.setMimetype(MIME_TYPE);
mFile.setFileLength(FILE_LENGTH);
mFile.setCreationTimestamp(CREATION_TIMESTAMP);
mFile.setModificationTimestamp(MODIFICATION_TIMESTAMP);
mFile.setModificationTimestampAtLastSyncForData(MODIFICATION_TIMESTAMP_AT_LAST_SYNC_FOR_DATA);
mFile.setLastSyncDateForProperties(LAST_SYNC_DATE_FOR_PROPERTIES);
mFile.setLastSyncDateForData(LAST_SYNC_DATE_FOR_DATA);
mFile.setAvailableOffline(true);
mFile.setEtag(ETAG);
mFile.setShareViaLink(true);
mFile.setShareWithSharee(true);
mFile.setPublicLink(PUBLIC_LINK);
mFile.setPermissions(PERMISSIONS);
mFile.setRemoteId(REMOTE_ID);
mFile.setNeedsUpdateThumbnail(true);
mFile.setDownloading(true);
mFile.setEtagInConflict(ETAG_IN_CONFLICT);
// Write the file data in a Parcel
Parcel parcel = Parcel.obtain();
mFile.writeToParcel(parcel, mFile.describeContents());
// Read the data from the parcel
parcel.setDataPosition(0);
OCFile fileReadFromParcel = OCFile.CREATOR.createFromParcel(parcel);
// Verify that the received data are correct
assertThat(fileReadFromParcel.getRemotePath(), is(PATH));
assertThat(fileReadFromParcel.getFileId(), is(ID));
assertThat(fileReadFromParcel.getParentId(), is(PARENT_ID));
assertThat(fileReadFromParcel.getStoragePath(), is(STORAGE_PATH));
assertThat(fileReadFromParcel.getMimetype(), is(MIME_TYPE));
assertThat(fileReadFromParcel.getFileLength(), is(FILE_LENGTH));
assertThat(fileReadFromParcel.getCreationTimestamp(), is(CREATION_TIMESTAMP));
assertThat(fileReadFromParcel.getModificationTimestamp(), is(MODIFICATION_TIMESTAMP));
assertThat(
fileReadFromParcel.getModificationTimestampAtLastSyncForData(),
is(MODIFICATION_TIMESTAMP_AT_LAST_SYNC_FOR_DATA)
);
assertThat(fileReadFromParcel.getLastSyncDateForProperties(), is(LAST_SYNC_DATE_FOR_PROPERTIES));
assertThat(fileReadFromParcel.getLastSyncDateForData(), is(LAST_SYNC_DATE_FOR_DATA));
assertThat(fileReadFromParcel.setAvailableOffline(), is(true));
assertThat(fileReadFromParcel.getEtag(), is(ETAG));
assertThat(fileReadFromParcel.isSharedViaLink(), is(true));
assertThat(fileReadFromParcel.isSharedWithSharee(), is(true));
assertThat(fileReadFromParcel.getPublicLink(), is(PUBLIC_LINK));
assertThat(fileReadFromParcel.getPermissions(), is(PERMISSIONS));
assertThat(fileReadFromParcel.getRemoteId(), is(REMOTE_ID));
assertThat(fileReadFromParcel.needsUpdateThumbnail(), is(true));
assertThat(fileReadFromParcel.isDownloading(), is(true));
assertThat(fileReadFromParcel.getEtagInConflict(), is(ETAG_IN_CONFLICT));
}
}
@@ -0,0 +1,72 @@
package com.owncloud.android.datamodel;
import android.accounts.Account;
import android.content.ContentResolver;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
import com.owncloud.android.db.OCUpload;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import java.io.File;
/**
* Created by JARP on 6/7/17.
*/
@RunWith(AndroidJUnit4.class)
@SmallTest
public class UploadStorageManagerTest {
private Account[] Accounts;
private UploadsStorageManager uploadsStorageManager;
@Before
public void setUp() {
Context instrumentationCtx = InstrumentationRegistry.getTargetContext();
ContentResolver contentResolver = instrumentationCtx.getContentResolver();
uploadsStorageManager = new UploadsStorageManager(contentResolver, instrumentationCtx);
Accounts = new Account[]{new Account("A", "A"), new Account("B", "B")};
}
@Test
public void testDeleteAllUploads() {
//Clean
for (Account account : Accounts) {
uploadsStorageManager.removeAccountUploads(account);
}
int accountRowsA = 3;
int accountRowsB = 4;
insertUploads(Accounts[0], accountRowsA);
insertUploads(Accounts[1], accountRowsB);
Assert.assertTrue("Expected 4 removed uploads files", uploadsStorageManager.removeAccountUploads(Accounts[1]) == 4);
}
private void insertUploads(Account account, int rowsToInsert) {
for (int i = 0; i < rowsToInsert; i++) {
uploadsStorageManager.storeUpload(createUpload(account));
}
}
private OCUpload createUpload(Account acc) {
return new OCUpload(File.separator + "LocalPath",
OCFile.PATH_SEPARATOR + "RemotePath",
acc.name);
}
@After
public void tearDown() {
for (Account account : Accounts) {
uploadsStorageManager.removeAccountUploads(account);
}
}
}
@@ -1,38 +1,41 @@
/*
* Nextcloud Android client application
*
/**
* ownCloud Android client application
* <p/>
* Copyright (C) 2015 ownCloud Inc.
*
* <p/>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* <p/>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* <p/>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.owncloud.android.uiautomator;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import androidx.test.InstrumentationRegistry;
import androidx.test.filters.SdkSuppress;
import androidx.test.runner.AndroidJUnit4;
import androidx.test.uiautomator.UiDevice;
import androidx.test.uiautomator.UiObject;
import androidx.test.uiautomator.UiObjectNotFoundException;
import androidx.test.uiautomator.UiSelector;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.support.test.InstrumentationRegistry;
import android.support.test.filters.SdkSuppress;
import android.support.test.runner.AndroidJUnit4;
import android.support.test.uiautomator.By;
import android.support.test.uiautomator.UiDevice;
import android.support.test.uiautomator.UiObject;
import android.support.test.uiautomator.UiObjectNotFoundException;
import android.support.test.uiautomator.UiSelector;
import android.support.test.uiautomator.Until;
import static org.hamcrest.CoreMatchers.notNullValue;
import static org.junit.Assert.assertThat;
@@ -64,7 +67,7 @@ public class InitialTest {
}
/**
* Start Nextcloud app
* Start owncloud app
*/
@Test
public void startAppFromHomeScreen() {
@@ -128,6 +131,18 @@ public class InitialTest {
return resolveInfo.activityInfo.packageName;
}
/**
* Helper to click on objects that match the content-description text.
*
* @param description the description
* @throws UiObjectNotFoundException
*/
private void clickByDescription(String description) throws UiObjectNotFoundException {
UiDevice device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation());
UiObject obj = device.findObject(new UiSelector().description(description));
obj.clickAndWaitForNewWindow();
}
/**
* Helper to click on object that match the text value.
*
-1
View File
@@ -1 +0,0 @@
/build
-464
View File
@@ -1,464 +0,0 @@
import com.github.spotbugs.snom.SpotBugsTask
import org.gradle.internal.jvm.Jvm
buildscript {
dependencies {
classpath "com.android.tools.build:gradle:$androidPluginVersion"
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.14'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.0"
classpath "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
classpath 'com.karumi:shot:5.14.1'
classpath "org.jacoco:org.jacoco.core:$jacoco_version"
classpath "org.jacoco:org.jacoco.report:$jacoco_version"
classpath "org.jacoco:org.jacoco.agent:$jacoco_version"
}
}
plugins {
id "com.diffplug.spotless" version "6.19.0"
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-parcelize'
apply plugin: 'checkstyle'
apply plugin: 'pmd'
apply from: "$rootProject.projectDir/jacoco.gradle"
apply plugin: 'com.github.spotbugs'
apply plugin: 'io.gitlab.arturbosch.detekt'
apply plugin: 'shot'
println "Gradle uses Java ${Jvm.current()}"
configurations {
all {
exclude group: 'org.jetbrains', module: 'annotations-java5' // via prism4j, already using annotations explicitly
// check for updates every build
resolutionStrategy {
cacheChangingModulesFor 0, 'seconds'
exclude group: "org.jetbrains.kotlinx", module: "kotlinx-coroutines-debug"
}
}
}
configurations.configureEach {
resolutionStrategy.eachDependency {
if (requested.group == "org.checkerframework" && requested.name != "checker-compat-qual") {
useVersion(checkerVersion)
because("https://github.com/google/ExoPlayer/issues/10007")
}
}
}
// semantic versioning for version code
def versionMajor = 3
def versionMinor = 26
def versionPatch = 0
def versionBuild = 0 // 0-50=Alpha / 51-98=RC / 90-99=stable
def ndkEnv = new HashMap<String, String>()
file("$project.rootDir/ndk.env").readLines().each() {
def (key, value) = it.tokenize('=')
ndkEnv.put(key, value)
}
def perfAnalysis = project.hasProperty('perfAnalysis')
android {
compileSdkVersion 33
// install this NDK version and Cmake to produce smaller APKs. Build will still work if not installed
ndkVersion "${ndkEnv.get("NDK_VERSION")}"
namespace 'com.owncloud.android'
testNamespace "${namespace}.test"
defaultConfig {
minSdkVersion 23
targetSdkVersion 31
buildConfigField 'boolean', 'CI', ciBuild.toString()
buildConfigField 'boolean', 'RUNTIME_PERF_ANALYSIS', perfAnalysis.toString()
javaCompileOptions {
annotationProcessorOptions {
arguments += ["room.schemaLocation": "$projectDir/schemas".toString()]
}
}
// arguments to be passed to functional tests
testInstrumentationRunner "com.nextcloud.client.ScreenshotTestRunner"
testInstrumentationRunnerArgument "TEST_SERVER_URL", "${NC_TEST_SERVER_BASEURL}"
testInstrumentationRunnerArgument "TEST_SERVER_USERNAME", "${NC_TEST_SERVER_USERNAME}"
testInstrumentationRunnerArgument "TEST_SERVER_PASSWORD", "${NC_TEST_SERVER_PASSWORD}"
testInstrumentationRunnerArguments disableAnalytics: 'true'
multiDexEnabled true
versionCode versionMajor * 10000000 + versionMinor * 10000 + versionPatch * 100 + versionBuild
if (versionBuild > 89) {
versionName "${versionMajor}.${versionMinor}.${versionPatch}"
} else if (versionBuild > 50) {
versionName "${versionMajor}.${versionMinor}.${versionPatch} RC" + (versionBuild - 50)
} else {
versionName "${versionMajor}.${versionMinor}.${versionPatch} Alpha" + (versionBuild + 1)
}
// adapt structure from Eclipse to Gradle/Android Studio expectations;
// see http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Configuring-the-Structure
flavorDimensions "default"
buildTypes {
debug {
testCoverageEnabled(project.hasProperty('coverage'))
}
}
productFlavors {
// used for f-droid
generic {
applicationId 'com.nextcloud.client'
dimension "default"
}
gplay {
applicationId 'com.nextcloud.client'
dimension "default"
}
huawei {
applicationId 'com.nextcloud.client'
dimension "default"
}
versionDev {
applicationId "com.nextcloud.android.beta"
dimension "default"
versionCode 20220322
versionName "20220322"
}
qa {
applicationId "com.nextcloud.android.qa"
dimension "default"
versionCode 1
versionName "1"
}
}
testOptions {
unitTests.returnDefaultValues = true
animationsDisabled true
}
}
// adapt structure from Eclipse to Gradle/Android Studio expectations;
// see http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Configuring-the-Structure
packagingOptions {
resources {
excludes += 'META-INF/LICENSE*'
pickFirst 'MANIFEST.MF' // workaround for duplicated manifest on some dependencies
}
}
tasks.register("checkstyle", Checkstyle) {
configFile = file("${rootProject.projectDir}/checkstyle.xml")
configProperties.checkstyleSuppressionsPath = file("${project.rootDir}/config/quality/checkstyle/suppressions.xml").absolutePath
source 'src'
include '**/*.java'
exclude '**/gen/**'
classpath = files()
}
tasks.register("pmd", Pmd) {
ruleSetFiles = files("${project.rootDir}/ruleset.xml")
ignoreFailures = true // should continue checking
ruleSets = []
source 'src'
include '**/*.java'
exclude '**/gen/**'
reports {
xml.enabled = false
html.enabled = true
xml {
destination = file("$project.buildDir/reports/pmd/pmd.xml")
}
html {
destination = file("$project.buildDir/reports/pmd/pmd.html")
}
}
}
check.dependsOn 'checkstyle', 'spotbugsGplayDebug', 'pmd', 'lint', 'spotlessKotlinCheck', 'detekt'
buildFeatures {
dataBinding true
viewBinding true
aidl true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
lint {
abortOnError false
checkGeneratedSources true
disable 'MissingTranslation', 'GradleDependency', 'VectorPath', 'IconMissingDensityFolder', 'IconDensities', 'GoogleAppIndexingWarning', 'MissingDefaultResource', 'InvalidPeriodicWorkRequestInterval', 'StringFormatInvalid', 'MissingQuantity'
htmlOutput file("$project.buildDir/reports/lint/lint.html")
htmlReport true
}
sourceSets {
// Adds exported schema location as test app assets.
androidTest.assets.srcDirs += files("$projectDir/schemas".toString())
}
}
dependencies {
// dependencies for app building
implementation 'androidx.multidex:multidex:2.0.1'
// implementation project('nextcloud-android-library')
implementation("com.github.nextcloud:android-library:$androidLibraryVersion") {
exclude group: 'org.ogce', module: 'xpp3' // unused in Android and brings wrong Junit version
}
compileOnly 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
// remove after entire switch to lib v2
implementation "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
implementation 'org.apache.jackrabbit:jackrabbit-webdav:2.13.5' // remove after entire switch to lib v2
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.9.0'
implementation 'com.jakewharton:disklrucache:2.0.2'
implementation "androidx.appcompat:appcompat:$appCompatVersion"
implementation 'androidx.webkit:webkit:1.7.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.exifinterface:exifinterface:1.3.6'
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1"
implementation "androidx.work:work-runtime:$workRuntime"
implementation "androidx.work:work-runtime-ktx:$workRuntime"
implementation "androidx.fragment:fragment-ktx:1.6.0"
implementation 'com.github.albfernandez:juniversalchardet:2.0.3' // need this version for Android <7
compileOnly 'com.google.code.findbugs:annotations:3.0.1u2'
implementation 'commons-io:commons-io:2.13.0'
implementation 'org.greenrobot:eventbus:3.3.1'
implementation 'com.googlecode.ez-vcard:ez-vcard:0.12.0'
implementation 'org.lukhnos:nnio:0.2'
implementation 'org.bouncycastle:bcpkix-jdk15to18:1.72'
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'com.github.nextcloud-deps:sectioned-recyclerview:0.6.1'
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.25'
implementation 'com.github.nextcloud-deps:qrcodescanner:0.1.2.4' // 'com.github.blikoon:QRCodeScanner:0.1.2'
implementation 'com.google.android.flexbox:flexbox:3.0.0'
implementation('com.github.bumptech.glide:glide:3.8.0') {
exclude group: "com.android.support"
}
implementation 'com.caverock:androidsvg:1.4'
implementation 'androidx.annotation:annotation:1.6.0'
implementation 'com.vanniktech:emoji-google:0.16.0'
implementation "com.github.nextcloud-deps.hwsecurity:hwsecurity-fido:$fidoVersion"
implementation "com.github.nextcloud-deps.hwsecurity:hwsecurity-fido2:$fidoVersion"
// document scanner not available on FDroid (generic) due to OpenCV binaries
gplayImplementation project(':appscan')
huaweiImplementation project(':appscan')
qaImplementation project(':appscan')
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.12.0'
spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.6.0'
implementation "com.google.dagger:dagger:$daggerVersion"
implementation "com.google.dagger:dagger-android:$daggerVersion"
implementation "com.google.dagger:dagger-android-support:$daggerVersion"
kapt "com.google.dagger:dagger-compiler:$daggerVersion"
kapt "com.google.dagger:dagger-android-processor:$daggerVersion"
implementation 'org.conscrypt:conscrypt-android:2.5.2'
implementation "com.google.android.exoplayer:exoplayer:$exoplayerVersion"
implementation "com.google.android.exoplayer:extension-okhttp:$exoplayerVersion"
implementation 'me.zhanghai.android.fastscroll:library:1.2.0'
// Shimmer animation
implementation 'io.github.elye:loaderviewlibrary:3.0.0'
// dependencies for markdown rendering
implementation "io.noties.markwon:core:$markwonVersion"
implementation "io.noties.markwon:ext-strikethrough:$markwonVersion"
implementation "io.noties.markwon:ext-tables:$markwonVersion"
implementation "io.noties.markwon:ext-tasklist:$markwonVersion"
implementation "io.noties.markwon:html:$markwonVersion"
implementation "io.noties.markwon:syntax-highlight:$markwonVersion"
implementation "io.noties:prism4j:$prismVersion"
kapt "io.noties:prism4j-bundler:$prismVersion"
implementation('org.mnode.ical4j:ical4j:3.0.0') {
['org.apache.commons', 'commons-logging'].each {
exclude group: "$it"
}
}
if (perfAnalysis) {
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.11'
}
// dependencies for local unit tests
testImplementation 'junit:junit:4.13.2'
testImplementation "org.mockito:mockito-core:$mockitoVersion"
testImplementation "androidx.test:core:$androidxTestVersion"
testImplementation 'org.json:json:20230227'
testImplementation "org.mockito.kotlin:mockito-kotlin:$mockitoKotlinVersion"
testImplementation 'androidx.arch.core:core-testing:2.2.0'
testImplementation "io.mockk:mockk:$mockkVersion"
testImplementation "io.mockk:mockk-android:$mockkVersion"
// dependencies for instrumented tests
// JUnit4 Rules
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation "androidx.test:rules:$androidxTestVersion"
// Android JUnit Runner
androidTestImplementation "androidx.test:runner:$androidxTestVersion"
androidTestUtil "androidx.test:orchestrator:$androidxTestVersion"
androidTestImplementation "androidx.test:core-ktx:$androidxTestVersion"
// Espresso
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-contrib:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-web:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-accessibility:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-intents:$espressoVersion"
// Mocking support
androidTestImplementation 'com.github.tmurakami:dexopener:2.0.5' // required to allow mocking on API 27 and older
androidTestImplementation "org.mockito.kotlin:mockito-kotlin:$mockitoKotlinVersion"
androidTestImplementation "org.mockito:mockito-core:$mockitoVersion"
androidTestImplementation("org.mockito:mockito-android:$mockitoVersion")
androidTestImplementation "io.mockk:mockk-android:$mockkVersion"
androidTestImplementation 'androidx.arch.core:core-testing:2.2.0'
androidTestImplementation "com.facebook.testing.screenshot:core:0.15.0"
// UIAutomator - for cross-app UI tests, and to grant screen is turned on in Espresso tests
// androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'
// fix conflict in dependencies; see http://g.co/androidstudio/app-test-app-conflict for details
//androidTestImplementation "com.android.support:support-annotations:${supportLibraryVersion}"
androidTestImplementation 'tools.fastlane:screengrab:2.1.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "com.github.stateless4j:stateless4j:2.6.0"
// upon each update first test: new registration, receive push
gplayImplementation "com.google.firebase:firebase-messaging:23.1.2"
gplayImplementation 'com.google.android.play:review-ktx:2.0.1'
implementation 'com.github.nextcloud.android-common:ui:0.10.0'
implementation "androidx.room:room-runtime:$roomVersion"
kapt "androidx.room:room-compiler:$roomVersion"
androidTestImplementation "androidx.room:room-testing:$roomVersion"
implementation "io.coil-kt:coil:2.4.0"
//splash screen dependency ref: https://developer.android.com/develop/ui/views/launch/splash-screen/migrate
implementation 'androidx.core:core-splashscreen:1.0.0'
}
configurations.all {
resolutionStrategy {
cacheChangingModulesFor 0, 'seconds'
force 'org.objenesis:objenesis:2.6'
eachDependency { details ->
if ('org.jacoco' == details.requested.group) {
details.useVersion "$jacoco_version"
}
}
}
}
tasks.withType(Test) {
// increased logging for tests
testLogging {
events "passed", "skipped", "failed"
}
}
android.applicationVariants.all { variant ->
variant.outputs.all { output ->
outputFileName = "${output.baseName}-${variant.versionCode}.apk"
}
}
spotless {
kotlin {
target "**/*.kt"
ktlint()
}
}
detekt {
reports {
xml {
enabled = false
}
}
config = files("detekt.yml")
}
shot {
showOnlyFailingTestsInReports = ciBuild
// CI environment renders some shadows slightly different from local VMs
// Add a 0.5% tolerance to account for that
tolerance = ciBuild ? 0.5 : 0
}
jacoco {
toolVersion = "$jacoco_version"
}
spotbugs {
ignoreFailures = true // should continue checking
effort = "max"
reportLevel = "medium"
}
tasks.withType(SpotBugsTask) { task ->
String variantNameCap = task.name.replace("spotbugs", "")
String variantName = variantNameCap.substring(0, 1).toLowerCase() + variantNameCap.substring(1)
dependsOn "compile${variantNameCap}Sources"
excludeFilter = file("${project.rootDir}/spotbugs-filter.xml")
classes = fileTree("$project.buildDir/intermediates/javac/${variantName}/classes/")
reports {
xml {
required = true
}
html {
required = true
outputLocation = file("$project.buildDir/reports/spotbugs/spotbugs.html")
stylesheet = 'fancy.xsl'
}
}
}
-412
View File
@@ -1,412 +0,0 @@
build:
maxIssues: 0
weights:
# complexity: 2
# LongParameterList: 1
# style: 1
# comments: 1
processors:
active: true
exclude:
# - 'FunctionCountProcessor'
# - 'PropertyCountProcessor'
# - 'ClassCountProcessor'
# - 'PackageCountProcessor'
# - 'KtFileCountProcessor'
console-reports:
active: true
exclude:
# - 'ProjectStatisticsReport'
# - 'ComplexityReport'
# - 'NotificationReport'
# - 'FindingsReport'
# - 'BuildFailureReport'
comments:
active: true
CommentOverPrivateFunction:
active: false
CommentOverPrivateProperty:
active: false
EndOfSentenceFormat:
active: false
endOfSentenceFormat: ([.?!][ \t\n\r\f<])|([.?!]$)
UndocumentedPublicClass:
active: false
searchInNestedClass: true
searchInInnerClass: true
searchInInnerObject: true
searchInInnerInterface: true
UndocumentedPublicFunction:
active: false
complexity:
active: true
ComplexCondition:
active: true
threshold: 4
ComplexInterface:
active: false
threshold: 10
includeStaticDeclarations: false
ComplexMethod:
active: true
threshold: 10
ignoreSingleWhenExpression: false
ignoreSimpleWhenEntries: false
excludes: ['**/androidTest/**']
LabeledExpression:
active: false
ignoredLabels: ""
LargeClass:
active: true
threshold: 600
LongMethod:
active: true
threshold: 60
excludes: ['**/androidTest/**']
LongParameterList:
active: true
functionThreshold: 6
constructorThreshold: 6
ignoreDefaultParameters: false
MethodOverloading:
active: false
threshold: 6
NestedBlockDepth:
active: true
threshold: 4
StringLiteralDuplication:
active: false
threshold: 3
ignoreAnnotation: true
excludeStringsWithLessThan5Characters: true
ignoreStringsRegex: '$^'
TooManyFunctions:
active: true
thresholdInFiles: 15
thresholdInClasses: 15
thresholdInInterfaces: 15
thresholdInObjects: 15
thresholdInEnums: 11
ignoreDeprecated: true
ignorePrivate: false
ignoreOverridden: true
empty-blocks:
active: true
EmptyCatchBlock:
active: true
allowedExceptionNameRegex: "^(_|(ignore|expected).*)"
EmptyClassBlock:
active: true
EmptyDefaultConstructor:
active: true
EmptyDoWhileBlock:
active: true
EmptyElseBlock:
active: true
EmptyFinallyBlock:
active: true
EmptyForBlock:
active: true
EmptyFunctionBlock:
active: true
ignoreOverridden: false
EmptyIfBlock:
active: true
EmptyInitBlock:
active: true
EmptyKtFile:
active: true
EmptySecondaryConstructor:
active: true
EmptyWhenBlock:
active: true
EmptyWhileBlock:
active: true
exceptions:
active: true
ExceptionRaisedInUnexpectedLocation:
active: false
methodNames: 'toString,hashCode,equals,finalize'
InstanceOfCheckForException:
active: false
NotImplementedDeclaration:
active: false
PrintStackTrace:
active: false
RethrowCaughtException:
active: false
ReturnFromFinally:
active: false
SwallowedException:
active: false
ignoredExceptionTypes: 'InterruptedException,NumberFormatException,ParseException,MalformedURLException'
ThrowingExceptionFromFinally:
active: false
ThrowingExceptionInMain:
active: false
ThrowingExceptionsWithoutMessageOrCause:
active: false
exceptions: 'IllegalArgumentException,IllegalStateException,IOException'
ThrowingNewInstanceOfSameException:
active: false
TooGenericExceptionCaught:
active: true
exceptionNames:
- ArrayIndexOutOfBoundsException
- Error
- Exception
- IllegalMonitorStateException
- NullPointerException
- IndexOutOfBoundsException
- RuntimeException
- Throwable
allowedExceptionNameRegex: "^(_|(ignore|expected).*)"
TooGenericExceptionThrown:
active: true
exceptionNames:
- Error
- Exception
- Throwable
- RuntimeException
naming:
active: true
ClassNaming:
active: true
classPattern: '[A-Z$][a-zA-Z0-9$]*'
ConstructorParameterNaming:
active: true
parameterPattern: '[a-z][A-Za-z0-9]*'
privateParameterPattern: '[a-z][A-Za-z0-9]*'
excludeClassPattern: '$^'
EnumNaming:
active: true
enumEntryPattern: '^[A-Z][_a-zA-Z0-9]*'
ForbiddenClassName:
active: false
forbiddenName: ''
FunctionMaxLength:
active: false
maximumFunctionNameLength: 30
FunctionMinLength:
active: false
minimumFunctionNameLength: 3
FunctionNaming:
active: true
functionPattern: '^([a-z$][a-zA-Z$0-9]*)|(`.*`)$'
excludeClassPattern: '$^'
ignoreOverridden: true
excludes:
- "**/*Test.kt"
- "**/*IT.kt"
FunctionParameterNaming:
active: true
parameterPattern: '[a-z][A-Za-z0-9]*'
excludeClassPattern: '$^'
ignoreOverridden: true
MatchingDeclarationName:
active: true
MemberNameEqualsClassName:
active: false
ignoreOverridden: true
ObjectPropertyNaming:
active: true
constantPattern: '[A-Za-z][_A-Za-z0-9]*'
propertyPattern: '[A-Za-z][_A-Za-z0-9]*'
privatePropertyPattern: '(_)?[A-Za-z][_A-Za-z0-9]*'
PackageNaming:
active: true
packagePattern: '^[a-z]+(\.[a-z][A-Za-z0-9]*)*$'
TopLevelPropertyNaming:
active: true
constantPattern: '[A-Z][_A-Z0-9]*'
propertyPattern: '[A-Za-z][_A-Za-z0-9]*'
privatePropertyPattern: '(_)?[A-Za-z][A-Za-z0-9]*'
VariableMaxLength:
active: false
maximumVariableNameLength: 64
VariableMinLength:
active: false
minimumVariableNameLength: 1
VariableNaming:
active: true
variablePattern: '[a-z][A-Za-z0-9]*'
privateVariablePattern: '(_)?[a-z][A-Za-z0-9]*'
excludeClassPattern: '$^'
ignoreOverridden: true
performance:
active: true
ArrayPrimitive:
active: false
ForEachOnRange:
active: true
SpreadOperator:
active: true
UnnecessaryTemporaryInstantiation:
active: true
potential-bugs:
active: true
DuplicateCaseInWhenExpression:
active: true
EqualsAlwaysReturnsTrueOrFalse:
active: false
EqualsWithHashCodeExist:
active: true
ExplicitGarbageCollectionCall:
active: true
InvalidRange:
active: false
IteratorHasNextCallsNextMethod:
active: false
IteratorNotThrowingNoSuchElementException:
active: false
LateinitUsage:
active: false
ignoreAnnotated: []
ignoreOnClassesPattern: ""
UnconditionalJumpStatementInLoop:
active: false
UnreachableCode:
active: true
UnsafeCallOnNullableType:
active: false
UnsafeCast:
active: false
UselessPostfixExpression:
active: false
WrongEqualsTypeParameter:
active: false
style:
active: true
CollapsibleIfStatements:
active: false
DataClassContainsFunctions:
active: false
conversionFunctionPrefix: 'to'
EqualsNullCall:
active: false
EqualsOnSignatureLine:
active: false
ExplicitItLambdaParameter:
active: false
ExpressionBodySyntax:
active: false
includeLineWrapping: false
ForbiddenComment:
active: true
values: 'TODO:,FIXME:,STOPSHIP:'
ForbiddenImport:
active: false
imports: ''
ForbiddenVoid:
active: false
FunctionOnlyReturningConstant:
active: false
ignoreOverridableFunction: true
excludedFunctions: 'describeContents'
LoopWithTooManyJumpStatements:
active: false
maxJumpCount: 1
MagicNumber:
active: true
ignoreNumbers: '-1,0,1,2'
ignoreHashCodeFunction: true
ignorePropertyDeclaration: false
ignoreConstantDeclaration: true
ignoreCompanionObjectPropertyDeclaration: true
ignoreAnnotation: false
ignoreNamedArgument: true
ignoreEnums: false
excludes:
- "**/*Test.kt"
- "**/*IT.kt"
MandatoryBracesIfStatements:
active: false
MaxLineLength:
active: true
maxLineLength: 120
excludePackageStatements: true
excludeImportStatements: true
excludeCommentStatements: false
MayBeConst:
active: false
ModifierOrder:
active: true
NestedClassesVisibility:
active: false
NewLineAtEndOfFile:
active: true
NoTabs:
active: false
OptionalAbstractKeyword:
active: true
OptionalUnit:
active: false
OptionalWhenBraces:
active: false
PreferToOverPairSyntax:
active: false
ProtectedMemberInFinalClass:
active: false
RedundantVisibilityModifierRule:
active: false
ReturnCount:
active: true
max: 2
excludedFunctions: "equals"
excludeLabeled: false
excludeReturnFromLambda: true
SafeCast:
active: true
SerialVersionUIDInSerializableClass:
active: false
SpacingBetweenPackageAndImports:
active: false
ThrowsCount:
active: true
max: 2
TrailingWhitespace:
active: false
UnderscoresInNumericLiterals:
active: false
acceptableLength: 5
UnnecessaryAbstractClass:
active: false
ignoreAnnotated:
- "dagger.Module"
UnnecessaryApply:
active: false
UnnecessaryInheritance:
active: false
UnnecessaryLet:
active: false
UnnecessaryParentheses:
active: false
UntilInsteadOfRangeTo:
active: false
UnusedImports:
active: false
UnusedPrivateClass:
active: false
UnusedPrivateMember:
active: false
allowedNames: "(_|ignored|expected|serialVersionUID)"
UseDataClass:
active: false
ignoreAnnotated: []
UtilityClassWithPublicConstructor:
active: false
VarCouldBeVal:
active: false
WildcardImport:
active: true
excludeImports: 'java.util.*,kotlinx.android.synthetic.*'
-70
View File
@@ -1,70 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<lint>
<issue id="UnusedAttribute">
<ignore regexp="importantForAutofill"/>
<ignore regexp="autofillHints"/>
</issue>
<issue id="InvalidPackage">
<ignore path="**/freemarker-2.*.*.jar" />
<ignore path="**/nnio-0.2.jar"/>
<ignore path="**/bcpkix-jdk15on-1.69.jar" />
</issue>
<issue id="UnusedResources">
<ignore regexp="store_short_desc|store_full_desc|store_short_dev_desc|store_full_dev_desc" />
<ignore
regexp="screenshot_01_gridView|screenshot_02_listView|screenshot_03_drawer|screenshot_04_accounts|screenshot_05_autoUpload|screenshot_06_davdroid"/>
<ignore path="**/raw/encryption_key_words.txt" />
</issue>
<issue id="MissingQuantity">
<ignore path="**/values-ka-rGE/strings.xml"/>
<ignore path="**/values-ar/strings.xml" />
</issue>
<issue id="UnusedQuantity">
<ignore path="**/values-**/strings.xml" />
</issue>
<issue id="ExtraTranslation">
<ignore path="**/strings.xml"/>
<ignore path="**/values-b+en+001/strings.xml"/>
</issue>
<issue id="UnusedResources">
<ignore path="**/values-**/strings.xml" />
<ignore path="**/values/setup.xml" />
</issue>
<issue id="TypographyEllipsis">
<ignore path="**/values-**/strings.xml" />
</issue>
<issue id="Typos">
<ignore path="**/values-**/strings.xml" />
<ignore path="**/values/setup.xml" />
</issue>
<issue id="TrustAllX509TrustManager">
<ignore path="**/bouncycastle/est/jcajce/*.class" />
<ignore path="**/bcpkix-jdk15to18-1.72.jar" />
</issue>
<issue id="RestrictedApi" severity="error">
<ignore path="build" />
</issue>
<issue id="NewApi" severity="error">
<ignore path="build" />
</issue>
<issue id="ObsoleteLintCustomCheck" severity="warning">
<ignore path="**/fragment-1.2.5/**/lint.jar" />
<ignore path="**/work-runtime-2.**/**/lint.jar" />
<ignore path="**/jetified-butterknife-runtime-10.**/**/lint.jar" />
<ignore path="**/jetified-dagger-lint-aar-2.**.**/**/lint.jar" />
<ignore path="**/jetified-annotation-experimental-1.**/**/lint.jar" />
<ignore path="**/jetified-firebase-installations**/**/lint.jar" />
<ignore path="**/appcompat-1.**/**/lint.jar" />
</issue>
</lint>
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Loaded 100 of 3648 files, more files were not shown because too many files have changed in this diff. Show more