insomnia-lab / libreant

{,e}Book archive, focused on small grassroot archives, distributed search, support to different kind of objects
GNU Affero General Public License v3.0
18 stars 8 forks source link

select multiple file for upload #244

Open ael-code opened 8 years ago

ael-code commented 8 years ago

At the moment it is not possible to select multiple file all at once. Instead you must choose each file individually.

boyska commented 8 years ago

adding the multiple keyword will be enough ? like explained here http://www.w3schools.com/tags/att_input_multiple.asp I have not tested, but doing it is really easy.

pabloimmediate commented 5 years ago

Hello, Any news about this feature?

leophys commented 5 years ago

Hi @pabloimmediate, thanks for contacting us. As you might have noticed, this project is quite stale :blush: We are stuck at python 2.7 and the ui is a handmade bootstrap template served via Flask.

In my fork I made a branch (modern-docker) to develop in a slightly more modern way (there is a docker-compose file, and a docker-compose up from the root should do). I verified (in my dev) that adding multiple in the <input> tag is not enough. It allows to select multiple files at once in the ui, but then only one is uploaded in the db. I still didn't get why: it might either be an ui or backend issue.

What are your specific needs? Are you interested in the philosophy of this webapp? Are you interested in helping update it to modern frameworks?

Greetings

Lootfi commented 4 years ago

Hey not sure if this will help .. but I think naming your input input[] will do the trick