aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/common/js/shaare-batch.js
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1694 from ArthurHoaro/fix/bulk-add-redirect-tokenArthurHoaro2021-01-261-1/+1
|\ | | | | Fix: bulk add redirection with ending slash
| * Fix: bulk add redirection with ending slashArthurHoaro2021-01-191-1/+1
| | | | | | | | | | | | Otherwise cookie may not be store under the right subfolder, thus generating tokens in the wrong session file. Fixes #1690
* | Merge pull request #1693 from ArthurHoaro/fix/bulk-add-deleteArthurHoaro2021-01-191-2/+2
|\ \ | | | | | | Fix: bulk add - delete existing link
| * | Fix: bulk add - delete existing linkArthurHoaro2021-01-191-2/+2
| |/ | | | | | | | | | | Do not send redirect response in bookmark delete controller if the request comes from bulk creation page. Fixes #1683
* / Fix: bulk add - private statusArthurHoaro2021-01-191-1/+5
|/ | | | | | Use 'checked' attribute instead of 'value' for checkboxes. 'value' always returns 'on'. Fixes #1684
* Bulk creation: displays a progress bar when saving all displayed formsArthurHoaro2020-10-271-4/+18
|
* Feature: bulk creation of bookmarksArthurHoaro2020-10-271-0/+107
This changes creates a new form in addlink page allowing to create multiple bookmarks at once more easily. It focuses on re-using as much existing code and template component as possible. These changes includes: - a new form in addlink (hidden behind a button by default), containing a text area for URL, and tags/private status to apply to created links - this form displays a new template called editlink.batch, itself including editlink template multiple times - User interation in this new templates are handle by a new JS script (shaare-batch.js) making AJAX requests, and therefore does not need page reloading - ManageShaareController has been split into 3 distinct controllers: + ShaareAdd: displays addlink template + ShaareManage: various operation applied on existing shaares (change visibility, pin, deletion, etc.) + ShaarePublish: handles creation/edit forms and saving Shaare's form - Updated translations Fixes #137