Feed Advanced Search

May 1 2019

elvisangelaccio added a comment to D20064: Add usefull functions to GDriveUrl..

Please move the kio_gdrive.cpp refactoring to another commit, depending on this one.

May 1 2019, 4:52 PM · KIO GDrive

Apr 30 2019

lamawithonel removed a watcher for KIO GDrive: lamawithonel.
Apr 30 2019, 2:05 PM
barchiesi updated the summary of D20064: Add usefull functions to GDriveUrl..
Apr 30 2019, 1:00 PM · KIO GDrive
barchiesi updated the diff for D20064: Add usefull functions to GDriveUrl..

Added more functions and refactored KIOGDrive.

Apr 30 2019, 12:25 PM · KIO GDrive

Apr 29 2019

barchiesi added a dependency for D20888: Adapt to LibKGAPI setFields() changes.: D20886: Add fields standard query parameter to Job and use it in FileFetchJob..
Apr 29 2019, 8:24 AM · LibKGAPI, KIO GDrive
barchiesi requested review of D20888: Adapt to LibKGAPI setFields() changes..
Apr 29 2019, 8:24 AM · LibKGAPI, KIO GDrive

Apr 25 2019

barchiesi moved T10630: Show Team Drives from Backlog to In Progress on the KIO GDrive board.
Apr 25 2019, 12:42 AM · KIO GDrive

Apr 23 2019

barchiesi updated the diff for D20064: Add usefull functions to GDriveUrl..

Added test case, is the test sufficient?

Apr 23 2019, 8:48 AM · KIO GDrive

Mar 26 2019

elvisangelaccio added a comment to D20064: Add usefull functions to GDriveUrl..

Bonus point if you add a test case in urltest.cpp ;)

Mar 26 2019, 9:07 PM · KIO GDrive
barchiesi requested review of D20064: Add usefull functions to GDriveUrl..
Mar 26 2019, 5:06 PM · KIO GDrive

Mar 23 2019

elvisangelaccio added a comment to T10630: Show Team Drives.

I see. Then I'd exclude #3 for the reason you mentioned. I'd be ok with either #1 or #2, with a slight preference for #2.

Mar 23 2019, 11:27 AM · KIO GDrive

Mar 17 2019

barchiesi added a comment to T10630: Show Team Drives.

No the API only exposes the list, clients choose how to present them to users.

Mar 17 2019, 8:36 PM · KIO GDrive
elvisangelaccio added a comment to T10630: Show Team Drives.

Team Drives can be show in a couple of ways

Mar 17 2019, 7:56 PM · KIO GDrive
barchiesi created T10630: Show Team Drives.
Mar 17 2019, 7:46 PM · KIO GDrive

Mar 5 2019

gennad added a watcher for KIO GDrive: gennad.
Mar 5 2019, 3:33 PM

Feb 27 2019

barchiesi added a watcher for KIO GDrive: barchiesi.
Feb 27 2019, 11:15 PM

Dec 13 2018

himcesjf added a watcher for KIO GDrive: himcesjf.
Dec 13 2018, 10:52 AM

Dec 7 2018

lamawithonel added a watcher for KIO GDrive: lamawithonel.
Dec 7 2018, 6:03 PM

Nov 11 2018

elvisangelaccio updated the task description for T3422: Dolphin's file view not updated after deleting a file.
Nov 11 2018, 9:54 AM · KIO GDrive

Aug 25 2018

ltoscano closed T3438: Blockers for a first release as Resolved.
Aug 25 2018, 12:06 PM · KIO GDrive

Mar 29 2018

elvisangelaccio closed D9806: KIOGDrive::copy - resolve the destGDriveUrl's new parent into a destDirId before passing it to FileCopyJob in src/kio_gdrive.cpp.
Mar 29 2018, 9:28 PM · KIO GDrive

Mar 21 2018

elvisangelaccio accepted D9806: KIOGDrive::copy - resolve the destGDriveUrl's new parent into a destDirId before passing it to FileCopyJob in src/kio_gdrive.cpp.

@elvisangelaccio was this one committed, since it mentions FIXED-IN: 1.2.2 in the Differential summary but I don't see the commit in the Differential log?

Mar 21 2018, 8:05 PM · KIO GDrive

Mar 20 2018

