Commit graph

6173 commits

Author SHA1 Message Date
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
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