aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/linklist.html
Commit message (Collapse)AuthorAgeFilesLines
* Adds ConfigJson which handle the configuration in JSON format.ArthurHoaro2016-06-111-1/+1
| | | | Also use the Updater to make the transition
* Allow crossed search between terms and tagsArthurHoaro2016-02-281-17/+21
| | | | | | | * Partial fix of #449 * Current use case: search term + click on tag. * LinkFilter now returns all links if no filter is given. * Unit tests.
* Bugfix: prevent LinkFilter to work on outdated data.ArthurHoaro2016-01-201-1/+1
|
* Fixes a bug preventing to remove a tag with special chars when searchingArthurHoaro2016-01-061-1/+1
|
* Link filter refactoringArthurHoaro2016-01-061-4/+13
| | | | | | | | | | * introduce class LinkFilter to handle link filter operation (and lighten LinkDB). * handle 'private only' in filtering. * update template to prefill search fields with current search terms. * coding style. * unit test (mostly move from LinkDB to LinkFilter). PS: preparation for #358 #315 and 'AND' search.
* URL encode links when a redirector is set.ArthurHoaro2015-11-261-2/+4
| | | | | | | | | | | | | | | | | Fixes #328 - URL encode links when a redirector is set * WARNING - template edit - new variable available : "real_url" Contains the final real url (redirected or any other change on original URL) * Don't redirect shaares link in RSS/Atom. * Affects links shaared in description. * Move text2clickable and keepMultipleSpaces to Utils.php + unit test UPDATE: * keepMultipleSpaces renamed to space2nbsp * space2nbsp improved to handle single space at line beginning * links in text description aren't 'nofollow' anymore
* Fixes #360 - Auto-complete more than one tag in tag filter fieldArthurHoaro2015-11-171-9/+24
| | | | | | * Group awesomplete for multi data in a single JS file. * Use it in editlink and linklist. * Move awesomplete JS lib at the end of page in editlink.
* Template upgrade to handle plugin zonesArthurHoaro2015-11-071-66/+24
| | | | Add a bunch of plugin placeholders in templates
* Working on shaarli/Shaarli#224ArthurHoaro2015-06-231-5/+5
| | | | | | | | | | | | I reviewed character escaping everywhere with the following ideas: * use a single common function to escape user data: `escape` using `htmlspecialchars`. * sanitize fields in `index.php` after reading them from datastore and before sending them to templates. It means no escaping function in Twig templates. 2 reasons: * it reduces risks of security issue for future user made templates * more readable templates * sanitize user configuration fields after loading them.
* add tabindex 1/2 to search and tags fieldsnodiscc2015-06-231-2/+3
|
* Add awesomplete to tag search shaarli/Shaarli#49ArthurHoaro2015-06-091-2/+12
|
* Define date format in templates instead of index.php.ArthurHoaro2015-03-311-2/+2
|
* Revert to non-unicode characters for search buttonsnodiscc2015-03-161-2/+2
| | | | * Fixes #172
* add placeholder text for search fields, change button text to magnifying ↵nodiscc2015-03-121-2/+2
| | | | glass unicode symbol
* Merge pull request #99 from pikzen/license-versionnodiscc2015-01-261-1/+1
|\ | | | | Versioned JS files & centralized licenses
| * Versioned JS files & centralized licensesfeula2015-01-211-1/+1
| | | | | | | | | | | | | | Updated libraries Updated copyright dates and the list of contributors. Added unminified sources for GPL compliance
* | w3c: fix HTML syntax errorsVirtualTam2015-01-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #64 All pages: - add `urlencode` when passing the version to a custom stylesheet; - set meaningful values of `alt` and `title` for QR-Code images. Install page: - the form's `action` attribute must be non-empty; - the `valign` attribute is deprecated. Signed-off-by: VirtualTam <virtualtam@flibidi.org>
* | * removed the language attribute on the script element since it is obsolete ↵ArthurHoaro2015-01-091-6/+14
| | | | | | | | | | | | | | | | | | | | and we can safely omit it. * make QRCode JS works with IE : * behave as a normal link if canvas aren't supported (<=IE8) * default parameter values in JS aren't widely supported (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Default_parameters ), use this method instead: http://stackoverflow.com/a/148918/1484919 * dataset isn't supported in IE9 use getAttribute instead * addEventListener works with IE9+ and other browsers
* | W3C compliance (work on issue #64 - ↵ArthurHoaro2015-01-081-5/+5
|/ | | | | | | | | | | | | | | | | | https://github.com/shaarli/Shaarli/issues/64): * fix duplicate IDs - #paging_older, #paging_newer become classes as the paging is displayed twice (top, bottom) in the linklist * fix duplicate IDs - #paging_privatelinks and #paging_linksperpage become classes * daily links are now valid (use &amp) * name attribute is not used anymore on a tag in link list * center tag is replaced by CSS in picwall and tag cloud * action in form tag can't be empty, use # instead * fixed configure table with CSS instead of cellpadding, border, and valign * export links are now valid * remove "size" in input tag * Fix missing alt attributes for img elements * tpl/daily: Use HTML entities instead of char escape codes * tpl/export: fix missing </span> closing tag * Remove obsolete language attribute on <script> elements
* CSS: remove hardcoded style from templatesVirtualTam2014-12-031-7/+7
| | | | | | | | | | | | | | | Fixes shaarli/Shaarli#29 Style elements refactored as follows: - use existing ids and classes if possible, - else, define new ones and stick with the existing naming convention, - remove hardcoded style attributes from RainTPL templates. Exception: In tpl/tagcloud.html, the display size of each tag is computed at page generation. Signed-off-by: VirtualTam <virtualtam@flibidi.org>
* Added a link to the visible URL in the link listFlorian Eula2014-11-211-9/+9
| | | | | Corrected CSS to prevent a line from showing underneath Fixes https://github.com/shaarli/Shaarli/issues/53
* Merge pull request #59 from tst2005/masternodiscc2014-11-131-1/+1
|\ | | | | uniform if syntax
| * uniform if syntaxTsT2013-10-231-1/+1
| |
* | make archive.org integration optional (ARCHIVE_ORG option, defaults to false)nodiscc2014-11-081-0/+2
| |
* | Add Archive.org integrationQwerty2014-11-051-0/+1
|/ | | | * adds an "archive" link next to permalinks, linking to the last version of the page on archive.org
* Removed jQuery from almost all pagesSebastien SAUVAGE2013-09-251-1/+0
| | | | | | | | jQuery has been removed from all pages, except those who really require it (like autocomplete in link edition). Immediate gain: All pages weight 286 kb LESS ! \o/ Highlighting in search results has also been temporarly removed (and will be re-implemented).
* New QR-Code generation codeSébastien SAUVAGE2013-09-251-20/+60
| | | | | | | | | | * QR-Code generation now uses a client-side javascript library instead of an external service. This is better for user privacy. * Library used is http://neocotic.com/qr.js/ (11 kb). * jQuery is no longer used to display QR-Code (this is a first step in removing jQuery entirely). * This library is loaded *only* if the QR-Code icon is clicked. * If javascript is disabled, it will fallback to the external service. * External service was changed from "invx.com" to "qrfree.kaywa.com" because invx has become bloated. By loading the javascript library *only* if the icon is clicked, it will prevent the 11 kb lib to be loaded in every page.
* Corrected vulnerabilities (see report below)Sebastien SAUVAGE2013-03-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Title : Shaarli Vulnerabilities Author : @erwan_lr | @_WPScan_ Vendor : http://sebsauvage.net/wiki/doku.php?id=php:shaarli Download : https://github.com/sebsauvage/Shaarli/archive/master.zip | http://sebsauvage.net/files/shaarli_0.0.40beta.zip Affected versions : master-705F835, 0.0.40-beta (versions below may also be vulnerable) Vulnerabilities : Persistent XSS & Unvalidated Redirects and Forwards Persistent XSS : - During the instalation or configuration modification, the title field is vulnerable. e.g <script>alert(1)</script> Quotes can not be used because of var_export(), but String.fromCharCode works - The url field of a link is vulnerable : When there is no redirector : javascript:alert(1) Then, the code is triggered when a user click the url of a link Or with a classic XSS : "><script>alert(1)</script> Unvalidated Redirects and Forwards : A request with the param linksperpage or privateonly can be used to redirect a user to an arbitrary referer e.g GET /Audit/Shaarli/master-705f835/?linksperpage=10 HTTP/1.1 Host: 127.0.0.1 Referer: https://duckduckgo.com History : March 2, 2013 - Vendor contacted
* Added option to disable jQuery and heavy javascriptSebastien SAUVAGE2013-03-011-1/+4
| | | | | | | | | | | | | Shaarli uses light Javascript in its normal operation, and some jQuery for some features (autocomplete in tags, QR-Code popup...). jQuery can be slow on small computers. An option has been added in configuration screen to disable javascript features which are hard on CPU. (Note that the Picture Wall is awfully heavy *without* jQuery.) (Side note: A *LOT* of users want Shaarli to work without javasript at all, if possible. That's why I try to use as few javascript as possible: It keeps Shaarli pages fast.)
* After clicking save/cancel on a link, scroll to the link itself.Sébastien SAUVAGE2013-02-271-0/+1
|
* Edit/delete button on the left-side of links.Sébastien SAUVAGE2013-02-271-4/+6
| | | | https://github.com/sebsauvage/Shaarli/issues/5
* Initial commit (version 0.0.40 beta)v0.0.40betaSébastien SAUVAGE2013-02-261-0/+76