aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|\
| * picwall: link directly to the target URL (not the permalink)nodiscc2015-03-111-1/+1
| |
* | Merge branch 'cleaner-searchfields' into nextnodiscc2015-03-151-2/+2
|\ \
| * | add placeholder text for search fields, change button text to magnifying ↵nodiscc2015-03-121-2/+2
| |/ | | | | | | glass unicode symbol
* | 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