Feature #7255
( Forum) Foro > Tema de Foro > no permite subir más de 1 adjunto
Description
Pasos:
1. Crear un curso
2. Ir a la herramienta de Foros
3. Crear un Foro y dentro del foro crear un Nuevo Tema
No permite subir/Eliminar más de 01 archivo adjunto, debería permitir subir/eliminar 1 ó más archivos como adjunto a un "Nuevo Tema"
4. Lo mismo pasa en Responder a ese Tema , Responder a este mensaje Citar este mensaje
en cualquier interacción en el nuevo Tema No permite subir más de 01 archivo adjunto, debería permitir subir/Eliminar 1 ó más archivos como adjunto a un "Nuevo Tema"
Files
Related issues
Associated revisions
Add recover forum.ajax.php Fix javascript code, request params add security, need lang variables translation and more comment the new code - refs #7255
Add comments and minor refactor - refs #7255
History
Updated by Angel Quiroz over 7 years ago
- Status changed from New to Assigned
- Assignee set to Angel Quiroz
Updated by Daniel Barreto over 7 years ago
- Status changed from New to Assigned
- Assignee set to Daniel Barreto
Updated by Daniel Barreto over 7 years ago
- % Done changed from 0 to 10
- Allow to upload multile files in forum message form (search into forumfunction.inc.php)
- Process upload of files to temporal folder (into archive folder) by ajax
- Update form validation to check if is not ajax upload in process and temporal folder into archive
- Update threads to show many files
Updated by Daniel Barreto over 7 years ago
- % Done changed from 10 to 40
Its working but need some improvements:
- Recover files uploaded when form is wrong and allow delete them
- Recover files when editing post from forum
- Improve design when show all files attached
- Add a option to configure max attachment files by post.
PR366:
https://github.com/chamilo/chamilo-lms/pull/366
DO NOT MERGE YET
Updated by Daniel Barreto over 7 years ago
- % Done changed from 40 to 50
More things to do:
- Complete filter to show correct attachment by post (cases: new post, reply, edit post)
- Allow to delete a attachment file (from Database and file system)
- Improve design how to show attachment list into posts
Updated by Daniel Barreto over 7 years ago
Complete how to select correct attachment by forum posts and Update to allow delete attachment files, but need to improve security and desing.
PR has ben updated (overwrite pevious commit)
NOT ready yet.
Updated by Daniel Barreto over 7 years ago
- form.ajax.php fully recovered.
- Fix javascript code
- Add more security
- Fix http request params (urls)
Finally need to improve design
Updated by Daniel Barreto over 7 years ago
- % Done changed from 50 to 60
- Add comments and documentation
- Minor refactor
Updated by Alex Aragon over 7 years ago
Con Daniel estamos revisando el diseño, de presentación, el boton tiene un comportamiento rato, no muestra el progreso de la carga del archivo, con respecto a la visualización cuando es replay del mensaje hay un iframe que muestra el contenido de mensajes anteriores, cabe mencionar si es necesario o no, en mi caso recomiendo solo mostrar el contenido del mensaje a responder y no todo el hilo.
Falta definir la apariencia del botom de carga
Updated by Alex Aragon over 7 years ago
- File button.png button.png added
Se mejoro la presentación del button de subida de archivos, Daniel trabajara en el orden de la estructura de las cosas.
Updated by Daniel Barreto over 7 years ago
- Assignee changed from Daniel Barreto to Yannick Warnier
- % Done changed from 60 to 70
Update functions to use new design
Update PR#366
https://github.com/chamilo/chamilo-lms/pull/366
It's ready to review and test
Updated by Yannick Warnier over 7 years ago
- Assignee changed from Yannick Warnier to Daniel Barreto
Re-assigned to Daniel for a bit of cleaning
Updated by Daniel Barreto over 7 years ago
- Assignee changed from Daniel Barreto to Yannick Warnier
Things done:
Improve code style (PSR-2)
Add more documentation
Remove unused code (about $path variable in upload file ajax form)
Update PR#366
https://github.com/chamilo/chamilo-lms/pull/366
Updated by Yannick Warnier over 7 years ago
- Status changed from Assigned to Feature implemented
- % Done changed from 70 to 100
Reviewed and merged. Closing.
Add multiple file upload and show list of attachment files from view threads. It is working but need to improve design - refs #7255