filesafe/pages
Bobby Wibowo 3ca692d8c7
Updates
* Refactored all instances of "failedIds" and "albumIds" to "failedids" and "albumids" respectively. Abandoning camel case for these ones.

* Refactored the way it looks into which albums the files are supposed to be added into.
For /api/upload/finishchunks, you can add "albumid" to each object in files[] to specify which album you want the finsihed chunks to be added into. Each object may have different album IDs.
For /api/upload, which is regular uploads, unfortunately you can only choose one album at a time (by adding "albumid" to the request headers, like usual). It uses the same function as the one used for finishchunks to add the files into album, so it shouldn't be hard to extend this ability to regular uploads, someday in the future.

* Fixed a bug in /api/upload/finishchunks. Previously you couldn't ever get it to work.

* Updated error message when successful uploads could not be added to album.

* "albumid" will no longer be added to request headers if they are chunked uploads. They'd have been ignored anyways.
2018-04-05 19:54:24 +07:00
..
album.html Updated version string of all JS and CSS files 2018-04-04 15:20:45 +07:00
auth.html Updated version string of all JS and CSS files 2018-04-04 15:20:45 +07:00
dashboard.html Updates 2018-04-05 19:54:24 +07:00
faq.html Updated version string of all JS and CSS files 2018-04-04 15:20:45 +07:00
home.html Updates 2018-04-05 19:54:24 +07:00