Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Asynchronous retrieval of bookmark's thumbnails | ArthurHoaro | 2020-10-20 | 2 | -6/+12 |
| | | | | | | | | | 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 | ||||
* | Merge pull request #1567 from ArthurHoaro/feature/async-title-retrieval | ArthurHoaro | 2020-10-20 | 1 | -4/+18 |
|\ | |||||
| * | Add a setting to retrieve bookmark metadata asynchrounously | ArthurHoaro | 2020-10-15 | 1 | -4/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 results | ArthurHoaro | 2020-10-16 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 page | ArthurHoaro | 2020-10-16 | 2 | -3/+3 |
| | | | | | | | | Fixes #1125 | ||||
* | | Support using Shaarli without URL rewriting | ArthurHoaro | 2020-10-16 | 6 | -8/+8 |
|/ | | | | | | | | | - Shaarli can be fully used by prefixing any URL with /index.php/ - {$base_path} used in templates already works with this configuration - Assets path (outside of theme's assets) must be prefixed with {$root_url}/ - Documentation section in « Server configuration » Fixes #1590 | ||||
* | Add Markdown Extra formatter | ArthurHoaro | 2020-10-13 | 1 | -1/+1 |
| | | | | | | | | Library: [Parsedown Extra](https://github.com/erusev/parsedown-extra) Also sort dependencies alphabetically. Fixes #1169 | ||||
* | Security: fix multiple XSS vulnerabilities + fix search tags with special chars | ArthurHoaro | 2020-10-06 | 3 | -10/+10 |
| | | | | | | 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 obvious | sprak3000 | 2020-10-02 | 1 | -2/+2 |
| | | | | This work alters the markup and CSS for the tag sort UI to match the button feel filters and links per page uses. | ||||
* | Fix undefined linkdate variable in vintage theme | ArthurHoaro | 2020-09-25 | 1 | -1/+0 |
| | | | | Fixes #1371 | ||||
* | Fix plugin base path in core plugins | ArthurHoaro | 2020-09-22 | 1 | -1/+1 |
| | | | | | | | Also fix note check in archiveorg plugin, and regression on vintage template. Documentation regarding relative path has been added. Fixes #1548 | ||||
* | Merge pull request #1519 from ArthurHoaro/fix/mobile-pin-link | ArthurHoaro | 2020-09-03 | 1 | -1/+11 |
|\ | | | | | Default template: display pin button in mobile view | ||||
| * | Default template: display pin button in mobile view | ArthurHoaro | 2020-08-27 | 1 | -1/+11 |
| | | | | | | | | Fixes #1347 | ||||
* | | Merge pull request #1526 from kcaran/links_per_page | ArthurHoaro | 2020-09-03 | 1 | -4/+9 |
|\ \ | |||||
| * | | Added $links_per_page variable to template and display on default | Keith Carangelo | 2020-08-29 | 1 | -4/+9 |
| |/ | |||||
* / | Fix broken route to filter not tagged bookmarks | ArthurHoaro | 2020-08-31 | 1 | -21/+23 |
|/ | | | | | | Also display the filter for visitors. Fixes #1529 | ||||
* | Move all admin controller into a dedicated group | ArthurHoaro | 2020-08-13 | 4 | -6/+6 |
| | | | | Also handle authentication check in a new middleware for the admin group. | ||||
* | Better support for notes permalink | ArthurHoaro | 2020-07-28 | 1 | -1/+1 |
| | |||||
* | New basePath: fix officiel plugin paths and vintage template | ArthurHoaro | 2020-07-26 | 12 | -29/+30 |
| | |||||
* | Fix: header search action should be on linklist | ArthurHoaro | 2020-07-24 | 1 | -1/+1 |
| | |||||
* | Multiple small fixes | ArthurHoaro | 2020-07-23 | 1 | -1/+2 |
| | |||||
* | Process Shaarli install through Slim controller | ArthurHoaro | 2020-07-23 | 3 | -5/+5 |
| | |||||
* | Process main page (linklist) through Slim controller | ArthurHoaro | 2020-07-23 | 1 | -1/+1 |
| | | | | | Including a bunch of improvements on the container, and helper used across new controllers. | ||||
* | Process thumbnail synchronize page through Slim controllers | ArthurHoaro | 2020-07-23 | 5 | -6/+6 |
| | |||||
* | Process plugins administration page through Slim controllers | ArthurHoaro | 2020-07-23 | 6 | -9/+10 |
| | |||||
* | Process bookmarks import through Slim controller | ArthurHoaro | 2020-07-23 | 4 | -4/+4 |
| | |||||
* | Process bookmark exports through Slim controllers | ArthurHoaro | 2020-07-23 | 4 | -6/+4 |
| | |||||
* | Pin bookmarks through Slim controller | ArthurHoaro | 2020-07-23 | 1 | -1/+1 |
| | |||||
* | Fix bookmarklet with new routes | ArthurHoaro | 2020-07-23 | 4 | -6/+4 |
| | | | | | * Use the new shaare route * Add source hidden input in editlink template to close the popup after saving | ||||
* | Use multi-level routes for existing controllers instead of 1 level everywhere | ArthurHoaro | 2020-07-23 | 18 | -43/+43 |
| | | | | Also prefix most admin routes with /admin/ | ||||
* | Explicitly define base and asset path in templates | ArthurHoaro | 2020-07-23 | 40 | -132/+134 |
| | | | | | | | 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. | ||||
* | Handle shaare creation/edition/deletion through Slim controllers | ArthurHoaro | 2020-07-23 | 5 | -6/+10 |
| | |||||
* | Process manage tags page through Slim controller | ArthurHoaro | 2020-07-23 | 4 | -6/+6 |
| | |||||
* | Process configure page through Slim controller | ArthurHoaro | 2020-07-23 | 4 | -4/+4 |
| | |||||
* | Process password change controller through Slim | ArthurHoaro | 2020-07-23 | 1 | -0/+28 |
| | |||||
* | Process tools page through Slim controller | ArthurHoaro | 2020-07-23 | 2 | -3/+3 |
| | |||||
* | Initialize admin Slim controllers | ArthurHoaro | 2020-07-23 | 3 | -4/+4 |
| | | | | | | - Reorganize visitor controllers - Fix redirection with Slim's requests base path - Fix daily links | ||||
* | Process session filters through Slim controllers | ArthurHoaro | 2020-07-23 | 2 | -11/+16 |
| | | | | | | | Including: - visibility - links per page - untagged only | ||||
* | Process remove tag endpoint through Slim controller | ArthurHoaro | 2020-07-23 | 2 | -2/+4 |
| | |||||
* | Process OpenSearch controller through Slim | ArthurHoaro | 2020-07-23 | 6 | -6/+12 |
| | | | | Also it was missing on the default template feeds | ||||
* | RSS/ATOM feeds: process through Slim controller | ArthurHoaro | 2020-07-23 | 6 | -12/+12 |
| | |||||
* | Process Daily RSS feed through Slim controller | ArthurHoaro | 2020-07-23 | 4 | -33/+65 |
| | | | | The daily RSS template has been entirely rewritten to handle the whole feed through the template engine. | ||||
* | Process daily page through Slim controller | ArthurHoaro | 2020-07-23 | 1 | -3/+3 |
| | |||||
* | Process tag list page through Slim controller | ArthurHoaro | 2020-07-23 | 3 | -5/+5 |
| | |||||
* | Few optimizations and code readability for tag cloud controller | ArthurHoaro | 2020-07-23 | 2 | -2/+2 |
| | |||||
* | Working version before optimization | ArthurHoaro | 2020-07-23 | 2 | -6/+6 |
| | |||||
* | Process tag cloud page through Slim controller | ArthurHoaro | 2020-07-23 | 4 | -4/+4 |
| | |||||
* | Slim router: handle add tag route | ArthurHoaro | 2020-07-23 | 5 | -5/+5 |
| | |||||
* | Process logout through Slim controller | ArthurHoaro | 2020-07-23 | 2 | -5/+5 |
| | |||||
* | Process picwall rendering through Slim controller + UT | ArthurHoaro | 2020-07-23 | 3 | -47/+40 |
| |