]> git.immae.eu Git - github/shaarli/Shaarli.git/log
github/shaarli/Shaarli.git
6 years agoMerge pull request #1003 from ArthurHoaro/ci/php7.2
ArthurHoaro [Fri, 2 Feb 2018 18:20:11 +0000 (19:20 +0100)] 
Merge pull request #1003 from ArthurHoaro/ci/php7.2

Drop PHP 5.5 compatibility and run Travis UT against PHP 7.2

6 years agoINTL_IDNA_VARIANT_2003 is deprecated 1003/head
ArthurHoaro [Sun, 22 Oct 2017 11:50:20 +0000 (13:50 +0200)] 
INTL_IDNA_VARIANT_2003 is deprecated

See https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003

6 years agoDrop PHP 5.5 compatibility and upgrade PHPUnit to v5.x
ArthurHoaro [Sun, 22 Oct 2017 11:43:19 +0000 (13:43 +0200)] 
Drop PHP 5.5 compatibility and upgrade PHPUnit to v5.x

PHPUnit 4.x contains deprecated PHP functions in PHP 7.2.

6 years agoCI: run UT against PHP 7.2 (currently in Release Candidate)
ArthurHoaro [Sun, 22 Oct 2017 11:24:12 +0000 (13:24 +0200)] 
CI: run UT against PHP 7.2 (currently in Release Candidate)

6 years agoBadge
ArthurHoaro [Fri, 2 Feb 2018 18:07:31 +0000 (19:07 +0100)] 
Badge

6 years agoMerge pull request #1076 from ArthurHoaro/changelog-v0.9.5
ArthurHoaro [Fri, 2 Feb 2018 18:02:51 +0000 (19:02 +0100)] 
Merge pull request #1076 from ArthurHoaro/changelog-v0.9.5

CHANGELOG + AUTHORS (v0.9.5)

6 years agoCHANGELOG + AUTHORS 1076/head
ArthurHoaro [Fri, 2 Feb 2018 17:59:31 +0000 (18:59 +0100)] 
CHANGELOG + AUTHORS

6 years agoMerge pull request #1070 from ArthurHoaro/hotfix/lc-messages-warning
ArthurHoaro [Fri, 2 Feb 2018 17:51:53 +0000 (18:51 +0100)] 
Merge pull request #1070 from ArthurHoaro/hotfix/lc-messages-warning

Use LC_COLLATE instead of LC_MESSAGES if php-intl is not installed

6 years agoMerge pull request #1069 from ArthurHoaro/feature/dependencies
ArthurHoaro [Wed, 31 Jan 2018 15:15:23 +0000 (16:15 +0100)] 
Merge pull request #1069 from ArthurHoaro/feature/dependencies

Update dependencies and include latest version netscape-bookmark-parser

6 years agoUse LC_COLLATE instead of LC_MESSAGES if php-intl is not installed 1070/head
ArthurHoaro [Wed, 31 Jan 2018 11:39:17 +0000 (12:39 +0100)] 
Use LC_COLLATE instead of LC_MESSAGES if php-intl is not installed

As stated in the docs:

> LC_MESSAGES for system responses (available if PHP was compiled with libintl)

Fixes #1067

6 years agoUpdate dependencies and include latest version netscape-bookmark-parser 1069/head
ArthurHoaro [Wed, 31 Jan 2018 11:23:43 +0000 (12:23 +0100)] 
Update dependencies and include latest version netscape-bookmark-parser

6 years agoMerge pull request #1063 from ArthurHoaro/hotfix/legacy-warnings
ArthurHoaro [Wed, 31 Jan 2018 11:18:31 +0000 (12:18 +0100)] 
Merge pull request #1063 from ArthurHoaro/hotfix/legacy-warnings

Fix warnings when upgrading from legacy SebSauvage version

6 years agoUpdate badges
ArthurHoaro [Tue, 30 Jan 2018 18:11:17 +0000 (19:11 +0100)] 
Update badges

