-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
#296: Add documents provider #1368
Conversation
Have you tested it? |
works fine with multiple accounts, on nexus 4 |
Maybe this would be a good use case to show it in the "what's new" slide show? |
Included in beta. |
could be, but 'whats new' should be also included, this requires some addtional work from graphics people |
Yeah, then we should enforce this... |
No idea :D @AndyScherzinger said that he would take a look on images and texts |
79c8435
to
994dd86
Compare
@przybylski |
I know, for now I want to provide opening, saving will come in other PR |
@przybylski the current version shows only downloaded files, right? |
Last time I tested it, it was working just as you described it. Showing all the files and download then if necessary |
Maybe I have messed something up in beta. |
The code looks fine on beta branch. Is it not downloading the file? |
The files / folders that are not already downloaded are not even shown, so I cannot click them. |
Ok, I can see the problem, |
Thanks :) Is it possible to show the download state? |
No, DocumentProvider doesn't support progress indicator. The only download state is available in a notification bar, and it is normally invoked when ownCloud is downloading file.. |
Ah, no, I meant the state of a file: downloaded on device / not downloaded. |
There is no built in mechanism in DocumentsProvider to indicate this :/ |
@@ -112,17 +112,29 @@ | |||
android:name=".providers.FileContentProvider" | |||
android:authorities="@string/authority" | |||
android:enabled="true" | |||
android:exported="false" | |||
android:exported="true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it necessary to make this existing Provider public?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, documents provider is queried by external application, and at that point its outside owncloud permission so exported content provider is required.
Hi, @przybylski . Should we understand you don't want to contribute this code to ownCloud anymore? Thanks in advance. |
It's not that I don't want to, but the fact that such simple pr was opened for over half a year got me discouraged. |
I can understand that. In any case, closing it doesn't seem a way to get it merged faster, does it? Please, consider reopening it. Your contributions to this project always were more than important. |
It didn't got it faster, BUT it got your attention so it kinda worked ;) |
@jesmrec this PR is prepared to be tested :) |
👍 @jabarros a test plan will be designed asap. |
994dd86
to
3a48498
Compare
3a48498
to
b62a7fd
Compare
@jesmrec, rebase on master done |
b62a7fd
to
5b6dec3
Compare
Approved, nice work. Next step, ability to modify :) :) @przybylski @jabarros A new rebase is needed, please. |
5b6dec3
to
ac072dd
Compare
Rebase done. Wating Travis. |
ac072dd
to
24619ce
Compare
--------- edited by @jabarros
TASKs: