aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #701 from ArthurHoaro/plugins/md-html-docArthur2016-12-031-2/+2
|\ | | | | Describe markdown HTML rendering and display a warning
| * Describe markdown HTML rendering and display a warningArthurHoaro2016-12-011-2/+2
| | | | | | | | Fixes #688
* | Merge pull request #700 from teromene/firefox-social-titleArthur2016-11-301-15/+17
|\ \ | | | | | | Show page title when sharing via Firefox Social.
| * | Show page title when sharing via Firefox Social.Teromene2016-11-291-15/+17
| |/
* / Disable Firefox Social in the tools section if the page is not loaded using ↵Teromene2016-11-291-1/+5
|/ | | | HTTPS, as Firefox will deny the request.
* Add meta tag to block sending the referrerFelix Kästner2016-11-211-1/+2
| | | | | Add a meta tag that tells the browser not to send the referrer header to external sites.
* 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