-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hard seperation of client / library #3150
Comments
This comment has been minimized.
This comment has been minimized.
@AndyScherzinger @ezaquarii can you recheck if everything is splitted / moved accordingly? |
All things in library should be end with "RemoteOperation", e.g. |
Get list of all operations implemented in library:
Same for ops still in app:
Ops still not moved to library:
Ops already moved to library:
Looks like a lot of work to do... |
I fear it is not that easy, as most in the first list are a client wrapper to the remote call, e.g. android/src/main/java/com/owncloud/android/operations/GetCapabilitiesOperation.java Lines 31 to 38 in eaccdc8
But I went through the list and found this: to move: to rename in library: |
This is done. |
Currently most of the server manipulation tasks are in serve, but e.g. RestoreTrashbinFileOperation is in client.
This is wrong for multiple reasons
(I guess that I did this out of lazyness /hide)
So the idea is to have
With this, we could (at some point) mock the complete library and test the complete app without any real server/library usage.
The text was updated successfully, but these errors were encountered: