]>
git.immae.eu Git - github/shaarli/Shaarli.git/log
ArthurHoaro [Wed, 8 Nov 2017 18:27:22 +0000 (19:27 +0100)]
Add apple-touch-icon meta tag
Fixes #997
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
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
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)).
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
VirtualTam [Thu, 2 Nov 2017 09:03:06 +0000 (10:03 +0100)]
Merge pull request #1009 from kalvn/patch-1
Addition of shaarli2mastodon plugin.
kalvn [Wed, 1 Nov 2017 17:36:11 +0000 (18:36 +0100)]
Addition of shaarli2mastodon plugin.
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
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
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
VirtualTam [Wed, 25 Oct 2017 20:49:22 +0000 (22:49 +0200)]
Merge pull request #1005 from virtualtam/refactor/authentication
Refactor session management utilities
VirtualTam [Tue, 24 Oct 2017 20:01:02 +0000 (22:01 +0200)]
Improve SessionManager tests
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
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
nodiscc [Sun, 22 Oct 2017 23:06:11 +0000 (01:06 +0200)]
Changelog: link to CVE-2017-15215, give attribution
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>
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>
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
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>
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
ArthurHoaro [Sun, 22 Oct 2017 11:19:51 +0000 (13:19 +0200)]
Merge pull request #871 from ArthurHoaro/feature/translation
Shaarli's translation
ArthurHoaro [Fri, 1 Sep 2017 16:47:32 +0000 (18:47 +0200)]
Translation documentation
ArthurHoaro [Sat, 19 Aug 2017 08:53:19 +0000 (10:53 +0200)]
Translations : Working demo example of translation extension
ArthurHoaro [Thu, 25 May 2017 11:26:05 +0000 (13:26 +0200)]
Add language selection in the configure page of the default theme
VirtualTam [Sun, 22 Oct 2017 11:00:47 +0000 (13:00 +0200)]
Merge pull request #1001 from virtualtam/docker/latest
docker: add 'latest' image
ArthurHoaro [Sat, 20 May 2017 13:53:35 +0000 (15:53 +0200)]
Use makefile target to generate MO file and remove it from git
ArthurHoaro [Sat, 20 May 2017 13:43:55 +0000 (15:43 +0200)]
JS 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.
ArthurHoaro [Sun, 22 Oct 2017 10:50:04 +0000 (12:50 +0200)]
Doc: mention Docker docs in the download & install page
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>
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
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)
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>
VirtualTam [Mon, 16 Oct 2017 17:38:33 +0000 (19:38 +0200)]
EditorConfig: add .htaccess support
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Mon, 16 Oct 2017 17:18:29 +0000 (19:18 +0200)]
Merge pull request #995 from virtualtam/lint/editorconfig
Add EditorConfig configuration
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>
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
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
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
Daniel Jakots [Sat, 7 Oct 2017 13:35:40 +0000 (09:35 -0400)]
Fix link in Upgrade-and-migration.md
ArthurHoaro [Sat, 7 Oct 2017 10:27:50 +0000 (12:27 +0200)]
Badge version
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
ArthurHoaro [Sat, 7 Oct 2017 10:06:29 +0000 (12:06 +0200)]
Update AUTHORS
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
ArthurHoaro [Sat, 7 Oct 2017 10:05:07 +0000 (12:05 +0200)]
Changelog v0.9.2
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
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.
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
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
VirtualTam [Fri, 6 Oct 2017 12:30:18 +0000 (14:30 +0200)]
Merge pull request #983 from bvberkum/pullrequest/shaarli-docker-quickstart
Docker quickstart
B. van Berkum [Thu, 5 Oct 2017 22:25:50 +0000 (00:25 +0200)]
Minor docker-101 doc updates, typos fixed #983
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>
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>
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
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.
B. van Berkum [Mon, 2 Oct 2017 22:57:46 +0000 (00:57 +0200)]
Docker-101: added working systemd config example
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.
B. van Berkum [Mon, 2 Oct 2017 22:24:23 +0000 (00:24 +0200)]
Docker 101: container start and cleanup
B. van Berkum [Mon, 2 Oct 2017 22:23:34 +0000 (00:23 +0200)]
Added docker quickstart example, with user-data volume
Mark Gerarts [Sun, 1 Oct 2017 12:19:57 +0000 (14:19 +0200)]
Allow setting of a default note title, see #963
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
ArthurHoaro [Sun, 1 Oct 2017 09:09:12 +0000 (11:09 +0200)]
Rename shaarli_version constant to uppercase
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
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
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
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
ArthurHoaro [Fri, 29 Sep 2017 16:38:02 +0000 (18:38 +0200)]
Merge pull request #947 from thewilli/wildcardsearch
wildcard tag search support
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>
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>
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
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>
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>
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
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
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>
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
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
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
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
ArthurHoaro [Sat, 2 Sep 2017 11:50:03 +0000 (13:50 +0200)]
Firefox Social title: Use document.title instead of RainTPL variable
Fixes #929
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
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
ArthurHoaro [Fri, 1 Sep 2017 16:25:44 +0000 (18:25 +0200)]
Merge pull request #950 from thewilli/delete-fix
fixed link deletion
ArthurHoaro [Fri, 1 Sep 2017 16:25:09 +0000 (18:25 +0200)]
Merge pull request #951 from thewilli/fix-daily
fixed daily links if there are no links
Willi Eggeling [Sat, 26 Aug 2017 21:05:02 +0000 (23:05 +0200)]
wildcard tag search support
- when searching for tags you can now include '*' as wildcard placeholder
- new search reduces overall overhead when filtering for tags
- fixed combination with description tag search ('#' prefix)
- tests added
Willi Eggeling [Sun, 27 Aug 2017 17:19:59 +0000 (19:19 +0200)]
fixed link deletion
When deleting links, the js of the default theme separated ids by an escaped space ('+').
There was a trailing '+' after the ids which led to the php code detecting multiple values
even for single values. In combination with the id '0' this could led to no id found at all
and a resulting php error.
this commit fixes the behavior and adds an additional error handling and trimming to the php code.
Willi Eggeling [Sun, 27 Aug 2017 17:36:48 +0000 (19:36 +0200)]
fixed daily links if there are no links
- the previous code tried to use links from a previous day if there are no one for the current one
- the new code skips this part if there are no entries (i.e. days) at all
- modified showDaily() to fit PSR-1 and PSR-2
VirtualTam [Tue, 29 Aug 2017 17:46:23 +0000 (19:46 +0200)]
Documentation+Makefile: update AUTHORS generation
Fixes https://github.com/shaarli/Shaarli/issues/935
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sun, 27 Aug 2017 14:36:53 +0000 (16:36 +0200)]
Merge pull request #944 from thewilli/configure-rememberme
new setting: default value for 'remember me' checkbox
Willi Eggeling [Sat, 26 Aug 2017 07:27:10 +0000 (09:27 +0200)]
new setting: default value for 'remember me' checkbox
- the default state for the login page's 'remember me' checkbox can now be configured
- adapted the default and vintage theme to consider the new setting
- added documentation for the new setting
VirtualTam [Sun, 27 Aug 2017 11:15:43 +0000 (13:15 +0200)]
Merge pull request #940 from ArthurHoaro/hotfix/empty-urls
Generates a permalink URL if the URL is set to blank
VirtualTam [Sun, 27 Aug 2017 11:12:58 +0000 (13:12 +0200)]
Merge pull request #942 from thewilli/fix-wiki-links
migrated Github wiki links to readthedocs
VirtualTam [Sun, 27 Aug 2017 11:10:05 +0000 (13:10 +0200)]
Merge pull request #946 from thewilli/clean
small code cleanup
Willi Eggeling [Sat, 26 Aug 2017 10:20:38 +0000 (12:20 +0200)]
code clean: cookie expiration
- unified code style (spaces around operators)
- prevented expiration time to be calculated twice
- replaced tabs with spaces
Willi Eggeling [Sat, 26 Aug 2017 09:27:18 +0000 (11:27 +0200)]
removed doc and code references to magic quotes
- removed all references to magic quotes
- magic quotes are not supported on PHP >= 5.4 (https://secure.php.net/manual/en/security.magicquotes.php)
- Shaarli does not support PHP < 5.5
Willi Eggeling [Sat, 26 Aug 2017 07:40:57 +0000 (09:40 +0200)]
migrated Github wiki links to readthedocs
ArthurHoaro [Fri, 25 Aug 2017 18:08:07 +0000 (20:08 +0200)]
Generates a permalinks URL if the URL is set to blank
Fixes #926
ArthurHoaro [Fri, 25 Aug 2017 17:58:32 +0000 (19:58 +0200)]
Merge pull request #938 from ArthurHoaro/hotfix/tagcloud-order
Sort tag cloud in alphabetical order
ArthurHoaro [Fri, 25 Aug 2017 17:25:00 +0000 (19:25 +0200)]
Sort tag cloud in alphabetical order
Fixes #932
ArthurHoaro [Fri, 25 Aug 2017 17:15:24 +0000 (19:15 +0200)]
Merge pull request #934 from thewilli/fix-note-bookmarklet
fixed note bookmarklet
Willi Eggeling [Thu, 24 Aug 2017 08:20:32 +0000 (10:20 +0200)]
fixed note bookmarklet
- the double quotes used in the alert() call of the note bookmarklet in the default template collided with the ones of the href tag
- replaced the double quotes with single ones (just like the link bookmarklet)
VirtualTam [Tue, 22 Aug 2017 23:35:10 +0000 (01:35 +0200)]
Merge pull request #928 from virtualtam/documentation/v0.9.1
documentation: update installation instructions for 0.9.1