]> git.immae.eu Git - github/shaarli/Shaarli.git/log
github/shaarli/Shaarli.git
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 agoDelete Features.md
nodiscc [Sat, 9 Dec 2017 14:20:30 +0000 (15:20 +0100)] 
Delete Features.md

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

7 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

7 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 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

7 years agoDocumentation: add reverse proxy examples for Docker images 1004/head
VirtualTam [Sun, 22 Oct 2017 12:08:05 +0000 (14:08 +0200)] 
Documentation: add reverse proxy examples for Docker images

Closes https://github.com/shaarli/Shaarli/issues/888

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoMerge pull request #1002 from ArthurHoaro/doc/install-docker
ArthurHoaro [Sun, 22 Oct 2017 12:56:26 +0000 (14:56 +0200)] 
Merge pull request #1002 from ArthurHoaro/doc/install-docker

Docs: mention Docker in the download & install page

7 years agoMerge pull request #871 from ArthurHoaro/feature/translation
ArthurHoaro [Sun, 22 Oct 2017 11:19:51 +0000 (13:19 +0200)] 
Merge pull request #871 from ArthurHoaro/feature/translation

Shaarli's translation

7 years agoTranslation documentation 871/head
ArthurHoaro [Fri, 1 Sep 2017 16:47:32 +0000 (18:47 +0200)] 
Translation documentation

7 years agoTranslations : Working demo example of translation extension
ArthurHoaro [Sat, 19 Aug 2017 08:53:19 +0000 (10:53 +0200)] 
Translations : Working demo example of translation extension

7 years agoAdd language selection in the configure page of the default theme
ArthurHoaro [Thu, 25 May 2017 11:26:05 +0000 (13:26 +0200)] 
Add language selection in the configure page of the default theme

7 years agoMerge pull request #1001 from virtualtam/docker/latest
VirtualTam [Sun, 22 Oct 2017 11:00:47 +0000 (13:00 +0200)] 
Merge pull request #1001 from virtualtam/docker/latest

docker: add 'latest' image

7 years agoUse makefile target to generate MO file and remove it from git
ArthurHoaro [Sat, 20 May 2017 13:53:35 +0000 (15:53 +0200)] 
Use makefile target to generate MO file and remove it from git

7 years agoJS translation
ArthurHoaro [Sat, 20 May 2017 13:43:55 +0000 (15:43 +0200)] 
JS translation

7 years agoShaarli's translation
ArthurHoaro [Tue, 9 May 2017 16:12:15 +0000 (18:12 +0200)] 
Shaarli's translation

 * translation system and unit tests
 * Translations everywhere

Dont use translation merge

It is not available with PHP builtin gettext, so it would have lead to inconsistency.

7 years agoDoc: mention Docker docs in the download & install page 1002/head
ArthurHoaro [Sun, 22 Oct 2017 10:50:04 +0000 (12:50 +0200)] 
Doc: mention Docker docs in the download & install page

7 years agodocker: add 'latest' image 1001/head
VirtualTam [Sat, 21 Oct 2017 16:15:52 +0000 (18:15 +0200)] 
docker: add 'latest' image

This implies the following changes:
- `shaarli/shaarli:latest` will now point to the `latest` release
- `shaarli/shaarli:master` will point to the `master` branch

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoMerge pull request #846 from virtualtam/docker/alpine
VirtualTam [Sat, 21 Oct 2017 16:00:08 +0000 (18:00 +0200)] 
Merge pull request #846 from virtualtam/docker/alpine

Docker: switch to Alpine Linux

7 years agoMerge pull request #996 from virtualtam/fix/user-css
VirtualTam [Tue, 17 Oct 2017 20:39:29 +0000 (22:39 +0200)] 
Merge pull request #996 from virtualtam/fix/user-css

Fix: enable access to data/user.css (Apache 2.2 & 2.4)

7 years agoFix: enable access to data/user.css (Apache 2.2 & 2.4) 996/head
VirtualTam [Mon, 16 Oct 2017 17:39:16 +0000 (19:39 +0200)] 
Fix: enable access to data/user.css (Apache 2.2 & 2.4)

Relates to https://github.com/shaarli/Shaarli/issues/872
Relates to https://github.com/shaarli/Shaarli/issues/993

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoEditorConfig: add .htaccess support
VirtualTam [Mon, 16 Oct 2017 17:38:33 +0000 (19:38 +0200)] 
EditorConfig: add .htaccess support

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoMerge pull request #995 from virtualtam/lint/editorconfig
VirtualTam [Mon, 16 Oct 2017 17:18:29 +0000 (19:18 +0200)] 
Merge pull request #995 from virtualtam/lint/editorconfig

Add EditorConfig configuration

