aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAgeFilesLines
* Add a persistent 'shorturl' key to all linksArthurHoaro2016-12-1215-91/+115
| | | | | | | All existing link will keep their permalinks. New links will have smallhash generated with date+id. The purpose of this is to avoid collision between links due to their creation date.
* Unit Test for the new ID systemArthurHoaro2016-12-128-95/+306
|
* Apply the new ID system accros the whole codebaseArthurHoaro2016-12-129-85/+100
|
* Update method to use the new ID system, which replaces linkdate primary keys.ArthurHoaro2016-12-121-2/+44
| | | | | creation and update dates are now DateTime objects. Since this update is very sensitve (changing the whole database), the datastore will be automatically backed up into the file datastore.<datetime>.php.
* Link ID refactoringArthurHoaro2016-12-121-43/+135
| | | | | | | | | Links now use an incremental unique numeric identifier. This ID is persistent and must never change. ArrayAccess is used to match the link ID with the array keys (see the comment in LinkDB for more details) Key 'created' added, with creation date as a DateTime object. 'updated' is now also a DateTime.
* 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 #703 from ArthurHoaro/changelogArthur2016-12-051-0/+11
|\ \ | | | | | | Add latest merged changes to the CHANGELOG
| * | Add latest merged changes to the CHANGELOGArthurHoaro2016-12-031-0/+11
|/ /
* | Merge pull request #701 from ArthurHoaro/plugins/md-html-docArthur2016-12-034-3/+32
|\ \ | |/ |/| Describe markdown HTML rendering and display a warning
| * Describe markdown HTML rendering and display a warningArthurHoaro2016-12-014-3/+32
| | | | | | | | Fixes #688
* | Merge pull request #691 from ArthurHoaro/plugins/no-md-feedArthur2016-12-013-18/+59
|\ \ | | | | | | Markdown: fixes feed rendering with nomarkdown tag
| * | Markdown: fixes feed rendering with nomarkdown tagArthurHoaro2016-11-223-18/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make sure we match exactly `nomarkdown` tag * pass the whole link data to stripNoMarkdownTag() to: * strip the noMD tag in taglist (array) * strip the tag in tags (string) Fixes #689 tmp
* | | 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
| | |/ | |/|
* | | Merge pull request #699 from teromene/https-no-socialArthur2016-11-302-1/+6
|\ \ \ | |/ / |/| | Disable Firefox Social in the tools section if the page is not loaded using HTTPS.
| * | Disable Firefox Social in the tools section if the page is not loaded using ↵Teromene2016-11-292-1/+6
|/ / | | | | | | HTTPS, as Firefox will deny the request.
* | Merge pull request #692 from fpunktk/patch-1Arthur2016-11-221-1/+2
|\ \ | | | | | | add meta tag to block sending the referrer
| * | 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.
* | | Merge pull request #680 from ArthurHoaro/apache-htaccessArthur2016-11-087-14/+91
|\ \ \ | |/ / |/| | .htaccess files: support Apache 2.4+ syntax
| * | .htaccess files: support Apache 2.4+ syntaxArthurHoaro2016-11-087-14/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If `mod_version` is enabled, the previous syntax will apply for Apache <2.4. If not, the new syntax is used by default. Fixes #676 `mod_version` identifier is `version_module` across all Apache versions. See: * https://httpd.apache.org/docs/current/mod/mod_version.html * https://httpd.apache.org/docs/2.2/mod/mod_version.html * https://serverfault.com/questions/733910/how-do-i-load-mod-version-only-if-it-isnt-built-in-to-apache Note that version_module comes built-in with Debian (and derivatives) Apache2 packages, see https://wiki.debian.org/Apache/PackagingFor24
* | | Merge pull request #684 from virtualtam/fix/docker/nginxArthur2016-11-087-0/+29
|\ \ \ | |_|/ |/| | Docker: fix & improve nginx+php-fpm configuration
| * | Docker: increase maximum file upload size to 10 MiBVirtualTam2016-11-067-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/681 Changed: - nginx+php-fpm: set maximum upload size to 10 MiB See: - https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size - https://secure.php.net/manual/en/ini.core.php#ini.post-max-size - https://secure.php.net/manual/en/ini.core.php#ini.upload-max-filesize Signed-off-by: VirtualTam <virtualtam@flibidi.net>
| * | Docker: set favicon location in nginx configurationVirtualTam2016-11-053-0/+15
| |/ | | | | | | | | | | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/681 Fixed: - nginx: set the favicon location See http://serverfault.com/a/352861 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Merge pull request #683 from ArthurHoaro/plugins/w3ccomplianceVirtualTam2016-11-064-4/+4
|\ \ | |/ |/| Plugins W3C compliance
| * Plugins W3C complianceArthurHoaro2016-11-054-4/+4
|/ | | | Add an alt attribute to images
* Merge pull request #677 from yapbreak/masterArthur2016-11-022-0/+75
|\ | | | | Piwik Plugin
| * Add Piwik PluginAdrien Oliva2016-11-022-0/+75
|/ | | | | | [PullRequest #677] Change after Review Fix logic, my bad!
* Merge pull request #674 from ArthurHoaro/parsedown-composerVirtualTam2016-10-227-1540/+69
|\ | | | | Use Composer for Parsedown and fix an issue with links
| * Fix an issue with links not being reversed in code blocksArthurHoaro2016-10-224-5/+67
| | | | | | | | | | | | Fixes #672 + Markdown to HTML unit test
| * Use Composer to import Parsedown libraryArthurHoaro2016-10-224-1535/+2
|/ | | | Reference #613
* Merge pull request #673 from virtualtam/cleanup/linkdbVirtualTam2016-10-216-88/+88
|\ | | | | LinkDB: code cleanup
| * LinkDB: explicit method visibilityVirtualTam2016-10-202-7/+7
| | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/95 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
| * LinkDB: update datastore method namesVirtualTam2016-10-205-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-10-202-69/+69
| | | | | | | | | | | | Relates to #95 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Merge pull request #665 from ArthurHoaro/fix/feed-hashtagsVirtualTam2016-10-203-1/+4
|\ \ | |/ |/| Fix hashtag links in Feeds
| * Fix hashtags links in FeedsArthurHoaro2016-10-203-1/+4
| | | | | | | | Make the hashtag link absolute in feeds to work properly in RSS syndication tools.
* | Merge pull request #671 from ArthurHoaro/cleanup-codeVirtualTam2016-10-2013-36/+28
|\ \ | |/ |/| Minor code cleanup: PHPDoc, spelling, unused variables, etc.
| * Minor code cleanup: PHPDoc, spelling, unused variables, etc.ArthurHoaro2016-10-2013-36/+28
|/
* Merge pull request #670 from virtualtam/travis/composer-cacheArthur2016-10-202-1/+5
|\ | | | | Travis: enable Composer cache
| * Travis: enable Composer cacheVirtualTam2016-10-202-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>
* Merge pull request #661 from virtualtam/release/archiveVirtualTam2016-10-192-8/+16
|\ | | | | Update release archive generation
| * Update release archive generationVirtualTam2016-10-192-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>
* Merge pull request #664 from virtualtam/changelogVirtualTam2016-10-192-0/+868
|\ | | | | Add CHANGELOG.md
| * CHANGELOG.md: add an UNPUBLISHED draft for v0.8.1VirtualTam2016-10-181-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-10-181-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-10-181-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-10-181-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-10-182-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>
* Merge pull request #651 from ArthurHoaro/plugin-isso2Arthur2016-10-185-0/+210
|\ | | | | Isso comments plugin