6 years agoMerge pull request #1065 from ArthurHoaro/release-v9.0.4
ArthurHoaro [Tue, 30 Jan 2018 17:51:52 +0000 (18:51 +0100)] 
Merge pull request #1065 from ArthurHoaro/release-v9.0.4

pre release v0.9.4

6 years agoUpdate AUTHORS 1065/head
ArthurHoaro [Tue, 30 Jan 2018 17:49:51 +0000 (18:49 +0100)] 
Update AUTHORS

6 years agoUpdate CHANGELOG
ArthurHoaro [Tue, 30 Jan 2018 17:49:22 +0000 (18:49 +0100)] 
Update CHANGELOG

6 years agoFix warnings when upgrading from legacy SebSauvage version 1063/head
ArthurHoaro [Thu, 25 Jan 2018 18:55:31 +0000 (19:55 +0100)] 
Fix warnings when upgrading from legacy SebSauvage version

Fixes #1040

6 years agoMerge pull request #977 from ArthurHoaro/feature/dl-filter
ArthurHoaro [Tue, 23 Jan 2018 17:41:38 +0000 (18:41 +0100)] 
Merge pull request #977 from ArthurHoaro/feature/dl-filter

Extract the title/charset during page download, and check content type

6 years agoMerge pull request #1058 from FranckKe/patch-1
nodiscc [Thu, 18 Jan 2018 19:49:29 +0000 (20:49 +0100)] 
Merge pull request #1058 from FranckKe/patch-1

doc: bookmarklet: fix link to issue 196

6 years agoMerge pull request #1057 from shaarli/doc-derefind
nodiscc [Thu, 18 Jan 2018 19:49:20 +0000 (20:49 +0100)] 
Merge pull request #1057 from shaarli/doc-derefind

doc: import: add link to derefind conversion tool

6 years agoMerge pull request #1049 from shaarli/doc-docker-arm
nodiscc [Thu, 18 Jan 2018 19:48:46 +0000 (20:48 +0100)] 
Merge pull request #1049 from shaarli/doc-docker-arm

doc: add arm32v7 docker build documentation

6 years agoFix link to issue 196 1058/head
Franck Kerbiriou [Thu, 18 Jan 2018 13:10:48 +0000 (14:10 +0100)] 
Fix link to issue 196

6 years agodoc: import: add link to derefind conversion tool 1057/head
nodiscc [Wed, 17 Jan 2018 20:47:13 +0000 (21:47 +0100)] 
doc: import: add link to derefind conversion tool

As mentioned on gitter

6 years agodoc: fix link to dockerfiles 1049/head
nodiscc [Sat, 13 Jan 2018 10:48:42 +0000 (11:48 +0100)] 
doc: fix link to dockerfiles

6 years agoMerge pull request #1055 from virtualtam/changelog
VirtualTam [Sat, 13 Jan 2018 10:31:07 +0000 (11:31 +0100)] 
Merge pull request #1055 from virtualtam/changelog

Update CHANGELOG for the next v0.9.x

6 years agodoc: docker: add links to docker build and qemu documentation
nodiscc [Fri, 12 Jan 2018 22:06:30 +0000 (23:06 +0100)] 
doc: docker: add links to docker build and qemu documentation

6 years agodoc: docker: remove armhf tags, add link to Dockerfiles
nodiscc [Fri, 12 Jan 2018 22:00:20 +0000 (23:00 +0100)] 
doc: docker: remove armhf tags, add link to Dockerfiles

6 years agoUpdate CHANGELOG for the next v0.9.x 1055/head
VirtualTam [Wed, 10 Jan 2018 19:42:05 +0000 (20:42 +0100)] 
Update CHANGELOG for the next v0.9.x

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoMerge pull request #1054 from shaarli/doc-mbstring-webhosts
nodiscc [Tue, 9 Jan 2018 22:15:29 +0000 (23:15 +0100)] 
Merge pull request #1054 from shaarli/doc-mbstring-webhosts

doc: Server Requirements: php-mbstring: add 'hosting providers'