martijnschmidt added a comment to D9806: KIOGDrive::copy - resolve the destGDriveUrl's new parent into a destDirId before passing it to FileCopyJob in src/kio_gdrive.cpp.

@elvisangelaccio was this one committed, since it mentions FIXED-IN: 1.2.2 in the Differential summary but I don't see the commit in the Differential log?

Mar 20 2018, 11:28 PM · KIO GDrive

Feb 17 2018

elvisangelaccio updated the summary of D9806: KIOGDrive::copy - resolve the destGDriveUrl's new parent into a destDirId before passing it to FileCopyJob in src/kio_gdrive.cpp.
Feb 17 2018, 6:55 PM · KIO GDrive
elvisangelaccio added a comment to D9806: KIOGDrive::copy - resolve the destGDriveUrl's new parent into a destDirId before passing it to FileCopyJob in src/kio_gdrive.cpp.

The patch seems to fix the problem, great!
Code looks good besides the inline comment.

Feb 17 2018, 6:54 PM · KIO GDrive
elvisangelaccio triaged T7996: Fix permissions on shared folders as High priority.
Feb 17 2018, 6:49 PM · KIO GDrive
elvisangelaccio triaged T7995: Fix "finished() called after error()" warnings as Normal priority.
Feb 17 2018, 6:20 PM · KIO GDrive

Feb 16 2018

jriddell closed T4065: Integrate KIO GDrive with remote:// or Places as Resolved.
Feb 16 2018, 4:08 PM · Plasma, KIO GDrive
jriddell closed T3445: Integrate KIO GDrive with KAccounts as Resolved.
Feb 16 2018, 3:59 PM · Plasma, KIO GDrive

Feb 13 2018

elvisangelaccio added a comment to D9806: KIOGDrive::copy - resolve the destGDriveUrl's new parent into a destDirId before passing it to FileCopyJob in src/kio_gdrive.cpp.

Ah right, so this is https://bugs.kde.org/show_bug.cgi?id=376735

Feb 13 2018, 10:30 PM · KIO GDrive

Feb 11 2018

martijnschmidt updated the test plan for D9806: KIOGDrive::copy - resolve the destGDriveUrl's new parent into a destDirId before passing it to FileCopyJob in src/kio_gdrive.cpp.
Feb 11 2018, 12:50 PM · KIO GDrive
martijnschmidt added a comment to D9806: KIOGDrive::copy - resolve the destGDriveUrl's new parent into a destDirId before passing it to FileCopyJob in src/kio_gdrive.cpp.

I'm not sure I'm following: all the 3 steps in the test plan work for me, without this patch.
Is there something else needed to trigger the bug?

Feb 11 2018, 12:37 PM · KIO GDrive

Feb 10 2018

elvisangelaccio closed D9706: MIME type correction for .ods files in src/gdrivehelper.cpp.
Feb 10 2018, 4:57 PM · KIO GDrive
elvisangelaccio added reviewers for D9806: KIOGDrive::copy - resolve the destGDriveUrl's new parent into a destDirId before passing it to FileCopyJob in src/kio_gdrive.cpp: elvisangelaccio, dvratil.
Feb 10 2018, 4:44 PM · KIO GDrive
elvisangelaccio added a comment to D9806: KIOGDrive::copy - resolve the destGDriveUrl's new parent into a destDirId before passing it to FileCopyJob in src/kio_gdrive.cpp.

I'm not sure I'm following: all the 3 steps in the test plan work for me, without this patch.
Is there something else needed to trigger the bug?

Feb 10 2018, 4:44 PM · KIO GDrive
elvisangelaccio added inline comments to D9775: Trash behaviour improvements: check for the amount of parentReference items on a fileId before processing the delete command in src/kio_gdrive.cpp.
Feb 10 2018, 4:40 PM · KIO GDrive
elvisangelaccio accepted D9706: MIME type correction for .ods files in src/gdrivehelper.cpp.
Feb 10 2018, 4:31 PM · KIO GDrive

Feb 6 2018

martijnschmidt updated subscribers of D9806: KIOGDrive::copy - resolve the destGDriveUrl's new parent into a destDirId before passing it to FileCopyJob in src/kio_gdrive.cpp.
Feb 6 2018, 7:24 PM · KIO GDrive
martijnschmidt added a comment to D9706: MIME type correction for .ods files in src/gdrivehelper.cpp.

