- merge putMediaToCloud and putFileToPool into putFileToCloud
with FileUploadMode for media-safe vs generic uploads
Signed-off-by: Texas0295 <kimura@texas0295.top>
The tus-based upload flow (/drive/tus) has been removed upstream in favor
of a new multipart upload protocol. This commit replaces all TusClient
usage with the new FileUploader service that follows the official
/drive/files/upload/{create,chunk,complete} endpoints.
Changes include:
- remove tus_client_dart dependency and related code
- add putFileToPool() backed by FileUploader.uploadFile()
- update uploadAttachment() to call the new putFileToPool
- preserve poolId support, filename, and mimetype handling
- ensure progress callbacks fire at start and completion
This aligns the client with the new upload protocol while keeping the
same Compose UI and settings logic introduced in earlier patches.
Signed-off-by: Texas0295 <kimura@texas0295.top>