6 years agoMerge pull request #1050 from virtualtam/changelog/cve
VirtualTam [Tue, 9 Jan 2018 20:15:34 +0000 (21:15 +0100)] 
Merge pull request #1050 from virtualtam/changelog/cve

Reference CVE-2018-5249 in CHANGELOG

6 years agodoc: Server Requirements: php-mbstring: add 'hosting providers' 1054/head
nodiscc [Tue, 9 Jan 2018 19:13:05 +0000 (20:13 +0100)] 
doc: Server Requirements: php-mbstring: add 'hosting providers'

6 years agoReference CVE-2018-5249 in CHANGELOG 1050/head
VirtualTam [Sat, 6 Jan 2018 14:31:25 +0000 (15:31 +0100)] 
Reference CVE-2018-5249 in CHANGELOG

Relates to https://github.com/shaarli/Shaarli/pull/1046

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoMerge pull request #1043 from immanuelfodor/improvement/shaarli-markdown-toolbar
ArthurHoaro [Sat, 6 Jan 2018 10:27:53 +0000 (11:27 +0100)] 
Merge pull request #1043 from immanuelfodor/improvement/shaarli-markdown-toolbar

Adding 3rd party plugin 'markdown-toolbar' to docs

6 years agodoc: add armhf docker images
nodiscc [Fri, 5 Jan 2018 18:41:24 +0000 (19:41 +0100)] 
doc: add armhf docker images

6 years agoMerge pull request #1047 from virtualtam/changelog
VirtualTam [Thu, 4 Jan 2018 18:00:48 +0000 (19:00 +0100)] 
Merge pull request #1047 from virtualtam/changelog

Update changelog, documentation and authors

6 years agoUpdate AUTHORS and contributor mailmap 1047/head
VirtualTam [Thu, 4 Jan 2018 17:52:52 +0000 (18:52 +0100)] 
Update AUTHORS and contributor mailmap

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoUpdate CHANGELOG, README badges and installation instructions
VirtualTam [Thu, 4 Jan 2018 17:49:05 +0000 (18:49 +0100)] 
Update CHANGELOG, README badges and installation instructions

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoMerge pull request #1046 from virtualtam/security/login-xss
VirtualTam [Thu, 4 Jan 2018 17:04:34 +0000 (18:04 +0100)] 
Merge pull request #1046 from virtualtam/security/login-xss

Fix XSS vulnerability

