aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/common
Commit message (Collapse)AuthorAgeFilesLines
* Asynchronous retrieval of bookmark's thumbnailsArthurHoaro2020-10-201-21/+85
| | | | | | | | | This feature is based general.enable_async_metadata setting and works with existing metadata.js file. The script is compatible with any template: - the thumbnail div bloc must have attribute - the bookmark bloc must have attribute with the bookmark ID as value Fixes #1564
* Add a setting to retrieve bookmark metadata asynchrounouslyArthurHoaro2020-10-151-0/+39
| | | | | | | | | | | | | | - 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
* Process thumbnail synchronize page through Slim controllersArthurHoaro2020-07-231-3/+3
|
* Process token retrieve through Slim controllerArthurHoaro2020-07-231-1/+1
|
* Explicitly define base and asset path in templatesArthurHoaro2020-07-231-3/+5
| | | | | | | 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.
* Fix all relative link to work with new URLArthurHoaro2020-07-231-1/+1
|
* Apply the new system (Bookmark + Service) to the whole code baseArthurHoaro2020-01-181-0/+173
| | | | See https://github.com/shaarli/Shaarli/issues/1307
* Add a page to update all thumbnails through AJAX requests in both templatesArthurHoaro2018-07-051-0/+51
|
* Update thumbnail integration after rebasing the branchArthurHoaro2018-07-052-10/+7
|
* Webpack / Rewrite all JS to ES6 SyntaxArthurHoaro2018-03-281-0/+10