7 years agoAdd EditorConfig configuration 995/head
VirtualTam [Wed, 11 Oct 2017 19:35:17 +0000 (21:35 +0200)] 
Add EditorConfig configuration

EditorConfig allows specifying indentation, line feed and encoding
properties according to the type of file being edited.

Most editors support it out-of-the-box, or can benefit from it through a
plugin.

See:
- http://editorconfig.org/
- https://github.com/editorconfig/editorconfig
- https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoMerge pull request #992 from ArthurHoaro/feature/import-history
VirtualTam [Sun, 8 Oct 2017 14:35:57 +0000 (16:35 +0200)] 
Merge pull request #992 from ArthurHoaro/feature/import-history

Don't write History for link import

7 years agoMerge pull request #990 from danieljakots/master
VirtualTam [Sun, 8 Oct 2017 14:35:33 +0000 (16:35 +0200)] 
Merge pull request #990 from danieljakots/master

Fix link in Upgrade-and-migration.md

7 years agoDon't write History for link import 992/head
ArthurHoaro [Sat, 7 Oct 2017 14:40:16 +0000 (16:40 +0200)] 
Don't write History for link import

With large imports it has a large impact on performances and isn't really useful.

Instead, write an IMPORT event, which let client using the history service resync its DB.

-> 15k link import done in 6 seconds.

Fixes #985

7 years agoFix link in Upgrade-and-migration.md 990/head
Daniel Jakots [Sat, 7 Oct 2017 13:35:40 +0000 (09:35 -0400)] 
Fix link in Upgrade-and-migration.md

7 years agoBadge version
ArthurHoaro [Sat, 7 Oct 2017 10:27:50 +0000 (12:27 +0200)] 
Badge version

7 years agoMerge pull request #988 from ArthurHoaro/changelog-0.9.2
ArthurHoaro [Sat, 7 Oct 2017 10:12:34 +0000 (12:12 +0200)] 
Merge pull request #988 from ArthurHoaro/changelog-0.9.2

Changelog 0.9.2 + AUTHORS

7 years agoUpdate AUTHORS 988/head
ArthurHoaro [Sat, 7 Oct 2017 10:06:29 +0000 (12:06 +0200)] 
Update AUTHORS

Signed-off-by: ArthurHoaro <arthur@hoa.ro>
7 years agoChangelog v0.9.2
ArthurHoaro [Sat, 7 Oct 2017 10:05:07 +0000 (12:05 +0200)] 
Changelog v0.9.2

7 years agoMerge pull request #987 from ArthurHoaro/hotfix/security-issue
ArthurHoaro [Sat, 7 Oct 2017 09:33:20 +0000 (11:33 +0200)] 
Merge pull request #987 from ArthurHoaro/hotfix/security-issue

Fix security issue reported by @chb9

7 years agoFix security issue reported by @chbi 987/head
ArthurHoaro [Sat, 7 Oct 2017 09:27:44 +0000 (11:27 +0200)] 
Fix security issue reported by @chbi

Vulnerability introduced by 6ccd0b218fbd34de750f55b78f3dc43bb3d9fa8e - release with Shaarli v0.9.1.

7 years agoMerge pull request #979 from ArthurHoaro/feature/assets-cache-version
VirtualTam [Fri, 6 Oct 2017 12:32:07 +0000 (14:32 +0200)] 
Merge pull request #979 from ArthurHoaro/feature/assets-cache-version

 Add a version hash for asset loading to prevent browser's cache issue

7 years agoMerge pull request #980 from ArthurHoaro/hotfix/textarea-resize-jumpy
VirtualTam [Fri, 6 Oct 2017 12:31:16 +0000 (14:31 +0200)] 
Merge pull request #980 from ArthurHoaro/hotfix/textarea-resize-jumpy

Fix jumpy textarea with long content in post edit

7 years agoMerge pull request #983 from bvberkum/pullrequest/shaarli-docker-quickstart
VirtualTam [Fri, 6 Oct 2017 12:30:18 +0000 (14:30 +0200)] 
Merge pull request #983 from bvberkum/pullrequest/shaarli-docker-quickstart

Docker quickstart

7 years agoMinor docker-101 doc updates, typos fixed #983 983/head
B. van Berkum [Thu, 5 Oct 2017 22:25:50 +0000 (00:25 +0200)] 
Minor docker-101 doc updates, typos fixed #983

7 years agodocker: rename resources for the stable image 846/head
VirtualTam [Tue, 3 Oct 2017 18:07:46 +0000 (20:07 +0200)] 
docker: rename resources for the stable image

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agodocker: switch to Alpine Linux for the master image
VirtualTam [Sun, 9 Apr 2017 12:50:13 +0000 (14:50 +0200)] 
docker: switch to Alpine Linux for the master image

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