6 years agoFix XSS vulnerability 1046/head
VirtualTam [Thu, 4 Jan 2018 14:53:48 +0000 (15:53 +0100)] 
Fix XSS vulnerability

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
6 years agoFeature: Docker armhf support (#1041)
Immánuel! [Thu, 4 Jan 2018 11:38:38 +0000 (12:38 +0100)] 
Feature: Docker armhf support (#1041)

Docker: add Alpine Linux ARM HF latest and master images

See:
- http://www.armhf.com/
- https://wiki.alpinelinux.org/wiki/Alpine_on_ARM
- https://hub.docker.com/r/lsiobase/alpine.armhf/

6 years agoMerge pull request #1044 from ArthurHoaro/hotfix/plugins-parameter-button
ArthurHoaro [Mon, 1 Jan 2018 14:46:04 +0000 (15:46 +0100)] 
Merge pull request #1044 from ArthurHoaro/hotfix/plugins-parameter-button

Fix an issue preventing the Save button to appear for plugin parameters

6 years agoFix an issue preventing the Save button to appear for plugin parameters 1044/head
ArthurHoaro [Mon, 1 Jan 2018 14:40:51 +0000 (15:40 +0100)] 
Fix an issue preventing the Save button to appear for plugin parameters

 is a special variable in RainTPL used in loops

6 years agoMerge pull request #1037 from ArthurHoaro/theme/improvements2
ArthurHoaro [Mon, 1 Jan 2018 13:32:02 +0000 (14:32 +0100)] 
Merge pull request #1037 from ArthurHoaro/theme/improvements2

Add CSS classes and IDs in Shaarli's menu

6 years agoMerge pull request #1042 from immanuelfodor/improvement/shaarli-descriptor
ArthurHoaro [Mon, 1 Jan 2018 13:31:20 +0000 (14:31 +0100)] 
Merge pull request #1042 from immanuelfodor/improvement/shaarli-descriptor

Adding 3rd party plugin 'shaarli-descriptor' to docs

6 years agoadding 3rd party plugin markdown-toolbar to docs 1043/head
immanuelfodor [Sat, 30 Dec 2017 12:45:08 +0000 (13:45 +0100)] 
adding 3rd party plugin markdown-toolbar to docs

6 years agomodifying plugin description to be easy to understand 1042/head
immanuelfodor [Wed, 27 Dec 2017 16:01:08 +0000 (17:01 +0100)] 
modifying plugin description to be easy to understand

6 years agoMerge pull request #1036 from shaarli/doc-overhaul
nodiscc [Wed, 27 Dec 2017 13:48:56 +0000 (14:48 +0100)] 
Merge pull request #1036 from shaarli/doc-overhaul

[WIP] Improve documentation

6 years agoadding 3rd party plugin shaarli-descriptor to docs
immanuelfodor [Wed, 27 Dec 2017 07:47:15 +0000 (08:47 +0100)] 
adding 3rd party plugin shaarli-descriptor to docs

6 years agomkdocs.yml: move FAQ to top level, reorder, Move Community/related software to Usage 1036/head
nodiscc [Tue, 26 Dec 2017 17:44:14 +0000 (18:44 +0100)] 
mkdocs.yml: move FAQ to top level, reorder, Move Community/related software to Usage

6 years agofix heading level
nodiscc [Tue, 26 Dec 2017 17:41:38 +0000 (18:41 +0100)] 
fix heading level

6 years agoUpdate Community-&-Related-software.md
nodiscc [Tue, 26 Dec 2017 17:39:27 +0000 (18:39 +0100)] 
Update Community-&-Related-software.md

reorganize sections

6 years agoMerge remote-tracking branch 'nerostie/patch-2' into doc-overhaul
nodiscc [Sun, 17 Dec 2017 22:43:03 +0000 (23:43 +0100)] 
Merge remote-tracking branch 'nerostie/patch-2' into doc-overhaul

6 years agominor fixes, ref #998
nodiscc [Sun, 17 Dec 2017 22:40:52 +0000 (23:40 +0100)] 
minor fixes, ref #998

6 years agoMerge remote-tracking branch 'origin/doc-tagcloud' into doc-overhaul
nodiscc [Sun, 17 Dec 2017 22:39:20 +0000 (23:39 +0100)] 
Merge remote-tracking branch 'origin/doc-tagcloud' into doc-overhaul

6 years agoNew plugin: Twemoji 1039/head
Neros [Sun, 17 Dec 2017 18:34:15 +0000 (19:34 +0100)] 
New plugin: Twemoji

6 years agoAdd CSS class and IDs in Shaarli's menu 1037/head
ArthurHoaro [Sat, 16 Dec 2017 12:51:55 +0000 (13:51 +0100)] 
Add CSS class and IDs in Shaarli's menu

Fixes #877

6 years agodoc: remove docker autobuild doc from index.md
nodiscc [Sat, 9 Dec 2017 14:34:06 +0000 (15:34 +0100)] 
doc: remove docker autobuild doc from index.md

6 years agodoc: move docker autobuild from index.md to shaarli-images.md
nodiscc [Sat, 9 Dec 2017 14:33:49 +0000 (15:33 +0100)] 
doc: move docker autobuild from index.md to shaarli-images.md

6 years agomove docker-101 reference from index.md to docker-images.md
nodiscc [Sat, 9 Dec 2017 14:31:45 +0000 (15:31 +0100)] 
move docker-101 reference from index.md to docker-images.md

6 years agodoc: fix docker documentation link
nodiscc [Sat, 9 Dec 2017 14:28:34 +0000 (15:28 +0100)] 
doc: fix docker documentation link

6 years agoremove Features.md entry in mkdocs.yml
nodiscc [Sat, 9 Dec 2017 14:21:10 +0000 (15:21 +0100)] 
remove Features.md entry in mkdocs.yml

6 years agoDelete Features.md
nodiscc [Sat, 9 Dec 2017 14:20:30 +0000 (15:20 +0100)] 
Delete Features.md

6 years agomove features.md info to index.md
nodiscc [Sat, 9 Dec 2017 14:20:14 +0000 (15:20 +0100)] 
move features.md info to index.md

Ref https://github.com/shaarli/Shaarli/issues/598

6 years agodoc: add browser addons/shaarli-web-extension
nodiscc [Sat, 9 Dec 2017 14:11:57 +0000 (15:11 +0100)] 
doc: add browser addons/shaarli-web-extension

cleanup shaarliOs link
shorten awesome-selfhosted entry

6 years agodoc: note about firefox share compatibility
nodiscc [Sat, 9 Dec 2017 14:04:44 +0000 (15:04 +0100)] 
doc: note about firefox share compatibility

6 years agoMerge pull request #1034 from durcheinandr/fixlink
VirtualTam [Thu, 7 Dec 2017 13:00:21 +0000 (14:00 +0100)] 
Merge pull request #1034 from durcheinandr/fixlink

Fix internal markdown link in documentation

6 years agoFix internal markdown link in documentation 1034/head
durcheinandr [Thu, 7 Dec 2017 12:25:13 +0000 (13:25 +0100)] 
Fix internal markdown link in documentation

6 years agoMerge pull request #1025 from ArthurHoaro/hotfix/proxy-443
ArthurHoaro [Sun, 3 Dec 2017 11:46:43 +0000 (12:46 +0100)] 
Merge pull request #1025 from ArthurHoaro/hotfix/proxy-443

Force HTTPS if the original port is 443 behind a reverse proxy

6 years agoForce HTTPS if the original port is 443 behind a reverse proxy 1025/head
ArthurHoaro [Fri, 17 Nov 2017 18:04:14 +0000 (19:04 +0100)] 
Force HTTPS if the original port is 443 behind a reverse proxy

Fixes #1022

6 years agoMerge pull request #1020 from ArthurHoaro/feature/curl-chunk
ArthurHoaro [Sun, 26 Nov 2017 10:34:44 +0000 (11:34 +0100)] 
Merge pull request #1020 from ArthurHoaro/feature/curl-chunk

Increase buffer size for cURL download

6 years agoMerge pull request #1016 from virtualtam/refactor/session
VirtualTam [Fri, 24 Nov 2017 22:53:15 +0000 (23:53 +0100)] 
Merge pull request #1016 from virtualtam/refactor/session

Improve SessionManager constructor and tests

7 years agoMerge pull request #1028 from shaarli/doc-cleanup-930
nodiscc [Tue, 21 Nov 2017 21:46:52 +0000 (22:46 +0100)] 
Merge pull request #1028 from shaarli/doc-cleanup-930

documentation cleanup

7 years agodocumentation cleanup 1028/head
nodiscc [Sat, 18 Nov 2017 15:22:43 +0000 (16:22 +0100)] 
documentation cleanup
 * In preparation of #930 work
 * Remove/reorder duplicate documentation from Makefile/Unit-tests.md/Download-and-Installation.md (composer information is now in Unit-tests.md)
 * Installation using git: add composer requirement to all git installation procedures, add python3-virtualenv requirement
 * Styling (horizontal rulers, spacing, descriptive headers)

7 years agoMerge pull request #1017 from ArthurHoaro/feature/mobile-icon
ArthurHoaro [Sat, 18 Nov 2017 13:01:02 +0000 (14:01 +0100)] 
Merge pull request #1017 from ArthurHoaro/feature/mobile-icon

Add apple-touch-icon meta tag

7 years agoAdd apple-touch-icon meta tag 1017/head
ArthurHoaro [Wed, 8 Nov 2017 18:27:22 +0000 (19:27 +0100)] 
Add apple-touch-icon meta tag

Fixes #997

7 years agoMerge pull request #1014 from ArthurHoaro/feature/no-plugin
ArthurHoaro [Sun, 12 Nov 2017 10:03:40 +0000 (11:03 +0100)] 
Merge pull request #1014 from ArthurHoaro/feature/no-plugin

Improve messages if there is no plugin or parameter available in the admin page

7 years agoMerge pull request #1019 from ArthurHoaro/hotfix/complete-update
ArthurHoaro [Sat, 11 Nov 2017 15:51:38 +0000 (16:51 +0100)] 
Merge pull request #1019 from ArthurHoaro/hotfix/complete-update

Return true after update ReorderDatastore to complete it

7 years agoReturn true after update ReorderDatastore to complete it 1019/head
ArthurHoaro [Sat, 11 Nov 2017 15:51:10 +0000 (16:51 +0100)] 
Return true after update ReorderDatastore to complete it

7 years agoIncrease buffer size for cURL download 1020/head
ArthurHoaro [Sat, 11 Nov 2017 15:49:57 +0000 (16:49 +0100)] 
Increase buffer size for cURL download

1kB chunk size has caused me a lot of trouble with Travis which wasn't completing the download

7 years agoImprove messages if there is no plugin or parameter available in the admin page 1014/head
ArthurHoaro [Wed, 8 Nov 2017 18:06:38 +0000 (19:06 +0100)] 
Improve messages if there is no plugin or parameter available in the admin page

Fixes #931

7 years agoMerge pull request #1015 from ArthurHoaro/theme/tag-cloud-center
ArthurHoaro [Sat, 11 Nov 2017 09:55:54 +0000 (10:55 +0100)] 
Merge pull request #1015 from ArthurHoaro/theme/tag-cloud-center

Fix alignement and better clarity for 'List all links with those tags' button

7 years agoImprove SessionManager constructor and tests 1016/head
VirtualTam [Wed, 8 Nov 2017 19:24:49 +0000 (20:24 +0100)] 
Improve SessionManager constructor and tests

Relates to https://github.com/shaarli/Shaarli/pull/1005

Changed:
- pass a copy of the ConfigManager instance instead of a reference
- move FakeConfigManager to a dedicated file
- update tests

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoFix alignement and better clarity for 'List all links with those tags' button 1015/head
ArthurHoaro [Wed, 8 Nov 2017 18:21:00 +0000 (19:21 +0100)] 
Fix alignement and better clarity for 'List all links with those tags' button

Fix CSS class typo and display the link as a button

Fixes #999

7 years agoMerge pull request #1012 from ArthurHoaro/hotfix/urlencode
ArthurHoaro [Wed, 8 Nov 2017 17:54:32 +0000 (18:54 +0100)] 
Merge pull request #1012 from ArthurHoaro/hotfix/urlencode

Don't URL encode description links if parameter 'redirector.encode_url' is set to false

7 years agoMerge pull request #1013 from ArthurHoaro/theme/remove-redirector
ArthurHoaro [Wed, 8 Nov 2017 17:53:32 +0000 (18:53 +0100)] 
Merge pull request #1013 from ArthurHoaro/theme/remove-redirector

Remove redirector setting from Configure page

7 years agoRemove redirector setting from Configure page 1013/head
ArthurHoaro [Tue, 7 Nov 2017 19:31:55 +0000 (20:31 +0100)] 
Remove redirector setting from Configure page

This feature is pretty much useless these days as browsers have builtin features to support the thag "<meta name='referrer'", so keep the setting page as clean as possible.

Also, avoid advertising it too much, because I'm pretty sure it doesn't work very well with markdown descriptions (as Parsedown have some trouble regarding URL detection (without MarkDown link tag)).

7 years agoDon't URL encode description links if parameter 'redirector.encode_url' is set to... 1012/head
ArthurHoaro [Tue, 7 Nov 2017 19:23:58 +0000 (20:23 +0100)] 
Don't URL encode description links if parameter 'redirector.encode_url' is set to false

7 years agoMerge pull request #1009 from kalvn/patch-1
VirtualTam [Thu, 2 Nov 2017 09:03:06 +0000 (10:03 +0100)] 
Merge pull request #1009 from kalvn/patch-1

Addition of shaarli2mastodon plugin.

7 years agoAddition of shaarli2mastodon plugin. 1009/head
kalvn [Wed, 1 Nov 2017 17:36:11 +0000 (18:36 +0100)] 
Addition of shaarli2mastodon plugin.

7 years agoMerge pull request #978 from ArthurHoaro/theme/improvements
ArthurHoaro [Sat, 28 Oct 2017 13:23:54 +0000 (15:23 +0200)] 
Merge pull request #978 from ArthurHoaro/theme/improvements

Theme improvements: move thumbnails to the right and reduce margins overall

7 years agoTheme improvements: move thumbnails to the right and reduce margins overall 978/head
ArthurHoaro [Sat, 30 Sep 2017 12:14:40 +0000 (14:14 +0200)] 
Theme improvements: move thumbnails to the right and reduce margins overall

  * Reduce multiple margins (markdown, space between block, etc.)
  * Move thumbnails to the right in the same line as the title
  * Move edit button as floating to the left
  * Move fold/collapse and checkbox buttons as floating to the right
  * Add a bunch of HTML ID in the linklist template

Relates to #877

7 years agoExtract the title/charset during page download, and check content type 977/head
ArthurHoaro [Sat, 30 Sep 2017 09:04:13 +0000 (11:04 +0200)] 
Extract the title/charset during page download, and check content type

Use CURLOPT_WRITEFUNCTION to check the response code and content type (only allow HTML).
Also extract the title and charset during downloading chunk of data, and stop it when everything has been extracted.

Closes #579

7 years agoMerge pull request #962 from ArthurHoaro/feature/perfs2
ArthurHoaro [Sat, 28 Oct 2017 10:44:44 +0000 (12:44 +0200)] 
Merge pull request #962 from ArthurHoaro/feature/perfs2

Performances: reorder links when they're written instead of read

7 years agoMerge pull request #1005 from virtualtam/refactor/authentication
VirtualTam [Wed, 25 Oct 2017 20:49:22 +0000 (22:49 +0200)] 
Merge pull request #1005 from virtualtam/refactor/authentication

Refactor session management utilities

7 years agoImprove SessionManager tests 1005/head
VirtualTam [Tue, 24 Oct 2017 20:01:02 +0000 (22:01 +0200)] 
Improve SessionManager tests

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoMerge pull request #1006 from shaarli/doc-cve-2017-15215
nodiscc [Tue, 24 Oct 2017 13:12:19 +0000 (15:12 +0200)] 
Merge pull request #1006 from shaarli/doc-cve-2017-15215

Changelog: link to CVE-2017-15215, give attribution

7 years agoChangelog: link to CVE-2017-15215, give attribution 1006/head
nodiscc [Sun, 22 Oct 2017 23:06:11 +0000 (01:06 +0200)] 
Changelog: link to CVE-2017-15215, give attribution

7 years agoMove session ID check to SessionManager
VirtualTam [Sun, 22 Oct 2017 17:54:44 +0000 (19:54 +0200)] 
Move session ID check to SessionManager

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

Changed:
- `is_session_id_valid()` -> `SessionManager::checkId()`
- update tests

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoRefactor session token management
VirtualTam [Sun, 22 Oct 2017 16:44:46 +0000 (18:44 +0200)] 
Refactor session token management

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

Added:
- `SessionManager` class to group session-related features
- unit tests

Changed:
- `getToken()` -> `SessionManager->generateToken()`
- `tokenOk()` -> `SessionManager->checkToken()`
- inject a `$token` parameter to `PageBuilder`'s constructor

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoMerge pull request #1004 from virtualtam/doc/docker/reverse-proxy
VirtualTam [Sun, 22 Oct 2017 15:07:45 +0000 (17:07 +0200)] 
Merge pull request #1004 from virtualtam/doc/docker/reverse-proxy

Documentation: add reverse proxy examples for Docker images