]> git.immae.eu Git - github/shaarli/Shaarli.git/log
github/shaarli/Shaarli.git
4 years agodoc/Makefile: remove references to composer update 1566/head
nodiscc [Thu, 24 Sep 2020 19:49:01 +0000 (21:49 +0200)] 
doc/Makefile: remove references to composer update
- add make composer_dependencies_dev Makefile target and use this instead
- fix composer initial installation procedure
- fix php-xdebug install instructions

4 years agoMerge pull request #1561 from ArthurHoaro/feature/front-deps-upgrade
ArthurHoaro [Wed, 23 Sep 2020 13:50:23 +0000 (15:50 +0200)] 
Merge pull request #1561 from ArthurHoaro/feature/front-deps-upgrade

4 years agoFix ESLint after dependency upgrade 1561/head
ArthurHoaro [Tue, 22 Sep 2020 16:14:18 +0000 (18:14 +0200)] 
Fix ESLint after dependency upgrade

4 years agoBump NodeJS version on travis build
ArthurHoaro [Tue, 22 Sep 2020 15:57:54 +0000 (17:57 +0200)] 
Bump NodeJS version on travis build

4 years agoUpgrade front end dependencies
ArthurHoaro [Tue, 22 Sep 2020 15:49:49 +0000 (17:49 +0200)] 
Upgrade front end dependencies

Mostly in order to get rid of deprecated deps, and upgrade vulnerable ones.

  - Upgrade webpack from 3.x to 4.x
  - Moved babel package to main repo
  - Replaced deprecated extract-text-webpack-plugin with extract-text-webpack-plugin
  - Replaced deprecated babel-minify-webpack-plugin with terser-webpack-plugin
  - Replaced deprecated node-sass with (dart) sass package
  - Replaced deprecated sass-lint with stylelint (the rules might be a bit different

Related to #1531: trivy doesn't raise any more issue

4 years agoMerge pull request #1559 from ArthurHoaro/fix/edit-redirect
ArthurHoaro [Tue, 22 Sep 2020 12:15:13 +0000 (14:15 +0200)] 
Merge pull request #1559 from ArthurHoaro/fix/edit-redirect

Fix redirection to referer after editing a link

4 years agoMerge pull request #1539 from ArthurHoaro/feature/manual-root-url
ArthurHoaro [Tue, 22 Sep 2020 12:08:54 +0000 (14:08 +0200)] 
Merge pull request #1539 from ArthurHoaro/feature/manual-root-url

4 years agoFix redirection to referer after editing a link 1559/head
ArthurHoaro [Tue, 22 Sep 2020 12:04:10 +0000 (14:04 +0200)] 
Fix redirection to referer after editing a link

Fixes #1545

4 years agoMerge pull request #1556 from kcaran/apache_methods
ArthurHoaro [Tue, 22 Sep 2020 09:45:58 +0000 (11:45 +0200)] 
Merge pull request #1556 from kcaran/apache_methods

4 years agoAdded PATCH to the allowed Apache request methods. 1556/head
Keith Carangelo [Mon, 14 Sep 2020 19:32:51 +0000 (15:32 -0400)] 
Added PATCH to the allowed Apache request methods.

4 years agoMerge pull request #1553 from ArthurHoaro/fix/404-page
ArthurHoaro [Sat, 12 Sep 2020 19:41:58 +0000 (21:41 +0200)] 
Merge pull request #1553 from ArthurHoaro/fix/404-page

Properly handle 404 errors

4 years agoMerge pull request #1551 from ArthurHoaro/fix/plugin-save-metadata
ArthurHoaro [Sat, 12 Sep 2020 19:41:24 +0000 (21:41 +0200)] 
Merge pull request #1551 from ArthurHoaro/fix/plugin-save-metadata

Plugins: do not save metadata along plugin parameters

4 years agoFix subfolder configuration in unit tests 1539/head
ArthurHoaro [Thu, 3 Sep 2020 12:52:34 +0000 (14:52 +0200)] 
Fix subfolder configuration in unit tests

4 years agoAdd manual configuration for root URL
ArthurHoaro [Thu, 3 Sep 2020 12:51:41 +0000 (14:51 +0200)] 
Add manual configuration for root URL

This new setting under 'general.root_url' allows to override automatic discovery of Shaarli instance's URL.

Fixes #1339

4 years agoMerge pull request #1389 from shaarli/doc-rework-setup
nodiscc [Sat, 12 Sep 2020 12:38:05 +0000 (12:38 +0000)] 
Merge pull request #1389 from shaarli/doc-rework-setup

doc: rework installation/setup guides, general refactoring

4 years agodoc: Docker minor improvements 1389/head
ArthurHoaro [Thu, 3 Sep 2020 09:58:09 +0000 (11:58 +0200)] 
doc: Docker minor improvements

4 years agoAdd 2 plugins to the 3rd party plugin list
Immánuel! [Sun, 30 Aug 2020 14:30:23 +0000 (16:30 +0200)] 
Add 2 plugins to the 3rd party plugin list

Besides adding 2 new plugins, also reordered the list by ABC and fixed some discrepancies in the details to restore balance in the force

4 years agodoc: nginx config: document ipv4 and ipv6 listen directives
nodiscc [Mon, 24 Aug 2020 19:33:53 +0000 (21:33 +0200)] 
doc: nginx config: document ipv4 and ipv6 listen directives

4 years agodoc: apache config: remove useless documentroot directive in HTTP-only virtualhost...
nodiscc [Mon, 24 Aug 2020 19:32:44 +0000 (21:32 +0200)] 
doc: apache config: remove useless documentroot directive in HTTP-only virtualhost (only used for redirects)

4 years agodoc: serve configuration/reverse proxy: fix apache mod_md configuration, move referen...
nodiscc [Sun, 16 Aug 2020 18:12:45 +0000 (20:12 +0200)] 
doc: serve configuration/reverse proxy: fix apache mod_md configuration, move reference links to their respective sections, shorten

4 years agodoc: server configuration: fix apache restart command
nodiscc [Sun, 16 Aug 2020 17:16:19 +0000 (19:16 +0200)] 
doc: server configuration: fix apache restart command

4 years agodoc: server configuration: enable mod_headers
nodiscc [Sun, 16 Aug 2020 17:16:01 +0000 (19:16 +0200)] 
doc: server configuration: enable mod_headers

4 years agodoc: server configuration: fix apache site config file name
nodiscc [Sun, 16 Aug 2020 17:15:56 +0000 (19:15 +0200)] 
doc: server configuration: fix apache site config file name

4 years agodoc: server configuration: add reminder to change the example domain name
nodiscc [Sun, 16 Aug 2020 17:15:11 +0000 (19:15 +0200)] 
doc: server configuration: add reminder to change the example domain name

4 years agodoc: server configuration: add asciicast of server configuration procedure (asciinema)
nodiscc [Sun, 16 Aug 2020 17:14:40 +0000 (19:14 +0200)] 
doc: server configuration: add asciicast of server configuration procedure (asciinema)

4 years agodoc: updagrde/migration: simplify permissions setup
nodiscc [Sat, 15 Aug 2020 18:12:39 +0000 (20:12 +0200)] 
doc: updagrde/migration: simplify permissions setup

4 years agodoc: installation: simplify permissions setup
nodiscc [Sat, 15 Aug 2020 18:11:04 +0000 (20:11 +0200)] 
doc: installation: simplify permissions setup

4 years agodoc: docker: update docker-compose to 1.26.2
nodiscc [Sat, 15 Aug 2020 18:10:46 +0000 (20:10 +0200)] 
doc: docker: update docker-compose to 1.26.2

4 years agodoc: installation: bump version to 0.11.1
nodiscc [Sat, 15 Aug 2020 18:05:32 +0000 (20:05 +0200)] 
doc: installation: bump version to 0.11.1

4 years agodoc: reverse proxy: update HTTP->HTTPS redirect configuration, remove logging options
nodiscc [Sat, 15 Aug 2020 18:03:43 +0000 (20:03 +0200)] 
doc: reverse proxy: update HTTP->HTTPS redirect configuration, remove logging options

4 years agodoc: fail2Ban: add note about restarting fail2ban
nodiscc [Sat, 15 Aug 2020 18:00:55 +0000 (20:00 +0200)] 
doc: fail2Ban: add note about restarting fail2ban

4 years agodoc: apache: add example configuration for mod_md
nodiscc [Sat, 15 Aug 2020 17:59:34 +0000 (19:59 +0200)] 
doc: apache: add example configuration for mod_md

4 years agodoc: server configuration: apache: add note about mod_md
nodiscc [Sat, 15 Aug 2020 17:54:18 +0000 (19:54 +0200)] 
doc: server configuration: apache: add note about mod_md

4 years agodoc: server configuration: update apache configuration 2.2 -> 2.4
nodiscc [Sat, 15 Aug 2020 17:47:42 +0000 (19:47 +0200)] 
doc: server configuration: update apache configuration 2.2 -> 2.4
https://httpd.apache.org/docs/current/upgrading.html

4 years agodoc: Community-and-related-software.md: order plugins alphabetically
nodiscc [Sat, 15 Aug 2020 17:44:41 +0000 (19:44 +0200)] 
doc: Community-and-related-software.md: order plugins alphabetically

4 years agodoc: plugins: remove doc about deprecated $GLOBALS['config']['ENABLED_PLUGINS'] array
nodiscc [Sat, 15 Aug 2020 17:43:22 +0000 (19:43 +0200)] 
doc: plugins: remove doc about deprecated $GLOBALS['config']['ENABLED_PLUGINS'] array

4 years agodoc: troubleshooting: add procedure to clear shaarli caches
nodiscc [Sat, 15 Aug 2020 17:40:59 +0000 (19:40 +0200)] 
doc: troubleshooting: add procedure to clear shaarli caches

4 years agodoc: server configuration: remove apache logging options
nodiscc [Sat, 15 Aug 2020 17:39:28 +0000 (19:39 +0200)] 
doc: server configuration: remove apache logging options
see https://github.com/nodiscc/xsrv/blob/master/roles/apache/templates/etc_apache2_conf-available_logging.conf.j2 for an example server-wide logging configuration

4 years agodoc: server configuration: formatting/add comment
nodiscc [Sat, 15 Aug 2020 17:38:18 +0000 (19:38 +0200)] 
doc: server configuration: formatting/add comment

4 years agodoc: server configuration: add note on required firewall/NAT for Let's Encrypt certif...
nodiscc [Sat, 15 Aug 2020 17:37:24 +0000 (19:37 +0200)] 
doc: server configuration: add note on required firewall/NAT for Let's Encrypt certificates

4 years agoRemoving dead link in doc
Lucas Cimon [Wed, 8 Jul 2020 07:48:26 +0000 (09:48 +0200)] 
Removing dead link in doc

As it currently redirects to https://www.lgblog.fr

4 years agodoc: document dev.debug configuration etting
nodiscc [Sat, 20 Jun 2020 16:34:06 +0000 (18:34 +0200)] 
doc: document dev.debug configuration etting
ref. https://github.com/shaarli/Shaarli/pull/779

4 years agoadd shaarli-default-dark to the themes list
owen bell [Tue, 2 Jun 2020 15:27:02 +0000 (11:27 -0400)] 
add shaarli-default-dark to the themes list

4 years agoAdded links to doc section "Articles and social media discussions"
Lucas Cimon [Tue, 2 Jun 2020 10:26:44 +0000 (12:26 +0200)] 
Added links to doc section "Articles and social media discussions"

4 years agodoc: server configuration: php requirements: add php-simplexml
nodiscc [Mon, 1 Jun 2020 18:10:38 +0000 (20:10 +0200)] 
doc: server configuration: php requirements: add php-simplexml
ref. https://github.com/shaarli/Shaarli/pull/1476

4 years agodoc: Community-and-related-software: add shaarli-webhooks plugin
nodiscc [Mon, 1 Jun 2020 15:09:09 +0000 (17:09 +0200)] 
doc: Community-and-related-software: add shaarli-webhooks plugin

4 years agodoc: add note about importing browser bookmarks folder structure to shaarli tags
nodiscc [Fri, 29 May 2020 20:24:44 +0000 (22:24 +0200)] 
doc: add note about importing browser bookmarks folder structure to shaarli tags
ref. https://github.com/shaarli/Shaarli/issues/1449

4 years agodoc: troubleshooting: improve compatibility with PHP 5.6/FTP upload limits
nodiscc [Thu, 21 May 2020 11:26:04 +0000 (13:26 +0200)] 
doc: troubleshooting: improve compatibility with PHP 5.6/FTP upload limits
ref. https://github.com/shaarli/Shaarli/issues/1469

4 years agodoc: usage: active filters/clear search filters
nodiscc [Mon, 18 May 2020 19:09:14 +0000 (21:09 +0200)] 
doc: usage: active filters/clear search filters

4 years agodoc: nginx: add let's encrypt ssl configuration
nodiscc [Mon, 18 May 2020 19:08:51 +0000 (21:08 +0200)] 
doc: nginx: add let's encrypt ssl configuration

4 years agodoc: nginx: reorder
nodiscc [Mon, 18 May 2020 19:08:36 +0000 (21:08 +0200)] 
doc: nginx: reorder

4 years agoapache: fix let's encrypt configuration , copy it directly from reference file
nodiscc [Mon, 18 May 2020 19:07:32 +0000 (21:07 +0200)] 
apache: fix let's encrypt configuration , copy it directly from reference file
including options-ssl-apache.conf requires python3-certbot-apache which pulls a lot of dependencies

4 years agodoc: php compatibility: add php 7.3
nodiscc [Mon, 18 May 2020 19:06:45 +0000 (21:06 +0200)] 
doc: php compatibility: add php 7.3

4 years agoserver-configuration: move firewall/NAT requirements to Network section
nodiscc [Mon, 18 May 2020 19:06:14 +0000 (21:06 +0200)] 
server-configuration: move firewall/NAT requirements to Network section

4 years agofix markdown syntax
nodiscc [Mon, 18 May 2020 19:05:49 +0000 (21:05 +0200)] 
fix markdown syntax

4 years agoformatting/emphasis
nodiscc [Mon, 18 May 2020 19:04:55 +0000 (21:04 +0200)] 
formatting/emphasis

4 years agodoc: docker.md: fix stray code block
nodiscc [Sat, 16 May 2020 11:08:28 +0000 (13:08 +0200)] 
doc: docker.md: fix stray code block

4 years ago**General rewording, proof-reading, deduplication, shortening, reordering, simplifica...
nodiscc [Sat, 16 May 2020 10:54:51 +0000 (12:54 +0200)] 
**General rewording, proof-reading, deduplication, shortening, reordering, simplification, cleanup/formatting/standardization**

- standardize page names, rework documentation structure, update TOC
- use same example paths everywhere
- level 1 titles on all pages
- fix broken links
- .md suffix on all page links (works both from readthedocs and github repository views)

**Server:**

A full and concise installation guide with examples is a frequent request. The documentation should provide such a guide for basic installation needs, while explaining alternative/advanced configuration at the end. Links to reference guides and documentation should be used more frequently to avoid recommending an outdated or excessively complex configuration.

- server: move most server-related info to server-configuration.md, cleanup/shorten
- server: update list of php dependencies/libraries, link to composer.json
- server: installation: support 3 install methods (from release zip, from sources, using docker)
- server: installation: use rsync instead of mv as mv results will change depending of taget directory already existing or not
- server: add example/basic usage of certbot
- server, upgrade, installation: update file permissions setup, use sudo for upgrade operations in webserver document root
- server: apache: add comments to configuration, fix and factorize file permissions setup, set cache-control header, deny access to dotfiles, add missing apache config steps, add http->https redirect example
- server: nginx: refactor nginx configuration, add comments, DO log access to denied/protected files
- server: add links to MDN for x-forwarded-* http headers explanation, cleanup/clarify robots.txt and crawlers section
- server: bump file upload size limit to 100MB we have reports of bookmark exports weighing +40MB - i have a 13MB one here
- server: simplify phpinfo documentation
- server: move backup and restore information to dedicated page
- docker: move all docker docs to Docker.md, simplify/ docker setup, add docker-compose.yml example, replace docker-101 with docker cheatsheet
- troubleshooting: move all troubleshooting documentation to troubleshooting.md

**Usage:**

- index: add getting started section on index page
- features/usage: move all usage-related documentation to usage.md, add links from the main feature list to corresponding usage docs, clarify/reword features list
- shaarli configuration: add note about configuring from web interface

**Removed:**

- remove obsolete/orphan images
- remove obsolete shaarchiver example
- remove outdated "decode datastore content" snippet

**Development:**

- development: move development-related docs (static analysis, CI, unit tests, 3rd party libs, link structure/directory, guidelines, security....) to dev/ directory
- development: Merge several pages to development.md
- **Breaking change?:** remove mentions of 'stable' branch, switch to new branch/release model (master=latest commit, release=latest tag)
- **Breaking change?:** refer to base sharing unit as "Shaare" everywhere (TODO: reflect changes in the code?) doc: update featues list/link to usage.md for details
- development: directory structure: add note about required file permissions
- .travis-ci.yml: add comments
- .htaccess: add comment

4 years agoPlugins: do not save metadata along plugin parameters 1551/head
ArthurHoaro [Thu, 10 Sep 2020 12:08:19 +0000 (14:08 +0200)] 
Plugins: do not save metadata along plugin parameters

Also prevent the token to be saved.

Fixes #1550

4 years agoProperly handle 404 errors 1553/head
ArthurHoaro [Sat, 12 Sep 2020 10:42:19 +0000 (12:42 +0200)] 
Properly handle 404 errors

Use 404 template instead of default Slim error page if the route is not found.

Fixes #827

4 years agoMerge pull request #1552 from ArthurHoaro/feature/better-initializer
ArthurHoaro [Sat, 12 Sep 2020 10:14:18 +0000 (12:14 +0200)] 
Merge pull request #1552 from ArthurHoaro/feature/better-initializer

4 years agoImprove default bookmarks after install 1552/head
ArthurHoaro [Sun, 6 Sep 2020 11:42:45 +0000 (13:42 +0200)] 
Improve default bookmarks after install

Used @nodiscc suggestion in #1148 (slightly edited).
It provides a description of what Shaarli does, Markdown rendering demo, and a thumbnail link.

Fixes #1148

4 years agoMerge pull request #1547 from ArthurHoaro/fix/daily-visibility
ArthurHoaro [Sun, 6 Sep 2020 12:16:08 +0000 (14:16 +0200)] 
Merge pull request #1547 from ArthurHoaro/fix/daily-visibility

Fix visibility issue on daily page

4 years agoMerge pull request #1538 from ArthurHoaro/feature/plugins-bookmark-service
ArthurHoaro [Sun, 6 Sep 2020 12:13:16 +0000 (14:13 +0200)] 
Merge pull request #1538 from ArthurHoaro/feature/plugins-bookmark-service

Inject BookmarkServiceInterface in plugins data

4 years agoFix visibility issue on daily page 1547/head
ArthurHoaro [Sun, 6 Sep 2020 12:11:02 +0000 (14:11 +0200)] 
Fix visibility issue on daily page

This filter (links by day) didn't apply any visibility parameter.

Fixes #1543

4 years agoMerge pull request #1546 from immanuelfodor/patch-2
ArthurHoaro [Sun, 6 Sep 2020 11:38:31 +0000 (13:38 +0200)] 
Merge pull request #1546 from immanuelfodor/patch-2

Fix broken css/js files on individual shaare pages

4 years agoFix broken css/js files on individual shaare pages 1546/head
Immánuel! [Sun, 6 Sep 2020 11:29:38 +0000 (13:29 +0200)] 
Fix broken css/js files on individual shaare pages

4 years agoMerge pull request #1542 from shaarli/dependabot/npm_and_yarn/node-sass-4.13.1
ArthurHoaro [Sun, 6 Sep 2020 11:24:09 +0000 (13:24 +0200)] 
Merge pull request #1542 from shaarli/dependabot/npm_and_yarn/node-sass-4.13.1

Bump node-sass from 4.12.0 to 4.13.1

4 years agoBump node-sass from 4.12.0 to 4.13.1 1542/head
dependabot[bot] [Fri, 4 Sep 2020 09:54:32 +0000 (09:54 +0000)] 
Bump node-sass from 4.12.0 to 4.13.1

Bumps [node-sass](https://github.com/sass/node-sass) from 4.12.0 to 4.13.1.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.12.0...v4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoMerge branch 'links_per_page'
Keith Carangelo [Thu, 3 Sep 2020 19:39:31 +0000 (15:39 -0400)] 
Merge branch 'links_per_page'

4 years agoMerge pull request #1541 from ArthurHoaro/fix/legacy-login-encoding
ArthurHoaro [Thu, 3 Sep 2020 16:54:45 +0000 (18:54 +0200)] 
Merge pull request #1541 from ArthurHoaro/fix/legacy-login-encoding

4 years agoFix: encoding in legacy route login redirection to post bookmark 1541/head
ArthurHoaro [Thu, 3 Sep 2020 16:46:10 +0000 (18:46 +0200)] 
Fix: encoding in legacy route login redirection to post bookmark

When a bookmark is post from a logged out user, he is first redirected to the login page with 'returnurl' containing the link, then redirected again when the login is processed.
We need to reencode the posted URL, otherwise the browser does not handle the fragment as a part of the posted parameter.

4 years agoInject BookmarkServiceInterface in plugins data 1538/head
ArthurHoaro [Tue, 1 Sep 2020 11:33:50 +0000 (13:33 +0200)] 
Inject BookmarkServiceInterface in plugins data

Related discussion: ilesinge/shaarli-related#7

4 years agoMerge pull request #1537 from ArthurHoaro/fix/back-compatible-targets
ArthurHoaro [Thu, 3 Sep 2020 12:57:24 +0000 (14:57 +0200)] 
Merge pull request #1537 from ArthurHoaro/fix/back-compatible-targets

4 years agoFix feed target in UT 1537/head
ArthurHoaro [Thu, 3 Sep 2020 08:18:04 +0000 (10:18 +0200)] 
Fix feed target in UT

4 years agoImprove backward compatibility for LegacyRouter
ArthurHoaro [Thu, 3 Sep 2020 08:09:32 +0000 (10:09 +0200)] 
Improve backward compatibility for LegacyRouter

LegacyRouter is no longer used for routing, only in existing plugins to match the _PAGE_ parameter.
So we change a few of its values there, to match the new ones defined in TemplatePage.

@see discussion in shaarli/Shaarli#1537

4 years agoMerge pull request #1519 from ArthurHoaro/fix/mobile-pin-link
ArthurHoaro [Thu, 3 Sep 2020 06:49:20 +0000 (08:49 +0200)] 
Merge pull request #1519 from ArthurHoaro/fix/mobile-pin-link

Default template: display pin button in mobile view

4 years agoMerge pull request #1523 from ArthurHoaro/fix/default-colors-generation
ArthurHoaro [Thu, 3 Sep 2020 06:48:51 +0000 (08:48 +0200)] 
Merge pull request #1523 from ArthurHoaro/fix/default-colors-generation

Default colors plugin: generate CSS file during initialization

4 years agoMerge pull request #1520 from ArthurHoaro/fix/jp-language
ArthurHoaro [Thu, 3 Sep 2020 06:46:47 +0000 (08:46 +0200)] 
Merge pull request #1520 from ArthurHoaro/fix/jp-language

4 years agoMerge pull request #1526 from kcaran/links_per_page
ArthurHoaro [Thu, 3 Sep 2020 06:45:48 +0000 (08:45 +0200)] 
Merge pull request #1526 from kcaran/links_per_page

4 years agoMerge pull request #1524 from ArthurHoaro/fix/rss-sticky
ArthurHoaro [Thu, 3 Sep 2020 06:45:12 +0000 (08:45 +0200)] 
Merge pull request #1524 from ArthurHoaro/fix/rss-sticky

Fixed: Pinned bookmarks are displayed first in ATOM/RSS feeds

4 years agoMerge pull request #1536 from ArthurHoaro/fix/login-private-shaarli
ArthurHoaro [Thu, 3 Sep 2020 06:35:18 +0000 (08:35 +0200)] 
Merge pull request #1536 from ArthurHoaro/fix/login-private-shaarli

Fix login loop for private instances

4 years agoMerge pull request #1534 from ArthurHoaro/fix/legacy-route-post
ArthurHoaro [Thu, 3 Sep 2020 06:35:05 +0000 (08:35 +0200)] 
Merge pull request #1534 from ArthurHoaro/fix/legacy-route-post

4 years agoMerge pull request #1535 from ArthurHoaro/fix/export-token
ArthurHoaro [Thu, 3 Sep 2020 06:34:57 +0000 (08:34 +0200)] 
Merge pull request #1535 from ArthurHoaro/fix/export-token

Export: refresh CRSF token after submit

4 years agoMerge branch 'master' of https://github.com/shaarli/Shaarli into links_per_page
Keith Carangelo [Wed, 2 Sep 2020 15:38:56 +0000 (11:38 -0400)] 
Merge branch 'master' of https://github.com/shaarli/Shaarli into links_per_page

4 years agoFix login loop for private instances 1536/head
ArthurHoaro [Tue, 1 Sep 2020 09:26:24 +0000 (11:26 +0200)] 
Fix login loop for private instances

GET /login and POST /login have 2 distinct route name.

Fixes #1533

4 years agoExport: refresh CRSF token after submit 1535/head
ArthurHoaro [Tue, 1 Sep 2020 09:01:21 +0000 (11:01 +0200)] 
Export: refresh CRSF token after submit

This allow users to submit the form multiple times, because there is no actual browser redirection to the page.

Fixes #1532

4 years agoSupport redirection of legacy route 'do=configure' 1534/head
ArthurHoaro [Tue, 1 Sep 2020 08:40:35 +0000 (10:40 +0200)] 
Support redirection of legacy route 'do=configure'

4 years agoFix legacy redirection when Shaarli instance is under a subfolder
ArthurHoaro [Tue, 1 Sep 2020 08:40:18 +0000 (10:40 +0200)] 
Fix legacy redirection when Shaarli instance is under a subfolder

4 years agoFix support for legacy route login redirection
ArthurHoaro [Tue, 1 Sep 2020 08:12:54 +0000 (10:12 +0200)] 
Fix support for legacy route login redirection

Makes sure that the user is properly redirected to the bookmark form after login, even with legacy routes

4 years agoMerge pull request #1530 from ArthurHoaro/fix/untagged-only-broken
ArthurHoaro [Tue, 1 Sep 2020 07:37:01 +0000 (09:37 +0200)] 
Merge pull request #1530 from ArthurHoaro/fix/untagged-only-broken

Fix broken route to filter not tagged bookmarks

4 years agoAvoid using global variables 1526/head
Keith Carangelo [Mon, 31 Aug 2020 13:20:03 +0000 (09:20 -0400)] 
Avoid using global variables

Co-authored-by: ArthurHoaro <arthur@hoa.ro>
4 years agoFix broken route to filter not tagged bookmarks 1530/head
ArthurHoaro [Mon, 31 Aug 2020 11:58:09 +0000 (13:58 +0200)] 
Fix broken route to filter not tagged bookmarks

Also display the filter for visitors.

Fixes #1529

4 years agoMerge pull request #1512 from shaarli/dependabot/npm_and_yarn/elliptic-6.5.3
ArthurHoaro [Mon, 31 Aug 2020 12:06:32 +0000 (14:06 +0200)] 
Merge pull request #1512 from shaarli/dependabot/npm_and_yarn/elliptic-6.5.3

Bump elliptic from 6.4.1 to 6.5.3

4 years agoMerge pull request #1505 from shaarli/dependabot/npm_and_yarn/lodash-4.17.19
ArthurHoaro [Mon, 31 Aug 2020 12:03:58 +0000 (14:03 +0200)] 
Merge pull request #1505 from shaarli/dependabot/npm_and_yarn/lodash-4.17.19

Bump lodash from 4.17.15 to 4.17.19

4 years agoMoved definition of a.selected to pass sasslint test
Keith Carangelo [Sun, 30 Aug 2020 11:26:21 +0000 (07:26 -0400)] 
Moved definition of a.selected to pass sasslint test

4 years agoAdded $links_per_page variable to template and display on default
Keith Carangelo [Sat, 29 Aug 2020 15:02:59 +0000 (11:02 -0400)] 
Added $links_per_page variable to template and display on default

4 years agoFixed: Pinned bookmarks are displayed first in ATOM/RSS feeds 1524/head
ArthurHoaro [Sat, 29 Aug 2020 08:06:40 +0000 (10:06 +0200)] 
Fixed: Pinned bookmarks are displayed first in ATOM/RSS feeds

Fixes #1485

4 years agoDefault colors plugin: generate CSS file during initialization 1523/head
ArthurHoaro [Sat, 29 Aug 2020 07:38:30 +0000 (09:38 +0200)] 
Default colors plugin: generate CSS file during initialization

Current behaviour only generate the custom CSS file when the plugin settings are saved, which can be annoying if the file is deleted but the settings are set.
Most common use case is Docker deployment, because the plugin directory is not mounted as a volume.

4 years agoFix UT 1520/head
ArthurHoaro [Thu, 27 Aug 2020 13:26:52 +0000 (15:26 +0200)] 
Fix UT