aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'ArthurHoaro/autocomplete' into nextnodiscc2015-03-153-27/+41
|\
| * Use awesomplete as autocomplete lib and remove jQuery - shaarli/Shaarli#148ArthurHoaro2015-03-123-27/+41
| | | | | | | | | | | | | | | | | | * Add awesomplete dependancy (source + min + CSS) * Remove jQuery and jQuery-UI dependancy * Few CSS ajustements * Use tags complete list as RainTPL var (and display it as HTML) * Remove "disable jQuery" feature * Remove tag list web service
* | Merge branch 'include-doc' into nextnodiscc2015-03-151-1/+1
|\ \
| * | Include documentation/wiki locally:nodiscc2015-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | * sync current wiki (https://github.com/shaarli/Shaarli/wiki) to the doc/ directory * fix missing logo in README * add link to local documentation in the page footer * add Makefile targets for doc generation by @virtualtam
* | | added menu div and cleaned up codeMiloš Jovanović2015-03-111-14/+29
|/ /
* / tools dialog: add a 'Add Note' bookmarklet to immediatly open a note (text ↵nodiscc2015-03-071-0/+1
|/ | | | | | | post) compose window * Fixes https://github.com/shaarli/Shaarli/issues/142 * Fixes https://github.com/sebsauvage/Shaarli/issues/59
* fix broken URL for user.cssnodiscc2015-03-051-1/+1
|
* fix broken CSS file URL introduced in 1f7f8ce067b278a4837364191513d04f7548cef9nodiscc2015-03-051-1/+1
|
* cleanup: remove version number from CSS linksnodiscc2015-03-051-2/+2
| | | | * fixes https://github.com/shaarli/Shaarli/issues/134
* Lazy load images with the light lib bLazy.js instead of jQuery:ArthurHoaro2015-03-012-29/+2
| | | | | | | * Remove jquery.lazyload lib * Add blazy lib * Add a bit of CSS animation * Delete unused picwall2 template
* shaarli/Shaarli#34: Make update check optionalArthurHoaro2015-02-202-11/+18
| | | | | * Add a check box at installation (checked by default) * Add a check box in configuration page
* fix broken reset.css URL introduced in a6e0134nodiscc2015-02-171-1/+1
|
* Fix missing authors and licenses in COPYINGnodiscc2015-02-141-0/+1
| | | | | | | * add idleman for original CSS * add yahoo inc. for CSS reset * split the main css code and the yahoo reset CSS in 2 files * add copyright information for RainTPL, add LGPL license
* Update README and Shaarli's footernodiscc2015-02-141-2/+2
| | | | | | | | | * remove version number display from main page * update project URL in footer, fixes https://github.com/shaarli/Shaarli/issues/89 * update copyright notice in the footer * mention origins of the fork in README, fixes https://github.com/shaarli/Shaarli/issues/105 * update License section in the README * remove screenshots as mediacru.sh is down
* Feature: enable/disable permalinks for RSSFlorian Eula2015-02-072-9/+15
| | | | | | | | | | | | | | | | | | | | The option to see the shortlinks or permalinks has been added to the configuration panel. It is a simple checkbox This option is disabled by default (meaning that shortlinks are the default) Updated writeConfig() to save this option Also fixed a slight typo in config.html. Removed useless CSS & fixed a comment Enabled permalinks for the ATOM feed and fixed the isPermaLink attribute for the <guid> tag Reverted to default behavior and clarified its meaning EnableRssPermalinks is an oddly behaving option: when enabled, it shows a permalink in the description and a full link in the element title, and swaps it around when disabled. This clarifies the option for end-users Also, moved enable_rss_permalinks to $GLOBALS['config'] because it is a config option. fix indent
* Merge pull request #99 from pikzen/license-versionnodiscc2015-01-263-5/+5
|\ | | | | Versioned JS files & centralized licenses
| * Versioned JS files & centralized licensesfeula2015-01-213-5/+5
| | | | | | | | | | | | | | Updated libraries Updated copyright dates and the list of contributors. Added unminified sources for GPL compliance
* | Merge pull request #100 from virtualtam/daily-timestampnodiscc2015-01-261-0/+5
|\ \ | | | | | | daily: display link timestamps
| * | daily: display link timestampsVirtualTam2015-01-151-0/+5
| | | | | | | | | | | | | | | | | | Fixes #26 Signed-off-by: VirtualTam <virtualtam@flibidi.org>
* | | w3c: fix HTML syntax errorsVirtualTam2015-01-203-3/+4
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | 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-093-9/+17
| | | | | | | | | | | | | | | | | | | | 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-0810-44/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Refactored the daily column generation (only one loop)Florian Eula2014-12-251-36/+31
| |
* | bookmarklet: add ✚ sign to make it more recognizable in toolbarsnodiscc2014-12-051-1/+1
|/
* CSS: remove hardcoded style from templatesVirtualTam2014-12-0313-46/+46
| | | | | | | | | | | | | | | 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-133-8/+8
|\ | | | | uniform if syntax
| * uniform if syntaxTsT2013-10-233-8/+8
| |
* | use urlencode in tagcloud linksnodiscc2014-11-091-1/+1
| | | | | | | | | | | | * prevents unproper escaping of characters like '&' * fixes https://github.com/sebsauvage/Shaarli/issues/85 * fixes https://github.com/shaarli/Shaarli/issues/48
* | 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
* | Make ATOM toolbar button optionalnodiscc2014-10-231-1/+3
| | | | | | | | | | * ATOM button display is now configurable using the SHOW_ATOM variable in index.php or data/options.php (defaults to false) * Fixes https://github.com/shaarli/Shaarli/issues/24
* | Merge pull request #19 from nodiscc/masternodiscc2014-08-191-1/+1
|\ \ | | | | | | bookmarklet: use selected text as description when adding a new link
| * | bookmarklet: use selected text as description when adding a new linknodiscc2014-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Based on romnGit's work at https://github.com/sebsauvage/Shaarli/pull/104 * Fixes https://github.com/shaarli/Shaarli/issues/18 * Closes https://github.com/sebsauvage/Shaarli/pull/104 * Fixes https://github.com/sebsauvage/Shaarli/issues/53 * Fixes https://github.com/sebsauvage/Shaarli/issues/129 * Fixes https://github.com/sebsauvage/Shaarli/issues/33
* | | Fix grammar, punctuation, spelling, trailing whitepaces and newlines; Fix ↵nodiscc2014-08-192-3/+3
|/ / | | | | | | | | | | | | typo in css Based on respencer's work at https://github.com/respencer/Shaarli/ Closes https://github.com/sebsauvage/Shaarli/pull/103
* | Adds the tip for the title link in the configuration pageChristophe HENRY2014-07-271-1/+1
| |
* | Adds a configuration variable "titleLink" which allows to customize theChristophe HENRY2014-07-272-2/+3
|/ | | | link on the title.
* Removed jQuery from almost all pagesSebastien SAUVAGE2013-09-256-26/+25
| | | | | | | | 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.
* Merge pull request #43 from dsferruzza/highlight-search-resultsSébastien SAUVAGE2013-03-111-0/+10
|\ | | | | Highlight search results
| * Avoid highlighting paging stuffDavid Sferruzza2013-03-101-1/+1
| |
| * Highlight search results (issue #4)David Sferruzza2013-03-101-0/+10
| | | | | | | | Uses http://bartaz.github.com/sandbox.js/jquery.highlight.html
* | Move lazyload init inside the body tagDavid Sferruzza2013-03-101-1/+2
|/
* [add] https://github.com/sebsauvage/Shaarli/issues/20 New links created as ↵Knah Tsaeb2013-03-042-3/+11
| | | | private by default.
* Corrected vulnerabilities (see report below)Sebastien SAUVAGE2013-03-032-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-015-8/+24
| | | | | | | | | | | | | 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-2622-0/+530