]> git.immae.eu Git - github/shaarli/Shaarli.git/log
github/shaarli/Shaarli.git
7 years agoDescribe markdown HTML rendering and display a warning 701/head
ArthurHoaro [Thu, 1 Dec 2016 10:40:24 +0000 (11:40 +0100)] 
Describe markdown HTML rendering and display a warning

Fixes #688

8 years agoMerge pull request #692 from fpunktk/patch-1
Arthur [Tue, 22 Nov 2016 08:30:27 +0000 (09:30 +0100)] 
Merge pull request #692 from fpunktk/patch-1

add meta tag to block sending the referrer

8 years agoAdd meta tag to block sending the referrer 692/head
Felix Kästner [Wed, 16 Nov 2016 13:57:44 +0000 (14:57 +0100)] 
Add meta tag to block sending the referrer

Add a meta tag that tells the browser not to send the referrer header to
external sites.

8 years agoMerge pull request #680 from ArthurHoaro/apache-htaccess
Arthur [Tue, 8 Nov 2016 14:32:14 +0000 (15:32 +0100)] 
Merge pull request #680 from ArthurHoaro/apache-htaccess

.htaccess files: support Apache 2.4+ syntax

8 years agoMerge pull request #684 from virtualtam/fix/docker/nginx
Arthur [Tue, 8 Nov 2016 11:06:00 +0000 (12:06 +0100)] 
Merge pull request #684 from virtualtam/fix/docker/nginx

Docker: fix & improve nginx+php-fpm configuration

8 years ago.htaccess files: support Apache 2.4+ syntax 680/head
ArthurHoaro [Thu, 3 Nov 2016 12:59:18 +0000 (13:59 +0100)] 
.htaccess files: support Apache 2.4+ syntax

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

8 years agoMerge pull request #683 from ArthurHoaro/plugins/w3ccompliance
VirtualTam [Sun, 6 Nov 2016 13:38:56 +0000 (14:38 +0100)] 
Merge pull request #683 from ArthurHoaro/plugins/w3ccompliance

Plugins W3C compliance

8 years agoDocker: increase maximum file upload size to 10 MiB 684/head
VirtualTam [Sat, 5 Nov 2016 19:42:54 +0000 (20:42 +0100)] 
Docker: increase maximum file upload size to 10 MiB

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>
8 years agoDocker: set favicon location in nginx configuration
VirtualTam [Sat, 5 Nov 2016 18:51:03 +0000 (19:51 +0100)] 
Docker: set favicon location in nginx configuration

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>
8 years agoPlugins W3C compliance 683/head
ArthurHoaro [Sat, 5 Nov 2016 14:12:23 +0000 (15:12 +0100)] 
Plugins W3C compliance

Add an alt attribute to images

8 years agoMerge pull request #677 from yapbreak/master
Arthur [Wed, 2 Nov 2016 12:04:37 +0000 (13:04 +0100)] 
Merge pull request #677 from yapbreak/master

Piwik Plugin

8 years agoAdd Piwik Plugin 677/head
Adrien Oliva [Fri, 28 Oct 2016 08:03:32 +0000 (10:03 +0200)] 
Add Piwik Plugin