While technically all your observations are correct, when dealing with data coming from a proprietary service where we cannot do any assumptions about their implementation, it's better to write the code defensively and not just assume that the way things happen to work now is set to stone. Our only guideline is the API documentation. Any other observations about the data I prefer to treat as a coincidence that happens to work for me and the few documents on my GDrive, but may break in the real world.

Feb 6 2018, 7:23 PM · KIO GDrive
martijnschmidt updated the diff for D9706: MIME type correction for .ods files in src/gdrivehelper.cpp.

Implement @dvratil's recommended code changes per D9706#188708 and document the reasoning behind the extra safeguard as comments in the code.

Feb 6 2018, 7:20 PM · KIO GDrive

Feb 5 2018

dvratil added a comment to D9706: MIME type correction for .ods files in src/gdrivehelper.cpp.

While technically all your observations are correct, when dealing with data coming from a proprietary service where we cannot do any assumptions about their implementation, it's better to write the code defensively and not just assume that the way things happen to work now is set to stone. Our only guideline is the API documentation. Any other observations about the data I prefer to treat as a coincidence that happens to work for me and the few documents on my GDrive, but may break in the real world.

Feb 5 2018, 10:54 AM · KIO GDrive
martijnschmidt added inline comments to D9775: Trash behaviour improvements: check for the amount of parentReference items on a fileId before processing the delete command in src/kio_gdrive.cpp.
Feb 5 2018, 12:41 AM · KIO GDrive

Feb 4 2018

elvisangelaccio added inline comments to D9775: Trash behaviour improvements: check for the amount of parentReference items on a fileId before processing the delete command in src/kio_gdrive.cpp.
Feb 4 2018, 4:01 PM · KIO GDrive
martijnschmidt added a comment to D9706: MIME type correction for .ods files in src/gdrivehelper.cpp.

Hey @elvisangelaccio, please accept my apologies for the delay - I needed some time to understand the code due to my sheer lack of experience, since I'd like to to grasp why a certain change is being recommended rather than blindly implementing it. After reading through the relevant chunk of code again I now understand and agree with @dvratil's recommended change, but I do have two additional questions.

Feb 4 2018, 3:59 PM · KIO GDrive
martijnschmidt added inline comments to D9775: Trash behaviour improvements: check for the amount of parentReference items on a fileId before processing the delete command in src/kio_gdrive.cpp.
Feb 4 2018, 11:29 AM · KIO GDrive

Jan 21 2018

elvisangelaccio added inline comments to D9775: Trash behaviour improvements: check for the amount of parentReference items on a fileId before processing the delete command in src/kio_gdrive.cpp.
Jan 21 2018, 3:43 PM · KIO GDrive
elvisangelaccio added a comment to D9706: MIME type correction for .ods files in src/gdrivehelper.cpp.

@martijnschmidt Any update on this? I think @dvratil's suggestion is a safe choice, so I'd also vote for that.

Jan 21 2018, 3:16 PM · KIO GDrive

Jan 10 2018

martijnschmidt added inline comments to D9775: Trash behaviour improvements: check for the amount of parentReference items on a fileId before processing the delete command in src/kio_gdrive.cpp.
Jan 10 2018, 1:04 PM · KIO GDrive
dvratil added a comment to D9706: MIME type correction for .ods files in src/gdrivehelper.cpp.

Sorry, I wasn't very clear explaining myself above.

Jan 10 2018, 10:57 AM · KIO GDrive
dvratil added a reviewer for D9775: Trash behaviour improvements: check for the amount of parentReference items on a fileId before processing the delete command in src/kio_gdrive.cpp: elvisangelaccio.
Jan 10 2018, 10:41 AM · KIO GDrive
dvratil added a comment to D9775: Trash behaviour improvements: check for the amount of parentReference items on a fileId before processing the delete command in src/kio_gdrive.cpp.

Nice job! I have one remark, but that's probably up to @elvisangelaccio to decide which is the best course of action.

Jan 10 2018, 10:40 AM · KIO GDrive

Jan 9 2018

martijnschmidt added a comment to D9706: MIME type correction for .ods files in src/gdrivehelper.cpp.

