]> git.immae.eu Git - github/shaarli/Shaarli.git/log
github/shaarli/Shaarli.git
3 years agodoc: usage.md: add note about batch/bulk creation operation doc-bulk-creation
nodiscc [Tue, 2 Feb 2021 21:23:48 +0000 (21:23 +0000)] 
doc: usage.md: add note about batch/bulk creation operation

added in https://github.com/shaarli/Shaarli/pull/1587

3 years agoMerge pull request #1694 from ArthurHoaro/fix/bulk-add-redirect-token
ArthurHoaro [Tue, 26 Jan 2021 15:25:09 +0000 (16:25 +0100)] 
Merge pull request #1694 from ArthurHoaro/fix/bulk-add-redirect-token

Fix: bulk add redirection with ending slash

3 years agoMerge pull request #1699 from bschwede/master
ArthurHoaro [Tue, 26 Jan 2021 15:23:44 +0000 (16:23 +0100)] 
Merge pull request #1699 from bschwede/master

Update German translations, added new strings to server.html

3 years agoUpdate German translations, added new strings to server.html 1699/head
bschwede [Sun, 24 Jan 2021 23:51:36 +0000 (00:51 +0100)] 
Update German translations, added new strings to server.html

3 years agoMerge pull request #1695 from ArthurHoaro/fix/ut-curl
ArthurHoaro [Wed, 20 Jan 2021 10:31:35 +0000 (11:31 +0100)] 
Merge pull request #1695 from ArthurHoaro/fix/ut-curl

3 years agoformat_date: include timezone in IntlDateFormatter object 1695/head
ArthurHoaro [Tue, 19 Jan 2021 14:03:28 +0000 (15:03 +0100)] 
format_date: include timezone in IntlDateFormatter object

@see https://www.php.net/manual/en/intldateformatter.format.php

> If a DateTime or an IntlCalendar object is passed, its timezone is not considered. The object will be formatted using the formaterʼs configured timezone. If one wants to use the timezone of the object to be formatted, IntlDateFormatter::setTimeZone() must be called before with the objectʼs timezone.

3 years agocurl usage: support HTTP/2 response code header
ArthurHoaro [Tue, 19 Jan 2021 14:03:18 +0000 (15:03 +0100)] 
curl usage: support HTTP/2 response code header

3 years agoMerge pull request #1693 from ArthurHoaro/fix/bulk-add-delete
ArthurHoaro [Tue, 19 Jan 2021 13:31:15 +0000 (14:31 +0100)] 
Merge pull request #1693 from ArthurHoaro/fix/bulk-add-delete

Fix: bulk add - delete existing link

3 years agoMerge pull request #1691 from ArthurHoaro/fix/bulk-add-js-checkboxes
ArthurHoaro [Tue, 19 Jan 2021 13:30:40 +0000 (14:30 +0100)] 
Merge pull request #1691 from ArthurHoaro/fix/bulk-add-js-checkboxes

Fix: bulk add - private status

3 years agoFix: bulk add redirection with ending slash 1694/head
ArthurHoaro [Tue, 19 Jan 2021 13:26:04 +0000 (14:26 +0100)] 
Fix: bulk add redirection with ending slash

Otherwise cookie may not be store under the right subfolder, thus generating tokens in the wrong session file.

Fixes #1690

3 years agoFix: bulk add - delete existing link 1693/head
ArthurHoaro [Tue, 19 Jan 2021 11:44:48 +0000 (12:44 +0100)] 
Fix: bulk add - delete existing link

Do not send redirect response in bookmark delete controller if the request comes from bulk creation page.

Fixes #1683

3 years agoFix: bulk add - private status 1691/head
ArthurHoaro [Tue, 19 Jan 2021 10:55:50 +0000 (11:55 +0100)] 
Fix: bulk add - private status

Use 'checked' attribute instead of 'value' for checkboxes. 'value' always returns 'on'.

