Commit graph

6286 commits

Author SHA1 Message Date
ardevd
6f106952f9 activities: Updated usage of the loadActivities() contract method. 2018-04-26 08:39:20 +02:00
ardevd
c68edcf7a8 activities: Fixed typo in contract interface method. 2018-04-26 08:38:24 +02:00
Nextcloud bot
884917653e
[tx-robot] updated from transifex 2018-04-26 00:42:56 +00:00
AndyScherzinger
13baa9c32f
removed margin left to really center headline, added empty line at the end of the file 2018-04-24 19:25:28 +02:00
artem-p
fdb1fb6e97
increase spacing above and below the top header 2018-04-24 19:25:28 +02:00
artem-p
7af202ded8
position whats new details title and text 2018-04-24 19:25:28 +02:00
artem-p
2ac1a3ae4a
whats new title is not bold 2018-04-24 19:25:25 +02:00
Nextcloud bot
309f1e6f97
[tx-robot] updated from transifex 2018-04-24 09:09:48 +00:00
Andy Scherzinger
83934655b1
Merge pull request #2503 from nextcloud/2502-npefix
adapter: Pass valid context to setImageDrawable()-call.
2018-04-24 09:50:40 +02:00
Nextcloud bot
6cf36914d3
[tx-robot] updated from transifex 2018-04-24 00:42:46 +00:00
ardevd
eab58accd7 layout: Formatting fixes for the activity_list_layout xml. 2018-04-23 14:03:32 +02:00
ardevd
8168063ae4 data:files Simplified onPostExecute processing. 2018-04-23 13:47:56 +02:00
ardevd
162fdb9d8a tests: Added unit tests for the RemoteFilesRepository class.
Provides 100% coverage of the RemoteFilesRepository class.
2018-04-23 13:45:23 +02:00
ardevd
99122f1467 tests: Added unit tests for the RemoteActivitiesRepository class. 2018-04-23 13:40:31 +02:00
ardevd
ca6cd76f0b adapter: Pass valid context to setImageDrawable()-call.
Fixes #2502.
2018-04-23 13:26:23 +02:00
ardevd
9a9a4629e0 tests: Updated ActvitiesPresenter unit tests with the new interface methods. 2018-04-23 13:25:25 +02:00
ardevd
5998438f12 activities: Correctly handle the nextPageUrl parameter.
This should be managed by the activity and not the data repository API since the latter has no track of state.
2018-04-23 13:24:49 +02:00
ardevd
81a300077c test: Added unit tests for the Activities Presenter.
This provides 100% coverage of the Activities Presenter class.
2018-04-23 12:59:42 +02:00
ardevd
3fd750c871 activities: Removed legacy ActivitesList activity 2018-04-23 12:40:55 +02:00
ardevd
45755395c4 activities: Cleaned up activity class.
Removed unused imports and objects.
2018-04-23 12:40:45 +02:00
ardevd
dd9a029d18 activites: Any theming call has now context, instead of app context (from master) 2018-04-23 12:38:30 +02:00
ardevd
03e0e181a2 Merge remote-tracking branch 'origin/master' into 2474-feature-mvp-activities 2018-04-23 12:35:38 +02:00
ardevd
94fa9dc0bf activites: Use correct ActionListener method for showing File details. 2018-04-23 12:33:59 +02:00
ardevd
855e06c912 data:files Return descriptive error message if null is returned.
TODO: Use string resources instead of hardcoded strings.
2018-04-23 12:33:30 +02:00
ardevd
a2dad4ec4f data:activities: Fix onPostExecute success handling.
Missing else block resulted in error message being returned every time.
2018-04-23 12:27:33 +02:00
ardevd
5acfe5c201 activities: Refactored Remote file read operations.
Use the File repository instead of the local AsyncTask implementation.
2018-04-23 12:19:01 +02:00
ardevd
9fde4ba10d data: Added Injection class for injection data repositories. 2018-04-23 12:18:06 +02:00
ardevd
c0044bddc1 data:files Added file repository classes and interfaces.
This provides a centralized asynchronous repository for all remote File operations. Currently only supports ReadRemoteFile as required by the activities activity.
2018-04-23 12:17:46 +02:00
ardevd
ad49754f42 activities:data Activites Service API AsyncTask should be static to avoid leaks 2018-04-23 11:42:35 +02:00
ardevd
0fe1bfcb03 activities:data: Refactored directory structure. 2018-04-23 11:32:24 +02:00
Andy Scherzinger
51443428d1
Merge pull request #2394 from nextcloud/themingWithContext
Any theming call has now context, instead of app context
2018-04-23 07:02:31 +02:00
Nextcloud bot
213f738a2a
[tx-robot] updated from transifex 2018-04-23 00:41:30 +00:00
AndyScherzinger
9b1335b784
lint: remove unused string 2018-04-22 23:20:01 +02:00
AndyScherzinger
ad8755d329
fix API call 2018-04-22 22:56:01 +02:00
AndyScherzinger
2819ffd779
fixes after rebase 2018-04-22 22:32:57 +02:00
tobiasKaminsky
e677eab62d
changes due to rebase
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-04-22 20:36:19 +02:00
tobiasKaminsky
5b432b3ed0
Any theming call has now context, instead of app context
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-04-22 20:36:15 +02:00
tobiasKaminsky
941a5bd508
prevent illegalArgumentException on generating preview 2018-04-22 20:22:03 +02:00
tobiasKaminsky
16d578cde1
fix e2e: file input stream overwrote tmpFile
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-04-22 19:57:36 +02:00
Andy Scherzinger
1bcf3f518d
Merge pull request #2487 from nextcloud/themeContactsBackup
Correct theming for contacts backup fragment: actionbar, buttons
2018-04-22 19:53:59 +02:00
Andy Scherzinger
59c68da097
Merge pull request #2488 from nextcloud/useCorrectAccountOnContact
ContactBackup: use always account of calling activity
2018-04-22 19:52:11 +02:00
Andy Scherzinger
4ba4341e14
Merge pull request #2449 from nextcloud/fixNPE
prevent NPE via null check
2018-04-22 19:50:09 +02:00
Andy Scherzinger
f3e3a8ea6d
Merge pull request #2479 from nextcloud/notificationOn8
fix failing notification on >= 8
2018-04-22 19:47:54 +02:00
Andy Scherzinger
418cecf4f2
Merge pull request #2493 from nextcloud/dynamicName
Show themeable cloud name instead of hardcoded nextcloud
2018-04-22 19:43:16 +02:00
Andy Scherzinger
306044e3dc
Merge pull request #2489 from nextcloud/noUploadIconGrey
Tint no upload icon grey
2018-04-22 19:25:51 +02:00
AndyScherzinger
f3e15b565c
replace Nextcloud with %1$s 2018-04-22 19:24:57 +02:00
AndyScherzinger
f35ef37f6b
fix lint: legacy fab styling 2018-04-22 19:14:37 +02:00
AndyScherzinger
47805ba50f
fix TW string 2018-04-22 19:07:13 +02:00
tobiasKaminsky
2143fc49a5
show themeable cloud name instead of hardcoded nextcloud
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-04-22 19:07:12 +02:00
tobiasKaminsky
18137d16eb
rebased
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-04-22 18:23:22 +02:00
tobiasKaminsky
982184265e
show correct error message if virus is detected:
- in notification message, even with correct virus name
- in upload list: generic virus warning

