Commit graph

10516 commits

Author SHA1 Message Date
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
tobiasKaminsky
a52b75eeed
use userId for webdav search
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-04-23 10:34:25 +02:00
Tobias Kaminsky
3aad742e0c
Merge pull request #2500 from nextcloud/updateDevBuildScript
Adapt build dev script to new version schema
2018-04-23 09:51:54 +02:00
tobiasKaminsky
dca584a6e2
adapt build dev script to new version schema
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-04-23 09:50:50 +02:00
Tobias Kaminsky
574401f9ca daily dev 20180423 2018-04-23 08:06:48 +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
Andy Scherzinger
668be0ac0b
Merge pull request #2426 from nextcloud/detailException
Prevent IllegalArgumentException on generating preview
2018-04-22 20:30:08 +02:00
tobiasKaminsky
941a5bd508
prevent illegalArgumentException on generating preview 2018-04-22 20:22:03 +02:00
Andy Scherzinger
0dc5a4eceb
Merge pull request #2477 from nextcloud/e2eTmpFileOverwritten
Fix e2e: file input stream overwrote tmpFile
2018-04-22 20:19:11 +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
941d08f057
Merge pull request #2434 from nextcloud/suppressTypographyEllipsis
Disable TypographyEllipsis lint check
2018-04-22 19:46:50 +02:00
Andy Scherzinger
71e108dcae
Merge pull request #2413 from nextcloud/nameAPK
renames apk to include versionCode
2018-04-22 19:46:12 +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
nextcloud-android-bot
3b6931bc42 Drone: update Lint results to reflect reduced error/warning count [skip ci] 2018-04-22 17:32:01 +00:00
Andy Scherzinger
306044e3dc
Merge pull request #2489 from nextcloud/noUploadIconGrey
Tint no upload icon grey
2018-04-22 19:25:51 +02:00
Tobias Kaminsky
11c1e5a8b8
Merge f3e15b565c into 35bfc22de4 2018-04-22 17:25:13 +00: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
Andy Scherzinger
35bfc22de4
Merge pull request #2353 from nextcloud/virusHandling
Show correct error message if virus is detected
2018-04-22 19:00:29 +02:00
AndyScherzinger
ac7e048048
bump to docker image android-35 2018-04-22 18:32:35 +02:00