aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
Commit message (Collapse)AuthorAgeFilesLines
* JS translationArthurHoaro2017-10-223-6/+20
|
* Shaarli's translationArthurHoaro2017-10-224-18/+28
| | | | | | | | | * translation system and unit tests * Translations everywhere Dont use translation merge It is not available with PHP builtin gettext, so it would have lead to inconsistency.
* Merge pull request #987 from ArthurHoaro/hotfix/security-issueArthurHoaro2017-10-071-1/+1
|\ | | | | Fix security issue reported by @chb9
| * Fix security issue reported by @chbiArthurHoaro2017-10-071-1/+1
| | | | | | | | Vulnerability introduced by 6ccd0b218fbd34de750f55b78f3dc43bb3d9fa8e - release with Shaarli v0.9.1.
* | Merge pull request #979 from ArthurHoaro/feature/assets-cache-versionVirtualTam2017-10-062-10/+10
|\ \ | | | | | | Add a version hash for asset loading to prevent browser's cache issue
| * | Add a version hash for asset loading to prevent browser's cache issueArthurHoaro2017-10-012-10/+10
| |/ | | | | | | | | | | The hash is generated using the same salt as the one used for credentials (1 salt per instance) in order to avoid exposing the instance version. Fixes #965
* / Fix jumpy textarea with long content in post editArthurHoaro2017-10-011-0/+6
|/ | | | | | We manually reset the scroll position, to avoid height = 'auto' jump to the top Fixes #971
* visited links color: same hue as unvisited links, darkenednodiscc2017-09-041-1/+1
| | | | | Related to https://github.com/shaarli/Shaarli/issues/877 Plain grey links would lead to think that the link is somehow disabled/inaccessible/private This slightly improves clarity/usability
* Merge pull request #939 from ArthurHoaro/hotfix/firefox-social-titleArthurHoaro2017-09-021-1/+2
|\ | | | | Firefox Social title: Use document.title instead of RainTPL variable
| * Firefox Social title: Use document.title instead of RainTPL variableArthurHoaro2017-09-021-1/+2
| | | | | | | | Fixes #929
* | Merge pull request #950 from thewilli/delete-fixArthurHoaro2017-09-011-3/+3
|\ \ | | | | | | fixed link deletion
| * | fixed link deletionWilli Eggeling2017-08-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | When deleting links, the js of the default theme separated ids by an escaped space ('+'). There was a trailing '+' after the ids which led to the php code detecting multiple values even for single values. In combination with the id '0' this could led to no id found at all and a resulting php error. this commit fixes the behavior and adds an additional error handling and trimming to the php code.
* | | new setting: default value for 'remember me' checkboxWilli Eggeling2017-08-272-2/+5
|/ / | | | | | | | | | | - the default state for the login page's 'remember me' checkbox can now be configured - adapted the default and vintage theme to consider the new setting - added documentation for the new setting
* / fixed note bookmarkletWilli Eggeling2017-08-241-1/+1
|/ | | | - the double quotes used in the alert() call of the note bookmarklet in the default template collided with the ones of the href tag - replaced the double quotes with single ones (just like the link bookmarklet)
* Merge pull request #925 from ArthurHoaro/theme/remove-2nd-sort-byArthurHoaro2017-08-191-2/+0
|\ | | | | Remove the 2nd green 'sort by' row in link list
| * Remove the 2nd green 'sort by' row in link listArthurHoaro2017-08-191-2/+0
| | | | | | | | It isn't really useful and doesn't look good if there isn't enough tags
* | Hide the search link if no tag has been searched in tag listArthurHoaro2017-08-191-3/+5
|/
* Merge pull request #889 from Lucas-C/masterVirtualTam2017-08-034-80/+65
|\ | | | | Using only one form in linklist.html - fix #885
| * Using only one form in linklist.html + adding untaggedonly filter - fix #885Lucas Cimon2017-07-304-80/+65
| |
* | Merge pull request #896 from ArthurHoaro/hotfix/firefox-social-subdirVirtualTam2017-07-231-2/+2
|\ \ | | | | | | Fix Firefox Social button in the default theme
| * | Fix Firefox Social button in the default themeArthurHoaro2017-06-111-2/+2
| | | | | | | | | | | | | | | | | | | | | is no longer required since the JS function is now in . Also, include the trailing slash in the post URL. Fixes #895
* | | Remove merge conflict leftovernodiscc2017-07-111-11/+1
| | | | | | | | | Fixes #900
* | | Generate HTML documentation using MkDocs (WIP)nodiscc2017-06-181-0/+10
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MkDocs is a static site generator geared towards building project documentation. Documentation source files are written in Markdown, and configured with a single YAML file. * http://www.mkdocs.org/ * http://www.mkdocs.org/user-guide/configuration/ Ref. #312 * remove pandoc-generated HTML documentation * move markdown doc to doc/md/, * mkdocs.yml: * generate HTML doc in doc/html * add pages TOC/ordering * use index.md as index page * Makefile: remove execute permissions from generated files * Makefile: rewrite htmlpages GFM to markdown conversion using sed: awk expression aslo matched '][' which causes invalid output on complex links with images or code blocks * Add mkdocs.yml to .gitattributes, exclude this file from release archives * Makefile: rename: htmldoc -> doc_html target * run make doc: pull latest markdown documentation from wiki * run make htmlpages: update html documentation
* | Tagcloud/list improvmentsLucas Cimon2017-06-092-2/+10
|/
* Fixing "Uncaught TypeError" in shaarli.js - fix #893Lucas Cimon2017-06-071-2/+3
|
* Merge pull request #882 from ArthurHoaro/feature/edit-timestampArthurHoaro2017-05-312-2/+15
|\ | | | | Add creation date when editing a link
| * Add creation date when editing a linkArthurHoaro2017-05-312-2/+15
| | | | | | | | | | | | Also, alter the title on edition Fixes #431
* | Merge pull request #884 from ArthurHoaro/hotfix/bookmarklet-url-limitArthurHoaro2017-05-311-2/+12
|\ \ | | | | | | Selection is now limited to 2k characters using bookmarklets
| * | Bookmarklet size limit: increase to 4500 chars and add an alert warningArthurHoaro2017-05-281-2/+12
| | |
| * | Selection is now limited to 2k characters using bookmarkletsArthurHoaro2017-05-251-2/+2
| |/ | | | | | | | | | | to avoid having too large URL Fixes #528
* / Display visited links in greyArthurHoaro2017-05-251-2/+2
|/ | | | Fixes #244
* Merge pull request #841 from ArthurHoaro/feature/search-no-tagArthurHoaro2017-05-252-2/+10
|\ | | | | Empty tag search will look for not tagged links
| * Empty tag search will look for not tagged linksArthurHoaro2017-05-252-2/+10
| | | | | | | | | | | | | | | | | | | | | | Fixes #784 From now, searching for tags with an empty value will return only not tagged links, with the search bar showing `x results [not tagged]`. Note that using the api, the searchtags request parameter must be set to `false` to get the same result. - [ ] Update API doc
* | Merge pull request #881 from ArthurHoaro/feature/note-bookmarkletArthurHoaro2017-05-252-4/+19
|\ \ | | | | | | Add Note bookmarklet #580
| * | Add Note bookmarklet #580philipp-r2017-05-252-4/+19
| | |
* | | Tag list: use awesomplete for tag auto completionArthurHoaro2017-05-253-3/+69
| | |
* | | Adds a taglist view with edit/delete buttonsArthurHoaro2017-05-255-4/+276
| | | | | | | | | | | | | | | | | | * The tag list can be sort alphabetically or by most used tag * Edit/Delete are perform using AJAX, or fallback to 'do=changetag' page * New features aren't backported to vintage theme
* | | Add a token available everywhereArthurHoaro2017-05-251-0/+3
| | |
* | | Move tagcloud template file to tag.cloudArthurHoaro2017-05-252-0/+4
| | |
* | | Merge pull request #819 from ArthurHoaro/feature/multi-deleteArthurHoaro2017-05-254-9/+82
|\ \ \ | | | | | | | | Bulk deletion
| * | | Bulk deletion: remove JS ES6 syntaxArthurHoaro2017-05-081-65/+46
| | | |
| * | | Bulk deletionArthurHoaro2017-05-084-3/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a checkboxes in linklist which display a sub-header containing action buttons * Strongly rely on JS * Requires a modern browser (ES6 syntax support) * Checkboxes are hidden if the browser is old or JS disabled
* | | | Adding ability to display subtags in tagcloudLucas Cimon2017-05-243-3/+25
| | | |
* | | | Fixes file existence check for user.csskalvn2017-05-091-1/+1
|/ / /
* | | Rename title link label to home link and apply it in vintage themeArthurHoaro2017-05-033-4/+4
| | | | | | | | | | | | Related to #853
* | | Merge pull request #852 from ArthurHoaro/theme/install-passwordArthurHoaro2017-04-251-1/+1
|\ \ \ | | | | | | | | Theme: use a password type field during the install
| * | | Theme: use a password type field during the installArthurHoaro2017-04-251-1/+1
| | | |
* | | | Merge pull request #830 from ArthurHoaro/theme/timezoneArthurHoaro2017-04-258-36/+176
|\ \ \ \ | |/ / / |/| | | Change timezone data structure send to the templates
| * | | Apply the new timezone template variables to the vintage themeArthurHoaro2017-04-045-4/+85
| | | |
| * | | Apply the new timezone template variables to the default themeArthurHoaro2017-04-043-32/+91
| | | |