Fixes #1684

3 years agoMerge pull request #1689 from ArthurHoaro/fix/bulk-add-html-label
ArthurHoaro [Tue, 19 Jan 2021 10:48:38 +0000 (11:48 +0100)] 
Merge pull request #1689 from ArthurHoaro/fix/bulk-add-html-label

Fix: bulk add - use unique HTML ID

3 years agoMerge pull request #1688 from ArthurHoaro/fix/bulk-single-url
ArthurHoaro [Tue, 19 Jan 2021 10:48:29 +0000 (11:48 +0100)] 
Merge pull request #1688 from ArthurHoaro/fix/bulk-single-url

3 years agoMerge pull request #1687 from ArthurHoaro/feature/template-name
ArthurHoaro [Tue, 19 Jan 2021 10:48:18 +0000 (11:48 +0100)] 
Merge pull request #1687 from ArthurHoaro/feature/template-name

Inject current template name in templates

3 years agoFix: bulk add - use unique HTML ID 1689/head
ArthurHoaro [Tue, 19 Jan 2021 10:35:42 +0000 (11:35 +0100)] 
Fix: bulk add - use unique HTML ID

Use links loop ID to make ID unique and fix browser labels behaviour.

Fixes #1685

3 years agoFix: error when using bulk shaare with a single URL 1688/head
ArthurHoaro [Tue, 19 Jan 2021 10:18:56 +0000 (11:18 +0100)] 
Fix: error when using bulk shaare with a single URL

Make sure that header metadata associated with permalink is only used in linklist template.

Fixes #1686

3 years agoInject current template name in templates 1687/head
ArthurHoaro [Tue, 19 Jan 2021 09:34:11 +0000 (10:34 +0100)] 
Inject current template name in templates

Use either legacy key _PAGE_ or new 'template' one.

Related to https://github.com/kalvn/Shaarli-Material/issues/118

3 years agoMerge pull request #1675 from yudete/master
nodiscc [Mon, 4 Jan 2021 17:51:05 +0000 (17:51 +0000)] 
Merge pull request #1675 from yudete/master

Update Japanese translations

3 years agoUpdate Japanese translations 1675/head
yudete [Mon, 4 Jan 2021 09:55:03 +0000 (18:55 +0900)] 
Update Japanese translations

3 years agoMerge pull request #2 from shaarli/master
yude [Mon, 4 Jan 2021 09:51:10 +0000 (18:51 +0900)] 
Merge pull request #2 from shaarli/master

Merge fork source

3 years agoMerge pull request #1671 from ArthurHoaro/fix/plugin-colors-update
ArthurHoaro [Sun, 3 Jan 2021 10:43:54 +0000 (11:43 +0100)] 
Merge pull request #1671 from ArthurHoaro/fix/plugin-colors-update

Fix default_colors plugin: update CSS file on color change

3 years agoMerge pull request #1672 from ArthurHoaro/feature/api-parse-tags-string
ArthurHoaro [Sun, 3 Jan 2021 10:43:31 +0000 (11:43 +0100)] 
Merge pull request #1672 from ArthurHoaro/feature/api-parse-tags-string

3 years agoAPI: POST/PUT Link - properly parse tags string 1672/head
ArthurHoaro [Tue, 29 Dec 2020 11:50:23 +0000 (12:50 +0100)] 
API: POST/PUT Link - properly parse tags string

Even though the documentation specify that tags should be passed as an array, tags string is actually allowed. So this adds a proper parsing with configured separator.

Related to #1651

3 years agoFix default_colors plugin: update CSS file on color change 1671/head
ArthurHoaro [Tue, 29 Dec 2020 10:59:14 +0000 (11:59 +0100)] 
Fix default_colors plugin: update CSS file on color change

Last update of this plugin remove the save_plugin_parameters hook.

Fixes #1657

3 years agoMerge pull request #1664 from ArthurHoaro/fix/metadata-sync
ArthurHoaro [Tue, 29 Dec 2020 10:44:10 +0000 (11:44 +0100)] 
Merge pull request #1664 from ArthurHoaro/fix/metadata-sync

Fix: synchronous metadata retrieval is failing in strict mode

3 years agoMerge pull request #1665 from ArthurHoaro/fix/metadata-regexes-2
ArthurHoaro [Tue, 29 Dec 2020 10:43:39 +0000 (11:43 +0100)] 
Merge pull request #1665 from ArthurHoaro/fix/metadata-regexes-2

Fix metadata extract regex (2)

3 years agoMerge pull request #1666 from ArthurHoaro/feature/daily-rss-cache
ArthurHoaro [Tue, 29 Dec 2020 10:43:00 +0000 (11:43 +0100)] 
Merge pull request #1666 from ArthurHoaro/feature/daily-rss-cache

Daily RSS Cache: invalidate cache base on the date

3 years agoMerge pull request #1669 from leyrer/master
ArthurHoaro [Mon, 28 Dec 2020 23:36:22 +0000 (00:36 +0100)] 
Merge pull request #1669 from leyrer/master

Typo fix line 76 'Authentication' -> Authorization

3 years agoTypo fix line 76 'Authentication' -> Authorization 1669/head
leyrer [Sat, 26 Dec 2020 12:45:01 +0000 (13:45 +0100)] 
Typo fix line 76 'Authentication' -> Authorization

3 years agoDaily RSS Cache: invalidate cache base on the date 1666/head
ArthurHoaro [Thu, 17 Dec 2020 14:43:33 +0000 (15:43 +0100)] 
Daily RSS Cache: invalidate cache base on the date

Currently the cache is only invalidated when the datastore changes, while it should rely on selected period of time.

Fixes #1659

3 years agoFix metadata extract regex (2) 1665/head
ArthurHoaro [Thu, 17 Dec 2020 12:56:24 +0000 (13:56 +0100)] 
Fix metadata extract regex (2)

Reference: https://stackoverflow.com/questions/8055727/negating-a-backreference-in-regular-expressions

Fixes #1656

3 years agoMerge pull request #1644 from ArthurHoaro/fix/daily-rss
ArthurHoaro [Wed, 16 Dec 2020 15:04:53 +0000 (16:04 +0100)] 
Merge pull request #1644 from ArthurHoaro/fix/daily-rss

Daily RSS - Remove relative description (today, yesterday)

3 years agoMerge pull request #1645 from ArthurHoaro/feature/plugin-register-route
ArthurHoaro [Wed, 16 Dec 2020 15:04:15 +0000 (16:04 +0100)] 
Merge pull request #1645 from ArthurHoaro/feature/plugin-register-route

Plugin system: allow plugins to provide custom routes

3 years agoMerge pull request #1658 from dougbreaux/master
ArthurHoaro [Wed, 16 Dec 2020 15:02:14 +0000 (16:02 +0100)] 
Merge pull request #1658 from dougbreaux/master

newer alpine (for newer PHP) and apk upgrade #1655

3 years agoMerge pull request #1652 from ArthurHoaro/fix/failing-mutex
ArthurHoaro [Wed, 16 Dec 2020 15:01:32 +0000 (16:01 +0100)] 
Merge pull request #1652 from ArthurHoaro/fix/failing-mutex

Fix: soft fail if the mutex is not working

3 years agoMerge pull request #1661 from shaarli/dependabot/npm_and_yarn/ini-1.3.7
ArthurHoaro [Wed, 16 Dec 2020 15:00:35 +0000 (16:00 +0100)] 
Merge pull request #1661 from shaarli/dependabot/npm_and_yarn/ini-1.3.7

3 years agoMerge pull request #1660 from e2jk/patch-1
ArthurHoaro [Wed, 16 Dec 2020 14:59:46 +0000 (15:59 +0100)] 
Merge pull request #1660 from e2jk/patch-1

