aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
Commit message (Collapse)AuthorAgeFilesLines
* Export: allow prepending notes with the Shaarli instance's URLVirtualTam2016-05-061-9/+15
| | | | | | | | | | | | | | | | Relates to #102 Additions: - application: - export: allow prepending note permalinks with the instance's URL - test coverage Modifications: - export template: switch to an HTML form - link selection (all/private/public) - prepend note permalinks with the instance's URL Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Refactor Netscape bookmark exportingVirtualTam2016-04-102-10/+26
| | | | | | | | | | | | | | | Relates to https://github.com/shaarli/netscape-bookmark-parser/issues/5 Fixes: - respect the Netscape bookmark format "specification" Modifications: - [application] introduce the NetscapeBookmarkUtils class - [template] export - improve formatting, rename export selection parameter - [template] export.bookmarks - template for Netscape exports - [tests] bookmark filtering, additional field generation Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Fixes #526: bad font size separator in tagcloud with some localeArthurHoaro2016-03-311-2/+2
| | | | | * Force the number format with number_format(). * Reduce the size deciment number to 2.
* Reword the ENABLE_RSS_PERMALINKS in the settings.ArthurHoaro2016-03-181-2/+5
|
* Adds a RSS template fileArthurHoaro2016-03-181-0/+34
| | | | | | | | | Improvements: * Add searchtags in categories domain URL. * Language is now based on the locale. * Add a generator tag. * self link is always displayed.
* Create a template to handle ATOM feedArthurHoaro2016-03-181-0/+40
| | | | | | | | ATOM feed improvement: * Adds a subtitle to match RSS feed behavior. * Better syntax for categories (see http://edward.oconnor.cx/2007/02/representing-tags-in-atom ). * Use locale to set the language
* Merge pull request #496 from ArthurHoaro/cross-searchArthur2016-02-281-17/+21
|\ | | | | Allow crossed search between terms and tags
| * 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.
* | Fixes #494: inputs & labels with plugin nameNicolas Danelon2016-02-231-8/+8
|/
* cleanup: use DateTime to format datesVirtualTam2016-02-171-2/+2
| | | | | | | | | | | | | | | Closes #270 Modifications: - replace custom date parsing by DateTime calls - use proper date formatting for RSS feeds Deletions: - linkdate2timestamp() - linkdate2rfc822 - linkdate2iso8601 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Fixes #378 - Plugin administration UI.ArthurHoaro2016-01-312-5/+143
|
* fix whitespacenodiscc2016-01-221-1/+1
|
* Merge pull request #444 from dimtion/404_templateArthur2016-01-211-0/+17
|\ | | | | Create 404 template
| * Create 404 templateDimtion2016-01-201-0/+17
| | | | | | | | Solve #430 for links
* | Bugfix: prevent LinkFilter to work on outdated data.ArthurHoaro2016-01-201-1/+1
|/
* tests: add a make target to check file permissionsVirtualTam2016-01-171-0/+0
| | | | | | | | Additions: - [makefile] check versioned files are not executable - [travis] call the new make target Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* 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.
* Merge pull request #408 from ArthurHoaro/gototopVirtualTam2015-12-091-0/+5
|\ | | | | Adding a new placeholder in render_footer hook.
| * Adding a new placeholder in render_footer hook.ArthurHoaro2015-12-081-0/+5
| | | | | | | | Allow free elements at the end of the page.
* | Merge pull request #393 from ArthurHoaro/tools-js-indentVirtualTam2015-12-071-4/+47
|\ \ | |/ |/| Minimal indent of tools.html
| * Minimal indent of tools.htmlArthurHoaro2015-12-071-4/+47
| |
* | application: default to the "stable" branch for update checksVirtualTam2015-11-271-2/+10
| | | | | | | | | | | | | | Relates to #372 Relates to #390 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | URL encode links when a redirector is set.ArthurHoaro2015-11-263-4/+6
|/ | | | | | | | | | | | | | | | | 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
* Merge pull request #377 from ArthurHoaro/search-tag-autocompleteVirtualTam2015-11-222-43/+27
|\ | | | | Fixes #360 - Auto-complete more than one tag in tag filter field
| * Fixes #360 - Auto-complete more than one tag in tag filter fieldArthurHoaro2015-11-172-43/+27
| | | | | | | | | | | | * 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.
* | Fixes #176 - Add opensearch functionalityArthurHoaro2015-11-172-1/+47
|/ | | | | * add a new page in Router: do=opensearch which displays the opensearch plugin * using base64 compressed image to avoid issue encountered with HTTPS
* Handle errors raised by plugins in template. fixes #370ArthurHoaro2015-11-081-0/+7
|
* Template upgrade to handle plugin zonesArthurHoaro2015-11-0711-77/+136
| | | | Add a bunch of plugin placeholders in templates
* [fix] #293Knah Tsaeb2015-07-221-2/+4
| | | Black thumbnails on picture wall after upgrade #293
* Merge pull request #262 from ArthurHoaro/dup-tagsArthur2015-07-121-1/+23
|\ | | | | Avoid tag duplicates
| * Avoid tag duplicatesArthurHoaro2015-07-121-1/+23
| | | | | | | | | | | | | | * Prevent duplicate client side with awesomplete * Prevent duplicate server side (save_edit processing) Fixes #261
* | Include the whole <item> in dailyRSSArthurHoaro2015-07-111-8/+16
|/ | | | | | | | Allow custom date format and title in templates. Also a bit of code style review. Fixes #182
* duplicated id removednicolasm2015-06-261-1/+1
|
* Working on shaarli/Shaarli#224ArthurHoaro2015-06-2310-22/+22
| | | | | | | | | | | | 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
|
* Merge remote-tracking branch 'ArthurHoaro/daily-date' into nextnodiscc2015-06-231-1/+1
|\
| * Daily page: date format in templateArthurHoaro2015-06-191-1/+1
| | | | | | | | | | | | | | | | It only concerns the date of the day in the main title. Fixes #182 Note that daily RSS feed is not generated through templates. Date are still hard formatted in that case.
* | Merge remote-tracking branch 'nicolasdanelon/master' into nextnodiscc2015-06-231-4/+6
|\ \
| * | login enhance for mobilenda2015-06-191-4/+6
| |/
* / Add awesomplete to tag search shaarli/Shaarli#49ArthurHoaro2015-06-091-2/+12
|/
* Add Firefox Social API to the tools. Fixes #101.Marsup2015-05-152-0/+31
|
* change wording and variable names for "Hide public links" featurenodiscc2015-04-101-2/+2
|
* Merge remote-tracking branch 'pikzen/disable-public' into nextnodiscc2015-04-101-0/+7
|\
| * Allow disabling all public links, fixes #188feula2015-04-091-0/+7
| |
* | doc: point footer link to local html documentationnodiscc2015-04-051-1/+1
|/
* Fix php error in daily RSSnodiscc2015-03-311-1/+1
| | | | | Use of undefined constant htmlspecialchars - assumed 'htmlspecialchars' in /var/www/links/tmp/dailyrss.* Thanks @alexisju in https://github.com/shaarli/Shaarli/commit/bec18701801cc140d760c261dd115fda1507a0dd
* Define date format in templates instead of index.php.ArthurHoaro2015-03-313-4/+4
|
* Revert to non-unicode characters for search buttonsnodiscc2015-03-161-2/+2
| | | | * Fixes #172
* Merge branch 'picwall-direct-link' into nextv0.0.44betanodiscc2015-03-151-1/+1
|\