aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/default
Commit message (Collapse)AuthorAgeFilesLines
* Feature: add a Server administration pageArthurHoaro2020-10-211-1/+55
| | | | | | | | | | | | It contains mostly read only information about the current Shaarli instance, PHP version, extensions, file and folder permissions, etc. Also action buttons to clear the cache or sync thumbnails. Part of the content of this page is also displayed on the install page, to check server requirement before installing Shaarli config file. Fixes #40 Fixes #185
* Merge pull request #1567 from ArthurHoaro/feature/async-title-retrievalArthurHoaro2020-10-202-10/+53
|\
| * Add a setting to retrieve bookmark metadata asynchrounouslyArthurHoaro2020-10-152-10/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Feature: highlight fulltext search resultsArthurHoaro2020-10-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | How it works: 1. when a fulltext search is made, Shaarli looks for the first occurence position of every term matching the search. No change here, but we store these positions in an array, in Bookmark's additionalContent. 2. when formatting bookmarks (through BookmarkFormatter implementation): 1. first we insert specific tokens at every search result positions 2. we format the content (escape HTML, apply markdown, etc.) 3. as a last step, we replace our token with displayable span elements Cons: this tightens coupling between search filters and formatters Pros: it was absolutely necessary not to perform the search twice. this solution has close to no impact on performances. Fixes #205
* | 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.
* Issue #1437 - Make tag cloud/list views buttons more obvioussprak30002020-10-021-3/+3
| | | | This work alters the markup and CSS for the tag sort UI to match the button feel filters and links per page uses.
* Fix ESLint after dependency upgradeArthurHoaro2020-09-221-9/+10
|
* Upgrade front end dependenciesArthurHoaro2020-09-221-18/+20
| | | | | | | | | | | | | 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
* Merge pull request #1526 from kcaran/links_per_pageArthurHoaro2020-09-031-0/+5
|\
| * Moved definition of a.selected to pass sasslint testKeith Carangelo2020-08-301-4/+4
| |
| * Added $links_per_page variable to template and display on defaultKeith Carangelo2020-08-291-0/+5
| |
* | 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-232-3/+7
|
* Fix all relative link to work with new URLArthurHoaro2020-07-231-5/+5
|
* Fix SASS LintArthurHoaro2020-01-261-4/+4
|
* Render login page through Slim controllerArthurHoaro2020-01-261-1/+12
|
* Fix image lazy loading issuesArthurHoaro2019-08-151-0/+2
| | | | | For some reason, bLazy won't load the image if the img block has either 0 height or width.
* Responsive issue with delete button fixRajat Hans2019-07-241-1/+0
|
* WIP - Plugin to override default template colorsArthurHoaro2019-07-081-26/+32
| | | | | | | | | | * Adds a new core plugin to override default template colors * Adds a new hook when plugin settings are saved (`save_plugin_parameters`) * Use CSS native variables for main colors instead of SASS variables * Disable SASS sort order rules due to a bug in the plugin Fixes #1312
* Merge pull request #1301 from ArthurHoaro/template/print-cssArthurHoaro2019-05-251-0/+14
|\ | | | | Add print CSS rules to the default template
| * Add print CSS rules to the default templateArthurHoaro2019-05-081-0/+14
| | | | | | | | | | | | | | Fixes #1291 * Display the header bar only on the first page * Hide search bars, pagination buttons, filters, and edit/delete buttons
* | Switch from FontAwesome v4.x to ForkAwesomeArthurHoaro2019-05-192-2/+2
|/ | | | And use the Shaarli icon made by @xuv in the header and footer (default template).
* Merge pull request #1295 from ArthurHoaro/feature/visited-link-colorArthurHoaro2019-05-081-1/+1
|\ | | | | Slightly lighten visited link color
| * Slightly lighten visited link colorArthurHoaro2019-04-221-1/+1
| | | | | | | | To make it more visible in the middle of raw text.
* | Merge pull request #1296 from ArthurHoaro/feature/sticky-labelArthurHoaro2019-05-081-2/+10
|\ \ | | | | | | Display sticky label in linklist
| * | Display sticky label in linklistArthurHoaro2019-04-221-2/+10
| |/ | | | | | | Add sticky label, like private label, in linklist to make it more visible.
* | Merge pull request #1276 from ArthurHoaro/feature/bulk-visibilityArthurHoaro2019-04-221-0/+22
|\ \ | |/ |/| Bulk action: set visibility
| * 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
* | Fix button overlapping on mobile in linklistArthurHoaro2019-02-091-0/+3
|/
* Merge pull request #1208 from ArthurHoaro/feature/select-allArthurHoaro2018-10-062-5/+24
|\ | | | | Add a button to toggle all checkboxes of displayed links
| * Add a button to toggle all checkboxes of displayed linksArthurHoaro2018-08-132-5/+24
| | | | | | | | Related to #1160
* | Sticky feature - Add translation and display for logged out usersArthurHoaro2018-10-061-3/+3
| |
* | Add a button to set links as stickyArthurHoaro2018-10-061-0/+12
| | | | | | | | | | | | Meaning that they always appear on top of all links Fixes #186
* | Fix a JS bug preventing AJAX tag deletion to workArthurHoaro2018-08-161-1/+1
|/ | | | Fixes #1214
* Fix input size for dropdown search formArthurHoaro2018-08-131-2/+0
|
* Remove Firefox Social API shaareArthurHoaro2018-07-281-33/+0
| | | | | | Firefox Social support has been dropped in Firefox 57. Related to #1023
* Bunch of improvement for thumbnails integration:ArthurHoaro2018-07-171-12/+11
| | | | | | | | - add a default thumb size value (125x90px) - improve private vertical bar visual, especially with thumbnails - translations - add a sync thumbs button in tool and empty picwall page - fixes WT download mode in JSON config
* Add a page to update all thumbnails through AJAX requests in both templatesArthurHoaro2018-07-051-0/+44
|
* Update thumbnail integration after rebasing the branchArthurHoaro2018-07-051-0/+4
|
* Reformat default theme SCSS to match SASS rulesArthurHoaro2018-05-101-929/+1117
|
* Webpack / Rewrite all JS to ES6 SyntaxArthurHoaro2018-03-283-695/+619
|
* Webpack / Remove frontend dependencies from tpl/ & inc/ and move them to assets/ArthurHoaro2018-03-2811-0/+2120