Upgrade alpine from 3.8 to 3.10 in armhf Dockerfile

3 years agoFix: synchronous metadata retrieval is failing in strict mode 1664/head
ArthurHoaro [Wed, 16 Dec 2020 13:04:32 +0000 (14:04 +0100)] 
Fix: synchronous metadata retrieval is failing in strict mode

Metadata can now only be string or null.

Fixes #1653

3 years agoBump ini from 1.3.5 to 1.3.7 1661/head
dependabot[bot] [Fri, 11 Dec 2020 03:39:18 +0000 (03:39 +0000)] 
Bump ini from 1.3.5 to 1.3.7

Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoremove apk upgrade #1655 1658/head
Doug Breaux [Mon, 7 Dec 2020 04:02:34 +0000 (22:02 -0600)] 
remove apk upgrade #1655

3 years agoUpgrade alpine from 3.8 to 3.10 in armhf Dockerfile 1660/head
Emilien Klein [Sun, 6 Dec 2020 20:02:39 +0000 (21:02 +0100)] 
Upgrade alpine from 3.8 to 3.10 in armhf Dockerfile

The Docker for armhf doesn't build anymore on Alpine 3.8, upgrading to 3.10.
Building works fine on a Rapsberry Pi 4 running Raspbian GNU/Linux 10 (buster)

This is the error with 3.8:
```
[2/4] Fetching packages...
error css-loader@4.3.0: The engine "node" is incompatible with this module. Expected version ">= 10.13.0".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
The command '/bin/sh -c apk --update --no-cache add yarn nodejs-current python2 build-base     && cd /shaarli     && yarn install     && yarn run build     && rm -rf node_modules' returned a non-zero code: 1
```

Not upgrading to 3.11, due to this error:
```
2/4] Fetching packages...
error browserslist@4.14.3: The engine "node" is incompatible with this module. Expected version "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7". Got "13.1.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

The command '/bin/sh -c apk --update --no-cache add yarn nodejs-current python2 build-base     && cd /shaarli     && yarn install     && yarn run build     && rm -rf node_modules' returned a non-zero code: 1
```

Not upgrading to 3.12 either, due to this error:
```
ERROR: unsatisfiable constraints:
  py2-pip (missing):
    required by: world[py2-pip]
The command '/bin/sh -c apk --update --no-cache add py2-pip     && cd /usr/src/app/shaarli     && pip install --no-cache-dir mkdocs     && mkdocs build --clean' returned a non-zero code: 1
```
There's probably a way to have Python2 pip installed on 3.12, but I suppose other issues would arise (such as the one happening with 3.11), so only proposing to upgrade to 3.10 now. This would probably be looked at more in detail when merging the amd64 and arm/v7 Docker builds, see #1496.

3 years agonewer alpine (for newer PHP) and apk upgrade #1655
Doug Breaux [Fri, 4 Dec 2020 22:12:39 +0000 (16:12 -0600)] 
newer alpine (for newer PHP) and apk upgrade #1655

3 years agoFix: soft fail if the mutex is not working 1652/head
ArthurHoaro [Tue, 24 Nov 2020 12:28:17 +0000 (13:28 +0100)] 
Fix: soft fail if the mutex is not working

And display the error in server admin page

Fixes #1650

3 years agoMerge pull request #1648 from nodiscc/fix-ConfigureControllerTest
ArthurHoaro [Tue, 24 Nov 2020 12:39:09 +0000 (13:39 +0100)] 
Merge pull request #1648 from nodiscc/fix-ConfigureControllerTest

ConfigureControllerTest.php: update expected languages number to 6

3 years agochmod -x russian translation file 1648/head
ArthurHoaro [Tue, 24 Nov 2020 12:35:37 +0000 (13:35 +0100)] 
chmod -x russian translation file

