haiwen / seadroid

Android client for Seafile
Other
540 stars 277 forks source link

Error getting starred files / starred-items on seafile server <=6.2.5 #947

Closed rcoss closed 5 months ago

rcoss commented 2 years ago

Between seadroid v2.2.25 and v2.2.26 the method for getting starred files changed from GET /api2/starredfiles to GET /api/v2.1/starred-items. The latter does not work on seafile server v6.2.5 or earlier. I can't find an announcement for that change. In the current code the former method is still there, but it is commented out: line 348 in https://github.com/haiwen/seadroid/blob/a2f4d2a0214582530672ec1413c90cd29c79a6d3/app/src/main/java/com/seafile/seadroid2/SeafConnection.java Setting and unsetting star to files still works with seadroid v2.2.48 and server v6.2.5.

freeplant commented 5 months ago

We does not support server v6 anymore. It is better to upgrade to newer versions.