freeflowuniverse / aydo

Fully featured and highly configurable SFTP server with optional HTTP/S, FTP/S and WebDAV support - S3, Google Cloud Storage, Azure Blob
GNU Affero General Public License v3.0
0 stars 0 forks source link

see if we can integrate onlyoffice DocumentServer #2

Closed despiegk closed 1 year ago

despiegk commented 1 year ago

see https://github.com/ONLYOFFICE/DocumentServer

see how we can edit an office file using document server

deployment

alichaddad commented 1 year ago

An update: Trying to make the sftpgo files accessible to the document server. Facing some trouble working around the API provided by sftpgo and its oauth scheme.

alichaddad commented 1 year ago

It seems that it is not going to be possible to integrate with document server with SFTPGO without some changes to our fork. This is due to issues arising from the authentication system of SFTPGO. The api provided by the document server doesn't offer a lot in terms of connecting to a authenticated server and thus some changes will need to happen to expose the files hosted by SFTPGO.

I tried doing a small change that allowed accessing the API by passing the token through a query parameter(while this is something that most people wouldn't recommend, it is still used in some cases) but this didn't work unfortunately due to the separation between the webclient interface and the API layer, rendering the use of tokens generated by user login unable to be repurposed for the API interface. Any thoughts on this? @despiegk

despiegk commented 1 year ago

we can change it, shouldn't be that much change, expected that we have to change something

alichaddad commented 1 year ago

Integration is almost done, some minor issues to be fixed and finishing the docker configuration

alichaddad commented 1 year ago

Integration is done with SFTPGO

despiegk commented 1 year ago

wow, how to use & deploy?

xmonader commented 1 year ago

should be as simple as editing a doc file from the file manager

mohamedamer453 commented 1 year ago

Verified.

DocumentServer was added and it works fine, it allows the user to edit files with all of the functionalities needed.

Screencast from 01-06-23 14:47:26.webm