4 years agoConfigureControllerTest.php: update expected languages number to 6
nodiscc [Sun, 22 Nov 2020 11:06:14 +0000 (11:06 +0000)] 
ConfigureControllerTest.php: update expected languages number to 6

Following the addition of russian translations in #1642
Fixes https://github.com/shaarli/Shaarli/issues/1647

4 years agoMerge pull request #1642 from prog-it/master
ArthurHoaro [Tue, 17 Nov 2020 12:13:49 +0000 (13:13 +0100)] 
Merge pull request #1642 from prog-it/master

4 years agoMerge pull request #1639 from ArthurHoaro/doc/fix-release
ArthurHoaro [Sun, 15 Nov 2020 11:48:16 +0000 (12:48 +0100)] 
Merge pull request #1639 from ArthurHoaro/doc/fix-release

Doc: fix missing merge on Release page

4 years agoPlugin system: allow plugins to provide custom routes 1645/head
ArthurHoaro [Tue, 27 Oct 2020 18:23:45 +0000 (19:23 +0100)] 
Plugin system: allow plugins to provide custom routes

  - each route will be prefixed by `/plugin/<plugin_name>`
  - add a new template for plugins rendering
  - add a live example in the demo_plugin

Check out the "Plugin System" documentation for more detail.

Related to #143

4 years agoDaily RSS - Remove relative description (today, yesterday) 1644/head
ArthurHoaro [Sun, 15 Nov 2020 11:05:08 +0000 (12:05 +0100)] 
Daily RSS - Remove relative description (today, yesterday)

It is not useful for the RSS feed, as every new entry will be 'yesterday', and it requires an update the next day.

4 years agoAdd russian language file 1642/head
prog-it [Sun, 15 Nov 2020 01:16:55 +0000 (06:16 +0500)] 
Add russian language file

4 years agoAdd russian language selection
prog-it [Sat, 14 Nov 2020 02:45:10 +0000 (07:45 +0500)] 
Add russian language selection

4 years agoDoc: fix missing merge on Release page 1639/head
ArthurHoaro [Thu, 12 Nov 2020 12:16:20 +0000 (13:16 +0100)] 
Doc: fix missing merge on Release page

4 years agoUpdate badge versions
ArthurHoaro [Thu, 12 Nov 2020 12:05:19 +0000 (13:05 +0100)] 
Update badge versions

4 years agoMerge pull request #1638 from ArthurHoaro/changelog/v0.12.1
ArthurHoaro [Thu, 12 Nov 2020 12:00:45 +0000 (13:00 +0100)] 
Merge pull request #1638 from ArthurHoaro/changelog/v0.12.1

CHANGELOG v0.12.1

4 years agoCHANGELOG v0.12.1 1638/head
ArthurHoaro [Thu, 12 Nov 2020 11:56:22 +0000 (12:56 +0100)] 
CHANGELOG v0.12.1

4 years agoMerge pull request #1635 from ArthurHoaro/feature/phpcs
ArthurHoaro [Tue, 10 Nov 2020 09:46:04 +0000 (10:46 +0100)] 
Merge pull request #1635 from ArthurHoaro/feature/phpcs

4 years agoMerge pull request #1637 from ArthurHoaro/fix/server-admin-update-check
ArthurHoaro [Tue, 10 Nov 2020 09:45:50 +0000 (10:45 +0100)] 
Merge pull request #1637 from ArthurHoaro/fix/server-admin-update-check

Server admin: do not retrieve latest version without update_check

4 years agoMerge pull request #1636 from ArthurHoaro/fix/vintage-async-metadata
ArthurHoaro [Tue, 10 Nov 2020 09:45:22 +0000 (10:45 +0100)] 
Merge pull request #1636 from ArthurHoaro/fix/vintage-async-metadata

4 years agoMerge pull request #1630 from ArthurHoaro/fix/apache-config
ArthurHoaro [Tue, 10 Nov 2020 09:45:05 +0000 (10:45 +0100)] 
Merge pull request #1630 from ArthurHoaro/fix/apache-config

