Album list API should return all albums in certain situations
BobbyWibowo opened this issue · 2 comments
lolisafe/controllers/albumsController.js
Line 71 in 771a3f6
e.g. when presented with the option to choose album when trying to move an upload into an album, or the select album option in homepage uploader.
The payload can potentially be simplified to only their IDs and names, to minimize overhead when people have nasty amount of albums.
Afterwards may consider listing all albums in sidebar anyway, but with expand/collapse toggle.
Additionally, consider allowing to fetch albums' files list while non-authorized, as long as its public page is enabled.
Preparation stage for allowing Magane to use lolisafe-based albums as custom packs (lolisafe upstream dev branch already has non-auth API for this).
Main issue fixed in c5647cb.
Additionally, consider allowing to fetch albums' files list while non-authorized, as long as its public page is enabled.
Preparation stage for allowing Magane to use lolisafe-based albums as custom packs (lolisafe upstream dev branch already has non-auth API for this).
Still to-do.
Last one implemented in e85e8e8.