For documents created in Google Docs, GDrive API will list them as GDocs documents, which nobody else but GDocs can open. It, however, provides a list of mimetypes into which GDocs can convert the document for download. The code here is used so that we can show GDocs documents as .odt/.ods/.pdf/.... documents that users can click and open in their computer.

As such, the mappings here are used to map from the mimetypes in externalLinks to some usable mimetype. Since Google still documents the "broken" mimetype as used, we should keep it supported, alongside the correct one.

Jan 9 2018, 11:03 PM · KIO GDrive
martijnschmidt added a comment to T3443: Make Trash work again.

I've uploaded two Differentials for this task;

Jan 9 2018, 9:46 PM · KIO GDrive
martijnschmidt added a revision to T3443: Make Trash work again: D9775: Trash behaviour improvements: check for the amount of parentReference items on a fileId before processing the delete command in src/kio_gdrive.cpp.
Jan 9 2018, 9:32 PM · KIO GDrive
martijnschmidt added a task to D9775: Trash behaviour improvements: check for the amount of parentReference items on a fileId before processing the delete command in src/kio_gdrive.cpp: T3443: Make Trash work again.
Jan 9 2018, 9:32 PM · KIO GDrive
martijnschmidt added a revision to T3443: Make Trash work again: D9774: Check for the correct "kind" strings in src/drive/parentreference.cpp and src/drive/app.cpp .
Jan 9 2018, 8:52 PM · KIO GDrive
dvratil added a comment to D9706: MIME type correction for .ods files in src/gdrivehelper.cpp.

For documents created in Google Docs, GDrive API will list them as GDocs documents, which nobody else but GDocs can open. It, however, provides a list of mimetypes into which GDocs can convert the document for download. The code here is used so that we can show GDocs documents as .odt/.ods/.pdf/.... documents that users can click and open in their computer.

Jan 9 2018, 10:40 AM · KIO GDrive

Jan 8 2018

martijnschmidt added a comment to T3443: Make Trash work again.