[PullRequest #677] Change after Review

Fix logic, my bad!

8 years agoMerge pull request #674 from ArthurHoaro/parsedown-composer
VirtualTam [Sat, 22 Oct 2016 10:53:15 +0000 (12:53 +0200)] 
Merge pull request #674 from ArthurHoaro/parsedown-composer

Use Composer for Parsedown and fix an issue with links

8 years agoFix an issue with links not being reversed in code blocks 674/head
ArthurHoaro [Fri, 21 Oct 2016 10:38:38 +0000 (12:38 +0200)] 
Fix an issue with links not being reversed in code blocks

Fixes #672

+ Markdown to HTML unit test

8 years agoUse Composer to import Parsedown library
ArthurHoaro [Fri, 21 Oct 2016 09:48:51 +0000 (11:48 +0200)] 
Use Composer to import Parsedown library

Reference #613

8 years agoMerge pull request #673 from virtualtam/cleanup/linkdb
VirtualTam [Fri, 21 Oct 2016 09:04:52 +0000 (11:04 +0200)] 
Merge pull request #673 from virtualtam/cleanup/linkdb

LinkDB: code cleanup

8 years agoMerge pull request #665 from ArthurHoaro/fix/feed-hashtags
VirtualTam [Thu, 20 Oct 2016 19:37:28 +0000 (21:37 +0200)] 
Merge pull request #665 from ArthurHoaro/fix/feed-hashtags

Fix hashtag links in Feeds

8 years agoLinkDB: explicit method visibility 673/head
VirtualTam [Thu, 20 Oct 2016 19:24:39 +0000 (21:24 +0200)] 
LinkDB: explicit method visibility

Relates to https://github.com/shaarli/Shaarli/issues/95

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoLinkDB: update datastore method names
VirtualTam [Thu, 20 Oct 2016 19:19:51 +0000 (21:19 +0200)] 
LinkDB: update datastore method names

Relates to https://github.com/shaarli/Shaarli/issues/95

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoLinkDB: do not prefix privates with an underscore
VirtualTam [Thu, 20 Oct 2016 19:10:56 +0000 (21:10 +0200)] 
LinkDB: do not prefix privates with an underscore

Relates to #95

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoMerge pull request #671 from ArthurHoaro/cleanup-code
VirtualTam [Thu, 20 Oct 2016 18:41:24 +0000 (20:41 +0200)] 
Merge pull request #671 from ArthurHoaro/cleanup-code

Minor code cleanup: PHPDoc, spelling, unused variables, etc.

8 years agoFix hashtags links in Feeds 665/head
ArthurHoaro [Wed, 19 Oct 2016 09:05:20 +0000 (11:05 +0200)] 
Fix hashtags links in Feeds

Make the hashtag link absolute in feeds to work properly in RSS syndication tools.

8 years agoMinor code cleanup: PHPDoc, spelling, unused variables, etc. 671/head
ArthurHoaro [Thu, 20 Oct 2016 09:31:52 +0000 (11:31 +0200)] 
Minor code cleanup: PHPDoc, spelling, unused variables, etc.

8 years agoMerge pull request #670 from virtualtam/travis/composer-cache
Arthur [Thu, 20 Oct 2016 08:51:40 +0000 (10:51 +0200)] 
Merge pull request #670 from virtualtam/travis/composer-cache

Travis: enable Composer cache

8 years agoTravis: enable Composer cache 670/head
VirtualTam [Wed, 19 Oct 2016 22:19:52 +0000 (00:19 +0200)] 
Travis: enable Composer cache

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>
8 years agoMerge pull request #661 from virtualtam/release/archive
VirtualTam [Wed, 19 Oct 2016 18:03:47 +0000 (20:03 +0200)] 
Merge pull request #661 from virtualtam/release/archive

Update release archive generation

8 years agoUpdate release archive generation 661/head
VirtualTam [Sun, 16 Oct 2016 17:33:29 +0000 (19:33 +0200)] 
Update release archive generation

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>
8 years agoMerge pull request #664 from virtualtam/changelog
VirtualTam [Wed, 19 Oct 2016 09:19:00 +0000 (11:19 +0200)] 
Merge pull request #664 from virtualtam/changelog

Add CHANGELOG.md

8 years agoCHANGELOG.md: add an UNPUBLISHED draft for v0.8.1 664/head
VirtualTam [Tue, 18 Oct 2016 17:44:19 +0000 (19:44 +0200)] 
CHANGELOG.md: add an UNPUBLISHED draft for v0.8.1

Relates to #663
See http://keepachangelog.com/en/0.3.0/

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoCHANGELOG.md: improve formatting, fix typos
VirtualTam [Mon, 17 Oct 2016 19:11:05 +0000 (21:11 +0200)] 
CHANGELOG.md: improve formatting, fix typos

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>
8 years agoCHANGELOG.md: add legacy Shaarli releases
VirtualTam [Mon, 17 Oct 2016 17:24:52 +0000 (19:24 +0200)] 
CHANGELOG.md: add legacy Shaarli releases

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>
8 years agoCHANGELOG.md: add unpublished Shaarli Community releases
VirtualTam [Mon, 17 Oct 2016 16:36:12 +0000 (18:36 +0200)] 
CHANGELOG.md: add unpublished Shaarli Community releases

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>
8 years agoCHANGELOG.md: add published Shaarli Community releases
VirtualTam [Mon, 17 Oct 2016 16:00:29 +0000 (18:00 +0200)] 
CHANGELOG.md: add published Shaarli Community releases

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>
8 years agoMerge pull request #651 from ArthurHoaro/plugin-isso2
Arthur [Tue, 18 Oct 2016 06:14:09 +0000 (08:14 +0200)] 
Merge pull request #651 from ArthurHoaro/plugin-isso2

Isso comments plugin

8 years agoMerge pull request #662 from virtualtam/fix/feed/self-link
VirtualTam [Mon, 17 Oct 2016 15:58:39 +0000 (17:58 +0200)] 
Merge pull request #662 from virtualtam/fix/feed/self-link

Fix: return the proper value for the "self" feed attribute

8 years agoMerge pull request #660 from virtualtam/fix/template/loop
VirtualTam [Mon, 17 Oct 2016 08:20:50 +0000 (10:20 +0200)] 
Merge pull request #660 from virtualtam/fix/template/loop

Cleanup: explicitely loop over PHP variables in templates

8 years agoIsso comments plugin 651/head
ArthurHoaro [Mon, 3 Oct 2016 07:43:49 +0000 (09:43 +0200)] 
Isso comments plugin

Use Isso client to let visitors comments on permalinks

8 years agoMerge pull request #659 from ArthurHoaro/plugin-errors
Arthur [Mon, 17 Oct 2016 06:50:18 +0000 (08:50 +0200)] 
Merge pull request #659 from ArthurHoaro/plugin-errors

New init function for plugins, supports errors reporting

8 years agoFix: return the proper value for the "self" feed attribute 662/head
VirtualTam [Sun, 16 Oct 2016 18:52:35 +0000 (20:52 +0200)] 
Fix: return the proper value for the "self" feed attribute

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>
8 years agoCleanup: explicitely loop over PHP variables in templates 660/head
VirtualTam [Sun, 16 Oct 2016 15:41:08 +0000 (17:41 +0200)] 
Cleanup: explicitely loop over PHP variables in templates

Relates to https://github.com/shaarli/Shaarli/issues/613

Before: {loop="someVariable"}
After:  {loop="$someVariable"}

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoMerge pull request #658 from ArthurHoaro/hotfix/plugin-desc-bug
VirtualTam [Sun, 16 Oct 2016 14:37:46 +0000 (16:37 +0200)] 
Merge pull request #658 from ArthurHoaro/hotfix/plugin-desc-bug

Bugfix: display plugin parameter description only if it exists

8 years agoNew init function for plugins, supports errors reporting 659/head
ArthurHoaro [Fri, 14 Oct 2016 11:22:58 +0000 (13:22 +0200)] 
New init function for plugins, supports errors reporting

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.

8 years agoBugfix: display plugin parameter description only if it exists 658/head
ArthurHoaro [Fri, 14 Oct 2016 10:48:01 +0000 (12:48 +0200)] 
Bugfix: display plugin parameter description only if it exists

8 years agoMerge pull request #654 from teromene/archive-org-no-internal
VirtualTam [Thu, 13 Oct 2016 16:12:55 +0000 (18:12 +0200)] 
Merge pull request #654 from teromene/archive-org-no-internal

Archive.org plugin: do not propose archival of private notes

Fixes #637

8 years agoArchive.org plugin: do not propose archival of private notes 654/head
Teromene [Tue, 11 Oct 2016 15:37:42 +0000 (16:37 +0100)] 
Archive.org plugin: do not propose archival of private notes
Fixes #637

8 years agoMerge pull request #622 from ArthurHoaro/update-date
Arthur [Wed, 12 Oct 2016 12:51:37 +0000 (14:51 +0200)] 
Merge pull request #622 from ArthurHoaro/update-date

Save link update dates and render it in templates and feeds

8 years agoMerge pull request #623 from ArthurHoaro/security/reverse-proxy-ban
Arthur [Wed, 12 Oct 2016 12:48:57 +0000 (14:48 +0200)] 
Merge pull request #623 from ArthurHoaro/security/reverse-proxy-ban

Add trusted IPs in config and try to ban forwarded IP on failed login

8 years agoMerge pull request #656 from ArthurHoaro/v0.8.0 v0.8.0
Arthur [Wed, 12 Oct 2016 10:39:52 +0000 (12:39 +0200)] 
Merge pull request #656 from ArthurHoaro/v0.8.0

Bump version to v0.8.0

8 years agoBump version to v0.8.0 656/head
ArthurHoaro [Wed, 12 Oct 2016 10:36:59 +0000 (12:36 +0200)] 
Bump version to v0.8.0

Signed-off-by: ArthurHoaro <arthur@hoa.ro>
8 years agoMerge pull request #649 from krypty/dockerfile-issue
VirtualTam [Wed, 14 Sep 2016 10:08:51 +0000 (12:08 +0200)] 
Merge pull request #649 from krypty/dockerfile-issue

Add a missing backslash in stable Dockerfile version

8 years agoAdd a missing backslash in stable Dockerfile version 649/head
Gary Marigliano [Wed, 14 Sep 2016 09:08:11 +0000 (11:08 +0200)] 
Add a missing backslash in stable Dockerfile version

8 years agoMerge pull request #646 from virtualtam/composer/check-autoload
VirtualTam [Tue, 6 Sep 2016 17:17:23 +0000 (19:17 +0200)] 
Merge pull request #646 from virtualtam/composer/check-autoload

composer: display an error message if the autoload script is missing

8 years agocomposer: display an error message if the autoload script is missing 646/head
VirtualTam [Sun, 4 Sep 2016 21:57:21 +0000 (23:57 +0200)] 
composer: display an error message if the autoload script is missing

Closes https://github.com/shaarli/Shaarli/issues/645
Relates to https://github.com/shaarli/Shaarli/issues/607

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoREADME: fix link address typo
VirtualTam [Sat, 20 Aug 2016 14:42:35 +0000 (16:42 +0200)] 
README: fix link address typo

Fixes https://github.com/shaarli/Shaarli/issues/642

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoupdate link to install instuctions in README
nodiscc [Wed, 17 Aug 2016 14:07:54 +0000 (16:07 +0200)] 
update link to install instuctions in README

8 years agoMerge pull request #638 from virtualtam/docker/stable/composer
VirtualTam [Sun, 14 Aug 2016 15:11:24 +0000 (17:11 +0200)] 
Merge pull request #638 from virtualtam/docker/stable/composer

Docker: update dependencies, introduce Composer (stable branch)

8 years agoMerge pull request #633 from virtualtam/docker/composer
VirtualTam [Sun, 14 Aug 2016 14:28:07 +0000 (16:28 +0200)] 
Merge pull request #633 from virtualtam/docker/composer

Docker: update dependencies, introduce Composer

8 years agoDocker: update dependencies, introduce Composer 638/head
VirtualTam [Sun, 14 Aug 2016 14:20:06 +0000 (16:20 +0200)] 
Docker: update dependencies, introduce Composer

Relates to https://github.com/shaarli/Shaarli/issues/607
Relates to https://github.com/shaarli/Shaarli/pull/612
Relates to https://github.com/shaarli/Shaarli/pull/624
Relates to https://github.com/shaarli/Shaarli/pull/633

See https://github.com/shaarli/Shaarli/wiki/Server-requirements

Modifications:
- [prod][stable] refactor Dockerfile
- [prod][stable] set $TERM=dumb to avoid debconf-related issues
- [prod][stable] install ca-certificates
- [prod][stable] cleanup APT cache after installing packages
- [prod][stable] use Composer to resolve PHP dependencies

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoDocker: update dependencies, introduce Composer 633/head
VirtualTam [Fri, 12 Aug 2016 19:36:54 +0000 (21:36 +0200)] 
Docker: update dependencies, introduce Composer

Relates to https://github.com/shaarli/Shaarli/issues/607
Relates to https://github.com/shaarli/Shaarli/pull/612
Relates to https://github.com/shaarli/Shaarli/pull/624

See https://github.com/shaarli/Shaarli/wiki/Server-requirements

Modifications:
- [all][env] set $TERM=dumb to avoid debconf-related issues
- [all][pkg] install ca-certificates
- [all][pkg] cleanup APT cache after installing packages
- [dev] refactor Dockerfile
- [prod][master] refactor Dockerfile
- [prod][master][php] use Composer to resolve PHP dependencies

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoMerge pull request #619 from ArthurHoaro/plugins/param-desc
VirtualTam [Sat, 13 Aug 2016 12:48:51 +0000 (14:48 +0200)] 
Merge pull request #619 from ArthurHoaro/plugins/param-desc

Add a description to plugin parameters

8 years agoMerge pull request #636 from virtualtam/fix/final-newline
VirtualTam [Sat, 13 Aug 2016 12:27:14 +0000 (14:27 +0200)] 
Merge pull request #636 from virtualtam/fix/final-newline

Fix: add missing final newlines, untabify text

8 years agoFix: add missing final newlines, untabify text 636/head
VirtualTam [Sat, 13 Aug 2016 12:22:22 +0000 (14:22 +0200)] 
Fix: add missing final newlines, untabify text

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoMerge pull request #635 from virtualtam/fix/import/ie
VirtualTam [Sat, 13 Aug 2016 11:59:12 +0000 (13:59 +0200)] 
Merge pull request #635 from virtualtam/fix/import/ie

Fix: ensure Internet Explorer bookmark dumps can be imported

8 years agoFix: ensure Internet Explorer bookmark dumps can be imported 635/head
VirtualTam [Fri, 12 Aug 2016 21:22:15 +0000 (23:22 +0200)] 
Fix: ensure Internet Explorer bookmark dumps can be imported

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>
8 years agoMerge pull request #634 from virtualtam/composer/gitattributes
VirtualTam [Fri, 12 Aug 2016 20:09:07 +0000 (22:09 +0200)] 
Merge pull request #634 from virtualtam/composer/gitattributes

Fix: keep composer.json in release archives

8 years agoFix: keep composer.json in release archives 634/head
VirtualTam [Fri, 12 Aug 2016 20:02:59 +0000 (22:02 +0200)] 
Fix: keep composer.json in release archives

Relates to https://github.com/shaarli/Shaarli/issues/607

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoMerge pull request #612 from virtualtam/refactor/bookmark-parser
Arthur [Wed, 10 Aug 2016 10:10:41 +0000 (12:10 +0200)] 
Merge pull request #612 from virtualtam/refactor/bookmark-parser

Refactor bookmark import using a generic Netscape parser

8 years agoRefactor bookmark import using a generic Netscape parser 612/head
VirtualTam [Thu, 28 Jul 2016 20:54:33 +0000 (22:54 +0200)] 
Refactor bookmark import using a generic Netscape parser

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>
8 years agoMerge pull request #632 from virtualtam/composer/shaarli/netscape-bookmark-parser
VirtualTam [Tue, 9 Aug 2016 23:00:51 +0000 (01:00 +0200)] 
Merge pull request #632 from virtualtam/composer/shaarli/netscape-bookmark-parser

Composer: reference shaarli/netscape-bookmark-parser from Packagist

8 years agoComposer: reference shaarli/netscape-bookmark-parser from Packagist 632/head
VirtualTam [Tue, 9 Aug 2016 22:47:53 +0000 (00:47 +0200)] 
Composer: reference shaarli/netscape-bookmark-parser from Packagist

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>
8 years agoMerge pull request #624 from julienCXX/pr-curl-http-fetch
Arthur [Tue, 9 Aug 2016 11:15:19 +0000 (13:15 +0200)] 
Merge pull request #624 from julienCXX/pr-curl-http-fetch

Added (and set as default) a cURL-based method for fetching HTTP content

8 years agoSet cURL as default in HTTP fetching, a fallback method and consistency fixup between... 624/head
julienCXX [Fri, 5 Aug 2016 14:11:02 +0000 (16:11 +0200)] 
Set cURL as default in HTTP fetching, a fallback method and consistency fixup between both methods

8 years agoMerge pull request #628 from ArthurHoaro/hotfix/default-private
Arthur [Sun, 7 Aug 2016 10:16:27 +0000 (12:16 +0200)] 
Merge pull request #628 from ArthurHoaro/hotfix/default-private

Bugfix: wrong key used to get default private links setting

8 years agoBugfix: wrong key used to get default private links setting 628/head
ArthurHoaro [Sun, 7 Aug 2016 10:15:08 +0000 (12:15 +0200)] 
Bugfix: wrong key used to get default private links setting

8 years agoMerge pull request #627 from ArthurHoaro/feature/translate-init
Arthur [Sun, 7 Aug 2016 10:03:48 +0000 (12:03 +0200)] 
Merge pull request #627 from ArthurHoaro/feature/translate-init

Initialize a translation function

8 years agoInitialize a translation function 627/head
ArthurHoaro [Sun, 7 Aug 2016 09:52:49 +0000 (11:52 +0200)] 
Initialize a translation function

It matches the API of ngettext().

8 years agoMerge pull request #625 from ArthurHoaro/token
VirtualTam [Sat, 6 Aug 2016 22:29:08 +0000 (00:29 +0200)] 
Merge pull request #625 from ArthurHoaro/token

Generate a token for every pages

8 years agoMerge pull request #626 from ArthurHoaro/hotfix/changepassword
VirtualTam [Sat, 6 Aug 2016 22:17:42 +0000 (00:17 +0200)] 
Merge pull request #626 from ArthurHoaro/hotfix/changepassword

Bugfix: enable change password if open shaarli is disabled

8 years agoBugfix: enable change password if open shaarli is disabled 626/head
ArthurHoaro [Sat, 6 Aug 2016 12:38:47 +0000 (14:38 +0200)] 
Bugfix: enable change password if open shaarli is disabled

8 years agoGenerate a token for every pages 625/head
ArthurHoaro [Sat, 6 Aug 2016 12:09:26 +0000 (14:09 +0200)] 
Generate a token for every pages

8 years agoAdd trusted IPs in config and try to ban forwarded IP on failed login 623/head
ArthurHoaro [Wed, 3 Aug 2016 08:36:47 +0000 (10:36 +0200)] 
Add trusted IPs in config and try to ban forwarded IP on failed login

  * 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

8 years agoSet updated date for items in feeds 622/head
ArthurHoaro [Wed, 3 Aug 2016 07:45:28 +0000 (09:45 +0200)] 
Set updated date for items in feeds

RSS doesn't support updated date for items, so we use the ATOM extension.
Updated dates also bump the global update

8 years agoSave the update date in LinkDB and pass it to linklist templates
ArthurHoaro [Wed, 3 Aug 2016 07:44:04 +0000 (09:44 +0200)] 
Save the update date in LinkDB and pass it to linklist templates

It can be used as a timestamp by templates under the key 'updated_timestamp'.

8 years agoMerge pull request #621 from ArthurHoaro/hotfix/update-escape-config
VirtualTam [Tue, 2 Aug 2016 17:46:47 +0000 (19:46 +0200)] 
Merge pull request #621 from ArthurHoaro/hotfix/update-escape-config

Fix update method escapeUnescapedConfig

8 years agoMerge pull request #618 from ArthurHoaro/tagclean
VirtualTam [Tue, 2 Aug 2016 13:37:43 +0000 (15:37 +0200)] 
Merge pull request #618 from ArthurHoaro/tagclean

Better whitespace handling in tags

8 years agoFix update method escapeUnescapedConfig 621/head
ArthurHoaro [Tue, 2 Aug 2016 10:54:55 +0000 (12:54 +0200)] 
Fix update method escapeUnescapedConfig

  * Actually run it
  * unit tests

Fixes #611

8 years agoAdd a description to wallabag plugin parameters 619/head
ArthurHoaro [Tue, 2 Aug 2016 09:04:49 +0000 (11:04 +0200)] 
Add a description to wallabag plugin parameters

8 years agoPlugin parameter description: Update the templates to display them
ArthurHoaro [Tue, 2 Aug 2016 09:03:55 +0000 (11:03 +0200)] 
Plugin parameter description: Update the templates to display them

8 years agoParse plugin parameters description with the PluginManager
ArthurHoaro [Tue, 2 Aug 2016 09:02:20 +0000 (11:02 +0200)] 
Parse plugin parameters description with the PluginManager

Plugin parameter can contain a description in their meta file under the key:

    parameter.<param_name>="<description>"

8 years agoBetter whitespace handling in tags 618/head
ArthurHoaro [Tue, 2 Aug 2016 08:34:21 +0000 (10:34 +0200)] 
Better whitespace handling in tags

Correct PR #573 to work properly with hidden tags, and add ReferenceLinkDB UT.

Fixes #571 - Closes #573

8 years agoadd unit test
Chris Kuethe [Thu, 19 May 2016 19:43:44 +0000 (12:43 -0700)] 
add unit test

8 years agoBetter whitespace handling in tags. Fixes #571
Chris Kuethe [Thu, 19 May 2016 18:33:45 +0000 (11:33 -0700)] 
Better whitespace handling in tags. Fixes #571

8 years agoMerge pull request #608 from virtualtam/refactor/bookmark-parser
VirtualTam [Tue, 26 Jul 2016 20:13:53 +0000 (22:13 +0200)] 
Merge pull request #608 from virtualtam/refactor/bookmark-parser

Reference netscape-bookmark-parser & allow generating custom release archives

8 years agoMakefile: generate release archives including 3rd-party libraries 608/head
VirtualTam [Sat, 23 Jul 2016 17:26:05 +0000 (19:26 +0200)] 
Makefile: generate release archives including 3rd-party libraries

Relates to #607

Archive creation process (tar, zip):
- let Composer resolve functional (no-dev) dependencies
- call git-archive to generate a release archive
- include 3rd-party dependencies to the generated archive

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoComposer: add shaarli/netscape-bookmark-parser
VirtualTam [Thu, 16 Jun 2016 22:19:44 +0000 (00:19 +0200)] 
Composer: add shaarli/netscape-bookmark-parser

Relates to https://github.com/shaarli/Shaarli/issues/607
Relates to https://github.com/kafene/netscape-bookmark-parser/issues/6

The Shaarli-forked version is checked out as a VCS repository.

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8 years agoMerge pull request #605 from ArthurHoaro/clean-phpunit
Arthur [Sat, 23 Jul 2016 12:20:23 +0000 (14:20 +0200)] 
Merge pull request #605 from ArthurHoaro/clean-phpunit

Hide expected 'error_log' while running TU (clean PHPUnit log)

8 years agoMerge pull request #604 from ArthurHoaro/no-delicious
Arthur [Sat, 23 Jul 2016 12:16:59 +0000 (14:16 +0200)] 
Merge pull request #604 from ArthurHoaro/no-delicious

Remove Delicious in project description in comments

8 years agoHide expected 'error_log' while running TU (clean PHPUnit log) 605/head
ArthurHoaro [Sat, 23 Jul 2016 12:16:07 +0000 (14:16 +0200)] 
Hide expected 'error_log' while running TU (clean PHPUnit log)

8 years agoRemove Delicious in project description in comments 604/head
ArthurHoaro [Sat, 23 Jul 2016 12:13:56 +0000 (14:13 +0200)] 
Remove Delicious in project description in comments

8 years agoMerge pull request #601 from ArthurHoaro/hotfix/title-missing
Arthur [Sat, 23 Jul 2016 08:31:33 +0000 (10:31 +0200)] 
Merge pull request #601 from ArthurHoaro/hotfix/title-missing

Fixes #600 - Shaarli's title is not set with the new config manager