tiberiusteng / financisto1-holo

Financisto 1.6.8 with Holo theme and tweaks
GNU General Public License v2.0
19 stars 11 forks source link

Cloud folder location #28

Open cdzo72 opened 4 months ago

cdzo72 commented 4 months ago

It would be great to be able to choose an existing folder from Dropbox or Drive or a dialogue allowing the creation and location of the Financisto folder

tiberiusteng commented 4 months ago

For dropbox it's using scoped folder, basically means you don't have permission and ability to choose other folder.

Google drive do have ability to select a folder by name, and the reason is that implementing full interfaces for file/folder list and creation are really not worth it, given that you can do it in browser.

cdzo72 commented 4 months ago

Not sure what you mean by the ability to move the folder in Google Drive with the browser. Yes, I can move the Financisto folder created, but when Financisto backs up again, it recreates the folder in the root drive of Drive...

------ Original Message ------ From "tiberiusteng" @.> To "tiberiusteng/financisto1-holo" @.> Cc "Cristian Zamora" @.>; "Author" @.> Date 2024-02-21 8:55:07 AM Subject Re: [tiberiusteng/financisto1-holo] Cloud folder location (Issue

28)

For dropbox it's using scoped folder, basically means you don't have permission and ability to choose other folder.

Google drive do have ability to select a folder by name, and the reason is that implementing full interfaces for file/folder list and creation are really not worth it, given that you can do it in browser.

— Reply to this email directly, view it on GitHub https://github.com/tiberiusteng/financisto1-holo/issues/28#issuecomment-1956831355, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGIDCTTV5Y2FNUQNM2D2ESTYUYDEXAVCNFSM6AAAAABDTGAI5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJWHAZTCMZVGU. You are receiving this because you authored the thread.Message ID: @.***>

tiberiusteng commented 4 months ago

If you renamed the backup folder, be sure to change the Backup Folder in preferences, and new backups / restoring file list should refer to the folder.

When looking for the folder in Google Drive, it only queries with folder name, and don't consider what its parents is (i.e. it doesn't matter where it is in the tree). Therefore you actually can move the backup folder under other folders and it will still work, as long as your drive only have one folder with the name you specified in preferences. If there are multiple, it will use the first one.

For example, if you configured Backup Folder as MyFinancisto, and make a tree like Others\Backups\MyFinancisto in Google Drive, it will use that folder.

If you are testing after move, you can try with Google Drive Restore and see if it can get your previously created files.

cdzo72 commented 4 months ago

Thank you so much for your always quick reply! After quite a while of work I finally got it to work like you mentioned... I had to move some stuff around so the Financisto folder I wanted to use would take the file... I also have some stuff backed up to Drive and the folder structure had to be modified so it would find the folder I wanted to use first instead of another that is a backup of the original.

------ Original Message ------ From "tiberiusteng" @.> To "tiberiusteng/financisto1-holo" @.> Cc "Cristian Zamora" @.>; "Author" @.> Date 2024-02-21 9:29:47 AM Subject Re: [tiberiusteng/financisto1-holo] Cloud folder location (Issue

28)

If you renamed the backup folder, be sure to change the Backup Folder in preferences, and new backups / restoring file list should refer to the folder.

When looking for the folder in Google Drive, it only queries with folder name, and don't consider what its parents is (i.e. it doesn't matter where it is in the tree). Therefore you actually can move the backup folder under other folders and it will still work, as long as your drive only have one folder with the name you specified in preferences. If there are multiple, it will use the first one.

For example, if you configured Backup Folder as MyFinancisto, and make a tree like Others\Backups\MyFinancisto in Google Drive, it will use that folder.

— Reply to this email directly, view it on GitHub https://github.com/tiberiusteng/financisto1-holo/issues/28#issuecomment-1956953080, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGIDCTSFJBRF5O6LEACAX53YUYHGXAVCNFSM6AAAAABDTGAI5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJWHE2TGMBYGA. You are receiving this because you authored the thread.Message ID: @.***>