aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup: explicitely loop over PHP variables in templatesVirtualTam2016-10-169-12/+12
| | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/613 Before: {loop="someVariable"} After: {loop="$someVariable"} Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Bugfix: display plugin parameter description only if it existsArthurHoaro2016-10-141-1/+3
|
* Merge pull request #622 from ArthurHoaro/update-dateArthur2016-10-123-3/+14
|\ | | | | Save link update dates and render it in templates and feeds
| * Set updated date for items in feedsArthurHoaro2016-08-032-2/+4
| | | | | | | | | | RSS doesn't support updated date for items, so we use the ATOM extension. Updated dates also bump the global update
| * Save the update date in LinkDB and pass it to linklist templatesArthurHoaro2016-08-031-1/+10
| | | | | | | | It can be used as a timestamp by templates under the key 'updated_timestamp'.
* | Merge pull request #619 from ArthurHoaro/plugins/param-descVirtualTam2016-08-131-2/+3
|\ \ | | | | | | Add a description to plugin parameters
| * | Plugin parameter description: Update the templates to display themArthurHoaro2016-08-021-2/+3
| |/
* | Refactor bookmark import using a generic Netscape parserVirtualTam2016-08-101-13/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to #607 Relates to #608 Relates to #493 (abandoned) Additions: - use Composer's autoload to load 3rd-party dependencies under vendor/ Modifications: - [import] replace the current parser with a generic, stable parser - move code to application/NetscapeBookmarkUtils - improve status report after parsing - [router] use the same endpoint for both bookmark upload and import dialog - [template] update bookmark import options - allow adding tags to all imported links - allow selecting the visibility (privacy) of imported links - [tests] ensure bookmarks are properly parsed and imported in the LinkDB - reuse reference input from the parser's test data See: - https://github.com/shaarli/netscape-bookmark-parser - https://getcomposer.org/doc/01-basic-usage.md#autoloading Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Bugfix: enable change password if open shaarli is disabledArthurHoaro2016-08-061-1/+1
|/
* Fix variable in configure.phpArthurHoaro2016-07-101-1/+1
|
* Merge pull request #570 from ArthurHoaro/config-managerArthur2016-07-097-45/+85
|\ | | | | Introduce a configuration manager
| * Rename configuration keys and fix GLOBALS in templatesArthurHoaro2016-06-114-7/+5
| |
| * Adds ConfigJson which handle the configuration in JSON format.ArthurHoaro2016-06-112-2/+2
| | | | | | | | Also use the Updater to make the transition
| * Replace $GLOBALS configuration with the configuration manager in the whole ↵ArthurHoaro2016-06-112-6/+6
| | | | | | | | code base
| * Configuration template indentingArthurHoaro2016-06-111-36/+78
| |
* | Firefox Share: Use selected text as descriptionnodiscc2016-06-121-1/+1
|/ | | https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Social_API/Share
* Merge pull request #560 from ArthurHoaro/nb-private-shaareArthur2016-05-141-1/+2
|\ | | | | Private links counter in the header
| * Add private link counterArthurHoaro2016-05-131-1/+2
| |
* | Merge pull request #556 from ArthurHoaro/login-refillArthur2016-05-141-18/+28
|\ \ | |/ |/| Prefill the login field when the authentication has failed
| * Prefill the login field when the authentication has failedArthurHoaro2016-05-061-3/+12
| |
| * Reindent the login templateArthurHoaro2016-05-061-18/+19
| |
* | Merge pull request #557 from ArthurHoaro/remove-deliciousArthur2016-05-101-1/+3
|\ \ | | | | | | Remove delicious from Shaarli description
| * | Remove delicious from Shaarli descriptionArthurHoaro2016-05-081-1/+3
| |/
* / 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