Changed:
- switch base image from Debian:Jessie to Alpine:3.6
- switch to PHP 7.1
- switch from supervisord to s6 to manage services

See:
- https://alpinelinux.org/
- https://wiki.alpinelinux.org/wiki/Nginx_with_PHP
- http://www.skarnet.org/software/s6/
  - http://www.skarnet.org/software/s6/s6-svscan.html
  - http://www.skarnet.org/software/s6/s6-svc.html
  - http://www.skarnet.org/software/s6/s6-svstat.html

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoMerge pull request #981 from mark-gerarts/default-note-title
VirtualTam [Tue, 3 Oct 2017 17:26:48 +0000 (19:26 +0200)] 
Merge pull request #981 from mark-gerarts/default-note-title

Allow setting of a default note title, see #963

7 years agoDocker quickstart: one more grammar mistake. Made it a bit more terse.
B. van Berkum [Mon, 2 Oct 2017 23:03:27 +0000 (01:03 +0200)] 
Docker quickstart: one more grammar mistake. Made it a bit more terse.

7 years agoDocker-101: added working systemd config example
B. van Berkum [Mon, 2 Oct 2017 22:57:46 +0000 (00:57 +0200)] 
Docker-101: added working systemd config example

7 years agoTypo's, unified structure a bit.
B. van Berkum [Mon, 2 Oct 2017 22:33:39 +0000 (00:33 +0200)] 
Typo's, unified structure a bit.

- Fixes inevitable typo that crept in.
- Removed some blank lines, newlines, to match established whitespace use better.
- Minor grammar improvement.

7 years agoDocker 101: container start and cleanup
B. van Berkum [Mon, 2 Oct 2017 22:24:23 +0000 (00:24 +0200)] 
Docker 101: container start and cleanup

7 years agoAdded docker quickstart example, with user-data volume
B. van Berkum [Mon, 2 Oct 2017 22:23:34 +0000 (00:23 +0200)] 
Added docker quickstart example, with user-data volume

7 years agoAllow setting of a default note title, see #963 981/head
Mark Gerarts [Sun, 1 Oct 2017 12:19:57 +0000 (14:19 +0200)] 
Allow setting of a default note title, see #963

7 years agoFix jumpy textarea with long content in post edit 980/head
ArthurHoaro [Sun, 1 Oct 2017 09:49:17 +0000 (11:49 +0200)] 
Fix jumpy textarea with long content in post edit

We manually reset the scroll position, to avoid height = 'auto' jump to the top

Fixes #971

7 years agoRename shaarli_version constant to uppercase 979/head
ArthurHoaro [Sun, 1 Oct 2017 09:09:12 +0000 (11:09 +0200)] 
Rename shaarli_version constant to uppercase

7 years agoAdd a version hash for asset loading to prevent browser's cache issue
ArthurHoaro [Sun, 1 Oct 2017 09:02:48 +0000 (11:02 +0200)] 
Add a version hash for asset loading to prevent browser's cache issue

The hash is generated using the same salt as the one used for credentials (1 salt per instance)  in order to avoid exposing the instance version.

Fixes #965

7 years agoMerge pull request #976 from ArthurHoaro/hotfix/url-parentheses 982/head
ArthurHoaro [Sat, 30 Sep 2017 12:25:53 +0000 (14:25 +0200)] 
Merge pull request #976 from ArthurHoaro/hotfix/url-parentheses

Fix parsing for description links with parentheses

7 years agoMerge pull request #975 from virtualtam/robustness
VirtualTam [Sat, 30 Sep 2017 08:56:56 +0000 (10:56 +0200)] 
Merge pull request #975 from virtualtam/robustness

Improve robustness for zlib and file operations

7 years agoFix parsing for description links with parentheses 976/head
ArthurHoaro [Fri, 29 Sep 2017 16:52:38 +0000 (18:52 +0200)] 
Fix parsing for description links with parentheses

With markdown plugin disabled

relates to #966

7 years agoMerge pull request #947 from thewilli/wildcardsearch
ArthurHoaro [Fri, 29 Sep 2017 16:38:02 +0000 (18:38 +0200)] 
Merge pull request #947 from thewilli/wildcardsearch

wildcard tag search support

7 years agoRobustness: safer gzinflate/zlib usage 975/head
VirtualTam [Tue, 19 Sep 2017 20:08:29 +0000 (22:08 +0200)] 
Robustness: safer gzinflate/zlib usage

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

PHP's `gzinflate()` fails with an error when being passed an empty string

See:
- https://bugs.php.net/bug.php?id=71395

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoRobustness: safer RainTPL directory handling
VirtualTam [Tue, 19 Sep 2017 18:21:28 +0000 (20:21 +0200)] 
Robustness: safer RainTPL directory handling

