aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | Fix: ensure Internet Explorer bookmark dumps can be importedVirtualTam2016-08-123-2/+38
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/607 Modifications: - [application][tests] NetscapeBookmarkUtils: more permissive doctype detection The IE bookmark exports contain extra escape sequences, which can be observed by binary comparison of the reference input data used in tests: $ cmp -b -l -n 8 netscape_basic.htm internet_explorer_encoding.htm 1 74 < 357 M-o 2 41 ! 273 M-; 3 104 D 277 M-? 4 117 O 74 < 5 103 C 41 ! 6 124 T 104 D 7 131 Y 117 O 8 120 P 103 C Signed-off-by: VirtualTam <virtualtam@flibidi.net>
| * | | Merge pull request #634 from virtualtam/composer/gitattributesVirtualTam2016-08-121-1/+0
| |\ \ \ | | | | | | | | | | Fix: keep composer.json in release archives
| | * | | Fix: keep composer.json in release archivesVirtualTam2016-08-121-1/+0
| |/ / / | | | | | | | | | | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/607 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
| * | | Merge pull request #612 from virtualtam/refactor/bookmark-parserArthur2016-08-1010-122/+779
| |\ \ \ | | | | | | | | | | Refactor bookmark import using a generic Netscape parser
| | * | | Refactor bookmark import using a generic Netscape parserVirtualTam2016-08-1010-122/+779
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | Merge pull request #632 from ↵VirtualTam2016-08-101-7/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | virtualtam/composer/shaarli/netscape-bookmark-parser Composer: reference shaarli/netscape-bookmark-parser from Packagist
| | * | | Composer: reference shaarli/netscape-bookmark-parser from PackagistVirtualTam2016-08-101-7/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/pull/607 Relates to https://github.com/shaarli/Shaarli/pull/612 Relates to https://github.com/shaarli/netscape-bookmark-parser/issues/15 Modification: - reference the "shaarli" vendor repository on Packagist instead of overriding the upstream package with an SCM repository See https://packagist.org/packages/shaarli/netscape-bookmark-parser Signed-off-by: VirtualTam <virtualtam@flibidi.net>
| * | | Merge pull request #624 from julienCXX/pr-curl-http-fetchArthur2016-08-091-10/+150
| |\ \ \ | | | | | | | | | | Added (and set as default) a cURL-based method for fetching HTTP content
| | * | | Set cURL as default in HTTP fetching, a fallback method and consistency ↵julienCXX2016-08-081-10/+150
| | | |/ | | |/| | | | | | | | | fixup between both methods
* | | | Display link count only on linklistArthurHoaro2016-12-122-8/+9
| | | |
* | | | Remove the green headerArthurHoaro2016-12-123-93/+107
| | | |
* | | | W3C ComplianceArthurHoaro2016-11-057-9/+9
| | | |
* | | | Bugfixes on link deletion, and use a GET formArthurHoaro2016-11-053-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Add Piwik PluginAdrien Oliva2016-11-052-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | [PullRequest #677] Change after Review Fix logic, my bad!
* | | | Fix an issue with links not being reversed in code blocksArthurHoaro2016-11-054-5/+67
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #672 + Markdown to HTML unit test
* | | | Use Composer to import Parsedown libraryArthurHoaro2016-11-054-1535/+2
| | | | | | | | | | | | | | | | Reference #613
* | | | LinkDB: explicit method visibilityVirtualTam2016-11-052-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/95 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | | | LinkDB: update datastore method namesVirtualTam2016-11-055-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/95 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | | | LinkDB: do not prefix privates with an underscoreVirtualTam2016-11-052-69/+69
| | | | | | | | | | | | | | | | | | | | | | | | Relates to #95 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | | | Fix hashtags links in FeedsArthurHoaro2016-11-053-1/+4
| | | | | | | | | | | | | | | | Make the hashtag link absolute in feeds to work properly in RSS syndication tools.
* | | | Minor code cleanup: PHPDoc, spelling, unused variables, etc.ArthurHoaro2016-11-0513-36/+28
| | | |
* | | | Travis: enable Composer cacheVirtualTam2016-11-052-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See: - https://docs.travis-ci.com/user/caching/ - https://blog.wyrihaximus.net/2015/07/composer-cache-on-travis/ Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | | | Update release archive generationVirtualTam2016-11-052-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/607 Relates to https://github.com/shaarli/Shaarli/pull/608 Modifications: - match the arborescence of the archives provided by GitHub - generate compressed tarballs Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | | | CHANGELOG.md: add an UNPUBLISHED draft for v0.8.1VirtualTam2016-11-051-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to #663 See http://keepachangelog.com/en/0.3.0/ Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | | | CHANGELOG.md: improve formatting, fix typosVirtualTam2016-11-051-148/+268
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to #663 See http://keepachangelog.com/en/0.3.0/ See http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history Modifications: - keep 2 newlines between each release section - keep reasonable line lengths (< 90 characters) - remove extra final dots (only kept when there are several sentences) - fix typos - reword/rewrite/curate legacy changelog entries Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | | | CHANGELOG.md: add legacy Shaarli releasesVirtualTam2016-11-051-1/+356
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/663 See http://keepachangelog.com/en/0.3.0/ See http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history See http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history&do=revisions See http://sebsauvage.net/rhaa/index.php?q=shaarli These entries correspond to the original (legacy) Shaarli release notes by Sebsauvage. Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | | | CHANGELOG.md: add unpublished Shaarli Community releasesVirtualTam2016-11-051-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/663 See http://keepachangelog.com/en/0.3.0/ These entries correspond to the first lightweight tags present on the Shaarli Community repository. As there are no corresponding release (notes), the changelog is based on relevant elements from the Git commit log. Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | | | CHANGELOG.md: add published Shaarli Community releasesVirtualTam2016-11-052-0/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/663 See http://keepachangelog.com/en/0.3.0/ This file mirrors the content of the Shaarli release notes available at https://github.com/shaarli/Shaarli/releases Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | | | Isso comments pluginArthurHoaro2016-11-055-0/+210
| | | | | | | | | | | | | | | | Use Isso client to let visitors comments on permalinks
* | | | Fix: return the proper value for the "self" feed attributeVirtualTam2016-11-052-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes https://github.com/shaarli/Shaarli/issues/629 Closes https://github.com/shaarli/Shaarli/pull/630 Note: you might need to empty the "pagecache" directory for the fix to be taken into account Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | | | Cleanup: explicitely loop over PHP variables in templatesVirtualTam2016-11-059-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/613 Before: {loop="someVariable"} After: {loop="$someVariable"} Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | | | New init function for plugins, supports errors reportingArthurHoaro2016-11-058-15/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All plugins can optionally add an init function named `pluginname_init()` which is called when the plugin is loaded. This function is aware of the config, and can return initialization errors, which are displayed in the header template. Note that the previous error system hack no longer work.
* | | | Bugfix: display plugin parameter description only if it existsArthurHoaro2016-11-051-1/+3
| | | |
* | | | Use new header plugin placeholdersArthurHoaro2016-11-055-40/+81
| | | |
* | | | Improve theme dependent plugin placeholders:ArthurHoaro2016-11-059-23/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | | Resize editlink textarea while editing an existing shaareArthurHoaro2016-11-051-4/+6
| | | |
* | | | install templateArthurHoaro2016-11-052-1/+130
| | | |
* | | | add dailyrss and export templatesArthurHoaro2016-11-053-0/+26
| | | |
* | | | Minor adjustmentsArthurHoaro2016-11-059-28/+55
| | | |
* | | | Fix an issue with textarea resizingArthurHoaro2016-11-051-1/+1
| | | |
* | | | daily page internationalizationArthurHoaro2016-11-051-7/+7
| | | |
* | | | Use a class for 'window' titles instead of h2ArthurHoaro2016-11-0514-21/+21
| | | |
* | | | Daily templateArthurHoaro2016-11-054-3/+183
| | | |
* | | | picwall templateArthurHoaro2016-11-052-0/+114
| | | |
* | | | tag cloud templateArthurHoaro2016-11-052-2/+60
| | | |
* | | | Import/export templates and minor fixesArthurHoaro2016-11-057-17/+197
| | | |
* | | | Archive.org plugin: do not propose archival of private notesTeromene2016-11-052-4/+101
| | | | | | | | | | | | | | | | Fixes #637
* | | | Set updated date for items in feedsArthurHoaro2016-11-055-13/+51
| | | | | | | | | | | | | | | | | | | | 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-11-053-3/+23
| | | | | | | | | | | | | | | | It can be used as a timestamp by templates under the key 'updated_timestamp'.
* | | | Add trusted IPs in config and try to ban forwarded IP on failed loginArthurHoaro2016-11-053-1/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a new settings (which needs to be manually set): `security.trusted_proxies` * On login failure, if the `REMOTE_ADDR` is in the trusted proxies, try to retrieve the forwarded IP in headers. * If found, the client address is added in ipbans, else we do nothing. Fixes #409