ArthurHoaro
bd11879018
Merge pull request #1645 from ArthurHoaro/feature/plugin-register-route
...
Plugin system: allow plugins to provide custom routes
2020-12-16 16:04:15 +01:00
ArthurHoaro
a6e9c08499
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
2020-11-15 12:41:43 +01:00
ArthurHoaro
831e974ea5
Doc: fix missing merge on Release page
2020-11-12 13:16:20 +01:00
ArthurHoaro
302662797c
Merge pull request #1635 from ArthurHoaro/feature/phpcs
2020-11-10 10:46:04 +01:00
ArthurHoaro
7e78237fc9
Merge pull request #1630 from ArthurHoaro/fix/apache-config
...
Reviewed Apache configuration
2020-11-10 10:45:05 +01:00
ArthurHoaro
325cc8adad
Merge pull request #1634 from ArthurHoaro/fix/docker-compose
...
Docker-compose: fix SSL certificate + add parameter for Docker tag
2020-11-10 10:44:50 +01:00
ArthurHoaro
8affa22431
Merge pull request #1628 from ArthurHoaro/fix/nginx-config
...
Reviewed nginx configuration
2020-11-10 10:44:29 +01:00
ArthurHoaro
2f4df75304
Update Static Analysis documentation
2020-11-09 12:17:40 +01:00
ArthurHoaro
b7c50a58de
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
2020-11-09 10:36:13 +01:00
ArthurHoaro
8a9796014c
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 .
2020-11-08 13:13:13 +01:00
ArthurHoaro
ce901a5828
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 .
2020-11-07 14:27:49 +01:00
ArthurHoaro
b3bd8c3e8d
Feature: support any tag separator
...
So it allows to have multiple words tags.
Breaking change: commas ',' are no longer a default separator.
Fixes #594
2020-11-05 17:54:42 +01:00
ArthurHoaro
740b32b520
Default formatter: add a setting to disable auto-linkification
...
+ update documentation
+ single parameter for both URL and hashtags
Fixes #1094
2020-11-03 12:43:35 +01:00
ArthurHoaro
2f87bfdc69
Fix: nginx - add rule to disable url-rewriting for the docs
...
Related to #1603
2020-10-21 15:23:30 +02:00
ArthurHoaro
9b3c1270bc
Merge pull request #1567 from ArthurHoaro/feature/async-title-retrieval
2020-10-20 10:14:28 +02:00
ArthurHoaro
7836ed9b2e
Doc: typo
2020-10-16 19:20:45 +02:00
ArthurHoaro
3adbdc2a83
Inject ROOT_PATH in plugin instead of regenerating it everywhere
2020-10-16 13:06:06 +02:00
ArthurHoaro
7f5250421b
Support using Shaarli without URL rewriting
...
- Shaarli can be fully used by prefixing any URL with /index.php/
- {$base_path} used in templates already works with this configuration
- Assets path (outside of theme's assets) must be prefixed with {$root_url}/
- Documentation section in « Server configuration »
Fixes #1590
2020-10-16 12:47:11 +02:00
ArthurHoaro
4cf3564d28
Add a setting to retrieve bookmark metadata asynchrounously
...
- There is a new standalone script (metadata.js) which requests
a new controller to get bookmark metadata and fill the form async
- This feature is enabled with the new setting: general.enable_async_metadata
(enabled by default)
- general.retrieve_description is now enabled by default
- A small rotating loader animation has a been added to bookmark inputs
when metadata is being retrieved (default template)
- Custom JS htmlentities has been removed and mathiasbynens/he
library is used instead
Fixes #1563
2020-10-15 09:08:46 +02:00
ArthurHoaro
ec45749187
Doc: add PHP 7.4 and 8.0 as supported version
2020-10-15 09:01:41 +02:00
ArthurHoaro
769a28833b
Merge pull request #1566 from nodiscc/makefile-composer-install
...
doc/Makefile: remove references to composer update
2020-09-30 11:12:17 +02:00
ArthurHoaro
85b972baf6
Merge pull request #1558 from ArthurHoaro/fix/plugins-base-path
...
Fix plugin base path in core plugins
2020-09-25 10:59:40 +02:00
nodiscc
0f686afe11
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
2020-09-24 21:51:28 +02:00
ArthurHoaro
76fe68d924
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
2020-09-22 13:50:19 +02:00
ArthurHoaro
650a5f09cb
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
2020-09-12 21:39:01 +02:00
ArthurHoaro
97870f3512
doc: Docker minor improvements
2020-09-12 14:31:45 +02:00
Immánuel!
68855686db
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
2020-09-12 14:31:45 +02:00
nodiscc
a5e9f2d6c9
doc: nginx config: document ipv4 and ipv6 listen directives
2020-09-12 14:31:45 +02:00
nodiscc
61f0c4b679
doc: apache config: remove useless documentroot directive in HTTP-only virtualhost (only used for redirects)
2020-09-12 14:31:45 +02:00
nodiscc
f682f1b899
doc: serve configuration/reverse proxy: fix apache mod_md configuration, move reference links to their respective sections, shorten
2020-09-12 14:31:45 +02:00
nodiscc
083b28021a
doc: server configuration: fix apache restart command
2020-09-12 14:31:45 +02:00
nodiscc
19489e92d7
doc: server configuration: enable mod_headers
2020-09-12 14:31:45 +02:00
nodiscc
5eece37b0a
doc: server configuration: fix apache site config file name
2020-09-12 14:31:45 +02:00
nodiscc
d8847936d4
doc: server configuration: add reminder to change the example domain name
2020-09-12 14:31:45 +02:00
nodiscc
9417f1337e
doc: server configuration: add asciicast of server configuration procedure (asciinema)
2020-09-12 14:31:45 +02:00
nodiscc
1a19c921a9
doc: updagrde/migration: simplify permissions setup
2020-09-12 14:31:45 +02:00
nodiscc
78b5b44d8f
doc: installation: simplify permissions setup
2020-09-12 14:31:45 +02:00
nodiscc
ff2b5f5bd8
doc: docker: update docker-compose to 1.26.2
2020-09-12 14:31:45 +02:00
nodiscc
48b19a7014
doc: installation: bump version to 0.11.1
2020-09-12 14:31:45 +02:00
nodiscc
02117f7ea3
doc: reverse proxy: update HTTP->HTTPS redirect configuration, remove logging options
2020-09-12 14:31:45 +02:00
nodiscc
e21df1e729
doc: fail2Ban: add note about restarting fail2ban
2020-09-12 14:31:45 +02:00
nodiscc
f3ab261631
doc: apache: add example configuration for mod_md
2020-09-12 14:31:45 +02:00
nodiscc
38d66e1a40
doc: server configuration: apache: add note about mod_md
2020-09-12 14:31:45 +02:00
nodiscc
ecdae2237f
doc: server configuration: update apache configuration 2.2 -> 2.4
...
https://httpd.apache.org/docs/current/upgrading.html
2020-09-12 14:31:45 +02:00
nodiscc
45203c0bca
doc: Community-and-related-software.md: order plugins alphabetically
2020-09-12 14:31:45 +02:00
nodiscc
46e019a132
doc: plugins: remove doc about deprecated $GLOBALS['config']['ENABLED_PLUGINS'] array
2020-09-12 14:31:45 +02:00
nodiscc
78f319fa6b
doc: troubleshooting: add procedure to clear shaarli caches
2020-09-12 14:31:45 +02:00
nodiscc
6c4cae378e
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
2020-09-12 14:31:45 +02:00
nodiscc
1aeefe1088
doc: server configuration: formatting/add comment
2020-09-12 14:31:45 +02:00
nodiscc
e0fe33f90b
doc: server configuration: add note on required firewall/NAT for Let's Encrypt certificates
2020-09-12 14:31:45 +02:00