Relates to https://github.com/shaarli/Shaarli/issues/845
Relates to https://github.com/shaarli/Shaarli/issues/846
Relates to https://github.com/shaarli/Shaarli/pull/909

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoMerge pull request #972 from virtualtam/travis/trusty
VirtualTam [Tue, 19 Sep 2017 17:22:33 +0000 (19:22 +0200)] 
Merge pull request #972 from virtualtam/travis/trusty

Travis: switch to Ubuntu Trusty build environment

7 years agoTests: update localization tests 972/head
VirtualTam [Tue, 19 Sep 2017 17:17:16 +0000 (19:17 +0200)] 
Tests: update localization tests

Rely on `mag_IN` (Magahi - INDIA) being unavailable when running localization
test suites, instead of `pt_BR` that is now available from Travis build images.

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoTravis: switch to Ubuntu Trusty build environment
VirtualTam [Tue, 19 Sep 2017 16:36:41 +0000 (18:36 +0200)] 
Travis: switch to Ubuntu Trusty build environment

Relates to https://github.com/shaarli/Shaarli/issues/970
Relates to https://github.com/shaarli/Shaarli/pull/912

See:
- https://docs.travis-ci.com/user/reference/trusty/
- https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming

Added:
- print available locales before running tests

Removed:
- do not install extra language packs

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agoMerge pull request #909 from virtualtam/docker/test-environments
VirtualTam [Tue, 19 Sep 2017 16:18:35 +0000 (18:18 +0200)] 
Merge pull request #909 from virtualtam/docker/test-environments

docker: add alpine,debian,ubuntu test images

7 years agoMerge pull request #961 from thewilli/private-shaarli-login-redirect
VirtualTam [Mon, 18 Sep 2017 19:25:02 +0000 (21:25 +0200)] 
Merge pull request #961 from thewilli/private-shaarli-login-redirect

added option to redirect all anonymous users to login page

7 years agodocker: add alpine,debian,ubuntu test images 909/head
VirtualTam [Tue, 30 May 2017 21:45:17 +0000 (23:45 +0200)] 
docker: add alpine,debian,ubuntu test images

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

Added:
- Makefile target to run commands in a Docker test context
- Docker images to run Shaarli test suites:
  - Alpine 3.6
  - Debian 8
  - Debian 9
  - Ubuntu 16.04
- Documentation

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
7 years agovisited links color: same hue as unvisited links, darkened
nodiscc [Mon, 4 Sep 2017 20:36:21 +0000 (22:36 +0200)] 
visited links color: same hue as unvisited links, darkened

Related to https://github.com/shaarli/Shaarli/issues/877
Plain grey links would lead to think that the link is somehow disabled/inaccessible/private
This slightly improves clarity/usability

7 years agoadded option to redirect all anonymous users to login page 961/head
Willi Eggeling [Wed, 30 Aug 2017 22:39:15 +0000 (00:39 +0200)] 
added option to redirect all anonymous users to login page

- new setting *force_login* added and documented
- if both, *force_login* and *hide_public_links* are set to true, all requests
  (except for the feeds) are redirected to the login page

7 years agoPerformances: reorder links when they're written instead of read 962/head
ArthurHoaro [Sat, 2 Sep 2017 13:10:44 +0000 (15:10 +0200)] 
Performances: reorder links when they're written instead of read

relates to #891

7 years agoMerge pull request #939 from ArthurHoaro/hotfix/firefox-social-title
ArthurHoaro [Sat, 2 Sep 2017 11:54:38 +0000 (13:54 +0200)] 
Merge pull request #939 from ArthurHoaro/hotfix/firefox-social-title

Firefox Social title: Use document.title instead of RainTPL variable

7 years agoFirefox Social title: Use document.title instead of RainTPL variable 939/head
ArthurHoaro [Sat, 2 Sep 2017 11:50:03 +0000 (13:50 +0200)] 
Firefox Social title: Use document.title instead of RainTPL variable

Fixes #929

7 years agoMake work behind a reverse proxy
ArthurHoaro [Fri, 25 Aug 2017 17:47:57 +0000 (19:47 +0200)] 
Make  work behind a reverse proxy

Without HTTP_X_FORWARDED_PORT check,  might be set to false even though the user is using HTTPS, thus disabling Firefox Social block display

7 years agoMerge pull request #956 from virtualtam/fix/make-authors
VirtualTam [Sat, 2 Sep 2017 11:00:45 +0000 (13:00 +0200)] 
Merge pull request #956 from virtualtam/fix/make-authors

Documentation+Makefile: update AUTHORS generation

7 years agoMerge pull request #950 from thewilli/delete-fix
ArthurHoaro [Fri, 1 Sep 2017 16:25:44 +0000 (18:25 +0200)] 
Merge pull request #950 from thewilli/delete-fix

fixed link deletion