]>
git.immae.eu Git - github/shaarli/Shaarli.git/log
nodiscc [Sat, 3 Oct 2020 12:33:15 +0000 (14:33 +0200)]
docker-compose.yml: pin traefik image to 1.7-alpine
- fixes https://github.com/shaarli/Shaarli/issues/1493
- https://hub.docker.com/_/traefik/
ArthurHoaro [Sat, 3 Oct 2020 10:59:16 +0000 (12:59 +0200)]
Merge pull request #1575 from ArthurHoaro/feature/php8
ArthurHoaro [Sat, 3 Oct 2020 10:59:01 +0000 (12:59 +0200)]
Merge pull request #1574 from stoeps13/hosting-fix
ArthurHoaro [Fri, 2 Oct 2020 12:24:07 +0000 (14:24 +0200)]
Merge pull request #1577 from ArthurHoaro/fix/edit-zero
Fix a bug preventing to edit bookmark with ID #0
ArthurHoaro [Wed, 30 Sep 2020 13:57:57 +0000 (15:57 +0200)]
Revert unrelated changes and add unit tests
ArthurHoaro [Wed, 30 Sep 2020 13:31:34 +0000 (15:31 +0200)]
Fix a bug preventing to edit bookmark with ID #0
Christoph Stoettner [Wed, 30 Sep 2020 10:29:54 +0000 (12:29 +0200)]
Fix identation
Christoph Stoettner [Wed, 30 Sep 2020 10:27:44 +0000 (12:27 +0200)]
Change to ->container->environment
ArthurHoaro [Wed, 30 Sep 2020 09:59:42 +0000 (11:59 +0200)]
Merge pull request #1576 from ArthurHoaro/release/v0.12.0-beta-1/changelog
Update CHANGELOG and AUTHOR
ArthurHoaro [Wed, 30 Sep 2020 09:55:51 +0000 (11:55 +0200)]
Update CHANGELOG and AUTHOR
ArthurHoaro [Wed, 30 Sep 2020 09:35:57 +0000 (11:35 +0200)]
Merge pull request #1569 from ArthurHoaro/fix/bad-encoding
Fix warning if the encoding retrieved from external headers is invalid
ArthurHoaro [Wed, 30 Sep 2020 09:12:17 +0000 (11:12 +0200)]
Merge pull request #1566 from nodiscc/makefile-composer-install
doc/Makefile: remove references to composer update
ArthurHoaro [Sat, 26 Sep 2020 11:28:38 +0000 (13:28 +0200)]
Fix warning if the encoding retrieved from external headers is invalid
Also fixed the regex to support this failing header: charset="utf-8"\r\n"
ArthurHoaro [Tue, 29 Sep 2020 16:49:02 +0000 (18:49 +0200)]
Use assertRegExp polyfill instead of regexMatches
ArthurHoaro [Tue, 29 Sep 2020 16:44:52 +0000 (18:44 +0200)]
Ignore PHP deps when removing phpunit in PHP 8.0 environment
ArthurHoaro [Tue, 29 Sep 2020 16:43:20 +0000 (18:43 +0200)]
Update composer dependencies from PHP 7.1
ArthurHoaro [Tue, 29 Sep 2020 16:41:21 +0000 (18:41 +0200)]
Fix missing @expectedException convertion
ArthurHoaro [Tue, 29 Sep 2020 13:00:11 +0000 (15:00 +0200)]
Compatibility with PHP 8
ArthurHoaro [Tue, 29 Sep 2020 12:41:40 +0000 (14:41 +0200)]
Compatibility with PHPUnit 9
ArthurHoaro [Tue, 29 Sep 2020 09:43:18 +0000 (11:43 +0200)]
Run CI against PHP 8.0
Christoph Stoettner [Tue, 29 Sep 2020 10:15:04 +0000 (12:15 +0200)]
Workaround for hoster (ionos)
The hoster writes the environment variable with bearer token to
REDIRECT_HTTP_AUTHORIZATION and needs to provide RewriteBase / to
.htaccess
ArthurHoaro [Tue, 29 Sep 2020 09:36:27 +0000 (11:36 +0200)]
Merge pull request #1572 from ArthurHoaro/feature/php8
ArthurHoaro [Sun, 27 Sep 2020 12:07:08 +0000 (14:07 +0200)]
Convert legacy PHPUnit @expected* to new ->expect*
Converted automatically using https://github.com/ArthurHoaro/convert-legacy-phpunit-expect
ArthurHoaro [Sat, 26 Sep 2020 13:08:39 +0000 (15:08 +0200)]
Comply with PHPUnit V8: setup/teardown functions must return void
ArthurHoaro [Sat, 26 Sep 2020 12:43:21 +0000 (14:43 +0200)]
tmp
ArthurHoaro [Sat, 26 Sep 2020 12:33:27 +0000 (14:33 +0200)]
Travis CI: run composer update instead of install
And ignore PHP 7.1 platform requirement, in order to get matching version of PHPUnit
ArthurHoaro [Sat, 26 Sep 2020 09:58:32 +0000 (11:58 +0200)]
Merge pull request #1568 from ArthurHoaro/fix/vintage-linkdate
Fix undefined linkdate variable in vintage theme
ArthurHoaro [Fri, 25 Sep 2020 16:24:53 +0000 (18:24 +0200)]
Fix undefined linkdate variable in vintage theme
Fixes #1371
ArthurHoaro [Fri, 25 Sep 2020 08:59:51 +0000 (10:59 +0200)]
Merge pull request #1560 from ArthurHoaro/fix/redirect-wrong-path
Fix invalid redirection using the path of an external domain
ArthurHoaro [Fri, 25 Sep 2020 08:59:40 +0000 (10:59 +0200)]
Merge pull request #1558 from ArthurHoaro/fix/plugins-base-path
Fix plugin base path in core plugins
ArthurHoaro [Fri, 25 Sep 2020 08:57:25 +0000 (10:57 +0200)]
Merge pull request #1565 from nodiscc/rm-makefile-summary
Makefile: remove static_analysis_summary from all: target
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
nodiscc [Thu, 24 Sep 2020 19:45:17 +0000 (21:45 +0200)]
Makefile: remove static_analysis_summary from all: target
static_analysis_summary was removed in
37c9c6b #diff-
b67911656ef5d18c4ae36cb6741b7965 but not from the all: target dependencies. Therefore running make all always fails.
fixes https://github.com/shaarli/Shaarli/issues/1459
ArthurHoaro [Wed, 23 Sep 2020 13:50:23 +0000 (15:50 +0200)]
Merge pull request #1561 from ArthurHoaro/feature/front-deps-upgrade
ArthurHoaro [Tue, 22 Sep 2020 16:14:18 +0000 (18:14 +0200)]
Fix ESLint after dependency upgrade
ArthurHoaro [Tue, 22 Sep 2020 15:57:54 +0000 (17:57 +0200)]
Bump NodeJS version on travis build
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
ArthurHoaro [Tue, 22 Sep 2020 13:17:13 +0000 (15:17 +0200)]
Fix invalid redirection using the path of an external domain
Fixes #1554
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
ArthurHoaro [Tue, 22 Sep 2020 12:08:54 +0000 (14:08 +0200)]
Merge pull request #1539 from ArthurHoaro/feature/manual-root-url
ArthurHoaro [Tue, 22 Sep 2020 12:04:10 +0000 (14:04 +0200)]
Fix redirection to referer after editing a link
Fixes #1545
ArthurHoaro [Tue, 22 Sep 2020 10:44:08 +0000 (12:44 +0200)]
Fix plugin base path in core plugins
Also fix note check in archiveorg plugin, and regression on vintage template.
Documentation regarding relative path has been added.
Fixes #1548
ArthurHoaro [Tue, 22 Sep 2020 09:45:58 +0000 (11:45 +0200)]
Merge pull request #1556 from kcaran/apache_methods
Keith Carangelo [Mon, 14 Sep 2020 19:32:51 +0000 (15:32 -0400)]
Added PATCH to the allowed Apache request methods.
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
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
ArthurHoaro [Thu, 3 Sep 2020 12:52:34 +0000 (14:52 +0200)]
Fix subfolder configuration in unit tests
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
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
ArthurHoaro [Thu, 3 Sep 2020 09:58:09 +0000 (11:58 +0200)]
doc: Docker minor improvements
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
nodiscc [Mon, 24 Aug 2020 19:33:53 +0000 (21:33 +0200)]
doc: nginx config: document ipv4 and ipv6 listen directives
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)
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
nodiscc [Sun, 16 Aug 2020 17:16:19 +0000 (19:16 +0200)]
doc: server configuration: fix apache restart command
nodiscc [Sun, 16 Aug 2020 17:16:01 +0000 (19:16 +0200)]
doc: server configuration: enable mod_headers
nodiscc [Sun, 16 Aug 2020 17:15:56 +0000 (19:15 +0200)]
doc: server configuration: fix apache site config file name
nodiscc [Sun, 16 Aug 2020 17:15:11 +0000 (19:15 +0200)]
doc: server configuration: add reminder to change the example domain name
nodiscc [Sun, 16 Aug 2020 17:14:40 +0000 (19:14 +0200)]
doc: server configuration: add asciicast of server configuration procedure (asciinema)
nodiscc [Sat, 15 Aug 2020 18:12:39 +0000 (20:12 +0200)]
doc: updagrde/migration: simplify permissions setup
nodiscc [Sat, 15 Aug 2020 18:11:04 +0000 (20:11 +0200)]
doc: installation: simplify permissions setup
nodiscc [Sat, 15 Aug 2020 18:10:46 +0000 (20:10 +0200)]
doc: docker: update docker-compose to 1.26.2
nodiscc [Sat, 15 Aug 2020 18:05:32 +0000 (20:05 +0200)]
doc: installation: bump version to 0.11.1
nodiscc [Sat, 15 Aug 2020 18:03:43 +0000 (20:03 +0200)]
doc: reverse proxy: update HTTP->HTTPS redirect configuration, remove logging options
nodiscc [Sat, 15 Aug 2020 18:00:55 +0000 (20:00 +0200)]
doc: fail2Ban: add note about restarting fail2ban
nodiscc [Sat, 15 Aug 2020 17:59:34 +0000 (19:59 +0200)]
doc: apache: add example configuration for mod_md
nodiscc [Sat, 15 Aug 2020 17:54:18 +0000 (19:54 +0200)]
doc: server configuration: apache: add note about mod_md
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
nodiscc [Sat, 15 Aug 2020 17:44:41 +0000 (19:44 +0200)]
doc: Community-and-related-software.md: order plugins alphabetically
nodiscc [Sat, 15 Aug 2020 17:43:22 +0000 (19:43 +0200)]
doc: plugins: remove doc about deprecated $GLOBALS['config']['ENABLED_PLUGINS'] array
nodiscc [Sat, 15 Aug 2020 17:40:59 +0000 (19:40 +0200)]
doc: troubleshooting: add procedure to clear shaarli caches
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
nodiscc [Sat, 15 Aug 2020 17:38:18 +0000 (19:38 +0200)]
doc: server configuration: formatting/add comment
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
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
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
owen bell [Tue, 2 Jun 2020 15:27:02 +0000 (11:27 -0400)]
add shaarli-default-dark to the themes list
Lucas Cimon [Tue, 2 Jun 2020 10:26:44 +0000 (12:26 +0200)]
Added links to doc section "Articles and social media discussions"
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
nodiscc [Mon, 1 Jun 2020 15:09:09 +0000 (17:09 +0200)]
doc: Community-and-related-software: add shaarli-webhooks plugin
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
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
nodiscc [Mon, 18 May 2020 19:09:14 +0000 (21:09 +0200)]
doc: usage: active filters/clear search filters
nodiscc [Mon, 18 May 2020 19:08:51 +0000 (21:08 +0200)]
doc: nginx: add let's encrypt ssl configuration
nodiscc [Mon, 18 May 2020 19:08:36 +0000 (21:08 +0200)]
doc: nginx: reorder
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
nodiscc [Mon, 18 May 2020 19:06:45 +0000 (21:06 +0200)]
doc: php compatibility: add php 7.3
nodiscc [Mon, 18 May 2020 19:06:14 +0000 (21:06 +0200)]
server-configuration: move firewall/NAT requirements to Network section
nodiscc [Mon, 18 May 2020 19:05:49 +0000 (21:05 +0200)]
fix markdown syntax
nodiscc [Mon, 18 May 2020 19:04:55 +0000 (21:04 +0200)]
formatting/emphasis
nodiscc [Sat, 16 May 2020 11:08:28 +0000 (13:08 +0200)]
doc: docker.md: fix stray code block
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
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
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
ArthurHoaro [Sat, 12 Sep 2020 10:14:18 +0000 (12:14 +0200)]
Merge pull request #1552 from ArthurHoaro/feature/better-initializer
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
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
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
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
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