Reviewed Apache configuration

4 years agoMerge pull request #1634 from ArthurHoaro/fix/docker-compose
ArthurHoaro [Tue, 10 Nov 2020 09:44:50 +0000 (10:44 +0100)] 
Merge pull request #1634 from ArthurHoaro/fix/docker-compose

Docker-compose: fix SSL certificate + add parameter for Docker tag

4 years agoMerge pull request #1628 from ArthurHoaro/fix/nginx-config
ArthurHoaro [Tue, 10 Nov 2020 09:44:29 +0000 (10:44 +0100)] 
Merge pull request #1628 from ArthurHoaro/fix/nginx-config

Reviewed nginx configuration

4 years agoServer admin: do not retrieve latest version without update_check 1637/head
ArthurHoaro [Mon, 9 Nov 2020 13:37:45 +0000 (14:37 +0100)] 
Server admin: do not retrieve latest version without update_check

If the setting 'updates.check_updates' is disabled, do not retrieve the latest version on server administration page.

Additionally, updated default values for

  - updates.check_updates from false to true
  - updates.check_updates_branch from stable to latest

4 years agoVintage theme: fix routes in daily page 1636/head
ArthurHoaro [Mon, 9 Nov 2020 11:46:43 +0000 (12:46 +0100)] 
Vintage theme: fix routes in daily page

4 years agoVintage theme: display global messages
ArthurHoaro [Mon, 9 Nov 2020 11:46:24 +0000 (12:46 +0100)] 
Vintage theme: display global messages

4 years agoVintage theme: support async metadata retrieval
ArthurHoaro [Mon, 9 Nov 2020 11:36:04 +0000 (12:36 +0100)] 
Vintage theme: support async metadata retrieval

4 years agoUpdate Static Analysis documentation 1635/head
ArthurHoaro [Mon, 9 Nov 2020 11:17:40 +0000 (12:17 +0100)] 
Update Static Analysis documentation

4 years agoRun PHPCS during Travis CI checks + disable xdebug
ArthurHoaro [Mon, 9 Nov 2020 09:56:02 +0000 (10:56 +0100)] 
Run PHPCS during Travis CI checks + disable xdebug

4 years agoManually fix remaining PHPCS errors
ArthurHoaro [Sun, 8 Nov 2020 14:02:45 +0000 (15:02 +0100)] 
Manually fix remaining PHPCS errors

4 years agoApply PHP Code Beautifier on source code for linter automatic fixes
ArthurHoaro [Tue, 22 Sep 2020 18:25:47 +0000 (20:25 +0200)] 
Apply PHP Code Beautifier on source code for linter automatic fixes

4 years agoDocker-compose: fix SSL certificate + add parameter for Docker tag 1634/head
ArthurHoaro [Mon, 9 Nov 2020 09:36:13 +0000 (10:36 +0100)] 
Docker-compose: fix SSL certificate + add parameter for Docker tag

Use envvar SHAARLI_VIRTUAL_HOST for Traefik's docker.domain parameter instead of localhost (I'm not sure if did work at some point).

Add an environment variable to choose which Docker tag to use instead of using master by default.

Fixes #1632

4 years agoCoding style: switch PHPCS to PSR12
ArthurHoaro [Tue, 22 Sep 2020 18:16:23 +0000 (20:16 +0200)] 
Coding style: switch PHPCS to PSR12

Also temporarily ignore test code (one step at a time).

Reference: https://www.php-fig.org/psr/psr-12/

Related to #95

4 years agoMerge pull request #1621 from ArthurHoaro/feature/tag-separators
ArthurHoaro [Sun, 8 Nov 2020 13:07:33 +0000 (14:07 +0100)] 
Merge pull request #1621 from ArthurHoaro/feature/tag-separators

