]> git.immae.eu Git - github/shaarli/Shaarli.git/log
github/shaarli/Shaarli.git
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 #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

7 years agoMerge pull request #951 from thewilli/fix-daily
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

7 years agowildcard tag search support 947/head
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

7 years agofixed link deletion 950/head
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.

7 years agofixed daily links if there are no links 951/head
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

7 years agoDocumentation+Makefile: update AUTHORS generation 956/head
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>
7 years agoMerge pull request #944 from thewilli/configure-rememberme
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

7 years agonew setting: default value for 'remember me' checkbox 944/head
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

7 years agoMerge pull request #940 from ArthurHoaro/hotfix/empty-urls
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

7 years agoMerge pull request #942 from thewilli/fix-wiki-links
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

7 years agoMerge pull request #946 from thewilli/clean
VirtualTam [Sun, 27 Aug 2017 11:10:05 +0000 (13:10 +0200)] 
Merge pull request #946 from thewilli/clean

small code cleanup

7 years agocode clean: cookie expiration 946/head
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

7 years agoremoved doc and code references to magic quotes
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

7 years agomigrated Github wiki links to readthedocs 942/head
Willi Eggeling [Sat, 26 Aug 2017 07:40:57 +0000 (09:40 +0200)] 
migrated Github wiki links to readthedocs

7 years agoGenerates a permalinks URL if the URL is set to blank 940/head
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

7 years agoMerge pull request #938 from ArthurHoaro/hotfix/tagcloud-order
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

7 years agoSort tag cloud in alphabetical order 938/head
ArthurHoaro [Fri, 25 Aug 2017 17:25:00 +0000 (19:25 +0200)] 
Sort tag cloud in alphabetical order

Fixes #932

7 years agoMerge pull request #934 from thewilli/fix-note-bookmarklet
ArthurHoaro [Fri, 25 Aug 2017 17:15:24 +0000 (19:15 +0200)] 
Merge pull request #934 from thewilli/fix-note-bookmarklet

fixed note bookmarklet

7 years agofixed note bookmarklet 934/head
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)

7 years agoMerge pull request #928 from virtualtam/documentation/v0.9.1
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