aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
Commit message (Collapse)AuthorAgeFilesLines
* Bugfixes on link deletion, and use a GET formArthurHoaro2016-12-161-1/+1
| | | | | | | | | | | | Use a GET form to delete links: harmonize with edit_link and preparation for #585 Bug fixes: * LinkDB element can't be passed as reference, fix error: PHP Notice: Indirect modification of overloaded element of LinkDB has no effect * Resource cache folder setting wasn't set correctly
* Fixes can login function call in loginform.htmlArthurHoaro2016-12-151-2/+2
| | | | Fixes #711
* Merge pull request #697 from ArthurHoaro/feature/ids-bisArthur2016-12-123-5/+8
|\ | | | | Link ID refactoring
| * Apply the new ID system accros the whole codebaseArthurHoaro2016-12-123-5/+8
| |
* | Merge pull request #679 from ArthurHoaro/plugins/headerArthur2016-12-123-3/+25
|\ \ | |/ |/| Improve theme dependent plugin placeholders:
| * Improve theme dependent plugin placeholders:ArthurHoaro2016-12-013-3/+25
| | | | | | | | | | | | | | | | | | - buttons_toolbar: now expect links represented by an array instead of HTML content - fields_toolbar: now expect a form represented by an array instead of HTML content - action_plugin: now expect links represented by an array instead of HTML content Default templates updated accordingly mprove theme dependent plugin placeholders:
* | Merge pull request #702 from ArthurHoaro/feed-cdataArthur2016-12-051-3/+1
|\ \ | | | | | | Remove new line between content tag and CDATA in ATOM feed
| * | Remove new line between content tag and CDATA in ATOM feedArthurHoaro2016-12-021-3/+1
| | | | | | | | | | | | Content not starting directly with CDATA can be misinterpreted by some feed parsers.
* | | 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