4 years agoMerge pull request #1629 from ArthurHoaro/fix/demo-vimeo
ArthurHoaro [Sun, 8 Nov 2020 13:06:45 +0000 (14:06 +0100)] 
Merge pull request #1629 from ArthurHoaro/fix/demo-vimeo

Replace vimeo link in demo bookmarks due to IP ban on the demo instance

4 years agoMerge pull request #1631 from ArthurHoaro/fix/html-extract-quote-fix
ArthurHoaro [Sun, 8 Nov 2020 13:06:38 +0000 (14:06 +0100)] 
Merge pull request #1631 from ArthurHoaro/fix/html-extract-quote-fix

Fix an issue truncating extracted metadata content

4 years agoFix an issue truncating extracted metadata content 1631/head
ArthurHoaro [Sun, 8 Nov 2020 12:54:39 +0000 (13:54 +0100)] 
Fix an issue truncating extracted metadata content

Previous regex forced the selection to stop at either the first single or double quote found, regardless of the opening quote. Using '\1', we're sure to wait for the proper quote before stopping the capture.

4 years agoReviewed Apache configuration 1630/head
ArthurHoaro [Sun, 8 Nov 2020 12:13:13 +0000 (13:13 +0100)] 
Reviewed Apache configuration

(in documentation)

For security purpose, block access to any static file not matching the list of allowed extensions.
It allows us to remove the specific retriction on dotfiles, and fix Apache part of #1608.

4 years agoReplace vimeo link in demo bookmarks due to IP ban on the demo instance 1629/head
ArthurHoaro [Sun, 8 Nov 2020 10:58:17 +0000 (11:58 +0100)] 
Replace vimeo link in demo bookmarks due to IP ban on the demo instance

Fixes #1148

4 years agoReviewed nginx configuration 1628/head
ArthurHoaro [Sat, 7 Nov 2020 13:27:49 +0000 (14:27 +0100)] 
Reviewed nginx configuration

Both in documentation and Docker image.

For security purpose, it no longer allow to access static files through
the main nginx *location*. Static files are served if their extension
matches the whitelist.

As a side effect, we no longer need specific restrictions, and
therefore it fixes the nginx part of #1608.

4 years agoMerge pull request #1627 from ArthurHoaro/fix/unexpected-error
ArthurHoaro [Fri, 6 Nov 2020 09:00:03 +0000 (10:00 +0100)] 
Merge pull request #1627 from ArthurHoaro/fix/unexpected-error

Display error details even with dev.debug set to false

4 years agoDisplay error details even with dev.debug set to false 1627/head
ArthurHoaro [Thu, 5 Nov 2020 18:45:41 +0000 (19:45 +0100)] 
Display error details even with dev.debug set to false

It makes more sense to display the error even if it's unexpected.
Only for logged in users.

Fixes #1606

4 years agoESLint 1621/head
ArthurHoaro [Thu, 5 Nov 2020 18:08:38 +0000 (19:08 +0100)] 
ESLint

4 years agoTags separator: vintage theme compatibility
ArthurHoaro [Thu, 5 Nov 2020 17:16:52 +0000 (18:16 +0100)] 
Tags separator: vintage theme compatibility

4 years agoBump shaarli/netscape-bookmark-parser dependency version
ArthurHoaro [Tue, 3 Nov 2020 12:35:27 +0000 (13:35 +0100)] 
Bump shaarli/netscape-bookmark-parser dependency version

4 years agoFeature: support any tag separator
ArthurHoaro [Thu, 22 Oct 2020 14:21:03 +0000 (16:21 +0200)] 
Feature: support any tag separator

So it allows to have multiple words tags.

Breaking change: commas ',' are no longer a default separator.

Fixes #594

4 years agoMerge pull request #1626 from ArthurHoaro/fix/vintage-webpack
ArthurHoaro [Thu, 5 Nov 2020 16:54:14 +0000 (17:54 +0100)] 
Merge pull request #1626 from ArthurHoaro/fix/vintage-webpack

