aboutsummaryrefslogtreecommitdiffhomepage
path: root/webpack.config.js
Commit message (Collapse)AuthorAgeFilesLines
* Feature: bulk creation of bookmarksArthurHoaro2020-10-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add a setting to retrieve bookmark metadata asynchrounouslyArthurHoaro2020-10-151-0/+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
* Upgrade front end dependenciesArthurHoaro2020-09-221-32/+36
| | | | | | | | | | | | | Mostly in order to get rid of deprecated deps, and upgrade vulnerable ones. - Upgrade webpack from 3.x to 4.x - Moved babel package to main repo - Replaced deprecated extract-text-webpack-plugin with extract-text-webpack-plugin - Replaced deprecated babel-minify-webpack-plugin with terser-webpack-plugin - Replaced deprecated node-sass with (dart) sass package - Replaced deprecated sass-lint with stylelint (the rules might be a bit different Related to #1531: trivy doesn't raise any more issue
* Apply the new system (Bookmark + Service) to the whole code baseArthurHoaro2020-01-181-1/+3
| | | | See https://github.com/shaarli/Shaarli/issues/1307
* Add a page to update all thumbnails through AJAX requests in both templatesArthurHoaro2018-07-051-0/+2
|
* Update thumbnail integration after rebasing the branchArthurHoaro2018-07-051-2/+2
|
* Webpack / Configure webpack, ESLint, Travis, Makefile, npm/yarn and gitArthurHoaro2018-03-281-0/+149