do not try to resume virus upload automatically, as it is useless, but still the user can retry it manually

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-04-22 18:23:22 +02:00
AndyScherzinger
e3bf29b4b4
added new line 2018-04-22 18:16:04 +02:00
tobiasKaminsky
e73dfbefb5
tint no upload icon grey
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-04-22 18:16:04 +02:00
Andy Scherzinger
dc1465ed2d
Merge pull request #2482 from nextcloud/ellipsis
Use unicode elipsis instead of html one -> desired behaviour on transifex
2018-04-22 18:08:36 +02:00
Andy Scherzinger
84b80bebff
Merge pull request #2432 from nextcloud/BottomSheet
Better understandable FAB actions via bottom sheet implementation
2018-04-22 18:07:48 +02:00
Nextcloud bot
2f9df8a073
[tx-robot] updated from transifex 2018-04-22 00:44:07 +00:00
Nextcloud bot
f61cf19a96
[tx-robot] updated from transifex 2018-04-21 00:41:39 +00:00
tobiasKaminsky
9b64569c2c
change to google
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-04-19 16:19:35 +02:00
ardevd
3aaff65bfc activities: Assign isLoadingActivities value when loading activities. 2018-04-19 14:57:41 +02:00
ardevd
dc92985520 activities: Deleted old ActivitiesListActivity 2018-04-19 14:53:23 +02:00
ardevd
6afa0b7ed8 DrawerActivity: Updated reference to the Activities activity. 2018-04-19 14:53:08 +02:00
ardevd
76d3430983 activities: Replace expression with the lambda equivalent. 2018-04-19 14:52:48 +02:00
ardevd
62f874cde0 activities: Removed unused imports. 2018-04-19 14:52:08 +02:00
ardevd
c89dcb0371 manifest: Updated declaration of the Activities activity. 2018-04-19 14:51:03 +02:00
ardevd
8a7863b782 activities: Properly return activities to the callback.
The empty ArrayList that was passed back before was just there to test the behaviour of the Activities activity when an empty data set was returned.
2018-04-19 14:50:04 +02:00
ardevd
14a08298ff activities: Added reworked activities MVP components.
There is still a lot of cleanup to do here.
2018-04-19 14:48:56 +02:00
ardevd
d569b0cbef activities: Added repository data classes for Activities. 2018-04-19 14:47:56 +02:00
ardevd
bcc2d2f382 layout: Removed redundant swipe refresh layout for the ActivityList.
Moved the empty_list layout to the root of the FrameLayout.
2018-04-19 14:47:25 +02:00
tobiasKaminsky
b7a45a8ce8
changes due to CR
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-04-19 12:14:28 +02:00
tobiasKaminsky
71370a8880
use ellipsis without whitespaces
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-04-19 11:12:14 +02:00
AndyScherzinger
15b5f3a12e
cleanup imports for codacy 2018-04-19 09:46:41 +02:00
AndyScherzinger
567e6c0757
refactored bottom sheet menu to make use of Butterknife 2018-04-19 09:46:40 +02:00
AndyScherzinger
9b688ef893
new line 2018-04-19 09:46:40 +02:00
AndyScherzinger
2f72e515b8
Fix design review comment 2018-04-19 09:46:39 +02:00
AndyScherzinger
ef8b280db7
fix codacy warning 2018-04-19 09:46:39 +02:00
AndyScherzinger
31f824cd6d
lint: ignore compound drawable warnings 2018-04-19 09:46:39 +02:00
AndyScherzinger
f68dcf080e
Resolves #2415 - adding a bottom sheet instead of mini FABs, also replacing fab lib with Android support lib fab 2018-04-19 09:46:17 +02:00
Nextcloud bot
1bf915bc8b
[tx-robot] updated from transifex 2018-04-19 00:42:37 +00:00
tobiasKaminsky
b90624a9c6
use always account of calling activity
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-04-18 14:38:51 +02:00
tobiasKaminsky
8aff51ccc0
correct theming for contacts backup fragment: actionbar, buttons
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-04-18 13:44:29 +02:00
tobiasKaminsky
d7681cb9f9
use unicode elipsis instead of html one -> desired behaviour on transifex
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-04-18 09:06:34 +02:00
Tobias Kaminsky
9b1fa62675
Merge pull request #2448 from ardevd/2444-feature_splash
Added a splash screen
2018-04-18 08:06:37 +02:00
tobiasKaminsky
81c76a1c50
fix failing notification on >= 8
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-04-17 14:39:46 +02:00
Nextcloud bot
6a1dd33994
[tx-robot] updated from transifex 2018-04-17 00:49:42 +00:00
Andy Scherzinger
f19568088b
Merge pull request #2450 from nextcloud/fixLocalStorageBrowsing
Fix local file/folder browsing
2018-04-16 10:48:28 +02:00
Nextcloud bot
9d1c646812
[tx-robot] updated from transifex 2018-04-15 00:42:54 +00:00
Nextcloud bot
cef9932905
[tx-robot] updated from transifex 2018-04-14 00:42:37 +00:00
Nextcloud bot
2cdeb3fc67
[tx-robot] updated from transifex 2018-04-13 00:42:52 +00:00
Nextcloud bot
69503835cc
[tx-robot] updated from transifex 2018-04-12 00:52:11 +00:00
AndyScherzinger
10c01358c5
fix upload list header 2018-04-11 09:23:12 +02:00
Nextcloud bot
c7d30a8b08
[tx-robot] updated from transifex 2018-04-11 00:51:32 +00:00
tobiasKaminsky
3af569988d
add another NPE check
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-04-10 14:40:26 +02:00
AndyScherzinger
c18a44b044
Fix #2439 NPE via null check 2018-04-10 14:40:23 +02:00
tobiasKaminsky
cb157d8aec
fix local file/folder browsing
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-04-10 12:08:05 +02:00
AndyScherzinger
425310abc1
fix lint: Missing accessibility label: where minSdk < 17, you should provide an android:hint 2018-04-10 11:37:08 +02:00
AndyScherzinger
49f9edca76
ignore android.permission.CHANGE_CONFIGURATION for lint errors 2018-04-10 11:37:07 +02:00
AndyScherzinger
d6b08e366e
fix lint warnings 2018-04-10 11:37:07 +02:00
AndyScherzinger
54eb9bb9a4
update to Android Studio 3.1 tooling including build fixes 2018-04-10 11:37:04 +02:00
Andy Scherzinger
c1fabc2f60
Merge pull request #2403 from ardevd/bugfixes
Properly close Closable objects to avoid memleaks
2018-04-10 11:34:48 +02:00
Tobias Kaminsky
526c34fa2a
Merge pull request #2164 from nextcloud/fix-1260
Grey-out auto upload options until enabled
2018-04-10 11:11:17 +02:00
Nextcloud bot
7133a936dd
[tx-robot] updated from transifex 2018-04-10 00:42:48 +00:00
eho
8feff4f603 laucher: Added copyright declaration. 2018-04-09 22:42:59 +02:00
eho
ae9cb578fa launcher: Associated the launcher activity with the launch screen theme. Apply default theme in onCreate(). 2018-04-09 21:58:21 +02:00
eho
e0b8da6a4b launcher: Added launch screen style. 2018-04-09 21:58:10 +02:00
eho
15ebac5770 launcher: Added launch screen xml configuration. 2018-04-09 21:57:09 +02:00
AndyScherzinger
424ef05997
fix ellipsizing character 2018-04-09 21:52:23 +02:00
AndyScherzinger
8870e5136c
fix copyright date 2018-04-09 21:52:23 +02:00
AndyScherzinger
76bf643010
Resolves #2229 by removing the change password option in the user info screen 2018-04-09 21:52:22 +02:00
Nextcloud bot
048bb2636d
[tx-robot] updated from transifex 2018-04-09 19:44:03 +00:00
Andy Scherzinger
52193037a5
Merge pull request #2442 from nextcloud/limitCallingPackageCheck
FileContentProvider: limit calling package check
2018-04-09 17:21:43 +02:00
tobiasKaminsky
905bab6685
change contains to equals
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-04-09 14:33:41 +02:00
Nextcloud bot
59dfb83b6f
[tx-robot] updated from transifex 2018-04-09 00:48:56 +00:00
Andy Scherzinger
def48d9fe4
Merge pull request #2350 from harshika-arya/middle_ellipsize
Fix: Middle ellipsize in folder path in Auto Upload
2018-04-08 16:21:28 +02:00
Nextcloud bot
d419fbf474
[tx-robot] updated from transifex 2018-04-08 00:45:12 +00:00
Nextcloud bot
af10bd59b1
[tx-robot] updated from transifex 2018-04-07 00:43:04 +00:00
Nextcloud bot
dfb254df0e
[tx-robot] updated from transifex 2018-04-06 00:46:28 +00:00
Nextcloud bot
4866ca4868
[tx-robot] updated from transifex 2018-04-05 00:43:06 +00:00
Nextcloud bot
2be3b28a72
[tx-robot] updated from transifex 2018-04-04 00:44:17 +00:00
Harshika
f1f1dab5ea
feat: expand file path on click 2018-04-03 23:04:00 +02:00
Andy Scherzinger
8afc27bcd9
Merge pull request #2410 from nextcloud/comradekingu-patch-1
Spelling: End-to-end encryption, notifications sent by server
2018-04-03 22:51:05 +02:00
Andy Scherzinger
5f4cb21937
Merge pull request #2420 from arundhati24/dimens
Replaced hard-coded dimensions by android resource values (Fix #2358)
2018-04-03 22:19:55 +02:00
Andy Scherzinger
597af82f48
Merge pull request #2427 from ardevd/if_fix
FileDisplayActivity: Replaced duplicate subexpression in if statement with instantVideoUploadEnabled preference.
2018-04-03 19:53:04 +02:00
eho
239df11525 FileDisplayActivity: Added missing Preference check. 2018-04-03 16:24:15 +02:00
eho
6e2d9d2a24 FileDisplayActivity: Removed duplicate subexpression in binary operator if statement.
- I guess this is pretty self explanatory.
2018-04-03 12:15:50 +02:00
Nextcloud bot
e5d68fd604
[tx-robot] updated from transifex 2018-04-03 06:33:51 +00:00
Nextcloud bot
7a712ed5dc
[tx-robot] updated from transifex 2018-04-03 00:43:28 +00:00
Nextcloud bot
9f809d4764
[tx-robot] updated from transifex 2018-04-02 00:44:03 +00:00
arundhati24
c3bfcc5e61 Replace hard-coded dimensions by android resource values
There were a number of hard-coded dimensions present in the layout
resource files which have now been replaced by android resource
values present in dims.xml.
2018-04-01 09:59:03 +05:30
Nextcloud bot
39566ce179
[tx-robot] updated from transifex 2018-04-01 00:40:38 +00:00
Nextcloud bot
14d14f862f
[tx-robot] updated from transifex 2018-03-31 00:46:35 +00:00
Nextcloud bot
22698f0134
[tx-robot] updated from transifex 2018-03-30 00:41:22 +00:00
Allan Nordhøy
f7c225e893
End-to-end encryption, notifications sent by server 2018-03-29 12:15:57 +02:00
eho
c26ea917e4 asynctask: Whitespace in log message removed... again. 2018-03-29 09:28:42 +02:00
tobiasKaminsky
6843791f2d
fix npe on storage manager
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-03-28 13:47:08 +02:00
tobiasKaminsky
c5cd9accb9
move scroll/switchGrid/List to onActivityCreated
check if adapter is already set

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-03-28 13:47:08 +02:00
tobiasKaminsky
9d1d30d882
close cursor, part 2
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-03-28 12:31:19 +02:00
Nextcloud bot
7b2077f6da
[tx-robot] updated from transifex 2018-03-28 10:29:46 +00:00
Nextcloud bot
8327d2b7a0
[tx-robot] updated from transifex 2018-03-28 00:53:52 +00:00
eho
f08653dd6b asynctasks: Added requested whitespace in Log_OC.e() call 2018-03-27 13:39:50 +02:00
eho
ecb04d6e12 asynctasks: Removed redundant close call on BufferedReader object. 2018-03-27 11:33:52 +02:00
Nextcloud bot
003ec771f6
[tx-robot] updated from transifex 2018-03-27 09:30:56 +00:00
Nextcloud bot
43a37c7f14
[tx-robot] updated from transifex 2018-03-27 09:10:53 +00:00
eho
7c28ca2022 providers: Close and flush FileOutputStream using try-with-resources to avoid memleak. 2018-03-27 09:53:32 +02:00
eho
f3e736f50a Properly close InputStreams in the LoadingVersionNumberTask and ImageViewCustom classes. 2018-03-27 09:48:44 +02:00
eho
6f7fc2de8e Use try-with-resources to autoclose closable resources 2018-03-27 09:37:30 +02:00
Nextcloud bot
fa01f35656
[tx-robot] updated from transifex 2018-03-27 00:41:40 +00:00
eho
cb0429c00a tests: Cleaned up IOHelperTest. Removed leftover debug code. 2018-03-27 00:31:44 +02:00
eho
9fb26ed869 tests: Added unit test for the IOHelper class. 2018-03-27 00:23:47 +02:00
eho
47299968f9 Properly close Closables in a finally clause.
We are responsible for closing these objects.
2018-03-26 23:48:50 +02:00
eho
cd065887dd io: Added IO helper class.
Contains static helper method to close Closable objects.
2018-03-26 23:45:19 +02:00