From the KGAPI perspective, looking at the V2->V3 API migration guide (https://developers.google.com/drive/v3/web/migration) it appears that it should not be too much work to add V3 API to KGAPI for KIO GDrive to use.

The migration document also mentions some changes in parent handling that might make it actually easier to deal with the parent changes.

Regarding the Trash, the change in V3 is that it's no longer an actual folder that can be referenced from the API but simply just a collection of all Files with the trashed parameter set to true. My understanding is that there is still Trash in V3, but it's up to the implementators to create it themselves and only show trashed files in it. You can list all trashed files via

GET https://www.googleapis.com/drive/v3/files?q=trashed%3Dtrue&key={YOUR_API_KEY}

So trashing items should only be a matter of updating the file's trashed property.

Ahh, I had completely missed that. So looking at the v3 API we should do something like the following to move the file to trash:

PATCH https://www.googleapis.com/drive/v3/files/fileId
{
  "trashed": true
}
Jan 8 2018, 8:18 PM · KIO GDrive
martijnschmidt added a comment to D9706: MIME type correction for .ods files in src/gdrivehelper.cpp.

Hi Elvis, I ran a diff -u a/src/gdrivehelper.ccp b/src/gdrivehelper.cpp to create this output.

git diff from the kio-gdrive repo should be enough

Jan 8 2018, 8:03 PM · KIO GDrive
martijnschmidt updated the diff for D9706: MIME type correction for .ods files in src/gdrivehelper.cpp.

Re-export the diff with "git diff" instead of "diff -u".

Jan 8 2018, 7:46 PM · KIO GDrive
dvratil added a comment to T3443: Make Trash work again.

From the KGAPI perspective, looking at the V2->V3 API migration guide (https://developers.google.com/drive/v3/web/migration) it appears that it should not be too much work to add V3 API to KGAPI for KIO GDrive to use.

Jan 8 2018, 9:02 AM · KIO GDrive
dvratil added a comment to D9706: MIME type correction for .ods files in src/gdrivehelper.cpp.

The application/x-vnd.oasis.opendocument.spreadsheet was used intentionally since that's what GDrive returns in the exportLinks for the Google Documents spreadsheets:

Jan 8 2018, 7:43 AM · KIO GDrive

Jan 7 2018

elvisangelaccio added a comment to D9706: MIME type correction for .ods files in src/gdrivehelper.cpp.

Hi Elvis, I ran a diff -u a/src/gdrivehelper.ccp b/src/gdrivehelper.cpp to create this output.

Jan 7 2018, 8:29 PM · KIO GDrive
martijnschmidt added a comment to D9706: MIME type correction for .ods files in src/gdrivehelper.cpp.

Hi Elvis, I ran a diff -u a/src/gdrivehelper.ccp b/src/gdrivehelper.cpp to create this output.

Jan 7 2018, 8:21 PM · KIO GDrive
elvisangelaccio added a comment to D9706: MIME type correction for .ods files in src/gdrivehelper.cpp.

Thanks for the patch, but I cannot apply it right now. How did you create the diff? Please see https://community.kde.org/Infrastructure/Phabricator#Posting_a_Patch

Jan 7 2018, 6:22 PM · KIO GDrive
elvisangelaccio added a comment to T3443: Make Trash work again.

@martijnschmidt Wow, thanks for your analysis!

Jan 7 2018, 5:04 PM · KIO GDrive
martijnschmidt added a comment to T3443: Make Trash work again.

Looking at your comments in the code with regard to trash:

Jan 7 2018, 4:34 PM · KIO GDrive
ngraham added a comment to D9706: MIME type correction for .ods files in src/gdrivehelper.cpp.

Oh OK, sorry. I'll remember that for the future.

Jan 7 2018, 3:20 PM · KIO GDrive
ltoscano added a comment to D9706: MIME type correction for .ods files in src/gdrivehelper.cpp.

@ngraham Frameworks is the group for the "Frameworks" product, but kio-gdrive is not part of it. Also, all repositories part of Frameworks already get Frameworks as subscriber, so apart from exceptional cases, adding Frameworks to a review should almost never be needed.

Jan 7 2018, 3:18 PM · KIO GDrive
ltoscano removed a reviewer for D9706: MIME type correction for .ods files in src/gdrivehelper.cpp: Frameworks.
Jan 7 2018, 3:17 PM · KIO GDrive
ngraham added a reviewer for D9706: MIME type correction for .ods files in src/gdrivehelper.cpp: Frameworks.
Jan 7 2018, 3:13 PM · KIO GDrive

Jan 5 2018

martijnschmidt added a comment to T3443: Make Trash work again.

It looks like the whole trash feature is no longer made available in the Google Drive API v3: https://developers.google.com/drive/v3/reference/files

Jan 5 2018, 5:04 PM · KIO GDrive

Nov 20 2017

barman added a watcher for KIO GDrive: barman.
Nov 20 2017, 2:28 PM

Jun 6 2017

elvisangelaccio moved T3445: Integrate KIO GDrive with KAccounts from In Progress to Done on the KIO GDrive board.
Jun 6 2017, 8:22 AM · Plasma, KIO GDrive

May 29 2017

elvisangelaccio moved T3445: Integrate KIO GDrive with KAccounts from Work in Progress to Done on the Plasma board.
May 29 2017, 9:45 AM · Plasma, KIO GDrive

May 2 2017

bidar added a comment to T3445: Integrate KIO GDrive with KAccounts.

doesn't the existing google account for telepathy already request google drive access?

May 2 2017, 9:36 AM · Plasma, KIO GDrive

Feb 18 2017

elvisangelaccio moved T3990: Don't show the login dialog after removing the last account from Backlog to Done on the KIO GDrive board.
Feb 18 2017, 6:33 PM · KIO GDrive
elvisangelaccio added a comment to T3990: Don't show the login dialog after removing the last account.

It seems this is fixed in 1.1.x, the auth dialog shows up only if I press F5 after deleting the last account.

Feb 18 2017, 6:32 PM · KIO GDrive
elvisangelaccio added a comment to T3445: Integrate KIO GDrive with KAccounts.

Work in progress in kaccounts branch, works fine.

Feb 18 2017, 6:26 PM · Plasma, KIO GDrive
elvisangelaccio moved T3445: Integrate KIO GDrive with KAccounts from To Do to Work in Progress on the Plasma board.
Feb 18 2017, 6:22 PM · Plasma, KIO GDrive
elvisangelaccio moved T3445: Integrate KIO GDrive with KAccounts from Backlog to In Progress on the KIO GDrive board.
Feb 18 2017, 6:21 PM · Plasma, KIO GDrive

Feb 16 2017

elvisangelaccio added a comment to D4613: Add information on available / total space in GDrive account.

I've pushed it to master, see commit 6370278224b423615e9469ccd59cd7f43d5fe346.

Unfortunately, I haven't learned how to proper use phabricator yet, so closing this issue by hand.

Feb 16 2017, 11:59 AM · KIO GDrive
poboiko closed D4613: Add information on available / total space in GDrive account.

I've pushed it to master, see commit 6370278224b423615e9469ccd59cd7f43d5fe346.

Feb 16 2017, 11:50 AM · KIO GDrive
elvisangelaccio accepted D4613: Add information on available / total space in GDrive account.

Thanks. Do you have commit access?

Feb 16 2017, 10:26 AM · KIO GDrive

Feb 15 2017

poboiko updated the diff for D4613: Add information on available / total space in GDrive account.

Replaced tabs for 4 spaces (kind of weird how they appeared: never used tabs for indentation... :S) and other comments

Feb 15 2017, 6:43 PM · KIO GDrive
elvisangelaccio requested changes to D4613: Add information on available / total space in GDrive account.

Thanks for the patch, tested and it works. By the way I submitted a patch (D4622) to fix the typo you spotted.

Feb 15 2017, 4:34 PM · KIO GDrive

Feb 14 2017

poboiko retitled D4613: Add information on available / total space in GDrive account from to Add information on available / total space in GDrive account.
Feb 14 2017, 7:33 PM · KIO GDrive
poboiko added a watcher for KIO GDrive: poboiko.
Feb 14 2017, 6:03 PM

Feb 3 2017

elvisangelaccio closed T3991: Changes to the json protocol file require a clean build as Resolved.

Indeed it's a bug in cmake: https://gitlab.kitware.com/cmake/cmake/issues/15419

Feb 3 2017, 3:33 PM · KIO GDrive

Jan 30 2017

elvisangelaccio moved T5171: Account root url should not be writable from Backlog to Done on the KIO GDrive board.
Jan 30 2017, 11:05 PM · KIO GDrive

Jan 24 2017

elvisangelaccio created T5171: Account root url should not be writable.
Jan 24 2017, 6:37 PM · KIO GDrive

Jan 19 2017

elvisangelaccio updated the task description for T3422: Dolphin's file view not updated after deleting a file.
Jan 19 2017, 5:22 PM · KIO GDrive
elvisangelaccio added a comment to T3422: Dolphin's file view not updated after deleting a file.

Could be a Dolphin bug, possibly related to: https://bugs.kde.org/show_bug.cgi?id=370355

Jan 19 2017, 5:21 PM · KIO GDrive

Dec 31 2016

elvisangelaccio moved T4065: Integrate KIO GDrive with remote:// or Places from Backlog to Done on the KIO GDrive board.
Dec 31 2016, 11:05 AM · Plasma, KIO GDrive
elvisangelaccio moved T4065: Integrate KIO GDrive with remote:// or Places from To Do to Done on the Plasma board.
Dec 31 2016, 11:05 AM · Plasma, KIO GDrive
elvisangelaccio added a comment to T4065: Integrate KIO GDrive with remote:// or Places.

Dec 31 2016, 11:04 AM · Plasma, KIO GDrive

Nov 21 2016

elvisangelaccio updated the task description for T4065: Integrate KIO GDrive with remote:// or Places.
Nov 21 2016, 11:22 AM · Plasma, KIO GDrive

Nov 3 2016

elvisangelaccio added a comment to T4065: Integrate KIO GDrive with remote:// or Places.

Turns out this is easy: we just need to install the following .desktop file in usr/share/remoteview/:

Nov 3 2016, 12:20 PM · Plasma, KIO GDrive
elvisangelaccio created T4251: Investigate KIO::UDSEntry::UDS_EXTRA usage.
Nov 3 2016, 12:07 PM · KIO GDrive

Oct 28 2016

elvisangelaccio added a comment to T3445: Integrate KIO GDrive with KAccounts.

And kaccounts-mobile uses both KAccounts and libkgapi: https://github.com/KDE/kaccounts-mobile/blob/master/google/google-contacts-sync/google-contacts-plugin.cpp

Oct 28 2016, 4:23 PM · Plasma, KIO GDrive