Sonerezh / sonerezh

A self-hosted, web-based application to stream your music, everywhere.
https://www.sonerezh.bzh
GNU Affero General Public License v3.0
767 stars 122 forks source link

Rewrite the synchronization system #348

Open lGuillaume124 opened 5 years ago

lGuillaume124 commented 5 years ago

The synchronization system must be rewritten according to the schema discussed in #345.

The process can be split into several methods in the PagesController controller, and match HTTP methods. For instance :

The requests must be stateless without any big transfer of data between the client and the server. No more potentially big sessions on server side, no more endless list of files on client side.

The process will be definitively far much longer than the previous versions, especially in case of tens of thousand files collections. But it should be easier to implement it through a CLI and add some automation capabilities.

The related view will be obviously changed too.

lGuillaume124 commented 5 years ago

The command-line tool must be refactored too.