aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/default/js
Commit message (Collapse)AuthorAgeFilesLines
* Feature: support any tag separatorArthurHoaro2020-11-051-12/+16
| | | | | | | | So it allows to have multiple words tags. Breaking change: commas ',' are no longer a default separator. Fixes #594
* Fix confirm popup before bookmark deletionArthurHoaro2020-11-051-1/+2
| | | | | | Regression introduced by #1596 Fixes #1623
* Bulk creation: fix private status based on the first formArthurHoaro2020-10-271-0/+8
|
* Feature: bulk creation of bookmarksArthurHoaro2020-10-271-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge pull request #1567 from ArthurHoaro/feature/async-title-retrievalArthurHoaro2020-10-201-10/+2
|\
| * Add a setting to retrieve bookmark metadata asynchrounouslyArthurHoaro2020-10-151-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - There is a new standalone script (metadata.js) which requests a new controller to get bookmark metadata and fill the form async - This feature is enabled with the new setting: general.enable_async_metadata (enabled by default) - general.retrieve_description is now enabled by default - A small rotating loader animation has a been added to bookmark inputs when metadata is being retrieved (default template) - Custom JS htmlentities has been removed and mathiasbynens/he library is used instead Fixes #1563
* | Improve Manage tags pageArthurHoaro2020-10-161-1/+1
|/ | | | Fixes #1125
* Security: fix multiple XSS vulnerabilities + fix search tags with special charsArthurHoaro2020-10-061-2/+8
| | | | | | XSS vulnerabilities fixed in editlink, linklist, tag.cloud and tag.list. Also fixed tag search with special characters: urlencode function needs to be applied on raw data, before espaping, otherwise the rendered URL is wrong.
* Fix ESLint after dependency upgradeArthurHoaro2020-09-221-9/+10
|
* Export: refresh CRSF token after submitArthurHoaro2020-09-011-3/+16
| | | | | | This allow users to submit the form multiple times, because there is no actual browser redirection to the page. Fixes #1532
* Better support for notes permalinkArthurHoaro2020-07-281-2/+6
|
* Process token retrieve through Slim controllerArthurHoaro2020-07-231-1/+1
|
* Process change visibility action through Slim controllerArthurHoaro2020-07-231-1/+1
|
* Use multi-level routes for existing controllers instead of 1 level everywhereArthurHoaro2020-07-231-4/+4
| | | | Also prefix most admin routes with /admin/
* Explicitly define base and asset path in templatesArthurHoaro2020-07-231-10/+17
| | | | | | | With the new routes, all pages are not all at the same folder level anymore (e.g. /shaare and /shaare/123), so we can't just use './' everywhere. The most consistent way to handle this is to prefix all path with the proper variable, and handle the actual path in controllers.
* Process manage tags page through Slim controllerArthurHoaro2020-07-231-3/+3
|
* Fix all relative link to work with new URLArthurHoaro2020-07-231-5/+5
|
* Bulk action: set visibilityArthurHoaro2019-02-091-0/+22
| | | | | | Added 2 buttons when link checkboxes are checked to set them either public or private. Related to #572 #1160
* Merge pull request #1208 from ArthurHoaro/feature/select-allArthurHoaro2018-10-061-4/+23
|\ | | | | Add a button to toggle all checkboxes of displayed links
| * Add a button to toggle all checkboxes of displayed linksArthurHoaro2018-08-131-4/+23
| | | | | | | | Related to #1160
* | Fix a JS bug preventing AJAX tag deletion to workArthurHoaro2018-08-161-1/+1
|/ | | | Fixes #1214
* Remove Firefox Social API shaareArthurHoaro2018-07-281-33/+0
| | | | | | Firefox Social support has been dropped in Firefox 57. Related to #1023
* Webpack / Rewrite all JS to ES6 SyntaxArthurHoaro2018-03-282-683/+603
|
* Webpack / Remove frontend dependencies from tpl/ & inc/ and move them to assets/ArthurHoaro2018-03-282-0/+767