Webpack: fix vintage theme images include

4 years agoWebpack: fix vintage theme images include 1626/head
ArthurHoaro [Thu, 5 Nov 2020 16:44:33 +0000 (17:44 +0100)] 
Webpack: fix vintage theme images include

4 years agoMerge pull request #1625 from ArthurHoaro/fix/delete-confirm-popup
ArthurHoaro [Thu, 5 Nov 2020 15:58:24 +0000 (16:58 +0100)] 
Merge pull request #1625 from ArthurHoaro/fix/delete-confirm-popup

Fix confirm popup before bookmark deletion

4 years agoFix confirm popup before bookmark deletion 1625/head
ArthurHoaro [Thu, 5 Nov 2020 15:32:15 +0000 (16:32 +0100)] 
Fix confirm popup before bookmark deletion

Regression introduced by #1596

Fixes #1623

4 years agoMerge pull request #1620 from ArthurHoaro/feature/no-auto-link
ArthurHoaro [Thu, 5 Nov 2020 15:47:17 +0000 (16:47 +0100)] 
Merge pull request #1620 from ArthurHoaro/feature/no-auto-link

Default formatter: add a setting to disable auto-linkification

4 years agoMerge pull request #1624 from ArthurHoaro/fix/delete-redirect
ArthurHoaro [Thu, 5 Nov 2020 15:36:34 +0000 (16:36 +0100)] 
Merge pull request #1624 from ArthurHoaro/fix/delete-redirect

Fix: redirect to referrer after bookmark deletion

4 years agoMerge pull request #1619 from ArthurHoaro/fix/translations
ArthurHoaro [Thu, 5 Nov 2020 15:36:04 +0000 (16:36 +0100)] 
Merge pull request #1619 from ArthurHoaro/fix/translations

Fix French translation

4 years agoFix: redirect to referrer after bookmark deletion 1624/head
ArthurHoaro [Thu, 5 Nov 2020 15:14:22 +0000 (16:14 +0100)] 
Fix: redirect to referrer after bookmark deletion

Except if the referer points to a permalink (which has been deleted).

Fixes #1622

4 years agoDefault formatter: add a setting to disable auto-linkification 1620/head
ArthurHoaro [Tue, 3 Nov 2020 11:38:38 +0000 (12:38 +0100)] 
Default formatter: add a setting to disable auto-linkification

  + update documentation
  + single parameter for both URL and hashtags

Fixes #1094

4 years agoFix French translation 1619/head
ArthurHoaro [Tue, 3 Nov 2020 10:58:02 +0000 (11:58 +0100)] 
Fix French translation

2 missing key + 1 wrong translation

Fixes  #1571

4 years agoMerge pull request #1610 from ArthurHoaro/fix/wallabag
ArthurHoaro [Tue, 3 Nov 2020 10:46:54 +0000 (11:46 +0100)] 
Merge pull request #1610 from ArthurHoaro/fix/wallabag

Plugin wallabag: minor improvements

4 years agoMerge pull request #1618 from ArthurHoaro/fix/ut-daily-date-1-digit
ArthurHoaro [Mon, 2 Nov 2020 18:42:20 +0000 (19:42 +0100)] 
Merge pull request #1618 from ArthurHoaro/fix/ut-daily-date-1-digit

UT: fix formatting issue when the current day has a single digit

4 years agoUT: fix formatting issue when the current day has a single digit 1618/head
ArthurHoaro [Mon, 2 Nov 2020 18:22:50 +0000 (19:22 +0100)] 
UT: fix formatting issue when the current day has a single digit

4 years agoMerge pull request #1616 from dimtion/fix-api-redirect
ArthurHoaro [Thu, 29 Oct 2020 15:03:07 +0000 (16:03 +0100)] 
Merge pull request #1616 from dimtion/fix-api-redirect

API postLink: change relative path to absolute path